

/* ===== Bundled base styles: v35 hero/lobby, v36 board legacy, v38 complete game UI ===== */
/* Pixel Pot lobby preview – independent styles, themed by existing portal tokens. */
.pxpot-page{--pot-ink:var(--text-main,#243247);--pot-muted:var(--muted-text,#718096);--pot-line:var(--border-color,rgba(120,140,160,.2));--pot-card:var(--card-bg,rgba(255,255,255,.82));--pot-accent:#d78a46;max-width:1180px;margin:0 auto 26px;color:var(--pot-ink)}
.pxpot-page *{box-sizing:border-box}
.pxpot-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:22px;align-items:center;overflow:hidden;min-height:300px;padding:clamp(24px,4vw,46px);border:1px solid var(--pot-line);border-radius:24px;background:radial-gradient(circle at 80% 40%,rgba(215,138,70,.16),transparent 34%),linear-gradient(135deg,rgba(255,255,255,.92),rgba(242,246,250,.84));color:#233247;box-shadow:0 18px 50px rgba(19,40,62,.08)}
html[data-theme="dark"] .pxpot-hero{background:radial-gradient(circle at 80% 40%,rgba(215,138,70,.16),transparent 34%),linear-gradient(135deg,rgba(25,39,56,.97),rgba(15,27,42,.94));color:#eef4fb}
.pxpot-hero-copy{position:relative;z-index:2}.pxpot-eyebrow,.pxpot-section-kicker{display:flex;align-items:center;gap:8px;color:#9a6c3f;font-size:9px;font-weight:900;letter-spacing:.16em}.pxpot-eyebrow>span{width:7px;height:7px;border-radius:50%;background:#d78a46;box-shadow:0 0 0 4px rgba(215,138,70,.13)}.pxpot-eyebrow b{color:#b7a18a}.pxpot-preview-pill{display:inline-flex;align-items:center;gap:6px;margin-top:21px;padding:7px 10px;border:1px solid rgba(215,138,70,.3);border-radius:999px;background:rgba(215,138,70,.1);color:#a66d32;font-size:9px;font-weight:900;letter-spacing:.09em}.pxpot-preview-pill svg{width:13px;height:13px}.pxpot-hero h1{margin:12px 0 9px;font-size:clamp(38px,6vw,62px);font-weight:950;line-height:.98;letter-spacing:-.065em}.pxpot-hero h1 span{color:#d78a46}.pxpot-hero-copy>p{max-width:510px;margin:0;color:var(--pot-muted);font-size:13px;line-height:1.75}.pxpot-hero-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-top:22px}.pxpot-back-link{display:inline-flex;align-items:center;gap:7px;color:var(--pot-ink);font-size:11px;font-weight:850;text-decoration:none}.pxpot-back-link:hover{color:#d78a46}.pxpot-back-link svg{width:15px;height:15px}.pxpot-live-note{display:inline-flex;align-items:center;gap:6px;color:var(--pot-muted);font-size:10px;font-weight:700}.pxpot-live-note svg{width:14px;height:14px}
.pxpot-hero-art{position:relative;display:grid;place-items:center;min-height:230px}.pxpot-art-glow{position:absolute;width:270px;height:220px;border-radius:50%;background:radial-gradient(ellipse,rgba(215,138,70,.2),transparent 68%);filter:blur(7px)}.pxpot-art-bowl{position:absolute;z-index:2;display:grid;place-items:center;width:130px;height:92px;border:5px solid #e4b47c;border-top:0;border-radius:12px 12px 60px 60px;background:linear-gradient(145deg,#fff1d8,#d88c4f);box-shadow:0 18px 28px rgba(94,58,27,.2),inset 0 -10px 0 rgba(155,82,37,.12);transform:translateY(22px)}.pxpot-art-bowl:before{position:absolute;top:-9px;width:142px;height:19px;border:5px solid #f3d4a8;border-radius:50%;background:#fff5df;content:""}.pxpot-art-bowl svg{width:48px;height:48px;color:#995a2e;stroke-width:1.8}.pxpot-art-card{position:absolute;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:92px;height:122px;border:1px solid rgba(255,255,255,.9);border-radius:13px;background:linear-gradient(160deg,#fff,#f3f6ef);color:#3d6247;box-shadow:0 12px 24px rgba(36,54,68,.17)}.pxpot-art-card svg{width:34px;height:34px}.pxpot-art-card b{font-size:8px;letter-spacing:.13em}.pxpot-art-card span{position:absolute;top:8px;left:10px;font-size:8px;font-weight:900;opacity:.5}.pxpot-art-card-a{left:8%;top:38px;transform:rotate(-15deg)}.pxpot-art-card-b{right:8%;top:29px;transform:rotate(13deg);color:#46778d}.pxpot-art-card-c{left:26%;bottom:2px;transform:rotate(-5deg);color:#a1773b}.pxpot-art-spark{position:absolute;color:#d78a46;font-size:25px}.pxpot-spark-one{top:15px;left:46%}.pxpot-spark-two{right:7%;bottom:21px;font-size:19px}
.pxpot-preview-banner{display:flex;align-items:flex-start;gap:12px;margin:17px 0;padding:14px 17px;border:1px solid rgba(55,135,205,.2);border-radius:13px;background:rgba(55,135,205,.07);color:var(--pot-ink)}.pxpot-preview-banner>svg{width:19px;height:19px;flex:0 0 auto;color:#3987d8;margin-top:1px}.pxpot-preview-banner strong,.pxpot-preview-banner span{display:block}.pxpot-preview-banner strong{font-size:11px;font-weight:900}.pxpot-preview-banner span{margin-top:4px;color:var(--pot-muted);font-size:10px;line-height:1.55}
.pxpot-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:17px;align-items:start}.pxpot-table-panel,.pxpot-room-panel{border:1px solid var(--pot-line);border-radius:19px;background:var(--pot-card);box-shadow:0 12px 34px rgba(18,35,54,.05)}.pxpot-table-panel{padding:22px;min-width:0}.pxpot-panel-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:17px}.pxpot-panel-head h2,.pxpot-room-panel h2{margin:5px 0 0;color:var(--pot-ink);font-size:18px;font-weight:900;letter-spacing:-.035em}.pxpot-table-status{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border-radius:999px;background:rgba(215,138,70,.1);color:#a66d32;font-size:9px;font-weight:850}.pxpot-table-status i{width:6px;height:6px;border-radius:50%;background:#d78a46}
.pxpot-table{position:relative;display:grid;place-items:center;min-height:330px;overflow:hidden;border:9px solid #a56e42;border-radius:46%/38%;background:radial-gradient(ellipse at 50% 45%,#4f896e,#28634f 76%);box-shadow:inset 0 0 0 5px rgba(255,230,184,.35),inset 0 -20px 40px rgba(0,0,0,.22),0 13px 20px rgba(26,50,41,.17)}.pxpot-table:before{position:absolute;inset:11px;border:1px solid rgba(255,255,255,.16);border-radius:46%/38%;content:""}.pxpot-table-rim{position:absolute;inset:23px;border:1px dashed rgba(255,255,255,.12);border-radius:46%/38%;pointer-events:none}.pxpot-seat{position:absolute;z-index:3;display:flex;align-items:center;gap:8px;min-width:139px;padding:8px 10px;border:1px solid rgba(255,255,255,.72);border-radius:12px;background:rgba(255,255,255,.93);color:#243247;box-shadow:0 7px 16px rgba(12,31,24,.13)}.pxpot-seat>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px}.pxpot-seat b{font-size:9px;font-weight:900}.pxpot-seat small{color:#728091;font-size:8px;white-space:nowrap}.pxpot-seat em{display:grid;place-items:center;width:19px;height:19px;margin-left:auto;border-radius:6px;background:#edf1f5;color:#617084;font-size:8px;font-style:normal;font-weight:900}.pxpot-seat-top{top:12px;left:50%;transform:translateX(-50%)}.pxpot-seat-left{left:12px;top:50%;transform:translateY(-50%)}.pxpot-seat-right{right:12px;top:50%;transform:translateY(-50%)}.pxpot-seat-bottom{bottom:12px;left:50%;transform:translateX(-50%);border-color:rgba(170,220,255,.8)}.pxpot-avatar{display:grid;place-items:center;width:30px;height:30px;flex:0 0 auto;border-radius:9px}.pxpot-avatar svg{width:16px;height:16px}.pxpot-avatar-lilac{background:#eee9ff;color:#7865b2}.pxpot-avatar-green{background:#e5f5e9;color:#3e9060}.pxpot-avatar-orange{background:#fff0df;color:#b87531}.pxpot-avatar-blue{background:#e4f2ff;color:#347fb4}.pxpot-pot-center{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;margin-top:6px;color:#f8edda;text-align:center}.pxpot-pot-icon{display:grid;place-items:center;width:72px;height:59px;border:4px solid #f2d3a5;border-top:0;border-radius:8px 8px 38px 38px;background:linear-gradient(145deg,#fff1d8,#d98a4b);box-shadow:0 8px 16px rgba(0,0,0,.2),inset 0 -6px 0 rgba(134,69,31,.12)}.pxpot-pot-icon:before{width:78px;height:10px;margin-top:-67px;border:3px solid #f2d3a5;border-radius:50%;background:#fff5df;content:""}.pxpot-pot-icon svg{width:31px;height:31px;margin-top:-9px;color:#96582c}.pxpot-pot-center strong{margin-top:9px;font-size:9px;letter-spacing:.18em}.pxpot-pot-center small{font-size:6px;letter-spacing:.14em;opacity:.7}.pxpot-hand-preview{margin-top:19px}.pxpot-hand-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:11px}.pxpot-hand-title>div{display:flex;flex-direction:column;gap:4px}.pxpot-hand-title strong{font-size:12px}.pxpot-hand-title>small{color:var(--pot-muted);font-size:9px}.pxpot-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.pxpot-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:105px;padding:9px 4px;border:1px solid var(--pot-line);border-radius:11px;background:var(--pot-card);text-align:center;box-shadow:0 5px 13px rgba(20,35,50,.06)}.pxpot-card svg{width:25px;height:25px}.pxpot-card b{font-size:9px}.pxpot-card small{color:var(--pot-muted);font-size:7px}.pxpot-card-green{color:#3e9060;background:linear-gradient(160deg,#f4fff4,#eaf7eb)}.pxpot-card-red{color:#b45c57;background:linear-gradient(160deg,#fff8f5,#fbecea)}.pxpot-card-blue{color:#3d83a9;background:linear-gradient(160deg,#f5fcff,#e8f4fb)}.pxpot-card-violet{color:#7d69ae;background:linear-gradient(160deg,#fcfaff,#f0edfa)}.pxpot-card-yellow{color:#a27e32;background:linear-gradient(160deg,#fffdf2,#f8f1d8)}.pxpot-card-orange{color:#b7773c;background:linear-gradient(160deg,#fff9f1,#fbeddd)}
.pxpot-room-panel{padding:23px}.pxpot-room-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.pxpot-room-icon{display:grid;place-items:center;width:43px;height:43px;border:1px solid rgba(215,138,70,.2);border-radius:13px;background:rgba(215,138,70,.12);color:#c77d38}.pxpot-room-icon svg{width:21px;height:21px}.pxpot-room-label{color:var(--pot-muted);font-size:8px;font-weight:900;letter-spacing:.16em}.pxpot-room-panel h2{font-size:20px}.pxpot-room-panel>p{margin:9px 0 16px;color:var(--pot-muted);font-size:10px;line-height:1.65}.pxpot-code-box{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border:1px solid rgba(215,138,70,.29);border-radius:12px;background:rgba(215,138,70,.07)}.pxpot-code-box small{display:block;margin-bottom:6px;color:var(--pot-muted);font-size:8px;font-weight:900;letter-spacing:.12em}.pxpot-code-box small span{color:#b67a3f}.pxpot-code-box strong{display:block;color:var(--pot-ink);font-size:21px;font-weight:950;letter-spacing:.12em;font-variant-numeric:tabular-nums}.pxpot-icon-button,.pxpot-share-value button,.pxpot-share-link-row button{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border:1px solid var(--pot-line);border-radius:10px;background:var(--pot-card);color:var(--pot-ink);cursor:pointer}.pxpot-icon-button:hover,.pxpot-share-value button:hover,.pxpot-share-link-row button:hover{border-color:#d78a46;color:#bd7836}.pxpot-icon-button svg,.pxpot-share-value button svg,.pxpot-share-link-row button svg{width:16px;height:16px}.pxpot-copy-feedback{min-height:15px!important;margin:6px 0 10px!important;color:#348665!important;font-size:9px!important}.pxpot-share-button,.pxpot-share-primary,.pxpot-share-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid #c77d38;border-radius:10px;background:linear-gradient(135deg,#df9c58,#bd7336);color:#fff;font-size:11px;font-weight:900;cursor:pointer;text-decoration:none}.pxpot-share-button{width:100%}.pxpot-share-button:hover,.pxpot-share-primary:hover{filter:brightness(1.05);transform:translateY(-1px)}.pxpot-share-button svg,.pxpot-share-primary svg,.pxpot-share-secondary svg{width:15px;height:15px}.pxpot-room-divider{display:flex;align-items:center;gap:9px;margin:20px 0 14px}.pxpot-room-divider span{height:1px;flex:1;background:var(--pot-line)}.pxpot-room-divider small{color:var(--pot-muted);font-size:7px;font-weight:900;letter-spacing:.15em}.pxpot-player-count{display:flex;align-items:center;justify-content:space-between;color:var(--pot-ink);font-size:10px;font-weight:800}.pxpot-player-count span{display:flex;align-items:center;gap:7px}.pxpot-player-count svg{width:14px;height:14px;color:var(--pot-muted)}.pxpot-player-count strong{font-size:13px}.pxpot-player-count strong small{color:var(--pot-muted);font-size:9px}.pxpot-player-progress{height:6px;margin:9px 0 14px;overflow:hidden;border-radius:99px;background:var(--pot-line)}.pxpot-player-progress span{display:block;width:25%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6ea7ce,#d78a46)}.pxpot-room-footnote{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid var(--pot-line);border-radius:9px;background:var(--hover-bg,rgba(120,140,160,.07));color:var(--pot-muted);font-size:8px;line-height:1.55}.pxpot-room-footnote svg{width:14px;height:14px;flex:0 0 auto}.pxpot-start-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:42px;margin-top:12px;border:1px solid var(--pot-line);border-radius:10px;background:var(--hover-bg);color:var(--pot-muted);font-size:10px;font-weight:900;cursor:not-allowed}.pxpot-start-button svg{width:14px;height:14px}.pxpot-start-button small{font-size:8px;font-weight:700}
.pxpot-share-dialog{width:min(510px,calc(100vw - 26px));max-width:510px;max-height:min(88vh,760px);padding:0;border:1px solid var(--pot-line);border-radius:21px;background:var(--card-bg,var(--pot-card));color:var(--pot-ink);box-shadow:0 28px 90px rgba(0,0,0,.3)}.pxpot-share-dialog::backdrop{background:rgba(5,15,27,.66);backdrop-filter:blur(7px)}.pxpot-share-inner{padding:clamp(21px,4vw,31px)}.pxpot-share-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.pxpot-share-mark,.pxpot-share-close{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--pot-line);border-radius:12px}.pxpot-share-mark{background:rgba(215,138,70,.12);color:#c77d38}.pxpot-share-mark svg{width:19px;height:19px}.pxpot-share-close{background:transparent;color:var(--pot-muted);cursor:pointer}.pxpot-share-close svg{width:17px;height:17px}.pxpot-share-inner h2{margin:7px 0;color:var(--pot-ink);font-size:27px;font-weight:950;letter-spacing:-.045em}.pxpot-share-inner>p{margin:0 0 18px;color:var(--pot-muted);font-size:11px;line-height:1.6}.pxpot-share-label{display:block;margin:14px 0 7px;color:var(--pot-muted);font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.pxpot-share-value,.pxpot-share-link-row{display:flex;align-items:center;gap:8px;padding:7px;border:1px solid var(--pot-line);border-radius:11px;background:var(--hover-bg,rgba(130,150,170,.07))}.pxpot-share-value strong{flex:1;padding-left:8px;color:var(--pot-ink);font-size:18px;font-weight:950;letter-spacing:.12em}.pxpot-share-link-row input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--pot-ink);font-size:10px}.pxpot-share-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}.pxpot-share-primary,.pxpot-share-secondary{width:100%;min-width:0}.pxpot-share-secondary{border-color:var(--pot-line);background:var(--pot-card);color:var(--pot-ink)}.pxpot-share-feedback{margin-top:13px;padding:10px 11px;border-radius:9px;background:rgba(55,135,205,.08);color:var(--pot-muted);font-size:9px;line-height:1.5}
@media(max-width:900px){.pxpot-hero{grid-template-columns:minmax(0,1fr) 290px}.pxpot-layout{grid-template-columns:minmax(0,1fr) 275px}.pxpot-table{min-height:315px}.pxpot-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.pxpot-card{min-height:88px}}
@media(max-width:700px){.pxpot-hero{grid-template-columns:1fr;padding:23px}.pxpot-hero-art{min-height:205px;margin-top:3px}.pxpot-layout{grid-template-columns:1fr}.pxpot-room-panel{order:-1}.pxpot-table-panel{padding:15px}.pxpot-table{min-height:300px;border-width:7px}.pxpot-seat{min-width:120px;padding:7px}.pxpot-seat-top{top:10px}.pxpot-seat-left{left:8px}.pxpot-seat-right{right:8px}.pxpot-seat-bottom{bottom:10px}.pxpot-seat small{font-size:7px}.pxpot-avatar{width:26px;height:26px}.pxpot-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.pxpot-room-panel{padding:19px}}
@media(max-width:430px){.pxpot-table{min-height:275px}.pxpot-seat{min-width:105px;gap:6px;padding:6px}.pxpot-seat b{font-size:8px}.pxpot-seat small{font-size:6px}.pxpot-seat em{width:16px;height:16px}.pxpot-seat-left{left:5px}.pxpot-seat-right{right:5px}.pxpot-pot-icon{width:60px;height:51px}.pxpot-pot-center strong{font-size:7px}.pxpot-share-actions{grid-template-columns:1fr}.pxpot-panel-head{align-items:flex-start;flex-direction:column}}
body.a11y-text-large .pxpot-page{font-size:1.18em}body.a11y-text-large .pxpot-page p,body.a11y-text-large .pxpot-page small,body.a11y-text-large .pxpot-page button,body.a11y-text-large .pxpot-page span{font-size:1.12em}body.a11y-contrast .pxpot-page{--pot-muted:var(--pot-ink)}body.a11y-high-contrast .pxpot-table{border-color:#000}body.a11y-highlight-links .pxpot-page a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}body.a11y-dyslexia .pxpot-page{font-family:Arial,Verdana,sans-serif!important}body.a11y-no-animations .pxpot-page *,body.a11y-no-animations .pxpot-page *::before,body.a11y-no-animations .pxpot-page *::after,body.a11y-no-animations .pxpot-share-dialog *,body.a11y-no-animations .pxpot-share-dialog *::before,body.a11y-no-animations .pxpot-share-dialog *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

body.a11y-contrast .pxpot-page :is(.pxpot-hero,.pxpot-preview-banner,.pxpot-table-panel,.pxpot-room-panel,.pxpot-share-dialog,.pxpot-share-value,.pxpot-share-link-row){background:#000!important;border:2px solid #ff0!important;color:#fff!important}body.a11y-contrast .pxpot-page :is(h1,h2,h3,p,span,small,strong,b,label,input){color:#fff!important}body.a11y-contrast .pxpot-page :is(button,a,input):focus-visible{outline:3px solid #ff0!important;outline-offset:4px!important}body.a11y-contrast .pxpot-page .pxpot-share-button,body.a11y-contrast .pxpot-page .pxpot-share-primary{background:#ff0!important;color:#000!important;border:2px solid #ff0!important}body.a11y-dyslexia .pxpot-share-dialog,body.a11y-dyslexia .pxpot-share-dialog *{font-family:'Trebuchet MS',Verdana,sans-serif!important;letter-spacing:.035em!important;word-spacing:.1em!important;line-height:1.7!important}


/* Pixel Pot v36 — enlarged original hot-pot board and four player card zones. */
.pxpot-page{max-width:1400px}
.pxpot-layout{grid-template-columns:minmax(0,1.8fr) minmax(285px,.68fr);gap:18px}
.pxpot-table-panel{padding:clamp(14px,1.8vw,24px)}
.pxpot-board-stage{position:relative;width:100%;max-width:1240px;margin:0 auto;aspect-ratio:1672/941;overflow:hidden;border-radius:18px;background:#201b29;isolation:isolate;box-shadow:0 18px 42px rgba(20,24,34,.2),inset 0 0 0 1px rgba(255,255,255,.16)}
.pxpot-board-art{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;user-select:none;-webkit-user-drag:none}
.pxpot-board-overlay{position:absolute;inset:0;pointer-events:none}
.pxpot-board-zone{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(2px,.45vw,7px);padding:0 1%;}
.pxpot-board-zone-top{top:4.7%;left:33%;width:34%;height:21%}
.pxpot-board-zone-bottom{bottom:4.7%;left:33%;width:34%;height:21%}
.pxpot-board-zone-left{top:36.5%;left:5.2%;width:24%;height:27%}
.pxpot-board-zone-right{top:36.5%;right:5.2%;width:24%;height:27%}
.pxpot-board-player{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;padding:4px 9px;border:1px solid rgba(250,238,214,.56);border-radius:999px;background:rgba(27,34,48,.73);color:#fff5df;font-size:clamp(6px,.72vw,10px);font-weight:900;letter-spacing:.1em;line-height:1;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.45);box-shadow:0 3px 9px rgba(0,0,0,.18);backdrop-filter:blur(5px)}
.pxpot-board-player svg{width:clamp(9px,.95vw,13px);height:clamp(9px,.95vw,13px);flex:0 0 auto}
.pxpot-board-player-self{border-color:rgba(246,207,146,.9);background:rgba(87,48,28,.82);color:#fff0d3}
.pxpot-board-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:clamp(3px,.5vw,7px);width:min(100%,310px);height:calc(100% - 18px);align-content:center;justify-items:center}
.pxpot-board-cardback{position:relative;display:grid;place-items:center;width:clamp(17px,3.7vw,42px);height:clamp(24px,5vw,57px);max-width:100%;border:1px solid rgba(244,250,222,.92);border-radius:5px;background:linear-gradient(145deg,#d8e3bd 0%,#a6c08e 48%,#77996c 100%);color:#eaf0d8;box-shadow:0 3px 8px rgba(20,29,21,.36),inset 0 0 0 2px rgba(66,104,72,.25);transform:rotate(var(--card-tilt,0deg));}
.pxpot-board-cardback:before{position:absolute;inset:3px;border:1px solid rgba(246,248,221,.62);border-radius:3px;content:""}
.pxpot-board-cardback:after{position:absolute;inset:7px;border:1px solid rgba(246,248,221,.36);border-radius:2px;content:""}
.pxpot-board-cardback b{position:relative;z-index:1;font-family:Georgia,serif;font-size:clamp(8px,1.15vw,14px);font-weight:500;color:#f0f4dc;text-shadow:0 1px 2px rgba(39,68,45,.45)}
.pxpot-board-cards .pxpot-board-cardback:nth-child(3n+1){--card-tilt:-3deg}.pxpot-board-cards .pxpot-board-cardback:nth-child(3n){--card-tilt:3deg}
.pxpot-board-center-label{position:absolute;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;gap:3px;transform:translate(-50%,-50%);color:#fff1dc;text-align:center;text-shadow:0 2px 5px rgba(28,17,31,.7);pointer-events:none}
.pxpot-board-center-label span{font-size:clamp(8px,1.05vw,14px);font-weight:950;letter-spacing:.22em}.pxpot-board-center-label small{font-size:clamp(5px,.55vw,7px);font-weight:850;letter-spacing:.14em;opacity:.82}
.pxpot-hand-preview{margin-top:clamp(15px,2vw,23px)}
@media(max-width:1040px){.pxpot-layout{grid-template-columns:minmax(0,1.45fr) minmax(260px,.8fr)}.pxpot-board-stage{border-radius:14px}.pxpot-board-zone{padding:0 .5%}.pxpot-board-cards{gap:3px}}
@media(max-width:760px){.pxpot-page{max-width:100%}.pxpot-layout{grid-template-columns:1fr}.pxpot-board-stage{width:100%;border-radius:11px}.pxpot-table-panel{padding:12px}.pxpot-board-zone-top{top:4%;height:22%}.pxpot-board-zone-bottom{bottom:4%;height:22%}.pxpot-board-zone-left,.pxpot-board-zone-right{top:36%;height:28%}.pxpot-board-player{font-size:6px;padding:3px 5px;letter-spacing:.06em}.pxpot-board-player svg{width:8px;height:8px}.pxpot-board-cards{width:100%;height:calc(100% - 13px);gap:2px}.pxpot-board-cardback{width:clamp(13px,4.2vw,28px);height:clamp(18px,5.4vw,36px);border-radius:3px}.pxpot-board-cardback:before{inset:2px}.pxpot-board-cardback:after{inset:4px}.pxpot-board-cardback b{font-size:8px}.pxpot-board-center-label span{font-size:9px}.pxpot-board-center-label small{font-size:5px}}
@media(max-width:420px){.pxpot-board-player{font-size:5px;gap:3px;padding:3px 4px}.pxpot-board-cards{height:calc(100% - 11px)}.pxpot-board-cardback{width:clamp(11px,4vw,17px);height:clamp(16px,5vw,21px)}.pxpot-board-cardback b{font-size:6px}.pxpot-board-center-label{gap:1px}.pxpot-board-center-label span{font-size:7px}}
@media(prefers-reduced-motion:reduce){.pxpot-board-cardback{transition:none!important}}
/* Accessibility controls also enlarge the newly added table labels and card backs. */
body.a11y-text-large .pxpot-board-player{font-size:clamp(8px,.95vw,13px);padding:5px 11px}body.a11y-text-large .pxpot-board-center-label span{font-size:clamp(10px,1.3vw,17px)}
body.a11y-contrast .pxpot-board-player{background:#000!important;border:2px solid #ff0!important;color:#fff!important}body.a11y-high-contrast .pxpot-board-cardback{border:2px solid #000;outline:1px solid #fff}


/* Pixel Pot v38 – complete browser game, responsive four-seat hotpot table. */
.pxpot-v37{max-width:1480px}
.pxpot-v37 .pxpot-hero{margin-bottom:20px}
.pxpot-v37 .pxpot-preview-pill{letter-spacing:.08em}
.pxpot-v37-alert{margin:0 0 14px;padding:12px 15px;border:1px solid var(--pot-line);border-radius:12px;background:var(--pot-card);color:var(--pot-ink);font-size:13px;font-weight:650;line-height:1.5}
.pxpot-v37-alert.is-info{border-color:rgba(75,145,195,.35);background:rgba(75,145,195,.09)}.pxpot-v37-alert.is-success{border-color:rgba(57,148,105,.35);background:rgba(57,148,105,.09)}.pxpot-v37-alert.is-error{border-color:rgba(201,82,76,.38);background:rgba(201,82,76,.09)}
.pxpot-v37-section-head,.pxpot-v37-room-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:8px 0 15px}.pxpot-v37-section-head h2,.pxpot-v37-room-head h2{margin:5px 0 4px;color:var(--pot-ink);font-size:clamp(22px,3vw,30px);font-weight:950;letter-spacing:-.045em}.pxpot-v37-section-head p,.pxpot-v37-room-head p{margin:0;color:var(--pot-muted);font-size:12px;line-height:1.6}
.pxpot-v37-setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pxpot-v37-setup-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:clamp(20px,3vw,29px);border:1px solid var(--pot-line);border-radius:20px;background:var(--pot-card);box-shadow:0 12px 34px rgba(18,35,54,.055)}.pxpot-v37-create-card{background:radial-gradient(circle at 100% 0,rgba(215,138,70,.11),transparent 42%),var(--pot-card)}.pxpot-v37-join-card{background:radial-gradient(circle at 100% 0,rgba(85,150,195,.1),transparent 42%),var(--pot-card)}.pxpot-v37-setup-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:16px;border:1px solid rgba(215,138,70,.24);border-radius:14px;background:rgba(215,138,70,.11);color:#c47c3a}.pxpot-v37-setup-icon svg{width:23px;height:23px}.pxpot-v37-setup-card h3{margin:7px 0;color:var(--pot-ink);font-size:20px;font-weight:950;letter-spacing:-.035em}.pxpot-v37-setup-card>p{min-height:58px;margin:0 0 17px;color:var(--pot-muted);font-size:12px;line-height:1.65}.pxpot-v37-setup-card label{display:block;margin:0 0 7px;color:var(--pot-ink);font-size:11px;font-weight:850}.pxpot-v37-setup-card select,.pxpot-v37-setup-card input{width:100%;min-height:45px;margin:0 0 12px;padding:0 13px;border:1px solid var(--pot-line);border-radius:10px;background:var(--card-bg,var(--pot-card));color:var(--text-main,var(--pot-ink));font:inherit;font-size:13px;outline:none}.pxpot-v37-setup-card input{text-transform:uppercase;letter-spacing:.12em;font-weight:900}.pxpot-v37-setup-card select:focus,.pxpot-v37-setup-card input:focus{border-color:#d78a46;box-shadow:0 0 0 3px rgba(215,138,70,.14)}.pxpot-v37-setup-card>small{display:flex;align-items:center;gap:7px;margin-top:13px;color:var(--pot-muted);font-size:10px;line-height:1.5}.pxpot-v37-setup-card>small svg{width:13px;height:13px;flex:0 0 auto}
.pxpot-v37-primary-btn,.pxpot-v37-secondary-btn,.pxpot-v37-quiet-btn,.pxpot-v37-rules-btn,.pxpot-v37-share-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:0 15px;border:1px solid transparent;border-radius:11px;font:inherit;font-size:12px;font-weight:900;text-decoration:none;cursor:pointer;transition:transform .16s ease,filter .16s ease,border-color .16s ease}.pxpot-v37-primary-btn{width:100%;background:linear-gradient(135deg,#e3a15d,#bd7638);border-color:#c98443;color:#fff;box-shadow:0 7px 16px rgba(177,109,48,.18)}.pxpot-v37-secondary-btn{width:100%;background:linear-gradient(135deg,#5f9fc6,#367eaa);border-color:#4b91ba;color:#fff}.pxpot-v37-quiet-btn,.pxpot-v37-rules-btn{background:var(--pot-card);border-color:var(--pot-line);color:var(--pot-ink)}.pxpot-v37-share-btn{background:rgba(215,138,70,.13);border-color:rgba(215,138,70,.28);color:#b8793e}.pxpot-v37-primary-btn:not(:disabled):hover,.pxpot-v37-secondary-btn:not(:disabled):hover,.pxpot-v37-rules-btn:hover,.pxpot-v37-quiet-btn:hover,.pxpot-v37-share-btn:hover{transform:translateY(-1px);filter:brightness(1.04)}.pxpot-v37-primary-btn:disabled,.pxpot-v37-secondary-btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.pxpot-v37-primary-btn svg,.pxpot-v37-secondary-btn svg,.pxpot-v37-quiet-btn svg,.pxpot-v37-rules-btn svg,.pxpot-v37-share-btn svg{width:16px;height:16px;flex:0 0 auto}
.pxpot-v37-room{margin-top:18px}.pxpot-v37-room-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pxpot-v37-lobby-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr);gap:16px;align-items:stretch}.pxpot-v37-lobby-main,.pxpot-v37-lobby-side{min-width:0;padding:clamp(17px,2.5vw,24px);border:1px solid var(--pot-line);border-radius:18px;background:var(--pot-card);box-shadow:0 12px 34px rgba(18,35,54,.045)}.pxpot-v37-code-card{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid rgba(215,138,70,.28);border-radius:13px;background:rgba(215,138,70,.075)}.pxpot-v37-code-card>div{flex:1;min-width:0}.pxpot-v37-code-card small{display:block;margin-bottom:4px;color:var(--pot-muted);font-size:9px;font-weight:900;letter-spacing:.14em}.pxpot-v37-code-card strong{color:var(--pot-ink);font-size:clamp(20px,3vw,27px);font-weight:950;letter-spacing:.13em;font-variant-numeric:tabular-nums}.pxpot-icon-button{display:grid;place-items:center;width:39px;height:39px;flex:0 0 auto;border:1px solid var(--pot-line);border-radius:10px;background:var(--pot-card);color:var(--pot-ink);cursor:pointer}.pxpot-icon-button svg{width:16px;height:16px}.pxpot-v37-seats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.pxpot-v37-lobby-seat{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid var(--pot-line);border-radius:12px;background:var(--hover-bg,rgba(130,150,170,.055));color:var(--pot-ink)}.pxpot-v37-lobby-seat.is-me{border-color:rgba(215,138,70,.48);background:rgba(215,138,70,.09)}.pxpot-v37-seat-avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border-radius:12px;background:rgba(75,145,195,.13);color:#4d8db5;font-weight:900}.pxpot-v37-lobby-seat.is-empty .pxpot-v37-seat-avatar{border:1px dashed var(--pot-line);background:transparent;color:var(--pot-muted)}.pxpot-v37-lobby-seat>div{display:flex;flex-direction:column;gap:4px;min-width:0}.pxpot-v37-lobby-seat strong{overflow:hidden;color:var(--pot-ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.pxpot-v37-lobby-seat small{color:var(--pot-muted);font-size:10px}.pxpot-v37-lobby-note,.pxpot-v37-host-note{margin:10px 0;color:var(--pot-muted);font-size:11px;line-height:1.6}.pxpot-v37-host-note{text-align:center;font-size:10px}.pxpot-v37-start-btn{margin-top:9px}.pxpot-v37-mini-board{position:relative;overflow:hidden;border-radius:13px;background:#221d29}.pxpot-v37-mini-board img{display:block;width:100%;height:auto}.pxpot-v37-mini-board span{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:99px;background:rgba(15,22,33,.75);color:#fff;font-size:8px;font-weight:900;letter-spacing:.1em}.pxpot-v37-mini-board span svg{width:12px;height:12px}.pxpot-v37-how{margin-top:13px;padding:13px;border:1px solid var(--pot-line);border-radius:11px;background:var(--hover-bg,rgba(130,150,170,.06))}.pxpot-v37-how strong{color:var(--pot-ink);font-size:12px}.pxpot-v37-how p{margin:6px 0 0;color:var(--pot-muted);font-size:10px;line-height:1.6}
.pxpot-v37-game{margin-top:12px}.pxpot-v37-game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding:14px 17px;border:1px solid var(--pot-line);border-radius:14px;background:var(--pot-card)}.pxpot-v37-game-toolbar>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}.pxpot-v37-game-toolbar strong{color:var(--pot-ink);font-size:14px}.pxpot-v37-game-toolbar small{color:var(--pot-muted);font-size:11px}.pxpot-v37-game-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.pxpot-v37-code-chip{padding:7px 10px;border:1px solid var(--pot-line);border-radius:8px;color:var(--pot-muted);font-size:10px;font-weight:900;letter-spacing:.1em}
.pxpot-v37-board-wrap{padding:clamp(8px,1.4vw,17px);border:1px solid var(--pot-line);border-radius:19px;background:var(--pot-card);box-shadow:0 13px 38px rgba(18,35,54,.07)}.pxpot-v37-board-stage{position:relative;width:100%;overflow:hidden;aspect-ratio:1672/941;border-radius:15px;background:#251d2c;isolation:isolate;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}.pxpot-v37-board-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;user-select:none;pointer-events:none}.pxpot-v37-seat-layer{position:absolute;inset:0}.pxpot-v37-seat-zone{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(2px,.35vw,6px);width:26%;height:24%;padding:0 .5%;color:#fff;pointer-events:none}.pxpot-v37-seat-zone.is-top{top:2%;left:37%}.pxpot-v37-seat-zone.is-bottom{bottom:2%;left:37%}.pxpot-v37-seat-zone.is-left{top:38%;left:1.5%;width:27%;height:25%}.pxpot-v37-seat-zone.is-right{top:38%;right:1.5%;width:27%;height:25%}.pxpot-v37-player-tag{display:flex;align-items:center;gap:5px;max-width:100%;padding:4px 8px;border:1px solid rgba(255,240,216,.56);border-radius:999px;background:rgba(24,30,43,.82);color:#fff7e8;font-size:clamp(6px,.68vw,10px);font-weight:900;line-height:1;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.45);backdrop-filter:blur(5px)}.pxpot-v37-seat-zone.is-current .pxpot-v37-player-tag{border-color:#ffe3a2;background:rgba(105,62,28,.92);box-shadow:0 0 0 2px rgba(255,224,149,.28),0 0 20px rgba(255,202,105,.38)}.pxpot-v37-seat-zone.is-self .pxpot-v37-player-tag{background:rgba(83,47,26,.92)}.pxpot-v37-player-avatar{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:rgba(255,255,255,.18);font-size:8px}.pxpot-v37-player-tag small{opacity:.78;font-size:.85em}.pxpot-v37-cardbacks{display:flex;justify-content:center;max-width:100%;height:clamp(18px,4vw,49px);gap:clamp(1px,.22vw,4px);pointer-events:none}.pxpot-v37-cardbacks i{display:grid;place-items:center;width:clamp(10px,2.55vw,29px);height:100%;border:1px solid rgba(248,255,230,.92);border-radius:4px;background:linear-gradient(145deg,#dce8c7,#91ad80);box-shadow:0 3px 7px rgba(16,30,19,.4),inset 0 0 0 2px rgba(65,96,62,.18);color:#eff5df;font-family:Georgia,serif;font-size:clamp(6px,.8vw,10px);font-style:normal}.pxpot-v37-discard-pick{display:flex;align-items:center;gap:5px;pointer-events:auto}.pxpot-v37-discard-pick>small{padding:4px 6px;border-radius:99px;background:rgba(20,28,38,.72);color:#fff;font-size:clamp(5px,.58vw,8px);font-weight:850}.pxpot-v37-discard-btn{padding:0;border:0;background:transparent;cursor:pointer}.pxpot-v37-discard-btn:disabled{cursor:not-allowed}
.pxpot-v37-card-face{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:102px;padding:8px 4px;border:1px solid rgba(255,255,255,.78);border-radius:11px;background:linear-gradient(155deg,#fffdf7,#f1eee4);color:#354052;text-align:center;box-shadow:0 6px 13px rgba(15,27,42,.12),inset 0 0 0 2px rgba(255,255,255,.5)}.pxpot-v37-card-category{display:block;max-width:100%;overflow:hidden;color:rgba(40,49,61,.72);font-size:7px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.pxpot-v37-card-emoji{display:block;font-size:26px;line-height:1.15}.pxpot-v37-card-face>strong{display:block;max-width:100%;color:#354052;font-size:9px;line-height:1.15;overflow-wrap:anywhere}.pxpot-v37-card-face.is-beige{background:linear-gradient(155deg,#fffaf0,#ead9b8)}.pxpot-v37-card-face.is-blue{background:linear-gradient(155deg,#f5fcff,#c6e3f2)}.pxpot-v37-card-face.is-green{background:linear-gradient(155deg,#f3fff1,#c7e6c6)}.pxpot-v37-card-face.is-orange{background:linear-gradient(155deg,#fff8eb,#f1d0a5)}.pxpot-v37-card-face.is-yellow{background:linear-gradient(155deg,#fffef0,#efe2a7)}.pxpot-v37-card-face.is-red{background:linear-gradient(155deg,#fff4ef,#eab7a9)}.pxpot-v37-card-face.is-violet{background:linear-gradient(155deg,#fcf8ff,#d9c9ed)}.pxpot-v37-card-face.is-gray{background:linear-gradient(155deg,#fafbfc,#d8dde3)}.pxpot-v37-card-face.is-small{min-height:0;width:clamp(30px,4.5vw,52px);padding:4px 3px;border-radius:5px;gap:2px;box-shadow:0 2px 6px rgba(0,0,0,.28)}.pxpot-v37-card-face.is-small .pxpot-v37-card-category{font-size:4px}.pxpot-v37-card-face.is-small .pxpot-v37-card-emoji{font-size:clamp(9px,1.25vw,15px)}.pxpot-v37-card-face.is-small>strong{font-size:clamp(5px,.55vw,7px)}.pxpot-v37-discard-btn .pxpot-v37-card-face{cursor:pointer}.pxpot-v37-discard-btn:hover .pxpot-v37-card-face{outline:2px solid #ffe3a2;transform:translateY(-2px)}
.pxpot-v37-center-piles{position:absolute;inset:0;pointer-events:none}.pxpot-v37-pot-center{position:absolute;left:50%;top:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;transform:translate(-50%,-50%);color:#fff1dc;text-align:center;text-shadow:0 2px 6px rgba(24,12,30,.9);pointer-events:none}.pxpot-v37-pot-center span{font-size:clamp(6px,.7vw,10px);font-weight:950;letter-spacing:.2em}.pxpot-v37-pot-center b{font-size:clamp(12px,1.55vw,21px);font-weight:1000;letter-spacing:.23em}.pxpot-v37-pot-center small{margin-top:2px;font-size:clamp(5px,.55vw,8px);font-weight:900;letter-spacing:.16em}.pxpot-v37-deck-button{position:absolute;left:35.5%;top:42%;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:#fff5df;text-shadow:0 2px 5px rgba(25,13,25,.8);cursor:pointer;pointer-events:auto}.pxpot-v37-deck-stack{display:grid;place-items:center;width:clamp(25px,4vw,48px);height:clamp(37px,5.7vw,66px);border:2px solid #f1edcf;border-radius:7px;background:repeating-linear-gradient(145deg,#9dbd92 0 5px,#c7d7a9 5px 9px);box-shadow:0 4px 8px rgba(0,0,0,.34),inset 0 0 0 3px rgba(51,92,57,.22);color:#f8f6db;font-family:Georgia,serif;font-size:clamp(13px,1.5vw,19px)}.pxpot-v37-deck-button strong{font-size:clamp(6px,.62vw,9px);font-weight:950;letter-spacing:.08em}.pxpot-v37-deck-button small{font-size:clamp(5px,.52vw,7px);opacity:.88}.pxpot-v37-deck-button:disabled{opacity:.48;cursor:not-allowed}.pxpot-v37-deck-button.is-ready:hover .pxpot-v37-deck-stack{transform:translateY(-4px);box-shadow:0 7px 13px rgba(0,0,0,.4)}
.pxpot-v37-action-hint{margin:11px 0;padding:12px 15px;border:1px solid rgba(215,138,70,.28);border-radius:11px;background:rgba(215,138,70,.085);color:var(--pot-ink);font-size:12px;font-weight:800;text-align:center;line-height:1.5}.pxpot-v37-hand-panel{margin-top:15px;padding:clamp(15px,2vw,22px);border:1px solid var(--pot-line);border-radius:18px;background:var(--pot-card);box-shadow:0 9px 27px rgba(18,35,54,.045)}.pxpot-v37-hand-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:12px}.pxpot-v37-hand-head h3{margin:5px 0 0;color:var(--pot-ink);font-size:18px;font-weight:950}.pxpot-v37-hand-count{padding:6px 9px;border-radius:99px;background:var(--hover-bg,rgba(120,140,160,.09));color:var(--pot-muted);font-size:10px;font-weight:900}.pxpot-v37-hand{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}.pxpot-v37-hand-card{min-width:0;padding:0;border:0;border-radius:12px;background:transparent;cursor:pointer;transition:transform .16s ease,filter .16s ease}.pxpot-v37-hand-card .pxpot-v37-card-face{height:clamp(105px,12vw,150px)}.pxpot-v37-hand-card:hover:not(:disabled){transform:translateY(-5px)}.pxpot-v37-hand-card.is-selected .pxpot-v37-card-face{outline:3px solid #d78a46;outline-offset:2px;transform:translateY(-8px);box-shadow:0 13px 25px rgba(172,105,42,.24)}.pxpot-v37-hand-card:disabled{cursor:default;opacity:1}.pxpot-v37-hand-actions{display:flex;align-items:center;gap:9px;margin-top:13px;flex-wrap:wrap}.pxpot-v37-hand-actions .pxpot-v37-primary-btn{width:auto;min-width:230px}.pxpot-v37-set-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;color:var(--pot-muted);font-size:10px;line-height:1.5}.pxpot-v37-set-summary strong{color:#a86c32}.pxpot-v37-set-summary span{padding:5px 8px;border:1px solid var(--pot-line);border-radius:99px;background:var(--hover-bg,rgba(120,140,160,.06))}
.pxpot-v37-finished{margin-top:16px;padding:clamp(22px,4vw,38px);border:1px solid var(--pot-line);border-radius:20px;background:var(--pot-card);box-shadow:0 14px 36px rgba(18,35,54,.07);text-align:center}.pxpot-v37-finished-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 13px;border:1px solid rgba(215,138,70,.3);border-radius:19px;background:rgba(215,138,70,.13);color:#c47c3a}.pxpot-v37-finished-icon svg{width:31px;height:31px}.pxpot-v37-finished h2{margin:8px 0;color:var(--pot-ink);font-size:clamp(24px,4vw,35px);font-weight:950;letter-spacing:-.045em}.pxpot-v37-finished>p{color:var(--pot-muted);font-size:12px}.pxpot-v37-results{max-width:650px;margin:20px auto;display:flex;flex-direction:column;gap:7px}.pxpot-v37-result-row{display:grid;grid-template-columns:28px minmax(0,1fr) 100px 70px;gap:9px;align-items:center;padding:12px;border:1px solid var(--pot-line);border-radius:11px;background:var(--hover-bg,rgba(120,140,160,.055));text-align:left}.pxpot-v37-result-row.is-winner{border-color:rgba(215,138,70,.48);background:rgba(215,138,70,.1)}.pxpot-v37-result-row>*{color:var(--pot-ink);font-size:11px}.pxpot-v37-result-row>small{text-align:right;color:var(--pot-muted)}.pxpot-v37-finished>.pxpot-v37-primary-btn{max-width:320px;margin:0 auto}
.pxpot-v37-rules-dialog{width:min(650px,calc(100vw - 26px));max-height:88vh;overflow:auto;padding:0;border:1px solid var(--pot-line);border-radius:20px;background:var(--card-bg,var(--pot-card));color:var(--pot-ink);box-shadow:0 28px 90px rgba(0,0,0,.3)}.pxpot-v37-rules-dialog::backdrop{background:rgba(5,15,27,.68);backdrop-filter:blur(6px)}.pxpot-v37-rules-inner{position:relative;padding:clamp(22px,4vw,32px)}.pxpot-v37-rules-inner>.pxpot-share-close{float:right}.pxpot-v37-rules-inner h2{margin:7px 0 18px;font-size:26px;font-weight:950;letter-spacing:-.04em}.pxpot-v37-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:19px}.pxpot-v37-rule-grid article{padding:13px;border:1px solid var(--pot-line);border-radius:11px;background:var(--hover-bg,rgba(120,140,160,.05))}.pxpot-v37-rule-grid b{color:var(--pot-ink);font-size:12px}.pxpot-v37-rule-grid p{margin:6px 0 0;color:var(--pot-muted);font-size:11px;line-height:1.65}
.pxpot-v37 .pxpot-share-dialog{z-index:10002}.pxpot-v37.is-busy{cursor:progress}.pxpot-v37 [hidden]{display:none!important}
@media(max-width:980px){.pxpot-v37-lobby-grid{grid-template-columns:minmax(0,1fr) 280px}.pxpot-v37-hand{grid-template-columns:repeat(5,minmax(0,1fr))}.pxpot-v37-hand-card .pxpot-v37-card-face{height:115px}}
@media(max-width:760px){.pxpot-v37-section-head,.pxpot-v37-room-head{align-items:flex-start;flex-direction:column}.pxpot-v37-setup-grid,.pxpot-v37-lobby-grid{grid-template-columns:1fr}.pxpot-v37-setup-card>p{min-height:0}.pxpot-v37-lobby-side{display:none}.pxpot-v37-game-toolbar{align-items:flex-start;flex-direction:column}.pxpot-v37-game-tools{justify-content:flex-start}.pxpot-v37-board-stage{border-radius:10px}.pxpot-v37-seat-zone.is-left,.pxpot-v37-seat-zone.is-right{width:28%;}.pxpot-v37-player-tag{gap:3px;padding:3px 5px;font-size:clamp(5px,1.15vw,8px)}.pxpot-v37-player-avatar{width:13px;height:13px;font-size:6px}.pxpot-v37-player-tag small{font-size:5px}.pxpot-v37-cardbacks{height:clamp(13px,3.5vw,28px)}.pxpot-v37-cardbacks i{width:clamp(7px,2vw,16px)}.pxpot-v37-discard-pick>small{display:none}.pxpot-v37-hand{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pxpot-v37-hand-card .pxpot-v37-card-face{height:104px}.pxpot-v37-hand-actions{align-items:stretch;flex-direction:column}.pxpot-v37-hand-actions .pxpot-v37-primary-btn{width:100%;min-width:0}.pxpot-v37-rule-grid{grid-template-columns:1fr}}
@media(max-width:420px){.pxpot-v37-setup-card{padding:17px}.pxpot-v37-seats{gap:7px}.pxpot-v37-lobby-seat{padding:9px}.pxpot-v37-code-card{flex-wrap:wrap}.pxpot-v37-code-card>div{width:calc(100% - 58px)}.pxpot-v37-share-btn{width:100%}.pxpot-v37-player-tag{max-width:90%;font-size:5px}.pxpot-v37-player-tag small{display:none}.pxpot-v37-seat-zone.is-left,.pxpot-v37-seat-zone.is-right{width:29%}.pxpot-v37-deck-button{left:31%;top:43%}.pxpot-v37-deck-stack{width:20px;height:31px}.pxpot-v37-deck-button strong{font-size:5px}.pxpot-v37-deck-button small{font-size:4px}.pxpot-v37-pot-center b{font-size:10px}.pxpot-v37-pot-center span,.pxpot-v37-pot-center small{font-size:4px}.pxpot-v37-hand{grid-template-columns:repeat(3,minmax(0,1fr))}.pxpot-v37-result-row{grid-template-columns:22px minmax(0,1fr) 78px 50px;gap:5px;padding:9px}.pxpot-v37-result-row>*{font-size:9px}}
/* Accessibility preferences cover dynamically-rendered cards, game buttons and dialogs. */
body.a11y-text-large .pxpot-v37{font-size:1.15em}body.a11y-text-large .pxpot-v37 :is(p,small,label,button,strong,.pxpot-v37-player-tag,.pxpot-v37-card-face>strong){font-size:1.12em!important}body.a11y-contrast .pxpot-v37 :is(.pxpot-v37-setup-card,.pxpot-v37-lobby-main,.pxpot-v37-lobby-side,.pxpot-v37-hand-panel,.pxpot-v37-game-toolbar,.pxpot-v37-finished,.pxpot-v37-rules-dialog){background:#000!important;border:2px solid #ff0!important;color:#fff!important}body.a11y-contrast .pxpot-v37 :is(h1,h2,h3,h4,p,small,label,strong,span){color:#fff!important}body.a11y-contrast .pxpot-v37 :is(button,a,input,select):focus-visible{outline:3px solid #ff0!important;outline-offset:4px!important}body.a11y-highlight-links .pxpot-v37 a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}body.a11y-dyslexia .pxpot-v37,body.a11y-dyslexia .pxpot-v37 *{font-family:'Trebuchet MS',Verdana,sans-serif!important;letter-spacing:.025em!important;line-height:1.65!important}body.a11y-no-animations .pxpot-v37 *,body.a11y-no-animations .pxpot-v37 *:before,body.a11y-no-animations .pxpot-v37 *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}


/* Pixel Pot v40 – guaranteed self-contained styles, full hotpot board and radial card seating. */
.pxpot-v40{width:100%;max-width:1520px;margin-inline:auto;color:var(--pot-ink);font-family:inherit}
.pxpot-v40,.pxpot-v40 *{box-sizing:border-box}
.pxpot-v40 [hidden]{display:none!important}
.pxpot-v40 .pxpot-v37-game{display:block;width:100%;margin-top:14px}
.pxpot-v40 .pxpot-v37-game-toolbar,.pxpot-v40 .pxpot-v37-hand-panel,.pxpot-v40 .pxpot-v37-board-wrap{width:100%;min-width:0}
.pxpot-v40 .pxpot-v37-board-wrap{padding:clamp(8px,1.2vw,16px);overflow-x:auto;overflow-y:hidden;border:1px solid var(--pot-line);border-radius:20px;background:var(--pot-card);box-shadow:0 16px 44px rgba(18,35,54,.10)}
.pxpot-v40 .pxpot-v37-board-stage{position:relative;display:block;width:100%;min-width:0;height:auto;aspect-ratio:1672/941;overflow:hidden;border-radius:16px;background:#211a27;isolation:isolate;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.pxpot-v40 .pxpot-v37-board-art{position:absolute!important;display:block!important;z-index:0;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;opacity:1!important;visibility:visible!important;pointer-events:none;user-select:none;-webkit-user-drag:none}
.pxpot-v40 .pxpot-v37-seat-layer{position:absolute!important;display:block!important;z-index:2;inset:0;width:100%;height:100%;pointer-events:none}
.pxpot-v40 .pxpot-v37-seat-zone{position:absolute!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:clamp(2px,.35vw,7px);height:28%;width:40%;margin:0;padding:0 .5%;color:#fff;overflow:visible;pointer-events:none}
.pxpot-v40 .pxpot-v37-seat-zone.is-top{top:1.5%;left:30%;height:27%;width:40%}
.pxpot-v40 .pxpot-v37-seat-zone.is-bottom{bottom:1.5%;left:30%;height:27%;width:40%}
.pxpot-v40 .pxpot-v37-seat-zone.is-left{top:31%;left:1%;width:30%;height:38%}
.pxpot-v40 .pxpot-v37-seat-zone.is-right{top:31%;right:1%;width:30%;height:38%}
.pxpot-v40 .pxpot-v37-player-tag{position:relative;z-index:3;display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:94%;padding:5px 10px;border:1px solid rgba(255,240,216,.68);border-radius:999px;background:rgba(22,29,42,.88);color:#fff8eb;font-size:clamp(8px,.76vw,11px);font-weight:900;line-height:1.2;white-space:nowrap;text-shadow:0 1px 3px rgba(0,0,0,.55);box-shadow:0 4px 12px rgba(0,0,0,.24);backdrop-filter:blur(6px)}
.pxpot-v40 .pxpot-v37-player-tag small{color:#f7e6cc;font-size:.78em;opacity:.9}
.pxpot-v40 .pxpot-v37-player-avatar{display:grid;place-items:center;width:19px;height:19px;flex:0 0 auto;border-radius:50%;background:rgba(255,255,255,.2);font-size:9px}
.pxpot-v40 .pxpot-v37-seat-zone.is-current .pxpot-v37-player-tag{border-color:#ffe4a3;background:rgba(105,62,28,.95);box-shadow:0 0 0 2px rgba(255,224,149,.35),0 0 20px rgba(255,202,105,.42)}
.pxpot-v40 .pxpot-v37-seat-zone.is-self .pxpot-v37-player-tag{background:rgba(64,43,31,.96)}
.pxpot-v40 .pxpot-v40-cardbacks{position:relative;z-index:2;display:block;flex:0 0 auto;overflow:visible;pointer-events:none}
.pxpot-v40 .pxpot-v40-cardbacks.is-horizontal{width:min(100%,390px);height:clamp(38px,5.4vw,64px)}
.pxpot-v40 .pxpot-v40-cardbacks.is-vertical-left,.pxpot-v40 .pxpot-v40-cardbacks.is-vertical-right{width:clamp(92px,11vw,142px);height:clamp(120px,18vw,210px)}
.pxpot-v40 .pxpot-v40-cardback{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:clamp(24px,2.5vw,36px);height:clamp(35px,3.9vw,52px);border:1px solid rgba(250,255,236,.98);border-radius:5px;background:linear-gradient(145deg,#dce8c7 0%,#b6ca9b 48%,#819e73 100%);box-shadow:0 4px 9px rgba(15,27,18,.43),inset 0 0 0 2px rgba(65,96,62,.22);color:#f5f6db;font-family:Georgia,serif;font-size:clamp(9px,.85vw,13px);font-style:normal;font-weight:900;transform:translate(-50%,-50%) translate(var(--fan-x,0px),var(--fan-y,0px)) rotate(var(--fan-rot,0deg));transform-origin:center;}
.pxpot-v40 .pxpot-v40-cardbacks.is-vertical-left .pxpot-v40-cardback,.pxpot-v40 .pxpot-v40-cardbacks.is-vertical-right .pxpot-v40-cardback{width:clamp(34px,3.3vw,46px);height:clamp(24px,2.5vw,34px);border-radius:5px;font-size:10px}
.pxpot-v40 .pxpot-v37-discard-pick{position:relative;z-index:4;display:flex;align-items:center;justify-content:center;gap:5px;pointer-events:auto}
.pxpot-v40 .pxpot-v37-discard-pick>small{padding:4px 7px;border:1px solid rgba(255,255,255,.15);border-radius:99px;background:rgba(20,28,38,.82);color:#fff;font-size:clamp(7px,.58vw,9px);font-weight:850;white-space:nowrap}
.pxpot-v40 .pxpot-v37-center-piles{position:absolute;z-index:5;inset:0;pointer-events:none}
.pxpot-v40 .pxpot-v37-deck-button{position:absolute;left:36%;top:43%;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:#fff5df;text-shadow:0 2px 5px rgba(25,13,25,.9);cursor:pointer;pointer-events:auto}
.pxpot-v40 .pxpot-v37-pot-center{z-index:1;left:50%;top:50%;}
.pxpot-v40 .pxpot-v37-action-hint{font-size:13px;padding:13px 16px}
.pxpot-v40 .pxpot-v37-hand-panel{margin-top:15px}
.pxpot-v40 .pxpot-v37-hand-card .pxpot-v37-card-face{display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-height:112px;padding:10px 7px}
.pxpot-v40 .pxpot-v37-card-face{box-sizing:border-box;overflow:hidden}
.pxpot-v40 .pxpot-v37-primary-btn,.pxpot-v40 .pxpot-v37-secondary-btn,.pxpot-v40 .pxpot-v37-quiet-btn,.pxpot-v40 .pxpot-v37-rules-btn,.pxpot-v40 .pxpot-v37-share-btn{font-family:inherit;line-height:1.2}
.pxpot-v40 .pxpot-v37-primary-btn svg,.pxpot-v40 .pxpot-v37-secondary-btn svg,.pxpot-v40 .pxpot-v37-quiet-btn svg,.pxpot-v40 .pxpot-v37-rules-btn svg,.pxpot-v40 .pxpot-v37-share-btn svg{flex:0 0 auto}
.pxpot-v40 .pxpot-v37-game-toolbar button,.pxpot-v40 .pxpot-v37-game-toolbar a,.pxpot-v40 .pxpot-v37-hand-actions button{font:inherit}
.pxpot-v40-message-dialog{width:min(460px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:min(82vh,720px);overflow:auto;padding:0;border:1px solid rgba(145,165,185,.32);border-radius:23px;background:var(--card-bg,var(--pot-card));color:var(--pot-ink);box-shadow:0 28px 100px rgba(3,12,24,.42);}
.pxpot-v40-message-dialog::backdrop{background:rgba(5,13,25,.68);backdrop-filter:blur(7px)}
.pxpot-v40-message-inner{padding:clamp(22px,4vw,32px);}
.pxpot-v40-message-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}
.pxpot-v40-message-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(215,138,70,.3);border-radius:16px;background:rgba(215,138,70,.13);color:#c47c3a;font-size:25px;font-weight:950}
.pxpot-v40-message-icon[data-kind="success"]{border-color:rgba(57,148,105,.35);background:rgba(57,148,105,.13);color:#399469}
.pxpot-v40-message-icon[data-kind="error"]{border-color:rgba(201,82,76,.4);background:rgba(201,82,76,.12);color:#c9524c}
.pxpot-v40-message-icon[data-kind="warning"]{border-color:rgba(207,146,63,.4);background:rgba(207,146,63,.14);color:#bb7a25}
.pxpot-v40-message-inner h2{margin:8px 0 10px;color:var(--pot-ink);font-size:clamp(22px,4vw,29px);font-weight:950;letter-spacing:-.04em}
.pxpot-v40-message-inner p{margin:0;color:var(--pot-muted);font-size:14px;line-height:1.7;white-space:pre-line}
.pxpot-v40-message-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:23px}
.pxpot-v40-message-actions .pxpot-v37-primary-btn{width:auto;min-width:130px}
.pxpot-v40-message-actions [hidden]{display:none!important}
.pxpot-v40-confirm-btn{background:linear-gradient(135deg,#ba6846,#9a4637)!important;border-color:#a64e3c!important}
.pxpot-v40 .pxpot-v37-rules-dialog,.pxpot-v40 .pxpot-share-dialog{max-width:calc(100vw - 24px)}
.pxpot-v40 .pxpot-v37 [hidden],.pxpot-v40 [hidden]{display:none!important}
@media(max-width:760px){
 .pxpot-v40 .pxpot-v37-board-wrap{padding:6px;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .pxpot-v40 .pxpot-v37-board-stage{min-width:620px;min-height:349px}
 .pxpot-v40 .pxpot-v37-seat-zone.is-top{top:1%;left:29%;width:42%;height:28%}
 .pxpot-v40 .pxpot-v37-seat-zone.is-bottom{bottom:1%;left:29%;width:42%;height:28%}
 .pxpot-v40 .pxpot-v37-seat-zone.is-left{top:29%;left:0;width:31%;height:42%}
 .pxpot-v40 .pxpot-v37-seat-zone.is-right{top:29%;right:0;width:31%;height:42%}
 .pxpot-v40 .pxpot-v40-cardbacks.is-horizontal{height:48px}
 .pxpot-v40 .pxpot-v40-cardbacks.is-vertical-left,.pxpot-v40 .pxpot-v40-cardbacks.is-vertical-right{height:150px}
}
@media(max-width:420px){.pxpot-v40 .pxpot-v37-game-tools{gap:5px}.pxpot-v40 .pxpot-v37-game-toolbar{padding:11px}.pxpot-v40 .pxpot-v37-hand{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* ===== v41: resilient board structure and fallback layout ===== */
.pxpot-page.pxpot-v40 .pxpot-v37-board-wrap{width:100%;min-width:0}
.pxpot-page.pxpot-v40 .pxpot-v37-board-stage{position:relative!important;display:block!important;width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:1672/941!important;overflow:hidden!important}
.pxpot-page.pxpot-v40 .pxpot-v37-board-art{position:absolute!important;display:block!important;z-index:0!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;opacity:1!important;visibility:visible!important}
.pxpot-page.pxpot-v40 .pxpot-v37-seat-layer{position:absolute!important;display:block!important;z-index:2!important;inset:0!important;width:100%!important;height:100%!important}
.pxpot-page.pxpot-v40 [data-pot-seat]{position:absolute!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:clamp(2px,.35vw,7px)!important;margin:0!important;padding:0 .5%!important;color:#fff!important;overflow:visible!important;pointer-events:none!important}
.pxpot-page.pxpot-v40 [data-pot-seat="3"]{top:1.5%!important;left:30%!important;right:auto!important;bottom:auto!important;width:40%!important;height:27%!important}
.pxpot-page.pxpot-v40 [data-pot-seat="1"]{bottom:1.5%!important;left:30%!important;right:auto!important;top:auto!important;width:40%!important;height:27%!important}
.pxpot-page.pxpot-v40 [data-pot-seat="4"]{top:31%!important;left:1%!important;right:auto!important;bottom:auto!important;width:30%!important;height:38%!important}
.pxpot-page.pxpot-v40 [data-pot-seat="2"]{top:31%!important;right:1%!important;left:auto!important;bottom:auto!important;width:30%!important;height:38%!important}
.pxpot-page.pxpot-v40 .pxpot-v37-center-piles{position:absolute!important;z-index:5!important;inset:0!important;pointer-events:none!important}
.pxpot-page.pxpot-v40 .pxpot-v37-deck-button{position:absolute!important;left:36%!important;top:43%!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;pointer-events:auto!important}
.pxpot-page.pxpot-v40 .pxpot-v37-game-toolbar button,.pxpot-page.pxpot-v40 .pxpot-v37-game-toolbar a{font-family:inherit;line-height:1.2}
.pxpot-page.pxpot-v40 .pxpot-v37-quiet-btn,.pxpot-page.pxpot-v40 .pxpot-v37-rules-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:0 12px!important;border:1px solid var(--pot-line)!important;border-radius:10px!important;background:var(--pot-card)!important;color:var(--pot-ink)!important;font-size:12px!important;font-weight:850!important;text-decoration:none!important}
@media(max-width:760px){
 .pxpot-page.pxpot-v40 .pxpot-v37-board-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 .pxpot-page.pxpot-v40 .pxpot-v37-board-stage{min-width:620px!important;min-height:349px!important}
}

/* ===== v42: clear active-player marker + compact tablet game layout ===== */
.pxpot-page.pxpot-v42{max-width:1480px}
.pxpot-page.pxpot-v42.is-playing{width:calc(100% - 16px);max-width:1480px;margin:0 auto;}
.pxpot-page.pxpot-v42.is-playing>.pxpot-hero,
.pxpot-page.pxpot-v42.is-playing>[data-pot-alert]{display:none!important}
body.pxpot-v42-playing .pxh-inner-main{height:100svh;min-height:0!important;padding:118px 0 8px!important;overflow:hidden;box-sizing:border-box}
body.pxpot-v42-playing .pxh-inner-container{width:min(1500px,calc(100% - 18px));height:100%;display:block;gap:0}
body.pxpot-v42-playing .pxh-inner-footer{display:none!important}
.pxpot-page.pxpot-v42.is-playing{height:100%;display:flex;flex-direction:column;min-height:0}
.pxpot-page.pxpot-v42 .pxpot-v42-game{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;width:100%;height:100%;min-height:0;margin:0;overflow:hidden}
.pxpot-page.pxpot-v42 .pxpot-v37-game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;margin:0;padding:7px 11px;border-radius:13px;flex:0 0 auto}
.pxpot-page.pxpot-v42 .pxpot-v37-game-toolbar>div:first-child{gap:2px}
.pxpot-page.pxpot-v42 .pxpot-v37-game-toolbar .pxpot-section-kicker{font-size:7px;letter-spacing:.13em}
.pxpot-page.pxpot-v42 .pxpot-v37-game-toolbar strong{font-size:12px;line-height:1.2}
.pxpot-page.pxpot-v42 .pxpot-v37-game-toolbar small{font-size:9px;line-height:1.25}
.pxpot-page.pxpot-v42 .pxpot-v37-game-tools{gap:5px;flex-wrap:nowrap}
.pxpot-page.pxpot-v42 .pxpot-v37-game-tools .pxpot-v37-quiet-btn{min-height:31px!important;padding:0 9px!important;font-size:10px!important;white-space:nowrap}
.pxpot-page.pxpot-v42 .pxpot-v37-code-chip{padding:5px 7px;font-size:9px}
.pxpot-page.pxpot-v42 .pxpot-v42-play-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.92fr);gap:9px;min-height:0;height:100%;overflow:hidden}
.pxpot-page.pxpot-v42 .pxpot-v42-board-column{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:6px;min-width:0;min-height:0;overflow:hidden}
.pxpot-page.pxpot-v42 .pxpot-v37-board-wrap{display:grid;place-items:center;min-width:0;min-height:0;width:100%;height:100%;padding:5px;overflow:hidden;border-radius:15px}
.pxpot-page.pxpot-v42 .pxpot-v37-board-stage{width:min(100%,calc((100svh - 265px)*1.777));max-width:100%;height:auto;max-height:100%;min-width:0!important;min-height:0!important;aspect-ratio:1672/941;border-radius:12px}
.pxpot-page.pxpot-v42 .pxpot-v37-action-hint{margin:0;padding:7px 10px;border-radius:9px;font-size:9px;line-height:1.3;min-height:29px}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-panel{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;margin:0;padding:9px;border-radius:15px;overflow:hidden}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-head{flex:0 0 auto;margin:0 0 6px;align-items:center}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-head .pxpot-section-kicker{font-size:7px;letter-spacing:.12em}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-head h3{margin:1px 0 0;font-size:14px}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-count{padding:4px 7px;font-size:9px}
.pxpot-page.pxpot-v42 .pxpot-v37-hand{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:5px;flex:1 1 auto;min-height:0;overflow:hidden}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-card{display:block;min-width:0;min-height:0;height:100%;padding:0;border-radius:9px;overflow:visible}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-card .pxpot-v37-card-face{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:center;justify-items:stretch;gap:1px 6px;width:100%;height:100%;min-height:0!important;padding:5px 7px;border-radius:9px;text-align:left}
.pxpot-page.pxpot-v42 .pxpot-v37-card-category{grid-column:1/-1;grid-row:1;font-size:6px;line-height:1.1}
.pxpot-page.pxpot-v42 .pxpot-v37-card-emoji{grid-column:1;grid-row:2;justify-self:center;font-size:22px;line-height:1}
.pxpot-page.pxpot-v42 .pxpot-v37-card-face>strong{grid-column:2;grid-row:2;align-self:center;font-size:9px;line-height:1.1}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-card:hover:not(:disabled){transform:translateY(-2px)}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-card.is-selected .pxpot-v37-card-face{outline:2px solid #d78a46;outline-offset:1px;transform:translateY(-1px)}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-actions{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr);gap:5px;margin:7px 0 0;flex:0 0 auto}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-actions button{width:100%!important;min-width:0!important;min-height:33px!important;padding:0 7px!important;font-size:9px!important;white-space:normal}
.pxpot-page.pxpot-v42 .pxpot-v37-set-summary{display:block;flex:0 0 auto;max-height:32px;overflow:hidden;margin:5px 0 0;font-size:8px;line-height:1.25}
.pxpot-page.pxpot-v42 .pxpot-v37-set-summary strong{display:inline;margin-right:5px}
.pxpot-page.pxpot-v42 .pxpot-v37-set-summary span{display:inline-block;padding:2px 5px;margin:2px 3px 0 0;font-size:7px}

/* Strong visual language for the player whose turn it is. */
.pxpot-page.pxpot-v42 .pxpot-v37-seat-zone{isolation:isolate}
.pxpot-page.pxpot-v42 .pxpot-v37-seat-zone.is-current:before{content:"";position:absolute;z-index:-1;inset:4% 8%;border:2px solid rgba(255,224,147,.88);border-radius:22px;background:radial-gradient(ellipse at center,rgba(255,180,71,.25),rgba(255,180,71,.04) 62%,transparent 76%);box-shadow:0 0 0 3px rgba(255,211,127,.16),0 0 24px rgba(255,184,76,.48),inset 0 0 20px rgba(255,202,111,.13);animation:pxpot-v42-turn-pulse 2s ease-in-out infinite}
.pxpot-page.pxpot-v42 .pxpot-v37-seat-zone.is-current-self:before{border-color:#fff0b2;box-shadow:0 0 0 4px rgba(255,224,145,.22),0 0 34px rgba(255,177,62,.75),inset 0 0 26px rgba(255,222,150,.2)}
.pxpot-page.pxpot-v42 .pxpot-v37-seat-zone.is-current .pxpot-v37-player-tag{position:relative;border:2px solid #ffe3a0;background:linear-gradient(120deg,rgba(121,69,28,.98),rgba(69,48,35,.98));box-shadow:0 0 0 3px rgba(255,218,135,.25),0 6px 18px rgba(0,0,0,.42),0 0 22px rgba(255,190,85,.58);color:#fff9e8;transform:translateY(-2px)}
.pxpot-page.pxpot-v42 .pxpot-v37-seat-zone.is-current-self .pxpot-v37-player-tag{background:linear-gradient(120deg,#9d5c24,#65402c);border-color:#fff0b9}
.pxpot-page.pxpot-v42 .pxpot-v42-turn-flag{display:inline-flex;align-items:center;justify-content:center;padding:3px 6px;border-radius:999px;background:linear-gradient(135deg,#ffe7a4,#efb64d);color:#4e3017;font-size:7px;font-weight:1000;letter-spacing:.06em;text-shadow:none;box-shadow:0 1px 5px rgba(0,0,0,.2)}
.pxpot-page.pxpot-v42 .pxpot-v37-seat-zone.is-current .pxpot-v40-cardback{box-shadow:0 0 0 1px rgba(255,240,188,.35),0 4px 12px rgba(255,193,82,.35),inset 0 0 0 2px rgba(65,96,62,.22)}
.pxpot-page.pxpot-v42 .pxpot-v37-game-toolbar .pxpot-section-kicker{color:#b77a3e}
.pxpot-page.pxpot-v42 .pxpot-v37-game.pxpot-v42-own-turn .pxpot-v37-game-toolbar{border-color:rgba(216,151,65,.55);background:linear-gradient(105deg,rgba(255,245,223,.98),var(--pot-card) 52%);box-shadow:0 0 0 2px rgba(215,138,70,.1),0 6px 22px rgba(152,97,39,.1)}
.pxpot-page.pxpot-v42 .pxpot-v37-game.pxpot-v42-own-turn .pxpot-v37-game-toolbar [data-pot-turn-label]{color:#9a5b24}
.pxpot-page.pxpot-v42 .pxpot-v37-game.pxpot-v42-own-turn .pxpot-v37-game-toolbar [data-pot-turn-label]:before{content:"DEIN ZUG  ·  ";font-size:.72em;font-weight:1000;letter-spacing:.08em;color:#cb8031}
@keyframes pxpot-v42-turn-pulse{0%,100%{opacity:.72;filter:brightness(.98)}50%{opacity:1;filter:brightness(1.12)}}

/* Tablet portrait: full-width table above a compact four-column hand. */
@media (min-width:760px) and (orientation:portrait){
 .pxpot-page.pxpot-v42 .pxpot-v42-play-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.08fr) minmax(0,.92fr);gap:7px}
 .pxpot-page.pxpot-v42 .pxpot-v42-board-column{grid-template-rows:minmax(0,1fr) auto}
 .pxpot-page.pxpot-v42 .pxpot-v37-board-stage{width:min(100%,calc((100svh - 520px)*1.777));}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand-panel{padding:8px}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr)}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand-card .pxpot-v37-card-face{display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;text-align:center;gap:2px;padding:4px 3px}
 .pxpot-page.pxpot-v42 .pxpot-v37-card-category{font-size:6px}
 .pxpot-page.pxpot-v42 .pxpot-v37-card-emoji{font-size:clamp(16px,2.6vw,24px)}
 .pxpot-page.pxpot-v42 .pxpot-v37-card-face>strong{font-size:clamp(7px,.95vw,9px)}
}
/* Landscape tablets and desktops: board beside the hand, no page scrolling. */
@media (min-width:820px) and (orientation:landscape){
 .pxpot-page.pxpot-v42 .pxpot-v42-play-layout{grid-template-columns:minmax(0,1.55fr) minmax(300px,.9fr)}
}
/* Short screens (including landscape tablets): make every control denser. */
@media (max-height:720px) and (min-width:760px){
 body.pxpot-v42-playing .pxh-inner-main{padding-top:98px!important;padding-bottom:5px!important}
 body.pxpot-v42-playing .logo-container img{height:44px!important}
 .pxpot-page.pxpot-v42 .pxpot-v37-game-toolbar{min-height:42px;padding:5px 8px}
 .pxpot-page.pxpot-v42 .pxpot-v37-game-toolbar .pxpot-v37-quiet-btn{min-height:27px!important;padding:0 7px!important;font-size:9px!important}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand-panel{padding:6px}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand-head h3{font-size:12px}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand{gap:3px}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand-card .pxpot-v37-card-face{padding:3px 5px}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand-actions{margin-top:4px}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand-actions button{min-height:28px!important;font-size:8px!important}
 .pxpot-page.pxpot-v42 .pxpot-v37-set-summary{display:none}
}
/* Phones stay naturally scrollable rather than forcing tiny controls onto a narrow screen. */
@media (max-width:759px){
 body.pxpot-v42-playing .pxh-inner-main{height:auto;min-height:calc(100vh - 120px)!important;padding:94px 0 32px!important;overflow:visible}
 body.pxpot-v42-playing .pxh-inner-container{height:auto;display:block;width:calc(100% - 18px)}
 body.pxpot-v42-playing .pxh-inner-footer{display:block!important}
 .pxpot-page.pxpot-v42.is-playing{height:auto;min-height:0;display:block;width:calc(100% - 8px)}
 .pxpot-page.pxpot-v42 .pxpot-v42-game{display:block;height:auto;min-height:0;overflow:visible}
 .pxpot-page.pxpot-v42 .pxpot-v42-play-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:8px;height:auto;overflow:visible}
 .pxpot-page.pxpot-v42 .pxpot-v42-board-column{display:grid;grid-template-rows:auto auto;overflow:visible}
 .pxpot-page.pxpot-v42 .pxpot-v37-board-wrap{height:auto;min-height:0;overflow:hidden}
 .pxpot-page.pxpot-v42 .pxpot-v37-board-stage{width:100%;height:auto;min-width:0!important;min-height:0!important}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand-panel{height:auto;min-height:0;overflow:visible}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;grid-auto-rows:auto;overflow:visible}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand-card .pxpot-v37-card-face{height:92px;min-height:92px!important}
 .pxpot-page.pxpot-v42 .pxpot-v37-hand-actions{grid-template-columns:1fr}
 .pxpot-page.pxpot-v42 .pxpot-v37-set-summary{max-height:none}
}
/* Accessibility text enlargement takes priority over the one-screen optimization. */
@media (min-width:760px){
 body.a11y-text-large.pxpot-v42-playing .pxh-inner-main{height:auto;min-height:100vh!important;overflow:visible}
 body.a11y-text-large.pxpot-v42-playing .pxh-inner-container{height:auto}
 body.a11y-text-large.pxpot-v42-playing .pxpot-page.pxpot-v42.is-playing{height:auto;min-height:700px}
 body.a11y-text-large.pxpot-v42-playing .pxpot-v42-game{height:auto;min-height:700px;overflow:visible}
 body.a11y-text-large.pxpot-v42-playing .pxpot-v42-play-layout{min-height:620px}
}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-card{align-self:center;max-height:96px}
.pxpot-page.pxpot-v42 .pxpot-v37-hand-card .pxpot-v37-card-face{max-height:96px}
/* Keep the native hidden state authoritative while the responsive game grid is pre-initialized. */
.pxpot-page.pxpot-v42 .pxpot-v42-game[hidden]{display:none!important}
