/* style.css */
*{box-sizing:border-box} :root{font-family:"Segoe UI",system-ui,sans-serif;color:#1b302c;background:#f5f5f0;font-size:14px;--ink:#1b302c;--green:#17634f;--line:#e2e6df;--muted:#72817a}body{margin:0}button,input,select{font:inherit}button,a,select,input{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:42px;letter-spacing:-1.5px;margin:8px 0 9px;font-weight:500}h2{font-size:21px;letter-spacing:-.5px;margin:8px 0 18px}h3{font-size:17px;margin:9px 0 18px}.sidebar{position:fixed;inset:0 auto 0 0;width:210px;background:#122b25;color:#dce7df;padding:34px 20px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-family:Georgia,serif;font-size:22px;line-height:1.05;letter-spacing:.2px}.brand strong{font-weight:400}.brand-mark{font-size:42px;color:#d5bc7d}.nav-label{font-size:9px;letter-spacing:1.5px;color:#91aaa0;margin:65px 10px 18px}.nav-button{display:flex;gap:12px;align-items:center;text-align:left;border:0;background:none;color:#a9c0b4;width:100%;padding:14px 12px;border-radius:9px;margin-bottom:6px;font-size:18px}.nav-button span{font-size:13px}.nav-button.active{color:#fff;background:#25463b}.nav-button:hover{background:#25463b}.sidebar-foot{margin-top:auto;line-height:1.9;font-size:12px;padding:10px}.sidebar-foot small{color:#8fa89c;line-height:1.5;display:block;margin:12px 0}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a2d4a1;margin-right:6px}.workspace{margin-left:210px}.topbar{height:77px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fbfcf8}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;color:#7b8a7e}.version{font-size:10px;background:#e9eee6;border-radius:4px;padding:3px 5px;color:#778477;margin-left:10px}.role-switch{display:flex;align-items:center;gap:13px;font-size:12px;color:var(--muted)}.role-switch select{background:transparent;border:0;font-weight:600;color:var(--ink);max-width:110px}.avatar{display:grid;place-items:center;background:#e5eadf;border:1px solid #d6dfd0;border-radius:50%;width:34px;height:34px;color:#496344;font-weight:600}main{max-width:1500px;margin:auto;padding:34px 38px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.page-heading p{color:#78857c;font-size:13px}.balance-card{text-align:right;display:grid;gap:4px}.balance-card span{font-size:11px;color:var(--muted)}.balance-card strong{font-size:29px;font-weight:500;letter-spacing:-1px}.balance-card small{font-size:10px;color:#849080}.table-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:22px}.table-switch{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;text-align:left;display:grid;gap:10px;position:relative}.table-switch.selected{border:1.5px solid #41836b;box-shadow:0 2px 10px #123b2010}.table-switch .switch-top,.table-switch .switch-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.table-switch strong{font-size:15px;font-weight:600}.table-switch small{font-size:11px;color:#7b887f}.table-switch .attention{background:#ecf3df;color:#507535}.pill{font-size:10px;padding:6px 10px;border-radius:20px;background:#eff2ec;color:#687b6b;display:inline-block;white-space:nowrap}.game-layout{display:grid;grid-template-columns:minmax(460px,1fr) 230px;gap:22px}.game-panel,.panel{background:#fff;border:1px solid var(--line);border-radius:13px}.game-panel{overflow:hidden}.panel{padding:23px}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:21px 24px 0}.panel-heading h2{margin-top:7px;margin-bottom:20px}.live-label{font-size:8px;letter-spacing:1.6px;color:#5a8268}.felt{position:relative;margin:0 19px;background:radial-gradient(ellipse at center,#225a4a,#123e32);min-height:355px;border-radius:90px;border:8px solid #d6ddca;box-shadow:inset 0 0 0 2px #47775c,inset 0 0 50px #082e2740;color:#f6f7e9;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:19px 28px 15px}.opponents{display:flex;width:86%;justify-content:space-between;margin-bottom:8px;min-height:65px}.seat{text-align:center;min-width:105px}.seat-name{font-size:12px;display:block}.seat-name strong{display:block;font-size:14px;font-weight:600;margin-top:4px}.seat.folded{opacity:.5}.seat-state{font-size:9px;color:#bed5bc;margin-top:5px;display:block}.mini-backs{height:25px;display:flex;justify-content:center;gap:2px;margin-bottom:6px}.card-back{width:20px;height:27px;border:1px solid #b4cdb4;border-radius:3px;background:repeating-linear-gradient(45deg,#264f40,#264f40 2px,#37634c 2px,#37634c 4px)}.board-zone{text-align:center;position:relative;margin:6px 0 7px}.pot-label{font-size:8px;letter-spacing:2px;color:#a5bca1}.board-zone>strong{display:block;font-size:25px;font-weight:500;margin:5px 0 12px}.cards{display:flex;justify-content:center;gap:7px}.card{width:42px;height:59px;border-radius:5px;color:#203129;background:#fffef7;box-shadow:0 3px 4px #0003;display:flex;flex-direction:column;justify-content:space-between;padding:6px 7px;font-size:18px;font-weight:600;text-align:left;line-height:1}.card .suit{font-size:20px;align-self:flex-end}.card.red{color:#b94f43}.card.empty{background:#ffffff06;box-shadow:none;border:1px dashed #83ac8c60;color:#83ac8c60;align-items:center;justify-content:center}.board-zone>small{display:block;font-size:9px;color:#a6bea5;margin-top:12px}.hero-seat{display:flex;align-items:center;gap:13px;margin-top:10px;position:relative}.hero-seat .card{width:36px;height:49px;font-size:16px}.hero-seat .card .suit{font-size:17px}.hero-name{font-size:11px;text-align:left}.hero-name strong{display:block;font-size:18px;margin-top:5px;font-weight:500}.hero-status{position:absolute;bottom:-14px;right:0;font-size:8px;color:#b6cda9}.hand-status{margin:0 24px 12px;font-size:12px;color:#976b1f;line-height:1.6}.hand-status:empty{display:none}.action-area{padding:22px 24px}.turn-line{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;font-size:12px}.turn-line strong{font-weight:600}.timer{font-variant-numeric:tabular-nums;color:#7f8c77;font-size:12px}.timer.urgent{color:#b46838}.action-buttons{display:flex;gap:8px;align-items:stretch}.button{padding:11px 16px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap}.button.primary{background:#226b52;color:white}.button.primary:hover:not(:disabled){background:#15553d}.button.secondary{background:#f5f7f1;border-color:#dfe6d9;color:#496343}.button.secondary:hover:not(:disabled){background:#e9eee2}.button.gold{color:#775d26;background:#f1e9d1;border-color:#e8dbb6}.raise-field{display:flex;flex-direction:column;border:1px solid #e2e6df;border-radius:6px;padding:3px 10px;min-width:68px;margin:0!important;gap:0!important}.raise-field span{font-size:8px;color:#879080}.raise-field input{border:0;padding:2px 0!important;width:68px;background:transparent;font-size:13px;min-height:20px!important}.helper{font-size:11px;color:#84907e;line-height:1.7;margin:12px 0 0}.right-rail{display:flex;flex-direction:column;gap:17px}.stat-row{display:flex;justify-content:space-between;border-top:1px solid #edf0e9;padding:13px 0;font-size:12px}.stat-row span{color:#86907f}.stat-row strong{font-weight:600}.tools p{font-size:11px;color:#7f8d7a;line-height:1.7}.wide{width:100%;margin-top:10px}.activity{margin-top:24px}.activity h2{font-size:18px;margin-bottom:20px}.event-row,.request-row{border-top:1px solid #eef0e9;padding:13px 0;display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:12px}.event-row span,.request-row small{color:#869080;font-size:11px}.wallet-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.wallet-grid h2{font-size:22px}form label{display:flex;flex-direction:column;gap:7px;margin-top:15px;font-size:11px;color:#70806e}input,select{border:1px solid #dce2d6;border-radius:6px;background:#fafbf7;color:#273f2d;padding:10px 11px;min-height:38px;min-width:0}input:focus,select:focus{outline:2px solid #749f80}.checkbox{flex-direction:row;align-items:center;line-height:1.6}.checkbox input{min-height:0}.request-panel{margin-top:20px}.supply-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:20px}.metric{background:#fff;border:1px solid var(--line);padding:20px;border-radius:11px}.metric small{color:#788772;font-size:11px;display:block}.metric strong{font-weight:500;font-size:27px;display:block;margin:9px 0}.metric span{font-size:10px;color:#8a9684}footer{margin:23px 0 5px;color:#8b9586;font-size:10px;text-align:center}.notice{border:1px solid #c5dabe;background:#edf5e8;color:#426a38;padding:14px 18px;border-radius:9px;font-size:12px;line-height:1.6;margin-bottom:18px}.notice.error{background:#fff2e9;border-color:#ecc6aa;color:#925630}dialog{border:1px solid #d7dfcf;border-radius:15px;max-width:450px;width:calc(100% - 40px);padding:0;box-shadow:0 25px 70px #122b2530;color:var(--ink)}dialog::backdrop{background:#102b2370}.dialog-content{padding:30px}.dialog-content h2{font-size:25px;font-family:Georgia,serif;margin-top:13px}.dialog-content p{line-height:1.8;color:#7b866e;font-size:13px;overflow-wrap:anywhere}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}[hidden]{display:none!important}.empty-copy{font-size:12px;color:#82907b;padding:10px 0}.request-buttons{display:flex;gap:5px}.request-buttons button{font-size:10px;padding:7px 10px}
@media(min-width:1450px){.felt{min-height:390px}.card{width:49px;height:68px}.hero-seat{margin-top:20px}.board-zone{margin:10px 0}}
@media(max-width:1100px){.sidebar{width:168px;padding:28px 13px}.workspace{margin-left:168px}main{padding:27px 23px}.topbar{padding:0 23px}.game-layout{grid-template-columns:minmax(400px,1fr) 190px;gap:15px}.right-rail .panel{padding:18px}.felt{margin:0 12px;padding:16px}.action-area{padding:18px}.button{padding:10px 12px}.action-buttons{gap:5px}.brand{font-size:20px}.brand-mark{font-size:32px}}
@media(max-width:850px){.sidebar{width:80px;padding:25px 10px}.brand{font-size:0;justify-content:center}.brand-mark{font-size:34px}.nav-label{display:none}.nav-button{font-size:22px;justify-content:center;margin-top:14px}.nav-button span,.sidebar-foot{display:none}.workspace{margin-left:80px}.game-layout{grid-template-columns:1fr}.right-rail{display:grid;grid-template-columns:1fr 1fr}.felt{min-height:355px}.topbar{height:66px}.page-heading h1{font-size:35px}.wallet-grid{gap:14px}}
@media(max-width:560px){.sidebar{position:relative;width:100%;padding:12px 16px;flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:16px;line-height:.9;gap:6px}.brand-mark{font-size:27px}.sidebar nav{display:flex}.nav-button{margin:0;width:42px;padding:8px}.workspace{margin-left:0}.topbar{padding:0 15px;height:56px}.topbar .eyebrow{font-size:8px;letter-spacing:1px}.role-switch{gap:4px;font-size:10px}.role-switch select{padding:6px}.avatar{width:28px;height:28px}main{padding:23px 14px}.page-heading{margin-bottom:20px}.page-heading h1{font-size:32px}.page-heading p{max-width:210px;font-size:11px}.page-heading .eyebrow{font-size:8px}.balance-card strong{font-size:23px}.table-list{gap:9px}.table-switch{padding:13px 11px}.table-switch strong{font-size:12px}.table-switch .pill{font-size:8px;padding:5px}.table-switch .switch-bottom{font-size:11px}.felt{border-radius:65px;margin:0 9px;min-height:340px;padding:14px 7px}.opponents{width:85%}.card{width:37px;height:53px;font-size:16px}.board .cards{gap:5px}.action-area{padding:17px 12px}.action-buttons{display:grid;grid-template-columns:1fr 1fr 75px 1fr}.action-buttons .gold{grid-column:1/-1}.action-buttons .button{padding:10px 8px}.raise-field input{width:53px}.right-rail{grid-template-columns:1fr}.right-rail .panel{padding:20px}.wallet-grid{grid-template-columns:1fr}.supply-stats{gap:8px}.metric{padding:13px}.metric strong{font-size:22px}.request-row{align-items:flex-start}.request-buttons{flex-direction:column}.activity{padding:20px}.event-row{font-size:11px;align-items:flex-start;flex-direction:column;gap:5px}.panel-heading{padding:20px 18px 0}}
.mini-backs .card{width:25px;height:35px;font-size:11px;padding:3px}.mini-backs .card .suit{font-size:12px}

.action-notification{position:sticky;top:8px;z-index:5;border:2px solid #bd9237;box-shadow:0 4px 15px #15372b20;display:flex;gap:8px;flex-wrap:wrap}.winner-notice{border-color:#c8a44d;background:#fbf5df;font-weight:600}.winner-notice small{font-weight:400;display:block}.card-dealt{animation:card-deal .6s cubic-bezier(.2,.7,.2,1) both}@keyframes card-deal{from{opacity:0;transform:translate(-35px,-45px) rotate(-12deg) scale(.65)}to{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}@media(prefers-reduced-motion:reduce){.card-dealt{animation:none}}
:root[data-theme="synthwave"]{color-scheme:dark;color:#f3eaff;background:#100b22;--ink:#f3eaff;--green:#65edee;--line:#483263;--muted:#c0add7}
[data-theme="synthwave"] body{background:radial-gradient(ellipse at 80% 0,#321445 0,transparent 55%),#100b22}
[data-theme="synthwave"] .sidebar{background:#140c28;border-right:1px solid #ef5dd74a;color:#f6e7ff}
[data-theme="synthwave"] .brand-mark{color:#ff79db;text-shadow:0 0 16px #f546ca80}
[data-theme="synthwave"] .topbar,[data-theme="synthwave"] .panel,[data-theme="synthwave"] .game-panel,[data-theme="synthwave"] .metric,[data-theme="synthwave"] .table-switch,[data-theme="synthwave"] dialog{background:#201431;color:#f3eaff;border-color:#483263}
[data-theme="synthwave"] .table-switch.selected{background:#302044;border-color:#67e8f2;box-shadow:0 0 15px #43d5ef14}
[data-theme="synthwave"] .felt{background:radial-gradient(ellipse,#3a205d,#171632);border-color:#663c89;box-shadow:inset 0 0 0 2px #f060c7,0 0 22px #db46ca20}
[data-theme="synthwave"] .eyebrow,[data-theme="synthwave"] .helper,[data-theme="synthwave"] .tools p,[data-theme="synthwave"] .event-row span,[data-theme="synthwave"] .stat-row span,[data-theme="synthwave"] .metric span,[data-theme="synthwave"] .metric small,[data-theme="synthwave"] form label,[data-theme="synthwave"] .dialog-content p,[data-theme="synthwave"] .empty-copy,[data-theme="synthwave"] footer,[data-theme="synthwave"] .switch-bottom,[data-theme="synthwave"] .timer{color:#c5b3da}
[data-theme="synthwave"] .nav-button{color:#cdb6e9}[data-theme="synthwave"] .nav-button.active,[data-theme="synthwave"] .nav-button:hover{background:#492552;color:#8ef5f4}
[data-theme="synthwave"] input,[data-theme="synthwave"] select{background:#140e25;color:#f5edff;border-color:#674982}[data-theme="synthwave"] .raise-field input{background:transparent}
[data-theme="synthwave"] .button.primary{background:#73e8ef;color:#102431;border-color:#73e8ef}[data-theme="synthwave"] .button.primary:hover:not(:disabled){background:#abf7fc}
[data-theme="synthwave"] .button.secondary{background:#30203f;color:#eee0ff;border-color:#725189}[data-theme="synthwave"] .button.secondary:hover:not(:disabled){background:#453052}
[data-theme="synthwave"] .button.gold{background:#ee8bd9;color:#2c1035;border-color:#ffb4ee}[data-theme="synthwave"] .pill,[data-theme="synthwave"] .version,[data-theme="synthwave"] .avatar{background:#39264e;color:#e6d1fc}
[data-theme="synthwave"] .notice{background:#1c3244;color:#a6f6f4;border-color:#427b8b}[data-theme="synthwave"] .notice.error{background:#422236;color:#ffd3bc;border-color:#bb6f83}[data-theme="synthwave"] .winner-notice{background:#3b2048;color:#ffd2f4;border-color:#df83cf}
[data-theme="synthwave"] .action-notification{border-color:#ef8bdb}[data-theme="synthwave"] .hand-status{color:#f5c1f1}[data-theme="synthwave"] .stat-row,[data-theme="synthwave"] .event-row,[data-theme="synthwave"] .request-row{border-color:#483263}
[data-theme="synthwave"] .live-label,[data-theme="synthwave"] .hero-status,[data-theme="synthwave"] .seat-state,[data-theme="synthwave"] .board-zone>small,[data-theme="synthwave"] .pot-label{color:#a8f0ed}[data-theme="synthwave"] .timer.urgent{color:#ffadca}
@media(max-width:560px){.topbar{height:auto;min-height:72px;gap:8px;flex-wrap:wrap;padding-block:10px}.role-switch{flex-wrap:wrap}.role-switch #theme-toggle{font-size:10px;padding:8px}.action-notification .button{white-space:normal;text-align:left}}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.follow-control{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12px}.follow-control input{min-height:0}.insight-row{border-bottom:1px solid var(--line);padding:8px 0 14px}.insight-row .stat-row{gap:16px}.insight-row strong{text-align:right;overflow-wrap:anywhere}#theme-select{max-width:145px}.topbar{height:auto;min-height:77px;padding-block:12px;gap:12px;flex-wrap:wrap}.role-switch{flex-wrap:wrap}.request-row p{margin-bottom:0}
:root[data-theme="synthwave"][data-palette]{background:var(--palette-base);color:var(--palette-text);--ink:var(--palette-text);--line:var(--palette-line);--muted:var(--palette-muted)}
[data-theme="synthwave"][data-palette] body{background:var(--palette-base)}
[data-theme="synthwave"][data-palette] :is(.topbar,.panel,.game-panel,.metric,.table-switch,dialog,.sidebar){background:var(--palette-surface);border-color:var(--palette-line);color:var(--palette-text)}
[data-theme="synthwave"][data-palette] :is(.helper,.eyebrow,.metric small,.metric span,.stat-row span,.event-row span,.request-row small,.dialog-content p,.tools p,footer,form label,.timer,.switch-bottom){color:var(--palette-muted)}
[data-theme="synthwave"][data-palette] .felt{background:radial-gradient(ellipse,var(--palette-felt),var(--palette-base));border-color:var(--palette-line);box-shadow:inset 0 0 0 2px var(--palette-accent2)}
[data-theme="synthwave"][data-palette] .button.primary{background:var(--palette-accent);border-color:var(--palette-accent);color:#102431}
[data-theme="synthwave"][data-palette] .button.gold{background:var(--palette-accent2);border-color:var(--palette-accent2);color:#25152b}
[data-theme="synthwave"][data-palette] :is(.button.secondary,.pill,.avatar,.version,.nav-button.active,.nav-button:hover){background:var(--palette-felt);border-color:var(--palette-line);color:var(--palette-text)}
[data-theme="synthwave"][data-palette] :is(input,select){background:var(--palette-base);color:var(--palette-text);border-color:var(--palette-line)}
[data-theme="synthwave"][data-palette] :is(.notice,.winner-notice){background:var(--palette-felt);color:var(--palette-text);border-color:var(--palette-accent2)}
[data-theme="synthwave"][data-palette] :is(.nav-button,.brand-mark,.live-label,.hand-status,.pot-label,.seat-state,.hero-status,.board-zone>small){color:var(--palette-accent)}
[data-theme="synthwave"][data-palette] .table-switch.selected{background:var(--palette-felt);border-color:var(--palette-accent)}
@media(max-width:560px){.insight-row .stat-row{flex-direction:column;gap:6px}.insight-row strong{text-align:left}.role-switch #theme-select{max-width:125px}.request-row{flex-wrap:wrap}}
#turn-timer{font-size:58px;font-weight:800;letter-spacing:-2px;color:var(--ink);line-height:1.1;white-space:nowrap}.on-clock{border:3px solid var(--palette-accent,#226b52);border-radius:12px;background:color-mix(in srgb,var(--palette-accent,#226b52) 12%,transparent)}.on-clock #turn-label{font-size:22px}.on-clock #turn-timer{color:var(--palette-accent,#17634f);text-shadow:0 0 20px color-mix(in srgb,var(--palette-accent,#17634f) 20%,transparent)}#turn-timer.urgent{color:#d12828!important;border:3px solid currentColor;border-radius:9px;padding:7px;animation:clock-pulse 1s ease-in-out infinite}.action-contribution{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0 20px}.action-contribution .stat-row{display:flex;flex-direction:column;gap:8px;border:0}.action-contribution strong{font-size:23px}.deck-area{position:absolute;left:15px;top:45%;display:flex;align-items:center;gap:8px}.felt{position:relative}.table-deck,.burn-pile{width:29px;height:40px;border-radius:4px;border:2px solid #bcd4e3;background:repeating-linear-gradient(45deg,#153547,#153547 3px,#416577 3px,#416577 6px);display:grid;place-items:center;color:white;box-shadow:3px 3px 0 #d3d8df,5px 5px 0 #46566a}.burn-pile{background:transparent;box-shadow:none;border:1px dashed #9caab5}.burn-pile.has-burns{background:repeating-linear-gradient(45deg,#183347,#183347 3px,#416577 3px,#416577 6px);box-shadow:2px 2px 0 #a9b6c0}.deck-area small{display:block;font-size:8px;margin-top:6px;color:inherit}.flying-card,.flying-chips{position:fixed;pointer-events:none;z-index:100;will-change:transform}.flying-card{width:42px;height:59px;border-radius:5px;border:2px solid #d8e3e9;color:#fff;display:grid;place-items:center;font-size:25px;background:repeating-linear-gradient(45deg,#153547,#153547 3px,#416577 3px,#416577 6px);box-shadow:0 4px 15px #0006}.flying-chips{min-width:38px;min-height:32px;padding:7px 10px;border:4px dashed #fff;border-radius:22px;background:#c73c4c;color:white;font-size:13px;font-weight:800;box-shadow:0 4px 0 #8c1b31,0 7px 0 #e5ba55,0 10px 9px #0005;text-align:center}.payout-chips{background:#d7ac31;color:#201700;min-width:85px;border-color:#fff2b3}.board .card-dealt{animation:none}.hand-winner{position:relative;border:3px solid #f2cc48!important;border-radius:12px;padding:10px;background:color-mix(in srgb,#f2cc48 20%,transparent);box-shadow:0 0 28px #f2cc4880;animation:winner-glow 2s ease-in-out infinite}.winner-award{display:block;color:#ffe984;font-size:16px;font-weight:900;margin-top:8px;text-shadow:0 1px 3px #000}.hero-seat.hand-winner{flex-wrap:wrap}.hero-seat .winner-award{width:100%}.movement-announcement{padding:8px 24px;font-size:13px;font-weight:700;color:var(--ink)}.movement-announcement:empty{display:none}.on-clock .turn-line{flex-wrap:wrap;gap:12px}details{margin-top:22px}summary{cursor:pointer;font-weight:650}#demo-pause{font-weight:800}#demo-pause:disabled{opacity:.6}
:root[data-light-palette="true"]{color-scheme:light}[data-light-palette="true"] .felt{color:var(--palette-text)}[data-light-palette="true"] .button.primary{color:#fff!important}[data-light-palette="true"] .button.gold{color:#1b2e3c!important}[data-light-palette="true"] :is(.seat-state,.hero-status,.pot-label,.board-zone>small){color:var(--palette-muted)!important}[data-light-palette="true"] .winner-award{color:#614000;text-shadow:none}[data-light-palette="true"] .card.empty{border-color:var(--palette-line);color:var(--palette-muted)}[data-light-palette="true"] .felt{box-shadow:inset 0 0 0 2px var(--palette-line)}[data-light-palette="true"] .nav-button.active{box-shadow:inset 3px 0 var(--palette-accent)}
@keyframes clock-pulse{50%{box-shadow:0 0 0 7px #e4444420}}@keyframes winner-glow{50%{box-shadow:0 0 40px #f2cc48aa}}
@media(max-width:560px){#turn-timer{font-size:52px}.on-clock #turn-label{font-size:20px}.deck-area{left:6px;top:32%;gap:4px;flex-direction:column}.table-deck,.burn-pile{width:21px;height:29px}.deck-area small{max-width:35px;font-size:7px}.action-contribution{gap:7px}.action-contribution .stat-row span{font-size:10px}.action-contribution strong{font-size:21px}.hand-winner{padding:5px}.winner-award{font-size:12px}.opponents{gap:16px}}
@media(prefers-reduced-motion:reduce){.hand-winner,#turn-timer.urgent{animation:none}}
.action-notification{position:static}
.turn-line{flex-wrap:wrap;gap:12px}#turn-timer[data-frozen]:not([data-frozen=""]){font-size:clamp(28px,5vw,48px);letter-spacing:-1px}
[data-theme="synthwave"][data-palette] .button.secondary:hover:not(:disabled){background:var(--palette-line);color:var(--palette-text)}[data-theme="synthwave"][data-palette] .button.primary:hover:not(:disabled){background:var(--palette-accent);filter:brightness(.95)}

.bet-controls{display:flex;flex-wrap:wrap;gap:6px;grid-column:1/-1}.bet-controls .button{padding:10px 14px;min-width:48px}.best-hand{font-weight:700;margin:0 0 12px}.action-buttons{flex-wrap:wrap}.raise-field input[readonly]{cursor:default}

.best-hand{padding:16px;border:2px solid var(--palette-accent,var(--green));border-radius:12px;background:var(--palette-felt,#eaf3e9);color:var(--ink)}.best-hand small{display:block;font-size:12px;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px}.best-hand strong{display:block;font-size:clamp(28px,4vw,48px);line-height:1.12;font-weight:900}.best-hand:empty{display:none}.amount-controls{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.amount-controls .button{padding:10px;min-width:44px}.private-access{position:fixed;inset:0;z-index:1000;background:#15252e;color:#f4f7fb;padding:10vh 10vw}.invite-link input{width:100%;margin:10px 0}.role-switch{flex-wrap:wrap}.topbar{height:auto;min-height:76px;padding-top:12px;padding-bottom:12px}.card-dealt{animation:none!important}.flying-card{width:48px;height:67px;box-shadow:0 9px 24px #0008}

/* v0.9: 200% increase means 3x the original card dimensions. */
.card{width:126px;height:177px;font-size:54px;padding:18px 21px;flex-shrink:0}.card .suit{font-size:60px}
.mini-backs{height:auto;min-height:81px;margin-bottom:18px;gap:6px;flex-wrap:wrap}.card-back{width:60px;height:81px;flex-shrink:0}.mini-backs .card{width:75px;height:105px;font-size:33px;padding:9px}.mini-backs .card .suit{font-size:36px}
.table-deck,.burn-pile{width:87px;height:120px;flex-shrink:0}.deck-area{position:static;align-self:flex-start;gap:24px;margin:18px}.deck-area small{font-size:12px}.flying-card{width:144px;height:201px;font-size:75px}
.felt{min-height:700px;border-radius:65px;padding:24px;gap:20px}.board-zone{max-width:100%;overflow-x:auto;padding:8px}.board .cards{width:max-content;flex-wrap:nowrap}.hero-seat{flex-wrap:wrap;justify-content:center}.hero-seat .cards{max-width:100%;overflow-x:auto}.game-layout{grid-template-columns:minmax(0,1fr)}.right-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.opponents{position:static;width:100%;gap:20px}.bet-controls{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1}.bet-controls small{width:100%}.action-buttons{display:flex;flex-wrap:wrap}.raise-field input{width:130px}
.concealed-deal{background:repeating-linear-gradient(45deg,#153547,#153547 3px,#416577 3px,#416577 6px)!important;border:2px solid #d8e3e9;color:transparent!important}.concealed-deal>*{visibility:hidden!important}
.winner-notice{border:3px solid #d6a635;padding:24px;font-size:clamp(28px,4vw,58px);font-weight:900;line-height:1.2;box-shadow:0 0 24px #d6a63555}.winner-notice small{font-size:14px;margin-top:14px}.winner-award{font-size:28px}
@media(min-width:1450px){.card{width:147px;height:204px}}
@media(max-width:650px){.card{width:111px;height:159px;font-size:48px}.felt{margin:0;min-height:700px;padding:12px;border-radius:30px}.right-rail{grid-template-columns:1fr}.action-contribution{gap:6px}.action-contribution strong{font-size:20px}.table-deck,.burn-pile{width:87px;height:120px}.hero-seat{max-width:100%}}
#winner-notifications:not(:empty){position:sticky;top:8px;z-index:6;max-height:42vh;overflow:auto;background:var(--palette-base,#f5f5f0);border-radius:12px}.game-panel{min-width:0}

/* Feedback revision: every card display is 70% of its v0.9 dimensions. */
.card{width:88.2px;height:123.9px;font-size:37.8px;padding:12.6px 14.7px}.card .suit{font-size:42px}
.mini-backs{min-height:56.7px}.card-back{width:42px;height:56.7px}.mini-backs .card{width:52.5px;height:73.5px;font-size:23.1px;padding:6.3px}.mini-backs .card .suit{font-size:25.2px}
.table-deck,.burn-pile{width:60.9px;height:84px}.flying-card{width:100.8px;height:140.7px;font-size:52.5px}
@media(min-width:1450px){.card{width:102.9px;height:142.8px}}
@media(max-width:650px){.card{width:77.7px;height:111.3px;font-size:33.6px}.table-deck,.burn-pile{width:60.9px;height:84px}}
.hero-seat .card{width:25.2px;height:34.3px;font-size:11.2px;padding:2.1px}.hero-seat .card .suit{font-size:11.9px}

/* Own hole cards: 300% increase from the immediately preceding size. */
.hero-seat .card{width:100.8px;height:137.2px;font-size:44.8px;padding:8.4px}.hero-seat .card .suit{font-size:47.6px}

.bet-controls .bet-direction.selected{border:3px solid var(--palette-accent,var(--green));font-weight:900;box-shadow:0 0 0 2px color-mix(in srgb,var(--palette-accent,var(--green)) 22%,transparent)}.bet-controls .subtracting{border-style:dashed;font-weight:750}.reference-cycle{font-weight:750}


/* mobile.css */
.mobile-bar,#mobile-next-hand{display:none}.history-panel{margin-bottom:20px}.history-entry{border-top:1px solid var(--line);padding:16px 0;overflow-wrap:anywhere}.history-entry p{margin:7px 0}.history-entry small{color:var(--muted)}#mobile-menu{max-height:100dvh;overflow:auto}
@media(min-width:0px){
 :root{--hand-card-w:clamp(38px,min(calc((100vw - 54px)/5),calc((100dvh - 400px)*.25)),100px)}
 body[data-mobile="true"][data-page="tables"]{height:100dvh;overflow:hidden}
 .mobile-bar{display:flex;height:44px;padding:2px max(8px,env(safe-area-inset-right)) 2px max(8px,env(safe-area-inset-left));gap:8px;align-items:center;background:var(--palette-surface,#fbfcf8);border-bottom:1px solid var(--line)}
 .mobile-bar .button{min-height:40px;padding:6px 10px}.mobile-bar select{min-height:40px;flex:1;max-width:190px;padding:6px}.mobile-bar span{font-size:12px;white-space:nowrap}
 .workspace{margin:0}main{padding:12px}.sidebar,.topbar{display:none}
 #mobile-menu{width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
 #mobile-menu .sidebar{display:flex;position:static;width:100%;padding:16px;border-radius:12px}#mobile-menu .sidebar nav{display:flex;gap:8px;flex-wrap:wrap}#mobile-menu .nav-button{width:auto;min-height:44px;margin:0;padding:10px}#mobile-menu .nav-button span{display:inline}#mobile-menu .nav-label,#mobile-menu .sidebar-foot{display:none}
 #mobile-menu .topbar{display:flex;flex-direction:column;align-items:stretch;padding:14px 0;border:0}#mobile-menu .role-switch{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px}#mobile-menu .role-switch button,#mobile-menu .role-switch select{min-height:44px}
 #mobile-menu-close,#mobile-history{min-height:44px;width:100%;margin:8px 0}
 body[data-page="tables"] main{padding:0;height:calc(100dvh - 44px);overflow:hidden;max-width:none}
 body[data-page="tables"] .page-heading,body[data-page="tables"] .activity,body[data-page="tables"] footer,#tables-page>.follow-control,#tables-page>.helper,#table-list,.right-rail{display:none}
 #tables-page,#tables-page .game-layout{height:100%;margin:0;display:block}
 #tables-page .game-panel{height:100%;display:flex;flex-direction:column;border:0;border-radius:0;overflow:hidden;min-width:0}
 .panel-heading{padding:4px 10px;min-height:30px;max-height:30px;align-items:center}.panel-heading h2{font-size:15px;margin:0}.panel-heading .live-label{font-size:8px}.panel-heading>div{display:flex;gap:8px;align-items:center}.panel-heading .pill{font-size:10px;padding:4px}
 #hand-status{display:none}.felt{position:relative;flex:1;min-height:0;margin:0 6px;padding:4px 8px;border-width:3px;border-radius:25px;gap:3px;justify-content:space-evenly;overflow:hidden}
 .deck-area{position:absolute;left:8px;top:5px;margin:0;gap:5px;align-self:auto}.table-deck,.burn-pile{width:17px;height:24px;box-shadow:none}.deck-area small{font-size:7px;max-width:36px;margin-top:2px}.deck-area .table-deck{font-size:10px}
 .opponents{width:72%;gap:8px;margin:0;min-height:0;justify-content:space-between}.seat{min-width:65px;display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:center}.mini-backs{height:auto;min-height:0;gap:2px;margin:0}.card-back,.mini-backs .card{width:16px;height:23px;padding:2px;font-size:9px}.mini-backs .card .suit{font-size:9px}.seat-name{font-size:10px}.seat-name strong{font-size:11px}.seat-state{font-size:8px}
 .board-zone{padding:0;margin:0;overflow:visible;max-width:100%}.board-zone #pot-total{font-size:19px;margin:0 0 2px;display:inline-block}.pot-label{font-size:9px;margin-right:5px}#table-stakes{display:none}
 .cards{gap:4px}.board .card{width:var(--hand-card-w);height:calc(var(--hand-card-w)*1.38);font-size:calc(var(--hand-card-w)*.42);padding:5px}.board .card .suit{font-size:calc(var(--hand-card-w)*.48)}.board .card.empty{opacity:.35}
 .hero-seat{margin:0;gap:8px;flex-wrap:nowrap;max-width:100%}.hero-seat .cards{overflow:visible}.hero-seat .card{width:calc(var(--hand-card-w)*1.08);height:calc(var(--hand-card-w)*1.49);padding:5px;font-size:calc(var(--hand-card-w)*.46)}.hero-seat .card .suit{font-size:calc(var(--hand-card-w)*.5)}.hero-name{font-size:10px}.hero-name strong{font-size:18px}.hero-status{font-size:9px}.hero-seat .winner-award{font-size:12px;width:auto}.hand-winner{padding:2px}
 #movement-announcement{height:14px;min-height:14px;padding:0 10px;font-size:10px;overflow:hidden;white-space:nowrap}
 .action-area{padding:4px 8px max(4px,env(safe-area-inset-bottom));flex-shrink:0;display:grid;grid-template-columns:1fr 1fr;gap:3px;border-radius:0}.turn-line{grid-column:1/-1;margin:0;min-height:36px;gap:6px}.on-clock #turn-label,#turn-label{font-size:14px}#turn-timer{font-size:30px;letter-spacing:-1px}.on-clock{border-width:2px}#turn-timer.urgent{padding:0 4px;border-width:2px}
 #best-hand{grid-column:1/-1;margin:0;padding:3px 6px;border-width:1px;min-height:25px;display:flex;gap:6px;align-items:center}#best-hand small{font-size:8px;margin:0}#best-hand strong{font-size:16px;line-height:1.05}
 .action-contribution{grid-column:1/-1;margin:0;gap:4px}.action-contribution .stat-row{padding:2px 0;gap:1px;font-size:8px}.action-contribution strong{font-size:15px}
 .action-buttons{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;align-items:end}.action-buttons .button{padding:4px 2px;min-height:44px;font-size:12px;grid-column:auto}.action-buttons .gold{grid-column:auto}.raise-field{margin:0;gap:0;font-size:9px}.raise-field input{width:100%;min-height:33px;padding:4px;font-size:15px;text-align:center}
 #fold{grid-column:1;grid-row:1}#check-call{grid-column:2;grid-row:1}.raise-field{grid-column:3;grid-row:1}#raise{grid-column:4;grid-row:1}#allin{grid-column:5;grid-row:1}
 #bet-controls{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:3px;margin:0}#bet-controls .reference-cycle{grid-column:span 8;min-height:36px;font-size:12px}#bet-controls .bet-direction{grid-column:span 3;min-height:36px;font-size:12px}#bet-controls .bet-preset{grid-column:span 2;min-width:0;min-height:44px;padding:4px 0;font-size:11px}#bet-controls small{display:none}#bet-controls:has(.bet-preset:nth-of-type(7):last-of-type) .bet-preset{grid-column:span 3}
 #demo-pause-inline,#add-time,#mobile-next-hand{margin:0;padding:4px;min-height:36px;font-size:10px;width:100%}#demo-pause-inline{grid-column:1}#add-time{grid-column:2}#mobile-next-hand{display:none;grid-column:2}body[data-between="true"] #mobile-next-hand{display:block}body[data-between="true"] #add-time{display:none}#action-help{display:none}
 #winner-notifications:not(:empty){position:fixed;top:48px;left:8px;right:8px;z-index:8;max-height:26vh;overflow:auto;pointer-events:none}.winner-notice{font-size:clamp(20px,5vw,32px);padding:12px;margin-bottom:4px}.winner-notice small{font-size:9px;margin-top:4px}
 body[data-page="tables"] #notice:not([hidden]),body[data-page="tables"] #connection:not([hidden]),body[data-page="tables"] #action-notification:not([hidden]){position:fixed;top:46px;left:6px;right:6px;z-index:7;font-size:10px;padding:6px;max-height:20vh;overflow:auto;pointer-events:none}body[data-page="tables"] #notice:not(.error){display:none}body[data-page="tables"] #action-notification{display:none!important}
 .history-entry{font-size:13px}.history-panel{padding:16px}
}
@media(max-width:900px) and (max-height:700px){:root{--hand-card-w:clamp(34px,calc((100dvh - 420px)*.36),58px)}.hero-seat .card{width:calc(var(--hand-card-w)*1.03);height:calc(var(--hand-card-w)*1.42)}.mini-backs{display:none}.opponents .seat{flex-wrap:nowrap}.seat-state{display:none}.felt{gap:1px}.action-area{gap:2px}}
@media(max-height:500px) and (min-width:600px){
 #tables-page .game-panel{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:28px 1fr}.panel-heading{grid-column:1/-1}.felt{grid-column:1;grid-row:2;height:100%;margin:0 4px}.action-area{grid-column:2;grid-row:2;align-content:center}.action-area .turn-line{min-height:30px}#movement-announcement{display:none}:root{--hand-card-w:clamp(30px,calc((100dvh - 130px)*.24),58px)}.opponents{width:65%}.action-area #best-hand strong{font-size:14px}
}
@media(min-width:0px){#bet-controls .reference-cycle,#bet-controls .bet-direction,#demo-pause-inline,#add-time,#mobile-next-hand{min-height:44px}.hero-seat .card{width:calc(var(--hand-card-w)*1.5);height:calc(var(--hand-card-w)*2.07);font-size:calc(var(--hand-card-w)*.63)}.hero-seat .card .suit{font-size:calc(var(--hand-card-w)*.7)}}
@media(max-width:900px) and (max-height:700px){:root{--hand-card-w:clamp(30px,calc((100dvh - 440px)*.36),58px)}.hero-seat .card{width:calc(var(--hand-card-w)*1.03);height:calc(var(--hand-card-w)*1.42);font-size:calc(var(--hand-card-w)*.46)}.hero-seat .card .suit{font-size:calc(var(--hand-card-w)*.5)}}
@media(max-height:500px) and (min-width:600px){:root{--hand-card-w:clamp(30px,calc((100dvh - 130px)*.24),58px)}.action-area{gap:1px;padding-top:1px;padding-bottom:1px}.action-area #best-hand{min-height:21px}.action-area .action-contribution .stat-row{padding:0}}
@media(min-width:0px){.mobile-bar{position:sticky;top:0;z-index:20;height:calc(44px + env(safe-area-inset-top));padding-top:calc(2px + env(safe-area-inset-top))}body[data-page="tables"] main{height:calc(100dvh - 44px - env(safe-area-inset-top))}}
@media(max-width:350px){#bet-controls .bet-preset{grid-column:span 3;min-width:44px}:root{--hand-card-w:clamp(30px,min(calc((100vw - 54px)/5),calc((100dvh - 460px)*.36)),58px)}}
@media(max-width:350px) and (max-height:600px){:root{--hand-card-w:clamp(26px,calc((100dvh - 490px)*.36),40px)}.hero-seat .card{font-size:calc(var(--hand-card-w)*.5)}}

#mobile-menu .right-rail{display:grid;grid-template-columns:1fr;margin-top:16px}#mobile-menu .right-rail .button{min-height:44px}

.flying-card{width:var(--hand-card-w,60px);height:calc(var(--hand-card-w,60px)*1.38);font-size:calc(var(--hand-card-w,60px)*.5)}

.table-action-due #turn-timer{outline:4px solid #ffcc00;box-shadow:0 0 24px #ffcc00}.table-action-due #mobile-player::before{content:"YOUR TURN · ";color:#ffcc00;font-weight:900}#table-windows{display:grid;gap:10px}


/* table-ui.css */
/* One responsive game layout across Chrome viewport modes; no user-agent sniffing. */
.mobile-bar{justify-content:space-between}.mobile-bar #mobile-menu-open{order:9;margin-left:auto;font-size:30px;line-height:1}
#appearance-options{display:grid;gap:12px}#appearance-options label{display:grid;gap:6px}#appearance-options select,#appearance-options input{min-height:44px}#table-windows label{display:flex;align-items:center;gap:12px;min-height:44px}#table-windows input{width:24px;height:24px}
.felt-blinds{font-weight:800;text-align:center;font-size:clamp(12px,1.5vw,20px);color:var(--felt-text,#fff);text-shadow:0 1px 3px #000;flex-shrink:0}
.position-badges{display:inline-flex;gap:4px;align-items:center}.position-badge{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:2px;border-radius:50%;font-size:15px;background:#fff;color:#111;border:2px solid #222}.position-badge.small_blind{background:#ffd94a}.position-badge.big_blind{background:#42a9ff}
.opponents{width:90%;flex-wrap:wrap}.opponents .card-back,.opponents .mini-backs .card{width:48px;height:69px;font-size:27px}.opponents .mini-backs .card .suit{font-size:27px}.opponents .seat-name{font-size:clamp(16px,2vw,30px)}.opponents .seat-name strong{font-size:clamp(18px,2vw,33px)}.opponents .seat-state{font-size:clamp(12px,1.4vw,24px)}.opponents .mini-backs{display:flex}
.action-contribution{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;width:100%}.action-contribution .stat-row{display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;min-width:0;height:100%;padding:4px!important;border:1px solid var(--line);border-radius:5px}.action-contribution .stat-row span{font-size:clamp(9px,1.2vw,16px)}.action-contribution strong{font-size:clamp(18px,2vw,30px)}
.action-buttons{display:flex!important;flex-direction:column;gap:5px;align-items:stretch}.fixed-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;order:3}.fixed-actions .button{min-width:0;min-height:48px;font-weight:900;font-size:clamp(18px,2.5vw,36px);padding:6px 1px;white-space:normal;line-height:1.1;border:2px solid transparent}
.fixed-actions #check-call{background:#087c39!important;color:white!important;grid-column:auto!important;grid-row:auto!important}.fixed-actions #raise{background:#ffdb21!important;color:black!important;grid-column:auto!important;grid-row:auto!important}.fixed-actions #allin{background:#ed3030!important;color:black!important;grid-column:auto!important;grid-row:auto!important}.fixed-actions #fold{background:#080808!important;color:white!important;grid-column:auto!important;grid-row:auto!important}.fixed-actions button:disabled{opacity:.45}.fixed-actions button:focus-visible{outline:4px solid #3a8dff;outline-offset:2px}
.raise-field{order:1;display:flex;align-items:center;justify-content:center;gap:8px}.raise-field input{max-width:180px;font-size:28px;min-height:42px}#bet-controls{order:2;display:flex!important;flex-wrap:wrap;justify-content:center;gap:4px}#bet-controls .bet-preset{font-size:clamp(18px,2.2vw,33px);padding:5px;min-width:44px;min-height:44px;flex:1}.bet-direction{font-size:18px!important;min-height:36px!important}
.split-host main{visibility:hidden}.split-host #split-tables{position:fixed;inset:44px 0 0;display:grid;gap:2px;background:#111;z-index:2}.split-host #split-tables[data-count="2"]{grid-template-rows:repeat(2,minmax(0,1fr))}.split-host #split-tables[data-count="3"]{grid-template-rows:repeat(3,minmax(0,1fr))}.split-host #split-tables[data-count="4"]{grid-template:repeat(2,minmax(0,1fr))/repeat(2,minmax(0,1fr))}#split-tables iframe{width:100%;height:100%;border:0;min-width:0;min-height:0;background:var(--palette-base,#fff)}
html[data-back-color="blue"]{--card-back-ink:#134a9c}html[data-back-color="red"]{--card-back-ink:#a30c27}html[data-back-color="green"]{--card-back-ink:#116740}html[data-back-color="black"]{--card-back-ink:#111}html[data-back-color="purple"]{--card-back-ink:#69259b}
.card-back,.table-deck,.concealed-deal{background-color:var(--card-back-ink,#134a9c)!important;background-image:repeating-linear-gradient(45deg,transparent 0 6px,#ffffff33 6px 7px)!important}html[data-card-back="diamonds"] .card-back,html[data-card-back="diamonds"] .table-deck{background-image:repeating-conic-gradient(#ffffff55 0% 25%,transparent 0% 50%)!important;background-size:12px 12px}html[data-card-back="stripes"] .card-back,html[data-card-back="stripes"] .table-deck{background-image:repeating-linear-gradient(90deg,transparent 0 5px,#ffffff88 5px 7px)!important}html[data-card-back="stars"] .card-back,html[data-card-back="stars"] .table-deck{background-image:radial-gradient(#fff 1px,transparent 2px)!important;background-size:8px 8px}
html[data-suit-colors="four"] .card[data-suit="c"]{color:#08752d!important}html[data-suit-colors="four"] .card[data-suit="d"]{color:#065ad4!important}html[data-suit-colors="four"] .card[data-suit="h"]{color:#c51630!important}html[data-suit-colors="four"] .card[data-suit="s"]{color:#111!important}
@media(max-height:600px){.opponents .card-back,.opponents .mini-backs .card{width:32px;height:46px}.opponents .seat-name{font-size:16px}.opponents .seat-name strong{font-size:18px}.opponents .seat-state{font-size:12px}.fixed-actions .button{min-height:38px;font-size:18px}#bet-controls .bet-preset{font-size:18px;min-height:36px}.action-area{gap:2px}.felt-blinds{font-size:11px}}
@media(min-width:1000px) and (min-height:700px){.action-area{max-height:48%;}.felt{min-height:200px}}

@media(max-width:600px) and (min-height:601px){.opponents{align-items:start;flex-shrink:0;min-height:94px}.opponents .seat{flex:1;max-width:48%;flex-direction:column;gap:1px}.opponents .card-back,.opponents .mini-backs .card{width:32px;height:46px}.opponents .seat-name{font-size:16px}.opponents .seat-name strong{display:inline;font-size:18px;margin-left:4px}.opponents .seat-state{font-size:10px}.position-badge{min-width:22px;height:22px;font-size:12px}}
@media(max-height:600px){
 .table-pane .mobile-bar{height:28px;min-height:28px;padding:0 3px}.table-pane .mobile-bar select{font-size:10px;min-height:24px;max-width:120px}.table-pane .mobile-bar span{font-size:8px}.table-pane #mobile-menu-open{min-height:24px;height:26px;font-size:20px;padding:0 6px}
 .table-pane[data-page="tables"] main{height:calc(100dvh - 28px)}
 .table-pane #tables-page .game-panel{display:grid;grid-template-columns:45% 55%;grid-template-rows:22px minmax(0,1fr)}
 .table-pane .panel-heading{grid-column:1/-1;min-height:22px;max-height:22px;padding:0 4px}.table-pane .panel-heading h2{font-size:10px}.table-pane .panel-heading .live-label{display:none}
 .table-pane .felt{grid-column:1;grid-row:2;height:100%;margin:0 2px;padding:4px 2px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-evenly}
 .table-pane .action-area{grid-column:2;grid-row:2;height:100%;min-height:0;overflow:hidden;padding:2px;gap:1px;align-content:space-evenly;max-height:none}
 .table-pane .opponents{width:100%;flex-wrap:nowrap;min-height:0;gap:2px}.table-pane .opponents .seat{min-width:0;flex:1;flex-direction:column;gap:0}.table-pane .opponents .card-back,.table-pane .opponents .mini-backs .card{width:16px;height:23px}.table-pane .opponents .seat-name,.table-pane .opponents .seat-name strong{font-size:9px}.table-pane .opponents .seat-state{display:none}.table-pane .position-badge{min-width:16px;height:16px;font-size:9px;border-width:1px}.table-pane .position-badges{gap:1px}
 .table-pane .felt-blinds{font-size:8px}.table-pane .deck-area{display:none}.table-pane .hero-name{font-size:8px}.table-pane .hero-name strong{font-size:12px}.table-pane .hero-seat{gap:2px}.table-pane .turn-line{min-height:20px}.table-pane #turn-label{font-size:9px}.table-pane #turn-timer{font-size:18px}.table-pane #best-hand{min-height:18px;padding:1px}.table-pane #best-hand small{font-size:7px}.table-pane #best-hand strong{font-size:11px}
 .table-pane .action-contribution{gap:1px!important}.table-pane .action-contribution .stat-row{padding:1px!important}.table-pane .action-contribution span{font-size:7px}.table-pane .action-contribution strong{font-size:12px}
 .table-pane .raise-field{gap:2px;font-size:8px}.table-pane .raise-field input{font-size:16px;min-height:24px;height:24px;padding:0;max-width:70px}.table-pane .action-buttons{gap:2px}.table-pane .fixed-actions{gap:2px}.table-pane .fixed-actions .button{font-size:12px;min-height:32px;padding:2px 0}.table-pane #bet-controls{gap:2px}.table-pane #bet-controls .bet-preset{font-size:12px;min-width:30px;min-height:28px;padding:1px}.table-pane #bet-controls .bet-direction{font-size:10px!important;min-height:24px!important;padding:1px}.table-pane #demo-pause-inline,.table-pane #add-time,.table-pane #mobile-next-hand{font-size:8px;min-height:24px;padding:1px}.table-pane #movement-announcement{display:none}
}

@media(max-height:330px){.table-pane .raise-field{flex-direction:row;min-height:24px;height:24px}.table-pane .raise-field span{font-size:8px}.table-pane .action-contribution span{font-size:6px}.table-pane .action-contribution .stat-row{padding:0!important}.table-pane #bet-controls .bet-preset{min-height:24px;font-size:11px}.table-pane .fixed-actions .button{min-height:28px;font-size:11px}.table-pane #add-time,.table-pane #demo-pause-inline,.table-pane #mobile-next-hand{min-height:20px;font-size:7px}}

.flying-card,.burn-pile.has-burns{background-color:var(--card-back-ink,#134a9c)!important}

.showdown-choice{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px;background:var(--palette-surface,#fff);border:2px solid #d5ad24;padding:5px}.showdown-choice[hidden]{display:none}.showdown-choice .button{min-height:36px;font-size:14px}.showdown-status{font-weight:bold;font-size:11px}

.dealer-choice{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:5px;align-items:center;font-size:12px}.dealer-choice select,.dealer-choice .button{min-height:32px;font-size:12px;padding:3px}#dealers-choice-settings{display:grid;gap:10px}#dealers-choice-settings label{display:flex;align-items:center;gap:10px}.hero-seat .cards:has(.card:nth-child(4)) .card{width:min(calc(var(--hand-card-w)*1.08),calc((100vw - 110px)/4));height:auto;aspect-ratio:1/1.38}.mini-backs:has(:nth-child(4)) .card-back{width:24px;height:35px}

.felt-blinds{font-size:clamp(36px,4.5vw,60px)}
@media(max-height:600px){.felt-blinds{font-size:33px}}
.table-pane .felt-blinds{font-size:24px}
#hole>.card{position:relative;overflow:visible}
.card-showdown-controls{position:absolute;inset:15% 0 auto;display:flex;flex-direction:column;gap:3px;z-index:8}
.card-showdown-controls .button{font-size:14px;min-height:30px;padding:3px}
#showdown-choice{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
#showdown-choice[hidden],.preferences-confirmed[hidden]{display:none}
.preferences-confirmed{position:fixed;inset:35% 15% auto;z-index:99999;background:#145c43;color:white;padding:30px;text-align:center;font-size:28px;border:3px solid white;border-radius:16px;box-shadow:0 8px 40px #0008}
dialog:has(>button+div){max-width:95vw;max-height:90vh;overflow:auto}dialog details{border-bottom:1px solid #888;padding:8px}dialog .board{display:flex}

.hole-choice-group{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.card-showdown-controls>span{font:700 14px/1.4 system-ui!important;color:#fff!important;background:#174f3e;padding:5px;border-radius:5px;text-align:center}
.card-showdown-controls .button{color:#172d26;background:#fffffff2}
#showdown-choice{max-width:100%;font:600 12px/1.2 system-ui;color:#182f25;background:#fffef1}
#showdown-choice small{font:600 12px/1.2 system-ui;color:#182f25}

.felt{position:relative}.pot-award-overlay{position:absolute;inset:35% 6% auto;z-index:24;pointer-events:none;background:#12251af0;color:#fff;border:3px solid #ffd867;border-radius:12px;padding:12px;text-align:center;font:bold clamp(18px,2.6vw,32px)/1.3 system-ui;box-shadow:0 5px 25px #0008}.pot-award-overlay[hidden]{display:none}

#hand-review-open{font-size:2.2rem;line-height:1.25;white-space:normal;width:100%;padding:16px}


.auto-rebuy-settings{display:grid;gap:10px;border-top:1px solid #888;padding-top:12px;margin-top:12px}.auto-rebuy-settings label:has(input[type=checkbox]){display:flex;gap:10px;align-items:center}.auto-rebuy-settings input[type=checkbox]{width:24px;height:24px}
.rebuy-number{display:flex;align-items:center;gap:6px}.rebuy-number input{min-width:50px;max-width:180px}.rebuy-number .button{min-width:44px;min-height:44px}
.table-rebuy{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;background:var(--palette-surface,#fff);border:2px solid #e5b437;border-radius:10px;padding:8px}.table-rebuy[hidden]{display:none}.table-rebuy>strong,.table-rebuy>span{width:100%;text-align:center}.table-rebuy .button{min-height:44px}.table-rebuy label{display:flex;gap:5px;align-items:center}

#wallet-back-to-game{display:block;width:100%;box-sizing:border-box;margin-bottom:14px}
.felt-game-info{display:flex;flex-direction:column;align-items:center;flex-shrink:0;max-width:100%;padding:1px 6px;color:var(--felt-text,#fff);text-shadow:0 1px 3px #000;text-align:center;font:500 clamp(10px,1.2vw,16px)/1.25 system-ui;overflow-wrap:anywhere}.felt-game-info strong{font-weight:800}.felt-game-info span{font-size:.85em}.table-pane .felt-game-info{font-size:10px}.game-cycle{white-space:normal}

.felt:has(#felt-game-info){padding-bottom:65px!important}.felt:has(#felt-game-info) .felt-blinds{position:absolute;bottom:30px;left:0;right:0;line-height:1.1}.felt-game-info{position:absolute;bottom:3px;left:0;right:0;min-height:24px;justify-content:center}.felt:has(#felt-game-info) .hero-seat{min-height:0;flex-shrink:1}.felt:has(#felt-game-info) .board-zone{min-height:0;flex-shrink:1}

.felt:has(#felt-game-info){padding-bottom:110px!important}.felt:has(#felt-game-info) .felt-blinds{bottom:42px}.table-pane .felt:has(#felt-game-info){padding-bottom:90px!important}.table-pane .felt:has(#felt-game-info) .felt-blinds{bottom:30px}


/* Felt game information: +125% text size, with room reserved for wrapped rules. */
.felt-game-info{font-size:clamp(22.5px,2.7vw,36px)}.table-pane .felt-game-info{font-size:22.5px}.felt:has(#felt-game-info){padding-bottom:calc(var(--felt-game-info-height,60px) + 90px)!important}.felt:has(#felt-game-info) .felt-blinds,.table-pane .felt:has(#felt-game-info) .felt-blinds{bottom:calc(var(--felt-game-info-height,60px) + 6px)}.table-pane .felt:has(#felt-game-info){padding-bottom:calc(var(--felt-game-info-height,60px) + 65px)!important}


.game-categories{display:flex;gap:5px;flex-basis:100%}.game-categories .button{flex:1}.game-categories .button[aria-pressed=true]{outline:2px solid #d8ab25}
.felt{container-type:inline-size}#board:has(.card:nth-child(6)){gap:3px}#board:has(.card:nth-child(6)) .card{width:min(80px,calc((100cqw - 35px)/6));height:auto;aspect-ratio:1/1.38;font-size:clamp(14px,4cqw,34px)}#board:has(.card:nth-child(6)) .card .suit{font-size:clamp(14px,4cqw,34px)}
/* Keep a six-card runout and four-hole hand in separate rows on compact tables. */
.felt:has(#board .card:nth-child(6)){container-type:size;justify-content:space-evenly;gap:2px}
.felt:has(#board .card:nth-child(6)) .board-zone,.felt:has(#board .card:nth-child(6)) .hero-seat{flex-shrink:0!important}
.felt:has(#board .card:nth-child(6)) #board .card,.felt:has(#board .card:nth-child(6)) .hero-seat .card{width:min(80px,22cqh,calc((100cqw - 40px)/6));height:auto;aspect-ratio:1/1.38;font-size:clamp(12px,6cqh,30px);padding:3px}
.felt:has(#board .card:nth-child(6)) .card .suit{font-size:inherit}
.felt:has(#board .card:nth-child(6)) .opponents{min-height:0;margin:0}
.felt:has(#board .card:nth-child(6)) .opponents .card{width:20px;height:28px;font-size:12px;padding:2px}
.felt:has(#board .card:nth-child(6)) .mini-backs{height:auto;margin:0}
.game-categories{min-width:0;width:100%}.game-categories .button{min-width:0;white-space:normal}


#pause-after-hand{grid-column:1/-1;min-height:44px;margin:0}#pause-after-hand[aria-pressed="true"]{background:#ffe082;color:#222;border:2px solid #9b6800}

/* Fit six opponents without changing the community/private-card rows. */
.opponents:has(.seat:nth-child(6)){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;min-height:0}
.opponents:has(.seat:nth-child(6)) .seat{min-width:0;gap:2px}
.opponents:has(.seat:nth-child(6)) .seat-name,.opponents:has(.seat:nth-child(6)) .seat-name strong{font-size:clamp(10px,1.4vw,16px)}
.opponents:has(.seat:nth-child(6)) .mini-backs .card,.opponents:has(.seat:nth-child(6)) .card-back{width:16px;height:23px;font-size:10px;padding:2px}
.tournament-card{border-top:1px solid var(--line);padding:12px 0;display:flex;flex-wrap:wrap;gap:8px}.tournament-card h3,.tournament-card p,.tournament-card details{width:100%;margin:4px 0}.tournament-table-status{grid-column:1/-1;padding:8px;border:2px solid #d5ac35;border-radius:8px;font-size:14px}.tournament-table-status .button{min-height:44px;margin:3px;font-size:14px}.tournament-table-status p{margin:3px}#tournament-menu form{display:grid;gap:8px}
/* Tournament-only fit: keep the new rebuy/status controls from compressing the felt. */
@media(min-width:900px){.game-panel:has(#tournament-table-status){display:grid!important;grid-template-columns:minmax(0,55fr) minmax(0,45fr);grid-template-rows:28px minmax(0,1fr)}.game-panel:has(#tournament-table-status) .panel-heading{grid-column:1/-1}.game-panel:has(#tournament-table-status) .felt{grid-column:1;grid-row:2;height:100%;margin:0 4px}.game-panel:has(#tournament-table-status) .action-area{grid-column:2;grid-row:2;max-height:none;height:100%;min-width:0;align-content:start;overflow:auto}}
.game-panel:has(#tournament-table-status) .felt{container-type:size;justify-content:space-evenly;gap:3px}
.game-panel:has(#tournament-table-status) .board-zone,.game-panel:has(#tournament-table-status) .hero-seat{flex-shrink:0!important}
.game-panel:has(#tournament-table-status) #board .card,.game-panel:has(#tournament-table-status) .hero-seat .card{width:min(76px,20cqh,calc((100cqw - 40px)/6));height:auto;aspect-ratio:1/1.38;font-size:clamp(14px,5cqh,32px);padding:4px}
.game-panel:has(#tournament-table-status) .card .suit{font-size:inherit}
.game-panel:has(#tournament-table-status) .felt-blinds{font-size:clamp(20px,3vw,34px)}
.game-panel:has(#tournament-table-status) .felt-game-info{font-size:clamp(14px,1.8vw,22px)}
.game-panel:has(#tournament-table-status) .opponents{min-height:0;margin:0}
.game-panel:has(#tournament-table-status) .opponents .mini-backs{height:auto}
.game-panel:has(#tournament-table-status) .opponents .card{width:22px;height:31px;font-size:13px;padding:2px}

/* Balance the blinds and dealer game title within their existing felt band. */
.felt{--felt-heading-size:clamp(26.25px,3.15vw,42px)}
.felt:has(#felt-game-info) .felt-blinds,.felt-game-info{font-size:var(--felt-heading-size)}
.table-pane .felt{--felt-heading-size:23px}
.table-pane .felt:has(#felt-game-info) .felt-blinds,.table-pane .felt-game-info{font-size:var(--felt-heading-size)}
.game-panel:has(#tournament-table-status) .felt{--felt-heading-size:clamp(18px,2.4vw,28px)}
.game-panel:has(#tournament-table-status) .felt-blinds,.game-panel:has(#tournament-table-status) .felt-game-info{font-size:var(--felt-heading-size)}

/* Adaptive, readable opponent seats; never scale below 80% of this baseline. */
.felt .opponents,.felt .opponents:has(.seat:nth-child(6)){display:grid!important;grid-template-columns:repeat(var(--opponent-columns,2),minmax(0,1fr));gap:6px;width:100%;min-height:0;align-items:center;flex-shrink:0}
.felt .opponents .seat{display:flex;flex-direction:column;flex-wrap:nowrap;max-width:none;min-width:0;gap:2px;padding:3px;position:relative}
.felt .opponents .seat-name,.felt .opponents:has(.seat:nth-child(6)) .seat-name{font-size:calc(25px * var(--opponent-scale,1));line-height:1.1;text-align:center;overflow-wrap:anywhere}
.felt .opponents .seat-name strong,.felt .opponents:has(.seat:nth-child(6)) .seat-name strong{display:inline;font-size:calc(28px * var(--opponent-scale,1));margin-left:4px}
.felt .opponents .seat-state{display:block;font-size:calc(20px * var(--opponent-scale,1));line-height:1.1}
.felt .opponents .mini-backs{display:flex!important;height:auto;min-height:0;margin:0;gap:0}
.felt .opponents .mini-backs .card,.felt .opponents .card-back,.felt .opponents:has(.seat:nth-child(6)) .mini-backs .card,.felt .opponents:has(.seat:nth-child(6)) .card-back{width:calc(40px * var(--opponent-scale,1));height:calc(55px * var(--opponent-scale,1));font-size:calc(28px * var(--opponent-scale,1));padding:3px;flex-shrink:0}
.felt .opponents .mini-backs>*+*{margin-left:calc(-25px * var(--opponent-scale,1))}
.felt .opponents .mini-backs .card .suit{font-size:inherit}
.previous-action{font-weight:800;font-size:calc(20px * var(--opponent-scale,1));line-height:1.1}
.last-actor-marker{font-size:calc(13px * var(--opponent-scale,1));font-weight:800;background:#ffe082;color:#171717;padding:2px 5px;border-radius:5px}
.last-to-act{outline:2px solid #ffe082;outline-offset:1px;border-radius:8px}
.select-cycle{min-height:44px!important;min-width:44px!important;padding:4px 8px!important;font-size:24px!important;vertical-align:middle;touch-action:manipulation}
label:has(>select){position:relative;padding-right:48px}label:has(>select)>.select-cycle{position:absolute;right:0;bottom:0}
.mobile-bar>select{min-width:0;flex:1}.mobile-bar>.select-cycle{flex:none}
.rabbit-panel{grid-column:1/-1;text-align:center;border:1px solid var(--line);border-radius:6px;padding:4px}.rabbit-panel[hidden]{display:none}.rabbit-panel .button{min-height:44px}.rabbit-panel small{display:block}.rabbit-cards{display:flex;justify-content:center;gap:3px}.rabbit-cards .card{width:36px;height:50px;font-size:19px;padding:2px}.rabbit-cards .card .suit{font-size:19px}
#rules-dialog{max-width:760px;max-height:90dvh;overflow:auto;font-size:17px;line-height:1.5}#rules-dialog>button{position:sticky;top:0;min-height:44px;z-index:1}#rules-dialog summary{min-height:44px;font-size:20px}#rules-dialog p{margin:10px 0}

.game-panel:has(#tournament-table-status) .felt .opponents .card,.felt:has(#board .card:nth-child(6)) .opponents .mini-backs .card{width:calc(40px * var(--opponent-scale,1));height:calc(55px * var(--opponent-scale,1));font-size:calc(28px * var(--opponent-scale,1));padding:3px}
.game-panel:has(#tournament-table-status) .felt .opponents .mini-backs{height:auto}


/* player-ux.css */
/* A single bounded layout replaces the accumulated per-element size overrides. */
.player-ux{--ux-tools:44px;--ux-tabs:0px;--ux-line:var(--palette-line,#b7c4bb)}
.player-ux.ux-focus-tables{--ux-tabs:48px}
.player-ux [hidden]{display:none!important}
.player-ux .mobile-bar{height:44px;min-height:44px;gap:4px;padding:0 8px;position:relative;top:auto}
.player-ux .mobile-bar select{max-width:180px;min-width:80px;min-height:44px;font-size:14px}
.player-ux .mobile-bar #mobile-player{font-size:12px;color:var(--ink);font-weight:750;overflow:hidden;text-overflow:ellipsis}
.player-ux .mobile-bar #mobile-menu-open{font-size:24px;min-width:44px;min-height:44px}
.player-ux .mobile-bar>.select-cycle{min-width:44px}
.ux-quick{height:44px;display:flex;gap:4px;padding:0 6px;border-bottom:1px solid var(--ux-line);background:var(--palette-surface,#f9fcf8)}
.ux-quick .button{flex:1;min-width:0;min-height:44px;padding:4px;font-size:14px;font-weight:750;border-radius:6px}
.ux-table-tabs{display:flex;height:48px;gap:3px;padding:2px 6px;background:var(--palette-surface,#fff)}
.ux-table-tabs .button{flex:1;min-width:0;min-height:44px;padding:2px 3px;display:flex;flex-direction:column;justify-content:center;font-size:13px}
.ux-table-tabs span{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ux-table-tabs small{font-size:12px;font-weight:750}
.ux-table-tabs .attention{border:3px solid #b76b00!important;background:#fff0c2!important;color:#362000!important}.ux-table-tabs [aria-pressed=true]{box-shadow:inset 0 -3px 0 var(--green,#17634f)}
.player-ux[data-page=tables] main{height:calc(100dvh - 44px - var(--ux-tools) - var(--ux-tabs));padding:0;overflow:hidden}
.player-ux #tables-page,.player-ux #tables-page .game-layout{height:100%;min-height:0}
.player-ux #tables-page .game-panel,.player-ux .game-panel:has(#tournament-table-status){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:24px minmax(0,1fr) 18px auto!important;height:100%;min-height:0;max-height:100%;overflow:hidden}
.player-ux .panel-heading{grid-column:1!important;grid-row:1!important;height:24px;min-height:24px;max-height:24px;padding:0 8px}
.player-ux .panel-heading h2{font-size:13px}.player-ux .panel-heading .live-label{font-size:10px}
.player-ux #hand-status{display:none!important}
.player-ux #tables-page .felt,.player-ux .table-pane .felt,.player-ux .game-panel:has(#tournament-table-status) .felt{grid-column:1!important;grid-row:2!important;display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto 20px 22px;gap:3px;container-type:size;position:relative;height:100%;min-height:0;max-height:100%;margin:0 6px!important;padding:5px 8px!important;overflow:hidden;align-content:stretch;justify-content:stretch;border-radius:20px}
.player-ux .felt .deck-area{position:absolute;left:8px;top:5px;z-index:1;opacity:.85;pointer-events:none}.player-ux .table-deck,.player-ux .burn-pile{width:16px;height:22px}.player-ux .deck-area small{font-size:8px;max-width:42px}
.player-ux .felt #opponents{grid-row:1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(0,1fr);gap:3px 8px;width:100%;height:100%;min-height:0;overflow:hidden;padding:0 0 0 24px;margin:0;align-content:stretch}
.player-ux #opponents .seat{display:grid!important;grid-template-columns:58px minmax(0,1fr);grid-template-rows:minmax(19px,auto) minmax(15px,auto);align-content:center;align-items:center;justify-content:stretch;gap:0 4px;padding:1px 3px;min-width:0;max-width:none;min-height:0;overflow:hidden;position:relative;border-radius:5px}
.player-ux #opponents .mini-backs{grid-column:1;grid-row:1/3;display:flex!important;gap:0;justify-content:center;align-items:center;height:auto;min-height:0;margin:0}
.player-ux .felt #opponents .mini-backs .card,.player-ux .felt #opponents .card-back{width:32px!important;height:44px!important;font-size:18px!important;aspect-ratio:auto;padding:2px;flex-shrink:0;border-radius:4px}
.player-ux .felt #opponents .mini-backs>*+*{margin-left:-18px}
.player-ux .felt #opponents .mini-backs:has(.card)>*+*{margin-left:2px}
.player-ux #opponents .seat:has(.mini-backs .card){grid-template-columns:minmax(0,1fr);grid-template-rows:20px minmax(0,1fr) 15px}
.player-ux #opponents .seat:has(.mini-backs .card) .mini-backs{grid-column:1;grid-row:2;overflow:visible}
.player-ux #opponents .seat:has(.mini-backs .card) .seat-name{grid-column:1;grid-row:1}
.player-ux #opponents .seat:has(.mini-backs .card) .seat-state,.player-ux #opponents .seat:has(.mini-backs .card) .previous-action{grid-row:3}
.player-ux .felt #opponents .seat-name{grid-column:2;grid-row:1;display:flex;gap:4px;align-items:center;justify-content:center;white-space:nowrap;font-size:16px!important;line-height:1.05;overflow:hidden;text-overflow:ellipsis}
.player-ux .felt #opponents .seat-name strong{font-size:17px!important;margin:0;display:inline}
.player-ux .felt #opponents .seat-state,.player-ux .felt #opponents .previous-action{grid-column:2;grid-row:2;font-size:13px!important;line-height:1.05;text-align:center}
.player-ux #opponents .seat:has(.previous-action) .seat-state{display:none!important}
.player-ux #opponents .last-actor-marker{position:absolute;top:0;right:0;font-size:10px!important;line-height:1.1;padding:1px 3px}
.player-ux #opponents .last-to-act{outline:2px solid #ffd053;outline-offset:-2px;padding-top:8px}
.player-ux #opponents .ux-inactive{opacity:.62;grid-template-columns:1fr;grid-template-rows:auto;align-content:center}.player-ux #opponents .ux-inactive .seat-name{grid-column:1;grid-row:1;font-size:14px!important}.player-ux #opponents .ux-inactive .seat-name strong{font-size:15px!important}.player-ux #opponents .ux-inactive .seat-state,.player-ux #opponents .ux-inactive .mini-backs{display:none!important}
.player-ux #opponents .position-badges{position:absolute;bottom:0;left:0;gap:1px}.player-ux #opponents .position-badge{min-width:17px;width:17px;height:17px;font-size:10px;padding:0;border-width:1px}
.player-ux .board-zone{grid-row:2;margin:0;padding:0;min-height:0;max-width:100%;overflow:visible;text-align:center}
.player-ux .board-zone .pot-label,.player-ux .board-zone #pot-total,.player-ux #table-stakes{display:none!important}
.player-ux #board{display:flex;justify-content:center;gap:3px;max-width:100%;margin:0}
.player-ux .felt #board .card,.player-ux .felt:has(#board .card:nth-child(6)) #board .card{width:min(74px,calc((100cqw - 34px)/var(--board-count,5)),calc(20cqh / 1.38))!important;height:auto!important;aspect-ratio:1/1.38;font-size:clamp(18px,7cqh,32px)!important;padding:3px;flex-shrink:0;border-radius:5px;box-sizing:border-box}
.player-ux .felt #board .card .suit{font-size:inherit!important}
.player-ux .hero-seat{grid-row:3;display:flex;align-items:center;justify-content:center;gap:6px;margin:0;min-height:0;max-width:100%;overflow:visible;flex-wrap:nowrap}
.player-ux #hole-choice-group{min-width:0;position:relative;max-width:100%}.player-ux #hole{display:flex;gap:4px;justify-content:center;margin:0;max-width:100%}
.player-ux .felt .hero-seat #hole .card{width:min(90px,calc((100cqw - 92px)/var(--hole-count,2)),calc(25cqh / 1.38))!important;height:auto!important;aspect-ratio:1/1.38;font-size:clamp(20px,8cqh,36px)!important;padding:4px;flex-shrink:0;border-radius:5px;box-sizing:border-box}
.player-ux .felt .hero-seat #hole .card .suit{font-size:inherit!important}
.player-ux .hero-name{font-size:12px;line-height:1.1;min-width:50px;max-width:76px}.player-ux .hero-name strong{font-size:16px}.player-ux .hero-status{display:none}.player-ux .hero-seat>.position-badges .position-badge{min-width:20px;width:20px;height:20px;font-size:12px}
.player-ux .felt .felt-blinds,.player-ux .felt:has(#felt-game-info) .felt-blinds{grid-row:4;position:static!important;inset:auto;line-height:20px;font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:0}
.player-ux .felt .felt-game-info{grid-row:5;position:static!important;inset:auto;padding:0;min-height:0;max-height:22px;display:block;font-size:16px!important;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-ux .felt-game-info span{display:none}.player-ux .felt-game-info strong{font-size:inherit}
.player-ux #movement-announcement{grid-column:1;grid-row:3;position:static;height:18px;min-height:18px;padding:0 8px;font-size:12px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-ux .game-panel>.action-area,.player-ux .game-panel:has(#tournament-table-status) .action-area{grid-row:4!important;grid-column:1!important;display:flex!important;flex-direction:column;gap:3px;padding:3px 8px max(3px,env(safe-area-inset-bottom));max-height:none!important;min-height:0;height:auto!important;overflow:visible;align-content:normal;border-radius:0;border-width:1px}
.player-ux .turn-line{order:1;display:flex;align-items:center;gap:6px;min-height:44px;margin:0;flex-wrap:nowrap;line-height:1.1}
.player-ux #turn-label{flex:1;font-size:14px!important;line-height:1.15;min-width:0}.player-ux #turn-timer{font-size:28px!important;letter-spacing:-1px;line-height:1;white-space:nowrap}.player-ux #turn-timer.urgent{padding:2px;border-width:2px}
.player-ux .turn-line #add-time{min-height:44px;width:auto!important;padding:4px 8px;font-size:14px;font-weight:750;flex:none;margin:0}
.ux-hand-summary{order:2;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:26px}
.player-ux #best-hand{flex:1;min-width:0;display:flex;gap:5px;align-items:baseline;min-height:24px;margin:0;padding:2px 4px;border-width:1px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.1}
.player-ux #best-hand[hidden]{display:flex!important;visibility:hidden}.player-ux #best-hand small{font-size:10px;display:inline;margin:0}.player-ux #best-hand strong{font-size:15px;display:inline;line-height:1.1;overflow:hidden;text-overflow:ellipsis}
.ux-stack{font-size:16px;white-space:nowrap}
.player-ux .action-contribution{order:3;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important;margin:0!important;min-height:40px}
.player-ux .action-contribution .stat-row{min-height:40px;padding:2px!important;gap:1px;justify-content:center;border-color:var(--ux-line)}
.player-ux .action-contribution .stat-row span{font-size:11px!important;color:var(--ink)!important;line-height:1.1}.player-ux .action-contribution strong{font-size:20px!important;line-height:1}
.player-ux .action-buttons{order:4;display:flex!important;flex-direction:column;gap:3px}
.player-ux .raise-field{order:1;display:grid;grid-template-columns:minmax(0,1fr) 100px;grid-template-rows:26px 17px;gap:0 6px;min-height:44px;max-height:48px;margin:0;align-items:center}
.player-ux .raise-field>span{font-size:13px;color:var(--ink);text-align:left}.player-ux .raise-field input{grid-column:2;grid-row:1/3;width:100px;max-width:100%;height:44px;min-height:44px;padding:2px 5px;font-size:25px;line-height:1;border:1px solid var(--ux-line);border-radius:5px;background:var(--palette-surface,#fff);color:var(--ink)}
#ux-wager-preview{grid-column:1;grid-row:2;font-size:12px;line-height:1.1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.player-ux #bet-controls{order:2;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;justify-content:stretch;margin:0}
.player-ux #bet-controls[data-preset-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.player-ux #bet-controls[data-preset-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.ux-bet-modes{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:4px;height:44px}
.player-ux #bet-controls .ux-bet-modes .button{height:44px;min-height:44px!important;font-size:16px!important;padding:4px;min-width:0}
.player-ux #bet-controls .bet-preset{grid-column:auto!important;height:44px;min-height:44px!important;min-width:0;padding:3px;font-size:16px!important;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-ux #bet-controls small{display:none}.player-ux .fixed-actions{order:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.player-ux .fixed-actions .button{height:44px;min-height:44px!important;padding:4px 1px;font-size:19px!important;white-space:nowrap;line-height:1;touch-action:manipulation}
.player-ux .fixed-actions .button:disabled{opacity:.45}
.ux-feedback{order:5;min-height:20px;max-height:38px;font-size:13px;font-weight:650;line-height:18px;overflow:auto;color:var(--ink)}.ux-feedback.error{color:var(--palette-text,#9f2317);background:color-mix(in srgb,#e55 15%,transparent);border-left:3px solid #c32;padding-left:5px}
.player-ux[data-page=tables] #notice,.player-ux #action-help,.player-ux .action-area>#demo-pause-inline,.player-ux .action-area>#pause-after-hand{display:none!important}
.player-ux #mobile-next-hand{order:0;min-height:44px;height:44px;font-size:15px;margin:0}.player-ux #dealer-choice{order:0;display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:0;padding:2px;font-size:14px;max-height:96px;overflow:auto}
.player-ux #dealer-choice>.game-categories,.player-ux #dealer-choice>.game-cycle,.player-ux #dealer-choice>small,.player-ux #dealer-choice>strong{display:none}
.player-ux #dealer-choice select{flex:1;min-width:140px;min-height:44px;font-size:14px}.player-ux #dealer-choice>.button{min-height:44px;font-size:14px}.player-ux #dealer-choice>span{font-size:12px}
.player-ux #table-rebuy{order:0;display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding:5px;max-height:190px;overflow:auto;font-size:14px}.player-ux #table-rebuy>strong,.player-ux #table-rebuy>span{width:100%;font-size:14px}.player-ux #table-rebuy .button{min-height:44px;font-size:14px}.player-ux .rebuy-number input{font-size:18px}
.player-ux #rabbit-panel{order:0;max-height:96px;overflow:auto;padding:2px;font-size:12px}.player-ux #rabbit-panel .button{font-size:14px;min-height:44px}
.player-ux #tournament-table-status{order:0;margin:0;padding:3px;max-height:120px;overflow:auto;font-size:13px}.player-ux #tournament-table-status .button{min-height:44px;font-size:14px}
.player-ux .pot-award-overlay{inset:auto 4px 4px;font-size:16px;padding:5px;max-height:60px;overflow:hidden}
.player-ux #opponents .hand-winner{padding:2px}.player-ux #opponents .winner-award{position:absolute;bottom:1px;right:1px;font-size:12px;padding:0;margin:0;background:#173a29;color:#ffe984}
.player-ux #showdown-choice{position:absolute;bottom:0;left:0;right:0;transform:translateY(100%);z-index:3;display:flex;justify-content:center;gap:3px;background:var(--palette-surface,#fff);padding:2px}.player-ux #showdown-choice .button{min-height:44px;font-size:13px;padding:2px 5px}.player-ux #showdown-choice small{display:none}
.player-ux #hole .card-showdown-controls{position:absolute;bottom:0;top:auto;left:0;right:0;display:flex;flex-direction:column;gap:1px;background:transparent}.player-ux #hole .card-showdown-controls button{min-height:24px;height:24px;padding:1px;font-size:12px}.player-ux #hole .card-showdown-controls span{font-size:11px}
.player-ux #mobile-menu{max-height:100dvh;padding:8px;width:min(760px,100vw);height:auto;min-height:300px;left:auto;right:0;margin:0;border:1px solid var(--ux-line);border-radius:0 0 0 12px;font-size:16px}
.player-ux #mobile-menu-close{margin:0 0 6px;position:sticky;top:0;z-index:3;min-height:44px;font-size:15px}
.ux-menu-tabs{display:flex;gap:5px;position:sticky;top:44px;background:var(--palette-surface,#fff);z-index:2;padding:3px 0}
.ux-menu-tabs .button{flex:1;min-height:44px;font-size:16px}.ux-menu-tabs [aria-pressed=true],#ux-chip-dialog nav [aria-pressed=true]{box-shadow:inset 0 -3px 0 var(--green,#17634f)}
.ux-menu-group{padding:8px 0}.ux-menu-group .panel{padding:10px;margin:6px 0}.ux-menu-group h2{font-size:21px}.ux-menu-group h3{font-size:18px}.ux-menu-group .helper{font-size:14px;line-height:1.35}
.player-ux #mobile-menu .topbar{display:block;min-height:0;padding:8px 0;border:0}.player-ux #mobile-menu .topbar>div:first-child{display:none}.player-ux #mobile-menu .role-switch{display:flex;gap:5px}.player-ux #mobile-menu .button,.player-ux #mobile-menu input,.player-ux #mobile-menu select{min-height:44px;font-size:15px}
.player-ux #mobile-menu .sidebar{display:block;padding:0;margin:0}.player-ux #mobile-menu .sidebar>a,.player-ux .sidebar-foot{display:none}.player-ux #mobile-menu .sidebar nav{display:flex;gap:4px;margin:0}.player-ux #mobile-menu .right-rail{display:block}.player-ux #mobile-menu .right-rail>section:first-child{display:none}
.player-ux .ux-menu-group>.select-cycle{width:44px}.player-ux #auto-rebuy-settings>.select-cycle{width:44px}.player-ux .owner-only{display:none!important}
.player-ux dialog{max-width:min(760px,100vw);max-height:92dvh;overflow:auto;padding:12px;font-size:16px;line-height:1.4}.player-ux dialog .button,.player-ux dialog select{min-height:44px;font-size:15px}.player-ux dialog select{max-width:100%;min-width:0;white-space:normal}
.player-ux dialog summary{min-height:44px;overflow-wrap:anywhere;font-size:16px;line-height:1.3}.player-ux dialog>button:first-child{position:sticky;top:0;z-index:3}.player-ux dialog>.panel{padding:8px}
#ux-chip-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(650px,100vw);max-height:88dvh;border-radius:14px 14px 0 0;padding:10px}
#ux-chip-dialog h2{font-size:23px;margin:4px 0}#ux-chip-context{font-size:13px;margin:3px 0}#ux-chip-balance{display:block;font-size:17px;margin:5px 0}#ux-chip-dialog nav{display:flex;gap:4px;margin:5px 0}#ux-chip-dialog nav .button{flex:1;min-width:0;font-size:14px;padding:4px}#ux-chip-dialog .panel{padding:8px;margin:0;border:0}#ux-chip-dialog .panel h2{font-size:19px}#ux-chip-dialog .helper{font-size:13px}#ux-chip-dialog input,#ux-chip-dialog select{min-height:44px;font-size:16px}#ux-chip-dialog .amount-controls .button{min-height:44px;font-size:15px}#ux-chip-dialog .select-cycle{min-width:44px!important;width:44px!important}#ux-chip-dialog #player-chip-requests{max-height:100px;overflow:auto}#ux-full-wallet{width:100%;margin-top:6px}
.player-ux[data-page=wallet] main,.player-ux[data-page=banker] main{height:auto;overflow:visible;padding:10px}.player-ux #wallet-back-to-game,.player-ux #wallet-page button,.player-ux #wallet-page input,.player-ux #wallet-page select{min-height:44px;font-size:16px}.player-ux #wallet-back-to-game{width:100%}.player-ux #ux-wallet-history{margin-top:12px}.player-ux #ux-wallet-history>summary{min-height:44px;font-size:18px}.player-ux #wallet-page .panel{padding:12px}.player-ux #wallet-page h2{font-size:23px}
@media(min-width:1000px){.player-ux #opponents .seat-name{font-size:19px!important}.player-ux #opponents .seat-name strong{font-size:20px!important}.player-ux .felt #opponents .mini-backs .card,.player-ux .felt #opponents .card-back{width:38px!important;height:52px!important;font-size:21px!important}.player-ux #opponents{grid-template-columns:repeat(3,minmax(0,1fr))!important}.player-ux .fixed-actions .button{font-size:23px!important}.player-ux #best-hand strong{font-size:17px}.player-ux .action-contribution .stat-row span{font-size:13px!important}.player-ux #bet-controls .bet-preset{font-size:18px!important}.player-ux .felt .felt-blinds{font-size:15px!important}}
@media(max-height:600px) and (min-width:600px){.player-ux #tables-page .game-panel,.player-ux .game-panel:has(#tournament-table-status){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:24px minmax(0,1fr)!important}.player-ux .panel-heading{grid-column:1/-1!important}.player-ux #tables-page .felt{grid-column:1!important;grid-row:2!important;margin:0 4px!important}.player-ux #movement-announcement{display:none!important}.player-ux .game-panel>.action-area{grid-column:2!important;grid-row:2!important;height:100%!important;overflow:auto;gap:2px;padding:2px 6px}.player-ux .action-contribution{min-height:34px}.player-ux .action-contribution .stat-row{min-height:34px}.player-ux .turn-line{min-height:38px}.player-ux .ux-hand-summary{min-height:22px}.player-ux .ux-feedback{min-height:18px}.player-ux .action-buttons{gap:2px}.player-ux #opponents .mini-backs{display:none!important}.player-ux #opponents .seat{grid-template-columns:1fr;grid-template-rows:18px 14px}.player-ux .felt #opponents .seat-name,.player-ux .felt #opponents .previous-action,.player-ux .felt #opponents .seat-state{grid-column:1}.player-ux #opponents .seat-name{font-size:15px!important}.player-ux #opponents .seat-name strong{font-size:16px!important}.player-ux #opponents .position-badges{display:none}.player-ux #opponents .last-actor-marker{font-size:9px!important}.player-ux .felt .felt-blinds{font-size:12px!important}.player-ux .felt .felt-game-info{font-size:14px!important}.player-ux .fixed-actions .button{font-size:16px!important}}

.player-ux .ux-showdown{order:0;display:flex;flex-direction:column;gap:3px;font-size:13px}.ux-showdown-cards{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;text-align:center}.ux-showdown-cards>div{min-width:0}.ux-showdown-cards strong{font-size:15px}.player-ux .ux-showdown .card-showdown-controls{position:static;display:flex;flex-direction:column;gap:2px;background:none}.player-ux .ux-showdown .card-showdown-controls button{min-height:44px;height:44px;font-size:14px;padding:2px}.player-ux .ux-showdown #showdown-choice{position:static;transform:none;inset:auto;display:flex;padding:0;background:none;flex-wrap:wrap}.player-ux .ux-showdown #showdown-choice .button{flex:1;min-height:44px}.player-ux .ux-showdown #showdown-choice small{display:block;width:100%;font-size:12px;text-align:center}
.player-ux[data-ux-hand=between] .action-buttons,.player-ux[data-ux-hand=between] .action-contribution{display:none!important}.player-ux[data-ux-hand=between] .ux-feedback{min-height:20px}
.player-ux #mobile-next-hand[disabled]{display:none!important}
@media(min-width:1100px) and (min-height:601px){.player-ux #tables-page .game-panel,.player-ux .game-panel:has(#tournament-table-status){position:relative;grid-template-columns:minmax(0,58fr) minmax(0,42fr)!important;grid-template-rows:24px minmax(0,1fr)!important}.player-ux .panel-heading{grid-column:1/-1!important}.player-ux #tables-page .felt{grid-column:1!important;grid-row:2!important;height:calc(100% - 18px);margin-bottom:18px!important}.player-ux .game-panel>.action-area{grid-column:2!important;grid-row:2!important;justify-content:center;height:100%!important;border-left:1px solid var(--ux-line)}.player-ux #movement-announcement{position:absolute;bottom:0;left:0;width:58%;height:18px}.player-ux .felt #opponents{grid-template-columns:repeat(2,minmax(0,1fr))!important}.player-ux .felt #opponents .seat-name{font-size:20px!important}.player-ux .felt #opponents .seat-name strong{font-size:21px!important}}
@media(max-height:600px) and (min-width:600px){.player-ux #tables-page .game-panel,.player-ux .game-panel:has(#tournament-table-status){grid-template-columns:minmax(0,40fr) minmax(0,60fr)!important}.player-ux .action-area .action-buttons{display:grid!important;grid-template-columns:100px minmax(0,1fr);grid-template-rows:88px 44px;gap:3px}.player-ux .action-buttons .raise-field{grid-column:1;grid-row:1;display:flex;flex-direction:column;max-height:88px;height:88px;min-width:0;gap:0;justify-content:center}.player-ux .raise-field>span{font-size:12px}.player-ux .raise-field input{height:44px;min-height:44px;width:100%}.player-ux .raise-field #ux-wager-preview{font-size:11px;max-width:100%}.player-ux .action-buttons #bet-controls{grid-column:2;grid-row:1;gap:2px}.player-ux .fixed-actions{grid-column:1/-1;grid-row:2}.player-ux #best-hand small{display:none}.player-ux #best-hand strong{font-size:14px}.player-ux .ux-stack{font-size:14px}.player-ux .action-contribution .stat-row span{font-size:10px!important}.player-ux .action-contribution strong{font-size:18px!important}.player-ux .felt #board .card{width:min(65px,calc((100cqw - 34px)/var(--board-count,5)),calc(18cqh / 1.38))!important}.player-ux .felt .hero-seat #hole .card{width:min(75px,calc((100cqw - 80px)/var(--hole-count,2)),calc(22cqh / 1.38))!important}.player-ux .felt #opponents{padding-left:0}.player-ux .felt .hero-name{display:none}.player-ux .turn-line #turn-label{font-size:13px!important}}
.player-ux.table-pane{--ux-tools:0px}.player-ux.table-pane .ux-quick{display:none}

.player-ux #bet-controls .ux-bet-modes>.button{grid-column:auto!important;grid-row:auto!important;width:auto!important;min-width:0}
.player-ux.table-action-due #mobile-player::before{color:var(--ink);background:#ffe082;border-radius:3px;padding:2px;font-size:11px}
.player-ux .action-contribution .stat-row span{font-size:12px!important}.player-ux .action-contribution .stat-row{min-height:44px}

.player-ux .ux-menu-group>details{margin:4px 0;border:1px solid var(--ux-line);border-radius:6px}.player-ux .ux-menu-group>details>summary{min-height:44px;padding:9px;font-size:16px}.player-ux .ux-menu-group>details[open]{padding-bottom:6px}
.player-ux .board-zone{position:relative}.player-ux .board-zone #pot-total{display:block!important;position:absolute;top:0;left:50%;width:1px;height:1px;font-size:1px;opacity:0;margin:0;padding:0}
.player-ux.split-host #split-tables{inset:88px 0 0}

.player-ux #mobile-menu #table-windows{gap:4px;padding:8px}.player-ux #mobile-menu #table-windows h2{margin:2px 0;font-size:20px}.player-ux #mobile-menu #table-windows label{margin:0;padding:0;min-height:44px}.player-ux #mobile-menu #table-windows input{min-height:24px!important;height:24px!important}.player-ux #mobile-menu #table-windows .button{height:44px;padding:4px}

.player-ux #opponents .last-to-act{padding-top:1px}.player-ux #opponents .last-actor-marker{position:static;grid-column:2;grid-row:2;justify-self:end;align-self:center;font-size:9px!important;max-width:62px;white-space:nowrap;padding:1px 2px}.player-ux #opponents .last-to-act .previous-action{justify-self:start}.player-ux #opponents .seat:has(.mini-backs .card) .last-actor-marker{grid-column:1;grid-row:3}
@media(max-width:1099px) and (min-height:601px){.player-ux.ux-focus-tables #tables-page .game-panel{grid-template-rows:0 minmax(0,1fr) 18px auto!important}.player-ux.ux-focus-tables .panel-heading{display:none}.player-ux.ux-focus-tables .felt #board .card{width:min(74px,calc((100cqw - 34px)/var(--board-count,5)),calc(17cqh / 1.38))!important}.player-ux.ux-focus-tables .felt .hero-seat #hole .card{width:min(90px,calc((100cqw - 92px)/var(--hole-count,2)),calc(22cqh / 1.38))!important}}
@media(max-height:600px) and (min-width:600px){.player-ux{--ux-tools:0px}.player-ux .ux-quick{position:absolute;top:0;right:50px;width:min(48vw,400px);z-index:21;padding:0;gap:2px;background:transparent;border:0}.player-ux .ux-quick .button{font-size:13px;padding:2px;min-width:0}.player-ux .mobile-bar{justify-content:flex-start}.player-ux .mobile-bar select{flex:none;max-width:clamp(100px,15vw,130px);width:clamp(100px,15vw,130px)}.player-ux .mobile-bar #mobile-player{max-width:90px}.player-ux .mobile-bar #mobile-menu-open{position:absolute;right:4px}.player-ux #opponents .last-actor-marker{font-size:9px!important}}
.player-ux #opponents .mini-backs{flex-wrap:nowrap!important}.player-ux #opponents .seat{align-self:stretch!important;height:100%!important;max-height:100%;box-sizing:border-box}.player-ux #opponents .mini-backs:has(.card-back)>*+*{margin-left:-25px}
.player-ux #opponents .ux-empty{display:none!important}.player-ux #opponents:has(.seat .card) .seat{min-height:76px}.player-ux #opponents:has(.seat .card){grid-auto-rows:minmax(76px,1fr)}
.player-ux.ux-focus-tables{--ux-tabs:70px}
.player-ux .ux-table-tabs{height:70px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;justify-content:flex-start;scroll-snap-type:x proximity}
.player-ux .ux-table-tabs::-webkit-scrollbar{display:none}
.player-ux .ux-table-tabs strong{line-height:1.05}
.player-ux .ux-table-tabs .button{flex:1 0 145px;max-width:280px;min-height:66px;gap:1px;scroll-snap-align:start;text-align:left;align-items:flex-start;padding:3px 7px}
.player-ux .ux-table-tabs strong{font-size:14px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-ux .ux-table-tabs span{font-size:11px;line-height:1.1}.player-ux .ux-table-tabs small{font-size:12px;line-height:1.1}
.player-ux .ux-table-tabs .urgent{background:#ffe4df!important;border-color:#b62013!important;color:#661000!important;box-shadow:inset 0 0 0 2px #fff}
.player-ux .ux-view-buttons{display:flex;gap:5px;flex-wrap:wrap}.player-ux .ux-view-buttons button{min-height:44px;flex:1}.player-ux #ux-multitable-settings label{display:flex;gap:10px;align-items:center;font-size:16px;min-height:44px}
.player-ux #ux-multitable-settings input{width:24px;height:24px;min-height:24px}
.player-ux.split-host #split-tables.ux-side-by-side{inset:158px 0 0;grid-template:1fr/repeat(2,minmax(0,1fr))}
.player-ux .ux-overview{position:fixed;inset:158px 0 0;background:var(--palette-base,#f9fcf8);z-index:8;padding:12px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}
.player-ux .ux-overview h2{grid-column:1/-1;font-size:22px;margin:0}.player-ux .ux-overview .button{display:flex;flex-direction:column;gap:8px;align-items:flex-start;min-height:180px;font-size:17px;padding:16px}.player-ux .ux-overview small{font-size:18px;font-weight:800}.player-ux .ux-overview .attention{border:3px solid #b76b00;background:#fff0c2;color:#362000}
.player-ux.ux-overview-open main{visibility:hidden}
@media(max-width:500px){.player-ux .ux-overview{grid-template-columns:1fr}.player-ux .ux-overview .button{min-height:130px}}
@media(max-height:600px) and (min-width:600px){.player-ux .ux-overview{top:114px}}

.player-ux #ux-wager-preview{display:block!important;white-space:normal;overflow:visible}.player-ux .raise-field{max-height:none;grid-template-rows:26px minmax(30px,auto)}#winner-notifications{position:fixed;top:52px;left:8px;right:8px;z-index:30;pointer-events:none}#winner-notifications .winner-notice strong{display:block;font-size:16px}

body.player-ux .fixed-actions #raise{white-space:normal!important;overflow-wrap:anywhere;line-height:1.1!important;font-size:clamp(11px,3.4vw,17px)!important;min-height:44px!important;height:auto!important;max-height:none!important}


/* notes-ui.css */
.player-ux .felt #board .card,.player-ux.ux-focus-tables .felt #board .card,.player-ux .felt:has(#board .card:nth-child(6)) #board .card{width:min(100px,calc((100cqw - 32px)/var(--board-count,5)),calc(22cqh / 1.38))!important;font-size:clamp(19px,7cqh,36px)!important}
.player-ux .felt .hero-seat #hole .card,.player-ux.ux-focus-tables .felt .hero-seat #hole .card{width:min(67px,calc((100cqw - 120px)/var(--hole-count,2)),calc(16cqh / 1.38))!important;font-size:clamp(17px,5cqh,27px)!important}
.player-ux .hero-seat{position:relative;display:block;height:max-content;min-height:0;text-align:center}.player-ux .hero-seat #hole{display:flex;justify-content:center;gap:4px;width:100%;margin:0!important}
.player-ux .hero-name{position:absolute;right:0;top:50%;transform:translateY(-50%);max-width:60px;font-size:11px}.player-ux .hero-name strong{font-size:13px}.player-ux .hero-seat>.position-badges{position:absolute;left:0;top:50%;transform:translateY(-50%)}
.player-ux .felt #opponents .seat{align-self:center!important;height:max-content!important;max-height:100%;justify-self:center;width:100%;max-width:245px;align-content:center;grid-template-rows:20px 18px}.player-ux #opponents .seat:has(.mini-backs .card){grid-template-rows:20px 45px 18px;min-height:84px}
.player-ux .felt.notes-headsup #opponents{display:flex!important;justify-content:center;align-items:flex-start;padding-left:0}.player-ux .felt.notes-headsup #opponents .seat:not(.ux-empty){max-width:260px;width:max-content;min-width:180px;margin:0 auto}
.player-ux .notes-pot{display:flex;align-items:center;justify-content:center;gap:8px;height:27px;min-height:27px;margin:0 auto 3px;color:var(--felt-text,#fff)}
.player-ux .notes-pot #pot-total{display:block!important;position:static!important;opacity:1!important;width:auto!important;height:auto!important;font-size:18px!important;line-height:24px;margin:0;padding:0}
.player-ux .notes-chip-pile{display:grid;grid-template-columns:repeat(6,8px);grid-auto-rows:4px;align-content:end;min-height:8px;gap:0}.notes-chip-pile i{display:block;width:12px;height:7px;border:2px dashed #fff;border-radius:50%;background:#be2842;box-shadow:0 1px 1px #000}.notes-chip-pile i:nth-child(3n){background:#2973b9}
@keyframes pot-grow{from{transform:scale(.94)}to{transform:scale(1)}}.pot-change{animation:pot-grow .35s ease-out}
.player-ux #dealer-choice{max-height:none!important;overflow:visible!important}.player-ux #notes-game-dialog,.player-ux #notes-host-dialog{width:min(560px,96vw);max-height:94dvh;overflow:auto;border-radius:14px;padding:14px;background:var(--palette-surface,#fff);color:var(--ink)}
.player-ux #notes-game-dialog button,.player-ux #notes-host-dialog button,.player-ux #notes-host-dialog select,.player-ux #notes-host-dialog input{min-height:44px;font-size:16px}.player-ux #notes-host-dialog select,.player-ux #notes-host-dialog input{display:block;width:100%;margin:7px 0}.player-ux #notes-game-dialog #dealer-choice{display:flex;flex-direction:column;gap:8px}.player-ux #notes-game-dialog .game-categories{display:flex;gap:5px}.player-ux #notes-game-dialog .game-categories button{flex:1}
.player-ux #notes-close-table{min-height:44px}.player-ux .ux-quick .button{font-size:12px;padding:2px}
@media(max-height:600px){.player-ux .notes-pot{height:23px;min-height:23px}.player-ux .notes-pot #pot-total{font-size:15px!important}}
.notes-next-prompt{display:flex;flex-direction:column;gap:6px;padding:8px;border:2px solid #b76b00;background:#fff0c2;color:#362000;border-radius:8px}.notes-next-prompt .button{min-height:44px;background:#236b50;color:white;font-weight:800}.notes-next-prompt strong{font-size:17px;line-height:1.2}
.notes-choice-pending #next-hand,.notes-choice-pending #mobile-next-hand{display:none!important}
.player-ux #notes-game-dialog #dealer-choice>.game-cycle{display:block!important;min-height:44px;font-size:17px;font-weight:750}.player-ux #notes-game-dialog .game-cycle+select+.select-cycle{display:none!important}
.player-ux .felt #opponents .seat{grid-template-columns:calc(58px * var(--seat-scale,1)) minmax(0,1fr);grid-template-rows:calc(20px * var(--seat-scale,1)) calc(18px * var(--seat-scale,1)) 23px;width:max-content!important;max-width:100%;min-width:0;gap:1px 4px}
.player-ux .felt #opponents .seat-name{font-size:calc(16px * var(--seat-scale,1))!important}.player-ux .felt #opponents .seat-name strong{font-size:calc(17px * var(--seat-scale,1))!important}.player-ux .felt #opponents .mini-backs .card,.player-ux .felt #opponents .card-back{width:calc(32px * var(--seat-scale,1))!important;height:calc(44px * var(--seat-scale,1))!important}
.player-ux .felt #opponents .seat .player-chip-stack{grid-column:1/-1;grid-row:3;justify-self:center}.player-ux .felt #opponents .seat:has(.mini-backs .card){grid-template-columns:1fr;grid-template-rows:20px 48px 18px 23px}.player-ux .felt #opponents .seat:has(.mini-backs .card) .player-chip-stack{grid-row:4}
.player-chip-stack{display:flex;justify-content:center;align-items:flex-end;gap:3px;height:23px;max-width:100%;overflow:hidden;pointer-events:none}.player-chip-column{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative;padding-bottom:10px;min-width:17px;height:23px;box-sizing:border-box}.player-chip-column i{display:block;width:15px;height:5px;min-height:5px;margin-top:-2px;border:1px dashed #fff;border-radius:50%;background:var(--chip-color);box-shadow:0 1px 1px #000}.player-chip-column small{position:absolute;bottom:0;font-size:8px;line-height:9px;font-weight:700;white-space:nowrap;color:#fff;background:#173d31;padding:0 1px}
.player-ux .hero-seat>.player-chip-stack{position:absolute;bottom:0;right:0;max-width:88px;height:18px}.player-ux .hero-name{top:0;transform:none}.player-ux.seat-spectating .hero-seat{visibility:hidden}.player-ux.seat-spectating #best-hand{visibility:hidden}
.player-ux .felt #opponents .seat-name>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-ux .felt #opponents .seat-name strong{flex-shrink:0}
@media(min-width:1100px){.player-ux .felt #opponents .seat-name{font-size:calc(19px * var(--seat-scale,1))!important}.player-ux .felt #opponents .seat-name strong{font-size:calc(20px * var(--seat-scale,1))!important}}
@media(max-height:600px) and (min-width:600px){.player-ux .felt #opponents .seat{grid-template-columns:1fr;grid-template-rows:18px 14px 18px}.player-ux .felt #opponents .seat-name,.player-ux .felt #opponents .seat-name strong{font-size:14px!important}.player-chip-stack{height:18px}.player-chip-column{height:18px}}


/* batch-ui.css */
.join-choices{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}#join-sheet{width:min(520px,94vw)}#join-sheet button,#join-sheet input{min-height:44px}#join-sheet input{width:100%;font-size:20px}#join-fund,#join-pay,#join-request{width:100%;margin-top:8px}
.wager-tip{position:fixed;z-index:1000;inset:40% 12px auto;background:#fff4cc;color:#221900;border:3px solid #e0a900;border-radius:12px;padding:24px;text-align:center;font-size:22px;font-weight:800;box-shadow:0 5px 30px #0008}
.action-lines{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;font-size:12px;line-height:14px}.action-lines span{white-space:nowrap}.player-ux #opponents .previous-action,.player-ux #opponents .seat-state{display:none!important}.player-ux #opponents .seat{grid-template-rows:auto auto auto auto!important}.player-ux #opponents .action-lines{grid-row:3}.player-ux #opponents .seat .player-chip-stack{grid-row:4}.seat-wager{font-size:13px;font-weight:800;color:#ffdf83;white-space:nowrap;text-align:center;grid-column:1/-1;grid-row:5;min-height:15px}.hero-seat .seat-wager{position:absolute;left:0;bottom:0}.collected-pot{font-size:10px;line-height:12px;padding:1px 3px;border:1px solid #ffdf83;border-radius:4px}.notes-pot{flex-wrap:wrap}.player-ux #cash-removal button{min-height:44px;margin:3px}
@media(max-width:600px){
 .player-ux .ux-quick{height:44px;overflow-x:auto;flex-shrink:0}.player-ux .ux-quick .button{flex:1 0 42px;font-size:12px;padding:2px}
 .player-ux #tables-page .felt{grid-template-rows:minmax(0,43fr) minmax(0,27fr) minmax(0,22fr) 17px 18px!important;gap:1px;padding:3px 5px!important}
 .player-ux .felt #opponents{padding:0 0 0 17px;gap:2px 4px;grid-auto-rows:minmax(0,1fr)}
 .player-ux .felt #opponents .seat{position:relative;width:100%!important;height:100%!important;max-height:100%;display:grid!important;grid-template:18px minmax(0,1fr) 14px / minmax(0,1fr)!important;padding:0 2px;align-content:center;overflow:hidden;min-height:0}
 .player-ux .felt #opponents .seat-name{grid-column:1!important;grid-row:1!important;font-size:13px!important;line-height:17px;padding-left:10px;gap:2px}.player-ux .felt #opponents .seat-name strong{font-size:14px!important}
 .player-ux .felt #opponents .mini-backs{position:absolute;left:0;top:20px;grid-area:auto!important;height:24px;max-width:32px;overflow:hidden}.player-ux .felt #opponents .mini-backs .card,.player-ux .felt #opponents .card-back{width:17px!important;height:23px!important;font-size:10px!important;padding:1px}.player-ux .felt #opponents .mini-backs>*+*{margin-left:-12px!important}
 .player-ux .felt #opponents .action-lines{grid-column:1!important;grid-row:2!important;font-size:10px;line-height:11px;align-self:center;padding-left:21px;overflow:hidden}
 .player-ux .felt #opponents .player-chip-stack{position:absolute;left:2px;bottom:1px;height:10px;max-width:28px;overflow:hidden}.player-chip-column small{display:none}
 .player-ux .felt #opponents .seat-wager{grid-row:3;grid-column:1;line-height:14px;font-size:11px;min-height:0}.player-ux #opponents .last-actor-marker{font-size:8px!important;right:0;top:0;max-width:58px}.player-ux #opponents .last-to-act{padding-top:0}
 .player-ux .felt .board-zone{display:grid;grid-template-rows:18px minmax(0,1fr);height:100%;overflow:hidden}.player-ux .notes-pot{height:18px;min-height:18px;margin:0;gap:3px;flex-wrap:nowrap}.player-ux .notes-pot #pot-total{font-size:13px!important;line-height:18px}.player-ux .notes-chip-pile{display:none}.collected-pot{font-size:8px;max-width:48px;overflow:hidden;white-space:nowrap}
 .player-ux .felt #board{align-items:center;min-height:0}.player-ux .felt #board .card{width:min(calc((100cqw - 28px)/var(--board-count,5)),calc(18cqh / 1.38))!important;font-size:clamp(12px,4.5cqh,24px)!important;padding:1px}
 .player-ux .felt .hero-seat{display:flex!important;align-items:center;justify-content:center;height:100%;overflow:hidden}.player-ux .felt .hero-seat #hole .card{width:min(calc((100cqw - 110px)/var(--hole-count,2)),calc(16cqh / 1.38))!important;font-size:clamp(12px,4cqh,21px)!important;padding:1px}.player-ux .felt .hero-name{max-width:52px;top:2px}.player-ux .hero-seat .player-chip-stack{display:none}
 .player-ux .felt .felt-blinds{font-size:11px!important;line-height:17px}.player-ux .felt .felt-game-info{font-size:12px!important;line-height:18px;max-height:18px}.player-ux .felt-game-info span{display:none!important}
 .player-ux .action-contribution .stat-row span{font-size:9px!important}.player-ux .action-contribution strong{font-size:17px!important}.player-ux .fixed-actions .button{font-size:17px!important}
 .player-ux #tournament-table-status{font-size:11px;max-height:70px}.player-ux #tournament-table-status p{margin:2px 0}.player-ux .ux-hand-summary{min-height:22px}.player-ux .turn-line{min-height:38px}.player-ux .turn-line #turn-timer{font-size:26px!important}.player-ux .ux-feedback{max-height:18px;min-height:0;font-size:11px}
 .player-ux .pot-award-overlay{max-height:50px;font-size:14px;inset:auto 2px 2px}
}

@media(max-width:600px) and (min-height:601px){
 .player-ux #tables-page .game-panel{grid-template-rows:0 minmax(0,1fr) 0 auto!important}.player-ux .panel-heading,.player-ux #movement-announcement{visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important}
 .player-ux #tables-page .felt{grid-template-rows:var(--opponent-block-height,138px) minmax(0,1.8fr) minmax(0,1fr) 17px 18px!important}
 .player-ux .felt #opponents .seat{grid-template-rows:16px minmax(0,1fr) 10px!important}.player-ux .felt #opponents .seat-name{line-height:16px}.player-ux .felt #opponents .seat-wager{font-size:10px;line-height:10px}.player-ux .felt #opponents .action-lines{font-size:10px;line-height:10px}
}

.seat-wager:before{content:"";display:inline-block;width:12px;height:5px;border:1px dashed #fff;border-radius:50%;background:#ba354c;box-shadow:0 -2px #ba354c,0 -4px #f1d785;margin-right:3px}.seat-wager[data-amount="0"]{visibility:hidden}.flying-chips:not(.payout-chips){width:28px!important;height:28px!important;min-width:28px!important;font-size:10px!important}
@media(max-width:600px){
 .player-ux .felt .board-zone{container-type:size}.player-ux .felt #board .card{width:min(calc((100cqw - 28px)/var(--board-count,5)),calc((100cqh - 18px)/1.38))!important;font-size:clamp(12px,28cqh,22px)!important}
 .player-ux .felt .hero-seat{container-type:size}.player-ux .felt .hero-seat #hole .card{width:min(calc((100cqw - 110px)/var(--hole-count,2)),calc((100cqh - 2px)/1.38))!important;font-size:clamp(11px,40cqh,20px)!important}
}

.interface-failure{position:fixed;inset:0 0 auto;z-index:2000;background:#fff0c9;color:#251900;border:3px solid #c86b00;padding:20px;font-size:18px}

@media(max-width:600px){
 .player-ux.ux-focus-tables{--ux-tabs:44px}.player-ux .ux-table-tabs{height:44px;padding:1px 6px}.player-ux .ux-table-tabs .button{height:42px;min-height:42px;padding:1px 3px;gap:0}.player-ux .ux-table-tabs .button>span,.player-ux .ux-table-tabs .button>small:nth-last-child(2){display:none}.player-ux .ux-table-tabs strong{font-size:13px;line-height:16px}.player-ux .ux-table-tabs small{font-size:11px;line-height:13px}
 .player-ux .raise-field{grid-template-columns:92px minmax(0,1fr);grid-template-rows:44px;max-height:44px}.player-ux .raise-field>span,.player-ux #ux-wager-preview{display:none}.player-ux .raise-field input{grid-column:1;grid-row:1;width:92px}.player-ux .raise-field>.ux-bet-modes{grid-column:2;grid-row:1;display:grid;grid-template-columns:1fr 1fr;gap:3px;height:44px}.player-ux .raise-field>.ux-bet-modes button{font-size:13px!important;padding:2px;min-width:0;min-height:44px;height:44px}.player-ux .raise-field input:invalid{border:2px solid #b30}
}
@media(max-width:600px) and (min-height:601px){.player-ux.ux-focus-tables #tables-page .game-panel{grid-template-rows:0 minmax(0,1fr) 0 auto!important}}

.batch-wager-range{display:none}
@media(max-width:600px){.player-ux .raise-field{position:relative}.player-ux .batch-wager-range{display:block;position:absolute;left:3px;bottom:1px;font-size:9px;line-height:10px;pointer-events:none;max-width:88px;overflow:hidden;white-space:nowrap}.player-ux .raise-field input{padding-bottom:10px;font-size:23px}.player-ux .ux-stack{display:none}.player-ux #best-hand strong{font-size:14px}.player-ux #best-hand{max-width:100%}}

@media(max-width:600px){.player-ux #tournament-table-status:has(button){max-height:100px}.player-ux #tournament-table-status>strong{display:block;font-size:11px;line-height:14px}.player-ux #tournament-table-status button{width:calc(50% - 4px);min-height:44px;margin:2px;font-size:11px;padding:2px;vertical-align:top}}

@media(max-width:600px){.player-ux .ux-quick #tour-end-quick,.player-ux .ux-quick #tour-pause-quick{font-size:11px;white-space:normal;line-height:13px;flex:1 0 56px}.player-ux #tournament-table-status{max-height:100px}.player-ux #tournament-table-status>strong{line-height:15px;margin:0}}
@media(max-width:600px) and (min-height:601px){.player-ux #tables-page .felt.preflop-layout{grid-template-rows:var(--opponent-block-height,138px) 20px minmax(0,1fr) 17px 18px!important}}

@media(max-height:600px) and (min-width:601px){
 .player-ux #tables-page .game-panel,.player-ux .game-panel:has(#tournament-table-status){grid-template-rows:0 minmax(0,1fr)!important}.player-ux .panel-heading{visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important}
 .player-ux .felt #opponents{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:minmax(0,1fr);gap:2px;padding-left:0}
 .player-ux .felt #opponents .seat{display:grid!important;grid-template:16px 20px / minmax(0,1fr)!important;align-self:stretch!important;height:100%!important;max-width:100%;width:100%!important;gap:0;padding:0 2px;overflow:hidden}
 .player-ux .felt #opponents .mini-backs,.player-ux .felt #opponents .player-chip-stack{display:none!important}.player-ux .felt #opponents .seat-name{grid-column:1!important;grid-row:1!important;font-size:11px!important;line-height:14px}.player-ux .felt #opponents .seat-name strong{font-size:12px!important}
 .player-ux .felt #opponents .action-lines{grid-column:1!important;grid-row:2!important;font-size:9px;line-height:10px;overflow:hidden}.player-ux .felt #opponents .seat-wager{position:absolute;right:0;bottom:0;font-size:9px;line-height:10px;min-height:0}.player-ux .felt #opponents .last-actor-marker{display:none}.player-ux .felt #opponents .position-badge{width:12px;min-width:12px;height:12px;font-size:8px}
}

@media(max-width:600px) and (min-height:601px){.player-ux .felt #opponents{grid-template-rows:var(--opponent-tracks,repeat(3,36px))}.player-ux .felt #opponents .seat{grid-template-rows:16px 20px auto!important}.player-ux .felt #opponents .seat-wager[data-amount="0"]{display:none}.player-ux .felt #opponents .seat-wager{line-height:10px;height:10px}}

@media(min-width:601px) and (min-height:601px){.player-ux .felt #opponents .seat .player-chip-stack{grid-row:4}.player-ux .felt #opponents .seat .action-lines{grid-row:3}.player-ux .felt #opponents .seat .seat-wager{grid-row:5}}

@media(max-width:600px) and (max-height:700px){
 .player-ux.compact-hand{--ux-tools:0px}.player-ux.compact-hand #mobile-menu .ux-quick{display:flex;height:auto;flex-wrap:wrap;padding:4px 0;overflow:visible}.player-ux.compact-hand #mobile-menu .ux-quick button{flex:1 0 72px;min-height:44px;font-size:13px}
 .player-ux.compact-tour-admin #mobile-player{display:none}.player-ux.compact-tour-admin .mobile-bar select{max-width:120px;min-width:80px}.player-ux.compact-tour-admin .mobile-bar #tour-end-quick,.player-ux.compact-tour-admin .mobile-bar #tour-pause-quick{font-size:10px;line-height:12px;white-space:normal;width:60px;min-width:56px;max-width:64px;padding:1px;min-height:44px}
 .player-ux #mobile-menu{width:94vw;max-height:90dvh;top:5dvh;right:3vw;border-radius:12px}
}


/* notes26.css */
/* Isolated visual layer: cannot intercept a tap, focus or pointer event. */
#victory26,#victory26 *{pointer-events:none!important;user-select:none}#victory26[hidden]{display:none!important}
#victory26{position:fixed;z-index:9000;left:50%;top:50%;transform:translate(-50%,-50%);width:min(84vw,420px);height:min(66dvh,470px);max-width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 24px);isolation:isolate;animation:v26-life 3s linear both;contain:layout style}
.victory26-stage{position:absolute;inset:0 0 24%;filter:drop-shadow(0 8px 9px #0008)}
.victory26-sprite{position:absolute;inset:0;background:url('/celebrations-atlas.png') var(--cell-x) var(--cell-y)/300% 200% no-repeat;mask-image:radial-gradient(ellipse at center,#000 45%,transparent 76%);-webkit-mask-image:radial-gradient(ellipse at center,#000 45%,transparent 76%)}
.victory26 .subject{animation:v26-emerge 3s ease both}.victory26-halo{position:absolute;inset:13%;border-radius:50%;background:radial-gradient(ellipse,#c6a76555,transparent 65%);box-shadow:0 0 45px color-mix(in srgb,var(--palette-accent,#3c9b87) 38%,transparent);animation:v26-glow 3s ease both}
.victory26-label{position:absolute;bottom:0;left:4%;right:4%;display:flex;flex-direction:column;text-align:center;gap:3px;padding:10px 8px;color:#fff4cd;border-block:1px solid #c6a765;background:linear-gradient(90deg,transparent,#081b16ec 15%,#081b16ec 85%,transparent);text-shadow:0 2px 3px #000;animation:v26-number 3s linear both;font-family:Georgia,serif}
.victory26-label small{font-size:clamp(13px,3.6vw,20px);color:#e9cb86}.victory26-label strong{font-size:clamp(30px,8vw,52px);line-height:1.1;color:#fff2c8}.victory26-label span{font:11px system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.victory26-particle{position:absolute;left:50%;top:50%;width:5px;height:7px;background:linear-gradient(135deg,#fff3b0,#c6a765,#146b50);box-shadow:0 0 5px #c6a765;animation:v26-particle 1.6s var(--delay) ease-out both;transform:rotate(var(--angle));border-radius:1px}
.victory26-bolt{position:absolute;left:35%;top:-4%;width:30%;height:72%;clip-path:polygon(60% 0,38% 39%,61% 37%,20% 100%,38% 51%,17% 54%);background:linear-gradient(#73ffe6,#fff0a5,#20815f);filter:drop-shadow(0 0 7px #1cffb2);animation:v26-bolt 3s linear both}
.victory26-ripple{position:absolute;inset:25%;border:2px solid #c6a765;border-radius:50%;animation:v26-ripple 3s ease both}
.victory26-orbit{position:absolute;left:5%;right:5%;top:calc(38% + var(--i)*12%);height:22%;border:2px solid #e2c77b;border-radius:50%;box-shadow:0 0 8px #c6a765;animation:v26-orbit 3s linear both;transform:rotate(calc(-16deg + var(--i)*32deg))}
.victory26-column{position:absolute;width:5%;top:10%;bottom:0;background:repeating-linear-gradient(90deg,#6c4914,#f9dc92 35%,#8b5c20 70%);border-block:7px double #c6a765;animation:v26-column 3s ease both}.victory26-column.left{left:3%}.victory26-column.right{right:3%}
.stack-piece{inset:9% 14% 9%;transform:translateY(calc(24% - var(--i)*10%)) scale(.66);animation:v26-stack 3s calc(var(--i)*45ms) ease both}.stack-piece:last-of-type{filter:drop-shadow(0 0 4px #d4b775)}
.tier-5 .subject,.victory26-machinery{animation:v26-train 3s linear both}.victory26-machinery{position:absolute;left:26%;right:20%;top:65%;height:17%}.victory26-wheel{position:absolute;left:calc(var(--i)*28%);top:0;width:25%;aspect-ratio:1;border:3px solid #e2bb64;border-radius:50%;background:repeating-conic-gradient(#121820 0deg 36deg,#c6a765 36deg 43deg);animation:v26-wheel .45s linear infinite}.victory26-rod{position:absolute;left:7%;right:21%;top:54%;height:4px;background:#edce80;animation:v26-rod .45s linear infinite}.victory26-steam{position:absolute;left:60%;top:32%;width:20%;aspect-ratio:1;border-radius:50%;background:radial-gradient(#f2e4ca88,transparent 70%);animation:v26-steam 1.3s calc(var(--i)*220ms) ease both}
.tier-6 .subject{animation:v26-cannon 3s ease both}.victory26-salute{position:absolute;left:68%;top:8%;width:40%;height:35%;background:conic-gradient(from 220deg at 0 100%,transparent,#f8d77a,#35bd85,transparent 65deg);clip-path:polygon(0 100%,30% 0,55% 29%,100% 0,75% 65%,100% 90%);animation:v26-salute 3s ease both}
@keyframes v26-life{0%{opacity:0}12%,85%{opacity:1}100%{opacity:0}}
@keyframes v26-emerge{0%{transform:translateY(25px) scale(.8);opacity:0}35%,85%{transform:translateY(0) scale(1);opacity:1}100%{opacity:0}}
@keyframes v26-glow{0%,100%{opacity:0;transform:scale(.7)}40%,80%{opacity:1;transform:scale(1.15)}}
@keyframes v26-number{0%{opacity:0;transform:translateY(5px)}12%,85%{opacity:1;transform:translateY(0)}100%{opacity:0}}
@keyframes v26-particle{0%{opacity:0;transform:rotate(var(--angle)) translateX(0)}25%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(var(--distance)) rotate(90deg)}}
@keyframes v26-bolt{0%,14%{opacity:0;transform:scaleY(.2)}18%,30%{opacity:1;transform:scaleY(1)}45%,100%{opacity:0}}
@keyframes v26-ripple{0%,32%{opacity:0;transform:scale(.1)}38%{opacity:.8}80%,100%{opacity:0;transform:scale(2)}}
@keyframes v26-orbit{0%,27%{opacity:0;clip-path:inset(0 100% 0 0)}60%,80%{opacity:1;clip-path:inset(0)}100%{opacity:0;clip-path:inset(0)}}
@keyframes v26-column{0%{opacity:0;transform:translateY(20px)}40%,80%{opacity:.8;transform:translateY(0)}100%{opacity:0}}
@keyframes v26-stack{0%{opacity:0;translate:0 -65px}35%,80%{opacity:1;translate:0 0}100%{opacity:0;translate:0 0}}
@keyframes v26-train{0%{opacity:0;translate:-30% 0}25%{opacity:1}80%{opacity:1}100%{opacity:0;translate:28% 0}}
@keyframes v26-wheel{to{rotate:360deg}}@keyframes v26-rod{50%{translate:0 -4px}}@keyframes v26-steam{0%{opacity:0;scale:.4}30%{opacity:.55}100%{opacity:0;scale:1.6;translate:-45px -50px}}
@keyframes v26-cannon{0%{opacity:0;translate:0 15px}25%,34%{opacity:1;translate:0 0}44%{translate:-12px 5px}64%,82%{opacity:1;translate:0 0}100%{opacity:0}}
@keyframes v26-salute{0%,34%{opacity:0;scale:.1;transform-origin:0 100%}45%{opacity:.9;scale:1}75%,100%{opacity:0;scale:1.3}}
#victory26[data-reduced=true] *{animation:none!important}#victory26[data-reduced=true] .victory26-label,#victory26[data-reduced=true] .subject{opacity:1!important}#victory26[data-reduced=true] .victory26-bolt,#victory26[data-reduced=true] .victory26-particle,#victory26[data-reduced=true] .victory26-salute,#victory26[data-reduced=true] .victory26-steam,#victory26[data-reduced=true] .victory26-machinery{display:none}
#preaction26{font:13px system-ui,sans-serif;max-width:100%;padding:4px 8px;border:1px solid var(--palette-line,#65796c);border-radius:8px}#preaction26[hidden]{display:none}#preaction26 summary{cursor:pointer}#preaction26 .button{font-size:13px;padding:7px;min-height:36px}#preaction26 p{margin:4px 0}.stats26-scroll{overflow:auto}#named-player-statistics table{width:100%;border-collapse:collapse}#named-player-statistics th,#named-player-statistics td{padding:8px;text-align:left;border-bottom:1px solid var(--palette-line,#65796c);white-space:nowrap}
@media(max-height:500px){#victory26{width:280px;height:90dvh}.victory26-label strong{font-size:30px}}

/* Final specificity keeps unused roster accounts off the felt. */
.player-ux .felt #opponents .seat.ux-empty{display:none!important}

.player-ux #preaction26{order:4;flex-shrink:0;max-height:190px;overflow:auto}.player-ux #preaction26 .amount-controls{display:flex;flex-wrap:wrap;gap:4px}.player-ux #preaction26 .button{min-height:44px}.player-ux #preaction26 input{width:90px;font-size:18px;min-height:44px}
#connection27{font:12px system-ui;padding:3px 8px;min-height:20px;color:var(--ink);background:var(--palette-surface,#fff)}.audit-turn-warning{position:sticky;top:0;z-index:5;padding:8px;border:2px solid #d99c00;background:#fff3ba;color:#171717;display:flex;gap:8px;align-items:center}.audit-turn-warning[hidden]{display:none!important}#audit-help,#audit-lobby,#feedback27{max-height:90dvh;overflow:auto;padding:16px;font:16px system-ui;line-height:1.5}#audit-help .button,#audit-lobby .button,#feedback27 .button{min-height:44px;margin:3px}#feedback27 textarea{width:100%;min-height:120px}#connection27:empty{display:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{scroll-behavior:auto!important}}

#rabbit-overlay27{position:fixed;top:15%;left:50%;transform:translateX(-50%);z-index:35;padding:14px;border-radius:14px;background:color-mix(in srgb,var(--palette-surface,#fff) 72%,transparent);color:var(--ink);max-width:96vw;pointer-events:none!important;animation:rabbit-life27 8s forwards}#rabbit-overlay27 *{pointer-events:none!important}#rabbit-overlay27[hidden]{display:none!important}#rabbit-overlay27 strong,#rabbit-overlay27 small{display:block;text-align:center}.rabbit-cards{display:flex;justify-content:center;gap:5px}@keyframes rabbit-life27{0%,95%{opacity:1}100%{opacity:0;visibility:hidden}}
#pot-details27,#report27{padding:16px;max-height:90dvh;overflow:auto;font:16px system-ui;line-height:1.5}#pot-details27 .button,#report27 .button{min-height:44px}#report27 textarea{width:100%;min-height:120px}.player-ux #opponents .action-lines{font-size:clamp(12px,1.4vw,18px);line-height:1.15}.player-ux #opponents .seat-state{font-size:clamp(12px,1.4vw,18px)!important}
.player-ux .action-area>#ux-wager-preview{order:3;display:block!important;width:100%;min-height:28px;max-height:42px;font-size:13px;line-height:15px;text-align:center;padding:2px;white-space:normal;overflow:auto;flex-shrink:0}.player-ux .raise-field .batch-wager-range{display:none!important}

.player-ux.waiting-preaction .action-buttons{display:none!important}.player-ux.waiting-preaction #preaction26{order:4;max-height:210px}.player-ux.waiting-preaction #preaction26 .button{font-size:12px;padding:4px 7px}
.player-ux{--ux-connection:22px}.player-ux #connection27{height:22px;min-height:22px;box-sizing:border-box;line-height:18px;padding:2px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-ux[data-page=tables] main{height:calc(100dvh - 44px - var(--ux-tools) - var(--ux-tabs) - var(--ux-connection))}

.player-ux #connection27.attention{height:44px;min-height:44px;white-space:normal;background:#fff3ba;color:#171717}

#interface-update27{position:fixed;inset:12px 12px auto;z-index:10001;font:16px system-ui;padding:18px}#interface-update27 button{min-height:44px}

/* Audit batch: protect reading and touch space before decorative detail. */
.player-ux.audit-layout28{--ux-tools:0px}
.player-ux.audit-layout28 .ux-quick{display:none!important}
.player-ux.audit-layout28 .mobile-bar{display:flex!important;gap:4px;padding:0 6px;position:relative}
.player-ux.audit-layout28 .mobile-bar #mobile-table{flex:1;min-width:80px;max-width:none;width:100px}
.player-ux.audit-layout28 .mobile-bar #mobile-player{max-width:65px;overflow:hidden;text-overflow:ellipsis}
.player-ux.audit-layout28 .mobile-bar button{position:static!important;min-width:44px;min-height:44px;flex:none;font-size:14px!important;padding:4px 7px}
.player-ux.audit-layout28 .mobile-bar #ux-pause{background:#eed26a;color:#151515}
.player-ux.audit-layout28 #preaction26{max-height:none!important;overflow:visible!important;padding:4px;flex-shrink:0}
.player-ux.audit-layout28 #preaction26 summary{font-size:12px;line-height:16px}
.player-ux.audit-layout28 #preaction26 .amount-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
.player-ux.audit-layout28 #preaction26 .button{font-size:12px;padding:3px;min-height:44px;min-width:0;white-space:normal}
.player-ux.audit-layout28 #preaction26 #ahead-cancel{grid-column:1/-1;min-height:30px}
.player-ux.audit-layout28 #preaction26 [hidden]{display:none!important}
.player-ux.audit-layout28 #preaction26 input{width:100%;min-width:0;box-sizing:border-box;grid-column:1/3}
.player-ux.audit-layout28 #preaction26 p{font-size:12px;line-height:16px;margin:2px}
.player-ux.audit-layout28 .felt #opponents{gap:4px!important}
.player-ux.audit-layout28 .felt #opponents .seat{min-height:62px!important;grid-template-columns:1fr!important;grid-template-rows:22px 36px!important;padding:1px 3px!important}
.player-ux.audit-layout28 .felt #opponents .seat-name{grid-column:1!important;grid-row:1!important;font-size:16px!important;line-height:22px!important;padding:0!important;justify-content:center}
.player-ux.audit-layout28 .felt #opponents .seat-name strong{font-size:16px!important}
.player-ux.audit-layout28 .felt #opponents .action-lines{grid-column:1!important;grid-row:2!important;font-size:14px!important;line-height:18px!important;padding:0!important;overflow:visible!important}
.player-ux.audit-layout28 .felt #opponents .seat-state,.player-ux.audit-layout28 .felt #opponents .previous-action{font-size:14px!important;line-height:18px!important}
.player-ux.audit-layout28 .felt #opponents .mini-backs,.player-ux.audit-layout28 .felt #opponents .player-chip-stack{display:none!important}
.player-ux.audit-layout28 .felt #opponents .seat-wager{position:absolute;right:0;bottom:0;font-size:12px!important;background:var(--palette-surface,#173d30)}
.player-ux.audit-layout28 .past-winner28{box-shadow:none!important;outline:none!important}
#between-state28{font-size:15px;text-align:center;line-height:20px}#between-state28[hidden]{display:none}
.funding-choices28{display:flex;gap:6px;flex-wrap:wrap}.funding-choices28 button{min-height:44px}
@media(min-width:1000px){.player-ux.audit-layout28 .felt #opponents .seat-name,.player-ux.audit-layout28 .felt #opponents .seat-name strong{font-size:20px!important}.player-ux.audit-layout28 .felt #opponents .action-lines{font-size:16px!important}}
.player-ux.audit-layout28 #preaction26>.amount-controls:first-of-type{grid-template-columns:repeat(5,minmax(0,1fr))}
.player-ux.audit-layout28 #preaction26 #ahead-cancel{grid-column:auto;min-height:44px;order:5}
.player-ux.audit-layout28 #preaction26 #ahead-edit28{order:4}
.player-ux.audit-layout28 #preaction26>.amount-controls:nth-of-type(2){grid-template-columns:repeat(6,minmax(0,1fr))}
.player-ux.audit-layout28 #preaction26 input{grid-column:auto/span 2}
.player-ux.audit-layout28 #ahead-amount,.player-ux.audit-layout28 #ahead-relative28,.player-ux.audit-layout28 #ahead-call{grid-column:span 2}
.player-ux.audit-layout28 .felt #opponents .seat-name strong{margin-left:6px!important}
.player-ux.audit-layout28 .felt #opponents .acting28{outline:2px solid #ffdc69!important;background:color-mix(in srgb,var(--palette-surface,#173d30) 75%,#d2ae36)}
.player-ux.audit-layout28 .felt #opponents .last-to-act:not(.acting28){outline:none!important;box-shadow:none!important}
.player-ux.audit-layout28.waiting-preaction #preaction26{margin:2px 0 0!important}
.player-ux.audit-layout28.waiting-preaction #ux-wager-preview{display:none!important}
.player-ux.audit-layout28.waiting-preaction .turn-line{min-height:36px!important;height:36px!important;max-height:36px;flex-shrink:0}
.player-ux.audit-layout28.waiting-preaction #turn-timer{font-size:20px!important;line-height:24px!important}
.player-ux.audit-layout28.waiting-preaction #turn-label{font-size:13px!important;line-height:15px!important}
.player-ux.audit-layout28 .felt #opponents .seat:has(.mini-backs .card){min-height:100px!important;grid-template-rows:22px 36px 40px!important}
.player-ux.audit-layout28 .felt #opponents .mini-backs:has(.card){display:flex!important;grid-row:3!important;grid-column:1!important;position:static!important;justify-content:center;align-items:center;gap:2px;overflow:visible}
.player-ux.audit-layout28 .felt #opponents .mini-backs .card{width:25px!important;height:35px!important;font-size:17px!important}
@media(min-width:601px) and (max-height:600px){.player-ux.audit-layout28 .felt #opponents{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){.player-ux.audit-layout28 .mobile-bar #mobile-player{display:none!important}}
@media(min-width:601px) and (max-height:600px){
 .player-ux.audit-layout28 #tables-page .game-panel{grid-template-rows:0 minmax(0,1fr)!important}
 .player-ux.audit-layout28 .game-panel>.panel-heading{display:none!important}
 .player-ux.audit-layout28.waiting-preaction #preaction26 summary{display:none}
 .player-ux.audit-layout28.waiting-preaction .action-contribution,.player-ux.audit-layout28.waiting-preaction .action-contribution .stat-row{min-height:30px!important;height:30px!important}
 .player-ux.audit-layout28.waiting-preaction .ux-hand-summary{min-height:20px!important;height:20px!important}
}
@media(min-width:601px) and (max-height:600px){
 .player-ux.audit-layout28{--ux-tabs:44px!important}
 .player-ux.audit-layout28 .ux-table-tabs{height:44px!important;min-height:44px!important;overflow:hidden;padding:0 4px!important}
 .player-ux.audit-layout28 .ux-table-tabs button{height:44px!important;min-height:44px!important;padding:2px 4px!important}
 .player-ux.audit-layout28 .ux-table-tabs button span{display:none!important}
 .player-ux.audit-layout28 .felt #opponents{height:var(--opponent-block-height)!important;max-height:none!important;grid-template-rows:var(--opponent-tracks)!important}
 .player-ux.audit-layout28 .felt{grid-template-rows:var(--opponent-block-height) minmax(16px,1fr) 50px 20px 22px!important}
 .player-ux.audit-layout28.waiting-preaction .action-area{gap:0!important;padding:0 4px!important}
 .player-ux.audit-layout28.waiting-preaction #preaction26{padding:2px!important;margin:0!important}
 .player-ux.audit-layout28.waiting-preaction #preaction26 p{font-size:11px;line-height:12px}
 .player-ux.audit-layout28.waiting-preaction .ux-hand-summary{min-height:16px!important;height:16px!important}
 .player-ux.audit-layout28.waiting-preaction .turn-line{height:32px!important;min-height:32px!important}
}
@media(min-width:601px) and (max-height:600px){.player-ux.audit-layout28 #tables-page .felt{grid-template-rows:var(--opponent-block-height) minmax(22px,1fr) 50px 20px 22px!important}}

/* Only the explicit skip target intercepts a tap; gameplay remains accessible. */
#victory26 #victory26-skip{pointer-events:auto!important;position:absolute;right:8px;top:8px;min-width:100px;min-height:44px;border:2px solid #e9cb86;border-radius:8px;background:#10291f;color:#fff4cd;font-weight:700;z-index:5;cursor:pointer}


/* adaptive-layout.css */
/* Final layout authority: explicit card geometry, bounded controls, count-based seats. */
.player-ux.adaptive-layout #tables-page .felt{grid-template-rows:var(--adaptive-opponents,150px) calc(var(--adaptive-board,52px)*1.38 + 20px) calc(var(--adaptive-hole,40px)*1.38 + 4px) 18px 20px!important;gap:2px!important}
body.player-ux.adaptive-layout #tables-page .felt #opponents{grid-template-columns:repeat(var(--adaptive-columns,2),minmax(0,1fr))!important;grid-auto-rows:var(--adaptive-seat,50px)!important;grid-template-rows:none!important;height:var(--adaptive-opponents)!important;padding:0!important;gap:4px!important}
body.player-ux.adaptive-layout #tables-page .felt #opponents .seat{min-height:0!important;height:var(--adaptive-seat)!important;grid-template:18px minmax(0,1fr) / minmax(0,1fr)!important;padding:0 2px!important;gap:0!important;align-content:center!important}
body.player-ux.adaptive-layout #tables-page .felt #opponents .seat-name,body.player-ux.adaptive-layout #tables-page .felt #opponents .seat-name strong{font-size:clamp(13px,3.8vw,20px)!important;line-height:18px!important}
body.player-ux.adaptive-layout #tables-page .felt #opponents .action-lines{font-size:12px!important;line-height:13px!important;overflow:hidden!important;align-self:start!important}
body.player-ux.adaptive-layout #tables-page .felt #opponents .mini-backs:has(.card){position:absolute!important;right:0;bottom:0;left:auto;top:auto;max-width:58%;display:flex!important;gap:1px!important;pointer-events:none}
body.player-ux.adaptive-layout #tables-page .felt #opponents .mini-backs .card{width:18px!important;height:25px!important;font-size:12px!important;margin:0!important;padding:1px!important}
body.player-ux.adaptive-layout #tables-page .felt #opponents .seat:has(.mini-backs .card) .action-lines{padding-right:45%!important;font-size:10px!important;line-height:12px!important}
.player-ux.adaptive-layout .felt .board-zone,.player-ux.adaptive-layout .felt .hero-seat{container-type:normal!important;overflow:visible!important;min-height:0!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;height:100%!important}
.player-ux.adaptive-layout .felt .board-zone{position:relative;padding-top:18px!important}
.player-ux.adaptive-layout .notes-pot{position:absolute;top:0;left:0;right:0;justify-content:center;height:18px!important;min-height:18px!important}
body.player-ux.adaptive-layout #tables-page .felt #board .card{width:var(--adaptive-board,52px)!important;height:calc(var(--adaptive-board,52px)*1.38)!important;min-height:0!important;aspect-ratio:auto!important;font-size:calc(var(--adaptive-board,52px)*.38)!important;padding:2px!important}
body.player-ux.adaptive-layout #tables-page .felt .hero-seat #hole .card{width:var(--adaptive-hole,44px)!important;height:calc(var(--adaptive-hole,44px)*1.38)!important;min-height:0!important;aspect-ratio:auto!important;font-size:calc(var(--adaptive-hole,44px)*.38)!important;padding:2px!important}
body.player-ux.adaptive-layout #tables-page .felt #board .card .suit,.player-ux.adaptive-layout .felt #hole .card .suit{font-size:inherit!important}
.player-ux.adaptive-layout .felt .hero-seat{flex-direction:row!important;position:relative}
.player-ux.adaptive-layout .hero-name{position:absolute!important;right:0;top:auto!important;font-size:11px!important;max-width:50px!important}
.player-ux.adaptive-layout .hero-name strong{font-size:14px!important}
.player-ux.adaptive-layout #winner-notifications{max-height:120px;overflow:auto;pointer-events:none}
.player-ux.adaptive-layout #winner-notifications .winner-notice{font-size:14px!important;line-height:18px;padding:6px!important}
.player-ux.adaptive-layout #winner-notifications .winner-notice strong{font-size:14px!important}
.player-ux.adaptive-layout #tournament-table-status .button{white-space:normal!important;min-width:0;flex:1;font-size:12px!important;line-height:15px}
@media(max-width:600px) and (min-height:601px){
 .player-ux.adaptive-layout #tables-page .game-panel{grid-template-rows:0 minmax(230px,1fr) 0 292px!important}
 .player-ux.adaptive-layout .game-panel>.action-area{height:292px!important;max-height:292px!important;overflow-y:auto!important;overflow-x:hidden!important;gap:2px!important;padding:2px 5px!important}
 .player-ux.adaptive-layout .action-area .turn-line{min-height:36px!important;height:36px!important;flex-shrink:0}
 .player-ux.adaptive-layout .action-contribution,.player-ux.adaptive-layout .action-contribution .stat-row{min-height:36px!important;height:36px!important}
 .player-ux.adaptive-layout .action-contribution .stat-row span{font-size:10px!important;line-height:11px}
 .player-ux.adaptive-layout .action-contribution strong{font-size:17px!important}
 .player-ux.adaptive-layout #tournament-table-status{max-height:none!important;flex-shrink:0}
 .player-ux.adaptive-layout #tournament-table-status>div{display:flex;gap:3px}
 .player-ux.adaptive-layout .ux-hand-summary{min-height:23px!important}
 .player-ux.adaptive-layout #ux-wager-preview{min-height:18px!important;max-height:22px!important;font-size:11px!important;line-height:12px}
 .player-ux.adaptive-layout #preaction26{margin:0!important}
 .player-ux.adaptive-layout .ux-feedback:empty{display:none}
 .player-ux.adaptive-layout .ux-table-tabs{height:44px!important;min-height:44px!important}
 .player-ux.adaptive-layout .ux-table-tabs .button{min-height:42px!important;flex-basis:120px!important}
 .player-ux.adaptive-layout{--ux-tabs:44px!important}
 .player-ux.adaptive-layout #bet-controls .bet-preset{font-size:13px!important}
}

@media(min-width:601px) and (max-height:600px){
 body.player-ux.adaptive-layout #tables-page .game-panel{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(350px,1fr)!important;grid-template-rows:minmax(0,1fr)!important}
 body.player-ux.adaptive-layout #tables-page .felt{grid-row:1!important;grid-column:1!important;height:100%!important;margin:0 3px!important}
 body.player-ux.adaptive-layout #tables-page .game-panel>.action-area{grid-row:1!important;grid-column:2!important;height:100%!important;overflow:auto!important;padding:1px 4px!important;gap:1px!important}
 body.player-ux.adaptive-layout #tables-page .panel-heading,body.player-ux.adaptive-layout #movement-announcement{display:none!important}
 body.player-ux.adaptive-layout .action-area .action-buttons{display:flex!important;flex-direction:column!important;gap:2px}
 body.player-ux.adaptive-layout .raise-field{display:grid!important;grid-template:44px / 78px minmax(0,1fr)!important;height:44px!important;max-height:44px!important}
 body.player-ux.adaptive-layout .raise-field>span{display:none}
 body.player-ux.adaptive-layout .raise-field input{grid-column:1!important;grid-row:1!important;width:78px!important}
 body.player-ux.adaptive-layout .raise-field .ux-bet-modes{grid-column:2;grid-row:1;display:grid;grid-template-columns:1fr 1fr}
 body.player-ux.adaptive-layout #bet-controls{grid-template-columns:repeat(7,minmax(0,1fr))!important}
 body.player-ux.adaptive-layout #bet-controls[data-preset-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.player-ux.adaptive-layout #bet-controls[data-preset-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.player-ux.adaptive-layout #bet-controls .bet-preset{font-size:11px!important}
 body.player-ux.adaptive-layout .action-contribution,body.player-ux.adaptive-layout .action-contribution .stat-row{min-height:32px!important;height:32px!important}
 body.player-ux.adaptive-layout .turn-line{min-height:32px!important;height:32px!important}
 body.player-ux.adaptive-layout .ux-feedback:empty{display:none}
}
body.player-ux.adaptive-layout #ux-wager-preview{min-height:18px!important;max-height:22px!important;font-size:11px!important;line-height:12px!important}

/* Player actions are a protected viewport dock, never below scrolling content. */
@media(max-width:600px){
 body.player-ux.adaptive-layout[data-page=tables] main{height:calc(var(--adaptive-visible-height,100dvh) - 44px - var(--ux-tools) - var(--ux-tabs) - var(--ux-connection))!important}
 body.player-ux.adaptive-layout[data-page=tables] .fixed-actions{position:fixed!important;left:5px;right:5px;bottom:calc(var(--adaptive-bottom,0px) + env(safe-area-inset-bottom,0px) + 3px);z-index:25;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:var(--palette-base,#133c30);padding:3px 0}
 body.player-ux.adaptive-layout[data-page=tables] .fixed-actions .button{height:48px!important;min-height:48px!important;font-size:18px!important;touch-action:manipulation}
 body.player-ux.adaptive-layout #tables-page .game-panel>.action-area{padding-bottom:calc(57px + env(safe-area-inset-bottom,0px))!important;scroll-padding-bottom:57px}
 body.player-ux.adaptive-layout #tables-page .game-panel{grid-template-rows:0 minmax(200px,1fr) 0 292px!important}
 body.player-ux.adaptive-layout .fixed-actions:has(button:focus-visible){outline:2px solid #fff}
}

@media(max-width:600px){
 body.player-ux.adaptive-layout #tables-page .felt[data-columns="3"] #opponents .seat-name,
 body.player-ux.adaptive-layout #tables-page .felt[data-columns="3"] #opponents .seat-name strong{font-size:14px!important}
 body.player-ux.adaptive-layout #tables-page .felt[data-columns="3"] #opponents .action-lines{font-size:11px!important;line-height:13px!important}
}
body.player-ux.adaptive-layout #tables-page .felt #opponents .last-actor-marker{position:absolute!important;grid-column:auto!important;right:0;top:auto!important;bottom:0;font-size:8px!important;line-height:10px!important;max-width:60px;pointer-events:none}

#cash-back{min-height:44px;font-weight:800;white-space:normal}
@media(max-width:600px){body.cash-controls #mobile-player{display:none}body.cash-controls .mobile-bar select{min-width:70px}#cash-leave{min-width:44px;font-size:12px;padding:4px 6px}}


/* batch-a.css */
.batch-a-back{display:block!important;width:100%!important;min-height:44px!important;margin:8px 0!important}.batch-a-tp-bots{border:1px solid var(--line);border-radius:10px;padding:10px;margin:10px 0}.batch-a-tp-bots label{display:flex;gap:10px;align-items:center;min-height:44px}.batch-a-tp-bots input[type=checkbox]{width:22px;height:22px}#batch-a-tour{width:min(640px,96vw);max-height:94dvh;overflow:auto}#batch-a-tour p{line-height:1.5}#batch-a-tour button{min-height:44px;white-space:normal}#batch-a-tour progress{width:100%;height:16px}.batch-a-tour-nav{display:flex;gap:10px;margin:12px 0}.batch-a-tour-nav button{flex:1}#batch-a-welcome-notice button{margin:4px}

/* banker-tables.css */
.bank-disclosure{border:1px solid var(--line,#a8aaa8);border-radius:12px;padding:12px;margin:12px 0;min-width:0}.bank-disclosure>summary,.bank-table-row>summary,.bank-table-section>summary{cursor:pointer;font-weight:700;min-height:44px;display:list-item;padding:12px 8px;overflow-wrap:anywhere}.bank-table-toolbar,.bank-table-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.bank-table-toolbar>*{flex:1 1 160px;min-width:0}.bank-table-row{border-top:1px solid var(--line,#a8aaa8);padding:8px 0}.bank-table-section{margin:6px 0;padding:0 8px;border:1px solid var(--line,#a8aaa8);border-radius:8px}.bank-table-section p{overflow-wrap:anywhere}.bank-table-actions button{min-height:48px;flex:1 1 150px;white-space:normal}.bank-disclosure .wallet-grid{max-width:100%}#banker-host-top{width:100%;min-height:48px;margin-bottom:12px}
.bank-table-toolbar button,.bank-table-toolbar input,.bank-table-toolbar select{min-height:48px}
.bank-funding-field{border-top:1px solid var(--line,#a8aaa8);padding:12px 0;display:flex;flex-wrap:wrap;gap:10px;align-items:end}.bank-funding-field label{flex:1 1 170px;min-width:0}.bank-funding-field input,.bank-funding-field select{min-height:48px;width:100%;box-sizing:border-box}.bank-funding-field button{min-height:48px;white-space:normal;flex:1 1 170px}.bank-funding-field p{flex-basis:100%}
[id^="blind-save-both-"]{min-height:48px;width:100%;white-space:normal}

.ux-menu-tabs[hidden]{display:none!important}.ux-menu-group>summary{cursor:pointer;font-weight:700;min-height:48px;padding:14px 10px;box-sizing:border-box}.ux-menu-group{border:1px solid var(--line,#a8aaa8);border-radius:10px;margin:10px 0;padding:8px}.ux-menu-group[hidden]{display:none!important}


/* pilot-features.css */
#learn-dialog{max-width:min(94vw,760px);max-height:88dvh;overflow:auto;padding:1rem}#learn-dialog button,#learn-dialog select,#learn-dialog input{min-height:44px;margin:.25rem;max-width:100%}#learn-dialog input[type=search]{width:95%}#learn-dialog p{line-height:1.5;overflow-wrap:anywhere}#learn-dialog details{border:1px solid var(--border,#aaa);padding:.6rem;margin:.4rem 0}#learn-dialog summary{min-height:36px;cursor:pointer}.lesson-cards{display:flex;flex-wrap:wrap;gap:.8rem}.lesson-card{display:inline-block;border:1px solid currentColor;border-radius:5px;padding:.5rem;margin:.15rem;font-size:1.15rem;font-weight:700}.pilot-badges{display:inline-flex;flex-wrap:wrap;font-size:.65em;gap:.2em;max-width:100%}.pilot-prompt{padding:.4rem}.pilot-prompt button{min-height:44px}#pilot-report-load{min-height:44px}.pilot-prompt[hidden]{display:none!important}


/* notes95.css */
#fund-sit95{min-height:48px;width:100%;font-weight:800;margin:.35rem 0}#banker-menu95,#open-cash95{min-height:44px}.favorite-hint95{padding:.4rem;font-size:.85rem}.favorite-hint95 button{min-height:44px}.default-favorite95{border-top:1px solid var(--border,#888);padding:.6rem 0}#minimum-raise95{font-weight:800;min-height:44px}.portrait95{display:none}.poker-term95{color:inherit;text-decoration:underline dotted;text-underline-offset:.15em}#poker-dictionary95{max-width:min(94vw,650px);max-height:85dvh;overflow:auto;padding:1rem}#poker-dictionary95 input{width:100%;min-height:44px}#poker-dictionary95 p{line-height:1.5}.winner95{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,38%);gap:4px;box-sizing:border-box;overflow:hidden!important;min-height:0!important}.winner95-text{min-width:0;line-height:1.15;overflow:hidden}.winner95-text strong,.winner95-text small{font-size:inherit!important}.winner95-cards{display:grid;grid-template-rows:repeat(var(--winner-rows,1),minmax(0,1fr));min-width:0;min-height:0;overflow:hidden}.winner95-cards>div{display:flex;flex-direction:column;min-height:0;overflow:hidden;justify-content:center}.winner95-cards small{font-size:8px!important;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.winner95-cards span:has(>.card){display:flex;gap:1px;min-height:0;overflow:hidden}.winner95-cards .card{width:calc((100% - 4px)/5)!important;height:auto!important;aspect-ratio:5/7;min-width:0!important;min-height:0!important;max-height:40px;padding:1px!important;border-radius:3px;font-size:clamp(7px,2.3vw,12px)!important;box-shadow:none!important}.winner95-cards .card .suit{font-size:1em!important}.winning-card95{outline:3px solid #ffd647!important;outline-offset:2px;box-shadow:0 0 12px #ffdf58!important}.winner95-cards .winning-card95{outline:2px solid #f5ce35!important;outline-offset:-2px;box-shadow:inset 0 0 3px #f5ce35!important}
@media(hover:none) and (pointer:coarse) and (orientation:landscape){.portrait95{position:fixed;inset:0;z-index:2147483000;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:1rem;background:#111820;color:#fff;gap:1rem;font-size:1.3rem}}

.wait-tools95{display:grid;grid-template-columns:1fr 1fr;gap:4px}.wait-tools95[hidden]{display:none!important}.wait-tools95 button{min-height:44px;font-size:12px}.player-ux.audit-layout28 #preaction26>.amount-controls:first-of-type{grid-template-columns:repeat(3,minmax(0,1fr))}.player-ux.audit-layout28 #preaction26 #ahead-callany{min-height:44px;order:3}

.winner95{grid-template-rows:minmax(0,1fr)}.winner95-text{min-height:0}.winner95-text>span,.winner95-text>strong{display:block}.winner95-text>strong{font-weight:800}
/* Keep Menu reachable when Resume Table is the longest header action. */
@media(max-width:600px){
 body .mobile-bar #mobile-table{min-width:0!important;max-width:none;flex:1 1 0%;text-overflow:ellipsis}
 body .mobile-bar #ux-pause{width:44px;min-width:44px;flex:0 0 44px;padding:4px;font-size:0}
 body .mobile-bar #ux-pause::after{content:'Ⅱ';font-size:20px;font-weight:800}
 body .mobile-bar #ux-pause[aria-label^="Resume"]::after{content:'▶'}
 body .mobile-bar #cash-leave,body .mobile-bar #ux-chips{padding-left:4px;padding-right:4px;font-size:12px;min-width:44px}
}




#fund-sit95{background:#ffda45!important;color:#17251b!important;border:3px solid #fff5a0!important;box-shadow:0 0 0 2px #233a28;font-size:1.05rem}.pilot-prompt{border:3px solid #eebc26!important;background:#fff4cb!important;color:#202a20!important;font-weight:700}.pilot-prompt button{font-weight:800}.wait-tools95 button{height:26.4px!important;min-height:26.4px!important;padding:2px 6px!important;line-height:1.1}


/* hidden-dragon.css */
.dragon-status{grid-column:1/-1;text-align:center;padding:6px;border:2px solid var(--accent,#ddbe57);border-radius:10px;background:var(--palette-surface,#172d25);color:var(--text,#fff);pointer-events:none;max-height:100px;overflow:auto}.dragon-status[hidden]{display:none!important}.dragon-status strong{display:block;font-size:clamp(16px,4vw,24px)}.dragon-status small{display:block;font-size:12px}.dragon-status p{display:inline-block;font-size:12px;margin:2px 6px}.dragon-mystery{background:repeating-linear-gradient(45deg,#102c29,#102c29 5px,#24504a 5px,#24504a 10px)!important;color:#f5dfa3!important;display:flex;align-items:center;justify-content:center;flex-direction:column}.dragon-mystery span{font-size:1em}.dragon-mystery small{font-size:clamp(7px,2vw,12px)}.dragon-authorized{outline:2px solid var(--accent,#dabe60);outline-offset:1px}.dragon-reveal-glyph{display:block;position:absolute;font-size:48px;inset-inline-start:45%;animation:dragon-reveal .8s ease-out both;pointer-events:none}@keyframes dragon-reveal{0%{transform:scale(.5);opacity:0}35%{transform:scale(1.4);opacity:1}100%{transform:scale(1.7);opacity:0}}@media(prefers-reduced-motion:reduce){.dragon-reveal-glyph{animation:none;display:none}}html[data-motion="reduced"] .dragon-reveal-glyph{display:none}
body.player-ux.adaptive-layout #tables-page .felt #opponents .mini-backs:has(.dragon-mystery){position:absolute!important;right:0;bottom:0;left:auto;top:auto;max-width:58%;display:flex!important;gap:1px!important;pointer-events:none}body.player-ux.adaptive-layout #tables-page .felt #opponents .mini-backs:has(.dragon-mystery) .card-back{width:18px!important;height:25px!important;font-size:14px!important;padding:0}body.player-ux.adaptive-layout #tables-page .felt #opponents .seat:has(.dragon-mystery) .action-lines{padding-right:45%!important}.physical-button-note{display:block;font-size:12px}

.dragon-current-leader{outline:3px solid #ffda45!important;outline-offset:-3px;background-color:color-mix(in srgb,#ffda45 18%,transparent)!important}.dragon-leader-label{display:block;background:#ffda45;color:#17251b;font-size:clamp(9px,2vw,13px);line-height:1.15;padding:2px;position:relative;z-index:3}.dragon-center{position:absolute;inset:3% 3%;z-index:25;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;pointer-events:none!important;overflow:hidden;color:var(--ink,#142b23)}.dragon-center *{pointer-events:none!important}.dragon-center[hidden]{display:none!important}.dragon-center-back{width:min(58%,230px);aspect-ratio:5/7;background:repeating-linear-gradient(45deg,#102c29,#102c29 9px,#24504a 9px,#24504a 18px);color:#ffe5a2;border:3px solid #ffe5a2;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;box-shadow:0 5px 24px #0008;animation:dragon-materialize .25s ease-out}.dragon-center-back>span{font-size:clamp(34px,13vw,70px)}.dragon-center-back small{font-size:11px;padding:4px}.dragon-feature-card{flex:1 1 55%;min-height:0;max-height:none;max-width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;filter:drop-shadow(0 4px 10px #0008)}.dragon-feature-card>.card{height:min(calc(100% - 22px),calc(94cqw * 1.4))!important;max-height:100%!important;width:auto!important;min-width:0!important;min-height:0!important;aspect-ratio:5/7;font-size:clamp(32px,14cqw,100px)!important;border:3px solid #ffe5a2}.dragon-feature-card>strong{background:#fff3ca;color:#142b23;padding:2px 9px;line-height:18px;max-width:100%;font-size:14px;white-space:nowrap}.dragon-center[data-stage="animation"] .dragon-feature-card{animation:dragon-feature-travel 2s cubic-bezier(.2,.7,.2,1) both}.dragon-pot-results{flex:0 1 auto;width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(110px,100%),1fr));gap:3px;min-height:0;font-size:clamp(10px,2.4cqw,13px);line-height:1.15;align-content:center}.dragon-pot-group{background:#fff4d9;color:#162d24;border:1px solid #d9b84c;border-radius:4px;padding:3px;display:flex;flex-wrap:wrap;justify-content:center;gap:2px 6px}.dragon-pot-group>strong{width:100%;text-align:center}.dragon-pot-group>span{display:inline-block;overflow-wrap:anywhere}.dragon-conventional-showdown #opponents .mini-backs{display:flex!important;gap:1px!important}.dragon-conventional-showdown #opponents .mini-backs>.card,.dragon-conventional-showdown #opponents .mini-backs>.card-back{width:18px!important;height:25px!important;min-width:0!important;min-height:0!important;padding:1px!important;font-size:12px!important}.dragon-center[data-stage="results"] .dragon-feature-card{animation:none}@keyframes dragon-materialize{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@keyframes dragon-feature-travel{0%{transform:translate(var(--dragon-from-x,0px),var(--dragon-from-y,0px)) scale(.12);opacity:.15}55%{opacity:1}80%{transform:translate(0,0) scale(1.04);opacity:.85}100%{transform:translate(0,0) scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.dragon-center-back,.dragon-center[data-stage="animation"] .dragon-feature-card{animation:none!important}}html[data-motion="reduced"] .dragon-center-back,html[data-motion="reduced"] .dragon-center .dragon-feature-card{animation:none!important}

.dragon-current-leader .dragon-leader-label{position:absolute!important;bottom:0;left:2px;right:2px;margin:0!important;font-size:9px!important;text-align:center;line-height:12px!important;z-index:5}.dragon-current-leader .last-actor-marker{display:none!important}

.dragon-center[data-stage="animation"] .dragon-pot-results{visibility:hidden}

.dragon-center-back{position:relative}.dragon-winner-intro{position:absolute;inset:0;display:grid;place-items:center;padding:8px;text-align:center;font-size:clamp(28px,8cqw,64px);font-weight:900;letter-spacing:.025em;line-height:1.05;color:#ffe5a2;text-shadow:0 3px 8px #000,0 0 20px #000}.dragon-center-back>span{opacity:.25}.dragon-center-back>small{position:absolute;bottom:4px;left:3px;right:3px}

.dragon-feature-card{position:relative}.dragon-feature-card>.dragon-final-identity{position:absolute;inset:20% -5% auto;z-index:8;display:block;box-sizing:border-box;padding:12px 8px;white-space:normal;overflow-wrap:anywhere;text-align:center;font-size:clamp(28px,9cqw,80px);line-height:1.1;font-weight:950;color:#fff3c4;background:rgba(12,20,16,.83);text-shadow:0 3px 5px #000;border:2px solid #e7c85d;border-radius:12px;max-width:110%;pointer-events:none}

/* One foreground phase: drama first; result evidence follows after it closes. */
body.dragon-drama-active .result-comparison,body.dragon-drama-active #winner-notifications,body.dragon-drama-active .pot-award-overlay,body.dragon-drama-active .winner-award{visibility:hidden!important;pointer-events:none!important}
body.dragon-drama-active .dragon-pot-results{display:none!important}
/* Winner identity gets its own row, outside the revealed card's rank/suit. */
.dragon-feature-card{display:flex!important;flex-direction:column!important;gap:8px!important;align-items:center!important;max-height:100%!important}
.dragon-feature-card>.card{flex:1 1 auto!important;min-height:0!important;position:relative!important}
.dragon-feature-card>.dragon-final-identity{position:static!important;inset:auto!important;max-width:100%!important;width:100%!important;flex:0 0 auto!important;padding:6px!important;font-size:clamp(18px,5cqw,38px)!important;line-height:1.1!important}
.dragon-feature-card>.card{display:flex!important;flex-direction:column!important;justify-content:space-between!important;align-items:flex-start!important;padding:8px!important}
.dragon-feature-card>.card>span{position:static!important;transform:none!important;line-height:1!important}
.dragon-feature-card>.card>.suit{align-self:flex-end!important;font-size:.7em!important}
.dragon-feature-card{flex:0 1 auto!important;height:auto!important}
.dragon-feature-card>.card:not(.dragon-center-back){background:rgb(255 254 247 / 62%)!important}
.dragon-feature-card>.card{flex:none!important;max-width:100%!important}
body.dragon-drama-active #showdown-choice{visibility:hidden!important;pointer-events:none!important}

body.dragon-drama-active #ux-showdown,body.dragon-drama-active #ux-showdown *{visibility:hidden!important;pointer-events:none!important}
 .dragon-personal-outcome {
  position: absolute;
  z-index: 10;
  left: 5%;
  right: 5%;
  top: 48%;
  text-align: center;
  font-weight: 950;
  font-size: clamp(24px, 11cqw, 64px);
  line-height: 1.1;
 }
 .dragon-loss {
  color: #bd101a;
  border: .09em solid currentColor;
  border-radius: .15em;
  padding: .12em;
  transform: rotate(-20deg);
  animation: dragon-stamp .3s ease-out both;
 }
 .dragon-win {
  color: #fff8cf;
  background: #144c31;
  border-radius: .2em;
  padding: .16em;
  animation: dragon-stamp .35s ease-out both;
 }
 .dragon-firework {
  position: absolute;
  top: -20%;
  left: 22%;
  color: #ffcf35;
 }
 .dragon-firework:nth-of-type(2) { left: 76%; color: #ff426c; }
 .dragon-firework:nth-of-type(3) { top: 110%; left: 50%; color: #36dfae; }
 .dragon-firework i {
  position: absolute;
  width: .14em;
  height: .14em;
  border-radius: 50%;
  background: currentColor;
  animation: dragon-spark .9s ease-out 3 both;
 }
 @keyframes dragon-stamp {
  from { scale: 1.5; opacity: 0; }
  to { scale: 1; opacity: 1; }
 }
 @keyframes dragon-spark {
  from { transform: rotate(var(--ray)) translateX(0); opacity: 1; }
  to { transform: rotate(var(--ray)) translateX(1.1em); opacity: 0; }
 }
 @media (prefers-reduced-motion: reduce) {
  .dragon-personal-outcome, .dragon-firework i { animation: none; }
  .dragon-firework { display: none; }
 }
 html[data-motion="reduced"] .dragon-personal-outcome { animation: none; }
 html[data-motion="reduced"] .dragon-firework { display: none; }


/* landscape-layout.css */
:root{--landscape-safe-left:env(safe-area-inset-left,0px);--landscape-safe-right:env(safe-area-inset-right,0px);--landscape-safe-bottom:env(safe-area-inset-bottom,0px)}
#landscape-settings{padding:.7rem;border:1px solid var(--border,#789);border-radius:10px}#landscape-settings label{display:grid;gap:4px;margin:.5rem 0}#landscape-settings summary,#landscape-settings button,#landscape-settings select{min-height:44px}#landscape-slider-label,#landscape-expand,#landscape-pots{display:none}#landscape-fallback[hidden]{display:none!important}#landscape-fallback{position:fixed;bottom:4px;left:5%;width:90%;max-height:42dvh;overflow:auto;background:#17252f;color:white;border:2px solid #ffc940;border-radius:10px;padding:8px;z-index:1500;font-size:14px}#landscape-fallback p{margin:4px}#landscape-fallback button{min-height:44px;margin:3px}body.landscape-managed .portrait95{display:none!important}
#landscape-intro,#landscape-opponent{max-width:min(92vw,600px);max-height:85dvh;overflow:auto;padding:18px;border:2px solid var(--palette-line,#678);border-radius:16px;background:var(--palette-surface,#182b24);color:var(--palette-text,#fff)}#landscape-intro button,#landscape-opponent button{min-height:44px;margin:4px}.landscape-tutorial-preview{padding:12px;border:1px dashed currentColor;border-radius:12px;font-size:14px}.landscape-tutorial-preview p{margin:6px}
body.landscape-active{height:var(--landscape-viewport-height,100dvh)!important;min-height:0!important;overflow:hidden!important;padding:0!important}
body.landscape-active .workspace{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-height:0!important}
body.landscape-active main{padding:0!important;margin:0!important;max-width:none!important}
body.landscape-active .sidebar,body.landscape-active .topbar,body.landscape-active .page-heading,body.landscape-active .right-rail,body.landscape-active #table-list,body.landscape-active .panel-heading,body.landscape-active #hand-status,body.landscape-active #tables-page>.helper,body.landscape-active .follow-control,body.landscape-active .ux-quick,body.landscape-active .ux-table-tabs{display:none!important}
body.landscape-active .mobile-bar{position:relative!important;top:0!important;height:44px!important;min-height:44px!important;display:flex!important;gap:4px!important;padding:0 max(6px,var(--landscape-safe-left))!important;margin:0!important;box-sizing:border-box!important;z-index:110!important}
body.landscape-active .mobile-bar button,body.landscape-active .mobile-bar select{min-height:44px!important;height:44px!important;font-size:14px!important;padding:3px 8px!important}
body.landscape-active .mobile-bar select{min-width:100px!important;max-width:35vw!important;flex:1!important}body.landscape-active #mobile-player{display:none!important}
body.landscape-active #connection27{height:28px!important;min-height:28px!important;margin:0!important;font-size:13px!important;line-height:24px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.landscape-active #tables-page,body.landscape-active .game-layout{display:block!important;margin:0!important;padding:0!important;height:var(--landscape-felt-height)!important}
body.landscape-active #tables-page .game-panel{display:block!important;position:relative!important;margin:0 var(--landscape-safe-right) 0 var(--landscape-safe-left)!important;padding:0!important;width:auto!important;height:var(--landscape-felt-height)!important;max-height:none!important;border:0!important;overflow:visible!important}
body.player-ux.landscape-active #tables-page .felt{position:relative!important;display:block!important;box-sizing:border-box!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:visible!important;container-type:normal!important;border-radius:20px!important}
body.player-ux.landscape-active #tables-page .felt #opponents{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;padding:0!important;pointer-events:none;overflow:visible!important}
body.player-ux.landscape-active #tables-page .felt #opponents .seat{position:absolute!important;left:var(--landscape-left)!important;top:var(--landscape-top)!important;width:var(--landscape-width)!important;height:var(--landscape-height)!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:1px!important;padding:3px!important;min-width:0!important;min-height:0!important;transform:none!important;pointer-events:auto;overflow:visible!important;cursor:pointer;border-radius:10px!important;background:color-mix(in srgb,var(--palette-surface,#123) 75%,transparent)!important;outline-offset:1px}
body.landscape-active #opponents .seat-name,body.landscape-active #opponents .seat-name strong{font-size:var(--landscape-font,13px)!important;line-height:16px!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.landscape-active #opponents .action-lines,body.landscape-active #opponents .seat-state,body.landscape-active #opponents .previous-action{font-size:var(--landscape-font,13px)!important;line-height:15px!important;margin:0!important;padding:0!important;text-align:center}
body.landscape-active #opponents .last-actor-marker{font-size:11px!important;position:absolute;left:0;bottom:0}
body.player-ux.landscape-active .felt #opponents .seat .mini-backs{display:flex!important;position:absolute!important;left:50%!important;right:auto!important;bottom:-1px!important;top:auto!important;transform:translateX(-50%);gap:1px!important;max-width:100%!important}
body.player-ux.landscape-active .felt #opponents .mini-backs .card,body.player-ux.landscape-active .felt #opponents .mini-backs .card-back{position:relative!important;width:18px!important;height:25px!important;min-height:0!important;font-size:12px!important;padding:1px!important}
body.landscape-active .seat-wager{position:absolute!important;left:var(--landscape-wager-left,20px)!important;top:var(--landscape-wager-top,72px)!important;right:auto!important;bottom:auto!important;width:72px!important;height:19px!important;font-size:13px!important;line-height:18px!important;text-align:center;z-index:4;background:rgba(0,0,0,.7)!important;border-radius:8px}
body.landscape-active .seat-wager:empty{display:none!important}body.landscape-active .seat-wager:not(:empty)::before{content:'▰ ';color:#ffe292}
body.landscape-active .landscape-acting{outline:3px solid #ffe146!important;box-shadow:0 0 12px #ffe146!important}body.landscape-active .landscape-acting::after{content:'Acting';position:absolute;top:-18px;background:#ffe146;color:#111;font-weight:800;font-size:12px;padding:1px 5px;border-radius:5px}
body.landscape-active .position-badges{position:absolute!important;left:-6px!important;top:-8px!important;display:flex!important;z-index:3}body.landscape-active .position-badges span{font-size:12px!important;min-width:20px!important;min-height:20px!important}
body.player-ux.landscape-active .felt .board-zone,body.player-ux.landscape-active .felt #hero-seat{position:absolute!important;left:var(--landscape-left)!important;top:var(--landscape-top)!important;width:var(--landscape-width)!important;height:var(--landscape-height)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;padding:0!important;margin:0!important;transform:none!important;overflow:visible!important;container-type:normal!important}
body.landscape-active #board,body.landscape-active #hole{display:flex!important;gap:3px!important;justify-content:center!important;align-items:center!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important}
body.player-ux.landscape-active #tables-page .felt #board .card{width:var(--landscape-card)!important;height:calc(var(--landscape-card)*1.38)!important;font-size:calc(var(--landscape-card)*.38)!important;min-height:0!important;padding:2px!important;flex:none!important}
body.player-ux.landscape-active #tables-page .felt #hole .card{width:var(--landscape-hole-card)!important;height:calc(var(--landscape-hole-card)*1.38)!important;font-size:calc(var(--landscape-hole-card)*.38)!important;min-height:0!important;padding:2px!important;flex:none!important}
body.landscape-active #hero-seat .hero-name{display:block!important;position:absolute!important;left:0!important;right:0!important;top:100%!important;bottom:auto!important;max-width:none!important;text-align:center;font-size:var(--landscape-font)!important;line-height:16px!important}body.landscape-active #hero-seat .hero-name strong{font-size:inherit!important;margin-left:8px}body.landscape-active #hero-status{position:absolute;bottom:100%;font-size:13px!important}
body.landscape-active .notes-pot{position:absolute!important;left:0!important;right:0!important;top:-30px!important;height:28px!important;min-height:28px!important;font-size:15px!important;gap:5px!important;margin:0!important;white-space:nowrap}
body.landscape-active #pot-total{font-size:18px!important}body.landscape-active #table-stakes,body.landscape-active .felt-blinds{display:none!important}
body.landscape-active #felt-game-info{position:absolute!important;left:var(--landscape-left)!important;top:var(--landscape-top)!important;width:var(--landscape-width)!important;height:var(--landscape-height)!important;font-size:12px!important;line-height:14px!important;margin:0!important;text-align:center;overflow:hidden}
body.landscape-active .deck-area{position:absolute!important;left:47%!important;top:4px!important;transform:scale(.65);transform-origin:top center;opacity:.65;pointer-events:none}
body.landscape-active .action-area{position:absolute!important;left:var(--landscape-left)!important;top:var(--landscape-top)!important;width:var(--landscape-width)!important;height:var(--landscape-height)!important;box-sizing:border-box!important;padding:4px!important;display:flex!important;flex-direction:column!important;gap:2px!important;overflow:auto!important;z-index:10;background:var(--palette-surface,#152b24);border:1px solid var(--palette-line,#578);border-radius:12px;font-size:13px!important;contain:layout}
body.landscape-active .turn-line{display:flex!important;min-height:30px!important;max-height:34px!important;gap:3px!important;margin:0!important}body.landscape-active #turn-label{font-size:13px!important;line-height:15px!important;flex:1}body.landscape-active #turn-timer{font-size:20px!important;line-height:26px!important;margin:0!important;padding:0 3px!important}
body.landscape-active .ux-hand-summary{min-height:20px!important;height:20px!important;display:block!important}body.landscape-active #best-hand{font-size:13px!important;line-height:18px!important;margin:0!important}body.landscape-active #best-hand strong{font-size:13px!important}body.landscape-active #best-hand small,body.landscape-active .ux-stack{display:none!important}
body.landscape-active .action-contribution{min-height:30px!important;height:30px!important;margin:0!important}body.landscape-active .action-contribution .stat-row{min-height:30px!important;height:30px!important;padding:0 1px!important}body.landscape-active .action-contribution .stat-row span{font-size:9px!important;line-height:10px!important}body.landscape-active .action-contribution .stat-row strong{font-size:14px!important;line-height:16px!important}
body.landscape-active .action-buttons{display:flex!important;flex-direction:column!important;gap:2px!important;min-height:0!important;margin:0!important}body.landscape-active .raise-field{display:flex!important;flex-wrap:wrap!important;gap:2px!important;height:auto!important;max-height:none!important;min-width:0!important;width:100%!important;align-items:center!important;margin:0!important}body.landscape-active .raise-field>span{font-size:12px!important}body.landscape-active #raise-amount{width:90px!important;min-height:44px!important;height:44px!important;font-size:18px!important}body.landscape-active #ux-wager-preview{font-size:11px!important;line-height:13px!important}body.landscape-active .ux-bet-modes{display:flex!important;gap:2px!important;width:100%!important}body.landscape-active .ux-bet-modes button{height:44px!important;min-height:44px!important;font-size:13px!important;flex:1!important;padding:2px!important}
body.landscape-active #bet-controls{display:flex!important;flex-wrap:wrap!important;gap:2px!important;margin:0!important;min-height:0!important}body.landscape-active #bet-controls button{min-height:44px!important;min-width:44px!important;height:44px!important;font-size:13px!important;padding:2px 5px!important;flex:1}
body.landscape-active #landscape-slider-label{display:flex;align-items:center;gap:4px;width:100%;font-size:11px;margin:0}body.landscape-active #landscape-slider{flex:1;min-width:70px;min-height:44px;height:44px;margin:0;touch-action:pan-y}
body.landscape-active .fixed-actions{display:grid!important;grid-template-columns:repeat(4,minmax(44px,1fr))!important;gap:2px!important;min-height:44px!important;flex:none!important;order:10!important}body.landscape-active .fixed-actions button{min-width:44px!important;min-height:44px!important;height:44px!important;padding:2px!important;font-size:13px!important;line-height:15px!important;white-space:normal!important}
body.landscape-active #check-call{background:#178044!important;color:white!important}body.landscape-active #raise{background:#ffda36!important;color:black!important}body.landscape-active #allin{background:#ec3e42!important;color:black!important}body.landscape-active #fold{background:#080808!important;color:white!important}
body.landscape-active #landscape-expand{display:block;min-height:44px!important;font-size:13px!important;margin:0!important;padding:2px!important;order:20}body.landscape-active #add-time{min-height:44px!important;font-size:13px!important;padding:2px!important;margin:0!important;order:11}
body.landscape-active:not(.landscape-expanded) .raise-field,body.landscape-active:not(.landscape-expanded) #bet-controls{display:none!important}body.landscape-active:not(.landscape-expanded) .fixed-actions{display:none!important}
body.landscape-active #action-help,body.landscape-active #demo-pause-inline,body.landscape-active #movement-announcement,body.landscape-active .ux-feedback:empty{display:none!important}body.landscape-active .ux-feedback{font-size:12px!important;min-height:0!important}body.landscape-active #mobile-next-hand{min-height:44px!important;font-size:13px!important}
body.landscape-active #landscape-pots{display:block;position:absolute;top:100%;left:50%;transform:translateX(-50%);z-index:15;width:220px;font-size:13px}body.landscape-active #landscape-pots summary{min-height:44px;line-height:44px;text-align:center;background:var(--palette-surface,#123);border-radius:10px;cursor:pointer}body.landscape-active #landscape-pots>div{max-height:120px;overflow:auto;background:var(--palette-surface,#123);padding:6px;border:1px solid currentColor;border-radius:10px}body.landscape-active #landscape-pots p{margin:4px}
body.landscape-active .notes-pot .collected-pot{display:none!important}body.landscape-active .player-chip-stack{max-height:22px!important;pointer-events:none}body.landscape-active .dragon-center{z-index:30!important}
body.landscape-active #winner-notifications{position:fixed!important;top:44px!important;left:25%!important;width:50%!important;max-height:58px!important;pointer-events:none!important;z-index:45}
body.landscape-active #ahead26,body.landscape-active .ahead26{max-height:110px!important;overflow:auto!important}html[data-landscape-motion="subtle"] .flying-chip{opacity:.55!important}html[data-landscape-motion="reduced"] .flying-chip{visibility:hidden!important}
@media(prefers-reduced-motion:reduce){body.landscape-active .landscape-acting{box-shadow:none!important}}
/* Primary decision controls fit one bounded dock; extra presets page by tap. */
body.landscape-active .turn-line{min-height:44px!important;height:44px!important;max-height:44px!important}body.landscape-active .turn-line #add-time{order:0!important;width:64px!important;min-width:44px!important;font-size:11px!important;line-height:12px!important;flex:none!important}
body.landscape-active .raise-field{flex-wrap:wrap!important;min-height:88px!important;height:88px!important;position:relative;padding-bottom:44px!important;box-sizing:border-box!important}body.landscape-active .raise-field>span,body.landscape-active #ux-wager-preview{display:none!important}body.landscape-active .raise-field .ux-bet-modes{width:auto!important;flex:1!important;min-width:0!important}body.landscape-active #raise-amount{width:82px!important;flex:none!important}body.landscape-active .ux-bet-modes button{min-width:44px!important}
body.landscape-active #landscape-slider-label{position:absolute!important;top:44px!important;left:4px;right:4px;width:auto;height:44px}body.landscape-active .action-buttons{height:180px!important;padding-bottom:44px!important;position:relative;flex:none!important}body.landscape-active .fixed-actions{position:absolute!important;top:134px;left:0;right:0}body.landscape-active #bet-controls{height:44px!important;flex-wrap:nowrap!important}body.landscape-active #bet-controls .landscape-preset-hidden{display:none!important}body.landscape-active .action-area{overflow:hidden!important}body.landscape-active .action-contribution,body.landscape-active .ux-hand-summary{flex:none!important}
body.landscape-active #landscape-expand{display:none!important}body.landscape-active #landscape-queue{display:none!important;min-height:44px!important}body.landscape-active:not(.landscape-expanded) #landscape-expand,body.landscape-active:not(.landscape-expanded) #landscape-queue{display:block!important}body.landscape-active:not(.landscape-expanded) .action-buttons{height:0!important;padding:0!important}body.landscape-active:not(.landscape-expanded) #landscape-slider-label{display:none!important}
body:not(.landscape-active) #landscape-queue,body:not(.landscape-active) .landscape-preset-page{display:none!important}#landscape-queue-dialog{max-width:90vw;max-height:85dvh;overflow:auto;background:var(--palette-surface,#123);color:var(--palette-text,#fff);padding:12px;border-radius:12px}#landscape-queue-dialog button{min-height:44px}
body.landscape-active #landscape-pots{top:auto;bottom:100%;width:100%;height:44px}body.landscape-active #landscape-pots summary{min-height:44px;line-height:44px;text-align:right;background:transparent;font-size:12px}body.landscape-active #landscape-pots>div{position:absolute;right:100%;top:0;width:190px;max-height:120px;z-index:20}body.landscape-active #landscape-pots summary::marker{font-size:0}body.landscape-active .notes-pot{pointer-events:none!important;justify-content:flex-start!important}
body.player-ux.landscape-active #tables-page .felt #opponents .ux-empty{display:none!important}html[data-landscape-motion="reduced"] body.landscape-active .dragon-center-back,html[data-landscape-motion="reduced"] body.landscape-active .dragon-feature-card{animation:none!important}
/* ID-scoped layout ownership beats legacy grid/landscape media overrides. */
body.landscape-active #tables-page #landscape-stage{display:block!important;position:relative!important;grid-template:none!important;margin:0 var(--landscape-safe-right) 0 var(--landscape-safe-left)!important;padding:0!important;height:var(--landscape-felt-height)!important;width:auto!important;max-width:none!important;min-width:0!important}
body.landscape-active #tables-page #landscape-stage #landscape-felt{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;grid-area:auto!important;left:0!important;top:0!important;border-width:0!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock{position:absolute!important;left:var(--landscape-left)!important;top:var(--landscape-top)!important;right:auto!important;bottom:auto!important;width:var(--landscape-width)!important;height:var(--landscape-height)!important;min-height:0!important;max-height:none!important;margin:0!important;grid-area:auto!important;display:flex!important;transform:none!important}
body.landscape-active #tables-page #landscape-felt #opponents .ux-empty{display:none!important}
body.landscape-active #tables-page #landscape-felt #hero-seat #hole{height:100%!important;min-height:0!important;max-height:100%!important;flex:none!important}
body.landscape-active #tables-page #landscape-felt #hero-seat #hole .card{width:var(--landscape-hole-card)!important;height:calc(var(--landscape-hole-card)*1.38)!important;min-width:0!important;max-width:none!important;font-size:calc(var(--landscape-hole-card)*.38)!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .turn-line{height:44px!important;min-height:44px!important;max-height:44px!important;flex:none!important}body.landscape-active #tables-page #landscape-stage #landscape-dock #ux-wager-preview{display:none!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .raise-field{height:88px!important;max-height:88px!important;min-height:88px!important;flex:none!important}body.landscape-active #tables-page #landscape-stage #landscape-dock .action-buttons{height:180px!important;max-height:180px!important;min-height:180px!important}
body.landscape-active:not(.landscape-expanded) #tables-page #landscape-stage #landscape-dock .action-buttons{height:0!important;min-height:0!important;max-height:0!important}
body.landscape-active #tables-page #landscape-felt #felt-game-info{max-height:var(--landscape-height)!important;line-height:14px!important}
body.landscape-active #tables-page #landscape-felt .notes-pot{height:28px!important;min-height:28px!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .notes-next-prompt{max-height:62px!important;overflow:auto!important;font-size:13px!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock #preaction26{max-height:100%!important}body.landscape-active #tables-page #landscape-stage #landscape-dock #best-hand{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.landscape-active #tables-page #landscape-felt #felt-game-info{left:var(--landscape-left)!important;top:var(--landscape-top)!important;width:var(--landscape-width)!important;height:var(--landscape-height)!important;max-height:var(--landscape-height)!important;min-height:0!important;position:absolute!important;font-size:12px!important;line-height:14px!important;padding:0!important}
body.landscape-active #tables-page #landscape-felt #felt-game-info strong{font-size:12px!important;line-height:14px!important}body.landscape-active #tables-page #landscape-stage #landscape-dock:has(#dealer-choice:not([hidden])),body.landscape-active #tables-page #landscape-stage #landscape-dock:has(#table-rebuy:not([hidden])){overflow:auto!important}
body.landscape-active #landscape-dock .notes-next-prompt:has(button:not([hidden])){flex:none!important}body.landscape-active #tables-page #landscape-stage #landscape-dock .ux-showdown:not([hidden]){overflow:auto;max-height:180px}
body.landscape-active #landscape-dock #bet-controls>small{display:none!important}body.landscape-active #landscape-dock .raise-field .ux-bet-modes{height:44px!important}
body.landscape-fallback-active{overflow:auto!important}body.landscape-fallback-active #tables-page .game-panel{display:flex!important;flex-direction:column!important;height:auto!important;max-height:none!important;width:min(100%,480px)!important;margin:auto!important}body.landscape-fallback-active #tables-page .game-panel>.felt{width:100%!important;max-width:none!important;min-height:360px!important;height:480px!important;grid-area:auto!important;margin:0!important}body.landscape-fallback-active #tables-page .game-panel>.action-area{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;grid-area:auto!important;margin:0!important}body.landscape-fallback-active .action-buttons{display:flex!important;flex-wrap:wrap!important}body.landscape-fallback-active .fixed-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}body.landscape-fallback-active #landscape-fallback{max-height:25dvh;opacity:.96}
#landscape-action-path{display:none}body.landscape-active #landscape-action-path{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.17}#landscape-action-path line{stroke:#ffe146;stroke-width:2;stroke-dasharray:4 5}
body.landscape-active #tables-page #landscape-felt .notes-pot .collected-pot{display:block!important;position:absolute!important;left:calc(50% + var(--landscape-pot-offset,0px))!important;top:0!important;width:40px!important;height:28px!important;opacity:0!important;pointer-events:none!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock #bet-controls>small{display:none!important}
body.landscape-active #tables-page #landscape-felt #board .card{width:var(--landscape-card)!important;min-width:0!important;max-width:var(--landscape-card)!important;height:calc(var(--landscape-card)*1.38)!important;min-height:0!important;max-height:calc(var(--landscape-card)*1.38)!important;flex:0 0 var(--landscape-card)!important;font-size:calc(var(--landscape-card)*.38)!important}
body.landscape-active #tables-page #landscape-felt #board .card.empty{opacity:.18!important;visibility:visible!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock #bet-controls{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .action-contribution .stat-row{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;overflow:hidden!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .action-contribution .stat-row span{display:block!important;font-size:9px!important;line-height:10px!important;color:inherit!important;white-space:nowrap!important}body.landscape-active #tables-page #landscape-stage #landscape-dock .action-contribution .stat-row strong{display:block!important;font-size:14px!important;line-height:16px!important;color:inherit!important}
body.landscape-active[data-landscape-hand="left"] .mobile-bar #mobile-menu-open{order:-1!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock{background:var(--palette-surface,#fbfcf8)!important;color:var(--palette-text,#1b302c)!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .action-contribution{height:44px!important;min-height:44px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .action-contribution .stat-row{height:44px!important;min-height:44px!important;padding:0!important;background:var(--palette-base,#edf2ee)!important;color:var(--palette-text,#1b302c)!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .action-contribution .stat-row span{font-size:11px!important;line-height:12px!important;white-space:normal!important;max-width:100%!important;text-align:center!important;overflow-wrap:normal!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .ux-hand-summary{height:18px!important;min-height:18px!important}
body.landscape-active #tables-page #landscape-felt #hero-seat .seat-wager{left:calc(50% - 36px)!important;top:-24px!important}body.landscape-active #tables-page #landscape-felt #hero-status{display:none!important}body.landscape-active #hero-seat.landscape-acting::after{display:none}
#landscape-stakes{display:none}body.landscape-active #tables-page #landscape-felt #landscape-stakes{display:block!important;font-size:12px!important;line-height:14px!important;color:inherit!important;white-space:nowrap!important}body.landscape-active #tables-page #landscape-felt #felt-game-info .physical-button-note{display:none!important}
body.landscape-fallback-active .workspace,body.landscape-fallback-active main,body.landscape-fallback-active #tables-page,body.landscape-fallback-active #tables-page .game-layout{height:auto!important;max-height:none!important;overflow:visible!important;display:block!important}
body.landscape-fallback-active #tables-page #landscape-stage{display:flex!important;flex-direction:column!important;grid-template:none!important;height:auto!important;min-height:0!important;max-height:none!important;width:min(100%,480px)!important;max-width:480px!important;margin:0 auto!important;padding:0!important}
body.landscape-fallback-active #tables-page #landscape-stage #landscape-felt{width:100%!important;min-width:100%!important;max-width:100%!important;height:480px!important;min-height:480px!important;max-height:none!important;grid-area:auto!important;position:relative!important;left:auto!important;top:auto!important;flex:none!important}
body.landscape-fallback-active #tables-page #landscape-stage #landscape-dock{position:relative!important;left:auto!important;top:auto!important;width:100%!important;min-width:100%!important;height:auto!important;max-height:none!important;grid-area:auto!important;display:flex!important;flex-direction:column!important;margin:0!important;overflow:visible!important}
body.landscape-fallback-active #landscape-fallback{position:relative!important;left:auto!important;bottom:auto!important;top:auto!important;max-height:none!important;width:min(96%,480px)!important;margin:8px auto!important;opacity:1!important}
:root{--landscape-safe-top:env(safe-area-inset-top,0px)}body.landscape-active{padding-top:var(--landscape-safe-top)!important}
body.landscape-active #connection:not([hidden]),body.landscape-active #notice:not([hidden]){position:fixed!important;top:44px!important;left:20%!important;width:60%!important;max-height:72px!important;overflow:auto!important;z-index:150!important;padding:5px!important;margin:0!important;font-size:13px!important}
body.landscape-active #action-notification:not([hidden]){position:fixed!important;top:44px!important;left:30%!important;width:55%!important;max-height:72px!important;overflow:auto!important;z-index:140!important;margin:0!important;font-size:13px!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .fixed-actions button,body.landscape-active #tables-page #landscape-stage #landscape-dock #bet-controls button,body.landscape-active #tables-page #landscape-stage #landscape-dock .ux-bet-modes button{font-size:calc(13px * var(--landscape-text-scale,1))!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .action-contribution,body.landscape-active #tables-page #landscape-stage #landscape-dock .action-contribution .stat-row{height:calc(44px * var(--landscape-text-scale,1))!important;min-height:calc(44px * var(--landscape-text-scale,1))!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .action-contribution .stat-row span{font-size:calc(11px * var(--landscape-text-scale,1))!important;line-height:calc(12px * var(--landscape-text-scale,1))!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock #best-hand strong,body.landscape-active #tables-page #landscape-stage #landscape-dock #turn-label{font-size:calc(13px * var(--landscape-text-scale,1))!important;line-height:calc(15px * var(--landscape-text-scale,1))!important}
body.landscape-active #tables-page #landscape-stage #landscape-dock .ux-hand-summary{height:calc(18px * var(--landscape-text-scale,1))!important;min-height:calc(18px * var(--landscape-text-scale,1))!important}
body.landscape-active .landscape-acting::after{display:none!important}body.landscape-active #tables-page #landscape-felt #hero-seat .seat-wager{top:-25px!important}
body.landscape-active #landscape-workspace,body.landscape-active #landscape-main{height:var(--landscape-felt-height)!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:block!important}
body.landscape-active #tables-page #landscape-felt #hero-seat .player-chip-stack{position:absolute!important;left:var(--landscape-left)!important;top:var(--landscape-top)!important;right:auto!important;bottom:auto!important;width:var(--landscape-width)!important;height:var(--landscape-height)!important;max-height:26px!important;transform:none!important;gap:1px!important;overflow:hidden!important}body.landscape-active #hero-seat .player-chip-stack .player-chip-column{min-width:5px!important;width:7px!important}body.landscape-active #hero-seat .player-chip-stack small{display:none!important}


/* result-comparison.css */
.result-comparison{position:absolute;inset:4% 3%;z-index:35;overflow:auto;max-height:90%;padding:10px;background:var(--panel,#fff);color:var(--text,#172b24);border:2px solid #d6b751;border-radius:14px;box-sizing:border-box}.result-comparison[hidden]{display:none!important}.result-comparison>button{position:sticky;top:0;float:right;min-height:44px;z-index:2}.comparison-pot{clear:both;border-bottom:1px solid var(--line,#777);padding:8px 0}.comparison-player{margin:10px 0}.comparison-player h4{font-size:1.1rem;margin:8px 0}.comparison-card-group{border-left:4px double currentColor;padding-left:6px;margin:6px 0}.comparison-card-group+.comparison-card-group{border-left-style:dashed}.comparison-cards{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}.comparison-cards .card,.comparison-concealed{width:clamp(32px,9vw,62px)!important;height:clamp(45px,13vw,87px)!important;min-width:0!important;min-height:0!important;font-size:clamp(20px,6vw,38px)!important;box-sizing:border-box}.comparison-used{outline:3px solid #c49800;outline-offset:1px}.comparison-used:after{content:'✓';font-size:12px}.comparison-unused{opacity:.52}.comparison-concealed{display:grid;place-items:center;border:2px dashed currentColor;font-size:12px!important}.comparison-pot summary{min-height:44px;padding:8px;cursor:pointer}.comparison-pot p{line-height:1.35}.comparison-card-group>strong{font-size:.8rem}@media(prefers-reduced-motion:no-preference){.result-comparison{animation:comparison-in .12s ease-out}@keyframes comparison-in{from{opacity:0}to{opacity:1}}}

@media(prefers-reduced-motion:no-preference){.entry-flop-back{animation:entry-back .4s both}@keyframes entry-back{from{transform:translate(-70px,-60px);opacity:0}to{transform:none;opacity:1}}}

#countdown-entry:not([hidden]){position:fixed;z-index:120;inset:72px 6px max(6px,env(safe-area-inset-bottom));margin:0;padding:10px;overflow:auto;box-sizing:border-box;border:2px solid var(--line,#b8c7bd);background:var(--palette-surface,#16372d);color:var(--palette-text,#fff);display:flex;flex-direction:column;gap:6px}#countdown-entry h2{font-size:clamp(20px,4vw,30px);margin:0}#countdown-entry p{margin:0;line-height:1.25}#countdown-entry>[data-deadline]{font-size:24px;color:#ffc84a}.entry-visual{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;min-height:0}.entry-visual>section{flex:0 1 auto;min-width:0}.entry-private-cards{display:flex;gap:4px;margin-top:4px}.entry-private-cards>.card,.entry-private-cards>.card-back{width:clamp(52px,14vw,84px)!important;height:clamp(73px,19.6vw,118px)!important;min-width:0!important;min-height:0!important;font-size:clamp(24px,7vw,48px)!important;box-sizing:border-box}.entry-visual strong{font-size:12px}.entry-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.entry-actions>button{min-width:0;min-height:48px!important;white-space:normal;overflow-wrap:anywhere}.entry-seats{font-size:12px}@media(orientation:landscape) and (max-height:500px){#countdown-entry:not([hidden]){gap:4px;padding:6px}#countdown-entry h2{font-size:20px}.entry-private-cards>.card,.entry-private-cards>.card-back{width:42px!important;height:58px!important;font-size:28px!important}.entry-actions>button{min-height:44px!important;flex-basis:140px}#countdown-entry p{font-size:12px}.entry-seats{font-size:11px!important}}

html[data-motion="reduced"] .result-comparison,html[data-motion="reduced"] .entry-flop-back{animation:none!important}

.comparison-cards>.card{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;align-items:flex-start!important;padding:4px!important;line-height:1!important;overflow:visible!important}.comparison-cards>.card>span{position:static!important;transform:none!important;line-height:1!important}.comparison-cards>.card>.suit{align-self:flex-end!important;font-size:.7em!important;margin:0!important}.comparison-cards>.comparison-used:after{position:absolute;top:1px;right:1px;font-size:11px;line-height:1;background:#16372d;color:#fff;border-radius:3px;padding:1px}.comparison-active #winner-notifications{visibility:hidden}

.comparison-selected{display:grid;gap:6px;align-items:start}.comparison-selected .comparison-card-group{min-width:0;margin:4px 0}.comparison-selected .comparison-cards{flex-wrap:nowrap;gap:3px}.comparison-selected .comparison-cards>.card{flex:1 1 0;width:clamp(32px,9vw,62px)!important;max-width:62px;min-width:0!important}.comparison-player{margin:6px 0}.comparison-player h4{margin:4px 0}.comparison-player p{margin:4px 0}.comparison-player details>summary{font-size:12px}.result-comparison>div>details>summary{min-height:44px;padding:8px;cursor:pointer}.result-comparison h3{font-size:16px;margin:4px 0}
.entry-favorite{display:grid;gap:5px;margin:8px 0}.entry-favorite select{min-height:44px;width:100%;font-size:clamp(16px,4vw,22px)}.entry-favorite small{line-height:1.3}.comparison-hypothetical{border:2px solid #d6b751;padding:8px;border-radius:8px}.comparison-review-note{font-size:14px;clear:both}
body.comparison-active #showdown-choice{visibility:hidden!important;pointer-events:none!important}

/* Theme-aware results; card faces retain their suit colors. */
.result-comparison{background:var(--palette-surface,#16372d);color:var(--palette-text,#f4fff8);border-color:var(--palette-accent,#d6b751)}
.result-comparison .comparison-cards>.card{color:#142820;background:#fff}.result-comparison .comparison-cards>.card.red{color:#b11c32}
.result-comparison .comparison-cards>.comparison-used:after{background:#142820;color:#ffe59a;border:1px solid #ffe59a}
/* Keep this badge inside the name line, outside the card area. */
body.player-ux.adaptive-layout #tables-page .felt #opponents .last-actor-marker,body.landscape-active #opponents .last-actor-marker{position:static!important;display:inline-block!important;grid-column:auto!important;grid-row:auto!important;font-size:9px!important;line-height:1.15!important;max-width:none!important;margin-left:4px;vertical-align:middle;pointer-events:none;background:#ffe082;color:#171717}

/* Put text on its own contrasting backing rather than white card faces. */
.dragon-feature-card>.dragon-final-identity,.pot-award-overlay{background:color-mix(in srgb,var(--palette-base,#10251c) 94%,#000);color:#ffe082;border-color:var(--palette-accent,#ffe082);text-shadow:0 1px 2px #000}

/* Pot labels may cross white card faces: never use bare white text. */
.player-ux .felt .notes-pot #pot-total,.felt .collected-pot,.felt .seat-wager{background:#10291f!important;color:#ffe082!important;border:1px solid var(--palette-accent,#d6b751);border-radius:5px;padding:1px 4px!important;text-shadow:none!important;opacity:1!important}

/* Keep both legal hands visible before optional inventory/details. */
.result-comparison .comparison-pot{padding:4px 0}.result-comparison .comparison-pot>p{margin:4px 0}.result-comparison .comparison-player{margin:5px 0;padding:4px 0;border-top:1px solid var(--palette-accent,#aab)}
.result-comparison .comparison-player h4{font-size:14px;line-height:18px;margin:0 0 3px}.result-comparison .comparison-player p{font-size:13px;line-height:16px;margin:3px 0}
.result-comparison .comparison-selected .comparison-cards>.card{width:40px!important;max-width:54px!important;height:56px!important;font-size:25px!important}.result-comparison .comparison-card-group>strong{font-size:10px;line-height:12px}.result-comparison .comparison-card-group{padding-left:4px;margin:2px 0}.result-comparison .comparison-cards{margin:3px 0}
.result-comparison>button{min-height:36px;padding:6px 10px;font-size:12px}.result-comparison .comparison-pot:first-child{clear:none}.result-comparison .comparison-pot:first-child>h3{padding-right:70px;min-height:28px}.result-comparison .comparison-pot>details{clear:both}

body.comparison-active #ux-showdown,body.comparison-active #ux-showdown *{visibility:hidden!important;pointer-events:none!important}


#view-hand-results {
 position: absolute;
 top: 40px;
 left: 50%;
 transform: translateX(-50%);
 z-index: 110;
 min-height: 44px;
 white-space: nowrap;
}
#view-hand-results[hidden] { display: none !important; }



/* minimal-hud.css */
body.minimal-hud .seat .action-lines>span:first-child{display:none}body.minimal-hud .seat .action-lines>span:last-child{font-weight:700}body.minimal-hud .seat{padding:4px;min-height:44px;box-sizing:border-box}body.minimal-hud #table-stakes{display:none}body.minimal-hud #landscape-pots{display:block;position:relative;font-size:12px}body.minimal-hud #landscape-pots>summary{min-height:44px;cursor:pointer;padding:8px;box-sizing:border-box}body.minimal-hud #landscape-pots[open]{z-index:45;background:var(--palette-surface,#12352a);color:var(--palette-text,#fff);border:1px solid currentColor;border-radius:8px;max-height:30dvh;overflow:auto;padding:6px}#minimal-hud-toggle{min-height:44px}body.minimal-hud .seat[role=button]:focus-visible{outline:3px dashed currentColor;outline-offset:3px}

/* Disclosed cards fit within their own seat instead of enlarging every row. */
body.player-ux.adaptive-layout:not(.landscape-active) #tables-page .felt #opponents .seat:has(.mini-backs .card[data-card]){display:grid!important;grid-template:18px 14px 25px/minmax(0,1fr)!important;align-content:start!important;overflow:hidden!important}
body.player-ux.adaptive-layout:not(.landscape-active) #tables-page .felt #opponents .seat:has(.mini-backs .card[data-card]) .action-lines{padding:0!important;grid-row:2!important}
body.player-ux.adaptive-layout:not(.landscape-active) #tables-page .felt #opponents .mini-backs:has(.card[data-card]){position:static!important;grid-row:3!important;transform:none!important;max-width:100%!important;justify-content:center!important;height:25px!important;margin:0!important}

/* Dedicated pot, board and inspection rows. Never float badges on card faces. */
body.player-ux.adaptive-layout:not(.landscape-active) #tables-page .felt{grid-template-rows:var(--adaptive-opponents,150px) calc(var(--adaptive-board,52px)*1.38 + 48px) calc(var(--adaptive-hole,44px)*1.38 + 4px) 18px 20px!important}
body.player-ux.adaptive-layout:not(.landscape-active) #tables-page .felt .board-zone{display:grid!important;grid-template-rows:24px minmax(0,1fr) 20px!important;gap:2px!important;align-items:center!important;justify-items:center!important;align-content:center!important;padding:0!important;position:relative!important;overflow:visible!important}
body.player-ux.adaptive-layout:not(.landscape-active) .felt .notes-pot{position:static!important;grid-row:1!important;grid-column:1!important;inset:auto!important;height:20px!important;min-height:20px!important;margin:0!important;flex-wrap:nowrap!important;max-width:100%;overflow-x:auto;overflow-y:hidden;box-sizing:border-box}
body.player-ux.adaptive-layout:not(.landscape-active) .felt #board{grid-row:2!important;grid-column:1!important;position:static!important;margin:0!important;transform:none!important;align-self:center!important}
body.player-ux.adaptive-layout:not(.landscape-active) .felt #landscape-pots{grid-row:3!important;grid-column:1!important;margin:0!important;padding:0!important;height:20px!important;max-height:20px!important}
body.player-ux.adaptive-layout:not(.landscape-active) .felt #landscape-pots>summary{min-height:20px!important;height:20px!important;padding:0 6px!important}
body.player-ux.adaptive-layout:not(.landscape-active) .felt #landscape-pots[open]{height:auto!important;max-height:30vh!important;z-index:45}
body.player-ux.adaptive-layout:not(.landscape-active) #tables-page .felt #opponents .seat{overflow:hidden!important}
body.player-ux.adaptive-layout:not(.landscape-active) #tables-page .felt #opponents .seat .seat-wager{position:absolute!important;right:2px!important;bottom:0!important;left:auto!important;top:auto!important;max-width:100%!important;height:18px!important;line-height:18px!important;margin:0!important;box-sizing:border-box;font-size:11px!important}
body.player-ux.adaptive-layout:not(.landscape-active) .felt #opponents .seat-wager::before{display:none!important}
@media(max-width:600px){.flying-chips:not(.payout-chips){min-height:20px!important;max-height:24px!important;min-width:24px!important;padding:1px 4px!important;border-width:2px!important;font-size:11px!important;box-sizing:border-box!important;line-height:18px!important;box-shadow:0 2px 0 #8c1b31!important}}


/* opponent-model.css */
.model-panel{margin:14px 0;padding:12px;border:1px solid var(--palette-line,#9a9);border-radius:10px;background:var(--palette-surface,#eef5ef);color:var(--palette-text,#142820)}.model-panel>summary{font-weight:800;cursor:pointer;min-height:44px}.model-controls{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.model-controls>*{min-height:44px;flex:1 1 160px;min-width:0}.model-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.4}.model-panel p{overflow-wrap:anywhere}.model-panel details{margin:8px 0;border:1px solid var(--palette-line,#aaa);padding:8px}.model-panel summary{min-height:44px;cursor:pointer}.model-charts{display:grid;grid-template-columns:1fr;gap:8px}.model-charts svg{width:100%;max-width:700px;height:auto;min-height:160px;color:inherit;background:var(--palette-base,#f4f8f4);border:1px solid var(--palette-line,#aaa);border-radius:8px}.model-panel button{min-height:44px;margin:4px}.model-panel h3{font-size:16px;margin:8px 0}


/* queued-actions.css */
.queue-panel,.queue-indicator{border:1px solid var(--ux-line,#8c76a4);border-radius:10px;padding:8px;margin:4px 0;background:var(--palette-surface,#23182f);color:var(--palette-text,#fff)}.queue-panel[hidden],.queue-indicator[hidden],.queue-editor[hidden],.queue-multipliers[hidden]{display:none!important}.queue-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px}.queue-buttons button,.queue-editor button,.queue-indicator button{min-height:44px;white-space:normal}.queue-buttons button[aria-pressed=true],.queue-multipliers button[aria-pressed=true]{outline:2px solid #ffe06a;outline-offset:-3px}.queue-indicator{display:flex;gap:5px;align-items:center;flex-wrap:wrap;font-size:13px;line-height:18px}.queue-indicator span{flex:1;min-width:120px}.queue-editor{margin-top:8px;border-top:1px solid var(--ux-line,#887);padding-top:8px}.queue-editor label{display:grid;gap:6px;font-size:14px;margin:8px 0}.queue-editor input{min-height:44px;width:100%;max-width:100%;box-sizing:border-box}.queue-editor p,.queue-editor small{font-size:12px;line-height:17px}.queue-editor>button{margin:4px}.queue-multipliers{display:flex;gap:6px}.queue-multipliers button{flex:1}#preaction26{display:none!important}body.landscape-active .queue-indicator{font-size:12px;min-height:44px;flex:none}.queue-panel button:focus-visible,.queue-indicator button:focus-visible,.queue-editor input:focus-visible{outline:3px solid #ffe06a;outline-offset:2px}


/* graphics-first.css */
/* Portrait-only candidate. The existing landscape solver is deliberately untouched. */
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt{display:block!important;position:relative!important;height:var(--gfr-height)!important;min-height:var(--gfr-height)!important;grid-template:none!important;border-radius:48% 48% 25% 25%/17% 17% 12% 12%!important;overflow:visible!important;margin:8px auto!important;width:min(100%,1000px)!important;background:radial-gradient(ellipse,var(--palette-felt,#382153),var(--palette-base,#1b142d))!important}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #opponents{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;grid-template:none!important;pointer-events:none}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active).adaptive-layout #tables-page .felt #opponents .seat{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;position:absolute!important;left:var(--gfr-x)!important;top:var(--gfr-y)!important;transform:translateX(-50%)!important;width:var(--gfr-seat-width)!important;min-width:0!important;height:auto!important;min-height:64px!important;max-height:140px!important;padding:4px 3px!important;overflow:visible!important;border:1px solid var(--palette-line,#8c759e)!important;background:color-mix(in srgb,var(--palette-surface,#251937) 88%,transparent)!important;border-radius:12px!important;pointer-events:auto;grid-template:none!important;font-size:var(--gfr-font)!important;box-sizing:border-box}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .seat-name{font-size:var(--gfr-font)!important;line-height:1.1!important;text-align:center!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .seat-name strong{display:block!important;font-size:calc(var(--gfr-font)*1.3)!important;line-height:1.2!important}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .action-lines,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .seat-state,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .previous-action,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .last-actor-marker,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .seat-wager,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .player-chip-stack{display:none!important}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat.gfr-actor{outline:3px solid #ffe15a!important;outline-offset:1px}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat.gfr-folded{opacity:.55}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-state{font-size:calc(var(--gfr-font)*.8);font-weight:bold;color:var(--palette-text,#fff)}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active).adaptive-layout #tables-page .felt #opponents .mini-backs{position:static!important;display:flex!important;justify-content:center!important;height:23px!important;min-height:0!important;max-height:23px!important;width:100%!important;margin:2px 0!important;transform:none!important;overflow:hidden!important;order:4}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat.gfr-folded .mini-backs{display:none!important}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .mini-backs .card,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .mini-backs .card-back{width:17px!important;height:23px!important;flex:0 0 17px!important;margin-left:-7px!important;font-size:9px!important}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .seat .mini-backs .card .suit{font-size:9px!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt .board-zone{position:absolute!important;left:8px!important;right:8px!important;top:var(--gfr-board-top)!important;display:flex!important;flex-direction:column!important;align-items:center!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;transform:none!important;grid-template:none!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active).adaptive-layout #tables-page .felt #board{display:flex!important;position:static!important;justify-content:center!important;gap:0!important;margin:0!important;transform:none!important;overflow:visible!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #board>.card{--gfr-card:var(--gfr-board-card);width:var(--gfr-card)!important;min-width:var(--gfr-card)!important;height:calc(var(--gfr-card)*1.4)!important;flex:0 0 var(--gfr-card)!important;margin:0!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #board>.card:not(:first-child){margin-left:calc(var(--gfr-board-card)*-.67)!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #hole{display:flex!important;justify-content:center!important;gap:0!important;position:static!important;margin:0!important;transform:none!important;overflow:visible!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #hole>.card{--gfr-card:var(--gfr-hole-card);width:var(--gfr-card)!important;min-width:var(--gfr-card)!important;height:calc(var(--gfr-card)*1.4)!important;flex:0 0 var(--gfr-card)!important;margin:0!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #hole>.card:not(:first-child){margin-left:calc(var(--gfr-hole-card)*-.5)!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #board>.card,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #hole>.card{padding:calc(var(--gfr-card)*.045)!important;font-size:calc(var(--gfr-card)*.31)!important;border-radius:calc(var(--gfr-card)*.09)!important;line-height:1!important;box-shadow:0 2px 6px #0008!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #board>.card>.suit,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #hole>.card>.suit{font-size:calc(var(--gfr-card)*.28)!important;margin-top:3px!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #hero-seat{position:absolute!important;left:8px!important;right:8px!important;bottom:var(--gfr-hero-bottom)!important;top:auto!important;width:auto!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;transform:none!important;padding:0!important;background:transparent!important;border:0!important}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #hero-seat .hero-name,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #hero-seat>.player-chip-stack{display:none!important}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #hero-status{font-size:var(--gfr-font)!important;line-height:1.2!important;position:static!important;margin-top:5px!important}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-own-stack{position:absolute;left:0;right:0;bottom:calc(var(--gfr-hero-bottom) + var(--gfr-hole-card)*1.4 + 42px);display:flex;justify-content:center;align-items:center;gap:7px;font-size:calc(var(--gfr-font)*1.1);min-height:40px}.gfr-own-stack strong{font-size:calc(var(--gfr-font)*1.5)}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-game-info{position:absolute;top:20%;left:22%;right:22%;text-align:center;display:grid;gap:5px;font-size:var(--gfr-font);pointer-events:none}.gfr-game-info span{font-size:.85em}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #felt-game-info,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #felt-blinds,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .felt-blinds,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #table-stakes,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .deck-area{display:none!important}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-pots{position:absolute;top:calc(var(--gfr-board-top) - 74px);left:18%;right:18%;display:flex;justify-content:center;align-items:end;gap:8px;flex-wrap:wrap;font-size:var(--gfr-font)}.gfr-pots>button{min-height:44px;background:transparent!important;border:0!important;padding:0 3px!important;color:var(--palette-text,#fff)!important;max-width:45%}.gfr-money{display:flex;flex-direction:column;align-items:center;gap:3px}.gfr-money>strong{font-size:calc(var(--gfr-font)*.9);white-space:nowrap;background:var(--palette-surface,#251937);border:1px solid var(--palette-line,#ac945a);border-radius:8px;padding:1px 5px}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .notes-pot{display:none!important}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #landscape-pots{position:static!important;display:block!important;margin:6px 0 0!important;height:auto!important;max-height:none!important;font-size:var(--gfr-font)!important}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #landscape-pots[open]{background:var(--palette-surface,#251937);z-index:50;max-width:90%;max-height:30vh!important;overflow:auto}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-wagers{position:absolute;inset:0;pointer-events:none}.gfr-wager{position:absolute;left:var(--gfr-wager-x);top:var(--gfr-wager-y);transform:translateX(-50%)}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-tower{position:relative;display:inline-block;width:calc(17px*var(--gfr-chip-scale));height:calc(var(--gfr-tower-height)*var(--gfr-chip-scale));margin-left:calc(-3px*var(--gfr-chip-scale))}.gfr-tower:first-child{margin-left:0}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-tower i{position:absolute;left:0;right:0;bottom:calc(var(--gfr-level)*var(--gfr-chip-scale));height:calc(7px*var(--gfr-chip-scale));border-radius:50%/36%;background:linear-gradient(90deg,#0008,var(--gfr-chip-color) 20%,var(--gfr-chip-color) 64%,#0009);box-shadow:0 1px 1px #0009,inset 0 -1px 1px #0008}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-tower i:before{content:'';position:absolute;left:0;right:0;top:0;height:calc(5px*var(--gfr-chip-scale));border-radius:50%;background:conic-gradient(var(--gfr-chip-color) 0deg 38deg,#d2c8b5 38deg 55deg,var(--gfr-chip-color) 55deg 110deg,#d2c8b5 110deg 127deg,var(--gfr-chip-color) 127deg 182deg,#d2c8b5 182deg 199deg,var(--gfr-chip-color) 199deg 254deg,#d2c8b5 254deg 271deg,var(--gfr-chip-color) 271deg 326deg,#d2c8b5 326deg 343deg,var(--gfr-chip-color) 343deg);border:1px solid #fff4;box-shadow:inset 1px 1px 1px #fff3,inset -1px -1px 1px #0008}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-tower i:after{content:'';position:absolute;left:calc(4px*var(--gfr-chip-scale));right:calc(4px*var(--gfr-chip-scale));top:calc(1px*var(--gfr-chip-scale));height:calc(3px*var(--gfr-chip-scale));border-radius:50%;border:1px solid #e0d4bf88;background:var(--gfr-chip-color)}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #turn-timer{font-size:clamp(44px,7vw,72px)!important;font-weight:900!important;line-height:1.05!important;background:#ffdf4b!important;color:#160c20!important;border:2px solid #fff2b3!important;border-radius:10px!important;padding:5px 8px!important;font-variant-numeric:tabular-nums;box-shadow:0 0 18px #ffcf4b44!important}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #turn-timer.urgent{background:#ad2031!important;color:#fff!important;border-color:#ffb1a4!important}
.gfr-inspection{position:fixed;top:85px;left:5%;right:5%;z-index:120;background:var(--palette-surface,#251937);color:var(--palette-text,#fff);border:2px solid var(--palette-line,#b89ccc);border-radius:12px;padding:14px;max-height:60vh;overflow:auto;box-shadow:0 8px 24px #0008}.gfr-inspection[hidden]{display:none}.gfr-inspection h2{font-size:18px}.gfr-inspection button{min-height:44px}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-fit-notice{position:absolute;left:8px;right:8px;bottom:6px;background:var(--palette-surface,#251937);border:1px solid #d5b663;padding:5px;font-size:12px}.gfr-fit-notice[hidden]{display:none}
.gfr-pots,.gfr-wagers,.gfr-own-stack,.gfr-game-info,.gfr-fit-notice{display:none}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-pots,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-own-stack{display:flex}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-wagers{display:block}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-game-info{display:grid}.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-fit-notice:not([hidden]){display:block}
.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) [role=button]:focus-visible,.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) button:focus-visible{outline:3px solid currentColor;outline-offset:3px}
@media(prefers-reduced-motion:reduce){}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active):not(.gfr-own-turn) #turn-timer{display:none!important}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #opponents{height:100%!important;max-height:none!important;min-height:0!important;inset:0!important;overflow:visible!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #opponents .seat-name{display:block!important;width:100%!important;max-height:none!important;height:auto!important;position:static!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #board>.card,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page .felt #hole>.card{max-height:none!important;max-width:none!important;aspect-ratio:auto!important;min-height:0!important}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat{height:76px!important;min-height:76px!important;max-height:76px!important;gap:0!important;overflow:visible!important;display:flex!important;flex-direction:column!important;grid-template:none!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat .mini-backs:not(:has(.card[data-card])){display:none!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat .player-chip-stack,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat .last-actor-marker,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat .action-lines,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat .seat-state,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat .previous-action,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hero-seat>.player-chip-stack,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hero-seat>.hero-name{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-pots{top:calc(var(--gfr-board-top) - 32px)!important;height:32px!important;min-height:0!important;align-items:end!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-pots .gfr-money{gap:0!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-pots .gfr-money>strong{font-size:11px!important;line-height:12px!important;padding:0 4px!important}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat.ux-empty{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-own-stack{z-index:5;gap:8px!important;line-height:1.2!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #board>.card>.suit,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hole>.card>.suit{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;display:block!important;align-self:flex-start!important;margin:3px 0 0!important;line-height:1!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #board>.card>span:first-child,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hole>.card>span:first-child{position:static!important;line-height:1!important;transform:none!important}

body.gfr-shared .felt{--gfr-chip-scale:1;--gfr-font:14px}
body.gfr-shared .gfr-tower{position:relative!important;display:inline-block!important;width:calc(17px*var(--gfr-chip-scale));height:calc(var(--gfr-tower-height)*var(--gfr-chip-scale));margin-left:calc(-3px*var(--gfr-chip-scale))}
body.gfr-shared .gfr-tower i{position:absolute!important;left:0!important;right:0!important;bottom:calc(var(--gfr-level)*var(--gfr-chip-scale));height:calc(7px*var(--gfr-chip-scale));border-radius:50%/36%;background:linear-gradient(90deg,#0008,var(--gfr-chip-color) 20%,var(--gfr-chip-color) 64%,#0009)!important;box-shadow:0 1px 1px #0009,inset 0 -1px 1px #0008}
body.gfr-shared .gfr-tower i:before{content:'';position:absolute;left:0;right:0;top:0;height:calc(5px*var(--gfr-chip-scale));border-radius:50%;background:conic-gradient(var(--gfr-chip-color) 0deg 38deg,#d2c8b5 38deg 55deg,var(--gfr-chip-color) 55deg 110deg,#d2c8b5 110deg 127deg,var(--gfr-chip-color) 127deg 182deg,#d2c8b5 182deg 199deg,var(--gfr-chip-color) 199deg 254deg,#d2c8b5 254deg 271deg,var(--gfr-chip-color) 271deg 326deg,#d2c8b5 326deg 343deg,var(--gfr-chip-color) 343deg);border:1px solid #fff4;box-shadow:inset 1px 1px 1px #fff3,inset -1px -1px 1px #0008}
body.gfr-shared .gfr-tower i:after{content:'';position:absolute;left:calc(4px*var(--gfr-chip-scale));right:calc(4px*var(--gfr-chip-scale));top:calc(1px*var(--gfr-chip-scale));height:calc(3px*var(--gfr-chip-scale));border-radius:50%;border:1px solid #e0d4bf88;background:var(--gfr-chip-color)}
body.gfr-shared.landscape-active .player-chip-stack{max-height:34px!important;overflow:visible!important}body.gfr-shared.landscape-active .seat .player-chip-stack{position:static!important;inset:auto!important;transform:none!important;width:auto!important;margin:0!important}
body.gfr-shared.landscape-active .seat .mini-backs:not(:has(.card[data-card])){display:none!important}
body.gfr-shared.landscape-active .seat-state,body.gfr-shared.landscape-active .previous-action,body.gfr-shared.landscape-active .last-actor-marker{display:none!important}
body.gfr-shared.landscape-active #board>.card:not(:first-child),body.gfr-shared.landscape-active #hole>.card:not(:first-child){margin-left:calc(var(--landscape-card)*-.28)!important}

body.gfr-shared.landscape-active .seat>.player-chip-stack{display:block!important;max-height:34px!important;padding:0!important}body.gfr-shared.landscape-active .seat .seat-name{display:block!important;text-align:center!important}body.gfr-shared.landscape-active .seat .seat-name strong{display:block!important}body.gfr-shared.landscape-active .seat .mini-backs:not(:has(.card[data-card])){display:none!important}
body.gfr-shared.landscape-active #best-hand,body.gfr-shared.landscape-active .ux-hand-summary,body.gfr-shared.landscape-active .notes-pot,body.gfr-shared.landscape-active #landscape-pots{display:none!important}
body.gfr-shared.landscape-active .gfr-land-pots{position:absolute!important;left:var(--landscape-left)!important;top:var(--landscape-top)!important;width:var(--landscape-width)!important;height:var(--landscape-height)!important;display:flex!important;align-items:end;justify-content:center;gap:8px;overflow:visible;z-index:8}body.gfr-shared.landscape-active .gfr-land-pots>button{min-height:44px!important;max-height:44px!important;padding:0!important;background:transparent!important;border:0!important;color:var(--palette-text,#fff)!important}
body.gfr-shared #tables-page .felt #board>.card,body.gfr-shared #tables-page .felt #hole>.card{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important}
body.gfr-shared #tables-page .felt #board>.card>.suit,body.gfr-shared #tables-page .felt #hole>.card>.suit{position:static!important;align-self:flex-start!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;transform:none!important;margin:3px 0 0!important}

body:not(.gfr-shared) .gfr-seat-stack,body:not(.gfr-shared) .gfr-state{display:none!important}

body.gfr-shared .gfr-last-hand:not([hidden]){display:block!important;position:absolute!important;bottom:14px!important;left:12px!important;min-height:44px!important;z-index:30;font-size:12px;padding:6px 10px!important;background:var(--palette-surface,#251a36)!important;color:var(--palette-text,#fff)!important;border:1px solid var(--palette-line,#b89ccc)!important;border-radius:8px!important}body.gfr-shared .gfr-last-hand[hidden]{display:none!important}
body.gfr-shared .result-comparison{background:var(--palette-surface,#251a36)!important;color:var(--palette-text,#fff)!important;max-height:calc(100% - 28px)!important;inset:14px!important;padding:10px!important;z-index:60!important}
body.gfr-shared .result-comparison .comparison-selected{display:grid;gap:6px;align-items:start}body.gfr-shared .result-comparison .comparison-cards{flex-wrap:nowrap!important;gap:3px!important}body.gfr-shared .result-comparison .comparison-selected .comparison-cards>.card{max-width:56px!important;min-width:0!important;width:clamp(32px,9vw,56px)!important;height:clamp(46px,12.6vw,79px)!important;font-size:clamp(22px,6vw,32px)!important;flex:0 1 auto!important}
body.gfr-shared .result-comparison .comparison-selected .comparison-card-group{min-width:0!important}.result-comparison>button{min-height:44px!important}

.gfr-deck-anchor{display:none}body.gfr-portrait .gfr-deck-anchor{display:grid;place-items:center;position:absolute;left:48%;top:43%;width:20px;height:28px;border:1px solid var(--palette-line,#9d85ad);border-radius:4px;background:repeating-linear-gradient(45deg,#224970 0 3px,#142b45 3px 6px);color:#d6bc7d;opacity:.7;font-size:14px;pointer-events:none}
body.gfr-shared .gfr-moving-chips{display:flex!important;flex-direction:column;align-items:center;gap:2px;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--palette-text,#fff)!important}body.gfr-shared .gfr-moving-chips>small{padding:1px 4px;background:var(--palette-surface,#251a36);border:1px solid var(--palette-line,#b6a887);border-radius:5px;font-size:11px}.gfr-wager-needs-review{outline:2px dashed #ffb85b}

.gfr-compact-fallback{font-size:12px;padding:5px 8px;border:1px solid var(--palette-line,#b89ccc);background:var(--palette-surface,#251a36);color:var(--palette-text,#fff)}.gfr-compact-fallback[hidden]{display:none}

body.gfr-shared #tables-page #landscape-felt #board>.card>.gfr-card-pip,body.gfr-shared #tables-page #landscape-felt #hole>.card>.gfr-card-pip{position:absolute!important;bottom:7px!important;right:6px!important;top:auto!important;left:auto!important;font-size:calc(var(--gfr-card)*.4)!important;line-height:1!important;margin:0!important}
body:not(.gfr-shared) .gfr-card-pip{display:none!important}
/* Card pips belong to their card, never to the felt's positioning context. */
body.gfr-shared #tables-page #landscape-felt #board>.card,body.gfr-shared #tables-page #landscape-felt #hole>.card{position:relative!important}
/* Waiting players see clean felt; betting references remain in the terminal. */
.wait-tools95{display:none!important}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat{height:84px!important;min-height:84px!important;max-height:84px!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat .gfr-state{font-size:9px!important;line-height:10px!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat .mini-backs:has(.card[data-card]){position:absolute!important;left:0!important;right:0!important;top:auto!important;bottom:-4px!important;height:23px!important;max-height:23px!important;transform:none!important;width:100%!important;margin:0!important;overflow:visible!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat .mini-backs .card,body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat .mini-backs .card-back{width:22px!important;flex-basis:22px!important;margin-left:-10px!important}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #board>.card:not(:first-child),body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hole>.card:not(:first-child){margin-left:calc(-1*var(--gfr-card-overlap,30px))!important}body.gfr-portrait .gfr-wager .gfr-wager-owner{font-size:9px;line-height:11px;max-width:66px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--palette-text,#fff);background:var(--palette-surface,#251a36);border-radius:3px;padding:0 2px}body.gfr-portrait .gfr-wager{gap:1px!important}

.gfr-queue-shortcuts{display:none}body.gfr-shared .gfr-queue-shortcuts:not([hidden]){position:absolute;left:130px;right:12px;bottom:14px;display:flex;gap:4px;z-index:30;height:44px}body.gfr-shared .gfr-queue-shortcuts button{min-height:44px!important;height:44px!important;font-size:11px;padding:4px!important;background:var(--palette-surface,#251a36);color:var(--palette-text,#fff);border:1px solid var(--palette-line,#b89ccc);border-radius:8px}#gfr-next-action{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#gfr-cancel-next-action{flex:0 0 44px;font-size:24px!important}body.gfr-shared #landscape-queue{display:none!important}#landscape-queue-dialog{background:var(--palette-surface,#251a36);color:var(--palette-text,#fff);max-height:90dvh;overflow:auto;border:2px solid var(--palette-line,#b89ccc);border-radius:14px;padding:12px}
body.player-ux.adaptive-layout.gfr-portrait #tables-page #landscape-felt #opponents .seat .seat-name{display:none!important}
.gfr-seat-label{display:none}body.gfr-portrait .gfr-seat-label{display:grid!important;gap:2px;text-align:center;max-width:100%;color:var(--palette-text,#fff);font-size:var(--gfr-font);line-height:1.1;order:-1}
body.gfr-portrait .gfr-seat-label>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.gfr-portrait .gfr-seat-label>strong{font-size:1.2em}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat{height:calc(64px + 24px * var(--gfr-chip-scale,1))!important;min-height:calc(64px + 24px * var(--gfr-chip-scale,1))!important;max-height:calc(64px + 24px * var(--gfr-chip-scale,1))!important}
body.player-ux.adaptive-layout.gfr-shared #landscape-pots{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) .gfr-game-info{top:calc(var(--gfr-board-top) - 57px)!important;left:24%;right:24%;font-size:clamp(13px,2.7vw,25px);z-index:5;text-shadow:0 1px 3px #000}
body.gfr-shared .result-comparison{container-type:inline-size;font-size:clamp(15px,2vw,24px)!important}
body.gfr-shared .result-comparison .comparison-selected .comparison-cards>.card{width:clamp(38px,min(14cqw,14dvh),150px)!important;max-width:none!important;height:clamp(54px,min(19.6cqw,19.6dvh),210px)!important;font-size:clamp(26px,min(8cqw,8dvh),76px)!important;flex:0 1 auto!important}
body.gfr-shared .result-comparison h3,body.gfr-shared .result-comparison h4{font-size:clamp(17px,2.8cqw,30px)!important;line-height:1.25}
body.gfr-shared .result-comparison .comparison-card-group>strong,body.gfr-shared .result-comparison summary{font-size:clamp(12px,2cqw,22px)!important}
body.gfr-shared .result-comparison .comparison-player{margin:clamp(8px,2dvh,24px) 0!important}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-pots{top:calc(var(--gfr-board-top) - 54px)!important;height:54px!important;min-height:54px!important;align-items:end!important}

/* Names live above the seat boundary, with balances and chips inside. */
body.gfr-portrait .gfr-seat-label>span{position:absolute!important;left:50%;bottom:100%;transform:translateX(-50%);width:max-content;max-width:min(160px,24vw);white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-weight:700;font-size:clamp(13px,2.2vw,25px);line-height:1.15;text-align:center;color:var(--palette-text,#fff);text-shadow:0 1px 3px #000}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat{height:calc(52px + 24px * var(--gfr-chip-scale,1))!important;min-height:calc(52px + 24px * var(--gfr-chip-scale,1))!important;max-height:calc(52px + 24px * var(--gfr-chip-scale,1))!important}
.gfr-reference-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:2px 4px 8px;min-height:44px}.gfr-reference-bar[hidden]{display:none!important}.gfr-reference-bar button{min-height:44px;padding:6px 14px;font-size:clamp(14px,2vw,24px);background:var(--palette-surface,#251a36);color:var(--palette-text,#fff);border:1px solid var(--palette-line,#b89ccc);border-radius:8px}.gfr-reference-dialog{background:var(--palette-surface,#251a36);color:var(--palette-text,#fff);max-width:650px;max-height:85dvh;overflow:auto;border:2px solid var(--palette-line,#b89ccc);border-radius:12px;padding:18px;font-size:clamp(16px,2vw,24px)}.gfr-reference-dialog p,.gfr-reference-dialog li{line-height:1.5}.gfr-reference-dialog button{min-height:44px}

/* A chip is always 22px across and 3px per layer in every table location. */
body.gfr-shared .gfr-cluster{display:inline-block!important;position:static!important;width:var(--gfr-svg-width,22px)!important;height:var(--gfr-svg-height,16px)!important;background-size:100% 100%!important;background-position:center bottom!important;background-repeat:no-repeat!important;transform:none!important;zoom:1!important;padding:0!important;margin:0!important;flex-shrink:0!important;filter:drop-shadow(0 1px 1px #0008)}
body.gfr-portrait .gfr-center{position:absolute;left:4px;right:4px;display:flex;flex-direction:column;align-items:center;gap:8px}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-center>.gfr-game-info{position:static!important;display:grid!important;gap:5px!important;inset:auto!important;width:100%;text-align:center;transform:none!important;margin:0!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-center>.gfr-pots{position:static!important;display:flex!important;inset:auto!important;min-height:0!important;height:auto!important;width:100%;margin:0!important;gap:10px!important;transform:none!important;flex-wrap:wrap!important}
body.gfr-portrait .gfr-center>.gfr-pots:empty{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-center>.board-zone{position:static!important;inset:auto!important;transform:none!important;width:100%!important;margin:0!important}
body.gfr-shared .gfr-center .gfr-money>strong{font-size:clamp(14px,2vw,24px)!important;line-height:1.15!important;padding:2px 6px!important}
body.gfr-shared :is(button,select,input,summary,.stat-row,.seat-name,.gfr-seat-label,.gfr-state,.queue-indicator){font-size:clamp(14px,1.7vw,28px);line-height:1.15}

@media(max-width:450px){body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat{height:64px!important;min-height:64px!important;max-height:64px!important}body.gfr-portrait .gfr-center>.gfr-game-info{gap:3px!important;font-size:13px!important}}

body.gfr-portrait .gfr-seat-label{width:100%!important}body.gfr-portrait .gfr-own-stack>strong{font-size:clamp(26px,4vw,60px)!important;line-height:1.05;font-weight:800}

@media(max-width:450px){body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat{padding:2px 3px!important}body.gfr-portrait .gfr-seat-label>strong{line-height:1!important}body.gfr-portrait .gfr-state{line-height:12px!important}}

/* Player cards retain their full card dimensions; the viewing window exposes only the top half. */
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hole{height:calc(var(--gfr-hole-card)*.7)!important;min-height:calc(var(--gfr-hole-card)*.7)!important;max-height:calc(var(--gfr-hole-card)*.7)!important;overflow:hidden!important;align-items:flex-start!important;padding:0!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-own-stack{bottom:calc(var(--gfr-hero-bottom) + var(--gfr-hole-card)*.7 + 16px)!important;min-height:40px!important}
body.gfr-shared .gfr-pots{flex-direction:column!important;align-items:center!important;flex-wrap:nowrap!important;gap:10px!important}
body.gfr-shared .gfr-pots>button{width:min(240px,100%)!important;max-width:100%!important;min-width:120px!important;flex-shrink:0!important}
body.gfr-shared .gfr-pots .gfr-money{display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;gap:3px 10px!important;width:100%!important;text-align:left}
body.gfr-shared .gfr-pots .gfr-cluster{grid-column:1;grid-row:1/3;align-self:center}
body.gfr-shared .gfr-pots .gfr-pot-name{grid-column:2;grid-row:1;font-weight:700;font-size:clamp(16px,2.5vw,28px);line-height:1.1}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .gfr-pots .gfr-money>strong{grid-column:2;grid-row:2;display:block!important;width:100%!important;min-height:28px!important;font-size:clamp(24px,4vw,48px);line-height:1.05!important;text-align:left;padding:2px 6px!important}
body.gfr-portrait .gfr-center>.gfr-pots{max-height:min(30dvh,360px)!important;overflow:auto!important;scrollbar-width:thin;padding:3px 8px!important;box-sizing:border-box}
body.gfr-portrait .gfr-center>.gfr-pots>button:first-child{position:sticky;top:0;z-index:2;background:var(--palette-surface,#251a36)!important;border-radius:6px}
body.gfr-portrait .gfr-seat-label>span{max-width:min(210px,28vw)!important;width:max-content!important;min-width:100%;font-size:clamp(20px,3.2vw,40px)!important;line-height:1.1!important;font-weight:800!important}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .position-badge{box-sizing:border-box!important;display:inline-grid!important;place-items:center!important;min-width:36px!important;width:36px!important;height:36px!important;padding:2px!important;font-size:20px!important;line-height:1!important;border:2px solid #171717!important;box-shadow:0 2px 5px #0008!important;color:#111!important;flex-shrink:0!important}
body.gfr-portrait #opponents .position-badges{position:absolute!important;left:calc(100% + 4px)!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;display:flex!important;gap:4px!important;z-index:6}
body.gfr-portrait #opponents .gfr-right-seat .position-badges{left:auto!important;right:calc(100% + 4px)!important}
body.gfr-portrait .gfr-own-stack .position-badges{position:static!important;display:flex!important;gap:5px!important;transform:none!important;align-items:center}
@media(min-width:451px){body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .position-badge{min-width:48px!important;width:48px!important;height:48px!important;font-size:27px!important}}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-center>.gfr-pots{align-items:center!important;justify-content:flex-start!important}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .gfr-pots>button{align-self:center!important;width:min(210px,100%)!important;max-width:100%!important}
body.player-ux.adaptive-layout.gfr-shared.landscape-active #tables-page #landscape-felt .gfr-land-pots{height:auto!important;min-height:0!important;max-height:32dvh;overflow:auto;flex-direction:column!important;align-items:center!important}
body.gfr-portrait .gfr-seat-label>span{max-width:min(210px,calc(var(--gfr-seat-width) + 20px))!important}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hole>.dragon-mystery{justify-content:flex-start!important;align-items:center!important;padding-top:6px!important}

body.gfr-portrait .gfr-center{gap:6px!important}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-center>.gfr-pots{flex-direction:column!important;flex-wrap:nowrap!important}

/* Pot information is printed directly on felt. Keep focus outlines for keyboard access. */
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .gfr-pots,body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .gfr-pots>button,body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .gfr-pots .gfr-money,body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .gfr-pots .gfr-money>strong,body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .gfr-pots .gfr-pot-name{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;text-shadow:0 1px 3px #000}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .gfr-pots>button:first-child{position:static!important}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .gfr-wager .gfr-money>strong,body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-felt .gfr-wager>strong,body.gfr-shared .seat-wager{font-size:24px!important;line-height:1.1!important;font-weight:800!important;white-space:nowrap!important;width:max-content!important;min-width:max-content!important;max-width:none!important;overflow:visible!important;font-variant-numeric:tabular-nums}
.gfr-marker-needs-review{outline:2px dashed #ffad60!important}

body.gfr-portrait .gfr-wager{min-width:76px!important;transition:none!important;animation:none!important}

body.gfr-portrait .gfr-wager-graphic{display:flex;justify-content:center;align-items:flex-end;width:100%;height:26px;min-height:26px;flex-shrink:0}

/* Pot labels and amounts occupy separate measured rows, including their full glyph heights. */
body.player-ux.adaptive-layout.gfr-shared.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-pots .gfr-money,body.player-ux.adaptive-layout.gfr-shared.landscape-active #tables-page #landscape-felt .gfr-pots .gfr-money{display:grid!important;grid-template-rows:auto auto!important;row-gap:8px!important;column-gap:10px!important;align-items:start!important}
body.player-ux.adaptive-layout.gfr-shared.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-pots .gfr-money>strong,body.player-ux.adaptive-layout.gfr-shared.landscape-active #tables-page #landscape-felt .gfr-pots .gfr-money>strong{grid-row:2!important;height:auto!important;min-height:1.15em!important;line-height:1.15!important;margin:0!important;padding:0!important;align-self:start!important}
body.player-ux.adaptive-layout.gfr-shared.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-pots .gfr-pot-name,body.player-ux.adaptive-layout.gfr-shared.landscape-active #tables-page #landscape-felt .gfr-pots .gfr-pot-name{grid-row:1!important;height:auto!important;line-height:1.15!important;margin:0!important;padding:0!important;align-self:start!important}

@media(max-width:450px){body.player-ux.adaptive-layout.gfr-shared.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-pots .gfr-money{row-gap:6px!important}}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-own-stack{bottom:calc(var(--gfr-hero-bottom) + var(--gfr-hole-card)*.7 + 6px)!important}

/* Standing wagers sit directly on felt; composed-wager emphasis is independent. */
body.gfr-shared .gfr-wager,body.gfr-shared .gfr-wager>strong,body.gfr-shared .gfr-wager .gfr-wager-owner,body.gfr-shared .seat-wager{background:transparent!important;border:0!important;box-shadow:none!important;text-shadow:0 1px 3px #000,0 0 4px #000;color:var(--palette-text,#fff)!important}
.gfr-runout-faces{position:absolute;inset:0;pointer-events:none;z-index:75;overflow:hidden}.gfr-runout-faces[hidden]{display:none!important}
.gfr-runout-hand{position:absolute;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none}
.gfr-runout-hand>strong{font-size:clamp(14px,2.4vw,26px);line-height:20px;color:var(--palette-text,#fff);text-shadow:0 1px 4px #000;background:var(--palette-surface,#20172e);border-radius:5px;padding:0 4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gfr-runout-fan{display:flex;justify-content:center;isolation:isolate}
body.gfr-shared #tables-page .felt .gfr-runout-hand .gfr-runout-fan>.card,body.gfr-shared #tables-page .felt .gfr-runout-hand .gfr-runout-fan>.card-back{position:relative!important;width:var(--runout-card-width)!important;height:var(--runout-card-height)!important;min-width:var(--runout-card-width)!important;max-width:none!important;flex:0 0 var(--runout-card-width)!important;margin:0!important;transform:none!important;font-size:calc(var(--runout-card-width)*.32)!important;line-height:1!important;padding:3px!important;box-sizing:border-box!important}
body.gfr-shared #tables-page .felt .gfr-runout-hand .gfr-runout-fan>.card:not(:first-child),body.gfr-shared #tables-page .felt .gfr-runout-hand .gfr-runout-fan>.card-back:not(:first-child){margin-left:calc(var(--runout-card-width)*-.52)!important}
body.gfr-shared #tables-page .felt .gfr-runout-hand .card .suit{font-size:calc(var(--runout-card-width)*.27)!important}
body.gfr-shared #tables-page .felt .gfr-runout-source{visibility:hidden!important}

body.gfr-shared #tables-page .felt .gfr-runout-hand .card .suit{position:absolute!important;left:3px!important;right:auto!important;top:calc(var(--runout-card-width)*.38)!important;bottom:auto!important;line-height:1!important}

/* Reclaim secondary padding during a decision before covering any card index. */
body.player-ux.adaptive-layout.gfr-portrait.gft-open:not(.landscape-active) #tables-page #landscape-felt .gfr-center{gap:0!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-open:not(.landscape-active) #tables-page #landscape-felt .gfr-center>.gfr-pots{padding:0 8px!important}
body.player-ux.adaptive-layout.gfr-shared.gfr-portrait.gft-open:not(.landscape-active) #tables-page #landscape-felt .gfr-pots .gfr-money{row-gap:6px!important}

/* Logged phone repairs: references above felt, a separate top pot rail, clear seats. */
body.gfr-shared .gfr-reference-bar{display:grid!important;grid-template-columns:minmax(74px,.24fr) minmax(0,1fr) minmax(88px,.28fr)!important;gap:5px!important;align-items:center!important;min-height:44px!important}
body.gfr-shared .gfr-reference-bar>button{min-width:0!important;width:100%!important;padding:3px!important;min-height:44px!important;box-sizing:border-box!important}
body.gfr-shared .gfr-reference-bar>.gfr-game-info{display:grid!important;position:static!important;inset:auto!important;transform:none!important;gap:2px!important;width:100%!important;min-width:0!important;margin:0!important;text-align:center!important;color:var(--palette-text,#fff)!important}
body.gfr-shared .gfr-reference-bar>.gfr-game-info>*{display:block;line-height:1.15!important;white-space:normal!important;overflow-wrap:normal!important;min-width:0!important}
body.gfr-shared .gfr-reference-bar.gfr-references-off{grid-template-columns:minmax(0,1fr)!important}
body.gfr-shared .gfr-reference-bar.gfr-references-off>button{display:none!important}
body.player-ux.adaptive-layout.gfr-shared.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt>.gfr-pots{position:absolute!important;right:auto!important;bottom:auto!important;height:auto!important;min-height:0!important;transform:translateX(-50%)!important;width:var(--gfr-pot-rail-width,100px)!important;min-width:0!important;max-width:none!important;display:flex!important;flex-direction:column!important;gap:10px!important;align-items:stretch!important;overflow:auto!important;padding:2px!important;box-sizing:border-box!important;z-index:12!important}
body.player-ux.adaptive-layout.gfr-shared.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt>.gfr-pots>button{width:100%!important;min-width:0!important;padding:0!important;flex:none!important;max-width:none!important}
body.player-ux.adaptive-layout.gfr-shared.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt>.gfr-pots .gfr-money{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;width:100%!important;text-align:center!important}
body.gfr-portrait .gfr-pots .gfr-pot-name{order:0!important;line-height:1.1!important;text-align:center!important;max-width:100%!important}
body.gfr-portrait .gfr-pots .gfr-money>strong{order:1!important;line-height:1.1!important;text-align:center!important;max-width:100%!important}
body.gfr-portrait .gfr-pots .gfr-cluster{order:2!important;flex:none!important}

body.player-ux.adaptive-layout.gfr-shared.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt>.gfr-pots:empty{display:none!important}

body.gfr-portrait .gfr-pots .gfr-pot-name{display:block!important;width:100%!important;box-sizing:border-box!important}
.gfr-portrait-best-hand {
 position: absolute;
 left: 14%;
 right: 14%;
 text-align: center;
 z-index: 6;
 font-size: clamp(11px, 3vw, 16px);
 line-height: 1.2;
 font-weight: 700;
 overflow-wrap: anywhere;
 pointer-events: none;
}
.gfr-portrait-best-hand[hidden] { display: none; }


body.gfr-portrait .gfr-last-hand:not([hidden]),
body.gfr-portrait .gfr-queue-shortcuts:not([hidden]) {
 bottom: calc(8px + var(--gfr-footer-offset, 0px)) !important;
}
body.gfr-portrait .gfr-queue-shortcuts:not([hidden]) { left: 126px; }
body.gfr-portrait .gfr-wager-needs-review { visibility: hidden; }

body.gfr-portrait > .gfr-last-hand:not([hidden]),
body.gfr-portrait > .gfr-queue-shortcuts:not([hidden]) {
 position: fixed !important;
 top: calc(var(--gfr-portrait-footer-top, 100dvh - 52px) - env(safe-area-inset-bottom, 0px)) !important;
 bottom: auto !important;
 z-index: 45 !important;
}
body.gfr-portrait:not([data-page="tables"]) > .gfr-last-hand,
body.gfr-portrait:not([data-page="tables"]) > .gfr-queue-shortcuts { display: none !important; }


/* graphics-terminal.css */
#gft-handle,.gft-hint,.gft-fallback{display:none}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #gft-handle:not([hidden]){position:fixed;left:var(--gft-left);bottom:max(6px,env(safe-area-inset-bottom));width:var(--gft-width);height:84px;min-height:84px;z-index:85;display:flex;align-items:center;justify-content:center;gap:12px;background:var(--palette-surface,#291d3e);color:var(--palette-text,#fff);border:2px solid #ffe15a;border-radius:12px;font-size:18px;font-weight:800}#gft-handle strong{font-size:clamp(48px,8vw,80px);line-height:1;color:#ffe15a;font-variant-numeric:tabular-nums}#gft-handle.gft-urgent strong{background:#ad2031;color:white;border-radius:8px;padding:4px}#gft-handle span{max-width:180px;font-size:16px;text-align:left}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .action-area{box-sizing:border-box}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock,body.gft-retracted #landscape-dock{position:fixed!important;left:var(--gft-left)!important;right:auto!important;bottom:var(--gft-bottom)!important;top:auto!important;width:var(--gft-width)!important;height:auto!important;max-height:none!important;min-height:0!important;background:var(--palette-surface,#251a36)!important;color:var(--palette-text,#fff)!important;border:2px solid var(--palette-line,#a481bd)!important;border-radius:16px!important;z-index:80!important;padding:6px 8px!important;margin:0!important;display:block!important}
body.gft-retracted #landscape-dock{visibility:hidden!important;pointer-events:none!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .gft-hint{display:block!important;font-size:10px!important;margin:0!important;line-height:12px!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .turn-line{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:5px!important;min-height:68px!important;padding:0!important;margin:0!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #turn-label{font-size:12px!important;min-width:45px!important;flex:1}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #add-time{min-width:64px!important;width:auto!important;height:44px!important;min-height:44px!important;max-width:100px!important;font-size:12px!important;padding:3px!important;flex:none!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #turn-timer{font-size:44px!important;letter-spacing:-2px!important;flex:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #best-hand{display:none!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .action-contribution{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:2px 0!important;padding:0!important;min-height:30px!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .action-contribution .stat-row{display:block!important;padding:2px!important;font-size:9px!important;line-height:1.1!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .action-contribution .stat-row strong{font-size:14px!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .action-buttons{display:flex!important;flex-wrap:wrap!important;gap:3px!important;padding:0!important;margin:0!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .raise-field{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:3px!important;width:100%!important;margin:0!important;padding:0!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .raise-field>span{font-size:11px!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #raise-amount{height:44px!important;min-height:44px!important;width:70px!important;flex:1!important;font-size:22px!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .ux-bet-modes{flex:2!important;display:flex!important;gap:3px!important;min-width:0!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .ux-bet-modes button{height:44px!important;min-height:44px!important;font-size:11px!important;padding:2px!important;min-width:0!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #ux-wager-preview{font-size:10px!important;line-height:12px!important;width:100%!important;margin:0!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #bet-controls{width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:3px!important;padding:0!important;margin:0!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #bet-controls>button{min-width:44px!important;min-height:44px!important;height:44px!important;flex:1!important;font-size:12px!important;padding:3px!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .fixed-actions{position:static!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;width:100%!important;margin:3px 0 0!important;padding:0!important;background:transparent!important;transform:none!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .fixed-actions button{min-width:0!important;min-height:44px!important;max-width:none!important;height:auto!important;font-size:14px!important;padding:6px 2px!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #check-call{background:#087c45!important;color:white!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #raise{background:#ffe149!important;color:black!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #allin{background:#f7434f!important;color:black!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #fold{background:#070709!important;color:white!important}
body.gft-waiting .action-buttons,body.gft-waiting .action-contribution,body.gft-waiting #ux-wager-preview,body.gft-waiting .turn-line{display:none!important}.gft-fallback:not([hidden]){display:block;position:absolute;left:10px;right:10px;bottom:5px;background:var(--palette-surface,#251a36);color:var(--palette-text,#fff);border:1px solid #e5bd69;padding:6px;font-size:12px;z-index:10}body.gft-fit-failed #landscape-dock{position:relative!important;visibility:visible!important;pointer-events:auto!important;bottom:auto!important;left:auto!important;width:100%!important}
@media(max-width:370px){body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) .fixed-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(prefers-reduced-motion:reduce){body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock{animation:none!important;transition:none!important}}

body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock{display:block!important;min-height:0!important;max-height:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .turn-line{display:grid!important;grid-template-columns:minmax(35px,1fr) auto 68px!important;min-height:66px!important;height:66px!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #add-time{position:static!important;grid-column:3!important;grid-row:1!important;min-height:44px!important;height:44px!important;max-height:44px!important;width:68px!important;margin:0!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .raise-field{order:1!important;height:auto!important;min-height:44px!important;max-height:none!important;display:flex!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #bet-controls{order:2!important;min-height:44px!important;max-height:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .fixed-actions{order:3!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;min-height:44px!important;margin:3px 0 0!important;padding:0!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .fixed-actions button{font-size:14px!important;height:44px!important;min-height:44px!important;margin:0!important;line-height:16px!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #ux-feedback:empty{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock>#ux-wager-preview{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .action-contribution{height:34px!important;min-height:34px!important;margin:0!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .action-contribution .stat-row span{font-size:9px!important;line-height:10px!important}
@media(max-width:370px){body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .fixed-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .ux-hand-summary{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .raise-field{display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;grid-template-rows:44px 14px!important;gap:2px!important;height:60px!important;min-height:60px!important;width:100%!important;max-width:none!important;padding:0!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .raise-field>span{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #raise-amount{grid-column:1!important;grid-row:1!important;display:block!important;width:80px!important;max-width:none!important;height:44px!important;min-height:44px!important;position:static!important;margin:0!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .raise-field .ux-bet-modes{grid-column:2!important;grid-row:1!important;display:flex!important;flex-wrap:nowrap!important;width:100%!important;min-width:0!important;margin:0!important;position:static!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .raise-field .ux-bet-modes button{flex:1!important;font-size:11px!important;height:44px!important;max-width:none!important;min-width:0!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .raise-field #ux-wager-preview{grid-column:1/-1!important;grid-row:2!important;display:block!important;position:static!important;min-height:14px!important;height:14px!important;max-height:14px!important;margin:0!important;padding:0!important;width:100%!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #bet-controls{display:flex!important;flex-wrap:nowrap!important;min-height:44px!important;height:44px!important;gap:3px!important;width:100%!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #bet-controls>small{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #bet-controls>button{flex:1 1 44px!important;max-width:60px!important;width:44px!important;min-width:44px!important;min-height:44px!important;height:44px!important;padding:2px!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #gft-more-presets{flex:1!important;position:relative!important;min-width:44px!important;height:44px!important;margin:0!important;padding:0!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #gft-more-presets>summary{min-height:44px!important;min-width:44px!important;display:grid!important;place-items:center!important;border:1px solid currentColor;border-radius:6px;font-size:11px}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #gft-more-presets[open]{position:relative!important;z-index:150!important;background:var(--palette-surface,#251a36)}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #gft-more-presets[open]>button{display:block!important;position:relative!important;width:100%!important;min-height:44px!important;background:var(--palette-surface,#251a36)}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .action-buttons{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:3px!important;min-height:0!important;height:auto!important;max-height:none!important;padding:0!important;margin:0!important}

body.gft-landscape #gft-handle:not([hidden]){display:flex!important;position:fixed;bottom:6px;right:8px;left:auto;width:280px;height:78px;min-height:78px;z-index:120;align-items:center;justify-content:center;gap:8px;background:var(--palette-surface,#251a36);color:var(--palette-text,#fff);border:2px solid #ffe15a;border-radius:12px}body.gft-landscape[data-landscape-hand=left] #gft-handle{left:8px;right:auto}body.gft-landscape #gft-handle strong{font-size:48px}body.gft-landscape.gft-retracted #landscape-dock{visibility:hidden!important;pointer-events:none!important}body.gft-landscape #landscape-dock .turn-line{min-height:56px!important;height:56px!important}body.gft-landscape #turn-timer{font-size:44px!important;line-height:1!important;background:#ffe15a!important;color:#181020!important;padding:4px!important;border-radius:8px!important}body.gft-landscape #turn-timer.urgent{background:#ad2031!important;color:white!important}body.gft-landscape #landscape-dock #add-time{min-height:44px!important;height:44px!important}

body.player-ux.adaptive-layout.gfr-portrait.gft-waiting:not(.landscape-active) #landscape-dock{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;visibility:visible!important;pointer-events:auto!important;z-index:auto!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-waiting:not(.landscape-active) #landscape-dock .action-buttons{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-waiting:not(.landscape-active) #landscape-dock .action-contribution{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-waiting:not(.landscape-active) #landscape-dock .turn-line{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-waiting:not(.landscape-active) #landscape-dock .ux-hand-summary{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-waiting:not(.landscape-active) #landscape-dock .gft-hint{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-waiting:not(.landscape-active) #landscape-dock #action-help{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-waiting:not(.landscape-active) #landscape-dock #mobile-next-hand{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-waiting:not(.landscape-active) #landscape-dock #demo-pause-inline{display:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-waiting:not(.landscape-active) #landscape-dock #landscape-expand{display:none!important}

body.player-ux.adaptive-layout.gfr-portrait.gfr-show-muck #landscape-dock{position:fixed!important;left:var(--gft-left)!important;bottom:0!important;top:auto!important;width:var(--gft-width)!important;max-height:180px!important;background:var(--palette-surface,#251a36)!important;z-index:70!important;border:1px solid var(--palette-line,#b89ccc)!important;padding:4px!important}
body.player-ux.adaptive-layout.gfr-portrait.gfr-show-muck .result-comparison{bottom:190px!important;max-height:calc(100% - 204px)!important}

body.player-ux.adaptive-layout.gfr-portrait.gft-enabled.gft-waiting.gfr-show-muck:not(.landscape-active) #landscape-dock{position:fixed!important;left:var(--gft-left)!important;right:auto!important;bottom:0!important;top:auto!important;width:var(--gft-width)!important;height:190px!important;min-height:190px!important;max-height:190px!important;overflow:auto!important;z-index:70!important;background:var(--palette-surface,#251a36)!important;border:1px solid var(--palette-line,#b89ccc)!important;padding:4px!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled.gft-waiting.gfr-show-muck:not(.landscape-active) .result-comparison{bottom:210px!important;max-height:calc(100% - 224px)!important}

/* Keep reference and add/subtract controls beside exact entry, at all candidate sizes. */
body.player-ux.adaptive-layout.gfr-shared #landscape-dock .raise-field .ux-bet-modes{display:flex!important;visibility:visible!important;opacity:1!important;min-width:0!important;width:100%!important;gap:4px!important}
body.player-ux.adaptive-layout.gfr-shared #landscape-dock .raise-field .ux-bet-modes .reference-cycle,body.player-ux.adaptive-layout.gfr-shared #landscape-dock .raise-field .ux-bet-modes .bet-direction{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0!important;min-height:44px!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere;font-size:clamp(11px,1.7vw,20px)!important}
body.player-ux.adaptive-layout.gfr-shared #landscape-dock #raise{white-space:normal!important;overflow-wrap:anywhere;font-size:clamp(13px,1.8vw,24px)!important}

/* Separate rows rather than nested, overlapping field borders. */
body.player-ux.adaptive-layout.gfr-shared #landscape-dock .raise-field{border:0!important;box-shadow:none!important;background:transparent!important;gap:5px!important;padding:0!important}
body.player-ux.adaptive-layout.gfr-shared #landscape-dock .fixed-actions{gap:6px!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .raise-field{grid-template-columns:80px minmax(0,1fr)!important;grid-template-rows:48px 18px!important;height:71px!important;min-height:71px!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .raise-field .ux-bet-modes{grid-column:2!important;grid-row:1!important;align-self:stretch!important}
body.player-ux.adaptive-layout.gfr-shared #landscape-dock .fixed-actions>button{font-weight:800!important;line-height:1.1!important;letter-spacing:0!important}

body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .action-contribution .stat-row{font-size:clamp(11px,1.3vw,20px)!important;line-height:1.05!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .action-contribution .stat-row strong{display:block!important;font-size:clamp(16px,2vw,28px)!important;line-height:1.05!important}

body.player-ux.adaptive-layout.gfr-shared #landscape-dock .ux-bet-modes{display:none!important}
body.player-ux.adaptive-layout.gfr-shared #landscape-dock #gft-references:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-column:2!important;grid-row:1!important;gap:5px;width:100%;min-width:0;height:48px}
body.player-ux.adaptive-layout.gfr-shared #landscape-dock #gft-references select,body.player-ux.adaptive-layout.gfr-shared #landscape-dock #gft-references button{display:block!important;position:static!important;min-width:0!important;width:100%!important;max-width:none!important;min-height:44px!important;height:48px!important;white-space:normal!important;padding:4px!important;color:var(--palette-text,#fff)!important;background:var(--palette-surface,#251a36)!important;border:1px solid var(--palette-line,#b89ccc)!important;border-radius:6px}

body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .raise-field .ux-bet-modes{display:none!important}

body.player-ux.adaptive-layout.gfr-shared.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .ux-bet-modes,body.player-ux.adaptive-layout.gfr-shared.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .reference-cycle,body.player-ux.adaptive-layout.gfr-shared.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .bet-direction{display:none!important;visibility:hidden!important}

body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock{padding:4px 8px!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .turn-line{height:52px!important;min-height:52px!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock #turn-timer{height:52px!important;min-height:52px!important;box-sizing:border-box!important;padding:2px 6px!important;font-size:44px!important;line-height:1!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #landscape-dock .raise-field{grid-template-rows:44px 14px!important;height:62px!important;min-height:62px!important;gap:4px!important}
body.player-ux.adaptive-layout.gfr-shared #landscape-dock #gft-references:not([hidden]),body.player-ux.adaptive-layout.gfr-shared #landscape-dock #gft-references select,body.player-ux.adaptive-layout.gfr-shared #landscape-dock #gft-references button{height:44px!important;min-height:44px!important}

/* The global select enhancer adds a cycle button; this native reference selector needs no extra control. */
body.player-ux.adaptive-layout.gfr-shared #landscape-dock #gft-references>.select-cycle{display:none!important;visibility:hidden!important}
body.player-ux.adaptive-layout.gfr-shared #landscape-dock #gft-references>#gft-reference{grid-column:1!important;grid-row:1!important}
body.player-ux.adaptive-layout.gfr-shared #landscape-dock #gft-references>#gft-direction{grid-column:2!important;grid-row:1!important}

/* Explicit rows: statistics, composed wager, presets, then legal actions. */
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .raise-field{display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;grid-template-rows:44px 14px!important;height:64px!important;min-height:64px!important;gap:6px 5px!important;position:static!important;margin:6px 0!important;overflow:visible!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock #ux-wager-preview{height:14px!important;min-height:14px!important;line-height:14px!important;padding:0!important;margin:0!important;grid-column:1/-1!important;grid-row:2!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .action-contribution{margin:4px 0!important;gap:5px!important;align-items:stretch!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .action-contribution .stat-row{box-sizing:border-box!important;min-height:38px!important;height:38px!important;padding:2px!important;overflow:hidden!important;line-height:1.1!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .action-contribution .stat-row strong{height:18px!important;line-height:18px!important;margin:0!important;padding:0!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock #add-time{font-size:clamp(16px,2vw,30px);white-space:normal!important;line-height:1.1!important;overflow-wrap:normal!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .gft-hint{height:auto!important;min-height:16px!important;line-height:1.2!important;white-space:normal!important;max-width:100%!important;overflow-wrap:break-word!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock #gft-more-presets[open]>button{font-weight:700;line-height:1.1!important;padding:4px!important;border:1px solid var(--palette-line,#b89ccc);border-radius:6px;color:var(--palette-text,#fff)}
@media(min-width:451px){body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #opponents .seat{height:auto!important;min-height:100px!important;max-height:170px!important}body.gfr-portrait .gfr-seat-label>strong{min-height:44px;font-weight:800;line-height:1.05!important}}

body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .turn-line{grid-template-columns:minmax(35px,1fr) auto clamp(68px,12vw,180px)!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock #add-time{width:100%!important;max-width:none!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .gft-hint{font-size:clamp(14px,1.4vw,26px);min-height:0!important}
@media(max-width:450px){body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock{padding:2px 8px!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .action-contribution{margin:0!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .action-contribution .stat-row{height:36px!important;min-height:36px!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .raise-field{margin:2px 0!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .gft-hint{font-size:12px!important;line-height:12px!important}}
@media(min-width:451px){body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .raise-field{grid-template-rows:44px 26px!important;height:76px!important;min-height:76px!important}body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock #ux-wager-preview{height:26px!important;min-height:26px!important;line-height:26px!important}}

body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .action-contribution{margin:4px 0!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .raise-field{margin:4px 0!important}

@media(max-width:450px){body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .action-contribution,body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .raise-field{margin:2px 0!important}}

body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #gft-handle:not([hidden]){height:52px!important;min-height:52px!important;padding:2px 8px!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #gft-handle strong{font-size:44px!important;line-height:1!important}
body.gfr-portrait .gfr-pots.gfr-pots-compact>button:first-child{position:static!important}

/* Composed wager has timer-like emphasis, with a distinct cool color. */
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .raise-field{grid-template-columns:minmax(110px,.8fr) minmax(0,1.5fr)!important}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-dock #raise-amount{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;background:#a8ecff!important;color:#082537!important;border:3px solid #e5faff!important;box-shadow:0 0 12px #69dcff77!important;border-radius:9px!important;font-weight:900!important;font-size:40px;line-height:1!important;padding:1px 5px!important;letter-spacing:0!important;font-variant-numeric:tabular-nums}

.gfr-position-rail{display:none}body.gfr-position-fallback .gfr-position-rail{display:flex!important;grid-column:1!important;grid-row:1!important;gap:4px;align-items:center;max-width:100%;z-index:2;overflow:auto;scrollbar-width:thin}body.gfr-position-fallback #turn-label{visibility:hidden!important}.gfr-position-item{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:700;white-space:nowrap}.gfr-position-rail .position-badges{position:static!important;display:flex;align-items:center;transform:none!important}.gfr-position-rail .position-badge{display:grid;place-items:center;width:32px!important;min-width:32px!important;height:32px!important;font-size:18px!important;line-height:1;border:2px solid #161616;border-radius:50%;background:#fff;color:#111}.gfr-position-rail .small_blind{background:#ffd94a}.gfr-position-rail .big_blind{background:#42a9ff}

/* Explicit cells prevent the optional position rail displacing the countdown into statistics. */
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .turn-line #turn-label{grid-column:1!important;grid-row:1!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .turn-line #turn-timer{grid-column:2!important;grid-row:1!important}
body.player-ux.adaptive-layout.gfr-portrait.gft-enabled:not(.landscape-active) #tables-page #landscape-dock .turn-line #add-time{grid-column:3!important;grid-row:1!important}
body.gfr-position-fallback .gfr-position-rail{min-width:0!important}

/* One full-width preset row for the selected reference, with equal cells. */
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-dock #bet-controls{display:grid!important;grid-template-columns:repeat(var(--gft-preset-count,7),minmax(0,1fr))!important;gap:3px!important;flex-wrap:nowrap!important;width:100%!important}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-dock #bet-controls>.bet-preset{grid-row:1!important;min-width:0!important;width:100%!important;max-width:none!important;min-height:44px!important;height:44px!important;padding:2px!important;white-space:nowrap!important;box-sizing:border-box!important}
body.gfr-shared #bet-controls>#minimum-raise95,body.gfr-shared #bet-controls>small,body.gfr-shared #gft-more-presets{display:none!important}
body.gfr-shared #gft-reference{white-space:nowrap!important;min-width:0!important;width:100%!important;text-align:center!important}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-dock #add-time{background:#ffdc39!important;color:#17120a!important;border:2px solid #fff1a1!important;box-shadow:0 0 9px #ffdc3970!important;font-weight:850!important;min-height:44px!important;text-align:center!important;white-space:normal!important}
body.gfr-shared #add-time:disabled{box-shadow:none!important;opacity:.5}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-dock .action-contribution .stat-row{display:grid!important;grid-template-rows:16px 22px!important;height:42px!important;min-height:42px!important;gap:0!important;align-items:center!important;padding:2px!important;box-sizing:border-box!important;min-width:0!important;text-align:center!important;overflow:hidden!important}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-dock .action-contribution .stat-row>span{display:block!important;width:100%!important;height:16px!important;line-height:16px!important;white-space:nowrap!important;min-width:0!important}
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-dock .action-contribution .stat-row>strong{display:block!important;width:100%!important;height:22px!important;line-height:22px!important;white-space:nowrap!important;min-width:0!important}

body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-stage #landscape-dock #bet-controls>.bet-preset{display:block!important;grid-column:auto!important}

body.player-ux.adaptive-layout.gfr-shared.gft-enabled:is(.gfr-portrait,.landscape-active) #tables-page #landscape-dock .action-contribution .stat-row{height:48px!important;min-height:48px!important;grid-template-rows:16px 26px!important;padding:2px!important;border-width:1px!important;line-height:1!important}
body.player-ux.adaptive-layout.gfr-shared.gft-enabled:is(.gfr-portrait,.landscape-active) #tables-page #landscape-dock .action-contribution .stat-row>strong{height:26px!important;line-height:26px!important;margin:0!important;padding:0!important}
body.player-ux.adaptive-layout.gfr-shared.gft-enabled:is(.gfr-portrait,.landscape-active) #tables-page #landscape-dock .action-contribution .stat-row>span{height:16px!important;line-height:16px!important;margin:0!important;padding:0!important}

body.player-ux.adaptive-layout.gfr-shared.gft-enabled:is(.gfr-portrait,.landscape-active) #tables-page #landscape-dock .action-contribution{height:48px!important;min-height:48px!important;max-height:none!important;grid-template-rows:48px!important;flex:0 0 48px!important}


/* Keep the shared controls inside the existing handed landscape dock. */
body.player-ux.adaptive-layout.gfr-shared.gft-landscape #tables-page #landscape-stage #landscape-dock{flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;overflow:clip!important;padding:4px!important;box-sizing:border-box!important}
body.player-ux.adaptive-layout.gfr-shared.gft-landscape #tables-page #landscape-stage #landscape-dock .action-buttons{display:flex!important;flex-direction:column!important;position:static!important;height:auto!important;min-height:0!important;padding:0!important;gap:3px!important;width:100%!important}
body.player-ux.adaptive-layout.gfr-shared.gft-landscape #tables-page #landscape-stage #landscape-dock .raise-field{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;grid-template-rows:44px 44px!important;height:91px!important;min-height:91px!important;padding:0!important;margin:0!important;gap:3px!important;width:100%!important}
body.player-ux.adaptive-layout.gfr-shared.gft-landscape #tables-page #landscape-stage #landscape-dock #raise-amount{grid-row:1!important;grid-column:1!important;height:44px!important;min-height:44px!important}
body.player-ux.adaptive-layout.gfr-shared.gft-landscape #tables-page #landscape-stage #landscape-dock #gft-references{grid-row:1!important;grid-column:2!important;gap:3px!important}
body.player-ux.adaptive-layout.gfr-shared.gft-landscape #tables-page #landscape-stage #landscape-dock #gft-reference{white-space:normal!important;padding:1px!important}
body.player-ux.adaptive-layout.gfr-shared.gft-landscape #tables-page #landscape-stage #landscape-dock #landscape-slider-label{grid-row:2!important;grid-column:1/-1!important;position:static!important;height:44px!important;width:100%!important;margin:0!important}
body.player-ux.adaptive-layout.gfr-shared.gft-landscape #tables-page #landscape-stage #landscape-dock .fixed-actions{position:static!important;inset:auto!important;width:100%!important;gap:3px!important;flex:none!important;min-height:44px!important;margin:0!important}
body.player-ux.adaptive-layout.gfr-shared.gft-landscape #tables-page #landscape-stage #landscape-dock .landscape-preset-page{display:none!important}

/* Remove the full statistics row and use a single compact timer/extension row. */
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-stage #landscape-dock .action-contribution{display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;flex:0 0 0!important}
body.player-ux.adaptive-layout.gfr-shared.gft-enabled #tables-page #landscape-stage #landscape-dock .turn-line{height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0!important}
body.player-ux.adaptive-layout.gfr-shared.gft-enabled #tables-page #landscape-stage #landscape-dock #turn-timer,body.player-ux.adaptive-layout.gfr-shared.gft-enabled #tables-page #landscape-stage #landscape-dock #add-time{height:44px!important;min-height:44px!important;max-height:44px!important;box-sizing:border-box!important;margin:0!important;padding:0 3px!important;line-height:1!important;white-space:nowrap!important}
body.player-ux.adaptive-layout.gfr-shared.gft-enabled #tables-page #landscape-stage #landscape-dock #turn-timer{font-size:38px!important;letter-spacing:-1px!important}
body.player-ux.adaptive-layout.gfr-shared.gft-enabled #tables-page #landscape-stage #landscape-dock .gft-hint{font-size:clamp(12px,1.4vw,18px)!important;line-height:1.15!important;margin:0!important;min-height:0!important}
/* Inline timer text must honor the same actual box height as the extension. */
body.player-ux.adaptive-layout.gfr-shared.gft-enabled #tables-page #landscape-stage #landscape-dock #turn-timer{display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
body.player-ux.adaptive-layout.gfr-shared.gft-enabled #tables-page #landscape-stage #landscape-dock .turn-line{box-sizing:border-box!important;border:0!important;align-items:center!important}
/* The whole header is one extension-height row, with no extra text row. */
body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-stage #landscape-dock .gft-hint,body.player-ux.adaptive-layout.gfr-shared #tables-page #landscape-stage #landscape-dock #turn-label{display:none!important}
body.player-ux.adaptive-layout.gfr-shared.gft-enabled #tables-page #landscape-stage #landscape-dock .turn-line{display:grid!important;grid-template-columns:minmax(0,1fr) auto 68px!important;grid-template-rows:44px!important;gap:4px!important}
body.player-ux.adaptive-layout.gfr-shared.gft-enabled #tables-page #landscape-stage #landscape-dock #turn-timer{grid-column:2!important;grid-row:1!important}
body.player-ux.adaptive-layout.gfr-shared.gft-enabled #tables-page #landscape-stage #landscape-dock #add-time{grid-column:3!important;grid-row:1!important}
body.player-ux.adaptive-layout.gfr-shared .gfr-position-rail{grid-column:1!important;grid-row:1!important;max-height:44px!important;overflow:auto!important}
body.player-ux.adaptive-layout.gfr-portrait.gfr-spectating #tables-page #landscape-felt .gfr-own-stack,body.player-ux.adaptive-layout.gfr-portrait.gfr-spectating #tables-page #landscape-felt #hero-seat{visibility:hidden!important;pointer-events:none!important}
/* Presentation owns the foreground; the inactive dock must not cover evidence. */
body.player-ux.adaptive-layout.gfr-shared.dragon-drama-active #tables-page #landscape-stage #landscape-dock,body.player-ux.adaptive-layout.gfr-shared.comparison-active #tables-page #landscape-stage #landscape-dock{visibility:hidden!important;pointer-events:none!important;background:transparent!important;border-color:transparent!important}


body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hole {
 height: calc(var(--gfr-hole-card) * .46) !important;
 min-height: calc(var(--gfr-hole-card) * .46) !important;
 max-height: calc(var(--gfr-hole-card) * .46) !important;
 overflow: hidden !important;
}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-own-stack {
 bottom: calc(var(--gfr-hero-bottom) + var(--gfr-hole-card) * .46 + 6px) !important;
}


/* Keep both indexes inside the portrait crop at their existing font sizes. */
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hole>.card[data-card] {
 flex-direction: row !important;
 align-items: flex-start !important;
 justify-content: flex-start !important;
 gap: 2px !important;
}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hole>.card[data-card]>.suit {
 margin: 0 !important;
}
body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hole>.dragon-mystery {
 gap: 0 !important;
}

body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hole>.dragon-mystery {
 flex-direction: row !important;
 justify-content: center !important;
 padding-top: 2px !important;
}


/* future-notes.css */
.hole-privacy .private-card:not(.privacy-peeking){background:#19364b!important;color:transparent!important;border:2px solid #7996a9!important;text-shadow:none!important;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none;position:relative;cursor:pointer}
.hole-privacy .private-card:not(.privacy-peeking)>*{visibility:hidden!important}
.hole-privacy .private-card:not(.privacy-peeking)::before{content:'HOLD';position:absolute;inset:0;display:grid;place-items:center;color:#e8f1f5!important;font:700 11px system-ui;letter-spacing:.03em}
.hole-privacy .private-card:not(.privacy-peeking)::after{content:none!important}
.hole-privacy #best-hand,.hole-privacy .winner95-text>span:last-child,.hole-privacy .comparison-player>p,.hole-privacy .comparison-pot>p,.hole-privacy .comparison-hypothetical>p{visibility:hidden!important}
.private-card:focus-visible{outline:3px solid #ffd164;outline-offset:3px}
.privacy-history-hole{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}
.privacy-history-hole .card{width:64px;height:90px;font-size:22px}
.zesty-card{box-shadow:0 0 0 2px #9ae0c1}
.zesty-endpoint{outline:3px solid #ffd164;outline-offset:2px}


body #hole.folded-cards > .card:not(.private-card),
body #hole.folded-cards > .card.private-card.privacy-peeking,
body:not(.hole-privacy) #hole.folded-cards > .card,
body .seat.folded .mini-backs > .card {
 background: #a7a7a7 !important;
 color: #303030 !important;
 border-color: #777 !important;
 box-shadow: 0 2px 5px #5558 !important;
}
body #hole.folded-cards > .card:not(.private-card) > *,
body #hole.folded-cards > .card.private-card.privacy-peeking > *,
body:not(.hole-privacy) #hole.folded-cards > .card > *,
body .seat.folded .mini-backs > .card > * {
 color: #303030 !important;
}
body.hole-privacy #hole.folded-cards > .card.private-card:not(.privacy-peeking),
body .seat.folded .mini-backs > .card-back {
 background-color: #777 !important;
 background-image: none !important;
}
body.hole-privacy #hole.folded-cards > .private-card:not(.privacy-peeking)::before {
 color: #ddd !important;
}



/* allin-presentation.css */
.allin-timeline{position:absolute;z-index:60;top:0;left:5%;right:5%;padding:5px 9px;border-radius:8px;background:#17392e;color:#fff5ce;text-align:center;font-size:14px;pointer-events:none}.allin-timeline[hidden]{display:none!important}
body.hole-privacy .private-card.allin-authorized-card{color:#142820!important;background:#fff!important;background-image:none!important;text-shadow:none!important}
body.hole-privacy .private-card.allin-authorized-card.red{color:#b11c32!important}
body.hole-privacy .private-card.allin-authorized-card>*{visibility:visible!important;opacity:1!important}
body.hole-privacy .private-card.allin-authorized-card:before,body.hole-privacy .private-card.allin-authorized-card:after{display:none!important}
.allin-live .victory26-skip{display:none!important}.allin-live .result-comparison{top:7%;z-index:100!important}.allin-comparison-label{font-weight:bold}
.allin-live.comparison-active .gfr-runout-faces{display:none!important}
.allin-live #fund-sit95{display:none!important}
.allin-live.hole-privacy .comparison-player.allin-authorized-evidence>p,.allin-live.hole-privacy .comparison-pot>p,.allin-own-authorized.hole-privacy #best-hand{visibility:visible!important}
#allin-replay{max-width:min(95vw,750px);max-height:90vh;overflow:auto}.allin-replay-cards{display:flex;gap:4px;flex-wrap:wrap;margin:8px 0}.allin-replay-cards h3{width:100%;margin:4px}.allin-replay-cards .card{width:48px!important;height:66px!important;font-size:25px!important}


/* table-chat.css */
#table-chat-open {
 box-sizing: border-box;
 width: 100%;
 font-size: 22px;
 line-height: 15.6px;
}
#table-chat-open[hidden] { display: none; }
#table-chat-composer {
 box-sizing: border-box;
 width: min(32rem, calc(100vw - 24px));
 max-height: min(80dvh, 32rem);
 overflow: auto;
 color: var(--ink, #e9e2f5);
 background: var(--surface, #241936);
 border: 1px solid #a594be;
 border-radius: 12px;
 padding: 12px;
}
#table-chat-composer textarea { width: 100%; box-sizing: border-box; font-size: 16px; }
.table-chat-settings { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.table-chat-settings label { padding: 4px; }
.table-chat-previews { pointer-events: none; }
.table-chat-preview {
 position: fixed;
 z-index: 30;
 box-sizing: border-box;
 width: max-content;
 max-width: min(65vw, 22rem);
 font-size: clamp(16px, 4.5vw, 22px);
 line-height: 1.16;
 overflow: hidden;
 overflow-wrap: anywhere;
 white-space: pre-wrap;
 unicode-bidi: isolate;
 padding: 5px 8px;
 background: #120b20;
 color: #fff;
 border: 1px solid #a594be;
 border-radius: 8px;
}
#table-chat-composer textarea { font-size: 16px; }
.table-chat-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.table-chat-actions button { min-height: 44px; }
#table-chat-composer p:empty { display: none; }
.table-chat-options summary { cursor: pointer; }
.table-chat-preview strong, .table-chat-preview span { display: block; unicode-bidi: isolate; }
.table-chat-announcement {
 position: absolute;
 width: 1px;
 height: 1px;
 overflow: hidden;
 clip-path: inset(50%);
 white-space: nowrap;
}
@media (max-width: 600px) and (orientation: portrait) {
 #table-chat-composer {
  position: fixed;
  inset: var(--chat-composer-top, auto) 0 auto;
  margin: 0 auto;
  width: min(23rem, 64vw);
  padding: 6px;
 }
}

/* A dedicated dark surface keeps both colors readable across table themes. */
.table-chat-preview strong { color: #ffce54; }
.table-chat-preview span { color: #8cf0ff; }


/* table-presets.css */
#preset-table-trigger {
 min-height: 44px;
 flex: 5 1 0;
 min-width: 0;
 max-width: 100%;
 white-space: normal;
 overflow-wrap: anywhere;
 font-size: clamp(12px, 2.7vw, 18px);
 line-height: 1.1;
}
.player-ux .ux-quick #ux-tables { flex-grow: 5; min-width: 0; white-space: normal; }
#preset-table-picker { max-height: 85dvh; overflow: auto; }
#preset-table-picker details { margin-bottom: 8px; }
#preset-table-picker summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-weight: 700; }
#preset-table-picker details button { display: block; width: 100%; min-height: 44px; margin-bottom: 4px; text-align: left; white-space: normal; }

.preset-table-row { display: flex; gap: 6px; align-items: stretch; }
#preset-table-picker .preset-table-row > button:first-child { flex: 1; min-width: 0; }
#preset-table-picker .preset-table-row > button:nth-child(2) { width: auto; flex: 0 0 auto; }


/* club-ui.css */
html[data-mode="private"] {
  --club-text-small: 0.875rem;
  --club-text-body: 1rem;
  --club-text-heading: 1.25rem;
  --club-text-title: clamp(1.75rem, 4vw, 2.5rem);
  --club-space-small: 0.5rem;
  --club-space-medium: 1rem;
  --club-space-large: 1.5rem;
  --club-radius: 0.75rem;
}

html[data-mode="private"] :is(.page-heading p, .table-switch small, .balance-card span, .history-panel .helper) {
  font-size: var(--club-text-small);
  line-height: 1.4;
}

html[data-mode="private"] :is(.nav-button span, .table-switch strong, .history-panel button, #history-on-demand button) {
  font-size: var(--club-text-body);
}

html[data-mode="private"] :is(.history-panel h2, #history-on-demand h2, .wallet-grid h2) {
  font-size: var(--club-text-heading);
  line-height: 1.25;
  margin-block: 0 var(--club-space-medium);
}

html[data-mode="private"] #page-title {
  font-size: var(--club-text-title);
  line-height: 1.1;
}

html[data-mode="private"] .table-list {
  gap: var(--club-space-medium);
}

html[data-mode="private"] .table-switch {
  gap: var(--club-space-small);
  padding: var(--club-space-medium);
  border-radius: var(--club-radius);
}

html[data-mode="private"] :is(.seat-name, .hero-name) {
  font-size: var(--club-text-small);
}

html[data-mode="private"] :is(.seat-name strong, #hero-stack, #pot-total, .gfr-seat-stack, #turn-timer, #wallet-balance) {
  font-variant-numeric: tabular-nums;
}

html[data-mode="private"] :is(.action-buttons, #landscape-dock) .button {
  font-weight: 650;
}

html[data-mode="private"] :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

html[data-mode="private"] dialog.private-access {
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  overflow: auto;
  border: 1px solid #645679;
  border-radius: var(--club-radius);
  background: #21172f;
  color: #f7f3ff;
}

html[data-mode="private"] dialog.private-access::backdrop {
  background: #120b20;
}

.club-access-card {
  padding: clamp(1rem, 5vw, 2rem);
}

.club-access-card h1 {
  margin: 0 0 var(--club-space-medium);
  color: inherit;
  font-size: var(--club-text-title);
  line-height: 1.1;
}

.club-access-card p {
  margin: 0 0 var(--club-space-large);
  font-size: var(--club-text-body);
  line-height: 1.5;
}

.club-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--club-space-small);
}

.club-access-actions .button {
  min-height: 44px;
  padding: var(--club-space-small) var(--club-space-medium);
  font-size: var(--club-text-body);
}

.club-email-form {
  display: grid;
  gap: var(--club-space-medium);
}

.club-email-form label {
  display: grid;
  gap: var(--club-space-small);
}

.club-email-form input {
  width: 100%;
  min-height: 44px;
  padding: var(--club-space-small);
  border: 1px solid #645679;
  border-radius: 0.375rem;
  background: #fff;
  color: #21172f;
  font-size: max(16px, var(--club-text-body));
}

.club-email-form [role="status"] {
  margin: 0;
}

.club-email-form [role="status"]:empty {
  display: none;
}

/* The graphics header already shows the game and blinds in fitted landscape. */
html[data-mode="private"] body.landscape-active.gfr-shared.gft-landscape #tables-page #landscape-felt #felt-game-info {
  display: none !important;
}

/* The fixed portrait footer moves up above the iPhone home indicator. */
html[data-mode="private"] body.gfr-portrait {
  --club-portrait-safe-bottom: env(safe-area-inset-bottom, 0px);
}

html[data-mode="private"] body.gfr-portrait > :is(.gfr-queue-shortcuts, .gfr-last-hand):not([hidden]) {
  top: calc(var(--gfr-portrait-footer-top, 100dvh - 52px) - var(--club-portrait-safe-bottom)) !important;
}

html[data-mode="private"] body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt #hero-seat {
  bottom: calc(var(--gfr-hero-bottom) + var(--club-portrait-safe-bottom) + 8px) !important;
}

html[data-mode="private"] body.player-ux.adaptive-layout.gfr-portrait:not(.landscape-active) #tables-page #landscape-felt .gfr-own-stack {
  bottom: calc(var(--gfr-hero-bottom) + var(--gfr-hole-card) * .46 + var(--club-portrait-safe-bottom) + 14px) !important;
}

