:root{--bg:#f2f3ed;--panel:#fcfdf8;--ink:#28392f;--muted:#7e8b7a;--line:#dfe5d7;--green:#245241;--green-light:#dfeacc;--felt:#235347;--card:#fffffa;--red:#b45b4e;--sans:'DM Sans',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;--serif:'Songti SC','Noto Serif SC',serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;transition:background .15s,opacity .15s,transform .15s}button:disabled{cursor:default;opacity:.35}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9bad80;outline-offset:3px}a{color:inherit;text-decoration:none}button svg{width:17px;height:17px;vertical-align:middle}svg{flex-shrink:0}[hidden]{display:none!important}.app{max-width:1520px;padding:0 32px;margin:auto}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:10px}.brand-mark{color:var(--green);font-size:32px;line-height:1}.brand strong{font-size:17px;letter-spacing:1px;font-weight:600;display:block}.brand small{display:block;font-size:8px;letter-spacing:2px;color:#8c9884;margin-top:4px}.local-label{font-size:10px;color:#8b9780;display:flex;align-items:center;gap:6px;padding-left:20px;border-left:1px solid var(--line)}.local-label i,.table-live i{height:5px;width:5px;background:#85a167;border-radius:50%;display:inline-block}.top-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.toolbar-button{background:transparent;border-radius:7px;color:#78886c;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 11px;min-height:38px;font-size:11px}.toolbar-button:hover{background:#e7eddf}.toolbar-button>span:last-child{font-size:10px}.toolbar-button[aria-pressed=true]{color:#355a2d;background:#e2ead5}.icon-only{width:38px;padding:0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:22px;padding-top:24px}.play-area{min-width:0}.rightbar{border:1px solid var(--line);border-radius:15px;background:#f8faf2;display:flex;flex-direction:column;min-width:0;padding:0 18px;max-height:calc(100svh - 150px);min-height:590px}.history-hidden .workspace{grid-template-columns:minmax(0,1fr);max-width:1150px;margin:auto}.history-hidden .rightbar{display:none}.rail-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);min-height:55px;flex-shrink:0}.rail-heading h2{font-size:12px;font-weight:500;margin:0}.icon-button{width:34px;height:34px;border-radius:50%;color:#87957c;background:none;display:grid;place-items:center}.icon-button:hover{background:#e8eddd}.activity-log{flex:1;overflow:auto;scrollbar-width:thin;scrollbar-color:#dce4cc transparent;min-height:190px;padding-top:8px}.log-entry{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid #e8eddf}.log-dot{width:5px;height:5px;background:#c0cca9;border-radius:50%;flex-shrink:0;margin-top:6px}.log-entry:first-child .log-dot{background:#7e9a5d}.log-entry p{font-size:11px;color:#76866b;line-height:1.8;margin:0}.log-entry:first-child p{color:#425f36}.log-entry small{display:block;color:#a4b294;font-size:9px;margin-top:3px}.empty-log{text-align:center;color:#9ba98e;padding:55px 0}.empty-suit{font-size:36px;color:#afbf9d}.empty-log p{font-size:11px}.coach-card{margin-top:18px;border-top:1px solid var(--line);padding:18px 0;flex-shrink:0}.coach-top{display:flex;gap:6px;align-items:center;font-size:10px;color:#91a17e}.coach-top svg{width:14px;height:14px}.coach-card h3{font-size:13px;font-weight:500;margin:12px 0 8px}.coach-card p{font-size:11px;line-height:1.9;margin:0;color:#87977a}.coach-card>button{display:flex;justify-content:space-between;width:100%;background:none;color:#6c8656;font-size:10px;padding:12px 0 0}.coach-example{display:flex;gap:5px;align-items:center;margin-top:15px}.coach-example:empty{display:none}.coach-example>.playing-card{width:31px;height:43px;padding:4px;box-shadow:none;border:1px solid #e1e8d5}.coach-example>.playing-card .rank{font-size:15px}.coach-example>.playing-card .suit{font-size:10px}.coach-example>.playing-card .center-suit{font-size:17px}.coach-example>span:last-child:not(.playing-card){font-size:9px;line-height:1.8;color:#9aa88a;margin-left:8px}.coach-example strong{font-size:10px;font-weight:500;color:#6f845c}.table-wrap{background:#e9ede2;border:1px solid #dfe5d6;border-radius:17px;padding:0 20px 14px;overflow:hidden;position:relative}.table-toolbar{height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 3px}.table-identity{display:flex;align-items:center;gap:16px;font-size:10px;color:#839475}.table-live{display:flex;align-items:center;gap:6px;color:#627954}.table-blinds{color:#95a486;font-size:9px;letter-spacing:1px}.table-blinds>span{margin-left:6px;color:#6b815a;font-size:11px;letter-spacing:0;font-variant-numeric:tabular-nums}.scenario-label select{border:1px solid #d5dec9;border-radius:6px;background:#f1f4e9;color:#657e52;padding:7px 23px 7px 10px;font-size:10px;cursor:pointer;min-height:31px}.poker-stage{height:clamp(390px,calc(100svh - 402px),560px);position:relative;max-width:1020px;margin:0 auto}.felt-rim{position:absolute;inset:63px 22px 52px;padding:9px;border-radius:48%;background:#d4d3be;box-shadow:0 8px 18px #243e2820,0 1px 0 #f6f7ed inset}.felt{position:relative;width:100%;height:100%;border:6px solid #193f33;border-radius:48%;background-color:var(--felt);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.09' filter='url(%23n)'/%3E%3C/svg%3E");box-shadow:inset 0 0 50px #0d2d231c}.felt:before{content:'';position:absolute;inset:12px;border:1px solid #d8e7bd25;border-radius:48%}.felt-wordmark{position:absolute;top:24px;left:0;right:0;text-align:center;color:#d9e5bf30;font-size:9px;letter-spacing:6px}.felt-suit{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);font-size:26px;color:#dce8c51c}.board-area{position:absolute;top:49%;left:50%;transform:translate(-50%,-50%);width:77%;color:#edf1df;text-align:center}.pot-label{font-size:10px;color:#bdcfac;letter-spacing:1px}.pot-label span{font-size:8px;letter-spacing:2px;color:#a6bd9669;margin-left:6px}.pot-value{display:flex;align-items:center;justify-content:center;gap:9px;margin:7px 0 16px}.pot-value strong{font-size:29px;line-height:1;font-weight:500;font-variant-numeric:tabular-nums}.chip-stack{height:20px;width:24px;position:relative;display:inline-block}.chip-stack i{position:absolute;left:0;bottom:0;border-radius:50%;width:22px;height:9px;border:2px dashed #e9ddaa;background:#bc9c67;box-shadow:0 1px 0 #7a6a45}.chip-stack i:nth-child(2){bottom:4px}.chip-stack i:nth-child(3){bottom:8px}.community-cards{display:flex;justify-content:center;gap:8px;min-height:72px}.playing-card{width:51px;height:72px;background:var(--card);color:#243e32;border-radius:5px;position:relative;box-shadow:0 3px 5px #071e1b1f;flex-shrink:0;display:flex;flex-direction:column;text-align:left;padding:6px 7px}.playing-card .rank{font-size:22px;font-family:Georgia,serif;font-weight:600;line-height:1}.playing-card .suit{font-size:14px;line-height:1.15}.playing-card .center-suit{position:absolute;right:6px;bottom:5px;font-size:28px;line-height:1}.playing-card.red{color:var(--red)}.playing-card.empty{background:#d9e4c509;box-shadow:none;border:1px dashed #d9e4c54d;color:#b5c7a52f;justify-content:center;align-items:center;padding:0;font-size:28px}.playing-card.card-back{background:#e1dec5;border:3px solid #f3f1dd;box-shadow:0 2px 3px #102a2523;overflow:hidden;display:grid;place-items:center;padding:0;color:#97a57b}.playing-card.card-back:after{content:'';position:absolute;inset:2px;border:1px solid #9ca17b66;background:repeating-linear-gradient(45deg,transparent 0 3px,#9ca48624 3px 4px)}.playing-card.card-back .back-suit{font-size:23px;z-index:1}.playing-card.highlight{box-shadow:0 0 0 2px #cbdc97,0 4px 9px #082a2344;transform:translateY(-3px)}.board-caption{font-size:10px;line-height:1.5;color:#b9cbaa;margin-top:13px;white-space:nowrap}.seat{position:absolute;display:flex;align-items:center;flex-direction:column;z-index:2;width:100px;transform:translate(-50%,-50%)}.seat-0{left:50%;top:92%}.seat-1{left:8%;top:64%}.seat-2{left:18%;top:19%}.seat-3{left:50%;top:7%}.seat-4{left:82%;top:19%}.seat-5{left:92%;top:64%}.seat-avatar{width:39px;height:39px;border-radius:50%;border:3px solid #eef2e5;display:grid;place-items:center;font-size:15px;background:var(--avatar-bg);color:var(--avatar-fg);position:relative;box-shadow:0 2px 5px #244b241b}.seat.active .seat-avatar{outline:2px solid #91aa62;outline-offset:3px}.dealer-chip{position:absolute;right:-8px;bottom:-2px;font-family:var(--sans);font-size:9px;border-radius:50%;background:#faf6e4;border:1px solid #bfcba8;width:17px;height:17px;display:grid;place-items:center;color:#5f7946;font-weight:600}.seat-info{background:#fcfdf6f2;border:1px solid #d7dfc8;border-radius:7px;min-width:80px;padding:5px 9px;text-align:center;margin-top:5px;position:relative;box-shadow:0 3px 4px #1b3c2510}.seat-name{font-size:11px;font-weight:500;display:block;white-space:nowrap}.seat-money{display:block;font-size:12px;font-variant-numeric:tabular-nums;color:#4a6540;margin-top:2px}.seat.active .seat-info{background:#e3edcc;border-color:#9eb571}.seat.folded{opacity:.42}.seat.eliminated{opacity:.32}.seat-action{font-size:9px;color:#799065;margin-top:5px;min-height:14px;max-width:130px;white-space:nowrap}.seat.active .seat-action{color:#527a35;font-weight:600}.seat-minicards{display:flex;gap:3px;position:absolute;bottom:-9px;left:76px;transform:rotate(12deg);z-index:-1}.seat-minicards .playing-card{width:26px;height:37px;padding:3px;border-radius:3px}.seat-minicards .playing-card .rank{font-size:12px}.seat-minicards .playing-card .suit{font-size:9px}.seat-minicards .playing-card .center-suit{display:none}.seat-minicards .playing-card.card-back{border-width:2px}.seat-minicards .playing-card.card-back .back-suit{font-size:14px}.seat-4 .seat-minicards,.seat-5 .seat-minicards{left:auto;right:76px;transform:rotate(-12deg)}.seat-0{flex-direction:row;justify-content:center;width:235px;gap:12px}.seat-0 .seat-avatar{display:none}.seat-0 .seat-info{min-width:76px;background:transparent;border:0;box-shadow:none;text-align:left;order:2;padding:0}.seat-0 .seat-name{font-size:13px;font-weight:600}.seat-0 .seat-money{font-size:14px;margin-top:5px}.seat-0 .seat-minicards{position:relative;bottom:auto;left:auto;right:auto;transform:none;gap:7px;z-index:auto;order:1}.seat-0 .seat-minicards .playing-card{width:44px;height:63px;padding:6px;border-radius:5px;transform:rotate(-6deg)}.seat-0 .seat-minicards .playing-card:nth-child(2){transform:rotate(5deg)}.seat-0 .seat-minicards .playing-card .rank{font-size:21px}.seat-0 .seat-minicards .playing-card .suit{font-size:13px}.seat-0 .seat-minicards .playing-card .center-suit{display:block;font-size:22px}.seat-0 .seat-minicards .playing-card .back-suit{font-size:27px}.seat-0 .seat-action{position:absolute;left:141px;top:46px}.seat-0.active .seat-name:after{content:' · 你行动';font-size:9px;color:#668646}.seat-0 .dealer-chip{position:static;display:inline-grid;place-items:center;width:15px;height:15px;font-size:8px;margin-left:5px;vertical-align:middle}.position-chip{position:absolute;left:-7px;bottom:-3px;font-size:7px;border-radius:5px;background:#d6dfc7;color:#6c8254;padding:2px 3px;border:1px solid #e9efdf}.seat-bet{position:absolute;white-space:nowrap;font-size:10px;border-radius:13px;padding:4px 8px;background:#163c31;color:#e2ebd0;display:flex;align-items:center;gap:4px;z-index:2}.seat-bet:before{content:'';border:2px dashed #e6d2aa;background:#b49b6a;border-radius:50%;width:9px;height:9px;display:block}.seat-1 .seat-bet{left:94px;top:17px}.seat-2 .seat-bet{left:85px;top:69px}.seat-3 .seat-bet{left:93px;top:55px}.seat-4 .seat-bet{right:85px;top:69px}.seat-5 .seat-bet{right:94px;top:17px}.seat-0 .seat-bet{left:45%;top:-27px;transform:translateX(-50%)}.table-bottomline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;min-height:23px;color:#8e9e7c;font-size:9px}.table-bottomline>#hand-label{min-width:70px;font-variant-numeric:tabular-nums}.street-progress{display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px;color:#9ba98b}.street-progress i{width:13px;height:1px;background:#c6d3b6}.street-progress span{white-space:nowrap}.street-progress span.current{background:#dce6c9;color:#4f7038;border-radius:12px;padding:5px 10px}.street-progress span.past{color:#6d8752}.bet-level{font-size:8px;letter-spacing:1px;min-width:75px;text-align:right;color:#7b9266}.bet-level.raised{color:#486f37;font-weight:600}.round-result{position:absolute;left:50%;top:74%;transform:translateX(-50%);z-index:3;background:#e6efcf;color:#3c6030;border:1px solid #b9cb94;box-shadow:0 4px 15px #16342122;border-radius:18px;padding:8px 15px;text-align:center;font-size:11px;max-width:85%;white-space:normal;line-height:1.6}.action-panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:18px 20px 13px;margin-top:16px}.action-status{display:flex;align-items:center;gap:10px;margin-bottom:16px}.status-orbit{width:8px;height:8px;border-radius:50%;background:#87a466;box-shadow:0 0 0 4px #e7efda;margin:0 4px;flex-shrink:0}.status-orbit.thinking{background:#b39e6b;box-shadow:0 0 0 4px #f0ebdb}.turn-copy{flex:1;min-width:0}.turn-copy strong{font-size:12px;font-weight:500;display:block}.turn-copy>span{display:block;font-size:10px;margin-top:5px;color:#8a9a7c;line-height:1.6}.hero-stack-label{font-size:9px;color:#94a183;text-align:right;white-space:nowrap}.hero-stack-label strong{font-size:20px;font-weight:500;color:#3b5d30;margin-top:3px;display:block;font-variant-numeric:tabular-nums}.start-actions,.next-actions{display:flex;gap:10px}.primary-button,.secondary-button{height:48px;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:10px;flex:1;font-size:12px}.primary-button{background:var(--green);color:#f0f4e5}.primary-button:hover{background:#183f31}.primary-button svg{width:16px;height:16px}.secondary-button{background:#eaf0df;color:#637f4d}.secondary-button:hover{background:#e0eacb}.game-actions{display:grid;grid-template-columns:minmax(230px,.95fr) minmax(300px,1.1fr);gap:20px;align-items:end}.bet-controls{min-width:0}.bet-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b9c7a;gap:8px}.bet-label label{color:#5e7d49;display:flex;align-items:center;gap:7px}.bet-kind{font-size:8px;letter-spacing:1px;color:#8ba173}.bet-label>span{font-size:9px;white-space:nowrap}.raise-row{display:flex;align-items:center;gap:7px;margin-top:8px}.step-button{width:29px;height:34px;background:#edf2e5;color:#6b8852;border:1px solid #dce5cf;border-radius:5px;flex-shrink:0;font-size:15px}.amount-field{display:flex;align-items:center;background:#f6f8ef;border:1px solid #cbd9b7;border-radius:5px;width:100px;height:34px;flex-shrink:0;padding:0 7px}.amount-field input{background:none;border:0;min-width:0;flex:1;width:60px;color:#36592c;font-size:14px;font-variant-numeric:tabular-nums;padding:0;appearance:textfield;-moz-appearance:textfield}.amount-field input::-webkit-inner-spin-button{appearance:none}.amount-field>span{font-size:8px;color:#95a582;margin-left:5px}.raise-row input[type=range]{min-width:30px;width:100%;flex:1;accent-color:#688e4e;height:5px;cursor:pointer;margin-left:3px}.quick-bets{display:flex;gap:5px;margin-top:7px}.quick-bets button{background:#edf2e4;border-radius:4px;color:#718b59;font-size:9px;padding:6px;min-height:27px;flex:1;white-space:nowrap}.quick-bets button:hover,.quick-bets button.active{background:#dce9c9;color:#3e652d}.action-buttons{display:grid;grid-template-columns:.8fr 1fr 1.2fr;gap:8px}.action-buttons button{border-radius:7px;height:77px;font-size:13px;font-weight:500;white-space:nowrap}.action-buttons span{display:block;font-size:9px;font-weight:400;margin-top:7px;opacity:.72;letter-spacing:1px}.fold-button{background:#efece4;color:#947d65}.call-button{background:#dfebcd;color:#506f37}.call-button:hover{background:#d3e2bc}.raise-button{background:var(--green);color:#f0f4e3}.raise-button:hover{background:#173d2e}.action-footnote{display:flex;align-items:center;gap:6px;font-size:9px;color:#95a587;margin-top:12px;line-height:1.5;flex-wrap:wrap}.action-footnote>span:first-child svg{width:12px;height:12px}.action-footnote>#action-footnote{flex:1}.bet-help{font-size:9px;background:none;color:#759259;padding:4px 0 4px 8px;white-space:nowrap}.equity-switch{display:flex;align-items:center;gap:6px;color:#718b58;font-size:10px;white-space:nowrap;cursor:pointer}.equity-switch input{appearance:none;width:27px;height:16px;background:#cbd8b9;border:0;border-radius:10px;position:relative;margin:0;cursor:pointer;flex-shrink:0}.equity-switch input:before{content:'';position:absolute;left:3px;top:3px;width:10px;height:10px;border-radius:50%;background:#fffef8;transition:transform .15s}.equity-switch input:checked{background:#6d9151}.equity-switch input:checked:before{transform:translateX(11px)}.equity-panel{background:#eef4e5;border-radius:8px;padding:11px 12px;margin:-2px 0 14px}.equity-heading{display:flex;align-items:center;justify-content:space-between;color:#68834e;font-size:10px}.equity-heading small{font-size:8px;color:#98aa87;margin-left:7px}.equity-heading strong{font-variant-numeric:tabular-nums;font-size:16px;font-weight:500;color:#426c31}.equity-track{height:3px;background:#d8e4c8;border-radius:3px;margin:7px 0}.equity-track i{display:block;height:100%;background:#83a963;border-radius:3px;width:0;transition:width .25s}.equity-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:9px;color:#8b9f77}.equity-meta button{background:none;font-size:9px;color:#7b9662;padding:0}.bottom-note{display:flex;align-items:center;justify-content:space-between;color:#9cad8e;font-size:9px;margin:14px 2px 0}.bottom-note button{background:none;color:#7c9765;font-size:10px;padding:4px 0}.bottom-note button span{margin-left:5px}.bank-link{background:none;color:#7b9366;font-size:10px;display:flex;gap:5px;align-items:center;padding:3px 8px 3px 0}.footer{display:flex;align-items:center;justify-content:space-between;color:#a0af92;font-size:9px;border-top:1px solid var(--line);margin-top:24px;padding:17px 0;letter-spacing:.5px}.footer>span:first-child{font-size:8px;letter-spacing:2px}.footer>span:last-child{font-size:8px;letter-spacing:1px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#244b3b;color:#f0f4e5;border-radius:9px;padding:13px 20px;z-index:20;font-size:12px;max-width:90vw;box-shadow:0 10px 30px #192c2530}.modal{border:1px solid #e0e7d5;border-radius:18px;padding:22px 27px 27px;width:min(570px,calc(100vw - 28px));max-height:calc(100dvh - 40px);background:#fafcf3;color:var(--ink);box-shadow:0 24px 100px #102c2533}.modal::backdrop{background:#142b2766;backdrop-filter:blur(5px)}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#9baa8e;font-weight:500}.modal h2{font-family:var(--serif);font-size:24px;font-weight:500;letter-spacing:1px;margin:0 0 12px}.modal .modal-intro{font-size:12px;color:#839673;line-height:1.9;margin:0 0 20px}.guide-steps{display:flex;gap:6px;margin:22px 0 24px}.guide-steps span{height:3px;background:#dce5d0;border-radius:5px;flex:1}.guide-steps span.active{background:#7d9e5c}.guide-illustration{min-height:140px;background:#e8f0dc;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;margin:15px 0 20px;position:relative}.guide-illustration .playing-card{width:56px;height:80px;padding:8px}.guide-illustration .playing-card .rank{font-size:24px}.guide-illustration .playing-card .suit{font-size:18px}.guide-illustration .playing-card .center-suit{font-size:29px}.guide-text{font-size:14px;line-height:2;color:#647e50;min-height:62px}.guide-controls{display:flex;gap:10px;margin-top:25px}.guide-controls button{min-width:100px}.guide-step-label{font-size:10px;color:#98ad84;letter-spacing:1.5px;margin-bottom:13px}.guide-action-pill{background:#fbfdef;border:1px solid #d8e4c9;border-radius:8px;color:#527a38;padding:10px 14px;font-size:12px;display:inline-flex;gap:6px}.ranking-list{display:grid;gap:0}.ranking-row{display:flex;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid #e0e8d3}.ranking-no{font-size:10px;color:#9eb38a;width:17px}.ranking-name{font-size:12px;flex:1}.ranking-hand{display:flex;gap:4px}.ranking-hand .playing-card{width:28px;height:39px;padding:3px 4px;border:1px solid #dce6cf;border-radius:4px;box-shadow:none}.ranking-hand .playing-card .rank{font-size:13px}.ranking-hand .playing-card .suit{font-size:10px}.ranking-hand .playing-card .center-suit{display:none}.rules-note{font-size:11px;color:#80966d;line-height:1.9;background:#eaf1df;padding:14px;border-radius:9px;margin-top:18px}.settings-field{margin:20px 0}.settings-field>label{display:block;font-size:12px;margin-bottom:10px;color:#728b5d}.segmented{display:flex;gap:8px}.segmented button{background:#edf2e3;border:1px solid #dbe5cc;flex:1;padding:11px;border-radius:7px;color:#789261}.segmented button.selected{background:#244e3e;border-color:#244e3e;color:#edf1df}.setting-toggle{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-top:1px solid var(--line);font-size:12px;color:#728b5e}.setting-toggle input{width:20px;height:20px;accent-color:#3b6148}.recap-row{display:flex;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid #dce7cd}.recap-row strong{display:block;font-size:13px}.recap-row p{font-size:11px;line-height:1.8;color:#839970;margin:6px 0 0}.recap-cards{display:flex;gap:5px}.recap-cards .playing-card{width:34px;height:48px;padding:4px}.recap-cards .playing-card .rank{font-size:16px}.recap-cards .playing-card .center-suit{font-size:17px}.rules-copy{font-size:13px;color:#708c5a;line-height:2}.rules-copy p{margin:0 0 14px}.rules-copy strong{color:#476c32;font-weight:500}.bet-chain{display:flex;align-items:center;justify-content:center;gap:10px;background:#e8f0dc;border-radius:11px;padding:20px 10px;flex-wrap:wrap}.bet-chain>span{font-size:11px;text-align:center;color:#7d9866;line-height:1.8}.bet-chain strong{display:block;font-size:15px;color:#446d32;font-weight:500}.bet-chain small{display:block;font-size:9px}.bet-chain b{color:#a4b693;font-weight:400}.bank-row{display:grid;grid-template-columns:1fr auto auto;gap:20px;padding:12px 0;border-bottom:1px solid #e0e7d5;align-items:center;font-size:12px;color:#6e8959}.bank-row strong{font-weight:500;color:#426737}.bank-row small{font-size:10px;color:#9caf88}.history-modal-log{max-height:50dvh;overflow:auto}.history-modal-log .log-entry{font-size:12px}
@media(min-width:1500px){.poker-stage{height:clamp(430px,calc(100svh - 380px),610px)}.community-cards .playing-card{width:58px;height:82px}.community-cards{gap:9px;min-height:82px}.community-cards .playing-card .rank{font-size:25px}.community-cards .playing-card .center-suit{font-size:32px}.seat-info{min-width:88px}.seat-avatar{width:43px;height:43px}.seat-money{font-size:13px}.seat-name{font-size:12px}.felt-rim{inset:67px 30px 57px}.pot-value strong{font-size:32px}.rightbar{min-height:660px}.action-buttons button{height:80px}}
@media(max-width:1200px){.app{padding:0 22px}.workspace{grid-template-columns:minmax(0,1fr) 220px;gap:18px}.rightbar{padding:0 14px}.game-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}.action-buttons button{font-size:12px}.table-wrap{padding-left:15px;padding-right:15px}.seat{width:88px}.seat-info{min-width:72px}.seat-minicards{left:65px}.seat-4 .seat-minicards,.seat-5 .seat-minicards{right:65px}.seat-minicards .playing-card{width:23px;height:33px}.seat-1 .seat-bet{left:77px}.seat-2 .seat-bet{left:70px}.seat-3 .seat-bet{left:78px}.seat-4 .seat-bet{right:70px}.seat-5 .seat-bet{right:77px}.seat-0{width:235px}.seat-0 .seat-info{min-width:76px}.seat-0 .seat-minicards{left:auto;right:auto}.community-cards{gap:6px}.community-cards .playing-card{width:46px;height:66px}.board-caption{font-size:9px}.bet-label>span{font-size:8px}.amount-field{width:87px}.amount-field input{font-size:13px}.quick-bets button{font-size:8px}.step-button{width:24px}.action-panel{padding:17px 17px 12px}.table-bottomline{gap:8px}.street-progress{gap:5px;font-size:9px}.bet-level{min-width:65px;font-size:7px}.table-bottomline>#hand-label{font-size:8px;min-width:60px}}
@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr);max-width:860px;margin:auto}.rightbar{display:none}.poker-stage{height:clamp(380px,calc(100svh - 390px),530px)}.game-actions{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.table-wrap{padding-left:20px;padding-right:20px}.seat{width:100px}.seat-info{min-width:80px}.seat-minicards{left:76px}.seat-4 .seat-minicards,.seat-5 .seat-minicards{right:76px}.seat-minicards .playing-card{width:26px;height:37px}.seat-1 .seat-bet{left:94px}.seat-2 .seat-bet{left:85px}.seat-3 .seat-bet{left:93px}.seat-4 .seat-bet{right:85px}.seat-5 .seat-bet{right:94px}.seat-0{width:235px}.seat-0 .seat-minicards{left:auto;right:auto}.community-cards .playing-card{width:51px;height:72px}.table-bottomline{font-size:9px}.street-progress{font-size:10px;gap:8px}.table-bottomline>#hand-label{font-size:9px;min-width:70px}.bet-level{font-size:8px;min-width:75px}.amount-field{width:100px}.step-button{width:29px}.quick-bets button{font-size:9px}}
@media(max-width:620px){.app{padding:0 16px}.topbar{height:64px;gap:12px}.brand-mark{font-size:29px}.brand strong{font-size:15px}.brand small{font-size:7px;letter-spacing:1.5px}.brand{gap:7px}.local-label{display:none}.top-actions{gap:2px}.toolbar-button{padding:8px;min-width:35px;min-height:40px;font-size:10px}.toolbar-button>span:last-child{font-size:9px}.optional-text{display:none}.toolbar-button svg{width:16px;height:16px}.icon-only{width:35px}.workspace{padding-top:15px;gap:0}.table-wrap{padding:0 11px 12px;border-radius:14px}.table-toolbar{height:44px;padding:0 2px;gap:8px}.table-identity{gap:10px;font-size:9px}.table-blinds{font-size:8px;letter-spacing:.6px}.table-blinds>span{font-size:10px;margin-left:4px}.scenario-label select{font-size:9px;min-height:32px;padding:6px 20px 6px 7px}.poker-stage{height:330px;min-height:0;margin:0 -2px}.felt-rim{inset:49px 5px 42px;padding:6px;border-radius:45%}.felt{border-width:4px;border-radius:45%}.felt:before{inset:8px;border-radius:45%}.felt-wordmark{font-size:7px;letter-spacing:4px;top:21px}.felt-suit{font-size:22px;bottom:14px}.board-area{top:49%;width:76%}.pot-label{font-size:9px}.pot-label span{font-size:7px;letter-spacing:1px;margin-left:4px}.pot-value{margin:6px 0 13px;gap:5px}.pot-value strong{font-size:23px}.chip-stack{transform:scale(.8);margin-right:-2px}.community-cards{gap:5px;min-height:50px}.community-cards .playing-card{width:35px;height:50px;padding:5px;border-radius:4px}.community-cards .playing-card .rank{font-size:16px}.community-cards .playing-card .suit{font-size:10px}.community-cards .playing-card .center-suit{font-size:19px;right:4px;bottom:4px}.community-cards .playing-card.empty{font-size:22px}.board-caption{font-size:8px;line-height:1.5;margin-top:11px;letter-spacing:0}.seat{width:73px}.seat-avatar{width:31px;height:31px;font-size:12px;border-width:2px}.seat-info{min-width:60px;padding:4px 6px;border-radius:5px;margin-top:4px}.seat-name{font-size:10px}.seat-money{font-size:11px;margin-top:1px}.seat-action{font-size:8px;margin-top:4px;min-height:12px}.seat-1{left:9%;top:66%}.seat-2{left:15%;top:20%}.seat-3{top:7%}.seat-4{left:85%;top:20%}.seat-5{left:91%;top:66%}.seat-minicards{left:52px;bottom:-5px;gap:2px}.seat-4 .seat-minicards,.seat-5 .seat-minicards{right:52px}.seat-minicards .playing-card{width:17px;height:24px;border-radius:2px;padding:2px}.seat-minicards .playing-card.card-back{border-width:1.5px}.seat-minicards .playing-card.card-back .back-suit{font-size:10px}.seat-minicards .playing-card .rank{font-size:10px}.seat-minicards .playing-card .suit{font-size:7px}.seat-0{top:93%;width:210px;gap:10px}.seat-0 .seat-minicards{left:auto;right:auto;gap:6px}.seat-0 .seat-minicards .playing-card{width:36px;height:51px;padding:5px}.seat-0 .seat-minicards .playing-card .rank{font-size:17px}.seat-0 .seat-minicards .playing-card .suit{font-size:11px}.seat-0 .seat-minicards .playing-card .center-suit{font-size:18px}.seat-0 .seat-info{min-width:74px}.seat-0 .seat-name{font-size:12px}.seat-0 .seat-money{font-size:13px;margin-top:4px}.seat-0 .seat-action{top:37px;left:123px;font-size:8px}.seat-0.active .seat-name:after{font-size:8px}.dealer-chip{width:14px;height:14px;font-size:8px;right:-6px}.seat-0 .dealer-chip{width:13px;height:13px;font-size:7px}.position-chip{font-size:6px;padding:2px;left:-5px}.seat-bet{font-size:8px;padding:3px 5px;gap:3px}.seat-bet:before{width:7px;height:7px;border-width:1.5px}.seat-1 .seat-bet{left:62px;top:18px}.seat-2 .seat-bet{left:57px;top:55px}.seat-3 .seat-bet{left:67px;top:43px}.seat-4 .seat-bet{right:57px;top:55px}.seat-5 .seat-bet{right:62px;top:18px}.seat-0 .seat-bet{top:-23px;left:43%}.table-bottomline{margin-top:12px;gap:5px;min-height:22px}.table-bottomline>#hand-label{font-size:8px;min-width:48px}.street-progress{gap:4px;font-size:8px}.street-progress i{width:7px}.street-progress span.current{padding:4px 6px}.bet-level{font-size:7px;min-width:53px;letter-spacing:.5px}.round-result{top:72%;font-size:9px;padding:6px 10px;max-width:91%}.action-panel{padding:15px 13px 11px;border-radius:11px;margin-top:12px}.action-status{gap:7px;margin-bottom:13px}.status-orbit{width:7px;height:7px;margin:0 3px}.turn-copy strong{font-size:11px}.turn-copy>span{font-size:9px;line-height:1.6;margin-top:4px}.hero-stack-label{font-size:8px}.hero-stack-label strong{font-size:18px}.game-actions{grid-template-columns:1fr;gap:11px}.bet-label{font-size:9px}.bet-label>span{font-size:8px}.bet-kind{font-size:7px}.raise-row{margin-top:7px;gap:7px}.step-button{height:32px;width:29px}.amount-field{height:32px;width:100px}.amount-field input{font-size:14px}.amount-field>span{font-size:8px}.quick-bets{gap:5px;margin-top:6px}.quick-bets button{font-size:9px;min-height:30px;padding:5px}.action-buttons{gap:7px;grid-template-columns:.85fr 1fr 1.2fr}.action-buttons button{height:54px;font-size:12px}.action-buttons span{font-size:8px;margin-top:5px;letter-spacing:.7px}.action-footnote{font-size:8px;gap:5px;margin-top:9px}.bet-help{font-size:8px;padding-left:4px}.equity-switch{font-size:9px;gap:5px}.equity-panel{padding:9px 10px;margin-bottom:12px}.equity-heading{font-size:9px}.equity-heading small{font-size:7px;margin-left:5px}.equity-heading strong{font-size:14px}.equity-meta{font-size:8px}.equity-meta button{font-size:8px}.equity-track{margin:6px 0;height:3px}.primary-button,.secondary-button{height:46px;font-size:11px;gap:7px}.bottom-note{font-size:8px;margin:10px 2px 0}.bottom-note button{font-size:9px}.bank-link{font-size:9px}.footer{margin-top:18px;padding:15px 0;font-size:8px}.footer>span:first-child{font-size:7px}.footer>span:last-child{display:none}.playing .footer{display:none}.equity-on .poker-stage{height:300px}.equity-on .turn-copy>span{display:none}.modal{padding:18px 20px 24px;border-radius:15px;max-height:calc(100dvh - 24px)}.modal-top .eyebrow{font-size:8px;letter-spacing:1px}.modal h2{font-size:22px}.modal .modal-intro{font-size:11px}.ranking-row{padding:10px 0;gap:9px}.ranking-no{font-size:9px;width:13px}.ranking-name{font-size:11px}.ranking-hand{gap:3px}.ranking-hand .playing-card{width:24px;height:34px;padding:3px}.ranking-hand .playing-card .rank{font-size:11px}.ranking-hand .playing-card .suit{font-size:9px}.guide-text{font-size:13px}.guide-illustration{min-height:130px}.guide-illustration .playing-card{width:44px;height:64px;padding:6px}.guide-illustration .playing-card .rank{font-size:20px}.guide-illustration .playing-card .suit{font-size:14px}.guide-action-pill{padding:9px 9px;font-size:10px}.guide-illustration{gap:6px}.bet-chain{gap:8px}.bet-chain>span{font-size:9px}.bet-chain strong{font-size:13px}}
@media(max-width:360px){.app{padding:0 12px}.toolbar-button{padding:7px;min-width:32px}.topbar{gap:6px}.brand strong{font-size:14px}.brand-mark{font-size:27px}.brand small{font-size:6px}.poker-stage{height:300px}.equity-on .poker-stage{height:265px}.community-cards{gap:4px;min-height:44px}.community-cards .playing-card{width:30px;height:44px;padding:4px}.community-cards .playing-card .rank{font-size:14px}.community-cards .playing-card .center-suit{font-size:16px}.seat-info{min-width:54px;padding:4px}.seat-name{font-size:9px}.seat-money{font-size:10px}.seat-minicards{left:48px}.seat-4 .seat-minicards,.seat-5 .seat-minicards{right:48px}.seat-0 .seat-name{font-size:11px}.seat-0 .seat-money{font-size:12px}.seat-bet{font-size:7px}.seat-1 .seat-bet{left:57px}.seat-5 .seat-bet{right:57px}.seat-2 .seat-bet{left:52px}.seat-4 .seat-bet{right:52px}.seat-3 .seat-bet{left:63px}.street-progress{font-size:7px;gap:3px}.street-progress i{width:5px}.table-bottomline>#hand-label{font-size:7px;min-width:43px}.bet-level{font-size:6px;min-width:45px}.table-identity{gap:6px}.table-blinds>span{margin-left:3px}.scenario-label select{font-size:8px;padding-left:6px}.action-panel{padding:13px 11px 10px}.action-footnote{font-size:7px}.equity-switch{font-size:8px}.action-buttons button{font-size:11px}}
@media(max-height:740px) and (max-width:620px) and (orientation:portrait){.poker-stage{height:285px}.equity-on .poker-stage{height:245px}.topbar{height:58px}.workspace{padding-top:11px}.turn-copy>span{display:none}.table-toolbar{height:39px}.action-panel{padding-top:12px}.action-status{margin-bottom:10px}.action-buttons button{height:48px}}
@media(max-height:600px) and (min-width:600px) and (orientation:landscape){.app{padding:0 13px;max-width:1250px}.topbar{height:47px;gap:16px}.brand-mark{font-size:25px}.brand strong{font-size:13px}.brand small{font-size:6px;margin-top:2px;letter-spacing:1.5px}.brand{gap:7px}.local-label{font-size:8px;padding-left:12px}.toolbar-button{min-height:33px;padding:7px;font-size:10px}.toolbar-button svg{width:15px;height:15px}.top-actions{gap:3px}.workspace,.history-hidden .workspace{display:block;padding-top:10px;max-width:none}.rightbar{display:none}.play-area{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,32%);gap:12px;align-items:center}.table-wrap{padding:0 10px 8px;border-radius:12px}.table-toolbar{height:31px;padding:0 2px}.table-identity{font-size:8px;gap:10px}.table-blinds{font-size:7px}.table-blinds>span{font-size:9px}.scenario-label select{font-size:8px;min-height:26px;padding:4px 18px 4px 7px}.poker-stage,.equity-on .poker-stage{height:calc(100svh - 125px);min-height:210px;max-height:390px}.felt-rim{inset:34px 12px 30px;padding:5px}.felt{border-width:3px}.felt:before{inset:7px}.felt-wordmark{top:12px;font-size:6px;letter-spacing:4px}.felt-suit{bottom:8px;font-size:18px}.board-area{top:50%;width:75%}.pot-label{font-size:7px}.pot-label span{font-size:6px}.pot-value{margin:4px 0 8px;gap:4px}.pot-value strong{font-size:20px}.chip-stack{transform:scale(.65);margin-right:-5px}.community-cards{gap:4px;min-height:43px}.community-cards .playing-card{width:31px;height:44px;padding:4px;border-radius:3px}.community-cards .playing-card .rank{font-size:15px}.community-cards .playing-card .suit{font-size:9px}.community-cards .playing-card .center-suit{font-size:17px;right:4px;bottom:3px}.community-cards .playing-card.empty{font-size:18px}.board-caption{font-size:7px;margin-top:6px}.seat{width:65px}.seat-avatar{width:24px;height:24px;font-size:10px;border-width:2px}.seat-info{min-width:52px;padding:3px 5px;border-radius:5px;margin-top:3px}.seat-name{font-size:8px}.seat-money{font-size:9px;margin-top:1px}.seat-action{font-size:7px;margin-top:3px;min-height:10px}.seat-1{left:8%;top:64%}.seat-2{left:18%;top:19%}.seat-3{left:50%;top:6%}.seat-4{left:82%;top:19%}.seat-5{left:92%;top:64%}.seat-minicards{left:46px;bottom:-4px;gap:2px}.seat-4 .seat-minicards,.seat-5 .seat-minicards{right:46px}.seat-minicards .playing-card{width:16px;height:22px;padding:2px;border-radius:2px}.seat-minicards .playing-card.card-back{border-width:1.5px}.seat-minicards .playing-card.card-back .back-suit{font-size:9px}.seat-minicards .playing-card .rank{font-size:9px}.seat-minicards .playing-card .suit{font-size:7px}.seat-0{top:93%;width:180px;gap:8px}.seat-0 .seat-minicards{left:auto;right:auto;gap:5px}.seat-0 .seat-minicards .playing-card{width:28px;height:40px;padding:4px}.seat-0 .seat-minicards .playing-card .rank{font-size:15px}.seat-0 .seat-minicards .playing-card .suit{font-size:9px}.seat-0 .seat-minicards .playing-card .center-suit{font-size:16px}.seat-0 .seat-name{font-size:10px}.seat-0 .seat-money{font-size:11px;margin-top:3px}.seat-0 .seat-info{min-width:65px}.seat-0 .seat-action{font-size:7px;top:30px;left:100px}.seat-0.active .seat-name:after{font-size:7px}.dealer-chip{width:12px;height:12px;font-size:7px;right:-5px}.seat-0 .dealer-chip{width:11px;height:11px;font-size:7px;margin-left:3px}.position-chip{font-size:5px;padding:1px 2px}.seat-bet{font-size:7px;padding:2px 4px;gap:3px}.seat-bet:before{height:6px;width:6px;border-width:1.5px}.seat-1 .seat-bet{left:57px;top:10px}.seat-2 .seat-bet{left:52px;top:43px}.seat-3 .seat-bet{left:59px;top:34px}.seat-4 .seat-bet{right:52px;top:43px}.seat-5 .seat-bet{right:57px;top:10px}.seat-0 .seat-bet{left:44%;top:-17px}.table-bottomline{min-height:18px;margin-top:9px;gap:5px}.table-bottomline>#hand-label{font-size:7px;min-width:48px}.street-progress{font-size:7px;gap:4px}.street-progress i{width:7px}.street-progress span.current{padding:3px 6px}.bet-level{font-size:6px;min-width:48px}.round-result{top:73%;font-size:8px;padding:4px 8px;max-width:88%}.action-panel{margin-top:0;border-radius:11px;padding:13px 12px 10px;max-height:calc(100svh - 70px);overflow:auto}.action-status{gap:7px;margin-bottom:12px}.turn-copy strong{font-size:10px}.turn-copy>span{font-size:8px;margin-top:4px}.hero-stack-label{font-size:7px}.hero-stack-label strong{font-size:16px}.status-orbit{width:6px;height:6px;margin:0 2px}.game-actions{grid-template-columns:1fr;gap:10px}.bet-label{font-size:8px}.bet-label>span{font-size:7px}.bet-kind{font-size:7px}.step-button{height:29px;width:23px}.amount-field{height:29px;width:85px}.amount-field input{font-size:12px}.amount-field>span{font-size:7px}.raise-row{gap:6px;margin-top:6px}.quick-bets{gap:4px;margin-top:6px}.quick-bets button{font-size:8px;padding:4px;min-height:25px}.action-buttons{gap:6px;grid-template-columns:.8fr 1fr 1.2fr}.action-buttons button{height:49px;font-size:10px}.action-buttons span{font-size:7px;margin-top:5px}.action-footnote{font-size:7px;gap:5px;margin-top:9px}.action-footnote>#action-footnote{display:none}.bet-help{font-size:7px;margin-left:auto}.equity-switch{font-size:8px}.equity-panel{padding:7px 8px;margin:0 0 10px}.equity-heading{font-size:8px}.equity-heading small{font-size:6px;margin-left:3px}.equity-heading strong{font-size:13px}.equity-track{margin:5px 0;height:2px}.equity-meta{font-size:7px}.equity-meta button{font-size:7px}.bottom-note,.footer{display:none}.primary-button,.secondary-button{font-size:10px;height:42px}.start-actions,.next-actions{flex-direction:column;gap:8px}.primary-button,.secondary-button{flex:none}.bank-link{font-size:8px}.equity-on .turn-copy>span{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Fit the complete decision area without shrinking the table's cards. */
@media(min-width:1001px) and (min-height:601px){
 .poker-stage{height:clamp(300px,calc(100svh - 480px),520px)}
 .action-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}
 .action-status{grid-column:1;grid-row:1;margin:0 0 14px;min-height:43px}
 .equity-panel{grid-column:2;grid-row:1;margin:0 0 14px;padding:8px 11px}
 .game-actions,.start-actions,.next-actions,.action-footnote{grid-column:1 / -1}
}
.playing .footer{display:none}
@media(max-width:620px){.action-footnote>#action-footnote{font-size:7px}.action-footnote .bank-link{font-size:8px;padding:3px 2px}.action-footnote .bet-help{font-size:7px}.action-footnote .equity-switch{font-size:8px}}
/* Optional, local practice guidance. Advice fills a legal action; the player confirms it. */
.advisor-picker{display:flex;align-items:center;gap:5px;font-size:9px;color:#7b9169;white-space:nowrap}
.advisor-picker select{font:inherit;color:#5b7c44;background:#eef3e4;border:1px solid #d8e3c8;border-radius:5px;min-height:29px;padding:4px 16px 4px 7px;width:83px}
.advice-panel{grid-column:1 / -1;background:#f0f4e7;border-left:2px solid #8ca969;border-radius:5px;padding:10px 12px;margin:0 0 13px}
.advice-main{display:flex;gap:9px;align-items:center;min-width:0;min-height:23px}
.advice-tag{font-size:9px;color:#7d9763;white-space:nowrap}
.advice-main>strong{font-size:12px;font-weight:500;color:#3e6830;flex:1;min-width:0}
.advice-main>button{font-size:10px;color:#668b4a;background:none;padding:5px;white-space:nowrap;min-height:29px}
#advice-apply{background:#dfebcd;border-radius:5px;padding:6px 10px;color:#4c7135}
.advice-panel p{font-size:10px;color:#8a9c79;line-height:1.75;margin:4px 0 0}
.action-buttons button.is-recommended{box-shadow:0 0 0 2px #9fb97c,0 0 0 5px #9fb97c1c}
.advice-section{margin:18px 0}.advice-section h3{font-size:12px;color:#547743;font-weight:500;margin:0 0 8px}.advice-section p,.advice-section li{font-size:12px;line-height:1.9;color:#81996d}.advice-section ul{padding-left:18px;margin:0}
.style-rows{margin:18px 0}.style-row{display:grid;grid-template-columns:74px 1fr;gap:13px;padding:11px 0;border-bottom:1px solid #e2e9d7;font-size:11px;line-height:1.8}.style-row strong{font-weight:500;color:#587a44}.style-row span{color:#91a27d}
#resume-status{font-size:8px;color:#a2af92;margin-left:auto;margin-right:15px}
@media(min-width:1001px) and (min-height:601px){.advice-on .poker-stage{height:clamp(280px,calc(100svh - 552px),460px)}}
@media(max-width:620px){
 .advisor-picker{font-size:8px;gap:4px}.advisor-picker select{min-height:29px;width:76px;padding-left:5px;font-size:9px}
 .advice-panel{padding:8px 9px;margin-bottom:11px}.advice-main{gap:6px}.advice-tag{font-size:8px}.advice-main>strong{font-size:11px}.advice-main>button{font-size:9px;padding:4px}#advice-apply{padding:5px 7px}.advice-panel p{font-size:9px;margin-top:3px;line-height:1.65}
 .advice-on .poker-stage{height:270px}.advice-on.equity-on .poker-stage{height:245px}
 .advice-on .turn-copy>span{display:none}.action-footnote>#action-footnote{display:none}.action-footnote{gap:9px;justify-content:space-between}
 #resume-status{font-size:7px;margin-right:8px}.bottom-note>span:first-child{font-size:7px}.advice-main>strong{white-space:nowrap}.style-row{grid-template-columns:65px 1fr;gap:9px;font-size:10px}
}
@media(max-width:360px){.advice-on .poker-stage{height:255px}.advice-on.equity-on .poker-stage{height:230px}.action-footnote{gap:6px}.advisor-picker select{width:70px;font-size:8px}.advice-main{gap:4px}.advice-main>strong{font-size:10px}.advice-main>button{font-size:8px}#advice-apply{padding:5px}.advice-tag{font-size:7px}#resume-status{display:none}}
@media(max-height:740px) and (max-width:620px) and (orientation:portrait){.advice-on .poker-stage{height:245px}.advice-on.equity-on .poker-stage{height:220px}}
@media(max-height:600px) and (min-width:600px) and (orientation:landscape){
 .advice-on .poker-stage,.advice-on.equity-on .poker-stage{height:calc(100svh - 125px);min-height:210px;max-height:390px}
 .advice-panel{padding:5px 7px;margin:0 0 8px}.advice-main{min-height:20px;gap:4px}.advice-tag{font-size:7px}.advice-main>strong{font-size:9px}.advice-main>button{font-size:8px;min-height:23px;padding:3px}#advice-apply{padding:4px 5px}.advice-panel p{display:none}
 .advice-on .action-status{margin-bottom:8px}.advice-on .game-actions{gap:8px}.advice-on .action-footnote{margin-top:7px;gap:5px}.advisor-picker{font-size:7px;gap:3px}.advisor-picker select{font-size:8px;min-height:24px;width:72px;padding:3px 12px 3px 5px}.bet-help{display:none}
 .advice-on .equity-panel{padding:5px 7px;margin-bottom:8px}.advice-on .action-panel{padding-top:10px;padding-bottom:8px}
}
/* A visible dealer marker follows the button even after the dealer folds. */
.dealer-crown{position:absolute;left:50%;top:-25px;transform:translateX(-50%);width:27px;height:22px;z-index:5;pointer-events:none;filter:drop-shadow(0 1px 1px #886b2b26)}
.dealer-crown svg{display:block;width:100%;height:100%}
.seat-0 .dealer-crown{left:72%;top:-21px}
.seat.folded.is-dealer{opacity:1}
.seat.folded.is-dealer>.seat-avatar,.seat.folded.is-dealer>.seat-info,.seat.folded.is-dealer>.seat-minicards,.seat.folded.is-dealer>.seat-action{opacity:.42}
@media(max-width:620px){.dealer-crown{width:24px;height:20px;top:-22px}.seat-0 .dealer-crown{left:72%;top:-18px}}
@media(max-height:600px) and (min-width:600px) and (orientation:landscape){.dealer-crown{width:21px;height:18px;top:-20px}.seat-0 .dealer-crown{left:72%;top:-17px}}
/* Secondary tools stay out of the betting area. */
.table-tools-row{display:flex;align-items:center;gap:11px;min-height:25px;margin:-8px 3px 0;color:#849577;font-size:9px}.table-tools-row>span{flex:1}.table-tools-row button{background:transparent;color:#627e50;font-size:10px;min-height:30px;padding:3px 7px;border-radius:5px}.table-tools-row button[aria-pressed=true]{background:#dce7cb;color:#355b2c}.pot-value{background:none;color:inherit;width:100%;padding:0}.pot-detail-arrow{font-size:10px;opacity:.55}.rail-tools{display:flex;gap:6px;padding:10px 0 2px}.rail-tools button{flex:1;padding:7px 4px;border-radius:5px;background:#eaf0df;font-size:10px;color:#688452}.table-state-note{grid-column:1/-1;padding:8px 11px;margin:0 0 10px;background:#ecf0df;border-radius:5px;font-size:11px;color:#637a51;line-height:1.6}.turn-clock{flex-shrink:0;text-align:center;color:#68874f}.turn-clock strong{display:block;font-size:13px;font-variant-numeric:tabular-nums}.turn-clock button{background:none;color:inherit;font-size:9px;padding:3px}.turn-clock.urgent{color:#b45b4e}.seat.sitting-out .seat-avatar,.seat.sitting-out .seat-info{opacity:.5}.record-tabs{display:flex;border-bottom:1px solid var(--line);gap:7px;margin:0 0 19px;overflow:auto}.record-tabs button{background:none;color:#879879;white-space:nowrap;padding:12px 10px;font-size:11px;border-bottom:2px solid transparent}.record-tabs button.selected{color:#3b6632;border-color:#7c9a5e}.compact-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 0}.compact-actions button{min-height:37px;padding:8px 12px;font-size:11px;border-radius:6px;background:#eaf0de;color:#52763e}.compact-actions .primary-button{background:var(--green);color:#edf3df;height:auto}.table-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.table-menu-grid button{display:flex;align-items:center;justify-content:space-between;text-align:left;min-height:55px;padding:12px 14px;border-radius:8px;background:#eef3e5;color:#45683a;font-size:12px}.table-menu-grid button small{display:block;font-size:9px;color:#91a27e;margin-top:5px}.ledger-wrap{overflow-x:auto}.ledger-table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.ledger-table th,.ledger-table td{text-align:right;padding:12px 7px;border-bottom:1px solid #e3e9d9}.ledger-table th{color:#93a280;font-size:10px;font-weight:400}.ledger-table th:first-child,.ledger-table td:first-child{text-align:left;padding-left:0}.ledger-table .positive{color:#527c3d}.ledger-table .negative{color:#ae6659}.ledger-summary{display:flex;justify-content:space-between;gap:12px;background:#eef3e4;border-radius:7px;padding:12px;margin:16px 0;font-size:11px;color:#728864}.ledger-summary strong{color:#3e6930;font-weight:500}.tool-section{padding:18px 0;border-bottom:1px solid var(--line)}.tool-section:first-of-type{padding-top:3px}.tool-section h3{font-weight:500;font-size:12px;margin:0 0 11px}.tool-section p{font-size:11px;line-height:1.8;color:#91a27f;margin:9px 0 0}.tool-field{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin:13px 0;color:#65824f}.tool-field select{max-width:60%;border:1px solid #d8e1ca;background:#f4f7ed;color:#5e7b49;padding:8px;border-radius:5px;font-size:11px}.tool-field input{accent-color:#5c7f42;width:17px;height:17px}.replay-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}.replay-top select{max-width:70%;border:1px solid #d5dfc6;border-radius:5px;background:#eff4e5;color:#5c7d43;padding:9px;font-size:11px}.replay-counter{font-size:10px;color:#9aa98b}.replay-table{border:1px solid #dce5ce;border-radius:9px;background:#edf2e3;padding:16px}.replay-stage{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#6c8756;margin-bottom:14px}.replay-board{display:flex;justify-content:center;gap:6px;margin-bottom:18px}.replay-board .playing-card{width:38px;height:54px;padding:5px}.replay-board .rank{font-size:18px}.replay-board .suit{font-size:11px}.replay-board .center-suit{font-size:22px}.replay-players{display:grid;grid-template-columns:1fr 1fr;gap:8px}.replay-player{display:flex;align-items:center;gap:8px;background:#f9fbf4;border-radius:6px;padding:9px;min-width:0}.replay-player.active{box-shadow:inset 0 0 0 1px #a5ba8a}.replay-player>div:first-child{flex:1;min-width:0}.replay-player strong{display:block;font-size:11px;font-weight:500}.replay-player small{display:block;font-size:9px;color:#94a485;margin-top:5px}.replay-cards{display:flex;gap:3px}.replay-cards .playing-card{width:22px;height:31px;padding:3px;border-radius:3px}.replay-cards .rank{font-size:11px}.replay-cards .suit{font-size:8px}.replay-cards .center-suit{display:none}.replay-controls{display:flex;align-items:center;gap:8px;margin:13px 0}.replay-controls button{background:#e8efdc;color:#5e7f46;min-width:38px;min-height:35px;border-radius:5px;font-size:11px;padding:6px 10px}.replay-controls input{flex:1;min-width:30px;accent-color:#719253}.replay-log{font-size:11px;color:#718860;line-height:1.8;min-height:38px;margin:13px 0 0}.pot-card{border:1px solid #dfe7d3;border-radius:8px;padding:15px;margin:12px 0}.pot-card h3{margin:0 0 9px;font-size:13px;font-weight:500;display:flex;justify-content:space-between}.pot-card p{font-size:11px;line-height:1.8;color:#8b9e79;margin:5px 0}.pot-card .payout{color:#567b40}.audit-log{max-height:170px;overflow:auto;padding-left:13px;font-size:10px;color:#8a9e77;line-height:1.8}.audit-log li{margin:8px 0}.confirmation-amount{font-size:34px;color:#305e29;margin:24px 0 12px;font-variant-numeric:tabular-nums}.room-placeholder{font-size:11px;line-height:1.9;color:#95a587;padding:12px;border:1px dashed #d4dfc4;border-radius:6px;margin-top:13px}
@media(min-width:1001px) and (min-height:601px){.poker-stage{height:clamp(280px,calc(100svh - 510px),490px)}.advice-on .poker-stage{height:clamp(260px,calc(100svh - 582px),430px)}}
@media(max-width:620px){.table-tools-row{font-size:8px;gap:7px;margin:-5px 2px 0;min-height:24px}.table-tools-row button{font-size:9px;padding:3px 5px;min-height:29px}.poker-stage{height:305px}.equity-on .poker-stage{height:275px}.advice-on .poker-stage{height:245px}.advice-on.equity-on .poker-stage{height:220px}.turn-clock strong{font-size:11px}.turn-clock button{font-size:8px}.table-state-note{font-size:10px;padding:7px 9px}.record-tabs{gap:2px}.record-tabs button{font-size:10px;padding:10px 9px}.ledger-table{font-size:10px}.ledger-table th{font-size:9px}.ledger-table td,.ledger-table th{padding:11px 5px}.ledger-summary{font-size:10px;padding:10px;flex-wrap:wrap}.table-menu-grid{gap:7px}.table-menu-grid button{font-size:11px;padding:11px}.tool-field{font-size:11px}.replay-table{padding:11px}.replay-players{gap:6px}.replay-player{padding:7px;gap:4px}.replay-player strong{font-size:10px}.replay-player small{font-size:8px}.replay-cards .playing-card{width:19px;height:28px}.replay-controls button{min-width:31px;padding:6px}.compact-actions button{font-size:10px}}
@media(max-height:740px) and (max-width:620px) and (orientation:portrait){.poker-stage{height:260px}.equity-on .poker-stage{height:220px}.advice-on .poker-stage{height:220px}.advice-on.equity-on .poker-stage{height:195px}}
@media(max-height:600px) and (min-width:600px) and (orientation:landscape){.table-tools-row{margin:-3px 0 0;min-height:22px;font-size:7px;gap:7px}.table-tools-row button{font-size:8px;min-height:23px;padding:2px 5px}.poker-stage,.advice-on .poker-stage,.equity-on .poker-stage,.advice-on.equity-on .poker-stage{height:calc(100svh - 148px);min-height:190px;max-height:365px}.turn-clock strong{font-size:10px}.turn-clock button{font-size:7px}.table-state-note{font-size:9px;padding:5px 7px}.replay-players{grid-template-columns:repeat(3,1fr)}}
