.launch-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.launch-tools button{flex:1;font-size:15px}.name-row{grid-template-columns:36px 18px minmax(0,1fr) 76px}.seat-order{display:grid;place-items:center}.seat-order button{padding:0;min-height:38px;font-size:25px;background:transparent;border:0;touch-action:none;cursor:grab}.name-row.dragging{background:#54313e;border-radius:10px;outline:2px solid #d4819a}.name-row input{min-width:0;padding:10px 5px}.balance-wrap{display:flex;align-items:center;justify-content:space-between;gap:4px}.chip-stack{height:30px;position:relative;width:51px;flex-shrink:0}.chip-stack i{position:absolute;bottom:var(--y);left:var(--x);width:18px;height:9px;border-radius:50%;border:2px dashed #f6cad5;background:#933950;box-shadow:0 2px 0 #512334}.flying-chip{position:fixed;z-index:100;pointer-events:none;display:grid;place-items:center;padding:8px 12px;border-radius:24px;border:2px dashed #f2becb;background:#9e314c;color:#fff;font:700 15px Arial;box-shadow:0 4px 15px #0004}.seats{position:relative;gap:18px 16px}.seat-tags b{font-size:11px;background:#3f2b35;padding:3px 5px;border-radius:6px}.next-up{border:1px solid #b67a44;background:#36281c;color:#f3dab7;padding:11px 14px;border-radius:12px;font-size:15px}.floating-ranks{position:fixed;bottom:calc(var(--dock-height,155px) + 10px);left:max(12px,calc((100vw - 760px)/2 + 12px));z-index:19;border-radius:30px;min-height:42px;background:#442733;color:#fff;box-shadow:0 3px 15px #0005;font-size:13px}.app{padding-bottom:calc(var(--dock-height,170px) + 85px)}.summary{padding:10px 12px}.summary>strong{font-size:12px}.summary .deltas{display:block;white-space:nowrap;overflow:auto;padding:6px 0}.summary .deltas span{display:inline-block}.summary .deltas span+span:before{content:' · ';color:#a4aaa6;margin:0 8px}.practice-turn{font-size:13px;color:#e5be83;margin:0 0 8px}#practiceBanner{background:#3a2a17;border:1px solid #9c7440;padding:10px;border-radius:12px;margin-top:10px;color:#f8d39c;font-size:14px}#practiceBanner button{margin-right:8px;font-size:13px;min-height:36px;padding:5px 8px}.replay-pot{text-align:center;padding:22px}.replay-pot b{font:700 38px Arial;display:block}.replay-seats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.replay-seats>div{display:grid;gap:7px;padding:12px;border:1px solid #574150;border-radius:12px}.replay-seats span,.replay-seats small{font-size:14px}.replay-seats .folded{opacity:.5}.replay-controls{display:flex;gap:10px;margin:18px 0}.replay-controls button{flex:1}#replaySlider{padding:0;min-height:40px;accent-color:#b94764}.list-row [data-replay]{min-height:36px;padding:5px 9px;font-size:13px}.hand-meta{font-family:Tahoma,Arial;flex-wrap:wrap;line-height:1.8}.dock-top{flex-wrap:wrap}
/* Ivory theme covers the table, sheets, guide and all controls. */
:root[data-theme=light] .streets span{color:#76656e;border-color:#d4c5ca}:root[data-theme=light] .streets .current{color:#72213b;border-color:#a52846}:root[data-theme=light] .brand small{color:#873649}:root[data-theme=light] .intro h2 span{color:#873649}
:root[data-theme=light]{color-scheme:light;--bg:#f6f1e9;--surface:#fffdf8;--edge:#d9cdc3;--text:#292126;--muted:#6b6066;--red:#a52846;--green:#17643f;--loss:#af2943;background:#f6f1e9;color:#292126}
:root[data-theme=light] body{background:#f6f1e9;color:#292126}
:root[data-theme=light] :is(button,input,select,dialog,.surface,.seat,.dock,.sheet-header,.stats-grid>div,.choice,.pot-field,.admin-group,.replay-seats>div){background:#fffdf8;color:#292126;border-color:#d9cdc3}
:root[data-theme=light] :is(.primary,.home-tabs .selected){background:#a52846;color:white;border-color:#a52846}
:root[data-theme=light] :is(.seat.my-turn,.summary,.next-up){background:#f5e2df;border-color:#af5369;color:#36232c}
:root[data-theme=light] :is(.pot-zone>strong,.hand-meta strong,.bet-row strong,.seat-tags b,.brand h1,h1,h2,h3,h4){color:#292126}
:root[data-theme=light] :is(.pot-zone p,.pot-zone>small,.connection,.sheet-note,.hint,.fineprint,.bet-row,.dock-top span,.dock .waiting,.list-row small,.stats-grid span,.seat-head em){color:#6b6066}
:root[data-theme=light] .positive{color:#17643f}:root[data-theme=light] .negative{color:#af2943}
:root[data-theme=light] .seat-tags b{background:#f0e3de}:root[data-theme=light] .dock{box-shadow:0 -8px 22px #4c303017}
:root[data-theme=light] .floating-ranks{background:#a52846;color:#fff}
:root[data-theme=light] :is(.pot-chips span,.raise-preview,.summary,.best-hand){background:#f0e8df;color:#403139;border-color:#cebab0}
:root[data-theme=light] :is(.guide-sheet,.guide-nav,.rules-v3){background:#f6f1e9;color:#292126}
:root[data-theme=light] :is(.guide-nav button,.rules-title>span,.rules-hero,.rules-example,.action-grid article,.info-cards article,.blind-cards>div,.stage-list article,.walkthrough p,.rules-footer,.rule-tip){background:#fffaf3;color:#32272d;border-color:#d2bfb6}
:root[data-theme=light] :is(.rules-v3 p,.rules-v3 h3,.rules-v3 h4,.rules-v3 strong,.rules-v3 b,.rules-title small,.rules-v3 .rules-muted,.rules-v3 small,.rules-v3 em){color:#514048}
:root[data-theme=light] .rules-v3 .quick-rank{border-color:#d3bfb8;color:#292126}
:root[data-theme=light] .rules-v3 .quick-tone-0{background:#f5e6bb}:root[data-theme=light] .rules-v3 .quick-tone-1{background:#efdfeb}:root[data-theme=light] .rules-v3 .quick-tone-2{background:#f5dfe4}:root[data-theme=light] .rules-v3 .quick-tone-3{background:#f0e5d6}:root[data-theme=light] .rules-v3 .quick-tone-4{background:#deeee8}:root[data-theme=light] .rules-v3 .quick-tone-5{background:#f2e0d7}:root[data-theme=light] .rules-v3 .quick-tone-6{background:#eaddf0}:root[data-theme=light] .rules-v3 .quick-tone-7{background:#e2e1f3}:root[data-theme=light] .rules-v3 .quick-tone-8{background:#dfeaf2}:root[data-theme=light] .rules-v3 .quick-tone-9{background:#e8e5e8}
:root[data-theme=light] :is(.quick-number,#rankDetailBody>small,#rankDetailBody p){color:#514048}
:root[data-theme=light] .rules-v3 .poker-card{background:#fffdf8;color:#24212b}:root[data-theme=light] .rules-v3 .poker-card b{color:inherit}:root[data-theme=light] .rules-v3 .poker-card.red{color:#b32443}
:root[data-theme=light] #notice{background:#f5e0e5;color:#752138;border-color:#bd7284}
@media(max-width:360px){.name-row{grid-template-columns:30px 14px minmax(0,1fr) 67px;gap:5px}.seat .balance{font-size:25px}.chip-stack{transform:scale(.85);transform-origin:left center;width:45px}}
