/* One measured rail shared by Fun/Classy, local/online and every seat. */
.compact-game-toolbar{display:none}
.game-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.game-menu-grid button{min-height:48px;font-size:14px}
html[data-layout][data-visual-style] .game-shell .table-wrap .felt{inset:auto!important;left:var(--felt-left)!important;top:var(--felt-top)!important;width:var(--felt-width)!important;height:var(--felt-height)!important;border-width:var(--rail-border)!important;border-radius:50%}
html[data-layout][data-visual-style] .game-shell .table-wrap .seat[data-seat-player]{--badge-size:var(--table-badge-size);--portrait:var(--table-portrait);left:var(--seat-x)!important;top:var(--seat-y)!important;transform:translate(-50%,calc(var(--table-badge-size) * -.5))!important;padding:0!important;display:block;width:100px;text-align:center}
html[data-layout][data-visual-style] .game-shell .table-wrap .seat .seat-avatar.soft-avatar{--portrait:var(--table-portrait);width:var(--table-badge-size)!important;height:var(--table-badge-size)!important;display:block;box-sizing:border-box;padding:0!important;margin:0 auto}
html[data-layout][data-visual-style] .game-shell .table-wrap .seat .seat-name{display:flex;align-items:center;justify-content:center;gap:3px;margin:var(--name-gap) auto 0!important;min-height:12px;font-size:10px;line-height:12px;max-width:100%;padding:0;background:transparent;white-space:nowrap}
.player-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-layout][data-visual-style] .game-shell .table-wrap .seat .allin-marker{position:static!important;display:inline-block;flex-shrink:0;transform:none!important;clip-path:none!important;margin:0!important;padding:2px 4px;border-radius:4px;width:auto;height:auto;font-size:7px;line-height:9px}
html[data-layout][data-visual-style] .game-shell .table-wrap .seat .soft-avatar .dealer-chip{position:absolute;left:var(--dealer-x)!important;top:var(--dealer-y)!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:18px;height:18px;font-size:10px;z-index:6}
html[data-layout][data-visual-style] .game-shell .table-wrap .seat .seat-hole{left:calc(50% + var(--hole-x))!important;top:var(--hole-y)!important;transform:translateX(-50%)!important;z-index:5}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .hero-hand{position:absolute;left:calc(50% + var(--hand-x))!important;top:var(--hand-y)!important;display:flex;gap:var(--hand-gap)!important;transform:none!important;margin:0!important;z-index:5}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-hand .card{width:var(--hand-card-width)!important;height:var(--hand-card-height)!important;padding:4px}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-hand .rank{font-size:24px}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-hand .suit{font-size:34px}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-hand>.your-turn-badge{position:absolute;left:50%!important;top:-24px!important;bottom:auto!important;transform:translateX(-50%)!important;white-space:nowrap;pointer-events:none}
html[data-layout][data-visual-style] .game-shell .table-wrap .table-bet{left:var(--bet-x)!important;top:var(--bet-y)!important;transform:translate(-50%,-12px)!important;flex-direction:column;gap:3px;margin-top:0!important}
.game-shell .table-bet .chip-piles{transform:scale(1.11803398875);transform-origin:50% 50%}
html[data-layout][data-visual-style] .game-shell .table-wrap .table-center{left:50%!important;top:calc(var(--board-y) - 60px)!important;transform:translateX(-50%)!important;width:var(--board-width)!important;display:grid;grid-template-rows:10px 28px 22px auto 12px;gap:0}
.game-shell .table-center>.pot-label{margin:0;font-size:8px;line-height:10px}.game-shell .table-center>.pot-number{margin:0;font-size:27px;line-height:28px}.game-shell .table-center>.middle-chips{height:22px;margin:0 auto;align-self:center}.game-shell .table-center>.community{margin:0!important;gap:3px;justify-content:center}.game-shell .table-center>.street-label{margin:7px 0 0;font-size:8px;line-height:10px}.game-shell .table-center>.table-wordmark{display:none}
html[data-layout][data-visual-style] .game-shell .table-center .community .card{width:var(--board-card-width)!important;height:var(--board-card-height)!important;padding:3px}
html[data-layout=phone][data-visual-style] .game-shell>.topbar,html[data-layout=phone][data-visual-style] .game-shell .game-header{display:none!important}
html[data-layout=phone] .game-shell .compact-game-toolbar{display:flex;align-items:center;gap:8px;min-height:52px;height:52px;flex-shrink:0;border-bottom:1px solid var(--line,#dcdccd);margin-bottom:4px}
.compact-game-brand{display:flex;align-items:center;gap:3px;border:0;background:transparent;color:inherit;font-family:inherit;font-size:25px;font-weight:800;line-height:1;padding:0;min-height:42px}.compact-game-brand svg{width:29px;height:33px}.compact-table-meta{flex:1;font-size:11px;white-space:nowrap;opacity:.8;text-align:center}.compact-toolbar-button{position:relative;width:38px;height:42px;min-height:42px;border:1px solid var(--line,#dcdccd);border-radius:12px;background:transparent;color:inherit;font-size:24px;padding:0}.compact-toolbar-button b{position:absolute;right:-2px;top:-2px;font-size:9px;border-radius:8px;background:#edbd60;color:#183c2d;padding:2px 4px}
html[data-layout=phone][data-visual-style] .game-shell .table-wrap .seat[data-seat-player]{width:76px}
html[data-layout=phone][data-visual-style] .game-shell .table-wrap .seat .seat-name{font-size:8px;line-height:10px;min-height:10px}
html[data-layout=phone][data-visual-style] .game-shell .table-wrap .seat .soft-avatar .dealer-chip{width:14px;height:14px;font-size:8px}
html[data-layout=phone][data-visual-style] .game-shell .table-wrap .hero-hand .rank{font-size:20px}
html[data-layout=phone][data-visual-style] .game-shell .table-wrap .hero-hand .suit{font-size:30px}
html[data-layout=phone][data-visual-style] .game-shell .table-center .community .rank{font-size:12px}
html[data-layout=phone][data-visual-style] .game-shell .table-center .community .suit{font-size:18px}
/* Wider capsule: straight side sections, smoothly rounded upper/lower ends. */
html[data-layout][data-visual-style] .game-shell .table-wrap .felt{border-radius:50% / calc(25% + var(--rail-border) / 4)}
html[data-layout][data-visual-style] .game-shell .table-wrap .felt:after{border-radius:50% / 25%}
/* A single centered hero panel; no empty name column between portrait/cards. */
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat[data-seat-player]{width:calc(var(--table-badge-size) + 2 * var(--hand-card-width) + var(--hand-gap) + 36px);height:calc(var(--hand-card-height) + 37px);transform:translate(-50%,-50%)!important;background:#fffaf0!important;border:1px solid #cdd8c5!important;border-radius:19px;box-shadow:0 3px 0 #244e3018!important;z-index:7}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .seat-avatar.soft-avatar{position:absolute;left:12px;top:calc((var(--hand-card-height) - var(--table-badge-size)) / 2 + 10px);margin:0}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .hero-hand{left:auto!important;right:12px;top:10px!important}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .hero-info{position:absolute;left:10px;right:10px;bottom:7px;width:auto}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .seat-name{margin:0!important;max-width:100%;font-size:9px;line-height:11px}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .seat-action{display:none}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .soft-avatar .dealer-chip{left:calc(var(--table-badge-size) * .77)!important;top:1px!important}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat.acting{border-color:#39835b!important;box-shadow:0 0 0 2px #55966555,0 3px 0 #244e3018!important}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-hand>.your-turn-badge{top:-22px!important;font-size:9px}
html[data-layout][data-visual-style][data-appearance=dark] .game-shell .table-wrap .hero-seat[data-seat-player]{background:#20382f!important;border-color:#78967c!important}
html[data-layout][data-visual-style=classy] .game-shell .table-wrap .hero-seat[data-seat-player]{background:#fffbed!important;border-color:#b6a475!important;box-shadow:0 3px 0 #71634022!important}
html[data-layout][data-visual-style=classy][data-appearance=dark] .game-shell .table-wrap .hero-seat[data-seat-player]{background:#182a29!important;border-color:#9c8b60!important}
/* Keep the hero dealer and trophy on separate sides above the portrait. */
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .soft-avatar .dealer-chip{left:calc(var(--table-badge-size) * .28)!important;top:-8px!important}
/* Long presses on game surfaces should not select labels or open copy callouts.
   Preserve native editing and explicit selection in fields and editable areas. */
button,[role=button],.game-shell,.game-shell svg{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea,[contenteditable=true],.selectable-text{-webkit-user-select:text!important;user-select:text!important;-webkit-touch-callout:default}
/* Tighter hero framing without reducing the cards or timer diameter. */
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat[data-seat-player]{width:calc(var(--table-badge-size) + 2 * var(--hand-card-width) + var(--hand-gap) + 26px);height:calc(var(--hand-card-height) + 29px);border-radius:15px}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .seat-avatar.soft-avatar{left:8px;top:calc((var(--hand-card-height) - var(--table-badge-size)) / 2 + 6px)}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .hero-hand{right:8px;top:6px!important}
html[data-layout][data-visual-style] .game-shell .table-wrap .hero-seat .hero-info{bottom:5px}
.reveal-static{animation:none!important}
.table-chat-button{position:absolute;right:10px;top:auto;bottom:12px;z-index:15;display:grid;place-items:center;width:30px;height:32px;min-height:32px;padding:6px;border-radius:11px;border:1px solid #71917955;background:#fff9eadd;color:#345b42;box-shadow:0 1px 3px #183d3110;touch-action:manipulation}.table-chat-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.quick-chat-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.quick-chat-options button{min-height:48px;padding:10px;border:1px solid #72947855;background:#e6f0dd;color:#254c37;border-radius:12px;font-size:13px;font-family:inherit;text-align:center}.speech-bubble{position:absolute;left:calc(50% + var(--table-badge-size) / 2 + 4px);top:-30px;max-width:133px;width:max-content;border:1px solid #b7c9ad;border-radius:12px 12px 12px 3px;padding:7px 9px;background:#fffdf3;color:#254c37;font:500 11px/1.3 'DM Sans',sans-serif;box-shadow:0 2px 5px #163a241a;pointer-events:none;z-index:16}.seat[data-seat-side=right] .speech-bubble{left:auto;right:calc(50% + var(--table-badge-size) / 2 + 4px);border-radius:12px 12px 3px 12px}.seat[data-seat-side=top] .speech-bubble{left:50%;top:calc(var(--table-badge-size) + 31px);transform:translateX(-50%)}.hero-seat .speech-bubble{left:50%;top:-48px;transform:translateX(-50%);border-radius:12px 12px 3px 12px}.seat:has(.speech-bubble){z-index:14!important}html[data-appearance=dark] .table-chat-button{background:#223a32;color:#d4e9c8}html[data-appearance=dark] .quick-chat-options button{background:#263f34;color:#e2eed6}
.table-corner-button{position:absolute;z-index:15;width:30px;height:32px;min-height:32px;padding:6px;display:grid;place-items:center;border-radius:11px;border:1px solid #71917955;background:#fff9eadd;color:#345b42;box-shadow:0 1px 3px #183d3110;touch-action:manipulation}.table-corner-button svg,.compact-toolbar-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.compact-toolbar-button svg{margin:auto}.table-settings-button{right:10px;top:10px}.table-pause-button{left:10px;bottom:12px}.table-pause-button svg{stroke-width:3}.table-pause-button .play-fill{fill:currentColor;stroke-width:1}.table-corner-button b{position:absolute;right:-4px;top:-4px;padding:2px 4px;font-size:8px;line-height:10px;background:#edbd60;color:#183c2d;border-radius:7px}.table-corner-button:disabled{opacity:.5}.table-pause-button[aria-pressed=true]{background:#e3bd70;color:#233d2c}html[data-appearance=dark] .table-corner-button{background:#223a32;color:#d4e9c8}html[data-appearance=dark] .table-pause-button[aria-pressed=true]{background:#b8944f;color:#16271e}
.watching-status{background:#eef0df;color:#365a41;display:flex;align-items:center;gap:10px}.watching-status strong{white-space:nowrap}.watching-status>span{font-size:10px;opacity:.75;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.watching-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px}.watching-controls>div:first-child{min-width:0;display:flex;flex-direction:column;gap:4px;text-align:left}.watching-controls strong,.watching-label{font-size:12px}.watching-controls span{font-size:10px;opacity:.75}.watching-actions{display:flex;flex-direction:column;gap:4px;flex-shrink:0}.watching-actions .button{min-height:26px;padding:5px 8px;font-size:10px}.watching-actions #next-hand{font-size:9px}.watching-label{display:block;margin-bottom:4px}html[data-appearance=dark] .watching-status{background:#293c31;color:#d3dfc3}
/* Identical pause/play surfaces; busy table requests must not flash the icon. */
.table-pause-button,.table-pause-button[aria-pressed=true]{background:#fff9eadd;color:#345b42;border-color:#71917955;box-shadow:0 1px 3px #183d3110;transition:none;animation:none}
.table-corner-button.table-pause-button:disabled{opacity:1;cursor:wait}
.table-pause-button svg.pause-control-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html[data-appearance=dark] .table-pause-button,html[data-appearance=dark] .table-pause-button[aria-pressed=true]{background:#223a32;color:#d4e9c8;border-color:#71917955}
html[data-visual-style=classy][data-appearance=light] .table-pause-button,html[data-visual-style=classy][data-appearance=light] .table-pause-button[aria-pressed=true]{background:#fffbed;color:#3e5939;border-color:#b3a47b77}
html[data-layout] .game-main .controls.pause-hint{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;padding:10px 14px;text-align:left;background:#fffdf5;border:1px solid #dfe4d4;box-shadow:none}
.pause-hint-icon{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:10px;background:#e8efdf;color:#547548}
.pause-hint-icon .pause-control-icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pause-hint-copy{display:flex;flex-direction:column;gap:3px;max-width:270px;min-width:0}
html[data-layout] .game-main .pause-hint-copy strong{font:600 12px/1.2 'Outfit',sans-serif;color:#34553e}
html[data-layout] .game-main .pause-hint-copy>span{font:400 11px/1.4 'DM Sans',sans-serif;color:#7c8875}
.pause-status-caption{font-size:10px;opacity:.7}
html[data-layout] .game-main .controls .idle-controls{font-size:12px;line-height:1.45}
html[data-appearance=dark][data-layout] .game-main .controls.pause-hint{background:#21352c;border-color:#435345}
html[data-appearance=dark][data-layout] .game-main .pause-hint-copy strong{color:#d9e7cb}
html[data-appearance=dark][data-layout] .game-main .pause-hint-copy>span{color:#a6b59e}
html[data-appearance=dark] .pause-hint-icon{background:#304735;color:#c1d3ac}
html[data-visual-style=classy] .pause-hint-icon{background:#eae3d1;color:#7c704d}
html[data-visual-style=classy][data-appearance=dark] .pause-hint-icon{background:#3b3c2c;color:#d4c799}
/* Folded hero remains readable, but is clearly sitting this hand out. */
html[data-layout][data-visual-style] .game-shell .hero-seat.hero-folded{border-style:dashed!important;border-color:#9eaa98!important;box-shadow:none!important}
.hero-folded .hero-hand .card{opacity:.58;filter:saturate(.3)}.hero-folded .soft-avatar>svg{opacity:.65}.folded-hand-label{position:absolute;z-index:10;left:50%;top:-11px;transform:translateX(-50%);white-space:nowrap;padding:4px 10px;border:1px solid #a5ad9e;border-radius:12px;background:#eff0e6;color:#53624e;font:700 9px/1.1 'DM Sans',sans-serif;letter-spacing:.7px;pointer-events:none}.hero-folded-status{gap:10px;background:#eaece0;color:#52624c}.hero-folded-status strong{white-space:nowrap;font-size:11px}.hero-folded-status>span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-folded .voluntary-shown .card{opacity:1;filter:none}html[data-appearance=dark] .folded-hand-label{background:#374136;color:#d4dccd;border-color:#808e79}html[data-appearance=dark] .hero-folded-status{background:#2c382e;color:#ced8c7}
/* Voluntary reveals have their own larger cards and a clear, short flourish. */
.game-shell .seat.folded.showing-cards{opacity:1}.game-shell .seat.folded.showing-cards .soft-avatar,.game-shell .seat.folded.showing-cards .seat-name{opacity:.6}.game-shell .seat.showing-cards{z-index:9}.game-shell .seat.showing-cards .seat-action{background:#f7e7bc;color:#6b5028}.game-shell .seat-hole.voluntary-reveal{animation:voluntary-glow .9s ease-out;overflow:visible;isolation:isolate}.game-shell .seat-hole.voluntary-reveal .card{width:27px;height:37px;padding:3px;box-shadow:0 3px 8px #1c382c35;animation:voluntary-card .9s cubic-bezier(.2,.8,.2,1);animation-delay:inherit}.game-shell .seat-hole.voluntary-reveal .rank{font-size:12px}.game-shell .seat-hole.voluntary-reveal .suit{font-size:15px}.game-shell .voluntary-show-label{position:absolute;left:50%;bottom:calc(100% + 5px);transform:translateX(-50%);white-space:nowrap;font:700 7px/1.1 'DM Sans',sans-serif;letter-spacing:.6px;border:1px solid #cbb477;padding:3px 5px;border-radius:5px;background:#fff0c9;color:#684f25;pointer-events:none}.game-shell .seat-hole.voluntary-reveal[data-reveal-settled=true] .card{animation:none}
@keyframes voluntary-card{0%{opacity:0;transform:translateY(17px) rotateY(80deg) scale(.75)}45%{opacity:1;transform:translateY(-9px) rotateY(-6deg) scale(1.12)}75%{transform:translateY(-3px) rotateY(0) scale(1.03)}100%{transform:translateY(0) rotateY(0) scale(1)}}
@keyframes voluntary-glow{0%,100%{filter:drop-shadow(0 0 0 transparent)}50%{filter:drop-shadow(0 0 7px #f3c653)}}
html[data-layout=phone] .game-shell .seat-hole.voluntary-reveal .card{width:20px;height:28px;padding:2px}html[data-layout=phone] .game-shell .seat-hole.voluntary-reveal .rank{font-size:9px}html[data-layout=phone] .game-shell .seat-hole.voluntary-reveal .suit{font-size:11px}
@media(prefers-reduced-motion:reduce){.game-shell .seat-hole.voluntary-reveal,.game-shell .seat-hole.voluntary-reveal .card{animation:none!important}}
.game-shell .topbar .brand[hidden]{display:none!important}.game-history-link{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 3px;background:transparent;color:var(--ink);font:600 16px/1.2 'Outfit',sans-serif;border:0}.compact-history-button{display:flex;align-items:center;gap:5px;flex:none;min-height:42px;padding:3px;border:0;background:transparent;color:var(--ink);font:600 12px/1 'Outfit',sans-serif}.compact-history-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.compact-game-toolbar .compact-table-meta{min-width:0;overflow:hidden;text-overflow:ellipsis}.compact-game-toolbar .account-corner{margin-left:1px}
.skip-bot-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px}.skip-bot-controls>span{font-size:11px;color:var(--muted)}.skip-bot-controls .button{min-height:38px;font-size:12px;padding:9px 13px;white-space:nowrap}.human-wait-controls{padding:13px}.human-wait-controls>div:first-child{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.human-wait-controls>div:first-child>strong{font:600 14px/1.3 'Outfit',sans-serif}.human-wait-controls>div:first-child>span{font:400 11px/1.5 'DM Sans',sans-serif;color:var(--muted)}.human-wait-controls .rebuy-offer{margin:0}.human-wait-controls .rebuy-offer p{font-size:10px}

/* Match the table's settings corner with direct history access. */
.table-history-button{left:10px;top:10px}.compact-club-link{font:700 25px/1 'Outfit',sans-serif;color:var(--ink);text-decoration:none;min-width:58px}.close-local-table{display:block;margin-bottom:18px}
/* Fit all nine rivals into the available phone height without a nested scroller. */
html[data-layout=phone] body[data-screen=setup] main{gap:6px}
html[data-layout=phone] body[data-screen=setup] .page-head{padding:5px 0 0;min-height:38px}
html[data-layout=phone] body[data-screen=setup] .mode-picker{padding:5px}
html[data-layout=phone] body[data-screen=setup] .mode-hint{margin:3px 2px 0}
html[data-layout=phone] body[data-screen=setup] .bot-setup-grid{gap:0}
html[data-layout=phone] body[data-screen=setup] .opponents-head{margin:0;gap:2px}
html[data-layout=phone] body[data-screen=setup] .character-guide{min-height:24px;padding:2px 0}
html[data-layout=phone] body[data-screen=setup] .opponent-grid{height:auto;flex:1 1 0;min-height:0;grid-template-rows:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:5px;padding:2px;overflow:hidden}
html[data-layout=phone] body[data-screen=setup] .opponent-card{min-height:0;display:grid;grid-template-rows:minmax(20px,1fr) 14px 16px 10px;gap:2px;justify-items:center;align-items:center;padding:6px 3px;overflow:hidden}
html[data-layout=phone] body[data-screen=setup] .opponent-card svg{width:38px;height:100%;max-height:38px;min-height:0;margin:0;align-self:center}
html[data-layout=phone] body[data-screen=setup] .opponent-card h3{font-size:10.5px;line-height:14px;min-height:0;margin:0;white-space:nowrap;letter-spacing:-.3px}
html[data-layout=phone] body[data-screen=setup] .opponent-card .difficulty{font-size:7px;line-height:10px;padding:2px 4px;margin:0}
html[data-layout=phone] body[data-screen=setup] .opponent-card .role-label{font-size:7px;line-height:10px;margin:0;letter-spacing:.3px}

.host-seat-hint{font-size:11px;line-height:1.4;color:var(--muted);margin:3px 0 10px}.lobby-seat small{overflow-wrap:anywhere}

/* Spectator actions stay inside their panel, with one status label above. */
html[data-layout] .game-main .watching-controls{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;height:auto;min-height:64px;max-height:none;padding:10px 12px;flex-shrink:0}
html[data-layout] .watching-controls>div:first-child{flex:1;min-width:0;text-align:left}
html[data-layout] .watching-controls span{font-size:11px;line-height:1.5;color:var(--muted);opacity:1}
html[data-layout] .watching-actions{flex:0 1 auto;display:flex;gap:6px;align-items:stretch}
html[data-layout] .watching-actions .button{min-height:40px;padding:10px 12px;font-size:11px;line-height:1.2;white-space:nowrap;margin:0}

.finishing-tournament{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:var(--ink)}.finishing-tournament small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.final-bot-standings{margin:18px 0;text-align:left}.final-bot-standings>div{display:flex;gap:9px;align-items:center;padding:9px}.final-bot-standings>div>b{min-width:28px;font-size:11px}.final-bot-standings svg{flex:none}.final-bot-standings>div>span{flex:1}.final-bot-standings .your-rank{background:var(--mint,#e4efdb);border-radius:9px;font-weight:700}

/* Wide tables rotate the stadium: flat long rails and round left/right ends. */
html[data-layout][data-visual-style] .game-shell .table-wrap[data-rail-axis=horizontal] .felt{border-radius:var(--wide-rail-radius)}
html[data-layout][data-visual-style] .game-shell .table-wrap[data-rail-axis=horizontal] .felt:after{border-radius:calc(var(--wide-rail-radius) - var(--rail-border) - 15px)}

.pot-result-detail{display:flex;flex-direction:column;align-items:center;gap:3px;margin:0 auto;max-width:240px;color:var(--ink);font-size:10px;line-height:1.3}.pot-result-detail>strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.pot-result-detail>span{color:var(--muted);font-size:9px}.pot-result-detail+ .middle-chips{margin-top:3px}

html[data-layout][data-visual-style] .game-shell .table-wrap .table-center.has-pot-result{top:calc(var(--board-y) - 90px)!important;grid-template-rows:10px 28px 30px 22px auto 12px}
