body.bpwe-page-active #content{padding-top:0!important}body.bpwe-page-active #content-main{margin-top:0!important;padding-top:0!important}body.bpwe-page-active .entry-content,body.bpwe-page-active .post-content,body.bpwe-page-active .wp-block-shortcode{margin-top:0!important;padding-top:0!important}.bpwe-app{--ink:#f7f1df;--muted:#c7c4b8;--felt:#173f33;--felt2:#0b2a23;--gold:#d7ae55;--panel:rgba(7,20,18,.92);--line:rgba(255,255,255,.12);--red:#c93f49;max-width:1180px;margin:0 auto 24px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);position:relative}.bpwe-app *{box-sizing:border-box}.bpwe-app button,.bpwe-app input{font:inherit}.bpwe-app button{cursor:pointer}.bpwe-app.bpwe-busy{pointer-events:none;opacity:.82}.bpwe-loading,.bpwe-login-required{padding:30px;border:1px solid #ddd;border-radius:16px;background:#fff;color:#222}.bpwe-home,.bpwe-shell{background:radial-gradient(circle at 50% 0%,rgba(215,174,85,.13),transparent 35%),linear-gradient(145deg,#071b18,#102b26);border:1px solid rgba(215,174,85,.32);border-radius:24px;box-shadow:0 28px 70px rgba(0,0,0,.28);overflow:hidden}.bpwe-home{padding:34px}.bpwe-brand{display:flex;gap:18px;align-items:center;margin-bottom:28px}.bpwe-brand h2,.bpwe-game-header h2{margin:0;color:#fff;font-family:Georgia,serif;font-size:clamp(28px,4vw,44px);letter-spacing:-.03em}.bpwe-brand p{margin:7px 0 0;color:var(--muted)}.bpwe-brand-mark{width:70px;height:70px;border:2px solid var(--gold);border-radius:18px;display:grid;place-items:center;font-size:36px;background:rgba(255,255,255,.04);position:relative}.bpwe-brand-mark span{color:#d84b55;position:absolute;right:8px;bottom:4px;font-size:22px}.bpwe-home-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.bpwe-panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:inset 0 1px rgba(255,255,255,.04)}.bpwe-panel h3{margin:0 0 12px;color:#fff}.bpwe-panel p{color:var(--muted)}.bpwe-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bpwe-mode-card{min-height:112px;text-align:left;border:1px solid var(--line);border-radius:14px;padding:16px;background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.02));color:#fff;transition:.18s transform,.18s border-color,.18s background}.bpwe-mode-card:hover{transform:translateY(-2px);border-color:rgba(215,174,85,.65);background:rgba(215,174,85,.09)}.bpwe-mode-card strong,.bpwe-mode-card span{display:block}.bpwe-mode-card span{margin-top:7px;color:var(--muted);font-size:13px;line-height:1.4}.bpwe-join-form{display:flex;gap:8px}.bpwe-join-form input{width:100%;min-width:0;border:1px solid var(--line);background:#fff;color:#222;border-radius:10px;padding:12px;text-transform:uppercase;font-weight:800;letter-spacing:.16em}.bpwe-join-form button,.bpwe-control-panel button,.bpwe-lobby-banner button{border:0;border-radius:10px;padding:11px 15px;background:var(--gold);color:#191407;font-weight:800}.bpwe-rules-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.bpwe-rules-strip span{font-size:12px;color:#dcd7c8;border:1px solid var(--line);border-radius:999px;padding:7px 10px}.bpwe-game-header{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;padding:20px 24px;background:rgba(4,14,12,.92);border-bottom:1px solid var(--line)}.bpwe-eyebrow{display:block;color:var(--gold);text-transform:uppercase;letter-spacing:.15em;font-size:11px;font-weight:800}.bpwe-game-header h2{font-size:30px}.bpwe-scoreboard{display:flex;align-items:end;gap:12px;padding:8px 14px;border:1px solid rgba(215,174,85,.28);border-radius:14px;background:#091a17}.bpwe-scoreboard div:not(.bpwe-score-dash):not(.bpwe-target){text-align:center}.bpwe-scoreboard small{display:block;color:#aaa;font-size:10px;text-transform:uppercase}.bpwe-scoreboard strong{font-size:28px;line-height:1}.bpwe-score-dash{color:#8b846e}.bpwe-target{color:#8f9e96;font-size:11px}.bpwe-game-meta{justify-self:end;text-align:right;display:grid;gap:3px;font-size:12px;color:var(--muted)}.bpwe-game-meta b{color:#fff}.bpwe-red-text{color:#ed5963!important}.bpwe-clock-slow{color:#ffca64!important;font-weight:800}.bpwe-lobby-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 24px;background:#5a4318;color:#fff;border-bottom:1px solid #9c7530}.bpwe-lobby-banner strong,.bpwe-lobby-banner span{display:block}.bpwe-lobby-banner span{font-size:12px;color:#f1dfae}.bpwe-table{height:min(720px,68vw);min-height:560px;position:relative;overflow:hidden;background:radial-gradient(ellipse at center,#23634e 0%,#164b3b 42%,#0d2e27 79%,#081f1b 100%);border-bottom:1px solid var(--line)}.bpwe-table:before{content:"";position:absolute;inset:25px;border:1px solid rgba(215,174,85,.22);border-radius:48%}.bpwe-table:after{content:"";position:absolute;inset:32px;border:1px solid rgba(255,255,255,.04);border-radius:48%;pointer-events:none}.bpwe-table-glow{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.035) 1px,transparent 1px);background-size:7px 7px;opacity:.45;pointer-events:none}.bpwe-seat{position:absolute;z-index:4;display:flex;flex-direction:column;align-items:center;gap:8px}.bpwe-seat-bottom{left:50%;bottom:14px;transform:translateX(-50%);width:min(620px,72%)}.bpwe-seat-top{left:50%;top:12px;transform:translateX(-50%);width:420px}.bpwe-seat-left{left:14px;top:50%;transform:translateY(-50%);width:180px}.bpwe-seat-right{right:14px;top:50%;transform:translateY(-50%);width:180px}.bpwe-player-tag{display:flex;justify-content:center;align-items:center;gap:10px;background:rgba(3,13,11,.82);border:1px solid var(--line);border-radius:12px;padding:7px 10px;box-shadow:0 7px 15px rgba(0,0,0,.2);max-width:100%}.bpwe-seat-turn .bpwe-player-tag{border-color:var(--gold);box-shadow:0 0 0 2px rgba(215,174,85,.14),0 7px 15px rgba(0,0,0,.25)}.bpwe-player-tag strong,.bpwe-player-tag small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bpwe-player-tag strong{max-width:150px;font-size:13px;color:#fff}.bpwe-player-tag small{font-size:10px;color:#aebbb5}.bpwe-badges{display:flex;gap:3px}.bpwe-badges span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#d3ad59;color:#1d180c;font-size:10px;font-weight:900}.bpwe-hand{display:flex;justify-content:center}.bpwe-own-hand{gap:0}.bpwe-own-hand .bpwe-card-button{margin-left:-18px}.bpwe-own-hand .bpwe-card-button:first-child{margin-left:0}.bpwe-hidden-hand .bpwe-card{margin-left:-36px}.bpwe-hidden-hand .bpwe-card:first-child{margin-left:0}.bpwe-seat-left .bpwe-hidden-hand,.bpwe-seat-right .bpwe-hidden-hand{transform:scale(.84)}.bpwe-card-button{padding:0;border:0;background:transparent;border-radius:9px;transition:.18s transform,.18s filter;position:relative}.bpwe-card-button:disabled{cursor:not-allowed;filter:saturate(.7) brightness(.82)}.bpwe-card-button.bpwe-card-enabled:hover{transform:translateY(-13px) rotate(-1deg);z-index:8;filter:none}.bpwe-card{width:78px;height:112px;border-radius:9px;background:linear-gradient(145deg,#fffdf6,#eee8da);border:1px solid #d3cab8;color:#121212;box-shadow:0 8px 18px rgba(0,0,0,.29);position:relative;overflow:hidden;user-select:none}.bpwe-card.bpwe-red{color:#c92e3a}.bpwe-card-corner{position:absolute;display:flex;flex-direction:column;align-items:center;line-height:.9;font-family:Georgia,serif;font-size:16px}.bpwe-card-corner span{font-size:13px;margin-top:3px}.bpwe-card-corner-top{left:6px;top:6px}.bpwe-card-corner-bottom{right:6px;bottom:6px;transform:rotate(180deg)}.bpwe-card-center{position:absolute;inset:0;display:grid;place-items:center;font-size:44px;font-family:Georgia,serif}.bpwe-court-mark{position:absolute;font-size:24px;font-weight:900;opacity:.18;border:2px solid currentColor;border-radius:50%;width:44px;height:44px;display:grid;place-items:center}.bpwe-card-back{background:#f3ead4 url('../../assets/card-back.svg') center/cover no-repeat;border-color:#d8c89e}.bpwe-sitting-out,.bpwe-open-seat{padding:10px 14px;border-radius:999px;border:1px dashed rgba(255,255,255,.28);background:rgba(0,0,0,.18);font-size:11px;color:#d6d4cc}.bpwe-seat-inactive{opacity:.63}.bpwe-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:330px;height:250px;border-radius:50%;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.10);z-index:2}.bpwe-trick-area{position:absolute;inset:0}.bpwe-trick-empty{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.22);font-size:12px;text-transform:uppercase;letter-spacing:.12em}.bpwe-trick-card{position:absolute}.bpwe-trick-card .bpwe-card{width:67px;height:96px}.bpwe-trick-bottom{left:50%;bottom:18px;transform:translateX(-50%) rotate(-2deg)}.bpwe-trick-top{left:50%;top:18px;transform:translateX(-50%) rotate(2deg)}.bpwe-trick-left{left:42px;top:50%;transform:translateY(-50%) rotate(-6deg)}.bpwe-trick-right{right:42px;top:50%;transform:translateY(-50%) rotate(6deg)}.bpwe-upcard-area{position:absolute;left:-92px;top:50%;transform:translateY(-50%);display:grid;gap:4px;justify-items:center;color:#c5cfca;font-size:10px;text-transform:uppercase;letter-spacing:.12em}.bpwe-upcard-area .bpwe-card{width:62px;height:90px}.bpwe-trick-score{position:absolute;right:-92px;top:50%;transform:translateY(-50%);text-align:center}.bpwe-trick-score span,.bpwe-trick-score strong{display:block}.bpwe-trick-score span{font-size:10px;text-transform:uppercase;color:#a9b6b0;letter-spacing:.12em}.bpwe-trick-score strong{font-size:20px}.bpwe-controls-wrap{padding:14px 20px;background:#081b17}.bpwe-control-panel{min-height:58px;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 14px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.035);text-align:center}.bpwe-control-panel strong,.bpwe-control-panel span{display:block}.bpwe-control-panel span{color:#aeb8b2;font-size:12px}.bpwe-control-panel .bpwe-secondary{background:#2d3c37;color:#eef2ef;border:1px solid rgba(255,255,255,.13)}.bpwe-bid-panel{flex-wrap:wrap}.bpwe-alone-toggle{display:flex;align-items:center;gap:6px;font-size:12px;color:#dedbcf;padding:7px 9px;border:1px solid var(--line);border-radius:9px}.bpwe-suit-choices{display:flex;gap:6px}.bpwe-suit-choices button{background:#f0eadb;color:#161616}.bpwe-suit-choices button.bpwe-suit-red{color:#c52f3a}.bpwe-result-panel{justify-content:space-between;text-align:left}.bpwe-waiting-pulse{width:10px;height:10px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 0 rgba(215,174,85,.5);animation:bpwePulse 1.4s infinite}.bpwe-lower-grid{display:grid;grid-template-columns:1fr 2fr;gap:14px;padding:0 20px 20px;background:#081b17}.bpwe-mini-rules p{margin-bottom:0;font-size:12px}.bpwe-events ul{margin:0;padding-left:18px;max-height:116px;overflow:auto}.bpwe-events li{margin:4px 0;color:#bec6c2;font-size:12px}.bpwe-toast{position:absolute;z-index:100;top:16px;left:50%;transform:translateX(-50%);max-width:80%;padding:11px 14px;border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.25)}.bpwe-toast-error{background:#8e2730;color:#fff;border:1px solid #d65c65}.bpwe-animation-layer{position:absolute;inset:0;z-index:20;pointer-events:none}.bpwe-flying-card{position:absolute;transition:transform .5s cubic-bezier(.2,.75,.2,1),opacity .5s ease;opacity:.95}.bpwe-flying-card .bpwe-card{width:68px;height:98px}.bpwe-fly-from-bottom{left:50%;bottom:80px;transform:translateX(-50%) scale(.8)}.bpwe-fly-from-top{left:50%;top:70px;transform:translateX(-50%) scale(.8)}.bpwe-fly-from-left{left:90px;top:50%;transform:translateY(-50%) scale(.8)}.bpwe-fly-from-right{right:90px;top:50%;transform:translateY(-50%) scale(.8)}.bpwe-fly-from-bottom.bpwe-fly-go{transform:translate(-50%,-230px) rotate(-4deg)}.bpwe-fly-from-top.bpwe-fly-go{transform:translate(-50%,220px) rotate(3deg)}.bpwe-fly-from-left.bpwe-fly-go{transform:translate(220px,-50%) rotate(-8deg)}.bpwe-fly-from-right.bpwe-fly-go{transform:translate(-220px,-50%) rotate(7deg)}.bpwe-flying-card.bpwe-fly-go{opacity:.15}@keyframes bpwePulse{0%{box-shadow:0 0 0 0 rgba(215,174,85,.5)}70%{box-shadow:0 0 0 8px rgba(215,174,85,0)}100%{box-shadow:0 0 0 0 rgba(215,174,85,0)}}
@media(max-width:850px){.bpwe-home-grid,.bpwe-lower-grid{grid-template-columns:1fr}.bpwe-game-header{grid-template-columns:1fr auto}.bpwe-game-meta{grid-column:1/-1;justify-self:stretch;display:flex;justify-content:space-between;text-align:left}.bpwe-table{height:660px;min-height:660px}.bpwe-seat-left,.bpwe-seat-right{width:135px}.bpwe-seat-left{left:2px}.bpwe-seat-right{right:2px}.bpwe-card{width:64px;height:94px}.bpwe-own-hand .bpwe-card-button{margin-left:-15px}.bpwe-center{width:280px;height:220px}.bpwe-upcard-area{left:-50px}.bpwe-trick-score{right:-46px}.bpwe-upcard-area .bpwe-card{width:50px;height:74px}.bpwe-seat-bottom{width:88%}}
@media(max-width:600px){.bpwe-home{padding:20px}.bpwe-mode-grid{grid-template-columns:1fr}.bpwe-game-header{grid-template-columns:1fr;padding:14px}.bpwe-scoreboard{justify-self:start}.bpwe-game-meta{grid-column:auto;display:grid}.bpwe-table{height:610px;min-height:610px}.bpwe-table:before,.bpwe-table:after{inset:12px}.bpwe-seat-top{width:270px}.bpwe-seat-left,.bpwe-seat-right{top:45%;width:108px}.bpwe-player-tag{padding:5px 7px}.bpwe-player-tag strong{max-width:92px;font-size:11px}.bpwe-player-tag small{font-size:8px}.bpwe-badges span{width:17px;height:17px}.bpwe-card{width:55px;height:82px;border-radius:7px}.bpwe-card-center{font-size:31px}.bpwe-card-corner{font-size:12px}.bpwe-card-corner span{font-size:10px}.bpwe-own-hand .bpwe-card-button{margin-left:-11px}.bpwe-center{width:220px;height:190px}.bpwe-trick-card .bpwe-card{width:51px;height:75px}.bpwe-trick-left{left:24px}.bpwe-trick-right{right:24px}.bpwe-upcard-area{display:none}.bpwe-trick-score{right:6px;top:-32px;transform:none}.bpwe-controls-wrap{padding:10px}.bpwe-control-panel{gap:7px;padding:9px;flex-wrap:wrap}.bpwe-suit-choices{width:100%;justify-content:center;flex-wrap:wrap}.bpwe-lower-grid{padding:0 10px 10px}.bpwe-mini-rules{display:none}.bpwe-seat-bottom{bottom:8px}}
.bpwe-card-art{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}

