body.poker-mode{overflow:hidden}.pk-room{position:fixed;inset:0;z-index:2;display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-width:none;width:100%;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(ellipse at center,#34213d,#120c1a 82%);color:#f2e2c4;isolation:isolate}.pk-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;border-bottom:1px solid #b999622e;background:#160f1dda}.pk-header>div{text-align:center}.pk-header>div>span{font-size:9px;letter-spacing:3px;color:#b69873}.pk-header h1{font:24px Georgia,serif;color:#f5d995;font-weight:normal;margin:3px 0 0}.pk-header button{background:transparent;border:1px solid #c6a77830;border-radius:5px;min-width:44px;min-height:44px;color:#dbbd92;font-size:18px}.pk-header .pk-back{font-size:13px;padding:0 12px}.pk-header nav{display:flex;gap:7px}.pk-header button:disabled{opacity:.3}.pk-table{position:relative;min-height:0;overflow:hidden;--seat-w:160px;--peek-w:38px;--peek-h:55px}.pk-felt-oval{position:absolute;inset:5% 6%;border:13px solid #422842;border-radius:48%;outline:1px solid #b8915266;box-shadow:0 10px 30px #0008,inset 0 0 0 2px #cdab5960,inset 0 0 65px #08051188;background:radial-gradient(ellipse,#3c274c,#261832);z-index:-1}.pk-felt-oval:after{content:'';position:absolute;inset:7%;border:1px solid #bd9c5b25;border-radius:50%}.pk-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46%;display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center;pointer-events:none}.pk-brand{font:italic clamp(24px,3vw,44px) Georgia,serif;color:#d3b278;opacity:.8}.pk-game{font-size:10px;letter-spacing:3px;color:#ac90ad}.pk-board{display:flex;justify-content:center;gap:6px;--card-w:clamp(26px,4.6vw,65px);--card-h:calc(var(--card-w)*1.45);margin:7px 0}.pk-board-space{width:var(--card-w);height:var(--card-h);border:1px solid #bda37c40;border-radius:5px;display:grid;place-items:center;font:24px Georgia,serif;color:#b59b7033;flex-shrink:0}.pk-pot{font-size:12px;letter-spacing:1px;color:#bfa48d}.pk-pot strong{display:block;font:clamp(22px,3vw,36px) Georgia,serif;color:#ffe5a4;letter-spacing:0;margin-top:4px}.pk-street{font-size:10px;color:#c4aec5;letter-spacing:1px}.pk-sidepots{font-size:11px;color:#cdb38b}.pk-seat{position:absolute;left:var(--x);top:var(--y);width:var(--seat-w);display:flex;flex-direction:column;align-items:center;gap:5px;transform:translate(-50%,-50%) rotate(var(--rotation,0deg));padding:8px 7px;border:1px solid transparent;border-radius:15px;text-align:center;background:#24172cba}.pk-seat-0{--x:28%;--y:82%}.pk-seat-1{--x:12%;--y:50%;--rotation:90deg}.pk-seat-2{--x:28%;--y:18%;--rotation:180deg}.pk-seat-3{--x:72%;--y:18%;--rotation:180deg}.pk-seat-4{--x:88%;--y:50%;--rotation:-90deg}.pk-seat-5{--x:72%;--y:82%}.pk-active{border-color:#f1ce86;background:#3b2945;box-shadow:0 0 20px #e5bd6329}.pk-folded{background:#1b122399;color:#a58caa}.pk-seat-meta{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-variant-numeric:tabular-nums;color:#f1d796;line-height:1.2}.pk-seat-meta small{font-size:9px;color:#ba9fbc}.pk-button-badge{font:9px Arial,sans-serif;padding:3px 5px;border-radius:10px;background:#e8ce8f;color:#2e1c34;white-space:nowrap}.pk-hole{display:flex;justify-content:center;gap:5px;--card-w:var(--peek-w);--card-h:var(--peek-h);height:var(--peek-h);pointer-events:none}.pk-hole .card{animation:none!important;transition:none!important}.pk-card-back{width:var(--peek-w);height:var(--peek-h);border:2px solid #d8c094;border-radius:4px;display:grid;place-items:center;background:repeating-linear-gradient(45deg,#44264f,#44264f 3px,#5e3962 3px,#5e3962 4px);color:#d6b780;font:italic 13px Georgia,serif;box-shadow:0 2px 4px #0004}.pk-waiting{display:grid;place-items:center;font-size:30px;color:#bf9e5c40}.pk-name{background:#1e1329;border:1px solid #bd975e66;color:#ead4aa;border-radius:6px;min-height:40px;width:100%;max-width:100%;font-size:14px;padding:6px 9px;overflow-wrap:anywhere;line-height:1.2;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.pk-name:disabled{opacity:.7}.pk-name.pk-peeking{background:#e2c486;color:#281833;border-color:#ffe1a2}.pk-seat-status{font-size:10px;color:#ba9dbd;line-height:1.2;min-height:12px}.pk-seat-status b{color:#ead299;font-weight:normal}.pk-vacant{background:none;border:1px dashed #bea26a35;min-height:50px;justify-content:center}.pk-vacant button{color:#b99baf;background:transparent;min-height:44px;min-width:90px;font-size:12px}.pk-controls{background:#160e1feF;border-top:1px solid #c3a46a44;padding:14px 26px 9px}.pk-open{display:flex;align-items:center;justify-content:center;gap:28px}.pk-open>div{max-width:70%;line-height:1.4}.pk-open strong{font:23px Georgia,serif;color:#f0d79e;display:block}.pk-open span{font-size:12px;color:#c3abc5;display:block;margin-top:6px;line-height:1.5}.pk-open .gold-button{flex-shrink:0}.pk-turn{display:flex;gap:24px;align-items:center;justify-content:center}.pk-turn>strong{font:22px Georgia,serif;color:#f4d696;max-width:220px;overflow-wrap:anywhere}.pk-turn>strong small{display:block;font:11px Arial,sans-serif;color:#bb9dbf;margin-top:5px}.pk-actions{display:flex;gap:8px}.pk-actions button{min-width:80px}.pk-actions .gold-button{gap:8px}.pk-allin{color:#f2b5c0;border-color:#ad647888}.pk-turn form{display:flex;gap:8px;align-items:end}.pk-turn label{font-size:10px;color:#c3a8bf;display:flex;flex-direction:column;gap:4px}.pk-turn input{width:100px;background:#2c1d36;color:#ffe1a3;border:1px solid #b2906355;border-radius:4px;height:44px;padding:8px;font-size:17px;font-variant-numeric:tabular-nums}.pk-call-hint{font-size:12px;color:#bfa4bb}.pk-privacy{display:flex;justify-content:center;gap:20px;font-size:10px;color:#ba9cbd;margin-top:12px;line-height:1.4}.pk-privacy>span{color:#8f7f94}.pk-rebuy{font-size:12px;text-align:center;margin-top:9px;color:#e8c185}.pk-settings-seats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 20px}.pk-settings-seats>div{display:grid;grid-template-columns:1fr 84px;gap:8px}.pk-settings-seats input{font-size:15px;padding:10px 8px;text-transform:none;letter-spacing:0}.pk-settings-seats label{font-size:12px}.poker-mode #toast{z-index:20}
@media(max-width:700px){.pk-header{padding:7px 10px;gap:6px}.pk-header h1{font-size:20px}.pk-header>div>span{font-size:8px;letter-spacing:2px}.pk-header nav{gap:3px}.pk-header button{min-width:36px;min-height:40px}.pk-header .pk-back{font-size:11px;padding:0 8px}.pk-table{--seat-w:118px;--peek-w:29px;--peek-h:42px}.pk-seat{padding:5px;gap:4px}.pk-name{font-size:12px;min-height:37px;padding:5px}.pk-seat-meta{font-size:12px;gap:4px}.pk-seat-meta small{font-size:8px}.pk-seat-status{font-size:9px}.pk-felt-oval{inset:5% 4%;border-width:8px}.pk-seat-0,.pk-seat-2{--x:28%}.pk-seat-3,.pk-seat-5{--x:72%}.pk-seat-1{--x:12%}.pk-seat-4{--x:88%}.pk-center{gap:7px;width:49%}.pk-game{font-size:8px;letter-spacing:1.4px}.pk-board{gap:3px;--card-w:clamp(25px,6.2vw,39px);margin:2px 0}.pk-brand{font-size:25px}.pk-street{font-size:8px;line-height:1.5;letter-spacing:.6px}.pk-controls{padding:12px 12px 8px}.pk-turn{display:grid;grid-template-columns:1fr auto;gap:10px}.pk-turn>strong{font-size:19px;max-width:none;grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:10px}.pk-turn>strong small{margin:0;white-space:nowrap}.pk-actions{gap:5px}.pk-actions button{min-width:0;padding:10px 11px;font-size:13px}.pk-turn form{gap:5px}.pk-turn label{font-size:9px;position:relative}.pk-turn label input{width:68px;height:42px;font-size:15px}.pk-turn form>button{padding:8px 10px;font-size:12px}.pk-call-hint{text-align:right;font-size:11px}.pk-privacy{font-size:9px;flex-wrap:wrap;gap:3px 12px;margin-top:10px}.pk-open{gap:12px}.pk-open strong{font-size:18px}.pk-open span{font-size:10px}.pk-open .gold-button{font-size:13px;gap:6px;padding:10px 13px}.pk-settings-seats{grid-template-columns:1fr}.pk-settings-seats>div{grid-template-columns:1fr 95px}}
@media(max-width:400px){.pk-table{--seat-w:100px;--peek-w:27px;--peek-h:39px}.pk-header nav button{min-width:30px}.pk-header h1{font-size:18px}.pk-seat-0,.pk-seat-2{--x:27%}.pk-seat-3,.pk-seat-5{--x:73%}.pk-name{font-size:11px}.pk-actions button{padding:10px 8px;font-size:12px}.pk-turn form>button{padding:8px}.pk-controls{padding:10px 9px 6px}.pk-brand{font-size:22px}}
@media(max-height:620px) and (min-width:621px){.pk-header{padding:3px 15px}.pk-header h1{font-size:19px}.pk-header>div>span{display:none}.pk-header button{min-height:34px}.pk-controls{padding:7px 15px 5px}.pk-turn{gap:14px}.pk-turn>strong{font-size:18px}.pk-actions button{min-height:38px;padding:8px 15px;min-width:60px}.pk-turn input{height:38px;width:80px}.pk-turn form>button{min-height:38px;padding:8px 15px}.pk-privacy{margin-top:5px;font-size:9px}.pk-table{--seat-w:128px;--peek-w:24px;--peek-h:34px}.pk-seat{padding:3px 5px;gap:2px}.pk-name{min-height:29px;font-size:11px;padding:3px}.pk-seat-meta{font-size:10px}.pk-seat-status{font-size:8px;min-height:9px}.pk-seat-0,.pk-seat-5{--y:81%}.pk-seat-2,.pk-seat-3{--y:19%}.pk-center{gap:4px}.pk-brand{font-size:23px}.pk-game{display:none}.pk-board{--card-w:36px;margin:2px 0}.pk-pot strong{display:inline;font-size:24px;margin-left:7px}.pk-street{font-size:9px}.pk-open strong{font-size:18px}.pk-open span{font-size:10px}.pk-open .gold-button{min-height:38px;padding:8px 15px}}
@media(max-height:700px) and (max-width:620px){.pk-table{--peek-w:23px;--peek-h:33px}.pk-seat{gap:2px;padding:3px}.pk-name{min-height:32px}.pk-seat-meta{font-size:10px}.pk-seat-status{font-size:8px}.pk-controls{padding-top:8px}.pk-center{gap:5px}.pk-brand{font-size:21px}.pk-game{font-size:7px}}

/* A peek grows inward, above the held name, without moving its touch target. */
.pk-hole{align-items:flex-end}.pk-hole .card{--card-w:45px;--card-h:65px;flex-shrink:0;z-index:1}
@media(max-width:500px){.pk-seat-1,.pk-seat-4{--seat-w:80px;--peek-w:23px;--peek-h:34px;--rotation:0deg}.pk-seat-1{--x:50px}.pk-seat-4{--x:calc(100% - 50px)}.pk-seat-1 .pk-name,.pk-seat-4 .pk-name{font-size:11px;padding:5px 3px}.pk-seat-1 .pk-seat-meta,.pk-seat-4 .pk-seat-meta{font-size:10px;gap:3px}.pk-seat-1 .pk-seat-meta small,.pk-seat-4 .pk-seat-meta small{display:none}.pk-seat-1 .pk-seat-status,.pk-seat-4 .pk-seat-status{font-size:8px}.pk-seat-1 .pk-button-badge,.pk-seat-4 .pk-button-badge{font-size:8px;padding:2px 4px}}

/* Jules stays in the centre layout, clear of cards and hold-to-peek names. */
.pk-signature{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;max-width:100%}
.pk-jules{display:block;flex-shrink:0;width:88px;height:132px;object-fit:contain;border:0;border-radius:0;box-shadow:none;background:transparent;-webkit-mask-image:radial-gradient(ellipse at center,#000 52%,transparent 74%);mask-image:radial-gradient(ellipse at center,#000 52%,transparent 74%);pointer-events:none;user-select:none;-webkit-user-select:none}
.pk-wordmark{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
@media(max-width:700px){.pk-signature{gap:4px}.pk-jules{width:48px;height:72px}.pk-wordmark{gap:5px}.pk-wordmark .pk-brand{font-size:22px}.pk-wordmark .pk-game{font-size:7px;letter-spacing:1px}}
@media(max-width:400px){.pk-signature{gap:4px}.pk-wordmark .pk-brand{font-size:20px}}
@media(max-height:700px) and (max-width:620px){.pk-jules{width:36px;height:54px}.pk-wordmark .pk-brand{font-size:19px}.pk-wordmark{gap:3px}}
@media(max-height:620px) and (min-width:621px){.pk-signature{gap:4px}.pk-jules{width:36px;height:54px}.pk-wordmark .pk-brand{font-size:23px}}
