:root{--bg:#f6f5f0;--ink:#253a33;--muted:#8c938d;--green:#214f3f;--gold:#d0b27a;--line:#e5e7df;--font:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #c3a467;outline-offset:4px}button:disabled{cursor:not-allowed;opacity:.4}button{transition:background .2s,transform .2s,box-shadow .2s}button:not(:disabled):active{transform:translateY(1px)}.app-shell{display:flex;min-height:100vh}.nav-rail{width:82px;flex-shrink:0;background:#122b24;display:flex;align-items:center;flex-direction:column;position:fixed;height:100vh;z-index:10;border-right:1px solid #214035}.brand-mark{font-size:40px;color:#ddc28b;text-decoration:none;line-height:1;margin:32px 0 80px}.rail-middle{display:flex;flex-direction:column;gap:20px;flex:1}.rail-button{width:46px;height:46px;border-radius:12px;background:transparent;color:#78968a;display:grid;place-items:center}.rail-button:hover{background:#234336;color:#e6d6af}.rail-button.active{color:#e7c98b;background:#2a483a;box-shadow:inset 0 0 0 1px #5a6445}.rail-button svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.rail-footer{font-size:9px;letter-spacing:2px;color:#7f978b;margin:25px 0 27px}.main-shell{margin-left:82px;flex:1;min-width:0}.topbar{height:100px;border-bottom:1px solid var(--line);padding:0 44px;display:flex;justify-content:space-between;align-items:center}.wordmark{font-family:'Manrope',var(--font);font-size:23px;letter-spacing:4.5px;font-weight:800}.wordmark span{display:block;font-family:var(--font);font-size:8px;letter-spacing:3.5px;color:#8d948b;margin-top:6px;font-weight:500}.top-status{display:flex;align-items:center;gap:10px;font-size:11px;color:#777f77}.status-dot,.live-dot{width:6px;height:6px;border-radius:50%;background:#6b987c;display:inline-block}.top-divider{height:19px;width:1px;background:#dce0d8;margin:0 14px}.icon-button{background:transparent;color:#4f6256;display:flex;align-items:center;gap:7px;font-size:20px}.icon-button span{font-size:11px}.help-button{width:25px;height:25px;border:1px solid #cbd2c8;border-radius:50%;color:#728172;background:transparent;margin-left:18px}main{padding:36px 42px 20px;max-width:1740px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:2.3px;color:#8c977f;font-weight:600}h1{font-size:27px;letter-spacing:1px;font-weight:500;margin:10px 0}h1 span{font-size:19px;color:#b4bba7;margin-left:18px}.page-heading p{font-size:12px;color:#8b9388;margin:0}.table-format{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.3px;color:#798577;padding-top:20px}.table-format b{font-size:9px;padding:5px 8px;border:1px solid #dce1d6;border-radius:5px;margin-left:2px;font-weight:500}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}.play-area{min-width:0}.table-toolbar{height:54px;background:#fff;border:1px solid var(--line);border-bottom:0;border-radius:14px 14px 0 0;padding:0 24px;display:flex;gap:20px;align-items:center}.room-label{font-weight:600;font-size:12px;display:flex;gap:9px;align-items:center}.tiny-diamond{font-size:10px;color:#9ca88a}.room-number{font-size:8px;letter-spacing:1.6px;color:#9da596;font-weight:400;margin-left:4px}.blind-label{display:flex;align-items:center;gap:8px;font-size:10px;color:#929b90;margin-left:auto}.blind-label strong{font-size:12px;color:#566552;font-weight:600}.fixed-pill{font-size:9px;background:#f0f3eb;padding:3px 5px;border-radius:4px;color:#7b8a6c}.speed-button{background:none;color:#83917b;font-size:14px;border-left:1px solid #e8ece3;padding:0 0 0 16px}.speed-button span{font-size:10px;margin-left:4px}.table-scene{height:540px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 44%,#233f34 0,#1a3028 46%,#132820 100%);isolation:isolate}.table-scene:after{content:'';position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.1' d='M0 0h180v180H0z'/%3E%3C/svg%3E");opacity:.14;z-index:-1;pointer-events:none}.ambient-light{position:absolute;top:18%;left:14%;right:14%;bottom:16%;border-radius:50%;background:#487b53;filter:blur(90px);opacity:.19}.poker-table{position:absolute;left:7%;right:7%;top:100px;height:340px;border-radius:48%/49%;padding:5px;background:linear-gradient(180deg,#66563d,#a68f5f 45%,#3b3022 68%,#7a6546);box-shadow:0 21px 0 #0c1915,0 25px 2px #09130f,0 37px 35px #06160fb3,inset 0 2px 2px #d5bd7c66}.table-rail{width:100%;height:100%;border:18px solid #2d3029;border-radius:inherit;background:#315948;box-shadow:inset 0 0 0 2px #8a7754,0 0 0 1px #171d16,inset 0 0 11px 9px #10241d;position:relative}.table-rail:before{content:'';position:absolute;inset:-13px;border:1px dashed #5c5c4780;border-radius:inherit;pointer-events:none}.felt{position:absolute;inset:2px;border-radius:inherit;overflow:hidden;background:radial-gradient(ellipse,#2b654e 0%,#22513f 58%,#193f31 100%);box-shadow:inset 0 4px 16px #081f17b3}.felt-ring{position:absolute;inset:21px;border:1px solid #9cb58b33;border-radius:48%/48%}.felt-grain{position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.28' d='M0 0h140v140H0z'/%3E%3C/svg%3E");opacity:.15}.table-brand{position:absolute;text-align:center;top:23px;left:0;right:0;font-family:'Manrope',var(--font);letter-spacing:5px;font-size:15px;font-weight:800;color:#aec6a527}.table-brand span{display:block;letter-spacing:3px;font-size:6px;font-weight:400;margin-top:4px}.community-area{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:35px}.pot-label{color:#b2c6ad;font-size:8px;letter-spacing:1.8px;display:flex;align-items:center;gap:9px;margin-bottom:4px}.pot-label strong{font-family:'Manrope',var(--font);font-size:22px;letter-spacing:.4px;font-weight:600;color:#f0e7cf}.pot-chips{height:24px;display:flex;align-items:center;justify-content:center;gap:3px;margin-bottom:10px}.chip-stack{display:inline-block;position:relative;width:25px;height:18px}.chip{position:absolute;left:0;bottom:0;width:25px;height:14px;border-radius:50%;background:repeating-conic-gradient(from 10deg,#e7dbba 0deg 17deg,#9b5447 17deg 60deg);border:1px solid #612e27;box-shadow:0 2px 0 #632f28,0 3px 1px #101b1744;transform:translateY(calc(var(--i,0) * -3px))}.chip:after{content:'';position:absolute;inset:2px 5px;border:1px solid #e5cbbb9c;background:#a76453;border-radius:50%}.chip.blue{background:repeating-conic-gradient(from 10deg,#dce6e3 0deg 17deg,#547b90 17deg 60deg);border-color:#284757;box-shadow:0 2px 0 #254655,0 3px 1px #101b1744}.chip.blue:after{background:#60899a;border-color:#c7dce0}.chip.gold{background:repeating-conic-gradient(from 10deg,#efe5c6 0deg 17deg,#bea16a 17deg 60deg);border-color:#7a6137;box-shadow:0 2px 0 #7a6137,0 3px 1px #101b1744}.chip.gold:after{background:#c5aa76;border-color:#efe3c7}.community-cards{display:flex;gap:7px;min-height:78px}.card{width:53px;height:76px;border-radius:5px;background:linear-gradient(135deg,#fffef9,#f1eee4);color:#25382f;position:relative;box-shadow:0 2px 2px #07140f55,0 4px 9px #07140f22;border:1px solid #f4f1e2;user-select:none;flex-shrink:0}.card.red{color:#b54d43}.card-corner{position:absolute;left:6px;top:5px;font-family:Georgia,serif;font-size:21px;font-weight:bold;line-height:.95;text-align:center}.card-corner small{display:block;font-size:14px;margin-top:2px}.card-center{position:absolute;right:8px;bottom:9px;font-size:32px;line-height:1}.card.back{border:2px solid #d4c9a3;background:repeating-linear-gradient(45deg,#203f37 0 3px,#365549 3px 4px);box-shadow:0 2px 5px #0005}.card.back:before{content:'';position:absolute;inset:4px;border:1px solid #d0c29888;border-radius:2px}.card.back:after{content:'♠';position:absolute;inset:0;display:grid;place-items:center;color:#c8bb9180;font-size:23px}.card.empty{border:1px solid #b5d3b126;background:#11352533;box-shadow:none;display:grid;place-items:center;color:#c4d5ac1f;font-size:24px}.card.dealt{animation:deal .4s cubic-bezier(.2,.8,.3,1) both}.street-status{height:18px;line-height:18px;color:#adc2a1;letter-spacing:1.4px;font-size:8px;margin-top:12px}.seat{position:absolute;z-index:3;display:flex;flex-direction:column;align-items:center;width:150px;transform:translate(-50%,-50%)}.seat-0{left:50%;top:84%}.seat-1{left:15%;top:68%}.seat-2{left:17%;top:24%}.seat-3{left:50%;top:15%}.seat-4{left:83%;top:24%}.seat-5{left:85%;top:68%}.avatar-wrap{width:54px;height:54px;position:relative;border-radius:50%;border:2px solid #4c6351;background:#38483a;box-shadow:0 3px 10px #07191077;z-index:2}.avatar-wrap svg{width:100%;height:100%;border-radius:50%}.seat.turn .avatar-wrap{border-color:#d9be7e;box-shadow:0 0 0 4px #d9be7e22,0 0 25px #e4c47b22}.seat.turn .avatar-wrap:after{content:'';position:absolute;inset:-5px;border:1px solid #c5af78;border-right-color:transparent;border-bottom-color:transparent;border-radius:50%;animation:thinking 3s linear infinite}.seat-name{position:relative;min-width:111px;background:linear-gradient(#263d32,#1c3027);border:1px solid #4d5b4366;border-radius:7px;padding:7px 12px 6px;text-align:center;box-shadow:0 4px 8px #07191033;margin-top:-4px;z-index:3}.seat.turn .seat-name{border-color:#a9975f88}.name-row{display:flex;justify-content:center;align-items:center;gap:6px;font-size:11px;font-weight:500;color:#e3e7d9}.style-dot{width:4px;height:4px;border-radius:50%;background:var(--avatar-color)}.seat-stack{font-family:'Manrope',sans-serif;font-size:13px;font-weight:600;color:#d7c69b;letter-spacing:.4px;margin-top:3px}.seat-stack small{font-size:8px;color:#95a68c;font-weight:400;margin-left:4px}.seat-status{position:absolute;top:110%;font-size:9px;color:#b4c3a5;white-space:nowrap}.seat.folded .avatar-wrap,.seat.folded .seat-name{opacity:.42;filter:saturate(.3)}.seat.folded .seat-status{color:#80907e}.seat.winner .seat-name{border-color:#e1bd73;background:linear-gradient(#56613b,#314b32);box-shadow:0 0 20px #d9bd5630}.seat-cards{position:absolute;display:flex;gap:2px;top:2px;left:calc(50% + 22px);z-index:0;transform:rotate(9deg)}.seat-cards .card{width:30px;height:43px;border-radius:3px}.seat-cards .card+.card{transform:rotate(13deg);margin-left:-12px;margin-top:2px}.seat-cards .card-corner{font-size:14px;top:3px;left:3px}.seat-cards .card-corner small{font-size:9px}.seat-cards .card-center{font-size:16px;right:4px;bottom:4px}.seat-cards .card.back:after{font-size:15px}.seat-cards .card.back:before{inset:2px}.seat-0 .seat-cards{position:relative;top:0;left:0;transform:none;gap:5px;order:-1;margin-top:-25px;margin-bottom:9px;z-index:4}.seat-0 .seat-cards .card{width:58px;height:82px;border-radius:5px;transform:rotate(-5deg);margin:0;box-shadow:0 3px 7px #0005}.seat-0 .seat-cards .card+.card{transform:rotate(5deg);margin-left:0}.seat-0 .seat-cards .card-corner{font-size:24px;top:6px;left:6px}.seat-0 .seat-cards .card-corner small{font-size:16px}.seat-0 .seat-cards .card-center{font-size:34px;bottom:9px;right:8px}.seat-0 .avatar-wrap{display:none}.seat-0 .seat-name{min-width:142px;background:#233c2f}.seat-0 .seat-status{top:104%}.position-marker{position:absolute;left:calc(50% - 72px);top:62px;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-size:10px;font-weight:700;color:#4b5144;background:#e3ddc2;border:2px solid #f5eedb;box-shadow:0 2px 4px #0004;z-index:5}.position-marker.blind{background:#4b6150;border-color:#87967a;color:#d8dfcb;font-size:8px}.seat-0 .position-marker{top:87px;left:calc(50% - 96px)}.bet-stack{position:absolute;top:115px;display:flex;gap:5px;align-items:center;font-size:10px;color:#d3ddbf;white-space:nowrap}.seat-1 .bet-stack{left:120px;top:18px}.seat-2 .bet-stack{left:125px;top:75px}.seat-4 .bet-stack{right:125px;top:75px}.seat-5 .bet-stack{right:120px;top:18px}.seat-0 .bet-stack{top:-24px}.seat-3 .bet-stack{top:123px}.seat-3 .seat-status{top:104%}.table-message{position:absolute;left:15%;right:15%;top:75%;text-align:center;font-size:11px;color:#eddbab;pointer-events:none;text-shadow:0 2px 5px #0008;z-index:5}.chip-flight{position:absolute;left:var(--x);top:var(--y);z-index:7;animation:chipFly .55s cubic-bezier(.3,.1,.4,1) forwards}.action-dock{background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;padding:19px 24px 20px;min-height:154px;display:flex;flex-direction:column;justify-content:center}.action-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.action-indicator{font-size:12px;font-weight:500;display:flex;align-items:center;gap:8px}.action-indicator .live-dot{background:#b4a069}.action-helper{font-size:10px;color:#9a9f94}.action-controls{display:grid;grid-template-columns:1fr 1fr 1.65fr;gap:10px}.action-button{height:45px;border-radius:7px;background:#f0f2ec;border:1px solid #e2e7da;color:#59664d;font-size:12px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:10px}.action-button:hover{background:#e4e9de}.action-button small{font-family:'Manrope',sans-serif;font-size:10px;font-weight:400;color:#95a08a}.action-button.primary{color:#f4ecd6;background:#214c3b;border-color:#214c3b;box-shadow:0 3px 6px #183d2d12}.action-button.primary:hover{background:#2d604a}.action-button.primary small{color:#d1d4ad}.action-button.fold{color:#8b8070;background:#f8f6f0;border-color:#ebe7dd}.raise-tools{display:flex;align-items:center;gap:12px;margin-top:13px}.raise-tools label{color:#8e9886;font-size:9px;white-space:nowrap}.raise-tools input[type=range]{flex:1;min-width:40px;height:3px;accent-color:#467256;cursor:pointer}.raise-input{border:1px solid #e1e6db;background:#f9faf6;width:73px;border-radius:5px;padding:5px 6px;font-size:11px;color:#486044;outline:none}.size-buttons{display:flex;gap:5px}.size-buttons button{font-size:9px;padding:6px 8px;border:1px solid #e3e8dc;border-radius:4px;background:#fff;color:#7f8e73}.size-buttons button:hover{background:#e9eee2}.waiting-bar{display:flex;align-items:center;gap:18px}.waiting-bar p{font-size:11px;color:#919b88;margin:5px 0 0}.waiting-bar strong{font-size:14px;font-weight:500}.waiting-bar .action-button{margin-left:auto;min-width:155px;padding:0 22px}.waiting-symbol{font-size:28px;color:#9aaf83}.thinking-dots{display:flex;gap:4px;margin-left:auto;padding:18px}.thinking-dots i{width:5px;height:5px;background:#99ae88;border-radius:50%;animation:pulse 1s infinite}.thinking-dots i:nth-child(2){animation-delay:.2s}.thinking-dots i:nth-child(3){animation-delay:.4s}.result-details{font-size:11px;color:#8a967b;margin-top:12px;display:flex;align-items:center;gap:16px}.text-button{background:none;color:#5e7e58;padding:0;font-size:11px}.under-table{display:flex;justify-content:space-between;margin:16px 3px;font-size:9px;color:#98a08f}.under-table button{background:none;color:#7d8b72;font-size:9px;padding:0}.under-table button span{margin-left:5px}.shield-icon{font-size:14px;margin-right:4px;color:#8c9a7c}.insight-panel{border:1px solid var(--line);border-radius:14px;background:#fdfefa;overflow:hidden;display:flex;flex-direction:column;max-height:748px;min-height:580px}.panel-tabs{height:54px;flex-shrink:0;display:flex;align-items:stretch;padding:0 18px;border-bottom:1px solid #e9ece3;gap:28px}.panel-tabs button{background:none;color:#9aa48d;font-size:11px;padding:0;position:relative}.panel-tabs button.selected{color:#365238;font-weight:600}.panel-tabs button.selected:after{content:'';position:absolute;height:2px;bottom:-1px;left:0;right:0;background:#416345}#sideContent{padding:23px 20px;flex:1;overflow:auto;min-height:0}.hand-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8d9a80}.hand-label b{font-family:'Manrope',sans-serif;font-weight:600;font-size:11px;color:#566849}.hand-label span{font-size:9px;background:#edf1e7;padding:4px 7px;border-radius:4px}.activity-list{padding:0;list-style:none;margin:24px 0 0;display:flex;flex-direction:column;gap:19px}.activity-item{display:flex;gap:11px;font-size:10px;align-items:flex-start}.activity-avatar{width:28px;height:28px;border-radius:50%;overflow:hidden;background:#dfe5d5;flex-shrink:0}.activity-avatar svg{width:100%;height:100%}.activity-text{flex:1;padding-top:1px}.activity-text strong{font-weight:500;color:#526249;font-size:10px}.activity-text p{color:#96a08b;margin:4px 0 0;font-size:9px;line-height:1.5}.activity-amount{font-family:'Manrope',sans-serif;font-size:10px;color:#708263;padding-top:3px}.activity-street{color:#95a186;font-size:9px;letter-spacing:1px;display:flex;align-items:center;gap:9px}.activity-street:after{content:'';flex:1;height:1px;background:#e7ecdf}.empty-activity{padding:25px 3px;color:#9aa38f;line-height:1.9;font-size:11px}.empty-activity b{display:block;font-weight:500;font-size:13px;color:#57704b;margin-bottom:10px}.panel-foot{padding:24px 20px;border-top:1px solid #e9ece3;text-align:center;background:#f9fbf4}.mini-spade{font-size:23px;color:#a8b38c}.panel-foot p{font-size:11px;line-height:1.9;color:#93a17e;margin:10px 0 13px}.panel-foot>span:last-child{font-size:6px;letter-spacing:1.3px;color:#a3ad93}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 12px;margin:22px 0}.stat-grid div{padding-bottom:15px;border-bottom:1px solid #e7ecdf}.stat-grid small{display:block;color:#98a28c;font-size:9px;margin-bottom:8px}.stat-grid strong{font-size:20px;font-family:'Manrope',sans-serif;font-weight:500;color:#536c43}.session-note{font-size:10px;line-height:1.8;color:#99a28c}.page-footer{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.5px;color:#afb6a7;margin-top:23px}.page-footer span:last-child{letter-spacing:.4px}dialog{border:1px solid #dedecf;border-radius:18px;padding:28px;width:min(650px,92vw);max-height:85vh;background:#f9faf5;color:#344b36;box-shadow:0 30px 100px #041b1577}dialog::backdrop{background:#0a2019a6;backdrop-filter:blur(7px)}.modal-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e3e7da;padding-bottom:20px;margin-bottom:20px}.modal-top h2{font-size:24px;font-weight:500;margin:8px 0 0}.close-button{font-size:26px;width:34px;height:34px;border-radius:50%;background:#edf0e5;color:#7b8970}#modalBody{font-size:12px;line-height:1.9;color:#7c8972}#modalBody h3{font-weight:500;color:#425a3b;font-size:15px;margin:22px 0 9px}#modalBody p{margin:10px 0}#modalBody a{color:#52794e}.profile-card{display:grid;grid-template-columns:50px 1fr;gap:14px;padding:18px 0;border-bottom:1px solid #e1e7d8}.profile-card svg{width:50px;height:50px;border-radius:50%}.profile-card h3{margin:0!important;font-size:14px!important}.profile-card .profile-tag{font-size:9px;color:#9b9e83;margin-left:12px}.profile-card p{font-size:11px;margin:6px 0!important}.profile-stats{font-size:9px;letter-spacing:.4px;color:#9ca68f}.rule-row,.setting-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e4e8dc;align-items:center;gap:20px}.rule-row strong{font-weight:500;color:#4e6845}.setting-row select{padding:7px 12px;border:1px solid #d8dfcd;border-radius:6px;background:#fff;color:#617351}.setting-row label{display:block;color:#4e6845}.setting-row small{font-size:10px;color:#9aa28f}.modal-action{margin-top:20px;width:100%}.history-card{border:1px solid #dfe5d6;border-radius:9px;padding:15px;margin:12px 0;background:#fff}.history-card summary{cursor:pointer;display:flex;justify-content:space-between;font-size:12px;color:#5e7550}.history-board{display:flex;gap:4px;margin-top:13px;align-items:center}.history-board .card{width:36px;height:49px}.history-board .card-corner{font-size:15px;top:4px;left:4px}.history-board .card-corner small{font-size:10px}.history-board .card-center{font-size:20px;right:4px;bottom:5px}.history-board label{font-size:9px;margin:0 7px;color:#8e9d7e}.history-events{font-size:10px;margin-top:14px;border-top:1px solid #edf0e7;padding-top:10px;line-height:2}.history-note{padding:12px;background:#f1f5e9;border-radius:6px;font-size:11px;color:#6d8359;margin-top:12px}.positive{color:#55804a!important}.negative{color:#ae7666!important}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#1d3d30;color:#e5e6cc;padding:12px 22px;border:1px solid #5e7956;border-radius:8px;font-size:12px;opacity:0;pointer-events:none;z-index:30;transition:.3s;box-shadow:0 8px 30px #18342633}.toast.show{opacity:1;transform:translate(-50%,0)}.equity-meter{height:6px;background:#e2e7d6;border-radius:3px;overflow:hidden;margin:12px 0}.equity-meter div{height:100%;background:#6d8e5c}.key{font-family:monospace;font-size:8px;border:1px solid #dddccf;border-radius:3px;padding:1px 4px;color:#9a9a84;margin-left:6px}.rules-link{margin-top:20px;display:inline-block;font-size:10px}.auto-fold-toggle{display:flex;align-items:center;gap:7px;color:#8d9c80;font-size:10px;margin-top:13px}.auto-fold-toggle input{accent-color:#3a674b}.session-bar{display:flex;align-items:flex-end;gap:3px;height:60px;margin:22px 0;border-bottom:1px solid #e0e6d5}.session-bar i{flex:1;min-width:3px;background:#b5c4a6;border-radius:2px 2px 0 0}.pause-label{margin-left:auto;font-size:10px;color:#a4ad97}.small-link{background:none;padding:0;color:#6c895c;font-size:10px;text-decoration:underline;text-underline-offset:3px}@keyframes deal{from{opacity:0;transform:translate(20px,-30px) rotate(15deg) scale(.75)}to{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}@keyframes chipFly{to{left:50%;top:43%;opacity:.15;transform:scale(.7)}}@keyframes thinking{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.2;transform:translateY(-3px)}}
@media(min-width:1550px){.table-scene{height:600px}.poker-table{top:115px;height:365px}.seat-0{top:85%}.insight-panel{max-height:808px}}
@media(max-width:1230px){main{padding:28px 24px 20px}.topbar{padding:0 26px}.game-layout{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.table-scene{height:515px}.poker-table{left:5%;right:5%;top:105px;height:310px}.table-rail{border-width:15px}.seat{width:125px}.seat-1{left:12%}.seat-5{left:88%}.seat-2{left:15%;top:25%}.seat-4{left:85%;top:25%}.seat-0{top:85%}.seat-1 .bet-stack{left:103px}.seat-5 .bet-stack{right:103px}.seat-2 .bet-stack{left:108px}.seat-4 .bet-stack{right:108px}.community-cards{gap:5px}.card{width:47px;height:68px}.community-cards{min-height:68px}.pot-chips{height:18px;margin-bottom:7px}.table-brand{top:17px;font-size:12px}.table-toolbar{padding:0 17px;gap:13px}.room-number{display:none}.action-dock{padding:18px}.panel-tabs{gap:25px}#sideContent{padding:20px 16px}.action-helper{font-size:9px}.page-heading h1{font-size:24px}.size-buttons button{padding:5px}.table-format{font-size:8px}.raise-tools{gap:8px}.seat-3 .bet-stack{top:120px}.community-area{padding-top:31px}}
@media(max-width:1050px){.game-layout{grid-template-columns:minmax(0,1fr)}.insight-panel{display:none}.table-scene{height:560px}.poker-table{top:105px;height:350px;left:8%;right:8%}.seat-1{left:16%}.seat-5{left:84%}.seat-2{left:18%;top:24%}.seat-4{left:82%;top:24%}.seat-0{top:85%}.card{width:53px;height:76px}.community-cards{min-height:76px}.seat-3 .bet-stack{top:128px}.table-brand{top:25px}.room-number{display:inline}.nav-rail{width:68px}.main-shell{margin-left:68px}.table-format{font-size:9px}.brand-mark{font-size:36px}.under-table{font-size:10px}}
@media(max-width:650px){.nav-rail{width:100%;height:57px;bottom:0;flex-direction:row;justify-content:space-around;border-top:1px solid #385242}.brand-mark{font-size:28px;margin:0 10px}.rail-middle{flex-direction:row;justify-content:space-around;gap:0;flex:1}.rail-button{width:40px;height:40px;border-radius:9px}.rail-footer{display:none}.nav-rail>.rail-button{margin:0 14px}.main-shell{margin-left:0;margin-bottom:57px}.topbar{height:76px;padding:0 18px}.wordmark{font-size:17px;letter-spacing:3px}.wordmark span{font-size:6px;letter-spacing:2px}.top-status{font-size:0;gap:4px}.top-divider{margin:0 5px}.icon-button span{display:none}.help-button{margin-left:10px;width:23px;height:23px}main{padding:23px 12px 15px}.page-heading{margin-bottom:22px;padding:0 5px}.eyebrow{font-size:7px;letter-spacing:1.7px}h1,.page-heading h1{font-size:21px;letter-spacing:.3px;margin:9px 0}h1 span{display:none}.page-heading p{font-size:10px}.table-format{display:none}.table-toolbar{height:48px;padding:0 12px;gap:10px}.room-label{font-size:11px}.room-number{display:none}.blind-label{gap:5px}.blind-label strong{font-size:11px}.speed-button{padding-left:10px}.speed-button span{font-size:9px}.table-scene{height:530px}.poker-table{left:7%;right:7%;top:74px;height:382px;border-radius:44%/36%;padding:4px}.table-rail{border-width:12px;border-radius:inherit}.table-rail:before{inset:-8px}.felt-ring{inset:14px;border-radius:44%/36%}.community-area{padding-top:13px}.table-brand{top:54px;font-size:10px;letter-spacing:3px}.table-brand span{font-size:5px}.pot-label{font-size:7px;gap:7px}.pot-label strong{font-size:20px}.pot-chips{height:19px;margin-bottom:8px}.community-cards{gap:4px;min-height:61px}.community-cards .card{width:39px;height:57px;border-radius:4px}.card-corner{font-size:19px;left:4px;top:4px}.card-corner small{font-size:12px}.card-center{font-size:25px;right:5px;bottom:6px}.street-status{font-size:7px;letter-spacing:.7px;margin-top:6px}.seat{width:97px}.seat-0{top:87%}.seat-1{left:13%;top:69%}.seat-2{left:13%;top:29%}.seat-3{left:50%;top:13%}.seat-4{left:87%;top:29%}.seat-5{left:87%;top:69%}.avatar-wrap{width:44px;height:44px}.seat-name{min-width:82px;padding:6px 7px 5px;border-radius:6px}.name-row{font-size:10px}.seat-stack{font-size:11px;margin-top:2px}.seat-stack small{font-size:7px}.seat-cards{left:calc(50% + 13px)}.seat-cards .card{width:23px;height:33px}.seat-cards .card+.card{margin-left:-12px}.seat-cards .card-corner{font-size:10px}.seat-cards .card-corner small{font-size:7px}.seat-cards .card-center{font-size:12px;bottom:3px;right:3px}.seat-cards .card.back:after{font-size:11px}.seat-0 .seat-cards{margin-top:-17px;margin-bottom:8px}.seat-0 .seat-cards .card{width:48px;height:66px}.seat-0 .seat-cards .card-corner{font-size:21px}.seat-0 .seat-cards .card-corner small{font-size:13px}.seat-0 .seat-cards .card-center{font-size:27px;bottom:7px;right:5px}.seat-0 .seat-name{min-width:116px}.seat-status{font-size:8px}.position-marker{width:18px;height:18px;font-size:8px;left:calc(50% - 52px);top:50px}.position-marker.blind{font-size:7px}.seat-0 .position-marker{top:68px;left:calc(50% - 77px)}.bet-stack{font-size:9px;gap:2px}.bet-stack .chip-stack{transform:scale(.75);width:20px}.seat-1 .bet-stack{left:80px;top:30px}.seat-2 .bet-stack{left:80px;top:62px}.seat-5 .bet-stack{right:80px;top:30px}.seat-4 .bet-stack{right:80px;top:62px}.seat-3 .bet-stack{top:104px}.seat-0 .bet-stack{top:-23px}.table-message{top:73%;font-size:9px;left:20%;right:20%}.action-dock{padding:16px 12px;min-height:152px}.action-topline{margin-bottom:12px}.action-helper{font-size:8px}.action-indicator{font-size:11px}.action-controls{gap:7px;grid-template-columns:.8fr 1fr 1.3fr}.action-button{height:43px;font-size:11px;gap:6px}.action-button small{font-size:9px}.raise-tools{flex-wrap:wrap;gap:8px}.raise-tools label{font-size:8px}.raise-input{width:60px;font-size:10px}.size-buttons{gap:4px}.size-buttons button{font-size:8px;padding:5px}.key{display:none}.under-table{font-size:8px;gap:8px;margin:13px 0}.under-table button{font-size:8px}.shield-icon{font-size:11px;margin-right:2px}.page-footer{margin-top:12px;font-size:6px;letter-spacing:.5px;gap:10px}.waiting-bar{gap:10px}.waiting-symbol{font-size:23px}.waiting-bar strong{font-size:12px}.waiting-bar p{font-size:9px}.waiting-bar .action-button{min-width:110px;padding:0 14px}.result-details{font-size:9px;gap:12px}dialog{padding:22px}.profile-card{gap:10px}.profile-tag{display:block;margin-left:0!important}.action-topline .small-link{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable table controls and compact, plain-language panels. */
.nav-rail{width:86px}.main-shell{margin-left:86px}.rail-button{height:60px;width:58px;display:flex;flex-direction:column;justify-content:center;gap:5px}.nav-label{font-size:12px;font-weight:500;line-height:1.2}.rail-middle{gap:14px}.brand-mark{margin-bottom:54px}.rail-footer{display:none}.wordmark span{font-size:11px;letter-spacing:2px}.top-status{font-size:13px}.icon-button span{font-size:12px}.help-button{width:30px;height:30px;font-size:16px}
main{padding-top:22px}.page-heading{margin-bottom:18px;gap:20px}.page-heading h1{font-size:23px;margin:0;font-weight:600}.table-format{padding:0;font-size:13px;letter-spacing:.3px}.table-toolbar{font-size:14px}.room-label{font-size:14px}.blind-label{font-size:12px}.blind-label strong{font-size:15px}.fixed-pill{font-size:11px}.speed-button span{font-size:12px}
.table-scene{height:580px}.poker-table{top:111px;height:360px}.seat{width:162px}.seat-0{top:85%}.seat-1{left:14%;top:68%}.seat-2{left:17%;top:24%}.seat-3{top:14%}.seat-4{left:83%;top:24%}.seat-5{left:86%;top:68%}.seat-name{min-width:126px;padding:8px 12px;border-color:#80908266;background:linear-gradient(#233f33,#182f25)}.name-row{font-size:16px;font-weight:600;color:#fff9e9}.seat-stack{font-size:18px;color:#ffdf9c;line-height:1.35;margin-top:3px}.seat-stack small{font-size:11px;color:#c1d1bf}.seat-0 .seat-name{min-width:150px}.style-dot{width:6px;height:6px}.seat.folded .seat-name{opacity:1;background:#1c2f27;border-color:#7385744d;filter:none}.seat.folded .name-row{color:#bbc7bd}.seat.folded .seat-stack{color:#bfccb8}.seat.folded .avatar-wrap,.seat.folded .seat-cards{opacity:.38;filter:saturate(.2)}
.seat-status{top:calc(100% + 7px)!important;min-height:27px;padding:4px 10px;border:1px solid #829b8355;background:#142e23;color:#f1f6e9;font-size:14px;line-height:19px;font-weight:600;border-radius:6px;letter-spacing:.2px;white-space:nowrap;box-shadow:0 2px 7px #08180d55}.seat-status:empty{display:none}.seat.folded .seat-status{color:#c4d0c4;background:#24382c;border-color:#6e85615c}.seat-status.action-raise{background:#72451f;color:#fff4d8;border-color:#dcaa71}.seat-status.action-call{background:#285840;color:#f0ffe7;border-color:#76ae82}.seat-status.action-allin{background:#8b382d;color:#fff5e8;border-color:#f4ac89}.seat-status.action-thinking{background:#e9cc8b;color:#223326;border-color:#fff0bb}.seat.turn .seat-name{border-color:#efd28e;box-shadow:0 0 0 2px #ead38e22}.seat.turn .avatar-wrap{border-color:#f3da95}
.position-marker{left:calc(50% - 82px);top:74px;width:26px;height:26px;font-size:12px}.position-marker.blind{font-size:10px;color:#fff5d7;background:#455c41;border-color:#b6c49b}.seat-0 .position-marker{top:96px;left:calc(50% - 98px)}.bet-stack{font-size:14px;font-weight:600;color:#ffefc5;text-shadow:0 1px 2px #000}.seat-1 .bet-stack{left:151px;top:43px}.seat-2 .bet-stack{left:148px;top:92px}.seat-4 .bet-stack{right:148px;top:92px}.seat-5 .bet-stack{right:151px;top:43px}.seat-3 .bet-stack{top:162px}.seat-0 .bet-stack{top:-27px}
.pot-label{font-size:12px;letter-spacing:1px;color:#d8e6d0}.pot-label strong{font-size:29px;font-weight:700;color:#fff3d3}.street-status{font-size:12px;letter-spacing:.5px;color:#d4e1ca;margin-top:14px}.table-brand{top:23px;font-size:13px}.community-area{padding-top:35px}
.table-message{position:static;display:none;width:min(340px,90%);text-shadow:none;pointer-events:none;margin:0 0 13px;padding:12px 16px;left:auto;right:auto;top:auto;z-index:5}.table-message.is-result{display:flex;align-items:center;justify-content:center;gap:12px;border-radius:12px;background:linear-gradient(135deg,#fff0b5,#e6bc64);color:#233022;border:2px solid #fff3cd;box-shadow:0 0 0 4px #e4bd6333,0 7px 20px #071a15aa;animation:resultAppear .5s ease-out}.table-message strong{font-size:23px;display:block;font-weight:800;line-height:1.3;color:#233022}.table-message span{display:block;font-size:14px;font-weight:600;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.winner-trophy{width:35px;height:35px;stroke:#4c451f;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}.hand-complete .pot-label,.hand-complete .pot-chips{display:none}.hand-complete .street-status{color:#dfebd5}.winner-badge{position:absolute;top:-15px;right:-9px;padding:4px 10px;border-radius:12px;background:#ffe7a0;color:#2e341d;font-size:13px;font-weight:800;line-height:1.2;border:2px solid #fff4ca;box-shadow:0 2px 8px #0006;z-index:8}.seat.winner .seat-name{border:2px solid #ffe4a0;background:#294c31;box-shadow:0 0 0 4px #e8c57333,0 0 24px #ffe18844}.seat.winner .name-row{color:#fff5cd}.seat.winner .seat-stack{color:#fff1b2}.seat.winner .avatar-wrap{border-color:#ffe5a0;box-shadow:0 0 0 4px #edcc8133}.seat.winner .seat-status{background:#ffe4a0;color:#283522;border-color:#fff0c4;font-weight:800;font-size:15px}.seat.winner .seat-cards .card{box-shadow:0 0 0 2px #f3cf7a,0 3px 9px #0006}
.action-dock{min-height:143px;padding:18px 22px}.action-indicator{font-size:15px;font-weight:600}.action-helper{font-size:12px;color:#65725c}.action-button{font-size:16px;min-height:48px;font-weight:600}.action-button small{font-size:11px;color:#737d69}.action-button.primary small{color:#e7e6c9}.action-button.fold{color:#685e4f}.waiting-bar strong{font-size:17px;font-weight:600}.waiting-bar p{font-size:13px;color:#617458;line-height:1.5}.waiting-bar .action-button{min-width:130px}.raise-tools label{font-size:12px;color:#65735b}.raise-input{font-size:14px;width:85px;min-height:33px;color:#344e30}.size-buttons button{font-size:12px;padding:7px 10px;color:#536b43}.raise-tools{gap:10px}.text-button,.result-details{font-size:13px;color:#536d44}.result-details>span:empty{display:none}.key{font-size:10px}.under-table,.under-table button{font-size:11px;color:#677a59}.page-footer{font-size:10px;color:#7d8973;justify-content:flex-end;letter-spacing:0;margin-top:16px}
.insight-panel{max-height:778px;min-height:0}.panel-tabs{gap:28px}.panel-tabs button{font-size:14px;color:#75836b}.panel-tabs button.selected{color:#304f30}.hand-label,.hand-label b{font-size:13px;color:#435b36}.hand-label span{font-size:11px}.activity-list{gap:17px}.activity-item{gap:10px}.activity-avatar{width:32px;height:32px}.activity-text strong{font-size:13px;color:#3f5635}.activity-text p{font-size:12px;color:#657758;margin-top:4px}.activity-amount{font-size:13px;color:#405a33;font-weight:600}.activity-street{font-size:11px;color:#688359}.empty-activity{font-size:14px;line-height:1.7;color:#6c7c60;padding:8px 0}.panel-foot{display:flex;gap:10px;padding:16px;background:#f7f9f0}.panel-foot button{flex:1;min-height:38px;background:white;border:1px solid #dbe2d0;border-radius:7px;color:#45613a;font-size:13px}.stat-grid small{font-size:12px;color:#6b7b5c}.stat-grid strong{font-size:23px}.session-note{font-size:12px;color:#71805f}.small-link{font-size:13px;color:#46683a}
dialog{width:min(660px,calc(100vw - 32px));padding:26px;max-height:88vh}.modal-top{padding-bottom:16px;margin-bottom:16px;gap:20px}.modal-top h2{font-size:24px;font-weight:600;margin:0}.close-button{width:38px;height:38px;flex-shrink:0;color:#3f5735}#modalBody{font-size:14px;line-height:1.8;color:#566a48}#modalBody h3{font-size:16px;font-weight:600;color:#344e2d}#modalBody .modal-intro{margin:0 0 17px;font-size:13px;color:#617451;line-height:1.7}.profiles-list{display:flex;flex-direction:column;gap:12px}.profile-card{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:14px;padding:17px;border:1px solid #dfe5d5;border-radius:12px;background:white;align-items:start}.profile-avatar{width:48px;height:48px;overflow:hidden;border-radius:50%}.profile-avatar svg{display:block;width:100%;height:100%}.profile-content{min-width:0}.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.profile-heading h3{font-size:17px!important;line-height:1.4;margin:0!important}.profile-card .profile-tag{display:inline-block;font-size:12px;color:#506345;background:#f0f3e9;border:1px solid #e2e8d8;line-height:1.5;margin:0!important;padding:3px 8px;border-radius:5px;white-space:normal}.profile-card .profile-pending{font-size:13px;margin:8px 0 13px!important;line-height:1.6;color:#7b866d}.profile-traits{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 14px}.profile-traits span{font-size:12px;padding:3px 7px;border:1px solid #dde7d2;background:#f6f9ef;color:#526e3d;border-radius:5px;line-height:1.5}.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding-top:11px;border-top:1px solid #e8eddf;letter-spacing:0}.profile-stats dt{font-size:11px;line-height:1.4;color:#7a886c;white-space:nowrap}.profile-stats dd{font-family:'Manrope',var(--font);font-size:16px;font-weight:600;line-height:1.5;color:#344f2a;margin:4px 0 0}.setting-row small{font-size:12px;color:#7b886e}.setting-row select{font-size:13px}.setting-row input[type=checkbox]{width:20px;height:20px;accent-color:#376246;flex-shrink:0}.setting-row input[type=range]{accent-color:#376246;max-width:135px}.setting-row strong{font-size:13px;font-weight:500}.history-card summary{font-size:14px}.history-events{font-size:13px;line-height:1.9}.history-note{font-size:13px;color:#4f693d}.history-board{flex-wrap:wrap;gap:5px}.history-board label{font-size:12px}.rules-link{font-size:12px}.rule-row{align-items:start}.rule-row strong{text-align:right}.toast{font-size:14px}
@keyframes resultAppear{from{opacity:0;transform:translateY(-8px) scale(.96)}to{opacity:1;transform:none}}
@media(max-width:1230px){.seat{width:142px}.seat-name{min-width:116px}.name-row{font-size:15px}.seat-stack{font-size:17px}.seat-1{left:13%}.seat-5{left:87%}.seat-2{left:16%}.seat-4{left:84%}.seat-1 .bet-stack{left:132px}.seat-5 .bet-stack{right:132px}.seat-2 .bet-stack{left:133px}.seat-4 .bet-stack{right:133px}.raise-tools{flex-wrap:wrap}.action-helper{font-size:11px}.size-buttons button{padding:7px 8px}.position-marker{left:calc(50% - 74px)}.table-message{width:min(285px,90%)}.table-message strong{font-size:21px}.table-message span{font-size:13px}}
@media(max-width:1050px){.nav-rail{width:72px}.main-shell{margin-left:72px}.seat-1{left:15%}.seat-5{left:85%}.seat-2{left:17%}.seat-4{left:83%}.table-scene{height:600px}.poker-table{top:117px;height:374px}.seat-0{top:85%}.table-message{width:min(310px,90%)}.seat-3 .bet-stack{top:166px}}
@media(max-width:650px){.nav-rail{width:100%;height:65px}.main-shell{margin-left:0;margin-bottom:65px}.rail-middle{gap:0}.rail-button{height:53px;width:49px;gap:3px}.rail-button svg{width:21px;height:21px}.nav-label{font-size:11px}.brand-mark{margin:0 5px;font-size:30px}.nav-rail>.rail-button{margin:0 10px}.topbar{height:70px;padding:0 17px}.wordmark{font-size:17px}.wordmark span{font-size:10px;letter-spacing:1.5px}.top-status{font-size:0}.top-status .icon-button span{display:none}.help-button{width:29px;height:29px;font-size:15px}main{padding:18px 10px 14px}.page-heading{margin-bottom:16px;padding:0 5px}.page-heading h1{font-size:20px}.table-format{display:block;font-size:11px;letter-spacing:0}.table-toolbar{padding:0 11px;gap:8px;height:48px}.room-label{font-size:12px;gap:5px}.blind-label{font-size:11px;gap:4px}.blind-label strong{font-size:13px}.fixed-pill{font-size:10px;padding:3px 4px}.speed-button{padding-left:8px;font-size:13px}.speed-button span{font-size:11px;margin-left:1px}.table-scene{height:590px}.poker-table{top:82px;left:7%;right:7%;height:426px}.table-brand{top:64px;font-size:11px}.seat{width:106px}.seat-0{top:86%}.seat-1{left:14%;top:68%}.seat-2{left:14%;top:25%}.seat-3{top:12%}.seat-4{left:86%;top:25%}.seat-5{left:86%;top:68%}.seat-name{min-width:93px;padding:7px 7px}.name-row{font-size:13px}.seat-stack{font-size:15px;line-height:1.3}.seat-stack small{display:block;font-size:10px;margin:2px 0 0}.seat-0 .seat-name{min-width:120px}.seat-0 .seat-stack small{display:inline;margin-left:5px}.seat-status{font-size:12px;line-height:17px;min-height:25px;padding:4px 7px;top:calc(100% + 5px)!important;max-width:120px;letter-spacing:0}.seat.winner .seat-status{font-size:12px}.position-marker{width:21px;height:21px;font-size:10px;left:calc(50% - 57px);top:47px}.position-marker.blind{font-size:8px}.seat-0 .position-marker{top:82px;left:calc(50% - 81px)}.winner-badge{font-size:11px;top:-13px;right:-4px;padding:3px 7px}.bet-stack{font-size:12px}.seat-1 .bet-stack{left:91px;top:28px}.seat-5 .bet-stack{right:91px;top:28px}.seat-2 .bet-stack{left:93px;top:69px}.seat-4 .bet-stack{right:93px;top:69px}.seat-3 .bet-stack{top:150px}.seat-0 .bet-stack{top:-23px}.pot-label{font-size:11px}.pot-label strong{font-size:26px}.pot-chips{margin-bottom:12px}.street-status{font-size:11px;margin-top:12px;letter-spacing:0}.community-area{padding-top:32px}.community-cards{gap:4px}.community-cards .card{width:40px;height:59px}.table-message{width:220px;padding:9px 11px;margin-bottom:14px;gap:9px!important;border-radius:9px!important}.table-message strong{font-size:18px}.table-message span{font-size:12px;line-height:1.4;margin-top:3px}.winner-trophy{width:27px;height:27px}.hand-complete .community-area{padding-top:48px}.action-dock{padding:16px 12px;min-height:145px}.action-topline{gap:8px;align-items:start}.action-indicator{font-size:13px;flex-wrap:wrap;gap:5px}.action-helper{font-size:11px}.action-topline>.action-helper{white-space:nowrap}.action-button{font-size:14px;min-height:46px;gap:5px}.action-button small{display:none}.action-controls{grid-template-columns:.8fr 1fr 1.25fr;gap:7px}.raise-tools{gap:9px;margin-top:14px}.raise-tools label{font-size:11px}.raise-input{font-size:13px;width:70px}.raise-tools input[type=range]{min-width:70px}.size-buttons{width:100%;gap:7px;justify-content:flex-end}.size-buttons button{font-size:12px;min-width:49px;padding:7px 10px;flex:1}.waiting-bar strong{font-size:15px}.waiting-bar p{font-size:12px;max-width:180px}.waiting-bar .action-button{min-width:105px;padding:0 12px}.waiting-symbol{display:none}.result-details,.text-button{font-size:12px}.under-table,.under-table button{font-size:10px}.page-footer{font-size:10px}.table-message.is-result{box-shadow:0 0 0 3px #e4bd6322,0 5px 14px #071a1588}dialog{width:calc(100vw - 24px);padding:19px 16px}.modal-top h2{font-size:22px}.modal-top{margin-bottom:15px;padding-bottom:14px}#modalBody{font-size:14px}.profile-card{grid-template-columns:38px minmax(0,1fr);padding:13px 11px;gap:10px}.profile-avatar{width:38px;height:38px}.profile-heading{gap:7px}.profile-heading h3{font-size:16px!important}.profile-card .profile-tag{font-size:11px;padding:3px 6px}.profile-card .profile-pending{font-size:12px;margin:8px 0 10px!important}.profile-stats{gap:7px}.profile-stats dt{font-size:10px}.profile-stats dd{font-size:15px}.profile-traits{gap:5px}.profile-traits span{font-size:11px;padding:3px 5px}.setting-row{gap:12px}.setting-row input[type=range]{max-width:110px}.rule-row{gap:14px}.history-board .card{width:32px;height:45px}.history-events{font-size:12px}.toast{font-size:13px;width:max-content;max-width:90vw}}
@media(prefers-reduced-motion:reduce){.table-message.is-result{animation:none}}
/* Leave clear space between community cards, hero cards and the action dock. */
@media(min-width:651px){.community-area{padding-top:0}.seat-0{top:81%}}
.hand-complete .street-status{display:none}
@media(max-width:650px){.seat-0{top:83.5%}}
@media(max-width:650px){.seat-1 .position-marker,.seat-2 .position-marker{left:5px;right:auto;top:0}.seat-4 .position-marker,.seat-5 .position-marker{left:auto;right:5px;top:0}}
.heading-actions{display:flex;align-items:center;gap:18px}.heading-actions>button{padding:9px 15px;border:1px solid #c5d5bd;border-radius:7px;background:#e9f0e2;color:#315335;font-weight:600;font-size:14px}.bankroll-bar{display:flex;align-items:center;gap:23px;background:#f0f3e9;border:1px solid #dce5d3;border-top:0;padding:12px 22px;min-height:65px}.bankroll-bar>div{display:flex;flex-direction:column;gap:4px}.bankroll-bar>div>span{font-size:11px;color:#69795b}.bankroll-bar strong{font-family:'Manrope',var(--font);font-size:20px;color:#234d32;font-weight:700;line-height:1.2}#walletDebt{color:#97612e}#pendingLoan{font-size:11px;color:#9b6b34;line-height:1.5;max-width:120px}.bankroll-bar button{padding:9px 12px;border-radius:6px;background:#fff;border:1px solid #c8d5bd;color:#3c6038;font-size:13px;white-space:nowrap}.bankroll-bar #borrowButton{margin-left:auto;background:#2c513a;color:#f4f5de;border-color:#2c513a}.bankroll-bar #ledgerButton{margin-left:-15px}.seat-stack .seat-debt{display:block!important;color:#efce9c!important;font-size:10px!important;margin:3px 0 0!important}.insight-panel{max-height:850px}.ledger-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0 23px}.ledger-summary>div{display:flex;flex-direction:column;gap:8px}.ledger-summary span{font-size:12px;color:#758465}.ledger-summary strong{font-size:24px;color:#345c39;font-family:'Manrope',var(--font)}.ledger-summary>div:nth-child(2) strong{color:#95622f}.ledger-actions{display:flex;gap:12px}.ledger-actions>*{flex:1}.loan-pending{padding:10px 14px;border-radius:6px;background:#fff1d4;color:#8d5d2f}.loan-history>div{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e4eadb;padding:10px 0;font-size:13px}.loan-history strong{font-family:'Manrope',var(--font);color:#3b5c31}.field-label{display:block;font-size:13px;font-weight:600;margin:15px 0 7px}.room-input{width:100%;min-height:45px;padding:10px 12px;background:#fff;border:1px solid #ccd8c0;border-radius:7px;color:#344e2c;font-size:15px}.room-input[readonly]{font-size:12px}.room-divider{font-size:12px;color:#849172;text-align:center;margin:24px 0 12px}.room-code{font-family:'Manrope',var(--font);font-size:32px;letter-spacing:5px;font-weight:800;text-align:center;background:#edf2e5;border:1px solid #dce5d0;border-radius:9px;padding:20px;color:#345630}#roomError{color:#aa4938!important;font-size:13px}
@media(max-width:650px){.heading-actions{gap:10px}.heading-actions .table-format{display:none}.heading-actions>button{font-size:12px;padding:8px 11px}.bankroll-bar{padding:11px 10px;gap:15px;flex-wrap:wrap}.bankroll-bar strong{font-size:19px}.bankroll-bar>div>span{font-size:10px}.bankroll-bar button{font-size:12px;padding:8px 10px}.bankroll-bar #ledgerButton{margin-left:-8px}#pendingLoan:empty{display:none}#pendingLoan{font-size:11px;max-width:95px}.ledger-summary{gap:9px}.ledger-summary strong{font-size:21px}.ledger-summary span{font-size:11px}.room-code{font-size:27px;letter-spacing:4px}.ledger-actions{gap:9px}.seat-stack .seat-debt{font-size:9px!important}}

.raise-unit{font-size:9px;color:#8e9a82;white-space:nowrap;margin-left:2px}
@media(max-width:650px){.raise-unit{display:none}}

/* Mobile-first table layout: keep the felt and the action bar on one screen. */
.top-multiplayer{display:none}
@media(max-width:650px){
 html,body{height:100%;overflow:hidden}
 .app-shell{height:100dvh;min-height:0;overflow:hidden}
 .nav-rail{height:60px}
 .main-shell{height:calc(100dvh - 60px);margin-bottom:60px;display:flex;flex-direction:column;overflow:hidden}
 .topbar{height:54px;flex:0 0 54px;padding:0 12px;gap:8px}
 .wordmark{font-size:15px;letter-spacing:2px;white-space:nowrap}
 .wordmark span{display:none}
 .top-status{font-size:11px;gap:5px;min-width:0}
 .top-status #modeLabel{max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
 .top-divider{display:none}
 .top-status .icon-button{font-size:17px}
 .top-status .icon-button span{display:none}
 .help-button{width:26px;height:26px;font-size:14px;margin-left:0}
 .top-multiplayer{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 9px;border:1px solid #c5d5bd;border-radius:6px;background:#e9f0e2;color:#315335;font-size:11px;font-weight:600;white-space:nowrap}
 main{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:6px 8px 5px;max-width:none;width:100%}
 .page-heading{display:none}
 .game-layout{display:flex;flex-direction:column;flex:1;min-height:0;gap:0}
 .play-area{display:flex;flex-direction:column;flex:1;min-height:0}
 .table-toolbar{flex:0 0 40px;height:40px;padding:0 10px;border-radius:11px 11px 0 0;gap:8px}
 .room-label{font-size:12px}
 .blind-label{font-size:10px;gap:4px}
 .blind-label strong{font-size:12px}
 .fixed-pill{font-size:9px}
 .speed-button{font-size:12px;padding-left:8px}
 .speed-button span{font-size:10px}
 .bankroll-bar{flex:0 0 44px;min-height:44px;padding:5px 8px;gap:7px;flex-wrap:nowrap;border-radius:0}
 .bankroll-bar>div{gap:1px}
 .bankroll-bar>div>span{font-size:8px}
 .bankroll-bar strong{font-size:15px}
 #walletDebt{font-size:15px}
 #pendingLoan{font-size:8px;max-width:none}
 .bankroll-bar button{font-size:10px;padding:6px 7px;border-radius:5px}
 .bankroll-bar #borrowButton{margin-left:auto}
 .bankroll-bar #ledgerButton{margin-left:0}
 .table-scene{flex:1 1 auto;height:auto;min-height:220px;border-radius:0;overflow:hidden}
 .poker-table{top:4%;bottom:9%;left:4%;right:4%;height:auto;padding:4px;border-radius:46%/42%}
 .table-rail{border-width:9px}
 .table-rail:before{inset:-6px}
 .felt-ring{inset:10px}
 .table-brand{top:9%;font-size:9px;letter-spacing:2px}
 .community-area{padding-top:0}
 .pot-label{font-size:9px;gap:5px;margin-bottom:2px}
 .pot-label strong{font-size:20px}
 .pot-chips{height:14px;margin-bottom:4px}
 .chip-stack{width:19px;height:14px;transform:scale(.8)}
 .community-cards{gap:3px;min-height:50px}
 .community-cards .card{width:33px;height:48px;border-radius:3px}
 .community-cards .card-corner{font-size:14px;left:3px;top:3px}
 .community-cards .card-corner small{font-size:9px}
 .community-cards .card-center{font-size:18px;right:3px;bottom:4px}
 .street-status{font-size:9px;margin-top:5px;letter-spacing:0}
 .seat{width:84px}
 .seat-0{left:50%;top:82%}
 .seat-1{left:13%;top:67%}
 .seat-2{left:15%;top:24%}
 .seat-3{left:50%;top:14%}
 .seat-4{left:85%;top:24%}
 .seat-5{left:87%;top:67%}
 .avatar-wrap{width:32px;height:32px;border-width:1px}
 .seat-name{min-width:68px;padding:3px 4px;margin-top:-2px;border-radius:4px}
 .name-row{font-size:9px;gap:2px}
 .style-dot{width:3px;height:3px}
 .seat-stack{font-size:10px;margin-top:1px;line-height:1.15}
 .seat-stack small{font-size:7px}
 .seat-status{font-size:8px;line-height:12px;min-height:16px;padding:2px 4px;top:calc(100% + 2px)!important;max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .seat-cards{left:calc(50% + 9px);top:1px;gap:1px}
 .seat-cards .card{width:17px;height:24px;border-radius:2px}
 .seat-cards .card+.card{margin-left:-9px}
 .seat-cards .card-corner{font-size:7px;top:2px;left:2px}
 .seat-cards .card-corner small{font-size:5px}
 .seat-cards .card-center{font-size:9px;right:2px;bottom:2px}
 .seat-cards .card.back:after{font-size:8px}
 .seat-cards .card.back:before{inset:1px}
 .seat-0 .seat-cards{margin-top:-12px;margin-bottom:4px;gap:3px}
 .seat-0 .seat-cards .card{width:40px;height:55px;border-radius:3px}
 .seat-0 .seat-cards .card-corner{font-size:16px;top:4px;left:4px}
 .seat-0 .seat-cards .card-corner small{font-size:10px}
 .seat-0 .seat-cards .card-center{font-size:22px;right:4px;bottom:4px}
 .seat-0 .seat-name{min-width:92px}
 .seat-0 .seat-status{top:calc(100% + 2px)!important}
 .position-marker{width:16px;height:16px;font-size:7px;left:calc(50% - 47px);top:40px;border-width:1px}
 .position-marker.blind{font-size:6px}
 .seat-0 .position-marker{top:64px;left:calc(50% - 67px)}
 .bet-stack{font-size:9px;gap:1px;font-weight:600;background:#102a1fcc;padding:1px 4px;border-radius:4px}
 .bet-stack .chip-stack{display:none}
 .seat-1 .bet-stack{left:77px;top:26px}
 .seat-2 .bet-stack{left:77px;top:55px}
 .seat-4 .bet-stack{right:77px;top:55px}
 .seat-5 .bet-stack{right:77px;top:26px}
 .seat-3 .bet-stack{top:107px}
 .seat-0 .bet-stack{top:-20px}
 .action-dock{flex:0 0 auto;min-height:0;max-height:44dvh;overflow-y:auto;padding:9px 10px;border-radius:0 0 11px 11px;border-top:1px solid #e5e7df}
 .action-topline{margin-bottom:7px;gap:6px}
 .action-indicator{font-size:12px;gap:5px;flex-wrap:wrap}
 .action-helper{font-size:10px}
 .action-topline>.action-helper{white-space:nowrap}
 .action-controls{gap:6px;grid-template-columns:.8fr 1fr 1.25fr}
 .action-button{height:42px;min-height:42px;font-size:13px;gap:4px}
 .action-button small{display:none}
 .waiting-bar{padding:4px 0;gap:8px}
 .waiting-bar strong{font-size:14px}
 .waiting-bar p{font-size:11px;max-width:170px}
 .waiting-bar .action-button{min-width:100px;padding:0 10px}
 .waiting-symbol{display:none}
 .thinking-dots{padding:10px}
 .raise-tools{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"label input" "sizes sizes";gap:5px 8px;margin-top:8px;align-items:center}
 .raise-tools label{grid-area:label;font-size:10px}
 .raise-tools input[type=range]{display:none}
 .raise-input{grid-area:input;width:100%;min-height:32px;font-size:13px;padding:5px 7px}
 .raise-tools .size-buttons{grid-area:sizes;display:flex;width:100%;gap:5px;justify-content:stretch}
 .raise-tools .size-buttons button{flex:1;font-size:10px;padding:6px 3px;min-height:28px}
 .raise-unit{display:none}
 .result-details{font-size:10px;margin-top:6px;gap:10px}
 .under-table,.page-footer,.insight-panel{display:none}
}
@media(max-width:650px) and (max-height:700px){
 .nav-rail{height:56px}
 .main-shell{height:calc(100dvh - 56px);margin-bottom:56px}
 .topbar{height:48px;flex-basis:48px}
 .top-multiplayer{height:25px;font-size:10px}
 .table-toolbar{flex-basis:36px;height:36px}
 .bankroll-bar{flex-basis:40px;min-height:40px}
 .table-scene{min-height:200px}
 .action-dock{padding:7px 9px;max-height:42dvh}
 .action-button{height:38px;min-height:38px;font-size:12px}
 .raise-tools{margin-top:6px}
}
@media(max-width:650px) and (max-height:620px){
 .nav-rail{height:52px}
 .main-shell{height:calc(100dvh - 52px);margin-bottom:52px}
 .topbar{height:44px;flex-basis:44px;padding:0 9px}
 .wordmark{font-size:14px;letter-spacing:1.5px}
 .top-multiplayer{height:23px;font-size:9px;padding:0 7px}
 .help-button{width:23px;height:23px;font-size:12px}
 .table-toolbar{flex-basis:34px;height:34px;padding:0 8px}
 .room-label{font-size:11px}
 .blind-label{font-size:9px}
 .blind-label strong{font-size:11px}
 .speed-button{font-size:10px}
 .speed-button span{font-size:9px}
 .bankroll-bar{flex-basis:36px;min-height:36px;padding:4px 7px;gap:5px}
 .bankroll-bar>div>span{font-size:7px}
 .bankroll-bar strong{font-size:13px}
 #pendingLoan{font-size:7px}
 .bankroll-bar button{font-size:9px;padding:5px 5px}
 .table-scene{min-height:230px}
 .seat{width:76px}
 .seat-0{top:80%}
 .seat-1{left:12%;top:67%}
 .seat-2{left:14%;top:23%}
 .seat-3{top:13%}
 .seat-4{left:86%;top:23%}
 .seat-5{left:88%;top:67%}
 .avatar-wrap{width:27px;height:27px}
 .seat-name{min-width:62px;padding:2px 3px}
 .name-row{font-size:8px}
 .seat-stack{font-size:9px}
 .seat-status{font-size:7px;line-height:10px;min-height:14px;padding:1px 3px;max-width:70px}
 .seat-cards .card{width:14px;height:20px}
 .seat-cards .card+.card{margin-left:-8px}
 .seat-0 .seat-cards .card{width:34px;height:46px}
 .seat-0 .seat-cards .card-corner{font-size:13px}
 .seat-0 .seat-cards .card-center{font-size:18px}
 .seat-0 .seat-name{min-width:82px}
 .community-cards{gap:2px;min-height:40px}
 .community-cards .card{width:28px;height:40px}
 .community-cards .card-corner{font-size:12px}
 .community-cards .card-corner small{font-size:7px}
 .community-cards .card-center{font-size:15px}
 .pot-label strong{font-size:18px}
 .street-status{display:none}
 .action-dock{padding:5px 8px;max-height:40dvh}
 .action-topline{margin-bottom:5px}
 .action-indicator{font-size:11px}
 .action-helper{font-size:9px}
 .action-controls{gap:5px}
 .action-button{height:34px;min-height:34px;font-size:11px}
 .raise-tools{margin-top:4px;gap:4px 6px}
 .raise-tools label{font-size:9px}
 .raise-input{min-height:27px;font-size:12px;padding:3px 6px}
 .raise-tools .size-buttons{gap:4px}
 .raise-tools .size-buttons button{min-height:24px;padding:4px 2px;font-size:9px}
 .waiting-bar strong{font-size:12px}
 .waiting-bar p{font-size:10px}
}

[hidden]{display:none!important}

/* Opening screen */
.start-screen{
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:max(28px,env(safe-area-inset-top)) 28px max(35px,env(safe-area-inset-bottom));
  background:radial-gradient(ellipse at 25% 8%,#fcfbf5 0%,#f2f1eb 65%,#e9ede5 100%);
}
.start-header{
  display:flex;
  align-items:center;
  gap:11px;
  width:min(1080px,100%);
  margin:0 0 19px;
  font:800 13px/1.3 'Manrope',var(--font);
  letter-spacing:.21em;
  color:#19392d;
}
.start-mark{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:10px;
  background:#17382c;
  color:#ebcd91;
  font:25px/1 Georgia,serif;
  letter-spacing:0;
}
.start-layout{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);
  align-items:stretch;
  width:min(1080px,100%);
  max-width:none;
  padding:0;
  margin:0;
  border-radius:25px;
  background:#fffdf7;
  border:1px solid #dfe5da;
  box-shadow:0 25px 66px #1c3b2414;
  overflow:hidden;
}
.start-hero{
  isolation:isolate;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:500px;
  padding:43px 42px 37px;
  background:radial-gradient(ellipse at 71% 70%,#326e54,#1f503d 52%,#12372b 100%);
  color:#fffae9;
  overflow:hidden;
}
.start-hero-copy,.start-stakes{z-index:1}
.start-hero h1{margin:0;font-size:clamp(37px,5vw,64px);line-height:1.15;font-weight:700;letter-spacing:-.045em}
.start-hero p{margin:14px 0 0;color:#c6d7bf;font-size:14px;letter-spacing:.13em}
.start-stakes{display:flex;gap:25px;margin:0;padding:0}
.start-stakes>div+div{padding-left:24px;border-left:1px solid #a8c4a74a}
.start-stakes dt{font-size:12px;color:#c9dbc4;line-height:1.4}
.start-stakes dd{margin:4px 0 0;color:#fff5d9;font:700 20px/1.2 'Manrope',var(--font);font-variant-numeric:tabular-nums}
.start-art{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.start-felt{
  position:absolute;
  left:-12%;right:-31%;top:32%;bottom:12%;
  transform:rotate(-27deg);
  border-radius:48%;
  border:1px solid #dfbc7c67;
  background:radial-gradient(ellipse at 53% 40%,#4c826847,#112e2387);
  box-shadow:0 0 0 11px #1b342841,0 0 0 12px #edcf8a23,0 30px 65px #10291f63,inset 0 0 45px #0d291e65;
}
.start-felt::before{content:'';position:absolute;inset:17px;border:1px dashed #bcd1a746;border-radius:inherit}
.start-playing-card{
  position:absolute;
  top:46%;left:55%;
  width:clamp(90px,13vw,150px);
  aspect-ratio:.72;
  border-radius:10px;
  padding:11px;
  background:linear-gradient(142deg,#fffdf4,#eae4cf);
  border:1px solid #fff9e4;
  color:#18372b;
  box-shadow:0 19px 28px #091e15a6,0 2px 5px #0c271b8c;
  font-family:Georgia,serif;
  text-align:left;
}
.start-playing-card span{display:flex;align-items:center;flex-direction:column;width:max-content;font-size:clamp(22px,3vw,38px);line-height:.86;font-weight:bold}
.start-playing-card span small{font-size:.63em;line-height:1.2}
.start-playing-card>b{display:grid;place-items:center;position:absolute;inset:5% 0 0;font:normal clamp(59px,10vw,128px)/1 Georgia,serif}
.start-card-queen{color:#a54037;transform:translate(-50%,-19%) rotate(-19deg);background:linear-gradient(142deg,#fffaf0,#e6dac2)}
.start-card-ace{transform:translate(15%,0) rotate(13deg)}
.start-chip{
  position:absolute;
  width:clamp(35px,6vw,64px);
  aspect-ratio:1;
  border-radius:50%;
  border:1px solid #f9dfad83;
  background:repeating-conic-gradient(from 14deg,var(--chip-border) 0deg 22deg,var(--chip-face) 22deg 60deg);
  box-shadow:0 5px 0 var(--chip-side),0 7px 0 #3528228a,0 12px 15px #062619bc;
  transform:scaleY(.79) rotate(-21deg);
}
.start-chip::before{content:'';position:absolute;inset:16%;border-radius:50%;background:var(--chip-face);border:1px dashed var(--chip-border);box-shadow:0 0 0 1px var(--chip-side)}
.start-chip::after{content:'♦';position:absolute;inset:0;display:grid;place-items:center;color:var(--chip-border);font-size:16px}
.start-chip-gold{left:28%;top:57%;--chip-face:#af8a4f;--chip-border:#f4daad;--chip-side:#7b5f32}
.start-chip-ivory{left:20%;top:65%;--chip-face:#dbd4b7;--chip-border:#687f5c;--chip-side:#8c8769}
.start-chip-red{left:32%;top:68%;--chip-face:#924f46;--chip-border:#eed3a8;--chip-side:#623b34}
.table-setup{display:flex;flex-direction:column;justify-content:center;padding:39px clamp(24px,4vw,55px)}
.table-setup h2{margin:0 0 22px;font-size:25px;font-weight:700;letter-spacing:-.03em;color:#19372c}
.mode-picker,.setup-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.mode-picker button{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:72px;
  padding:12px;
  text-align:left;
  border:1px solid #dce3d8;
  border-radius:12px;
  background:#fffdfa;
  color:#34473b;
  font-size:14px;
  font-weight:700;
}
.mode-picker svg{width:24px;height:24px;flex:none;stroke:#638371;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mode-picker small,.setup-assist small{display:block;font-size:11px;line-height:1.45;color:#586957;font-weight:500;margin-top:5px}
.mode-picker button:hover{background:#f4f6ef;border-color:#89a38d}
.mode-picker button[aria-pressed="true"]{background:#eaf1e7;border-color:#668f76;color:#224e3b;box-shadow:inset 0 0 0 1px #668f76}
.setup-fields{margin-top:21px}
.setup-fields label{display:block;font-size:13px;font-weight:650;color:#334638}
.setup-fields select{
  display:block;
  width:100%;
  min-height:46px;
  margin-top:7px;
  padding:0 10px;
  border-radius:9px;
  background:#fffdfa;
  border:1px solid #dce3d8;
  color:#244434;
  font:500 15px/1.4 var(--font);
  cursor:pointer;
}
.setup-assist{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:68px;
  margin-top:18px;
  padding:11px 13px;
  border-radius:12px;
  background:#f1f4ec;
  border:1px solid #e5eadf;
  color:#254336;
  font-weight:700;
  cursor:pointer;
}
.setup-assist input{
  appearance:none;
  flex:none;
  width:45px;
  height:26px;
  margin:0;
  position:relative;
  background:#c9d2c6;
  border-radius:18px;
  cursor:pointer;
}
.setup-assist input::before{content:'';position:absolute;top:4px;left:4px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #1733282a;transition:transform .18s ease}
.setup-assist input:checked{background:#2e674f}
.setup-assist input:checked::before{transform:translateX(19px)}
.setup-actions{display:grid;gap:6px;margin-top:23px}
.launch-button{
  width:100%;
  min-height:49px;
  display:flex;
  gap:11px;
  justify-content:center;
  align-items:center;
  border-radius:10px;
  background:#204f3d;
  box-shadow:0 6px 13px #1d4a3524;
  color:#fffaf0;
  font-size:16px;
  font-weight:700;
}
.launch-button::after{content:'→';font-size:17px;line-height:1}
.launch-button:hover{background:#2a664c}
.join-button{min-height:42px;border-radius:9px;background:transparent;color:#305745;font-weight:650}
.join-button:hover{background:#edf2e8}

/* Table navigation and advice */
#tableScreen .nav-rail{padding-bottom:16px}
#tableScreen .topbar{height:72px}
#tableScreen main{padding-top:20px}
.table-top-title{display:flex;align-items:center;gap:20px;min-width:0}
#tableScreen .wordmark{font-size:19px;letter-spacing:.17em;white-space:nowrap}
#tableScreen .top-status{gap:9px}
#modeLabel{color:#546658;font-size:13px;font-weight:650}
.home-button,.advisor-toggle,.top-multiplayer{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:36px;
  padding:0 10px;
  border:1px solid #dce5d8;
  border-radius:8px;
  background:#fafbf5;
  color:#28523e;
  white-space:nowrap;
  font-size:12px;
  font-weight:700;
}
.home-button:hover,.advisor-toggle:hover,.top-multiplayer:hover{background:#e7eee1}
.advisor-toggle[aria-pressed="true"]{border-color:#678972;background:#e0ecdd;color:#1e503b}
#soundToggle,#helpButton{margin:0;min-width:32px;justify-content:center}
#soundToggle:focus-visible,#helpButton:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ae8b49;outline-offset:2px}
.table-toolbar{height:45px;justify-content:space-between}
.blind-label{margin-left:0}
.table-toolbar .street-status{display:block;margin:0;font-size:12px;color:#536a54;letter-spacing:0;white-space:nowrap}
.speed-button{border:0;min-height:32px;color:#536a54}
.bankroll-bar{min-height:54px;padding-top:8px;padding-bottom:8px}
#pendingLoan:empty{display:none}
.seat-name{max-width:100%}
.seat-stack .seat-debt[hidden]{display:none!important}
.name-row{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.name-row .style-dot{display:inline-block;margin-right:4px;vertical-align:middle}
.insight-panel .panel-tabs{padding-inline:15px;gap:16px}
.advisor-panel{
  flex:0 0 auto;
  min-width:0;
  margin-top:9px;
  border:1px solid #d9e4d6;
  border-radius:11px;
  background:#fcfdf7;
  color:#385746;
}
.advisor-panel>summary{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:43px;
  padding:7px 13px;
  list-style:none;
  cursor:pointer;
  font-weight:700;
  color:#26533e;
  border-radius:10px;
}
.advisor-panel>summary:hover{background:#eef4eb}
.advisor-panel>summary::-webkit-details-marker{display:none}
.advisor-panel>summary::after{content:'';margin-left:auto;width:7px;height:7px;border-right:1.6px solid #51755d;border-bottom:1.6px solid #51755d;transform:rotate(45deg);flex-shrink:0}
.advisor-panel[open]>summary::after{transform:rotate(225deg)}
.advisor-marker{color:#437d59;font-size:16px}
.advisor-content{padding:0 13px 13px;border-top:1px solid #edf0e7;overflow-wrap:anywhere}
.advisor-meta{display:flex;flex-wrap:wrap;gap:6px 15px;padding:9px 0;font-size:12px;color:#4d6655}
.advisor-meta strong{color:#213d2c;font-variant-numeric:tabular-nums}
.advisor-scroll{overflow-x:auto}
.advisor-choices{border-collapse:collapse;width:100%;font-size:13px;text-align:right;font-variant-numeric:tabular-nums}
.advisor-choices td,.advisor-choices th{padding:6px 8px;border-bottom:1px solid #e6ede2;line-height:1.25}
.advisor-choices th{font-size:11px;color:#4f6452;font-weight:650}
.advisor-choices :is(td,th):first-child{text-align:left}
.advisor-choices tbody th{font-size:inherit;color:inherit}
.advisor-choices .recommended{background:#e7f0e4;color:#204b36;font-weight:700}
.advisor-pick{margin-left:5px;padding:1px 4px;border-radius:4px;background:#d2e6d2;color:#24533a;font-size:10px;white-space:nowrap}
.advisor-size{background:transparent;color:#234f3a;text-decoration:underline;text-underline-offset:.2em;font-weight:inherit;min-height:30px;padding:0}
.advisor-note,.advisor-status{margin:8px 0 0;font-size:12px;line-height:1.5;color:#536a57}

/* The hero stays at the bottom while the other seats follow the table size. */
.table-scene[data-seats="2"] .seat-1,
.table-scene[data-seats="4"] .seat-2{left:50%;top:15%}
.table-scene[data-seats="3"] .seat-1{left:23%;top:24%}
.table-scene[data-seats="3"] .seat-2{left:77%;top:24%}
.table-scene[data-seats="4"] .seat-1{left:14%;top:47%}
.table-scene[data-seats="4"] .seat-3{left:86%;top:47%}
.table-scene[data-seats="5"] .seat-3{left:82%;top:24%}
.table-scene[data-seats="5"] .seat-4{left:86%;top:68%}
.table-scene[data-seats="2"] .seat-1 .bet-stack,
.table-scene[data-seats="4"] :is(.seat-1,.seat-2,.seat-3) .bet-stack{left:50%;right:auto;top:calc(100% + 40px);transform:translateX(-50%)}
.table-scene[data-seats="3"] .seat-1 .bet-stack{left:87%;top:82%}
.table-scene[data-seats="3"] .seat-2 .bet-stack,
.table-scene[data-seats="5"] .seat-3 .bet-stack{left:auto;right:87%;top:82%}
.table-scene[data-seats="5"] .seat-4 .bet-stack{right:87%;top:44%}

@media(min-width:651px){
  #tableScreen .table-scene{height:clamp(425px,calc(100dvh - 330px),580px)}
  #tableScreen .poker-table{top:18%;bottom:20%;height:auto}
  #tableScreen .community-area{padding-bottom:13px}
  .action-dock{min-height:118px;padding-top:14px;padding-bottom:14px}
}
@media(max-width:650px){
  html,body{height:auto;overflow:visible}
  .start-screen{justify-content:flex-start;padding-inline:14px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .start-header{margin-bottom:12px;font-size:11px}
  .start-mark{width:30px;height:30px;border-radius:8px;font-size:21px}
  .start-layout{display:flex;flex-direction:column;flex:0 0 auto;border-radius:19px;overflow:hidden}
  .start-hero{min-height:192px;padding:25px 19px 21px}
  .start-hero h1{font-size:36px}
  .start-hero p{margin-top:8px;font-size:11px}
  .start-stakes{gap:12px}
  .start-stakes>div+div{padding-left:12px}
  .start-stakes dt{font-size:10px}
  .start-stakes dd{font-size:15px}
  .start-felt{left:13%;right:-37%;top:28%;bottom:-15%}
  .start-playing-card{top:39%;left:69%;width:clamp(63px,20vw,110px);padding:5px;border-radius:6px}
  .start-playing-card span{font-size:20px}
  .start-playing-card>b{font-size:clamp(41px,12vw,67px)}
  .start-chip{width:clamp(21px,6.8vw,32px)}
  .start-chip::after{font-size:8px}
  .start-chip-gold{left:52%;top:72%}
  .start-chip-red{left:57%;top:81%}
  .start-chip-ivory{left:46%;top:84%}
  .table-setup{padding:20px 16px}
  .table-setup h2{font-size:21px;margin-bottom:13px}
  .mode-picker,.setup-fields{gap:8px}
  .mode-picker button{min-height:61px;gap:7px;padding:8px;font-size:13px}
  .mode-picker svg{width:17px;height:17px}
  .mode-picker small{margin-top:3px;font-size:10px}
  .setup-fields{margin-top:14px}
  .setup-fields select{margin-top:5px;font-size:16px}
  .setup-assist{min-height:56px;margin-top:12px;padding:6px 10px;font-size:13px}
  .setup-assist small{margin-top:3px;font-size:11px}
  .setup-actions{margin-top:14px}
  .join-button{min-height:44px}
  #tableScreen .nav-rail{height:calc(56px + env(safe-area-inset-bottom));padding:0 0 env(safe-area-inset-bottom)}
  #tableScreen .nav-rail .brand-mark{display:none}
  #tableScreen .nav-rail .rail-middle{flex:3 1 0}
  #tableScreen .nav-rail .rail-button{margin:0;min-width:44px;min-height:44px;border-radius:8px;flex:1 1 0}
  #tableScreen .nav-rail .rail-button.active{box-shadow:none;background:#254437}
  #tableScreen .nav-rail .nav-label{font-size:11px}
  #tableScreen .main-shell{height:calc(100dvh - 56px - env(safe-area-inset-bottom));margin:0;padding-top:env(safe-area-inset-top)}
  #tableScreen .topbar{height:49px;flex:0 0 49px;padding:0 8px}
  #tableScreen .top-status{gap:4px}
  #tableScreen .wordmark{display:none}
  #tableScreen .top-status #modeLabel{max-width:none;font-size:10px}
  .home-button,.advisor-toggle,.top-multiplayer{min-height:36px;padding-inline:6px;font-size:11px}
  #helpButton{min-width:29px;height:29px}
  #tableScreen main{padding:5px 6px 6px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
  .game-layout,.play-area{min-height:100%;flex:1 0 auto}
  .table-toolbar{flex-basis:32px;height:32px}
  .table-toolbar .street-status{font-size:10px}
  .table-scene{min-height:235px}
  .table-scene .seat-0{top:78%}
  .seat-0 .seat-name{max-width:92px}
  .seat-0 .bet-stack{left:calc(50% + 50px);top:auto;bottom:7px}
  .table-scene .community-area{padding:0 0 22px}
  .table-scene .pot-chips{display:none}
  .pot-label{margin-bottom:5px}
  .action-dock{max-height:none;overflow:visible}
  .action-button{height:44px;min-height:44px}
  .raise-tools{grid-template-columns:auto minmax(56px,.8fr) minmax(0,1.5fr);grid-template-areas:"label input sizes";gap:5px;margin-top:5px}
  .raise-tools label{font-size:10px}
  .raise-input{width:100%;min-height:39px;font-size:16px}
  .raise-tools .size-buttons{gap:3px}
  .raise-tools .size-buttons button{min-width:0;min-height:39px;font-size:10px;padding-inline:3px;white-space:nowrap}
  .advisor-panel{margin-top:5px}
  .advisor-panel>summary{min-height:42px;font-size:13px;padding:5px 8px}
  .advisor-content{padding:1px 8px 7px}
  .advisor-scroll{overflow:visible}
  .advisor-meta{padding:6px 0;font-size:11px;gap:5px 10px}
  .advisor-choices{font-size:12px}
  .advisor-choices th,.advisor-choices td{padding:4px;line-height:1.3}
  .advisor-choices th{font-size:10px}
  .advisor-size{min-height:32px}
  .advisor-note,.advisor-status{font-size:11px;margin:5px 0 0}
  .table-scene[data-seats="2"] .seat-1,
  .table-scene[data-seats="4"] .seat-2{top:13%}
  .table-scene[data-seats="2"] .seat-1 .position-marker,
  .table-scene[data-seats="4"] .seat-2 .position-marker{left:5px;right:auto;top:0}
  .table-scene[data-seats="2"] .seat-1 .seat-status,
  .table-scene[data-seats="4"] .seat-2 .seat-status,
  .table-scene[data-seats="6"] .seat-3 .seat-status{right:calc(50% + 36px);top:calc(50% + 6px)!important}
  .table-scene[data-seats="3"] .seat-2 .position-marker,
  .table-scene[data-seats="4"] .seat-3 .position-marker,
  .table-scene[data-seats="5"] .seat-3 .position-marker{right:5px;left:auto;top:0}
  .table-scene[data-seats="4"] .seat-1{left:13%}
  .table-scene[data-seats="4"] .seat-3{left:87%}
  .table-scene[data-seats="4"] :is(.seat-1,.seat-3) .bet-stack{top:calc(100% + 17px)}
  .table-scene[data-seats="2"] .seat-1 .bet-stack,
  .table-scene[data-seats="4"] .seat-2 .bet-stack,
  .table-scene[data-seats="6"] .seat-3 .bet-stack{left:calc(50% + 37px);right:auto;top:calc(50% + 6px);transform:none}
  .table-scene[data-seats="5"] .seat-4 .bet-stack{right:80%;top:55%}
  dialog .room-input{font-size:16px}
}
@media(max-width:370px){
  .start-hero{min-height:158px;padding:19px 15px 16px}
  .start-hero h1{font-size:31px}
  .table-setup{padding:17px 13px}
  .start-playing-card{left:70%;top:34%}
  .mode-picker button{gap:5px}
  .mode-picker small{font-size:9px}
  #tableScreen .top-status{gap:3px}
  #tableScreen .top-status #modeLabel{font-size:9px}
  .home-button,.advisor-toggle,.top-multiplayer{padding-inline:5px;font-size:10px}
  #soundToggle,#helpButton{min-width:26px}
  #helpButton{height:26px}
  .raise-tools label{font-size:9px}
  .raise-tools .size-buttons button{font-size:9px}
}
@media(max-width:650px) and (max-height:620px){
  #tableScreen .topbar{height:44px;flex-basis:44px}
  .table-toolbar{height:28px;flex-basis:28px}
  .table-scene{min-height:211px}
  .table-scene .seat-0{top:77%}
  .table-scene .community-area{padding-bottom:32px}
  .pot-label{margin-bottom:2px}
  .pot-label strong{font-size:16px;line-height:1}
  .table-message.is-result{width:max-content;max-width:90%;padding:3px 7px;margin-bottom:3px}
  .table-message strong{font-size:12px}
  .table-message span{display:none}
  .winner-trophy{width:16px;height:16px}
}

/* The larger tables keep the board between two columns of seats. */
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]){
  --outer-seat:13%;
  --top-seat:15%;
  --middle-seat:44%;
  --lower-seat:74%;
  --opponent-width:clamp(62px,22%,108px);
  --opponent-avatar:34px;
  --opponent-card:22px;
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat-1{left:var(--outer-seat);top:var(--lower-seat)}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat-2{left:var(--outer-seat);top:var(--middle-seat)}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat-3{left:var(--top-left);top:var(--top-seat)}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat-4{left:var(--top-next);top:var(--top-seat)}
.table-scene[data-seats="7"]{--top-left:33%;--top-next:67%}
.table-scene[data-seats="8"]{--top-left:18%;--top-next:50%}
.table-scene[data-seats="9"]{--top-left:var(--outer-seat);--top-next:37.5%}
.table-scene[data-seats="8"] .seat-5{left:82%;top:var(--top-seat)}
.table-scene[data-seats="9"] .seat-5{left:62.5%;top:var(--top-seat)}
.table-scene[data-seats="9"] .seat-6{left:calc(100% - var(--outer-seat));top:var(--top-seat)}
.table-scene[data-seats="7"] .seat-5,.table-scene[data-seats="8"] .seat-6,.table-scene[data-seats="9"] .seat-7{left:calc(100% - var(--outer-seat));top:var(--middle-seat)}
.table-scene[data-seats="7"] .seat-6,.table-scene[data-seats="8"] .seat-7,.table-scene[data-seats="9"] .seat-8{left:calc(100% - var(--outer-seat));top:var(--lower-seat)}

.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0){
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:var(--opponent-avatar) auto minmax(16px,auto);
  column-gap:2px;
  width:var(--opponent-width);
  align-items:center;
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .avatar-wrap{
  grid-area:1/1/2/3;
  justify-self:center;
  width:var(--opponent-avatar);
  height:var(--opponent-avatar);
  transform:translateX(-8px);
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .seat-cards{
  position:static;
  grid-area:1/1/2/3;
  justify-self:center;
  transform:translateX(15px) rotate(7deg);
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .card{
  width:var(--opponent-card);
  height:calc(var(--opponent-card) * 1.37);
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .card + .card{
  margin-left:calc(var(--opponent-card) * -.43);
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .seat-name{
  grid-area:2/1/3/3;
  min-width:0;
  margin-top:-1px;
  padding:3px 5px;
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .position-marker{
  left:1px;
  right:auto;
  top:3px;
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) :is(.seat-status,.bet-stack){
  position:static;
  min-width:0;
  max-width:100%;
  min-height:0;
  margin:2px 0 0;
  padding:1px 3px;
  transform:none;
  line-height:1.2;
  font-size:10px;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .seat-status{grid-area:3/1/4/2}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .seat-status:empty{visibility:hidden}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .bet-stack{
  grid-area:3/2/4/3;
  max-width:48px;
  border-radius:4px;
  background:#102a1fdd;
  font-variant-numeric:tabular-nums;
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .bet-stack .chip-stack{display:none}

@media(max-width:650px){
  .table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]){
    --opponent-width:clamp(57px,21%,78px);
    --opponent-avatar:21px;
    --opponent-card:15px;
    min-height:238px;
  }
  .table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0){grid-template-rows:var(--opponent-avatar) auto minmax(13px,auto)}
  .table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .avatar-wrap{transform:translateX(-6px)}
  .table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .seat-cards{transform:translateX(13px) rotate(7deg)}
  .table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) :is(.seat-status,.bet-stack){font-size:8px}
  .table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat:not(.seat-0) .bet-stack{max-width:36px}
}
@media(max-width:650px) and (max-height:620px){
  .table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]){
    --opponent-avatar:20px;
    min-height:234px;
  }
  .table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .community-area{padding-bottom:24px}
  .table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) + .action-dock{padding-block:5px}
}

/* Blinds are readable at a glance, including the dealer's small blind heads up. */
.position-marker.blind{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:auto;
  min-width:37px;
  height:23px;
  padding:0 4px;
  border-radius:5px;
  font-size:11px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
.position-marker.small-blind{color:#102f44;background:#a9e0fc;border-color:#d9f2ff}
.position-marker.big-blind{color:#402805;background:#ffcc63;border-color:#fff1b0}
.dealer-dot{
  position:absolute;
  top:0;
  right:0;
  display:grid;
  place-items:center;
  width:15px;
  height:15px;
  transform:translate(48%,-43%);
  border:1px solid #f5eedb;
  border-radius:50%;
  color:#4b5144;
  background:#e3ddc2;
  font-size:9px;
}

/* The revealed hand takes the avatar slot and gives each card its own face. */
.table-scene.showdown{--revealed-card-width:40px}
.seat.is-revealed .avatar-wrap,.table-scene.showdown .winner-badge{display:none}
.table-scene.showdown .seat.folded.is-revealed .seat-cards{opacity:1;filter:none}
.table-scene.showdown .seat.is-revealed .seat-cards{
  position:static;
  order:-1;
  gap:4px;
  margin-bottom:3px;
  transform:none;
  z-index:4;
}
.table-scene.showdown .seat.is-revealed .seat-cards .card{
  width:var(--revealed-card-width);
  height:calc(var(--revealed-card-width) * 1.34);
  margin:0;
  transform:none;
}
.seat.is-revealed .card-corner{
  top:3px;
  left:0;
  right:0;
  font-size:calc(var(--revealed-card-width) * .51);
  text-align:center;
}
.seat.is-revealed .card-corner small{display:none}
.seat.is-revealed .card-center{
  right:0;
  bottom:3px;
  left:0;
  font-size:calc(var(--revealed-card-width) * .59);
  text-align:center;
}
.table-scene.showdown .seat.is-revealed .position-marker{
  position:relative;
  inset:auto;
  margin-top:3px;
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat.is-revealed{
  grid-template-rows:auto auto minmax(16px,auto);
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat.is-revealed .position-marker{
  grid-area:3/2/4/3;
  justify-self:end;
  margin-top:0;
}
.table-scene:is([data-seats="7"],[data-seats="8"],[data-seats="9"]) .seat.is-revealed:not(:has(.position-marker:not([hidden]))) .seat-status{
  grid-column:1/span 2;
}
.table-scene.showdown[data-seats="2"] .seat-1.is-revealed .position-marker,
.table-scene.showdown[data-seats="4"] .seat-2.is-revealed .position-marker,
.table-scene.showdown[data-seats="6"] .seat-3.is-revealed .position-marker{
  position:absolute;
  top:calc(var(--revealed-card-width) * 1.34 + 5px);
  left:calc(100% + 2px);
  margin:0;
}

@media(max-width:650px){
  .position-marker.blind{min-width:27px;height:16px;padding:0 3px;border-width:1px;font-size:9px}
  .position-marker.blind .dealer-dot{width:11px;height:11px;font-size:7px}
  .seat-0 .position-marker.blind{left:calc(50% - 75px)}
  .table-scene.showdown{--revealed-card-width:26px;min-height:259px}
  .table-scene.showdown .seat.is-revealed .seat-status{
    right:auto;
    top:calc(100% + 2px)!important;
  }
  .table-scene.showdown:is([data-seats="7"],[data-seats="8"],[data-seats="9"]){--revealed-card-width:24px}
  .table-scene[data-seats="2"] .seat-1.is-revealed,
  .table-scene[data-seats="4"] .seat-2.is-revealed,
  .table-scene[data-seats="6"] .seat-3.is-revealed{top:15%}
  .table-scene::after,.felt-grain,.ambient-light{display:none}
  .seat.turn .avatar-wrap::after{animation:none}
  .seat.folded .avatar-wrap,.seat.folded .seat-name{filter:none}
  dialog{overscroll-behavior:contain}
  dialog::backdrop{backdrop-filter:none}
}
@media(max-width:650px) and (max-height:620px){
  .table-scene.showdown{min-height:270px}
  .table-scene.showdown:is([data-seats="7"],[data-seats="8"],[data-seats="9"]){
    --top-seat:17.5%;
    --middle-seat:46.5%;
    --lower-seat:78%;
    min-height:288px;
  }
  .table-scene.showdown[data-seats="2"] .seat-1.is-revealed,
  .table-scene.showdown[data-seats="4"] .seat-2.is-revealed,
  .table-scene.showdown[data-seats="6"] .seat-3.is-revealed{top:18%}
}

/* Table directory, seat management, spectator odds and hand review. */
.directory-actions,.room-row-actions,.room-access,.spectate-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.directory-actions,.spectate-head{justify-content:space-between}
.directory-actions button,.room-row-actions button,.lobby-manage{min-height:40px;padding:6px 10px}
.lobby-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.invite-caption{font-size:13px;color:#586c5e;margin:10px 0}
.invite-caption:empty{display:none}
.room-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #dce5d8}
.room-row strong,.room-row span{display:block;overflow-wrap:anywhere}
.room-row span,.spectate-head span{font-size:12px;color:#4e6358}
.room-row-actions{flex-shrink:0;gap:2px}
.room-access{padding:8px 0;gap:2px 14px}
.room-access label{display:flex;align-items:center;gap:6px;min-height:36px;cursor:pointer}
.room-access input{accent-color:#2b7656;width:17px;height:17px}
.room-swap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:6px 0 15px}
.room-swap label{min-width:0}
.room-swap label:only-of-type{grid-column:1/-1}
.room-swap select{display:block;width:100%;min-height:42px;padding:4px 6px;border:1px solid #bfcfc2;border-radius:8px;background:#fff;color:#213d32;font:inherit}
.room-swap button{grid-column:1/-1}
.spectate-head{margin-bottom:8px;color:#214336}
.spectate-odds{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:5px}
.odds-row{display:grid;gap:2px;padding:5px 8px;background:#f3f7f0;border:1px solid #e0e9dc;border-radius:7px;font-size:12px;color:#294a3b}
.odds-row b{overflow-wrap:anywhere}
.odds-row span{font-variant-numeric:tabular-nums}
.bot-review h3{margin:13px 0 6px}
.bot-hand{margin:4px 0;border:1px solid #d9e4d7;border-radius:7px;padding:5px 8px}
.bot-hand summary{cursor:pointer;color:#254b3b;padding:4px 0}
.bot-hand summary span{margin-inline-start:9px;font-weight:750}
.bot-hand ol{padding-left:22px;margin:6px 0}
.bot-hand li span{display:block;color:#52675b;font-size:.93em}
@media(max-width:650px){.room-row{align-items:flex-start}.room-row-actions{justify-content:flex-end}.room-swap select{font-size:16px}.spectate-odds{grid-template-columns:repeat(2,minmax(0,1fr))}}