/* 1.1.0 — traditional counting-card score, retained tricks, deck chooser and paced plays */
.bpwe-deck-label{display:block;margin-top:3px;color:#9eaaa5;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.bpwe-scoreboard-fives{display:flex;align-items:center;gap:8px;min-width:330px}
.bpwe-counting-score{display:grid;grid-template-columns:auto 22px;grid-template-rows:auto auto;align-items:center;column-gap:5px;min-width:118px}
.bpwe-counting-cards{grid-row:1/3;display:flex;align-items:center;width:86px;height:58px;position:relative}
.bpwe-count-five{position:absolute;width:47px;height:58px;border-radius:5px;background:#fffdf6;border:1px solid #cfc6b3;box-shadow:0 3px 8px rgba(0,0,0,.28);overflow:hidden;font-family:Georgia,serif}
.bpwe-count-five-1{left:0;transform:rotate(-3deg)}.bpwe-count-five-2{left:34px;top:2px;transform:rotate(4deg)}
.bpwe-count-rank{position:absolute;left:3px;top:1px;font-size:11px;font-weight:800;line-height:1}.bpwe-count-rank-bottom{left:auto;top:auto;right:3px;bottom:1px;transform:rotate(180deg)}
.bpwe-count-red{color:#c52335}.bpwe-count-black{color:#15191b}
.bpwe-count-pip{position:absolute;font-size:11px;line-height:1;opacity:0}.bpwe-count-pip.is-counted{opacity:1}
.bpwe-count-pip.p1{left:9px;top:14px}.bpwe-count-pip.p2{right:9px;top:14px}.bpwe-count-pip.p3{left:18px;top:25px}.bpwe-count-pip.p4{left:9px;bottom:13px}.bpwe-count-pip.p5{right:9px;bottom:13px}
.bpwe-counting-score small{font-size:9px;color:#aab5af;white-space:nowrap}.bpwe-counting-score strong{font-size:18px;line-height:1;color:#fff}
.bpwe-counting-team-0 strong{color:#ef6774}.bpwe-counting-team-1 strong{color:#f2f2ef}
.bpwe-scoreboard-fives .bpwe-score-dash{font-size:10px;text-transform:uppercase;color:#7f8b86}.bpwe-scoreboard-fives .bpwe-target{font-size:10px;color:#9ea9a4;white-space:nowrap}

.bpwe-trick-history{background:#0a211c;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);padding:8px 14px;display:flex;align-items:center;gap:14px;min-height:61px}
.bpwe-trick-history>strong{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#9aaba3;white-space:nowrap}
.bpwe-trick-history-row{display:flex;gap:14px;align-items:center;overflow-x:auto;padding:2px 4px 4px}
.bpwe-history-trick{display:flex;align-items:center;gap:5px;min-width:76px}.bpwe-history-trick>span{font-size:9px;font-weight:800;color:#d9bb72}
.bpwe-history-cards{position:relative;width:58px;height:40px}.bpwe-history-mini{position:absolute;left:calc(var(--i) * 9px);top:0;transform:rotate(calc((var(--i) - 1.5) * 3deg));transform-origin:bottom center}
.bpwe-history-mini .bpwe-card{width:25px;height:36px;border-radius:3px;box-shadow:0 2px 5px rgba(0,0,0,.25)}

.bpwe-lower-grid-with-settings{grid-template-columns:1fr 1.25fr 1fr}.bpwe-host-column{align-self:start;display:grid;gap:10px;min-width:0}.bpwe-host-settings{align-self:start}.bpwe-host-settings summary{cursor:pointer;font-weight:800;color:#e7d49b}.bpwe-host-settings form{display:grid;gap:8px;margin-top:10px}.bpwe-host-settings label{display:grid;gap:3px;font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#aab5af}.bpwe-host-settings input,.bpwe-host-settings select{width:100%;box-sizing:border-box;background:#0e2b24;color:#fff;border:1px solid rgba(255,255,255,.16);border-radius:7px;padding:6px}.bpwe-host-settings button{justify-self:start}.bpwe-host-settings small{color:#83938c;font-size:10px;line-height:1.35}

.bpwe-flying-card{transition:transform var(--bpwe-fly-ms,.5s) cubic-bezier(.2,.75,.2,1),opacity var(--bpwe-fly-ms,.5s) ease}

@media(max-width:980px){.bpwe-scoreboard-fives{min-width:270px;gap:4px}.bpwe-counting-score{min-width:102px}.bpwe-counting-cards{transform:scale(.9);transform-origin:left center}.bpwe-lower-grid-with-settings{grid-template-columns:1fr 1fr}.bpwe-host-column{grid-column:1/-1;max-width:420px}.bpwe-host-settings{grid-column:auto}}
@media(max-width:600px){.bpwe-scoreboard-fives{min-width:0;justify-content:flex-start;flex-wrap:wrap}.bpwe-counting-score{min-width:98px}.bpwe-counting-cards{width:77px;transform:scale(.82);transform-origin:left center}.bpwe-counting-score strong{font-size:15px}.bpwe-trick-history{display:block}.bpwe-trick-history>strong{display:block;margin-bottom:5px}.bpwe-trick-history-row{gap:8px}.bpwe-lower-grid-with-settings{grid-template-columns:1fr}.bpwe-host-column{grid-column:auto;max-width:none}.bpwe-host-settings{grid-column:auto}}

/* 1.2.0 — prominent dealer marker and paced trump-selection announcements */
.bpwe-meta-dealer{color:#f2d989}.bpwe-meta-dealer b{color:#fff}.bpwe-meta-dealer{white-space:nowrap}
.bpwe-seat-dealer .bpwe-player-tag{border-color:#f0c65f;box-shadow:0 0 0 2px rgba(240,198,95,.22),0 0 22px rgba(240,198,95,.16),0 7px 15px rgba(0,0,0,.25)}
.bpwe-dealer-ribbon{display:flex;align-items:center;gap:5px;margin-top:-3px;padding:4px 9px;border-radius:999px;border:1px solid #edc25b;background:linear-gradient(180deg,#f4d77f,#c89a35);color:#241b08;font-size:10px;font-weight:950;letter-spacing:.09em;text-transform:uppercase;box-shadow:0 4px 12px rgba(0,0,0,.3);white-space:nowrap}
.bpwe-dealer-ribbon>span{font-size:9px}.bpwe-dealer-ribbon small{font-size:8px;font-weight:800;letter-spacing:.02em;text-transform:none;color:#5b4312}
.bpwe-auction-announcement{position:absolute;z-index:28;left:50%;top:26%;transform:translate(-50%,-50%);width:min(440px,76%);padding:13px 18px;border:1px solid rgba(240,198,95,.8);border-radius:15px;background:linear-gradient(145deg,rgba(7,24,20,.97),rgba(16,48,39,.97));box-shadow:0 16px 38px rgba(0,0,0,.42),0 0 0 3px rgba(240,198,95,.09);text-align:center;pointer-events:none;animation:bpweAuctionIn .2s ease-out}
.bpwe-auction-announcement span,.bpwe-auction-announcement strong,.bpwe-auction-announcement b,.bpwe-auction-announcement small{display:block}
.bpwe-auction-kicker{font-size:9px;text-transform:uppercase;letter-spacing:.18em;color:#b7c2bd;margin-bottom:3px}
.bpwe-auction-announcement strong{font-size:14px;color:#fff}.bpwe-auction-announcement b{margin:2px 0 3px;font-size:clamp(22px,3vw,34px);line-height:1;color:#f5d36f;font-family:Georgia,serif;letter-spacing:.02em}.bpwe-auction-announcement b.bpwe-auction-red{color:#ff6a75}
.bpwe-auction-announcement small{font-size:11px;line-height:1.35;color:#d3d9d6}
.bpwe-bid-bubble{position:absolute;z-index:31;padding:7px 10px;border-radius:10px;background:#f5d36f;color:#211907;border:2px solid #fff5cf;box-shadow:0 8px 20px rgba(0,0,0,.38);font-size:11px;font-weight:950;letter-spacing:.06em;white-space:nowrap;animation:bpweBidPop .18s ease-out}
.bpwe-seat-bottom .bpwe-bid-bubble{bottom:100%;margin-bottom:10px}.bpwe-seat-top .bpwe-bid-bubble{top:100%;margin-top:10px}.bpwe-seat-left .bpwe-bid-bubble{left:100%;top:30px;margin-left:8px}.bpwe-seat-right .bpwe-bid-bubble{right:100%;top:30px;margin-right:8px}
.bpwe-bid-bubble-pass{background:#e8ecea;color:#24302b;border-color:#fff}.bpwe-bid-bubble-order,.bpwe-bid-bubble-call{background:#f5d36f}.bpwe-bid-bubble-pickup_discard{background:#d9e7dd;color:#183025}
.bpwe-auction-controls{border-color:rgba(240,198,95,.38);background:rgba(240,198,95,.06)}
@keyframes bpweAuctionIn{from{opacity:0;transform:translate(-50%,-44%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes bpweBidPop{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:scale(1)}}
@media(max-width:600px){.bpwe-dealer-ribbon small{display:none}.bpwe-dealer-ribbon{font-size:9px;padding:3px 7px}.bpwe-auction-announcement{top:24%;width:84%;padding:10px 12px}.bpwe-auction-announcement b{font-size:22px}.bpwe-auction-announcement small{font-size:10px}.bpwe-bid-bubble{font-size:9px;padding:5px 7px}.bpwe-seat-left .bpwe-bid-bubble,.bpwe-seat-right .bpwe-bid-bubble{top:40px}}

/* 1.3.0 — dealer-relative upcard, desktop popup, trick review/sweep, saves, explicit Maker */
.bpwe-game-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:7px 16px;background:#061713;border-bottom:1px solid rgba(255,255,255,.07)}
.bpwe-game-actions button,.bpwe-saved-row button{border:1px solid rgba(215,174,85,.38);border-radius:9px;padding:7px 11px;background:#102c25;color:#efe9d8;font-size:11px;font-weight:800}
.bpwe-game-actions button:hover,.bpwe-saved-row button:hover{border-color:#d7ae55;background:#173c31}.bpwe-game-actions .bpwe-action-primary{background:#d7ae55;color:#191407}
.bpwe-saved-banner{display:flex;align-items:center;justify-content:center;gap:10px;padding:9px 16px;background:#624916;color:#fff4ca;border-bottom:1px solid #9c7530}.bpwe-saved-banner strong{font-size:12px}.bpwe-saved-banner span{font-size:11px;color:#f1dfae}

/* The turn-up card follows the dealer around the felt. */
.bpwe-table>.bpwe-upcard-area{z-index:8;left:auto;right:auto;top:auto;bottom:auto;transform:none;pointer-events:none}
.bpwe-upcard-dealer-top{left:50%;top:152px;transform:translateX(-50%)!important}
.bpwe-upcard-dealer-bottom{left:50%;bottom:164px;transform:translateX(-50%)!important}
.bpwe-upcard-dealer-left{left:202px;top:50%;transform:translateY(-50%)!important}
.bpwe-upcard-dealer-right{right:202px;top:50%;transform:translateY(-50%)!important}
.bpwe-upcard-area span{padding:3px 6px;border-radius:999px;background:rgba(3,13,11,.78);color:#f1d98c;font-size:9px;font-weight:900;letter-spacing:.08em;white-space:nowrap}
.bpwe-seat-dealer .bpwe-player-tag{animation:bpweDealerGlow 2.4s ease-in-out infinite}
@keyframes bpweDealerGlow{0%,100%{box-shadow:0 0 0 2px rgba(240,198,95,.22),0 0 16px rgba(240,198,95,.12),0 7px 15px rgba(0,0,0,.25)}50%{box-shadow:0 0 0 3px rgba(240,198,95,.32),0 0 28px rgba(240,198,95,.24),0 7px 15px rgba(0,0,0,.25)}}

.bpwe-badges .bpwe-maker-badge{width:auto;min-width:20px;padding:0 7px;border-radius:999px;font-size:9px;letter-spacing:.02em}

/* End-of-trick review and collection toward the winner. */
.bpwe-trick-winner-announcement{position:absolute;z-index:29;left:50%;top:31%;transform:translate(-50%,-50%);min-width:230px;max-width:72%;padding:10px 16px;border:1px solid rgba(245,211,111,.8);border-radius:14px;background:rgba(5,22,18,.96);box-shadow:0 12px 32px rgba(0,0,0,.38);text-align:center;pointer-events:none}
.bpwe-trick-winner-announcement span,.bpwe-trick-winner-announcement strong,.bpwe-trick-winner-announcement small{display:block}.bpwe-trick-winner-announcement span{font-size:9px;text-transform:uppercase;letter-spacing:.15em;color:#b9c5bf}.bpwe-trick-winner-announcement strong{margin:2px 0;color:#f5d36f;font-family:Georgia,serif;font-size:20px}.bpwe-trick-winner-announcement small{color:#c9d1cd;font-size:10px}
.bpwe-seat-trick-winner .bpwe-player-tag{border-color:#f5d36f!important;box-shadow:0 0 0 4px rgba(245,211,111,.2),0 0 32px rgba(245,211,111,.3),0 7px 15px rgba(0,0,0,.25)!important}
.bpwe-trick-card.bpwe-trick-sweep{z-index:30;transition:transform .65s cubic-bezier(.22,.8,.2,1),opacity .65s ease,filter .65s ease;filter:brightness(1.16)}
.bpwe-trick-card.bpwe-sweep-to-top{transform:translateY(-560px) scale(.55) rotate(-10deg)!important;opacity:0}
.bpwe-trick-card.bpwe-sweep-to-bottom{transform:translateY(560px) scale(.55) rotate(10deg)!important;opacity:0}
.bpwe-trick-card.bpwe-sweep-to-left{transform:translateX(-620px) scale(.55) rotate(-12deg)!important;opacity:0}
.bpwe-trick-card.bpwe-sweep-to-right{transform:translateX(620px) scale(.55) rotate(12deg)!important;opacity:0}

/* Creator-only saved-game shelf. */
.bpwe-saved-games{margin-top:18px}.bpwe-saved-games .bpwe-panel{padding:16px 18px}.bpwe-saved-games .bpwe-panel>p{margin:0}.bpwe-saved-list{display:grid;gap:8px}.bpwe-saved-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.035)}.bpwe-saved-row strong,.bpwe-saved-row span,.bpwe-saved-row small{display:block}.bpwe-saved-row strong{color:#fff}.bpwe-saved-row span{margin-top:2px;color:#c3ccc7;font-size:11px;text-transform:capitalize}.bpwe-saved-row small{margin-top:2px;color:#7f9188;font-size:9px}

/* Desktop popup view. The same live game DOM becomes a modal; no second game client is created. */
.bpwe-body-modal-open{overflow:hidden!important}.bpwe-app.bpwe-modal-open{position:fixed!important;z-index:999999;inset:20px!important;width:auto!important;max-width:none!important;height:calc(100vh - 40px);margin:0!important;overflow:auto;border-radius:24px;box-shadow:0 30px 100px rgba(0,0,0,.65)}
body.bpwe-body-modal-open:before{content:"";position:fixed;z-index:999998;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(4px)}
.bpwe-app.bpwe-modal-open .bpwe-shell{min-height:100%}.bpwe-app.bpwe-modal-open .bpwe-table{height:min(720px,62vh)}

@media(max-width:980px){.bpwe-upcard-dealer-left{left:154px}.bpwe-upcard-dealer-right{right:154px}.bpwe-upcard-dealer-top{top:142px}.bpwe-upcard-dealer-bottom{bottom:148px}}
@media(max-width:850px){.bpwe-modal-toggle{display:none!important}.bpwe-upcard-dealer-left{left:126px}.bpwe-upcard-dealer-right{right:126px}.bpwe-upcard-dealer-top{top:128px}.bpwe-upcard-dealer-bottom{bottom:140px}}
@media(max-width:600px){.bpwe-game-actions{justify-content:center;flex-wrap:wrap}.bpwe-table>.bpwe-upcard-area{display:grid!important}.bpwe-upcard-area .bpwe-card{width:44px;height:64px}.bpwe-upcard-area span{font-size:7px;padding:2px 4px}.bpwe-upcard-dealer-top{top:112px}.bpwe-upcard-dealer-bottom{bottom:124px}.bpwe-upcard-dealer-left{left:88px}.bpwe-upcard-dealer-right{right:88px}.bpwe-trick-winner-announcement{top:28%;min-width:190px;padding:8px 10px}.bpwe-trick-winner-announcement strong{font-size:16px}.bpwe-badges .bpwe-maker-badge{font-size:8px;padding:0 5px}.bpwe-saved-row{align-items:flex-start}.bpwe-saved-row button{white-space:nowrap}}

/* 1.4.0 — explicit Stick-the-Dealer pacing, fixed body-level modal, session scoring, celebration */
.bpwe-series-score{min-width:132px;padding-left:10px;border-left:1px solid rgba(215,174,85,.22);align-self:stretch;display:flex;flex-direction:column;justify-content:center!important;text-align:left!important}
.bpwe-series-score span,.bpwe-series-score strong,.bpwe-series-score small{display:block}.bpwe-series-score span{font-size:9px;text-transform:uppercase;letter-spacing:.11em;color:#9faea6}.bpwe-series-score strong{font-size:12px;line-height:1.25;color:#f7e7b2}.bpwe-series-score small{margin-top:3px;font-size:9px;color:#778b81;text-transform:none}

/* Trump-selection events stay visible and show a persistent no-spoiler trail of already-presented decisions. */
.bpwe-auction-announcement{overflow:hidden}
.bpwe-auction-progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,#f5d36f,#fff1a8);transform-origin:left center;animation:bpweAuctionProgress var(--bpwe-announcement-ms,3000ms) linear forwards}
@keyframes bpweAuctionProgress{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.bpwe-auction-stick-special{border-color:#ffce5b;background:linear-gradient(145deg,rgba(62,35,5,.98),rgba(103,59,7,.98));box-shadow:0 16px 42px rgba(0,0,0,.5),0 0 0 4px rgba(255,206,91,.13),0 0 34px rgba(255,174,36,.22)}
.bpwe-auction-stick-special .bpwe-auction-kicker{color:#ffe8a1}.bpwe-auction-stick-special b{color:#fff0a8;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.bpwe-bid-bubble-stick_dealer{background:#ffcf61;color:#342002;border-color:#fff0b3}.bpwe-bid-bubble-stick_call{background:#f5d36f;color:#211907;border-color:#fff5cf}
.bpwe-auction-trail{position:absolute;z-index:17;left:50%;top:39%;transform:translateX(-50%);width:min(720px,78%);pointer-events:none;text-align:center}
.bpwe-auction-trail>strong{display:block;margin-bottom:5px;color:#b8c4be;font-size:8px;text-transform:uppercase;letter-spacing:.17em}
.bpwe-auction-trail>div{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}
.bpwe-auction-trail-item{display:flex;align-items:center;gap:5px;max-width:150px;padding:4px 7px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(3,14,12,.78);box-shadow:0 4px 12px rgba(0,0,0,.18)}
.bpwe-auction-trail-item small{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9db0a7;font-size:8px}.bpwe-auction-trail-item b{white-space:nowrap;color:#e9e6da;font-size:8px;letter-spacing:.03em}.bpwe-auction-trail-stick{border-color:#ffcf61;background:rgba(89,49,3,.9)}.bpwe-auction-trail-stick b{color:#ffe59a}
.bpwe-stick-required-controls{border-color:#f5c858;background:linear-gradient(90deg,rgba(112,65,5,.28),rgba(245,200,88,.08));box-shadow:inset 0 0 0 1px rgba(245,200,88,.12)}.bpwe-stick-required-controls strong{color:#ffd86d}.bpwe-stick-required-controls span{color:#f1dfab}
.bpwe-upcard-turned-down{filter:brightness(.86) saturate(.8)}

/* Modal fix: the live app is physically moved to <body>, above a real backdrop. */
body.bpwe-body-modal-open:before{content:none!important;display:none!important}
.bpwe-modal-backdrop{position:fixed;z-index:2147483000;inset:0;background:rgba(0,0,0,.74);backdrop-filter:blur(4px)}
.bpwe-app.bpwe-modal-open{position:fixed!important;z-index:2147483001!important;inset:18px!important;width:auto!important;max-width:none!important;height:calc(100vh - 36px)!important;margin:0!important;overflow:auto!important;border-radius:24px;box-shadow:0 30px 100px rgba(0,0,0,.72);isolation:isolate}
.bpwe-app.bpwe-modal-open .bpwe-shell{min-height:100%;border-radius:24px}.bpwe-app.bpwe-modal-open .bpwe-table{height:min(760px,64vh)}

/* Game-over celebration. The authoritative winner remains server-side; this is presentation only. */
.bpwe-celebration-layer{position:absolute;z-index:70;inset:0;overflow:hidden;pointer-events:none}
.bpwe-confetti-piece{position:absolute;left:var(--x);top:-8%;width:9px;height:18px;border-radius:2px;opacity:.95;animation:bpweConfettiFall var(--dur) cubic-bezier(.16,.72,.27,1) var(--delay) forwards;transform:translateX(0) rotate(0)}
@keyframes bpweConfettiFall{0%{top:-8%;transform:translateX(0) rotate(0);opacity:0}8%{opacity:1}100%{top:108%;transform:translateX(var(--drift)) rotate(var(--rot));opacity:.75}}
.bpwe-firework{position:absolute;width:8px;height:8px;animation:bpweFireworkPulse 1.45s ease-out var(--fw-delay) both}
.bpwe-firework i{position:absolute;left:50%;top:50%;width:5px;height:5px;border-radius:50%;background:var(--spark-color);box-shadow:0 0 8px var(--spark-color);transform:rotate(var(--angle)) translateX(0);animation:bpweFireworkSpark 1.45s ease-out var(--fw-delay) both}
.bpwe-firework-top{left:50%;top:15%}.bpwe-firework-bottom{left:50%;bottom:15%}.bpwe-firework-left{left:15%;top:50%}.bpwe-firework-right{right:15%;top:50%}
@keyframes bpweFireworkPulse{0%,100%{opacity:0}10%,70%{opacity:1}}
@keyframes bpweFireworkSpark{0%{transform:rotate(var(--angle)) translateX(0) scale(.35);opacity:0}12%{opacity:1}70%{transform:rotate(var(--angle)) translateX(92px) scale(1);opacity:1}100%{transform:rotate(var(--angle)) translateX(118px) scale(.2);opacity:0}}
.bpwe-game-complete-controls{border-color:rgba(245,211,111,.48);background:linear-gradient(90deg,rgba(245,211,111,.09),rgba(255,255,255,.035))}

@media(max-width:1050px){.bpwe-series-score{min-width:118px}.bpwe-series-score strong{font-size:11px}.bpwe-auction-trail{top:41%;width:72%}}
@media(max-width:850px){.bpwe-series-score{width:100%;min-width:0;border-left:0;border-top:1px solid rgba(215,174,85,.18);padding:6px 0 0;text-align:center!important}.bpwe-auction-trail{top:40%;width:76%}}
@media(max-width:600px){.bpwe-auction-trail{top:42%;width:84%}.bpwe-auction-trail-item small{display:none}.bpwe-auction-trail-item b{font-size:7px}.bpwe-auction-stick-special{width:90%!important}.bpwe-series-score strong{font-size:10px}}

/* 1.5.0 — tighter dealer upcard, table-corner status, and docked trump controls */
.bpwe-table-status{position:absolute;z-index:16;top:14px;right:18px;min-width:172px;padding:9px 11px;border:1px solid rgba(215,174,85,.32);border-radius:11px;background:rgba(3,15,13,.9);box-shadow:0 8px 20px rgba(0,0,0,.24);text-align:right;pointer-events:none}
.bpwe-table-status span{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9fb0a8;font-size:10px;line-height:1.5;text-transform:uppercase;letter-spacing:.08em}.bpwe-table-status strong{color:#f5f0df;font-size:11px;letter-spacing:0;text-transform:none}.bpwe-table-status span+span{margin-top:2px;padding-top:3px;border-top:1px solid rgba(255,255,255,.06)}

/* The turn-up card now belongs visually to the dealer's seat instead of floating near a table edge. */
.bpwe-dealer-upcard{position:absolute;z-index:13;display:grid;gap:4px;justify-items:center;pointer-events:none}.bpwe-dealer-upcard>span{padding:3px 6px;border-radius:999px;background:rgba(3,13,11,.88);color:#f1d98c;font-size:8px;font-weight:900;line-height:1;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}.bpwe-dealer-upcard .bpwe-card{width:58px;height:84px}
.bpwe-seat-top .bpwe-dealer-upcard{left:calc(50% + 170px);bottom:0}
.bpwe-seat-bottom .bpwe-dealer-upcard{right:calc(50% + 168px);bottom:0}
.bpwe-seat-left .bpwe-dealer-upcard{left:calc(100% + 4px);top:50%;transform:translateY(-50%)}
.bpwe-seat-right .bpwe-dealer-upcard{right:calc(100% + 4px);top:50%;transform:translateY(-50%)}

/* During a human trump decision, keep the temporary controls beside the local hand. */
.bpwe-table-bid-controls{position:absolute;z-index:19;left:calc(50% + 180px);right:18px;bottom:18px;display:flex;justify-content:flex-end}
.bpwe-table-bid-controls .bpwe-control-panel{width:100%;min-height:0;justify-content:flex-end;gap:7px;padding:8px 9px;border-color:rgba(215,174,85,.44);background:rgba(4,18,15,.94);box-shadow:0 10px 26px rgba(0,0,0,.3);text-align:right}
.bpwe-table-bid-controls .bpwe-bid-panel>div:first-child{flex:1 1 110px;min-width:90px}.bpwe-table-bid-controls .bpwe-bid-panel>div:first-child span{display:none}.bpwe-table-bid-controls .bpwe-bid-panel strong{font-size:11px;line-height:1.2}.bpwe-table-bid-controls .bpwe-alone-toggle{padding:6px 7px;white-space:nowrap}.bpwe-table-bid-controls .bpwe-control-panel button{padding:9px 11px;white-space:nowrap}.bpwe-table-bid-controls .bpwe-suit-choices{justify-content:flex-end;flex-wrap:wrap}

@media(max-width:1050px){.bpwe-seat-top .bpwe-dealer-upcard{left:calc(50% + 154px)}.bpwe-seat-bottom .bpwe-dealer-upcard{right:calc(50% + 152px)}.bpwe-table-bid-controls{left:calc(50% + 155px)}}
@media(max-width:850px){.bpwe-table-status{top:10px;right:10px;min-width:148px;padding:7px 9px}.bpwe-table-status span{font-size:9px}.bpwe-table-status strong{font-size:10px}.bpwe-dealer-upcard .bpwe-card{width:50px;height:74px}.bpwe-seat-top .bpwe-dealer-upcard{left:calc(50% + 136px)}.bpwe-seat-bottom .bpwe-dealer-upcard{right:calc(50% + 136px)}.bpwe-seat-left .bpwe-dealer-upcard{left:calc(100% + 2px)}.bpwe-seat-right .bpwe-dealer-upcard{right:calc(100% + 2px)}}
@media(max-width:600px){.bpwe-table-status{top:7px;right:7px;min-width:128px;padding:6px 7px}.bpwe-table-status span{gap:7px;font-size:8px}.bpwe-table-status strong{font-size:9px}.bpwe-dealer-upcard .bpwe-card{width:42px;height:62px}.bpwe-dealer-upcard>span{font-size:6px;padding:2px 4px}.bpwe-seat-top .bpwe-dealer-upcard{left:calc(50% + 108px)}.bpwe-seat-bottom .bpwe-dealer-upcard{right:calc(50% + 106px)}}

/* 1.6.0 — presentation-synchronized trick counts, dealer-self upcard spacing, enlarged trick history, hand celebrations */
/* When the local player is the dealer, give the turn-up card extra breathing room to the left of the hand. */
@media(min-width:851px){
  .bpwe-seat-you.bpwe-seat-dealer.bpwe-seat-bottom .bpwe-dealer-upcard{right:calc(50% + 203px);left:auto;bottom:0}
}
@media(min-width:851px) and (max-width:1050px){
  .bpwe-seat-you.bpwe-seat-dealer.bpwe-seat-bottom .bpwe-dealer-upcard{right:calc(50% + 187px)}
}

/* Desktop completed-trick magnifier. Miniatures stay compact; the hover/focus bubble uses 5x card dimensions. */
.bpwe-history-trick{position:relative;border-radius:8px;outline:none;transition:background .15s ease,box-shadow .15s ease}
.bpwe-history-trick:hover,.bpwe-history-trick:focus{background:rgba(215,174,85,.08);box-shadow:0 0 0 1px rgba(215,174,85,.24)}
.bpwe-history-hover-bubble{position:fixed;z-index:2147483010;pointer-events:none;min-width:240px;max-width:min(620px,calc(100vw - 24px));padding:12px 14px 15px;border:1px solid rgba(245,211,111,.62);border-radius:18px;background:linear-gradient(145deg,rgba(4,20,17,.985),rgba(9,35,29,.985));box-shadow:0 24px 60px rgba(0,0,0,.58),0 0 0 3px rgba(215,174,85,.08);opacity:0;transform:translateY(8px) scale(.98);transition:opacity .14s ease,transform .14s ease;color:#f7f1df}
.bpwe-history-hover-bubble.is-visible{opacity:1;transform:translateY(0) scale(1)}
.bpwe-history-hover-title{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.09)}
.bpwe-history-hover-title strong{font:700 17px/1.1 Georgia,serif;color:#f5d36f}.bpwe-history-hover-title span{font-size:11px;color:#c3cec8}
.bpwe-history-hover-cards{display:flex;justify-content:center;align-items:end;padding:2px 8px 5px;min-height:182px}
.bpwe-history-hover-card{width:125px!important;height:180px!important;border-radius:9px!important;box-shadow:0 14px 28px rgba(0,0,0,.38)!important;flex:0 0 125px}
.bpwe-history-hover-card+.bpwe-history-hover-card{margin-left:-48px}
@media(max-width:850px){.bpwe-history-trick{outline:none}.bpwe-history-hover-bubble{display:none!important}}

/* Hand-end celebrations are driven by authoritative hand_result_event metadata, not inferred in the browser. */
.bpwe-hand-celebration-layer{position:absolute;z-index:66;inset:0;overflow:hidden;pointer-events:none}
.bpwe-hand-winner-banner,.bpwe-hand-special-banner{position:absolute;left:50%;transform:translateX(-50%);text-align:center;font-family:Georgia,serif;font-weight:900;letter-spacing:.035em;text-transform:none;text-shadow:0 4px 16px rgba(0,0,0,.72);white-space:nowrap}
.bpwe-hand-winner-banner{top:11%;z-index:5;padding:10px 28px;border:2px solid rgba(255,226,126,.88);border-radius:999px;background:linear-gradient(180deg,rgba(99,66,8,.97),rgba(43,29,4,.97));box-shadow:0 12px 34px rgba(0,0,0,.48),0 0 34px rgba(245,211,111,.26);color:#fff0a8;font-size:clamp(28px,4.2vw,54px)}
.bpwe-hand-special-banner{top:48%;z-index:6;padding:12px 30px;border:2px solid rgba(255,255,255,.72);border-radius:17px;background:rgba(4,18,15,.94);box-shadow:0 18px 42px rgba(0,0,0,.5),0 0 42px rgba(255,213,103,.22);color:#fff;font-size:clamp(25px,4vw,48px)}
.bpwe-special-euchered{color:#ffd568;border-color:#ffd568;background:linear-gradient(145deg,rgba(82,42,3,.96),rgba(30,19,3,.96))}
.bpwe-seat-hand-winner .bpwe-player-tag{border-color:#ffe07b!important;box-shadow:0 0 0 4px rgba(255,224,123,.22),0 0 38px rgba(255,201,76,.48),0 8px 18px rgba(0,0,0,.34)!important;animation:bpweHandWinnerPulse .9s ease-in-out infinite alternate!important}
@keyframes bpweHandWinnerPulse{from{transform:scale(1)}to{transform:scale(1.055)}}
.bpwe-hand-celebration-layer .bpwe-firework{z-index:3;transform:scale(var(--fw-scale,1));transform-origin:center}
.bpwe-firework-center{left:50%;top:50%}
@media(max-width:600px){.bpwe-hand-winner-banner{top:15%;padding:8px 18px;font-size:28px}.bpwe-hand-special-banner{top:47%;max-width:92%;white-space:normal;padding:10px 16px;font-size:25px}.bpwe-history-hover-card{width:100px!important;height:144px!important;flex-basis:100px}}
@media(prefers-reduced-motion:reduce){.bpwe-hand-celebration-layer .bpwe-firework{display:none}.bpwe-seat-hand-winner .bpwe-player-tag{animation:none!important}.bpwe-history-hover-bubble{transition:none}}

/* 1.7.0 — guest table identity, explicit pre-game lobby, and outcome-targeted hand celebrations */
.bpwe-identity-panel{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:12px 14px;border:1px solid rgba(215,174,85,.26);border-radius:14px;background:rgba(255,255,255,.035)}
.bpwe-identity-panel label{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.bpwe-identity-panel label span,.bpwe-identity-panel>span{color:#d7ae55;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.1em;white-space:nowrap}.bpwe-identity-panel input{flex:1;min-width:160px;max-width:320px;border:1px solid rgba(255,255,255,.16);border-radius:9px;padding:9px 11px;background:#fff;color:#151515;font-weight:700}.bpwe-identity-panel small{color:#aebbb5;font-size:10px;line-height:1.35}.bpwe-identity-signed strong{color:#fff}.bpwe-lobby-hint{margin-top:-3px;font-size:12px}
.bpwe-lobby-shell{overflow:hidden}.bpwe-lobby-header{grid-template-columns:1fr auto}.bpwe-lobby-header small{color:#aebbb5}.bpwe-lobby-back{border:1px solid rgba(255,255,255,.16);border-radius:8px;padding:7px 10px;background:#17362f;color:#efe9d8;font-size:10px;font-weight:800}.bpwe-lobby-codebar{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 18px;background:linear-gradient(90deg,#493712,#72531b,#493712);border-bottom:1px solid #9c7530}.bpwe-lobby-codebar>div span,.bpwe-lobby-codebar>div strong{display:block;text-align:center}.bpwe-lobby-codebar>div span{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:#e7d8a9}.bpwe-lobby-codebar>div strong{font-size:22px;letter-spacing:.18em;color:#fff}.bpwe-lobby-codebar button{border:0;border-radius:9px;padding:9px 13px;background:#e0bc61;color:#1e1809;font-weight:900}.bpwe-lobby-codebar .bpwe-lobby-start{background:#fff1a8;box-shadow:0 0 0 2px rgba(255,241,168,.22),0 7px 18px rgba(0,0,0,.22)}
.bpwe-lobby-room{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;padding:20px;background:#081b17}.bpwe-lobby-room.bpwe-lobby-room-solo{grid-template-columns:1fr}.bpwe-lobby-room h3{margin:0;color:#fff;font-family:Georgia,serif}.bpwe-lobby-seats,.bpwe-lobby-chat{border:1px solid rgba(255,255,255,.11);border-radius:16px;background:rgba(5,21,18,.9);padding:16px}.bpwe-lobby-seat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.bpwe-lobby-seat{min-height:92px;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.035)}.bpwe-lobby-seat span,.bpwe-lobby-seat strong,.bpwe-lobby-seat small{display:block}.bpwe-lobby-seat span{color:#b3c1ba;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.bpwe-lobby-seat strong{margin-top:6px;color:#fff;font-size:15px}.bpwe-lobby-seat small{margin-top:4px;color:#899b92;font-size:10px}.bpwe-lobby-seat.is-open{border-style:dashed;opacity:.72}.bpwe-lobby-seat.is-you{border-color:#d7ae55;box-shadow:inset 0 0 0 1px rgba(215,174,85,.15)}.bpwe-lobby-note{margin:12px 0 0;color:#92a39a;font-size:10px;line-height:1.4}
.bpwe-lobby-chat{display:flex;flex-direction:column;min-height:330px}.bpwe-lobby-chat-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.bpwe-lobby-chat-head span{color:#83978d;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.bpwe-lobby-chat ul{list-style:none;margin:12px 0;padding:0;flex:1;max-height:260px;overflow:auto;display:grid;gap:7px}.bpwe-lobby-chat li{padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.045)}.bpwe-lobby-chat li.is-you{background:rgba(215,174,85,.085)}.bpwe-lobby-chat li>div{display:flex;gap:7px;align-items:baseline}.bpwe-lobby-chat li strong{color:#f5d36f;font-size:11px}.bpwe-lobby-chat li span{color:#7f9389;font-size:8px;text-transform:uppercase}.bpwe-lobby-chat li p{margin:3px 0 0;color:#e6e8e3;font-size:11px;line-height:1.35}.bpwe-lobby-chat .bpwe-chat-empty{display:grid;place-items:center;color:#83958d;font-size:10px;text-align:center}.bpwe-lobby-chat form{display:flex;gap:7px}.bpwe-lobby-chat form input{flex:1;min-width:0;border:1px solid rgba(255,255,255,.14);border-radius:9px;padding:10px;background:#fff;color:#151515}.bpwe-lobby-chat form button{border:0;border-radius:9px;padding:10px 13px;background:#d7ae55;color:#1c1608;font-weight:900}

/* A two-point march and a five-trick lone march use different center announcements. */
.bpwe-special-two_pointer{color:#fff0a8;border-color:#f5d36f;background:linear-gradient(145deg,rgba(80,53,7,.97),rgba(33,22,4,.97));box-shadow:0 18px 42px rgba(0,0,0,.5),0 0 48px rgba(245,211,111,.28)}
.bpwe-special-lone_march{color:#fff2a8;border-color:#fff2a8;background:linear-gradient(145deg,rgba(74,28,70,.97),rgba(27,13,42,.97));box-shadow:0 18px 42px rgba(0,0,0,.52),0 0 62px rgba(225,157,255,.42)}
/* Euchered belongs visually to the partnership that was euchered, not the defenders who scored. */
.bpwe-euchered-seat-message{position:absolute;z-index:7;padding:7px 15px;border:2px solid #ffd568;border-radius:999px;background:linear-gradient(145deg,rgba(82,42,3,.98),rgba(30,19,3,.98));box-shadow:0 10px 26px rgba(0,0,0,.45),0 0 32px rgba(255,213,104,.28);color:#ffd568;font-family:Georgia,serif;font-size:clamp(18px,2.4vw,30px);font-weight:900;white-space:nowrap;text-shadow:0 3px 10px rgba(0,0,0,.65)}
.bpwe-euchered-seat-top{left:50%;top:7%;transform:translateX(-50%)}.bpwe-euchered-seat-bottom{left:50%;bottom:7%;transform:translateX(-50%)}.bpwe-euchered-seat-left{left:3%;top:50%;transform:translateY(-50%)}.bpwe-euchered-seat-right{right:3%;top:50%;transform:translateY(-50%)}

@media(max-width:850px){.bpwe-identity-panel{align-items:flex-start;flex-direction:column}.bpwe-identity-panel label{width:100%;align-items:flex-start;flex-direction:column}.bpwe-identity-panel input{width:100%;max-width:none}.bpwe-lobby-room{grid-template-columns:1fr}.bpwe-lobby-header{grid-template-columns:1fr}.bpwe-lobby-codebar{flex-wrap:wrap}.bpwe-lobby-chat{min-height:280px}}
@media(max-width:600px){.bpwe-lobby-seat-grid{grid-template-columns:1fr}.bpwe-lobby-room{padding:10px}.bpwe-lobby-codebar>div{width:100%}.bpwe-euchered-seat-message{font-size:17px;padding:5px 10px}.bpwe-euchered-seat-left{left:1%}.bpwe-euchered-seat-right{right:1%}}

/* 1.8.0 — editable lobby identities, team names, host force-play, paid-save gate */
.bpwe-lobby-naming{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.1)}
.bpwe-lobby-naming h3{font-size:16px;margin-bottom:10px}
.bpwe-lobby-naming form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:end}
.bpwe-lobby-naming label{display:grid;gap:5px;color:#d9d7ca;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.bpwe-lobby-naming input{width:100%;min-width:0;border:1px solid rgba(255,255,255,.14);border-radius:9px;padding:9px 10px;background:#fff;color:#151515;font-size:13px;font-weight:700;text-transform:none;letter-spacing:normal}
.bpwe-lobby-naming button{min-height:38px;border:0;border-radius:9px;padding:9px 12px;background:#d7ae55;color:#1c1608;font-weight:900}
.bpwe-lobby-naming small{grid-column:1/-1;color:#8ea097;font-size:9px;line-height:1.4}
.bpwe-force-play{background:#6d4d17!important;color:#fff4c8!important;border:1px solid rgba(255,211,105,.45)!important}
.bpwe-force-play:disabled,.bpwe-save-locked:disabled{cursor:not-allowed;opacity:.58}
.bpwe-save-locked{background:#26332f!important;color:#b9c0bd!important;border:1px solid rgba(255,255,255,.12)!important}
@media(max-width:700px){.bpwe-lobby-naming form{grid-template-columns:1fr}}


/* 1.9.0 — compact desktop header/actions, transient next-hand control, unanimous host-AFK safeguard */
.bpwe-shell>.bpwe-game-actions{border-bottom:1px solid rgba(215,174,85,.14);background:#05130f}
.bpwe-shell>.bpwe-game-header{border-bottom:1px solid var(--line)}
.bpwe-table-bid-controls .bpwe-next-hand-compact{width:auto;flex:0 0 auto;padding:0;border:0;background:transparent;box-shadow:none}
.bpwe-table-bid-controls .bpwe-next-hand-compact button{padding:13px 18px;font-size:14px;box-shadow:0 9px 22px rgba(0,0,0,.28)}
.bpwe-host-afk-vote{position:absolute;z-index:23;left:18px;bottom:18px;display:grid;gap:5px;max-width:285px;padding:9px 10px;border:1px solid rgba(255,194,83,.38);border-radius:12px;background:rgba(38,22,6,.94);box-shadow:0 10px 28px rgba(0,0,0,.34)}
.bpwe-host-afk-vote button{border:1px solid rgba(255,211,105,.55);border-radius:9px;padding:10px 12px;background:#8b5b13;color:#fff4c8;font-weight:900;text-align:left}
.bpwe-host-afk-vote button:disabled{cursor:default;opacity:.72;background:#53431f}
.bpwe-host-afk-vote span{color:#e3cf9d;font-size:9px;line-height:1.35}
.bpwe-settings-checkbox{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:7px!important;text-transform:none!important;letter-spacing:normal!important;font-size:10px!important;line-height:1.35}
.bpwe-host-settings .bpwe-settings-checkbox input{width:auto;flex:0 0 auto;margin-top:2px}
@media(max-width:850px){.bpwe-host-afk-vote{left:10px;bottom:10px;max-width:230px}.bpwe-table-bid-controls .bpwe-next-hand-compact{display:none}}


/* 1.10.0 — home-screen game-name fields live inside Create/Join panels */
.bpwe-home-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.bpwe-home-panel-heading h3{margin:0;flex:0 0 auto}
.bpwe-home-name-field{display:flex;align-items:center;gap:9px;min-width:0}
.bpwe-home-name-field span{color:#d7ae55;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.bpwe-home-name-field input{width:210px;max-width:100%;min-width:0;border:1px solid rgba(255,255,255,.16);border-radius:9px;padding:9px 11px;background:#fff;color:#151515;font-size:13px;font-weight:700;text-transform:none;letter-spacing:normal}
.bpwe-home-name-field-join{display:grid;gap:6px;margin:0 0 12px}
.bpwe-home-name-field-join input{width:100%}
.bpwe-home-grid>.bpwe-panel>h3 + .bpwe-home-name-field-join{margin-top:2px}
@media(max-width:850px){
  .bpwe-home-panel-heading{align-items:flex-start;flex-direction:column}
  .bpwe-home-name-field{width:100%;align-items:flex-start;flex-direction:column}
  .bpwe-home-name-field input{width:100%}
}

/* 1.11.0 — optional peer-to-peer camera/microphone module. */
.bpwe-media-tile{position:relative;z-index:18;width:152px;max-width:100%;color:#f7f1df;font-size:10px;pointer-events:auto}
.bpwe-seat-has-media>.bpwe-player-tag{display:none}
.bpwe-seat-has-media .bpwe-media-tile{position:relative;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;margin:0 auto 2px;z-index:9}
.bpwe-seat-bottom.bpwe-seat-has-media .bpwe-media-tile{width:150px}
.bpwe-seat-top.bpwe-seat-has-media .bpwe-media-tile{width:152px}
.bpwe-seat-left.bpwe-seat-has-media .bpwe-media-tile,.bpwe-seat-right.bpwe-seat-has-media .bpwe-media-tile{width:142px}
.bpwe-media-video-wrap{position:relative;aspect-ratio:4/3;overflow:hidden;border:1px solid rgba(215,174,85,.55);border-radius:11px;background:linear-gradient(145deg,rgba(4,18,15,.96),rgba(11,37,31,.96));box-shadow:0 10px 24px rgba(0,0,0,.34)}
.bpwe-media-video-wrap video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#04100e}
.bpwe-media-placeholder{position:absolute;inset:0;display:grid;place-items:center;padding:9px;color:#97aaa1;font-size:9px;line-height:1.25;text-align:center;background:radial-gradient(circle at 50% 30%,rgba(215,174,85,.1),transparent 55%)}
.bpwe-media-name{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-end;gap:5px;min-width:0;padding:6px;background:linear-gradient(transparent,rgba(0,0,0,.86));text-shadow:0 1px 3px #000}
.bpwe-media-ident{min-width:0;display:grid;gap:1px}
.bpwe-media-name strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.bpwe-media-name small{display:block;color:#ddd4b9;font-size:8px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bpwe-media-badges{margin-left:auto;display:flex;gap:4px;align-items:center}
.bpwe-media-badge,.bpwe-media-name span{padding:2px 4px;border-radius:999px;background:rgba(68,37,10,.9);color:#ffe4ab;font-size:7px;white-space:nowrap}
.bpwe-media-name span{background:rgba(111,49,20,.88)}
.bpwe-seat-dealer.bpwe-seat-has-media .bpwe-media-video-wrap{border-color:#f0c65f;box-shadow:0 0 0 2px rgba(240,198,95,.22),0 0 22px rgba(240,198,95,.16),0 7px 15px rgba(0,0,0,.25)}
.bpwe-seat-trick-winner.bpwe-seat-has-media .bpwe-media-video-wrap,.bpwe-seat-hand-winner.bpwe-seat-has-media .bpwe-media-video-wrap{border-color:#ffe07b!important;box-shadow:0 0 0 4px rgba(255,224,123,.22),0 0 38px rgba(255,201,76,.48),0 8px 18px rgba(0,0,0,.34)!important}
.bpwe-seat-hand-winner.bpwe-seat-has-media .bpwe-media-video-wrap{animation:bpweHandWinnerPulse .9s ease-in-out infinite alternate!important}
.bpwe-media-local-controls,.bpwe-media-host-controls{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px;justify-content:center}
.bpwe-media-local-controls{position:static;width:auto}
.bpwe-media-local-controls button,.bpwe-media-host-controls button{border:1px solid rgba(255,255,255,.15);border-radius:7px;padding:5px 7px;background:rgba(5,24,20,.96);color:#e9e6da;font-size:8px;font-weight:800;line-height:1.1;box-shadow:0 4px 10px rgba(0,0,0,.2)}
.bpwe-media-local-controls button:hover,.bpwe-media-host-controls button:hover{border-color:#d7ae55;background:#12352c}.bpwe-media-local-controls button:disabled{cursor:not-allowed;opacity:.62}
.bpwe-media-host-controls button{background:rgba(68,37,10,.95);color:#ffe4ab;border-color:rgba(234,180,73,.35)}
.bpwe-media-sound-control{display:flex;justify-content:center;margin-top:4px}.bpwe-media-sound-control button{border:1px solid rgba(245,211,111,.55);border-radius:999px;padding:4px 9px;background:#5b4214;color:#fff0b5;font-size:8px;font-weight:900;box-shadow:0 4px 10px rgba(0,0,0,.25)}.bpwe-media-sound-control button:hover{background:#765719}
.bpwe-media-device-popover{position:absolute;right:calc(100% + 8px);bottom:0;z-index:30;width:270px;display:grid;gap:8px;padding:11px;border:1px solid rgba(215,174,85,.45);border-radius:11px;background:rgba(4,17,14,.98);box-shadow:0 14px 34px rgba(0,0,0,.48);color:#ece8dc}
.bpwe-media-device-popover>strong{font-size:11px;color:#f5d36f}.bpwe-media-device-popover label{display:grid;gap:4px;color:#a9bab1;font-size:8px;text-transform:uppercase;letter-spacing:.06em}.bpwe-media-device-popover select{width:100%;min-width:0;border:1px solid rgba(255,255,255,.15);border-radius:7px;padding:7px;background:#fff;color:#151515;font-size:10px;text-transform:none;letter-spacing:normal}.bpwe-media-device-popover small{color:#84988e;font-size:8px;line-height:1.35}
.bpwe-media-note{position:absolute;z-index:18;left:18px;top:14px;max-width:250px;padding:8px 10px;border:1px solid rgba(215,174,85,.3);border-radius:10px;background:rgba(4,18,15,.92);color:#dbcfae;font-size:9px;line-height:1.35;box-shadow:0 7px 18px rgba(0,0,0,.25)}
@media(max-width:1050px){.bpwe-seat-top.bpwe-seat-has-media .bpwe-media-tile{width:146px}.bpwe-seat-left.bpwe-seat-has-media .bpwe-media-tile,.bpwe-seat-right.bpwe-seat-has-media .bpwe-media-tile{width:136px}}
@media(max-width:850px){.bpwe-media-tile{width:118px}.bpwe-seat-top.bpwe-seat-has-media .bpwe-media-tile{width:122px}.bpwe-seat-bottom.bpwe-seat-has-media .bpwe-media-tile{width:118px}.bpwe-seat-left.bpwe-seat-has-media .bpwe-media-tile,.bpwe-seat-right.bpwe-seat-has-media .bpwe-media-tile{width:116px}.bpwe-media-device-popover{right:0;bottom:calc(100% + 8px);width:240px}}
@media(max-width:600px){.bpwe-media-tile{width:94px}.bpwe-seat-top.bpwe-seat-has-media .bpwe-media-tile{width:98px}.bpwe-seat-left.bpwe-seat-has-media .bpwe-media-tile,.bpwe-seat-right.bpwe-seat-has-media .bpwe-media-tile{width:90px}.bpwe-media-name{padding:3px 4px}.bpwe-media-name strong{font-size:7px}.bpwe-media-name small,.bpwe-media-name span,.bpwe-media-badges{display:none}.bpwe-media-placeholder{padding:5px;font-size:7px}.bpwe-media-host-controls button,.bpwe-media-local-controls button{padding:4px 5px;font-size:7px}.bpwe-media-device-popover{width:220px}.bpwe-media-note{left:7px;top:7px;max-width:190px;font-size:8px}}

/* 1.11.3 — compact local preview and single-row controls. */
.bpwe-seat-bottom.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local,
.bpwe-seat-top.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local,
.bpwe-seat-left.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local,
.bpwe-seat-right.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local{width:76px}
.bpwe-media-local .bpwe-media-name{padding:3px 4px}
.bpwe-media-local .bpwe-media-name strong{font-size:7px}
.bpwe-media-local .bpwe-media-name small{font-size:6px}
.bpwe-media-local .bpwe-media-badges{position:absolute;right:3px;top:3px}
.bpwe-media-local .bpwe-media-badge{font-size:6px;padding:1px 3px}
.bpwe-media-local-controls{display:flex;flex-wrap:nowrap;gap:3px;width:max-content;max-width:none;position:relative;left:50%;transform:translateX(-50%);margin-top:3px;justify-content:center}
.bpwe-media-local-controls button{white-space:nowrap;padding:3px 5px;border-radius:6px;font-size:7px;line-height:1}
@media(max-width:850px){
  .bpwe-seat-bottom.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local,
  .bpwe-seat-top.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local,
  .bpwe-seat-left.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local,
  .bpwe-seat-right.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local{width:66px}
  .bpwe-media-local-controls button{padding:3px 4px;font-size:6.5px}
}
@media(max-width:600px){
  .bpwe-seat-bottom.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local,
  .bpwe-seat-top.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local,
  .bpwe-seat-left.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local,
  .bpwe-seat-right.bpwe-seat-has-media .bpwe-media-tile.bpwe-media-local{width:58px}
  .bpwe-media-local-controls{gap:2px}
  .bpwe-media-local-controls button{padding:2px 3px;font-size:6px}
}

/* 1.12.0 — compact table chat, split-opponent seat controls, and outcome-targeted winner labels. */
.bpwe-hand-winner-seat-message{position:absolute;z-index:8;padding:8px 18px;border:2px solid rgba(255,226,126,.9);border-radius:999px;background:linear-gradient(180deg,rgba(99,66,8,.98),rgba(43,29,4,.98));box-shadow:0 12px 30px rgba(0,0,0,.46),0 0 30px rgba(245,211,111,.28);color:#fff0a8;font:900 clamp(20px,2.4vw,34px)/1 Georgia,serif;letter-spacing:.03em;text-shadow:0 3px 12px rgba(0,0,0,.7);white-space:nowrap}
.bpwe-hand-winner-seat-top{left:50%;top:5%;transform:translateX(-50%)}
.bpwe-hand-winner-seat-bottom{left:50%;bottom:13%;transform:translateX(-50%)}
.bpwe-hand-winner-seat-left{left:2.5%;top:42%;transform:translateY(-50%)}
.bpwe-hand-winner-seat-right{right:2.5%;top:42%;transform:translateY(-50%)}
.bpwe-table-chat{margin:0 20px 20px;border:1px solid rgba(255,255,255,.11);border-radius:13px;background:#091d18;overflow:hidden}
.bpwe-table-chat summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:9px 12px;color:#eadcae;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;list-style:none}
.bpwe-table-chat summary::-webkit-details-marker{display:none}.bpwe-table-chat summary:before{content:'▸';color:#d7ae55;font-size:12px;transition:transform .15s ease}.bpwe-table-chat[open] summary:before{transform:rotate(90deg)}
.bpwe-table-chat summary small{margin-left:auto;color:#82968c;font-size:9px;font-weight:600;text-transform:none;letter-spacing:0}
.bpwe-table-chat-body{border-top:1px solid rgba(255,255,255,.08);padding:9px 10px 10px}
.bpwe-table-chat ul{margin:0 0 8px;padding:0;list-style:none;max-height:140px;overflow:auto;display:grid;gap:5px}
.bpwe-table-chat li{padding:5px 7px;border-radius:8px;background:rgba(255,255,255,.035);font-size:10px;color:#dce3df}.bpwe-table-chat li.is-you{background:rgba(215,174,85,.09)}
.bpwe-table-chat li>div{display:flex;gap:7px;align-items:baseline}.bpwe-table-chat li strong{color:#fff}.bpwe-table-chat li span{color:#82968c;font-size:8px}.bpwe-table-chat li p{margin:2px 0 0;line-height:1.3;color:#c4cfca}
.bpwe-table-chat form{display:flex;gap:7px}.bpwe-table-chat input{flex:1;min-width:0;border:1px solid rgba(255,255,255,.15);border-radius:8px;padding:7px 9px;background:#fff;color:#161616;font-size:10px}.bpwe-table-chat button{border:0;border-radius:8px;padding:7px 12px;background:#d7ae55;color:#1d180c;font-size:9px;font-weight:900}
.bpwe-lobby-seat-choice{margin-top:12px;padding:11px;border:1px solid rgba(215,174,85,.25);border-radius:11px;background:rgba(215,174,85,.055)}.bpwe-lobby-seat-choice>strong,.bpwe-lobby-seat-choice>small{display:block}.bpwe-lobby-seat-choice>strong{font-size:11px;color:#f0dfaa}.bpwe-lobby-seat-choice>small{margin-top:7px;color:#90a298;font-size:9px;line-height:1.35}.bpwe-lobby-seat-choice>div{display:flex;gap:7px;margin-top:8px}.bpwe-lobby-seat-choice button{flex:1;border:1px solid rgba(255,255,255,.15);border-radius:8px;padding:7px 9px;background:#12352c;color:#e9eee9;font-size:9px;font-weight:800}.bpwe-lobby-seat-choice button.is-selected{border-color:#d7ae55;background:#6c521a;color:#fff1b8;box-shadow:0 0 0 2px rgba(215,174,85,.12)}
.bpwe-lobby-codebar-solo{justify-content:center}.bpwe-lobby-codebar-solo>div strong{font-size:16px;letter-spacing:.04em}
.bpwe-between-game-seat{display:grid;gap:3px;min-width:190px}.bpwe-between-game-seat span{font-size:9px!important;color:#aeb8b2!important;text-transform:uppercase;letter-spacing:.06em}.bpwe-between-game-seat select{width:100%;border:1px solid rgba(255,255,255,.15);border-radius:8px;padding:7px;background:#0e2b24;color:#fff;font-size:10px}
@media(max-width:850px){.bpwe-table-chat{margin:0 10px 10px}.bpwe-game-complete-controls{flex-wrap:wrap}.bpwe-between-game-seat{min-width:160px}.bpwe-hand-winner-seat-left{left:1%}.bpwe-hand-winner-seat-right{right:1%}}
@media(max-width:600px){.bpwe-hand-winner-seat-message{padding:6px 10px;font-size:18px}.bpwe-hand-winner-seat-top{top:8%}.bpwe-hand-winner-seat-bottom{bottom:16%}.bpwe-hand-winner-seat-left,.bpwe-hand-winner-seat-right{top:38%}.bpwe-table-chat summary small{display:none}.bpwe-table-chat ul{max-height:120px}}

/* 1.13.0 — saved-hand reconnect lobby. */
.bpwe-resume-lobby-shell .bpwe-lobby-header{border-bottom-color:rgba(109,174,209,.3)}
.bpwe-resume-codebar{background:linear-gradient(90deg,rgba(21,58,68,.96),rgba(13,42,38,.96))}
.bpwe-resume-frozen{margin:14px 20px 0;padding:12px 14px;border:1px solid rgba(109,174,209,.3);border-radius:12px;background:rgba(29,76,86,.18);display:grid;gap:4px;color:#dbe9e8}
.bpwe-resume-frozen strong{color:#9ed8e6;font-size:11px;text-transform:uppercase;letter-spacing:.07em}.bpwe-resume-frozen span{font-size:13px;font-weight:800}.bpwe-resume-frozen small{color:#9bb1ac;font-size:9px;line-height:1.4}
.bpwe-lobby-seat.is-reconnected{border-color:rgba(91,194,129,.65);box-shadow:inset 0 0 0 1px rgba(91,194,129,.13)}
.bpwe-lobby-seat.is-reconnected small{color:#8de0a9;font-weight:800}.bpwe-lobby-seat.is-waiting{border-color:rgba(228,167,74,.55);background:rgba(115,73,15,.12)}.bpwe-lobby-seat.is-waiting small{color:#f0c677;font-weight:800}.bpwe-lobby-seat.is-ai-ready small{color:#9bb1ac}
.bpwe-resume-lobby-shell .bpwe-lobby-start:disabled{cursor:not-allowed;opacity:.55;filter:saturate(.45)}
.bpwe-toast-error[role="alert"]{outline:2px solid rgba(255,255,255,.88);outline-offset:2px}
@media(max-width:850px){.bpwe-resume-frozen{margin:10px 10px 0}}

/* 1.14.0 — modular advertising placements and timed fade presentation. */
.bpwe-ad-slot{--bpwe-ad-fade-in:1s;--bpwe-ad-fade-out:1s;opacity:0;pointer-events:none;transition-property:opacity;transition-duration:var(--bpwe-ad-fade-out);transition-timing-function:ease;isolation:isolate}
.bpwe-ad-slot.is-visible{opacity:1;pointer-events:auto;transition-duration:var(--bpwe-ad-fade-in)}
.bpwe-ad-slot.is-fading-out{opacity:0;pointer-events:none;transition-duration:var(--bpwe-ad-fade-out)}
.bpwe-ad-slot a,.bpwe-ad-slot .bpwe-ad-image-only{display:block;width:100%;height:100%;border:0;text-decoration:none;background:transparent}
.bpwe-ad-slot img{display:block;width:100%;height:100%;object-fit:contain;border:0;filter:none}
.bpwe-ad-label{position:absolute;z-index:2;right:5px;top:5px;padding:2px 5px;border-radius:999px;background:rgba(0,0,0,.58);color:rgba(255,255,255,.88);font-size:8px;font-weight:800;line-height:1.1;text-transform:uppercase;letter-spacing:.08em;pointer-events:none}
.bpwe-ad-upper-left,.bpwe-ad-lower-left,.bpwe-ad-center-points{position:absolute}
.bpwe-ad-upper-left{z-index:3;left:1.6%;top:2%;width:30.5%;height:31%}
.bpwe-ad-lower-left{z-index:3;left:1.5%;bottom:3.3%;width:26.8%;height:28%}
.bpwe-ad-center-points{z-index:17;left:50%;top:50%;width:34%;height:38%;transform:translate(-50%,-50%)}
.bpwe-ad-center-points img{object-fit:contain}
.bpwe-ad-bottom-banner{position:relative;width:calc(100% - 20px);height:clamp(44px,6vw,78px);margin:10px auto 0;z-index:6;overflow:hidden;border-radius:10px;background:rgba(255,255,255,.018)}
.bpwe-ad-bottom-banner a,.bpwe-ad-bottom-banner .bpwe-ad-image-only{border-radius:10px;overflow:hidden}
.bpwe-ad-bottom-banner img{object-fit:cover}
.bpwe-ad-bottom-banner .bpwe-ad-label{top:3px;right:3px}
@media(max-width:850px){
  .bpwe-ad-upper-left,.bpwe-ad-lower-left{display:none!important}
  .bpwe-ad-center-points{width:min(82%,430px);height:min(44vw,300px);max-height:42%;z-index:18}
  .bpwe-ad-bottom-banner{width:calc(100% - 20px);height:clamp(42px,12vw,70px);margin-top:8px}
}
@media(max-width:600px){
  .bpwe-ad-center-points{width:84%;height:38%;max-height:245px}
  .bpwe-ad-label{font-size:7px;padding:2px 4px}
}

/* 1.14.1 — solo lobby uses a single-column layout when chat is disabled. */


/* 1.14.2 — compact advertising placements inside the lower information panels. */
.bpwe-ad-table-rules,.bpwe-ad-host-settings{position:relative;width:100%;aspect-ratio:3/1;max-height:112px;min-height:62px;overflow:hidden;border:1px solid rgba(215,174,85,.18);border-radius:10px;background:rgba(255,255,255,.018)}
.bpwe-ad-table-rules{margin-top:14px}
.bpwe-ad-host-settings{margin-top:0}
.bpwe-ad-table-rules img,.bpwe-ad-host-settings img{object-fit:contain}
.bpwe-ad-table-rules .bpwe-ad-label,.bpwe-ad-host-settings .bpwe-ad-label{top:4px;right:4px}
@media(max-width:980px){.bpwe-ad-host-settings{max-width:420px}}
@media(max-width:600px){.bpwe-ad-host-settings{max-width:none;max-height:118px}}


/* 1.14.3 — compact home-screen ad directly beneath the table-code Join field. */
.bpwe-join-ad-anchor:empty{display:none}
.bpwe-ad-join-form{position:relative;width:100%;aspect-ratio:3/1;max-height:112px;min-height:72px;margin-top:16px;overflow:hidden;border:1px solid rgba(215,174,85,.18);border-radius:10px;background:rgba(255,255,255,.018)}
.bpwe-ad-join-form img{object-fit:contain}
.bpwe-ad-join-form .bpwe-ad-label{top:4px;right:4px}
@media(max-width:850px){.bpwe-ad-join-form{max-width:420px}}
@media(max-width:600px){.bpwe-ad-join-form{max-width:none;min-height:64px}}

/* 1.15.0 — web-client stabilization: prominent hand status, smoother card travel, save-flow notice. */
.bpwe-toast-notice{background:#123d31;color:#f4f0df;border:1px solid rgba(215,174,85,.58);box-shadow:0 12px 30px rgba(0,0,0,.32)}
.bpwe-table-status{min-width:224px;padding:12px 14px;border-color:rgba(215,174,85,.58);border-width:1.5px;border-radius:13px;background:rgba(2,16,13,.95);box-shadow:0 12px 28px rgba(0,0,0,.34),0 0 0 1px rgba(215,174,85,.05);text-align:left}
.bpwe-table-status-title{display:block;margin:0 0 7px;padding:0 0 6px;border-bottom:1px solid rgba(215,174,85,.2);color:#d7ae55;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.13em}
.bpwe-table-status span{gap:18px;font-size:11px;line-height:1.55;font-weight:800}
.bpwe-table-status strong{font-size:14px;font-weight:900}
.bpwe-table-status span+span{margin-top:3px;padding-top:4px}
.bpwe-flight-target{visibility:hidden!important;pointer-events:none!important}
.bpwe-flying-card.bpwe-flight-measured{transform:translate(-50%,-50%) scale(var(--bpwe-fly-start-scale,1));opacity:1;filter:drop-shadow(0 12px 14px rgba(0,0,0,.38));transition:transform var(--bpwe-fly-ms,.48s) cubic-bezier(.18,.78,.2,1),filter var(--bpwe-fly-ms,.48s) ease;will-change:transform,filter}
.bpwe-flying-card.bpwe-flight-measured.bpwe-fly-go{transform:translate(calc(-50% + var(--bpwe-fly-x,0px)),calc(-50% + var(--bpwe-fly-y,0px))) rotate(var(--bpwe-fly-rotate,0deg)) scale(1);opacity:1;filter:drop-shadow(0 7px 9px rgba(0,0,0,.28))}
@media(max-width:850px){.bpwe-table-status{min-width:190px;padding:10px 11px}.bpwe-table-status-title{font-size:9px;margin-bottom:5px;padding-bottom:5px}.bpwe-table-status span{font-size:10px;gap:12px}.bpwe-table-status strong{font-size:12px}}
@media(max-width:600px){.bpwe-table-status{min-width:164px;padding:8px 9px}.bpwe-table-status-title{font-size:8px}.bpwe-table-status span{font-size:9px;gap:8px;line-height:1.45}.bpwe-table-status strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.bpwe-flying-card.bpwe-flight-measured{transition-duration:120ms!important}}


/* 1.15.1 — restore the desktop popup as a draggable/resizable floating game window. */
.bpwe-modal-frame{position:fixed;z-index:2147483001;display:grid;grid-template-rows:auto minmax(0,1fr);min-width:720px;min-height:500px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:hidden;resize:both;border:1px solid rgba(215,174,85,.62);border-radius:18px;background:#071b18;box-shadow:0 30px 100px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.04);isolation:isolate}
.bpwe-modal-frame.is-dragging{user-select:none}
.bpwe-modal-chrome{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 9px 7px 14px;border-bottom:1px solid rgba(215,174,85,.24);background:linear-gradient(180deg,#102d26,#071b18);cursor:move;touch-action:none;color:#f7f1df}
.bpwe-modal-chrome>div{min-width:0;display:flex;align-items:baseline;gap:10px}.bpwe-modal-chrome strong{font-family:Georgia,serif;font-size:15px;color:#fff}.bpwe-modal-chrome span{font-size:9px;color:#aebbb5;white-space:nowrap}
.bpwe-modal-chrome-close{width:30px;height:28px;display:grid;place-items:center;flex:0 0 auto;padding:0!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:8px!important;background:rgba(255,255,255,.05)!important;color:#fff!important;font-size:21px!important;line-height:1!important;cursor:pointer!important}
.bpwe-modal-frame>.bpwe-app.bpwe-modal-open{position:relative!important;z-index:auto!important;inset:auto!important;width:100%!important;max-width:none!important;height:100%!important;margin:0!important;overflow:auto!important;border-radius:0!important;box-shadow:none!important;isolation:auto}
.bpwe-modal-frame>.bpwe-app.bpwe-modal-open .bpwe-shell{min-height:100%;border-radius:0 0 17px 17px}.bpwe-modal-frame>.bpwe-app.bpwe-modal-open .bpwe-table{height:min(760px,64vh)}
.bpwe-modal-frame:after{content:"";position:absolute;z-index:10;right:3px;bottom:3px;width:15px;height:15px;pointer-events:none;background:linear-gradient(135deg,transparent 0 45%,rgba(215,174,85,.85) 46% 55%,transparent 56% 66%,rgba(215,174,85,.85) 67% 76%,transparent 77%)}
.bpwe-auction-deal strong{margin:2px 0 4px;font-family:Georgia,serif;font-size:clamp(24px,2.7vw,31px);font-weight:800;line-height:1;color:#fff;letter-spacing:-.01em}
@media(max-width:900px){.bpwe-modal-frame{min-width:680px}.bpwe-modal-chrome span{display:none}}
@media(max-width:600px){.bpwe-auction-deal strong{font-size:20px}}


/* 1.15.2 — compact game chrome: actions share the score row; popup table uses the reclaimed vertical space. */
.bpwe-game-header-compact{grid-template-columns:minmax(210px,1fr) auto auto minmax(150px,1fr);gap:12px;padding-top:12px;padding-bottom:12px}
.bpwe-header-actions{display:flex;align-items:center;justify-content:flex-start;gap:7px;min-width:0;width:260px;max-width:100%;flex-wrap:wrap}
.bpwe-header-actions button{border:1px solid rgba(215,174,85,.38);border-radius:9px;padding:7px 10px;background:#102c25;color:#efe9d8;font-size:10px;font-weight:800;line-height:1.15;white-space:nowrap}
.bpwe-header-actions button:hover{border-color:#d7ae55;background:#173c31}
.bpwe-header-actions .bpwe-action-primary{background:#d7ae55;color:#191407}
.bpwe-header-actions .bpwe-force-play{background:#8a641c;color:#fff3ca;border-color:#b78b2d}
.bpwe-header-actions .bpwe-save-locked{opacity:.62;cursor:not-allowed}
.bpwe-modal-frame>.bpwe-app.bpwe-modal-open .bpwe-game-header-compact{padding-top:8px;padding-bottom:8px}
.bpwe-modal-frame>.bpwe-app.bpwe-modal-open .bpwe-seat-top{top:4px;gap:4px}
.bpwe-modal-frame>.bpwe-app.bpwe-modal-open .bpwe-seat-top .bpwe-hidden-hand{transform:translateY(-9px)}
.bpwe-modal-frame>.bpwe-app.bpwe-modal-open .bpwe-table{height:min(760px,calc(100vh - 190px))}
@media(max-width:1100px){.bpwe-game-header-compact{grid-template-columns:minmax(185px,1fr) auto auto}.bpwe-game-header-compact .bpwe-game-meta{grid-column:1/-1;justify-self:stretch;display:flex;justify-content:space-between;text-align:left}.bpwe-header-actions{justify-content:flex-end}}
@media(max-width:850px){.bpwe-game-header-compact{grid-template-columns:1fr auto}.bpwe-game-header-compact .bpwe-scoreboard{grid-column:1/-1}.bpwe-header-actions{grid-column:1/-1;width:auto;justify-content:flex-start}.bpwe-game-header-compact .bpwe-game-meta{grid-column:1/-1}}
@media(max-width:600px){.bpwe-game-header-compact{grid-template-columns:1fr}.bpwe-game-header-compact .bpwe-scoreboard,.bpwe-header-actions,.bpwe-game-header-compact .bpwe-game-meta{grid-column:auto}.bpwe-header-actions{justify-content:center;flex-wrap:wrap}}

/* 1.15.3 — center the score; move quiet turn notes beneath Current Hand; align actions at right. */
.bpwe-game-header-compact{grid-template-columns:minmax(210px,1fr) auto minmax(210px,1fr);gap:14px}
.bpwe-game-header-compact>.bpwe-scoreboard{grid-column:2;justify-self:center}
.bpwe-header-actions{grid-column:3;justify-self:end;width:auto;max-width:390px;justify-content:flex-end}
.bpwe-table-status-stack{position:absolute;z-index:16;top:14px;right:18px;min-width:224px;display:grid;gap:6px;pointer-events:none}
.bpwe-table-status-stack>.bpwe-table-status{position:static;top:auto;right:auto;width:100%;min-width:0}
.bpwe-table-meta{display:grid;gap:1px;padding:0 4px;text-align:right;color:var(--muted);font-size:10px;line-height:1.35;font-weight:400;letter-spacing:0;text-transform:none;text-shadow:0 1px 2px rgba(0,0,0,.65)}
.bpwe-table-meta span{display:block}.bpwe-table-meta .bpwe-clock-slow{font-weight:800}
@media(max-width:1100px){.bpwe-game-header-compact{grid-template-columns:minmax(175px,1fr) auto minmax(175px,1fr)}.bpwe-header-actions{max-width:280px}.bpwe-table-status-stack{top:10px;right:10px;min-width:190px}}
@media(max-width:850px){.bpwe-game-header-compact{grid-template-columns:1fr 1fr}.bpwe-game-header-compact>.bpwe-scoreboard{grid-column:1/-1;grid-row:2}.bpwe-header-actions{grid-column:2;grid-row:1;justify-self:end;justify-content:flex-end;max-width:none}.bpwe-table-status-stack{top:10px;right:10px;min-width:190px}.bpwe-table-meta{font-size:9px}}
@media(max-width:600px){.bpwe-game-header-compact{grid-template-columns:1fr}.bpwe-game-header-compact>.bpwe-scoreboard{grid-column:1;grid-row:auto}.bpwe-header-actions{grid-column:1;grid-row:auto;justify-self:center;justify-content:center}.bpwe-table-status-stack{top:7px;right:7px;min-width:164px}.bpwe-table-meta{font-size:8px;padding:0 2px}}


/* 1.15.4 — centered dealer badge and low-latency gameplay request state. */
.bpwe-dealer-ribbon{position:relative;justify-content:center;text-align:center}
.bpwe-dealer-ribbon>span{position:absolute;left:10px;top:50%;transform:translateY(-50%)}
.bpwe-dealer-ribbon>strong{display:block;width:100%;text-align:center;letter-spacing:.08em}
.bpwe-app.bpwe-action-pending [data-action],
.bpwe-app.bpwe-action-pending [data-own-card],
.bpwe-app.bpwe-action-pending [data-call-suit],
.bpwe-app.bpwe-action-pending #bpwe-save-game,
.bpwe-app.bpwe-action-pending #bpwe-modal-toggle{pointer-events:none}

/* 1.15.5 — smaller remote hands and authentic two-five score-card presentation. */
/* Only the cards still held by other seats shrink; the local player's hand and played/trump cards retain their established sizes. */
.bpwe-hidden-hand .bpwe-card{width:52px;height:75px;margin-left:-24px;border-radius:6px;box-shadow:0 5px 12px rgba(0,0,0,.27)}
.bpwe-hidden-hand .bpwe-card:first-child{margin-left:0}
.bpwe-seat-left .bpwe-hidden-hand,.bpwe-seat-right .bpwe-hidden-hand{transform:none}

/* Through five points the upper face-down card covers most of the lower face-up five and slides rightward as points accrue. */
.bpwe-count-five-back{background-color:#f3ead4;background-position:center;background-repeat:no-repeat;background-size:cover;border-color:#d8c89e;color:transparent}
.bpwe-counting-first-five .bpwe-count-five-1{left:0;top:0;z-index:1;transform:rotate(-3deg)}
.bpwe-counting-first-five .bpwe-count-five-2{top:1px;z-index:3;transform:rotate(4deg);box-shadow:0 4px 10px rgba(0,0,0,.34);filter:none}
.bpwe-counting-first-five.bpwe-counting-visible-0 .bpwe-count-five-2{left:12px}
.bpwe-counting-first-five.bpwe-counting-visible-1 .bpwe-count-five-2{left:16px}
.bpwe-counting-first-five.bpwe-counting-visible-2 .bpwe-count-five-2{left:20px}
.bpwe-counting-first-five.bpwe-counting-visible-3 .bpwe-count-five-2{left:24px}
.bpwe-counting-first-five.bpwe-counting-visible-4 .bpwe-count-five-2{left:28px}
.bpwe-counting-first-five.bpwe-counting-visible-5 .bpwe-count-five-2{left:32px}

/* At 6-10 the second five flips face-up and becomes the covering/top card. */
.bpwe-counting-over-five .bpwe-count-five-1{left:0;top:0;z-index:1;transform:rotate(-3deg)}
.bpwe-counting-over-five .bpwe-count-five-2{left:29px;top:1px;z-index:3;transform:rotate(4deg);box-shadow:0 4px 10px rgba(0,0,0,.34)}
/* The exposed edge of the lower five carries only the additional 1-5 visible pips. */
.bpwe-counting-over-five .bpwe-count-five-1 .bpwe-count-pip.p1{left:8px;top:12px}
.bpwe-counting-over-five .bpwe-count-five-1 .bpwe-count-pip.p2{left:8px;right:auto;top:21px}
.bpwe-counting-over-five .bpwe-count-five-1 .bpwe-count-pip.p3{left:8px;top:30px}
.bpwe-counting-over-five .bpwe-count-five-1 .bpwe-count-pip.p4{left:8px;bottom:auto;top:39px}
.bpwe-counting-over-five .bpwe-count-five-1 .bpwe-count-pip.p5{left:17px;right:auto;bottom:auto;top:26px}

@media(max-width:600px){
  .bpwe-hidden-hand .bpwe-card{width:37px;height:55px;margin-left:-17px;border-radius:5px}
  .bpwe-hidden-hand .bpwe-card:first-child{margin-left:0}
  .bpwe-counting-first-five.bpwe-counting-visible-0 .bpwe-count-five-2{left:11px}
  .bpwe-counting-first-five.bpwe-counting-visible-1 .bpwe-count-five-2{left:14px}
  .bpwe-counting-first-five.bpwe-counting-visible-2 .bpwe-count-five-2{left:18px}
  .bpwe-counting-first-five.bpwe-counting-visible-3 .bpwe-count-five-2{left:22px}
  .bpwe-counting-first-five.bpwe-counting-visible-4 .bpwe-count-five-2{left:26px}
  .bpwe-counting-first-five.bpwe-counting-visible-5 .bpwe-count-five-2{left:29px}
}

/* 1.15.6 — full-width bottom banner and more faithful below-six score-card overlap. */


/* 1.15.7 — dealer badge glyph fix and quieter empty trick center. */
.bpwe-dealer-ribbon{display:grid;grid-template-columns:10px auto 10px;align-items:center;column-gap:6px;justify-items:center;min-width:84px;padding:4px 10px}
.bpwe-dealer-ribbon>span{position:static;left:auto;top:auto;transform:none;grid-column:1;font-size:8px;line-height:1}
.bpwe-dealer-ribbon>strong{grid-column:2;display:block;width:auto;text-align:center;letter-spacing:.08em;line-height:1}
.bpwe-dealer-ribbon::after{content:"";grid-column:3;width:10px;height:1px;display:block}
.bpwe-trick-empty{display:none!important}
@media(max-width:600px){.bpwe-dealer-ribbon{grid-template-columns:9px auto 9px;column-gap:5px;min-width:76px;padding:3px 8px}.bpwe-dealer-ribbon>span{font-size:7px}}
