@import url('/static/fonts.css');
:root{color-scheme:dark;--bg:#101918;--panel:#172320;--line:#2c3a34;--text:#edf0e7;--muted:#9caea2;--gold:#d5b77a;--green:#9bd6ad;--red:#e58b86}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:1px solid #3a4a40;background:#23332b;color:var(--text);border-radius:8px;padding:11px 17px;transition:background .15s,transform .15s}button:hover{background:#354a3c}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.primary{background:var(--gold);color:#1e251c;border-color:var(--gold);font-weight:700}.primary:hover{background:#e8ca8f}.quiet{background:transparent}.large{padding:17px 24px;min-width:245px;display:flex;justify-content:space-between;gap:30px}.full{width:100%}.text-button{border:0;background:none;color:var(--gold);padding:0}a{color:var(--gold);text-decoration:none}h1,h2,h3,p{margin:0}header{height:96px;max-width:1520px;margin:auto;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;color:var(--text);font-weight:700;letter-spacing:2px;font-size:18px}.brand-icon{font-size:38px;color:var(--gold)}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:3px;color:var(--muted)}.header-right{display:flex;gap:24px;align-items:center;font-size:14px}#connection{color:var(--muted)}#identity{border-left:1px solid var(--line);padding-left:22px}main{max-width:1440px;margin:auto;padding:0 4%}[hidden]{display:none!important}.intro{min-height:540px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding:55px 0 35px}.eyebrow{color:var(--gold);font-size:12px;font-weight:600;letter-spacing:2.2px;margin-bottom:20px}h1{font-size:clamp(36px,4.2vw,62px);font-weight:400;line-height:1.12;letter-spacing:-2px}h1 em{font-family:Georgia,serif;color:var(--gold);font-weight:400}.lead{color:var(--muted);margin:24px 0 30px;line-height:1.7}.muted{color:var(--muted);font-size:13px;margin-top:16px}.hero-art{position:relative;min-height:410px;isolation:isolate}.orbit{position:absolute;width:390px;height:390px;border:1px solid #304036;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,#29473877,transparent 70%)}.orbit:after{content:'';position:absolute;inset:25px;border:1px solid #27362e;border-radius:50%}.hero-card{position:absolute;width:155px;height:225px;border-radius:12px;background:#e7e9de;color:#152820;box-shadow:0 22px 45px #0006;padding:17px;font-family:Georgia,serif;font-size:34px;line-height:1}.hero-card span{display:block;font-size:29px}.hero-card b{position:absolute;font-size:100px;top:80px;left:44px;font-weight:400}.card-one{left:25%;top:90px;transform:rotate(-17deg)}.card-two{left:48%;top:70px;transform:rotate(15deg);color:#a54842}.chip{position:absolute;border-radius:50%;width:83px;height:83px;border:8px dashed #d6bc80;outline:5px solid #294338;box-shadow:0 8px #14261c,0 12px 20px #0008;background:#244b39;display:grid;place-items:center;font-family:Georgia,serif;font-size:25px;transform:rotate(-20deg)}.chip-one{left:68%;top:285px}.chip-two{left:55%;top:315px;width:68px;height:68px;font-size:21px;background:#854b3d;outline-color:#56362d}.art-caption{position:absolute;bottom:0;left:18%;letter-spacing:5px;font-size:10px;color:#748879}.lobby-bottom{display:grid;grid-template-columns:1.45fr 1fr;gap:60px;border-top:1px solid var(--line);padding:38px 0 55px}.lobby-bottom h2{font-size:25px;margin-bottom:20px}.lobby-bottom .eyebrow{margin-bottom:8px}.fair-card{position:relative;border:1px solid var(--line);border-radius:12px;padding:26px 30px 26px 74px}.fair-card .diamond{position:absolute;left:28px;top:22px;font-size:34px;color:var(--gold)}.fair-card h3{font-family:Georgia,serif;font-size:24px;font-weight:400;margin-bottom:12px}.fair-card p{font-size:14px;color:var(--muted);margin-bottom:15px}.room-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}.room-row small{display:block;color:var(--muted)}footer{max-width:1440px;margin:auto;padding:24px 4%;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px;color:#829587}footer span:first-child{letter-spacing:2px;color:var(--gold)}.table-heading{display:flex;justify-content:space-between;align-items:center;padding:25px 0 24px}.back{font-size:12px;color:var(--muted)}.table-heading h1{font-size:29px;letter-spacing:-.5px;margin-top:5px}.table-heading p{font-size:13px;color:var(--muted);margin-top:8px}.table-tools{display:flex;gap:10px}.table-tools button{font-size:13px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;padding-bottom:30px}.game-area{background:radial-gradient(ellipse at center,#24352a55,#131e19);border:1px solid var(--line);border-radius:14px;overflow:hidden}.game-banner{display:flex;justify-content:space-between;padding:15px 22px;color:var(--muted);font-size:12px;border-bottom:1px solid #26372d}.table-wrap{position:relative;height:460px;margin:20px 8px 0}.felt{position:absolute;left:12%;right:12%;top:17%;bottom:17%;border-radius:45%;border:10px solid #354438;background:radial-gradient(ellipse,#245342,#173c2f);box-shadow:0 0 0 2px #526048,0 0 0 12px #111a15,0 20px 25px #0005,inset 0 0 50px #09231a;display:flex;flex-direction:column;align-items:center;justify-content:center}.felt-brand{font-size:11px;letter-spacing:5px;color:#7baa8b88;margin-bottom:15px}#community{display:flex;gap:6px;min-height:68px}#pot{font-size:16px;color:#ead9ae;margin-top:12px;font-weight:600}#tableMessage{font-size:13px;color:#b2c9b9;text-align:center;padding:5px 20px;max-width:350px}.playing-card{display:inline-flex;position:relative;flex-direction:column;justify-content:center;align-items:center;background:#eff0e4;color:#1b2b25;border-radius:5px;width:46px;height:65px;font-family:Georgia,serif;box-shadow:0 3px 6px #0004;font-size:24px;line-height:1.05;border:1px solid #d4dbcb}.playing-card.red{color:#b64e4a}.playing-card .suit{font-size:21px}.playing-card.back-card{background:repeating-linear-gradient(45deg,#304c3d,#304c3d 3px,#405c4a 3px,#405c4a 5px);border:3px solid #b3c0ad;color:#c7ba8b;font-size:24px}.playing-card.placeholder{background:#0e2c23;border:1px solid #3c6553;box-shadow:none}.seat{position:absolute;width:116px;transform:translate(-50%,-50%);text-align:center;z-index:2}.seat-box{background:#19271f;border:1px solid #4a5a47;border-radius:9px;padding:8px 6px;position:relative;box-shadow:0 4px 12px #0004}.seat.acting .seat-box{border:2px solid var(--gold);box-shadow:0 0 20px #d5b77a22}.seat.self .seat-name{color:var(--gold)}.seat.folded{opacity:.55}.seat-name{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-weight:600}.seat-stack{font-size:14px;color:#d3dfcd;font-variant-numeric:tabular-nums}.seat-note{font-size:10px;color:var(--muted)}.seat-cards{display:flex;justify-content:center;gap:3px;margin-bottom:4px}.seat-cards .playing-card{width:30px;height:41px;font-size:17px}.seat-cards .suit{font-size:15px}.seat-empty{background:#17271dcc;border:1px dashed #5d70594d;border-radius:10px;padding:12px 3px;width:100%;font-size:12px;color:#8ca38e}.seat-empty span{display:block;font-size:20px;color:#a7b99a}.dealer{position:absolute;right:-9px;top:-9px;border-radius:50%;background:#eee4c7;color:#20352a;font-size:11px;font-weight:bold;width:22px;height:22px;display:grid;place-items:center}.seat-bet{position:absolute;right:-14px;bottom:-12px;border-radius:12px;padding:1px 7px;background:#c1a068;color:#1e2b20;font-size:11px;font-weight:bold}.winner{color:var(--green);font-size:12px}.controls{min-height:155px;border-top:1px solid var(--line);padding:16px 22px;background:#15211b}#playerStatus{font-size:14px;margin-bottom:12px;color:var(--muted)}#actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}#actions button{font-size:14px;min-width:90px}#actions input{width:115px;padding:11px;border:1px solid #4a5a47;background:#0f1b14;border-radius:7px;color:var(--text)}#actions label{font-size:12px;color:var(--muted)}#seatTools{display:flex;gap:14px;margin-top:12px}#seatTools button{background:none;border:0;padding:0;font-size:12px;color:var(--muted)}.side-panel{background:#17231d;border:1px solid var(--line);border-radius:12px;padding:22px 18px;align-self:stretch}.proof-badge{display:flex;gap:12px;margin-bottom:24px}.proof-badge>span{color:var(--gold);font-size:30px}.proof-badge b{font-size:13px}.proof-badge small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.label{font-size:10px;letter-spacing:1.5px;color:var(--muted);margin-bottom:12px}code{display:block;overflow-wrap:anywhere;font-size:11px;color:#a5bb9e;background:#111c16;padding:12px;border-radius:6px;margin-bottom:14px}.side-panel button{font-size:12px;padding:10px}.divider{height:1px;background:var(--line);margin:24px 0}#activity{font-size:12px;color:var(--muted);line-height:1.8;min-height:100px;max-height:240px;overflow:auto}.activity-row{padding:4px 0;border-bottom:1px solid #26372c}.side-note{font-size:11px;color:#879a89;margin-top:28px;line-height:1.65}dialog{border:1px solid #415241;background:#18241d;color:var(--text);padding:36px;border-radius:16px;max-width:450px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;box-shadow:0 30px 150px #0009}dialog::backdrop{background:#06100bd9;backdrop-filter:blur(7px)}dialog.wide{max-width:700px}dialog h2{font-size:30px;font-family:Georgia,serif;font-weight:400;line-height:1.2;margin-bottom:17px}dialog p{font-size:14px;color:var(--muted);margin:14px 0}dialog .eyebrow{font-size:10px;color:var(--gold)}dialog label{display:block;margin-top:22px;font-size:13px;color:#bac8b8}dialog input,dialog select{display:block;width:100%;background:#101b14;border:1px solid #43533e;padding:13px;margin-top:8px;border-radius:7px;color:var(--text)}.notice{background:#253528;border:1px solid #40523a;border-radius:8px;padding:15px;font-size:13px;color:#b8c8ad;line-height:1.65;margin:24px 0}.close{position:absolute;right:12px;top:10px;font-size:25px;padding:0 8px;border:0;background:none;color:var(--muted)}.steps{padding-left:22px;color:var(--muted);font-size:14px}.steps li{padding:7px 0 12px}.steps b{color:var(--text)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#e2cf9e;color:#203020;padding:14px 22px;border-radius:10px;max-width:90%;box-shadow:0 10px 40px #0008;z-index:100;font-size:14px}#proofDetails{white-space:pre-wrap;font-size:12px;overflow-wrap:anywhere;background:#101b14;padding:15px;max-height:350px;overflow:auto}#proofResult{font-size:15px;color:var(--green)}.history-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.history-row small{display:block;color:var(--muted);font-size:12px}.history-row button{font-size:13px}
@media(min-width:1400px){.table-wrap{height:510px}.seat{width:128px}.felt{left:13%;right:13%}}
@media(max-width:1050px){.game-layout{grid-template-columns:1fr}.side-panel{display:none}.table-wrap{height:470px}.intro{gap:0}.hero-card{width:130px;height:190px}.hero-card b{font-size:80px;left:34px}.orbit{width:320px;height:320px}.lobby-bottom{gap:25px}}
@media(max-width:650px){header{height:76px;padding:0 5%}.brand{font-size:14px;letter-spacing:1px;gap:8px}.brand small{font-size:8px;letter-spacing:2px}.brand-icon{font-size:29px}.header-right{gap:10px}.header-right button{font-size:12px;padding:8px}#connection{display:none}#identity{display:none}main{padding:0 4%}.intro{display:flex;flex-direction:column;padding:42px 0 25px;align-items:stretch}.intro h1{font-size:41px}.lead{font-size:14px}.hero-art{min-height:270px;margin-top:15px}.orbit{width:240px;height:240px}.hero-card{top:35px;width:110px;height:160px;font-size:26px}.hero-card span{font-size:23px}.hero-card b{font-size:65px;left:30px;top:62px}.card-one{left:27%}.card-two{left:49%;top:28px}.chip-one{top:175px;left:67%;width:65px;height:65px;font-size:18px}.chip-two{top:200px;left:52%;width:52px;height:52px;font-size:15px;border-width:6px}.art-caption{bottom:0;left:26%;font-size:8px}.lobby-bottom{display:block;padding:28px 0}.fair-card{margin-top:28px;padding:22px 22px 22px 62px}.fair-card .diamond{left:22px}footer{gap:15px;font-size:10px}footer span:last-child{display:none}.table-heading{padding:18px 0;gap:10px}.table-heading h1{font-size:21px;max-width:190px;overflow-wrap:anywhere}.table-heading p{font-size:11px}.table-tools{flex-direction:column;gap:5px}.table-tools button{font-size:11px;padding:8px 9px}.table-wrap{height:510px;margin:5px 0 0}.felt{left:15%;right:15%;top:13%;bottom:15%;border-radius:45%;border-width:7px}.felt-brand{font-size:8px;letter-spacing:3px;margin-top:-10px}#community{gap:3px;min-height:45px}.playing-card{width:31px;height:45px;font-size:18px}.playing-card .suit{font-size:15px}.seat{width:83px}.seat-box{padding:5px 4px}.seat-name{font-size:11px}.seat-stack{font-size:12px}.seat-note{font-size:9px}.seat-cards .playing-card{width:24px;height:33px;font-size:14px}.seat-cards .suit{font-size:12px}.seat-empty{font-size:10px;padding:8px 2px}.seat-empty span{font-size:17px}.dealer{width:18px;height:18px;font-size:10px;right:-6px;top:-8px}.seat-bet{right:-7px;font-size:10px}.winner{font-size:10px}#tableMessage{font-size:11px;max-width:180px;padding:5px 7px}#pot{font-size:13px}.controls{padding:14px 12px;min-height:170px}#actions{gap:7px}#actions button{padding:10px;font-size:12px;min-width:70px}#actions input{width:83px;font-size:13px;padding:9px}#playerStatus{font-size:12px}.game-banner{padding:12px;font-size:10px}dialog{padding:28px 22px}dialog h2{font-size:27px}#seatTools{gap:12px}#seatTools button{font-size:11px}}

.seat[data-position="0"]{left:50%;top:90%}
.seat[data-position="1"]{left:22%;top:83%}
.seat[data-position="2"]{left:10%;top:60%}
.seat[data-position="3"]{left:13%;top:32%}
.seat[data-position="4"]{left:32%;top:12%}
.seat[data-position="5"]{left:68%;top:12%}
.seat[data-position="6"]{left:87%;top:32%}
.seat[data-position="7"]{left:90%;top:60%}
.seat[data-position="8"]{left:78%;top:83%}
@media(max-width:650px){.seat[data-position="0"]{left:50%;top:90%}.seat[data-position="1"]{left:18%;top:81%}.seat[data-position="2"]{left:13%;top:59%}.seat[data-position="3"]{left:15%;top:36%}.seat[data-position="4"]{left:32%;top:15%}.seat[data-position="5"]{left:68%;top:15%}.seat[data-position="6"]{left:85%;top:36%}.seat[data-position="7"]{left:87%;top:59%}.seat[data-position="8"]{left:82%;top:81%}}
.video-section{border:1px solid var(--line);border-radius:12px;margin-bottom:20px;padding:16px 18px;background:#17231d}.video-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.video-heading b{display:block;font-size:14px}.video-heading #videoStatus{display:block;color:var(--muted);font-size:12px;margin-top:2px}.video-controls{display:flex;gap:7px;flex-wrap:wrap}.video-controls button{font-size:12px;padding:9px 12px}.video-controls .enabled{border-color:#85b690;background:#2b4633}.video-hint{font-size:11px;color:var(--muted);margin-top:10px}.video-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin-top:15px}.video-tile{position:relative;min-height:92px;aspect-ratio:4/3;background:#0d1912;overflow:hidden;border:2px solid #344635;border-radius:8px;max-height:180px}.video-tile.speaking{border-color:#b8ca87}.video-tile video{width:100%;height:100%;object-fit:cover}.video-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-family:Georgia,serif;font-size:36px;color:#c6ba91;background:radial-gradient(circle,#314a35,#17251a)}.video-label{position:absolute;bottom:0;left:0;right:0;background:#08130cbb;padding:5px;display:flex;justify-content:space-between;gap:5px;font-size:10px}.video-label span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-label span:last-child{color:#b0c0a5;flex-shrink:0}@media(max-width:650px){.video-section{padding:12px}.video-heading{align-items:flex-start;flex-direction:column;gap:10px}.video-controls button{font-size:11px;padding:8px}.video-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.video-tile{min-height:72px}.video-label{font-size:9px}.video-label span:last-child{font-size:8px}.video-hint{font-size:10px}}
.video-track-status{position:absolute;top:4px;left:4px;padding:2px 5px;background:#09150ccc;border-radius:4px;color:#c5d4bd;font-size:10px}.video-label{flex-direction:column;gap:0}.media-devices{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px}.media-devices label{font-size:12px;color:var(--muted);max-width:100%}.media-devices select{display:block;margin-top:4px;max-width:230px;background:#102016;color:var(--text);border:1px solid var(--line);border-radius:6px;padding:7px;font-size:12px}.table-tools{flex-wrap:wrap;justify-content:flex-end}@media(max-width:650px){.video-track-status{font-size:8px}.media-devices{gap:8px}.media-devices select{max-width:145px}}
.auth-tabs{display:flex;gap:10px;margin:0 0 22px}.auth-tabs button{flex:1;font-size:13px}.audit-consent{background:#263729;padding:12px;border-radius:8px;font-size:13px!important}.audit-consent input{display:inline-block;width:auto;margin:0 8px 0 0}#accountSwitch{display:block;margin-top:20px}#accountInfo{color:var(--muted);font-size:14px}#authError{color:var(--red)}#showProofCards,#approveAudit{margin:12px 8px 0 0}#accountBtn{font-size:12px;padding:8px 10px}@media(max-width:650px){#accountBtn{font-size:10px;padding:7px}.header-right{gap:5px}.header-right #fairnessBtn{font-size:10px;padding:7px}}
/* Camera, cards and stack occupy one stable player seat. */
.table-wrap{height:590px;margin-top:16px}.seat{width:128px}.seat-player{position:relative}.seat-media{height:76px;position:relative;background:#17291e;border:1px solid #465e46;border-radius:9px 9px 0 0;overflow:hidden}.seat-avatar{position:absolute;inset:0;display:grid;place-items:center;font:32px Georgia,serif;color:#cab884;background:radial-gradient(ellipse,#354e39,#15251b)}.seat-video-slot{position:absolute;inset:0}.seat-video-slot .video-tile{width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;border:0;border-radius:0}.seat-video-slot .video-tile.speaking{box-shadow:inset 0 0 0 3px #b8ca87}.seat-video-slot .video-label{display:none}.seat-video-slot .video-track-status{top:auto;bottom:3px;left:3px;max-width:calc(100% - 6px);font-size:9px;padding:1px 4px;background:#09150cbb}.seat-video-slot .video-tile.speaking:after{content:'Говорит';position:absolute;top:3px;right:3px;background:#bad58a;color:#1b2e1b;border-radius:3px;padding:1px 4px;font-size:9px}.seat .seat-box{border-radius:0 0 9px 9px;min-height:56px;padding:6px}.seat .seat-cards{position:absolute;right:-12px;top:48px;z-index:3;transform:rotate(8deg);gap:2px;pointer-events:none}.seat .seat-cards .playing-card{width:28px;height:39px;font-size:16px}.seat .seat-cards .suit{font-size:14px}.seat.folded{opacity:1}.seat.folded .seat-box,.seat.folded .seat-cards{opacity:.6}.seat.acting .seat-media{border-color:var(--gold)}.seat .dealer{left:-10px;right:auto}.seat-empty{min-height:70px}.seat-empty b{font-weight:400}.felt{left:13%;right:13%;top:19%;bottom:19%}.felt-brand{margin-bottom:10px}.video-section{padding:12px 16px;margin-bottom:14px}.video-hint{margin-top:7px;font-size:11px}
@media(min-width:1400px){.table-wrap{height:590px}.seat{width:140px}.seat-media{height:82px}}
@media(max-width:1050px){.table-wrap{height:570px}.seat{width:116px}.seat-media{height:70px}}
@media(max-width:650px){.table-wrap{height:570px;margin-top:8px}.seat{width:84px}.seat-media{height:53px;border-radius:7px 7px 0 0}.seat .seat-box{min-height:46px;padding:4px 2px}.seat-avatar{font-size:24px}.seat .seat-cards{right:-6px;top:34px;gap:1px}.seat .seat-cards .playing-card{width:21px;height:30px;font-size:12px}.seat .seat-cards .suit{font-size:11px}.seat-video-slot .video-track-status{font-size:7px;padding:1px 2px;bottom:1px;left:2px}.seat-video-slot .video-tile.speaking:after{font-size:8px}.seat .dealer{width:16px;height:16px;left:-5px;top:-6px;font-size:9px}.felt{left:16%;right:16%;top:20%;bottom:20%}.felt-brand{font-size:8px}.video-section{padding:10px}.video-heading{gap:7px}.video-controls{gap:5px}.video-controls button{padding:7px 8px}.video-hint{font-size:10px}}
.seat[data-position="0"]{top:86%}.seat[data-position="1"],.seat[data-position="8"]{top:79%}.seat[data-position="2"],.seat[data-position="7"]{top:57%}.seat[data-position="3"],.seat[data-position="6"]{top:34%}.seat[data-position="4"],.seat[data-position="5"]{top:14%}@media(max-width:650px){.seat[data-position="0"]{top:89%}.seat[data-position="1"],.seat[data-position="8"]{top:80%}.seat[data-position="2"],.seat[data-position="7"]{top:59%}.seat[data-position="3"],.seat[data-position="6"]{top:36%}.seat[data-position="4"],.seat[data-position="5"]{top:15%}}
@media(min-width:651px){.at-table header{height:66px}.at-table .table-heading{padding:13px 0}.at-table .table-heading h1{font-size:25px}.at-table .table-heading p{margin-top:4px}.at-table .video-section{padding:9px 14px}.at-table .video-hint{margin-top:4px}.at-table .table-wrap{height:520px;margin-top:10px}.at-table .seat{width:124px}.at-table .seat-media{height:64px}.at-table .seat .seat-box{min-height:51px;padding:4px}.at-table .seat .seat-cards{top:24px;right:-10px}.at-table .controls{min-height:128px;padding:12px 18px}.at-table .game-banner{padding:10px 18px}.at-table .game-layout{padding-bottom:16px}.at-table footer{padding-top:12px;padding-bottom:12px}.at-table .seat[data-position="1"],.at-table .seat[data-position="8"]{top:81%}}
@media(max-width:650px){.seat .seat-cards{top:20px}}
/* Laptop game mode: the table receives all remaining viewport space. */
@media(min-width:651px){
 body.at-table{height:100dvh;overflow:hidden;display:flex;flex-direction:column}
 .at-table header{height:52px;min-height:52px;max-width:none;width:100%;padding:0 20px}
 .at-table .brand{font-size:16px}.at-table .brand-icon{font-size:28px}.at-table .brand small{font-size:8px}
 .at-table main#tablePage{flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:0 16px;display:flex;flex-direction:column}
 .at-table footer{display:none}
 .at-table .table-heading{flex:none;min-height:58px;padding:8px 0;gap:12px}
 .at-table .table-heading h1{font-size:22px;line-height:1.1;margin-top:2px;max-width:45vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .at-table .back{font-size:10px}.at-table .table-heading p{font-size:11px;margin-top:3px}
 .at-table .table-tools{gap:7px;flex-wrap:nowrap}.at-table .table-tools button{font-size:12px;padding:8px 11px}
 .at-table .video-section{flex:none;margin:0 0 8px;padding:7px 12px}
 .at-table .video-hint{display:none}.at-table .video-heading{gap:12px}.at-table .video-heading b{font-size:12px}
 .at-table #videoStatus{font-size:11px}.at-table .video-controls{gap:6px}.at-table .video-controls button{font-size:11px;padding:7px 9px}
 .at-table .media-devices{margin-top:5px;gap:12px}.at-table .media-devices label{display:flex;gap:7px;align-items:center;font-size:11px}.at-table .media-devices select{margin:0;padding:3px 6px;max-width:210px;font-size:11px}
 .at-table .game-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 220px;gap:12px;padding:0 0 10px}
 .at-table .game-area{min-height:0;display:flex;flex-direction:column}
 .at-table .game-banner{flex:none;padding:6px 14px;font-size:11px;line-height:1.4}
 .at-table .table-wrap{flex:1;min-height:0;height:auto!important;margin:4px 6px 0;container-type:size}
 .at-table .controls{flex:none;min-height:0;padding:7px 12px}
 .at-table #playerStatus{font-size:14px;margin-bottom:6px;line-height:1.3}
 .at-table #actions button{padding:10px 16px;font-size:16px}.at-table #actions input{padding:8px;width:100px;font-size:13px}
 .at-table #seatTools{margin-top:6px;gap:14px}.at-table #seatTools button{font-size:11px}
 .at-table .side-panel{min-height:0;overflow:auto;padding:14px 12px}.at-table .side-note{font-size:10px;margin-top:15px}.at-table .divider{margin:15px 0}.at-table #activity{min-height:0;max-height:28dvh}
 .at-table .seat{width:clamp(90px,32cqh,154px)}
 .at-table .seat-media{height:clamp(30px,14cqh,80px)}
 .at-table .seat .seat-box{min-height:0;height:48px;padding:2px 4px;line-height:1.25}
 .at-table .seat-name{font-size:clamp(11px,3.5cqh,15px)}.at-table .seat-stack{font-size:clamp(12px,3.8cqh,17px)}.at-table .seat-note{font-size:9px}
 .at-table .seat .seat-cards{top:3.5cqh;right:-6px}.at-table .seat .seat-cards .playing-card{width:clamp(22px,7.5cqh,34px);height:clamp(31px,10.5cqh,47px);font-size:clamp(14px,4.5cqh,20px)}.at-table .seat .seat-cards .suit{font-size:clamp(12px,3.5cqh,17px)}
 .at-table .seat-avatar{font-size:clamp(18px,7cqh,30px)}.at-table .seat-empty{min-height:0;padding:7px 2px;font-size:11px}.at-table .seat-empty span{font-size:19px}
 .at-table .winner{font-size:10px;line-height:1.2}.at-table .seat-video-slot .video-track-status{font-size:8px}
 .at-table .felt{top:17%;bottom:17%;border-width:7px}.at-table .felt-brand{font-size:9px;margin:0 0 6px}
 .at-table #community{min-height:0}.at-table #community .playing-card{width:clamp(34px,12cqh,58px);height:clamp(48px,17cqh,81px);font-size:clamp(22px,7cqh,30px)}
 .at-table #pot{margin-top:6px;font-size:18px}.at-table #tableMessage{font-size:12px;padding:3px 15px}
 .at-table .seat[data-position="4"]{left:34%}.at-table .seat[data-position="5"]{left:66%}
 .at-table .seat[data-position="3"],.at-table .seat[data-position="6"]{top:32%}
 .at-table .seat[data-position="2"],.at-table .seat[data-position="7"]{top:59%}
 .at-table .seat[data-position="1"],.at-table .seat[data-position="8"]{top:83%}
 .at-table .seat[data-position="0"]{top:86%}
 @container(max-height:360px){.seat .seat-box{height:33px!important}.seat .seat-note{display:none}.seat .winner{position:absolute;left:0;right:0}.seat .seat-video-slot .video-track-status{display:none}.felt-brand{display:none}}
}
@media(min-width:651px) and (max-width:1050px){.at-table .game-layout{grid-template-columns:1fr}.at-table .side-panel{display:none}.at-table .table-tools button{padding:7px;font-size:11px}.at-table .video-heading b{display:none}.at-table .video-controls{gap:4px}}

/* Larger touch targets and readable seats on portrait phones. */
@media(max-width:650px){
 .at-table main{padding:0 6px}.at-table header{height:62px;padding:0 10px}
 .at-table .table-heading{padding:12px 4px}.at-table .table-heading h1{font-size:23px}
 .at-table .table-tools button{min-height:40px;font-size:12px}
 .at-table .video-hint{display:none}.at-table .video-section{margin-bottom:10px}
 .at-table .video-controls{width:100%;gap:6px}.at-table .video-controls button{flex:1;min-height:44px;font-size:13px;padding:9px}
 .at-table .media-devices select{font-size:16px;max-width:100%;width:100%;min-height:44px}
 .at-table .media-devices label{flex:1;min-width:0}
 .at-table .table-wrap{height:640px;margin:4px 0 0}
 .at-table .seat{width:min(98px,27vw)}.at-table .seat-media{height:64px}
 .at-table .seat .seat-box{min-height:54px;padding:4px 2px}.at-table .seat-name{font-size:13px}.at-table .seat-stack{font-size:16px}.at-table .seat-note{font-size:10px}
 .at-table .seat .seat-cards{top:29px;right:0;transform:rotate(4deg)}
 .at-table .seat .seat-cards .playing-card{width:28px;height:39px;font-size:18px}.at-table .seat .seat-cards .suit{font-size:15px}
 .at-table .seat[data-position="2"],.at-table .seat[data-position="3"]{left:15%}
 .at-table .seat[data-position="6"],.at-table .seat[data-position="7"]{left:85%}
 .at-table .seat[data-position="1"]{left:16%;top:80%}.at-table .seat[data-position="8"]{left:84%;top:80%}
 .at-table .seat[data-position="0"]{top:90%}
 .at-table #community{gap:3px}.at-table #community .playing-card{width:34px;height:48px;font-size:23px}.at-table #community .suit{font-size:19px}
 .at-table #pot{font-size:18px}.at-table #tableMessage{font-size:13px}
 .at-table .controls{padding:14px 10px calc(14px + env(safe-area-inset-bottom));min-height:0}
 .at-table #playerStatus{font-size:14px}.at-table #actions{gap:8px}.at-table #actions button{flex:1;min-height:48px;font-size:16px;padding:12px;min-width:80px}
 .at-table #actions input{font-size:16px;min-height:48px;width:100px}.at-table #actions label{font-size:14px}
 .at-table #seatTools{flex-wrap:wrap;gap:8px 16px}.at-table #seatTools button{font-size:13px;min-height:44px}
}

.cash-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.cash-balances>div{padding:12px;border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--muted)}.cash-balances strong{display:block;font-size:18px;color:var(--text);overflow-wrap:anywhere}.cash-section{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.cash-section h3{font-size:18px}.cash-section form button{margin-top:18px}.cash-history-row{padding:10px 0;border-bottom:1px solid var(--line);font-size:13px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}#depositAddress{font-size:14px;user-select:all}#walletBtn{font-size:12px;padding:8px 10px}@media(max-width:650px){.cash-balances{grid-template-columns:1fr}.cash-balances strong{font-size:21px}.cash-section input{font-size:16px}#walletBtn{font-size:11px;padding:8px}.at-table header .brand small{display:none}.at-table header .brand{font-size:12px;gap:4px}.at-table header .brand-icon{font-size:22px}.at-table header .header-right{gap:4px}}

@media(max-width:380px){.at-table header .brand>span:last-child{display:none}}

#tableBlinds{max-width:95%;text-align:center;color:#f5dfad;background:#102a22;border:1px solid #8c8054;border-radius:8px;padding:6px 10px;margin-bottom:8px;font-size:14px;font-weight:700;line-height:1.4}@media(max-width:650px){#tableBlinds{font-size:12px;padding:5px 7px;max-width:210px;margin-bottom:8px}}
