/* Table layout: fixed seat heights keep action changes from moving the board. */
.hand-complete .center{top:145px}.hand-complete .table-bet{display:none}
.center .result-banner{position:relative;width:min(340px,90%);margin:10px auto 0;padding:10px 14px;border-radius:10px;text-align:center;background:#172d22f5;box-shadow:0 5px 20px #0004}
.center .result-banner strong{font-size:17px;margin:0 0 4px}.center .result-banner div{font-size:12px;line-height:1.5}.center .result-banner b{display:block;color:#ffe0a0;font-size:18px}.center .result-banner small{display:block;font-size:9px;color:#bccdb5}.center .hero-win{background:linear-gradient(120deg,#4b4926f5,#233f2bf5)}
.play-summary{display:flex;align-items:center;gap:14px;border:1px solid #ffffff1c;border-radius:9px;background:#17231d;padding:14px 20px;margin:18px 0;font-size:12px}.play-summary span{color:#adbea9}.play-summary b{font-size:13px}.play-summary small{margin-left:auto;font-size:10px;color:#93a58e}.summary-grade{font-size:26px;color:#c6d3c1}.summary-S,.summary-A{color:#f0d18e}.summary-C,.summary-D{color:#eba58a}.review-summary{padding:12px 0 20px}.review-summary strong{color:#e9c77b}.review-summary p,.review-pots p{font-size:12px}.review-pots{margin:20px 0;font-size:12px}
@media(max-width:800px){.hand-complete .center{top:130px}.center .result-banner{width:190px;max-width:95%;padding:6px 8px;margin-top:6px;border-radius:8px}.center .result-banner strong{font-size:12px;margin-bottom:2px}.center .result-banner div{font-size:10px}.center .result-banner b{font-size:14px}.center .result-banner small{font-size:7px}.play-summary{gap:10px;padding:12px;flex-wrap:wrap}.play-summary span{font-size:11px}.play-summary small{width:100%;margin-left:0;font-size:9px}.summary-grade{font-size:23px}}
.seat{height:214px;padding:9px}.seat .profile{white-space:nowrap;font-size:8px}.seat .hole{margin:5px 0}.seat .player-label{margin:3px 0;font-size:9px}.seat .ante-paid{font-size:8px;margin:2px 0}.reveal-hand{margin-top:3px;border-color:transparent}.reveal-hand:hover{border-color:#e6bc76}.reveal-hint{font-size:8px;padding:2px}.seat-state{margin-bottom:5px}.action-badge{margin-top:4px;min-height:28px;padding:6px 2px}.previous-action small{display:inline}.study-button{padding:0;margin-left:auto;flex:none;border-radius:50%;width:30px;height:30px;font-size:16px;border:1px solid #769d87;background:#2b4337;color:#d9efd9}.seat-top .avatar{width:26px;height:26px;flex:none}.seat .stack{font-size:12px}.seat.winner{border:2px solid #f1ce77;background:#34442a;box-shadow:0 0 25px #ffd97840}.seat.winner .seat-state{color:#ffe8a3}.seat-award{color:#ffe19a;font-size:11px;text-align:center;font-weight:700;margin:3px 0}.seat.folded .reveal-hand .hole{opacity:1}
.arena{height:760px}.table{inset:100px 85px}.center{top:200px}.seat-2,.seat-4{top:105px}.seat-1,.seat-5{bottom:110px}.seat-0 .table-bet{bottom:calc(100% + 9px)}.seat-3 .table-bet{top:calc(100% + 8px)}
.table-bet{padding:6px 9px;min-width:100px;gap:5px}.chip-pile{display:inline-flex;align-items:flex-end;gap:2px;height:28px;min-width:23px}.chip-stack{position:relative;display:inline-block;width:25px;height:21px;--chip:#d4d0b4}.chip-stack i{position:absolute;left:0;bottom:calc(var(--layer)*3px);width:24px;height:13px;border-radius:50%;background:repeating-conic-gradient(var(--chip) 0deg 40deg,#f5edd8 40deg 60deg);border:1px solid #232a24;box-shadow:0 2px 0 #14231c,0 3px 2px #0008}.chip-stack i:after{content:'';position:absolute;inset:3px 5px;border:1px solid #ffffff99;border-radius:50%;background:var(--chip)}.chip-purple{--chip:#8f60bb}.chip-gold{--chip:#d3a747}.chip-black{--chip:#374454}.chip-green{--chip:#238765}.chip-red{--chip:#bc4e49}.chip-silver{--chip:#8a959b}.pot{display:flex;align-items:center;justify-content:center;gap:9px}.pot .chip-pile{height:25px}.hand-tools{display:flex;gap:8px;align-items:center}.result-banner{border:1px solid #7f9a6655;background:#213124;padding:18px 24px;border-radius:10px;margin-top:18px;font-size:13px}.result-banner strong{display:block;font-size:17px;margin-bottom:9px}.result-banner div{line-height:1.9;color:#dbe1cd}.result-banner details{font-size:11px;margin-top:12px}.result-banner p{margin:5px 0}.result-banner.hero-win{border-color:#e6bc76;background:linear-gradient(125deg,#3b4128,#24372c)}.hero-win strong{color:#ffe2a0}
dialog.review-panel{width:min(1120px,96vw);margin:auto;max-height:90dvh;overflow:auto}.dialog-heading{position:sticky;top:-25px;background:#18251f;z-index:3;padding:8px 0}.study-street{padding:16px 0;border-bottom:1px solid #ffffff18}.study-street-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.study-street-heading span{font-size:11px;color:#a9b9a3}.study-street-heading b{margin-left:auto;color:#f1cf88;font-size:20px}.study-street small{display:block;margin-top:10px;font-size:10px;color:#a8bca4}.study-street details{font-size:11px;margin-top:10px}.study-street details p{font-size:11px}.reason-row{border-top:1px solid #ffffff19;padding:15px 0}.reason-row strong{font-size:13px}.reason-row p{font-size:12px}.reason-row small{font-size:10px;color:#a0b59c;line-height:1.8}
@media(max-width:800px){
 body{padding-bottom:155px}header{height:64px;padding:0 12px;position:sticky;top:0;z-index:5;background:#101817f5}.brand{font-size:21px}.header-actions button{font-size:11px;padding:10px 12px}.heading{align-items:center}h1{font-size:18px;margin:6px 0}.heading .eyebrow{display:none}#blinds-info{font-size:10px;margin:5px 0;max-width:250px}.session span{font-size:8px}.session strong{font-size:10px}.table-summary{font-size:10px;margin:8px 0 28px}main{padding:10px 10px 20px}
 .arena{height:710px;margin-top:24px}.table{inset:90px 12px 80px;border-radius:43%;border-width:7px}.table-label{top:130px}.center{top:218px}.seat{width:112px;height:189px;padding:6px;border-radius:9px}.seat-0,.seat-3{left:calc(50% - 56px)}.seat-2{left:0;top:93px}.seat-4{right:0;top:93px}.seat-1{left:0;bottom:147px}.seat-5{right:0;bottom:147px}.seat-top{gap:4px}.seat strong{font-size:10px}.seat .stack{font-size:11px}.seat-state{font-size:8px;letter-spacing:.6px;margin:0 0 4px}.seat-top .avatar{width:22px;height:22px;font-size:8px}.study-button{width:28px;height:28px;font-size:15px}.hole .card{width:29px;height:39px;font-size:11px}.hole .card span{font-size:14px}.action-badge{font-size:9px;padding:5px 1px;min-height:23px}.seat .profile{font-size:7px;padding-top:4px;margin-top:3px}.seat-award{font-size:9px}.seat .player-label{font-size:8px}.seat .ante-paid{font-size:7px}.reveal-hint{font-size:7px}.previous-action{font-size:8px}
 .table-bet{min-width:75px;border-radius:18px;padding:3px 6px;gap:3px}.table-bet small{font-size:6px}.table-bet strong{font-size:12px}.table-bet .chip-pile{height:19px;min-width:17px;max-width:32px;overflow:hidden}.table-bet .chip-stack{width:17px;height:16px;flex:none}.table-bet .chip-stack i{width:17px;height:10px}.table-bet .chip-stack i:after{inset:2px 4px}.seat-0 .table-bet{bottom:calc(100% + 9px);left:calc(50% - 38px)}.seat-3 .table-bet{top:calc(100% + 6px);left:calc(50% - 38px)}.seat-1 .table-bet,.seat-2 .table-bet{left:calc(50% - 38px);top:calc(100% + 5px)}.seat-4 .table-bet,.seat-5 .table-bet{right:calc(50% - 38px);top:calc(100% + 5px)}
 .center .card{width:33px;height:48px;font-size:13px}.center .card span{font-size:18px}.center .cards{gap:4px}.pot{margin:7px 0 10px}.pot strong{font-size:20px}#status{font-size:9px;max-width:170px;margin-top:10px}.bet-legend{font-size:8px;line-height:1.8;margin:10px 0}.controls{position:fixed;bottom:0;left:0;right:0;z-index:6;background:#15231ef5;border-radius:14px 14px 0 0;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:9px;box-shadow:0 -5px 25px #0005}.decision{display:flex;align-items:center;justify-content:space-between}.decision .eyebrow{font-size:8px}.decision strong{font-size:11px;margin:0}.hand-tools{justify-content:flex-end}.hand-tools button{min-height:40px}#actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}#actions button{min-height:42px;padding:9px 8px;font-size:12px}.raise{grid-column:1/-1;grid-row:2;min-height:42px;display:grid;grid-template-columns:55px 1fr 92px;padding-left:10px}.raise input{width:100%;min-width:0}.raise label{font-size:10px}.hand-tools:has(#next[hidden]){position:absolute;right:12px;top:-42px}.hand-tools:has(#next[hidden]) #review-button{min-height:32px;font-size:10px;padding:7px 14px;background:#1a2e24}.bottom{gap:12px}.bottom .note{display:none}.history{padding-top:14px}.result-banner{padding:16px;margin-top:12px}.result-banner strong{font-size:15px}
 dialog.review-panel,dialog.study-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:16px 16px calc(25px + env(safe-area-inset-bottom))}.dialog-heading{top:-16px;padding:10px 0}.dialog-heading h2{font-size:18px}.dialog-heading button{min-height:42px}.review-disclaimer{font-size:11px}
}
@media(max-width:800px){.arena{height:780px}}
@media(max-width:359px){.seat{width:100px}.seat-0,.seat-3{left:calc(50% - 50px)}.seat-top .avatar{display:none}.center .card{width:29px;height:44px}.center .cards{gap:3px}}
@media(max-width:800px) and (max-height:600px) and (orientation:landscape){.controls{left:auto;width:270px;top:64px;border-radius:0;justify-content:center}.arena{margin-right:270px;min-width:320px}.heading,.table-summary{margin-right:270px}body{padding-bottom:0}main{overflow-x:auto}.bottom{display:none}}
