/* Final table room only. */
.ft-cinema * {box-sizing:border-box}
.ft-cinema [hidden] {display:none!important}
.ft-prize small {display:block}
.ft-prize strong {display:block}
.ft-table-status {display:grid; gap:6px; text-align:right}
.ft-table-status small {color:#a9ac9c}
.ft-room {position:relative; isolation:isolate; overflow:hidden}
.ft-seat {position:absolute; transform:translate(-50%,-50%); text-align:center; z-index:3; transition:opacity .3s}
.ft-you-avatar {display:none}
.ft-nameplate {position:relative}
.ft-nameplate>span {display:block}
.ft-nameplate>strong {display:block}
.ft-nameplate>small {display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.ft-position {border-radius:50%; background:#e5d9b5; color:#151b16; padding:2px 4px; font-size:9px}
.ft-hole {justify-content:center}
.ft-card {position:relative; display:inline-block; width:44px; height:61px; color:#172224; text-align:left; padding:3px 5px; font:18px Georgia,serif; vertical-align:middle; animation:none}
.ft-card i {display:block; font-size:22px; font-style:normal; line-height:22px}
.ft-card small {position:absolute; right:4px; bottom:3px; transform:rotate(180deg); font-size:9px}
.ft-card.red {color:#a62227}
.ft-card-back {color:#ba9e62}
.ft-card-back i {text-align:center}
.ft-seat:not(.seat-0) .ft-card small {display:none}
.ft-seat.folded .ft-hole {opacity:.35}
.ft-seat-bet {position:absolute; display:flex; align-items:center; white-space:nowrap}
.ft-board {display:flex; justify-content:center; min-height:67px}
.ft-card-space {border:1px solid #e5d9a333; border-radius:5px}
.ft-pot-display {display:flex; align-items:center; justify-content:center}
.ft-table-message {bottom:2%; left:20%; right:20%}
.ft-welcome {position:absolute; z-index:8; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center}
.ft-cinema button {font:12px Arial,sans-serif; padding:12px 19px; border:1px solid #6e684f; border-radius:4px; background:#202d27; color:#ede8d8; min-height:42px}
.ft-cinema button:hover {border-color:#dfbc70; background:#314137}
.ft-cinema button:disabled {opacity:.4; cursor:default}
.ft-cinema button.ft-gold-button {background:linear-gradient(120deg,#e4ca8e,#bfa065); color:#182019; border:1px solid #f1d593; font-weight:700}
.ft-gold-button span {margin-left:12px}
.ft-control-deck {flex-wrap:wrap; align-items:center; border-top:1px solid #685535}
.ft-turn-label {display:grid; gap:7px}
.ft-turn-label>small {font-size:11px; color:#b5bbac}
.ft-actions {flex-wrap:wrap}
.ft-bet-size output {margin-left:8px}
.ft-broadcast {display:grid; grid-template-columns:1fr 1fr; border-top:1px solid #333c30}
.ft-commentator+.ft-commentator {border-left:1px solid #343a2e}
.ft-mic {flex:none; border:1px solid #b59454; border-radius:50%; width:36px; height:36px; display:grid; place-items:center; font:19px Georgia; color:#d5b77a}
.ft-commentator span {font-size:10px; letter-spacing:2px; color:#debd7c}
.ft-commentator span small {font-size:8px; color:#909c90; margin-left:12px}
.ft-analyst .ft-mic {border-color:#6e9787; color:#9ccab7}
.ft-toolbar select {border:1px solid #56624b; padding:5px}
.ft-toolbar button {font-size:10px; padding:5px 12px; min-height:30px}
.ft-toolbar>span {margin-left:auto}
.ft-coach-hint {margin:0; padding:18px 25px; background:#1c3025; color:#d4ddcb; font-size:13px; line-height:1.7}
.ft-below {display:grid; grid-template-columns:1fr 1fr; border-top:1px solid #303a2e}
.ft-dossier {padding:18px 25px; font-size:12px}
.ft-dossier summary {cursor:pointer; color:#c7c5ae}
.ft-dossier p {font-size:11px; line-height:1.6}
#ftField {display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:20px}
#ftField span {display:block; font-size:10px; color:#c8ae74; margin-top:5px}
.ft-history {padding-left:20px; max-height:250px; overflow:auto; line-height:1.9}
.ft-history small {color:#c5ac77}
.ft-review {padding:32px; border-top:1px solid #8e794a}
.ft-review h2 {font:36px Georgia; margin:12px 0}
.ft-scoreboard {display:grid; grid-template-columns:repeat(4,1fr); margin:26px 0; border-block:1px solid #43513d}
.ft-scoreboard>div {padding:20px 10px}
.ft-scoreboard small {font-size:9px; letter-spacing:1px; color:#b4b997}
.ft-scoreboard strong {display:block; font:30px Georgia; color:#e5c78e; margin-top:8px}
.ft-review-columns {display:grid; grid-template-columns:1fr 1fr; gap:35px}
.ft-review h3 {font:21px Georgia; color:#dfc797}
.ft-review p.ft-review-note {font-size:11px; color:#8fa08a}
.ft-cinema :focus-visible {outline:2px solid #f3d18a; outline-offset:3px}
.ft-flying-chip {position:absolute; object-fit:contain; z-index:12; pointer-events:none; filter:drop-shadow(0 4px 4px #0008)}
.ft-avatar {margin:auto; background-image:url('/static/final-table-assets/players.png'); background-repeat:no-repeat; border-radius:50%; background-color:#1e2923; background-size:500% auto; background-position-y:28%}
.ft-seat.busted {opacity:1; filter:none}
.ft-seat.busted .ft-avatar,
.ft-seat.busted .ft-hole,
.ft-seat.busted .ft-seat-bet {display:none}
.ft-seat.busted .ft-nameplate {opacity:.65}
.ft-seat:not(.seat-0) .ft-hole {top:38px}
.ft-replay {padding:24px; margin:25px 0; background:#0d1b14; border:1px solid #586c4e; border-radius:8px}
.ft-replay-nav {display:flex; justify-content:space-between; align-items:center; gap:12px}
.ft-replay-nav span {font-size:12px; color:#bcceb0}
.ft-replay-cards {display:flex; gap:38px; flex-wrap:wrap; margin:22px 0}
.ft-replay-cards small {display:block; color:#b7c5a5; font-size:9px; letter-spacing:1px; margin-bottom:10px}
.ft-replay-cards .ft-board {justify-content:flex-start}
.ft-replay-preflop {color:#81977b; font-size:12px; padding:20px 0}
#ftReplayAnalysis {border-top:1px solid #435638; margin-top:22px; padding-top:14px}
#ftReplayJules {font:17px/1.6 Georgia,serif; color:#e5cc97}
#ftReplayCoach {color:#c5d9bd}
#ftReplayEquity {padding:16px; background:#1b2d20; border-radius:5px; margin:20px 0}
#ftReplayEquity label {display:block; font-size:12px; color:#cfdbbf}
#ftEquityGuess {width:100%; accent-color:#c6bd88; margin-top:14px}
#ftReplayResult {padding:14px; border-left:2px solid #bfa66a; color:#c4c7ad}
.ft-run-history {padding:25px; border-top:1px solid #48553c}
.ft-run-heading {display:flex; align-items:center; justify-content:space-between; gap:15px}
.ft-run-history h2 {font:27px Georgia,serif; margin:8px 0}
.ft-run-history p,
.ft-run-history details {font-size:12px; color:#aabb9d; line-height:1.7}
.ft-run-history .ft-scoreboard {grid-template-columns:repeat(3,1fr)}
.ft-run-history .ft-scoreboard p {margin:8px 0 0; font-size:11px}
.ft-runs-scroll {overflow:auto; max-height:320px}
.ft-run-history table {border-collapse:collapse; width:100%; min-width:600px; font-size:12px; text-align:left; font-variant-numeric:tabular-nums}
.ft-run-history th {font-size:10px; color:#bcc9aa; font-weight:500; background:#17281c; position:sticky; top:0}
.ft-run-history td,
.ft-run-history th {padding:12px; border-bottom:1px solid #34452d}
.ft-run-history details {margin-top:18px}
.ft-run-history summary {cursor:pointer}
.seat-2 .ft-seat-bet,
.seat-3 .ft-seat-bet {left:85%; top:110%}
.seat-4 .ft-seat-bet {right:100%; left:auto; top:100%}
.seat-5 .ft-seat-bet {left:auto}
.seat-0 .ft-seat-bet {left:50%; top:-40px; transform:translateX(-50%)}
#ftCompareRun {max-width:100%; padding:9px; background:#1d3022; color:#e0dbbf; border:1px solid #687254}
.ft-comparison-cards {display:flex; gap:5px; align-items:center; flex-wrap:wrap}
#ftCompareBody button {margin:8px 12px 0 0}
#ftRunsBody button {text-align:left}
.ft-card b {font-weight:700; letter-spacing:-1px}
.ft-end-screen {position:absolute; inset:0; z-index:15; background:radial-gradient(ellipse at center,#12281ef2,#040b08ed); backdrop-filter:blur(5px); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:25px; box-shadow:inset 0 0 100px #0008}
.ft-end-screen h2 {font:48px/1.15 Georgia,serif; color:#f1e4bf; margin:18px 0 12px}
.ft-end-screen p {color:#c6ceb9; max-width:50ch; font-size:14px; line-height:1.7; margin:8px 0}
.ft-end-screen #ftEndPlace {font-size:22px; color:#e9ce93}
.ft-end-prize {margin:24px 0 12px; padding:20px 35px; border-block:1px solid #8b764a66}
.ft-end-prize small {display:block; font-size:9px; letter-spacing:2px; color:#b5b49a}
.ft-end-prize strong {display:block; font:45px Georgia,serif; color:#e9cc8d; margin-top:12px}
.ft-end-actions {display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:22px}
#ftAutoDeal[aria-pressed="true"] {border-color:var(--ft-gold,#c7a565); color:var(--ft-gold,#c7a565)}
#ftAutoDealStatus {line-height:1.5}
.ft-center {position:absolute; left:50%; transform:translate(-50%,-50%); text-align:center; z-index:2}
.ft-seat.acting .ft-avatar {position:relative}
.ft-recent-actions {color:#b7c0b1}
.ft-recent-actions ol {display:grid; gap:4px; list-style:none}
.ft-recent-actions li {display:flex; gap:10px; align-items:baseline; font:11px/1.45 Arial,sans-serif; color:#b7c0b1}
.ft-recent-actions li small {flex:0 0 46px; color:#bc9f67; letter-spacing:1px}
.ft-recent-actions li.ft-history-current {color:#f0e8d5; font-weight:600}
.ft-toolbar #ftAutoDeal {margin-left:auto}
.ft-toolbar #ftAutoDealStatus {flex:0 1 auto; margin-left:0; color:#aeb9ad; font-size:10px}
#ftPrototype .ft-event {display:flex; align-items:center; gap:14px}
#ftPrototype .ft-prize small,
#ftPrototype .ft-prize strong {font:400 10px/1.5 var(--body); margin:0; color:inherit; letter-spacing:.04em}
#ftPrototype .ft-table-status {width:auto; font:500 12px var(--body)}
#ftPrototype .ft-board {order:1; gap:7px}
#ftPrototype .ft-nameplate .ft-to-act {opacity:.9; font-weight:600; color:#f2d390; font-size:12px; letter-spacing:.2px}
#ftPrototype.ft-hero-turn .ft-turn-label {position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%)}
#ftPrototype .ft-turn-label {margin:0; min-height:28px}
#ftPrototype #ftTurn {font:500 13px/1.5 var(--body); color:var(--muted)}
#ftPrototype .ft-actions:empty {display:none}
#ftPrototype .ft-actions button {font:600 16px/1.35 var(--body); min-height:48px; padding:10px 14px; border-radius:10px; transition:background 180ms cubic-bezier(.22,1,.36,1),border-color 180ms cubic-bezier(.22,1,.36,1)}
#ftPrototype .ft-actions .ft-muted-action {background:transparent; color:#c6d0c7; border-color:#c6d0c72e; font-weight:500}
#ftPrototype .ft-actions .ft-raise-action {font-weight:500}
#ftPrototype .ft-actions .ft-danger-action {background:transparent; color:var(--bad); border-color:#f39a9638; font-weight:500}
#ftPrototype .ft-actions [data-ft=next] {grid-column:2/4}
#ftPrototype .ft-bet-size label {white-space:nowrap; font:400 11px var(--body); color:var(--muted)}
#ftPrototype .ft-recent-actions {padding:0 24px; border:0; background:var(--panel)}
#ftPrototype .ft-recent-actions>summary {display:flex; align-items:center; gap:12px; min-height:36px; padding:4px 0; color:var(--muted); list-style:none}
#ftPrototype .ft-recent-actions>summary::-webkit-details-marker {display:none}
#ftPrototype .ft-recent-actions>summary:after {content:'+'; font-size:14px; margin-left:auto; flex:none}
#ftPrototype .ft-recent-actions[open]>summary:after {content:'−'}
#ftPrototype #ftOutcome {position:static; margin:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; text-align:left; font:400 12px/1.5 var(--body); color:var(--muted); text-shadow:none}
#ftPrototype .ft-recent-actions ol {margin:0; padding:8px 0 12px; max-height:90px; overflow:auto}
#ftPrototype .ft-recent-actions li {font-size:12px; line-height:1.6}
#ftPrototype .ft-recent-actions li small {font-size:10px; opacity:.5}
#ftPrototype .ft-toolbar>button,
#ftPrototype .ft-settings>summary {min-width:44px; min-height:44px; padding:10px 12px; background:transparent; border:0; border-radius:8px; color:var(--muted); font:500 12px/1.4 var(--body)}
#ftPrototype .ft-settings>summary::-webkit-details-marker {display:none}
#ftPrototype .ft-settings>summary svg {width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.2}
#ftPrototype .ft-settings-body {display:flex; flex-wrap:wrap; align-items:center; gap:14px; padding:20px; border:1px solid var(--line); border-radius:12px; background:var(--panel2); max-width:650px}
#ftPrototype .ft-settings[open] {width:100%; order:3; align-self:stretch}
#ftPrototype .ft-settings[open]>summary {width:max-content}
#ftPrototype .ft-settings-body label {font-size:13px; flex-wrap:wrap}
#ftPrototype .ft-settings-body select {min-height:44px}
#ftPrototype .ft-settings-body>span {font-size:12px; color:var(--muted)}
#ftPrototype .ft-commentary>summary {font:400 12px/1.5 var(--body)}
#ftPrototype .ft-commentator p {font-family:var(--body); font-size:13px}
#ftPrototype .ft-commentator {padding:16px 24px; min-height:0}
#ftPrototype .ft-toolbar>button svg,
#ftPrototype .ft-commentary>summary svg {width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; display:block}
#ftPrototype .ft-toolbar .ft-commentary {border:0}
#ftPrototype .ft-toolbar .ft-commentary>summary {place-items:center; min-width:44px; min-height:44px; padding:12px; color:var(--muted); border-radius:8px}
#ftPrototype .ft-toolbar .ft-commentary>summary::-webkit-details-marker {display:none}
#ftPrototype .ft-commentary[open] {width:100%; order:4}
#ftPrototype .ft-commentary[open]>summary {background:var(--panel2); width:max-content}
#ftPrototype .ft-toolbar>button:hover,
#ftPrototype .ft-toolbar summary:hover {background:var(--panel2); color:var(--fg)}
#ftPrototype .ft-table-meta {position:absolute; left:18px; z-index:2; display:flex; gap:10px; align-items:center; pointer-events:none; top:auto; bottom:12px}
#ftPrototype .ft-room {height:460px; min-height:460px; aspect-ratio:auto; background:radial-gradient(ellipse at center,#20302b,#111b18 75%)}
#ftPrototype .ft-room:before {content:''; position:absolute; inset:15% 10%; border-radius:48%; background:radial-gradient(ellipse at 50% 35%,#285e4c,#1a4537); border:8px solid #293a32; box-shadow:0 0 0 1px #78837555,0 12px 24px #0004,inset 0 0 40px #102c2233}
#ftPrototype .ft-room:after,
#ftPrototype .ft-room-shade,
#ftPrototype .ft-dealer,
#ftPrototype .ft-audience,
#ftPrototype #ftRoomMotion {display:none}
#ftPrototype .ft-marquee {display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:24px; min-height:44px; padding:10px 18px}
#ftPrototype .ft-event h1 {font:var(--t3-weight) var(--t3-size)/1.5 var(--body); margin:0; text-transform:none; letter-spacing:.03em; font-size:14px; font-weight:600; opacity:1; color:#e4ece7}
#ftPrototype .ft-event .ft-overline {display:none}
#ftPrototype .ft-prize {display:flex; align-items:center; gap:8px; text-align:right; order:3; opacity:1; color:#aebdb4}
#ftPrototype .ft-table-status .t2 {opacity:1; font-size:12px; color:#bdcbc2}
#ftPrototype .ft-seat {width:136px}
#ftPrototype .seat-0 {left:50%; top:89%}
#ftPrototype .seat-1 {left:15%; top:71%}
#ftPrototype .seat-2 {left:15%; top:29%}
#ftPrototype .seat-3 {left:50%; top:12%}
#ftPrototype .seat-4 {left:85%; top:29%}
#ftPrototype .seat-5 {left:85%; top:71%}
#ftPrototype .ft-avatar {width:36px; height:36px; border:1px solid #718779; margin-bottom:4px; filter:none; box-shadow:none}
#ftPrototype .ft-nameplate {background:#16231e; border:1px solid #4b6255; border-radius:7px; padding:6px 9px; box-shadow:0 3px 8px #0003}
#ftPrototype .ft-nameplate>span {font:500 12px/1.4 var(--body); font-size:12px; opacity:1; color:#c4d0c8}
#ftPrototype .ft-nameplate>strong {font:var(--t2-weight) var(--t2-size)/1.45 var(--body); margin:2px 0; font-variant-numeric:tabular-nums; font-size:16px; font-weight:600; opacity:1; color:#f5f8f4}
#ftPrototype .ft-nameplate>small {font:400 10px/1.4 var(--body); font-size:11px; opacity:1; color:#aebfb3}
#ftPrototype .ft-seat.acting .ft-nameplate {border:2px solid #acdcbf; box-shadow:0 0 0 3px #acdcbf18}
#ftPrototype .ft-seat.folded .ft-nameplate {opacity:.6}
#ftPrototype .ft-seat .ft-hole {position:absolute; right:auto; bottom:auto; display:flex; gap:4px; margin:0; z-index:4; transform:translate(-50%,-50%); pointer-events:none}
#ftPrototype .ft-card {background:#faf8ee; border:1px solid #d8ddd2; box-shadow:0 2px 4px #0004; border-radius:4px; font-family:Arial,sans-serif}
#ftPrototype .ft-card-back {background:repeating-linear-gradient(45deg,#234b3d 0 3px,#2c5947 3px 5px); border:2px solid #c2cdbd}
#ftPrototype .ft-seat:not(.seat-0) .ft-hole .ft-card {width:26px; height:36px; padding:2px; font-size:12px}
#ftPrototype .ft-seat:not(.seat-0) .ft-hole .ft-card i {font-size:14px; line-height:15px}
#ftPrototype .ft-seat:not(.seat-0) .ft-hole .ft-card-back i {line-height:26px}
#ftPrototype .seat-0 .ft-hole .ft-card {width:50px; height:68px; padding:5px; font-size:22px}
#ftPrototype .seat-0 .ft-hole .ft-card i {font-size:25px; line-height:26px}
#ftPrototype .ft-center {display:flex; flex-direction:column; align-items:center; top:49%; gap:8px; width:340px}
#ftPrototype .ft-center .ft-board {transform:none; gap:6px; min-height:64px}
#ftPrototype .ft-center .ft-card,
#ftPrototype .ft-card-space {width:46px; height:64px; font-size:21px; padding:4px}
#ftPrototype .ft-center .ft-card i {font-size:25px; line-height:26px}
#ftPrototype .ft-card-space {border-color:#b3cfbb33; background:#183c3022}
#ftPrototype .ft-pot-display {margin:0; gap:7px; order:0}
#ftPrototype .ft-pot-display span {display:inline; font-size:12px; color:#c6d5cb; letter-spacing:0; margin-right:6px}
#ftPrototype .ft-pot-display img {display:none}
#ftPrototype #ftPot {font:var(--t1-weight) clamp(28px,2.3vw,34px)/1.15 var(--body); color:var(--t1-color); opacity:var(--t1-opacity); font-size:24px; text-shadow:none}
#ftPrototype .ft-street {font:400 10px/1.3 var(--body); letter-spacing:.08em; margin:0; order:2; text-shadow:none; opacity:1; color:#bdcfc3; font-size:11px}
#ftPrototype .ft-table-meta .t2,
#ftPrototype .ft-table-meta #ftHand {opacity:1; color:#b7c6bc; font-size:11px}
#ftPrototype .ft-rail-brand {display:none}
#ftPrototype .ft-actions {display:grid; gap:10px; width:100%; margin:auto; max-width:760px; grid-template-columns:1fr 1.2fr 1.5fr 1fr}
#ftPrototype .ft-actions .ft-primary-action,
#ftPrototype .ft-actions .ft-raise-action {background:#304d3e; color:#f4f8f4; border-color:#789c85}
#ftPrototype .ft-actions button:hover:not(:disabled) {background:#416650; border-color:#acdcbf}
#ftPrototype .ft-bet-size {display:flex; gap:12px; margin:auto; align-items:center; justify-content:flex-start; padding-left:0; max-width:760px; width:100%}
#ftPrototype .ft-bet-size output {display:inline; font-size:12px; color:#edf3ed; font-variant-numeric:tabular-nums}
#ftPrototype .ft-bet-size input {flex:1; min-width:0; width:100%; accent-color:var(--accent); min-height:32px}
#ftPrototype:not(.ft-started) .ft-room {height:auto; min-height:460px; display:flex; flex-direction:column; justify-content:center; background:var(--panel)}
#ftPrototype:not(.ft-started) .ft-room:before,
#ftPrototype:not(.ft-started) #ftSeats,
#ftPrototype:not(.ft-started) .ft-center,
#ftPrototype:not(.ft-started) .ft-table-meta,
#ftPrototype:not(.ft-started) .ft-control-deck,
#ftPrototype:not(.ft-started) .ft-toolbar,
#ftPrototype:not(.ft-started) .ft-commentary,
#ftPrototype:not(.ft-started) .ft-recent-actions,
#ftPrototype:not(.ft-started) .ft-voice-settings,
#ftPrototype:not(.ft-started) .ft-settings {display:none}
#ftPrototype .ft-welcome {background:none; backdrop-filter:none; font-family:var(--body)}
#ftPrototype:not(.ft-started) .ft-welcome {position:static; padding:clamp(40px,7vw,72px) 24px}
#ftPrototype .ft-welcome .ft-overline {font:600 11px/1.4 var(--body); letter-spacing:.14em; color:var(--accent)}
#ftPrototype .ft-welcome h2 {font:700 clamp(32px,5vw,48px)/1.08 var(--display); letter-spacing:-.03em; color:var(--text); margin:12px 0 16px}
#ftPrototype .ft-welcome p {font:400 16px/1.6 var(--body); color:var(--muted); margin:0 0 28px; max-width:46ch}
#ftPrototype .ft-welcome .ft-gold-button {font:700 15px/1.3 var(--body); min-height:48px; padding:12px 26px; border-radius:10px; cursor:pointer}
#ftPrototype .ft-welcome>small {font:400 12px/1.5 var(--body); color:var(--muted); margin-top:18px}
#ftPrototype .ft-toolbar>button,
#ftPrototype .ft-settings>summary,
#ftPrototype .ft-toolbar .ft-commentary>summary {display:inline-flex; align-items:center; justify-content:center; gap:8px; list-style:none}
#ftPrototype .ft-tool-label,
#ftPrototype .ft-settings>summary>span {position:static; width:auto; height:auto; clip-path:none; overflow:visible; font:500 13px/1.4 var(--body)}
#ftPrototype .ft-control-deck {display:grid; grid-template-columns:1fr; border-top-color:var(--line); padding:12px 18px; gap:6px; min-height:0}
#ftPrototype:not(.ft-hero-turn) .ft-turn-label {min-height:0}
#ftPrototype .ft-toolbar {position:relative; padding:4px 20px 10px; gap:6px; border:0; align-items:center}
#ftPrototype .ft-toolbar>button,
#ftPrototype .ft-toolbar>details>summary {box-sizing:border-box; height:44px; margin:0; line-height:1.4}
#ftPrototype .ft-toolbar>* {align-self:flex-start; margin-top:0}
.ft-voice-settings {padding:13px 25px; border-top:1px solid #34473b; color:#b8c4b6; font-size:14px}
.ft-voice-settings summary {cursor:pointer; min-height:44px; align-content:center}
.ft-voice-settings label {margin:15px 20px 0 0}
.ft-voice-settings select {max-width:280px; border:1px solid #5a715e; padding:7px; border-radius:4px}
.ft-commentator.speaking {background:#1a291e}
.ft-commentator.speaking .ft-mic {box-shadow:0 0 0 4px #bcac6c22}
.ft-cinema {--gold:#d9bb79; color:#ece8db; margin:12px auto 40px; border:1px solid #423b29; overflow:hidden; margin-top:0; font-family:var(--body); background:var(--panel); border-color:var(--line); border-radius:var(--radius); margin-bottom:24px}
.ft-marquee {justify-content:space-between; background:var(--panel)}
.ft-control-deck,
.ft-toolbar,
.ft-broadcast,
.ft-voice-settings {background:var(--panel); border-color:var(--line)}
.ft-toolbar {display:flex; flex-wrap:wrap; color:#a8b2a7; font-size:14px}
.ft-toolbar label {display:flex; gap:8px; align-items:center}
.ft-toolbar select,
.ft-voice-settings select {background:var(--bg); color:var(--fg); border-color:var(--line-strong); font-size:14px}
.ft-voice-settings p {max-width:70ch; line-height:1.6; color:var(--muted)}
.ft-review,
.ft-run-history,
.ft-dossier {background:var(--panel); border-color:var(--line)}
.ft-review h2,
.ft-run-heading h2 {font-family:var(--display); color:var(--fg)}
.ft-run-history p {color:var(--muted); font-size:14px}
.ft-commentator {display:flex; gap:14px; background:var(--panel); border-color:var(--line)}
.ft-commentator p {font:14px/1.6 Georgia,serif; margin:9px 0 0; color:var(--fg)}
#ftPrototype .ft-seat-bet {font:600 14px/1.3 var(--body); color:#f3f6ef; gap:5px; text-shadow:0 1px 2px #102018; font-variant-numeric:tabular-nums}
#ftPrototype .ft-seat-bet img {width:64px; height:48px; object-fit:contain}
#ftPrototype .ft-flying-chip {width:64px; height:48px}
@media (min-width:761px) {
  #ftPrototype .seat-1 .ft-seat-bet {left:235%; top:12%}
  #ftPrototype .seat-5 .ft-seat-bet {right:235%; left:auto; top:12%}
}
@media (min-width:761px) and (max-width:1200px) {
  #ftPrototype .ft-room {container-type:inline-size}
  #ftPrototype .ft-seat-bet {font-size:12px; gap:2px; right:auto; transform:none}
  #ftPrototype .ft-seat-bet img {width:44px; height:34px}
  #ftPrototype .seat-0 .ft-seat-bet {left:126px; top:calc(50% - 85px)}
  #ftPrototype .seat-1 .ft-seat-bet {left:calc(14cqw + 96px); transform:translateX(-100%)}
  #ftPrototype .seat-4 .ft-seat-bet {left:calc(96px - 14cqw); transform:translateX(-100%)}
  #ftPrototype .seat-2 .ft-seat-bet {left:calc(14cqw + 40px)}
  #ftPrototype .seat-5 .ft-seat-bet {left:calc(40px - 14cqw)}
  #ftPrototype .seat-1 .ft-seat-bet,
  #ftPrototype .seat-5 .ft-seat-bet {top:calc(50% - 76px)}
  #ftPrototype .seat-2 .ft-seat-bet,
  #ftPrototype .seat-4 .ft-seat-bet {top:calc(50% + 27px)}
  #ftPrototype .seat-3 .ft-seat-bet {left:102px; top:calc(50% + 61px)}
}
@media (max-width:760px) {
  .ft-marquee {flex-wrap:wrap}
  .ft-table-status {display:flex; justify-content:space-between}
  .ft-table-message {left:5%; right:5%; bottom:2%}
  .ft-turn-label {width:100%}
  .ft-actions button {flex:1}
  .ft-broadcast {grid-template-columns:1fr}
  .ft-commentator+.ft-commentator {border-left:0; border-top:1px solid #303a2e}
  .ft-toolbar>span {margin-left:0}
  .ft-below,
  .ft-review-columns {grid-template-columns:1fr}
  .ft-review {padding:22px 16px}
  .ft-review h2 {font-size:28px}
  .ft-scoreboard {grid-template-columns:1fr 1fr}
  .ft-dossier {padding:16px}
  .ft-seat:not(.seat-0) .ft-hole {top:27px}
  .ft-seat-bet {top:-28px; left:60%}
  .seat-2 .ft-seat-bet {top:100%; left:70%}
  .seat-3 .ft-seat-bet {top:110%; left:60%}
  .seat-4 .ft-seat-bet {top:100%; right:70%}
  .seat-5 .ft-seat-bet {top:-28px; right:60%}
  .seat-0 .ft-seat-bet {top:-35px; left:50%}
  .ft-toolbar #ftAutoDeal {margin-left:0}
  #ftPrototype .ft-event {display:block}
  #ftPrototype .ft-actions .ft-raise-action span {white-space:nowrap}
  #ftPrototype .ft-bet-size {gap:10px}
  #ftPrototype .ft-bet-size label {font-size:11px}
  #ftPrototype .ft-recent-actions {padding:0 14px}
  #ftPrototype .ft-toolbar {padding:0 8px 6px; gap:2px}
  #ftPrototype .ft-settings-body {padding:14px; gap:12px}
  #ftPrototype .ft-table-meta #ftHand {display:none}
  #ftPrototype .ft-seat:not(.seat-0) .ft-hole {right:3px}
  #ftPrototype .ft-center .ft-card,
  #ftPrototype .ft-center .ft-card-space {width:26px; height:39px; padding:3px; font-size:15px}
  #ftPrototype .ft-board {gap:4px; min-height:39px}
  #ftPrototype .ft-room {height:420px; min-height:420px}
  #ftPrototype:not(.ft-started) .ft-room {min-height:420px}
  #ftPrototype .ft-room:before {inset:12% 8%; border-width:6px; border-radius:44%}
  #ftPrototype .ft-marquee {grid-template-columns:1fr auto; gap:4px; padding:10px 12px}
  #ftPrototype .ft-event h1 {font-size:13px}
  #ftPrototype .ft-prize {display:none}
  #ftPrototype .ft-table-status {text-align:left; grid-column:auto}
  #ftPrototype .ft-seat {width:92px}
  #ftPrototype .ft-avatar {display:none}
  #ftPrototype .seat-1,
  #ftPrototype .seat-2 {left:15%}
  #ftPrototype .seat-4,
  #ftPrototype .seat-5 {left:85%}
  #ftPrototype .seat-3 {top:10%}
  #ftPrototype .ft-nameplate {padding:5px 3px}
  #ftPrototype .ft-nameplate>span {font-size:11px}
  #ftPrototype .ft-nameplate>strong {font-size:13px}
  #ftPrototype .ft-nameplate>small {font-size:10px}
  #ftPrototype .ft-center {width:220px; top:48%}
  #ftPrototype .ft-center .ft-board {gap:4px; min-height:48px}
  #ftPrototype .ft-center .ft-card,
  #ftPrototype .ft-card-space {width:32px; height:48px; font-size:17px; padding:3px}
  #ftPrototype .ft-center .ft-card i {font-size:20px; line-height:21px}
  #ftPrototype .ft-center .ft-card small {font-size:7px}
  #ftPrototype .seat-0 .ft-hole .ft-card {width:40px; height:56px; font-size:20px; padding:3px}
  #ftPrototype .seat-0 .ft-hole .ft-card i {font-size:22px; line-height:23px}
  #ftPrototype .ft-seat:not(.seat-0) .ft-hole .ft-card {width:19px; height:27px; font-size:10px; padding:1px}
  #ftPrototype .ft-seat:not(.seat-0) .ft-hole .ft-card i {font-size:11px; line-height:12px}
  #ftPrototype .ft-seat:not(.seat-0) .ft-hole .ft-card-back i {line-height:19px}
  #ftPrototype .ft-control-deck {padding:10px}
  #ftPrototype .ft-actions {gap:5px}
  #ftPrototype .ft-actions button {border-radius:8px; font-size:12px; padding:8px 3px; min-height:48px}
  #ftPrototype .ft-table-meta {gap:6px; top:auto; left:12px; bottom:5px}
  #ftPrototype .ft-welcome h2 {font-size:32px}
  #ftPrototype .ft-welcome p {font-size:15px}
  #ftPrototype .ft-tool-label,
  #ftPrototype .ft-settings>summary>span {position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden}
}
@media (max-width:700px) {
  .ft-marquee {flex-wrap:wrap}
  .ft-voice-settings {padding:12px 16px}
  .ft-voice-settings label {display:flex}
  .ft-voice-settings select {width:100%; max-width:100%}
  #ftPrototype .ft-seat-bet {font-size:12px; gap:2px}
  #ftPrototype .ft-seat-bet img {width:44px; height:34px}
  #ftPrototype .seat-2 .ft-seat-bet {left:38%; top:104%}
}
@media (max-width:600px) {
  #ftPrototype .ft-seat-bet {font-size:11px; gap:1px; left:50%; right:auto; bottom:auto; transform:translateX(-50%)}
  #ftPrototype .ft-seat-bet img {width:28px; height:21px}
  #ftPrototype .seat-1 .ft-seat-bet,
  #ftPrototype .seat-5 .ft-seat-bet {top:auto; bottom:calc(100% + 4px)}
  #ftPrototype .seat-2 .ft-seat-bet,
  #ftPrototype .seat-4 .ft-seat-bet {top:calc(100% + 4px)}
  #ftPrototype .seat-3 .ft-seat-bet {top:calc(50% + 71px); left:calc(50% - 3px)}
  #ftPrototype .seat-0 .ft-seat-bet {top:calc(50% - 136px)}
}
@media (max-width:600px) {
  .ft-replay {padding:15px}
  .ft-replay-nav {flex-wrap:wrap}
  .ft-replay-nav span {order:-1; width:100%}
  .ft-replay-cards {gap:20px}
  .ft-replay .ft-card {width:37px; height:54px}
  .ft-run-history {padding:18px 14px}
  .ft-run-history h2 {font-size:22px}
  .ft-run-history .ft-scoreboard strong {font-size:24px}
  .ft-run-history .ft-scoreboard small {font-size:8px}
  .ft-end-screen {padding:20px}
  .ft-end-screen h2 {font-size:34px}
  .ft-end-prize strong {font-size:37px}
  .ft-end-screen #ftEndPlace {font-size:18px}
  .ft-end-actions {gap:8px}
  .ft-end-actions button {width:100%}
}
@media (prefers-reduced-motion:reduce) {
  .ft-card {animation:none}
  .ft-seat {transition:none}
}

/* Prompt 6: Challenge entries and tournament controls share the Training system. */
#ftPrototype {color:var(--fg)}
#ftPrototype .ft-entry-layout {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(350px,1fr)}
#ftPrototype.ft-started .ft-entry-layout {grid-template-columns:minmax(0,1fr)}
#ftPrototype .ft-marquee {border-bottom:1px solid var(--line)}
#ftPrototype .ft-event h1 {color:var(--fg)}
#ftPrototype .ft-prize,#ftPrototype .ft-table-status .t2 {color:var(--muted)}
#ftPrototype .ft-room,#ftPrototype:not(.ft-started) .ft-room {display:block;height:460px;min-height:460px;background:#123b2c url('/static/final-table-assets/training-room-reference.png') center / 100% 100% no-repeat}
#ftPrototype:not(.ft-started) .ft-room {height:100%;min-height:520px}
#ftPrototype .ft-room:before {display:none}
#ftPrototype:not(.ft-started) #ftSeats,#ftPrototype:not(.ft-started) .ft-center,#ftPrototype:not(.ft-started) .ft-table-meta {display:block}
#ftPrototype .ft-avatar {display:none}
#ftPrototype .ft-nameplate {background:linear-gradient(#10231ef5,#050f0bf5);border-color:#899b8a80}
#ftPrototype .ft-nameplate>strong {font-family:var(--mono);font-weight:500}
#ftPrototype .ft-seat.acting .ft-nameplate {border-color:#e7a16a;box-shadow:0 0 0 2px #e7a16a33}
#ftPrototype .ft-nameplate .ft-to-act {color:#f4c49e}
#ftPrototype .ft-card-back {border:3px double #b9bfc4;background:repeating-linear-gradient(45deg,#333d46 0 1px,#606973 1px 2px)}
#ftPrototype .ft-card-back i {visibility:hidden}
#ftPrototype #ftPot {font-family:var(--mono);font-weight:500;color:#fff4d8}
#ftPrototype .ft-pot-display {padding:4px 12px;background:#061a12de;border:1px solid #899e8970;border-radius:10px}
#ftPrototype:not(.ft-started) .ft-center {display:flex}
#ftPrototype .ft-welcome,#ftPrototype:not(.ft-started) .ft-welcome {position:static;display:flex;align-items:stretch;justify-content:center;text-align:left;padding:28px 32px;background:var(--bg)}
#ftPrototype .ft-welcome h2 {font:600 clamp(36px,4.5vw,60px)/1 var(--display);letter-spacing:-.04em;margin:12px 0 24px;color:var(--fg)}
#ftPrototype .ft-welcome p {font:400 15px/1.5 var(--body);color:var(--muted);margin:18px 0}
.challenge-modes {display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line-strong);border-radius:8px;overflow:hidden}
.challenge-modes a {display:flex;align-items:center;justify-content:center;min-height:46px;gap:6px;text-align:center;padding:8px;text-decoration:none;font:500 14px/1.35 var(--body);color:var(--fg)}
.challenge-modes a[aria-current=page] {background:var(--ink);color:var(--paper)}
.challenge-modes a:hover {background:var(--panel2);color:var(--fg)}
.challenge-modes a:focus-visible {outline-offset:-4px}
.challenge-facts {display:flex;flex-wrap:wrap;margin:0 0 22px;padding:16px 0;border-block:1px solid var(--line);gap:16px}
.challenge-facts>div {flex:1;min-width:80px}
.challenge-facts dt {font:400 11px/1.4 var(--body);color:var(--muted);margin-bottom:6px}
.challenge-facts dd {font:500 13px/1.5 var(--mono);margin:0;color:var(--fg)}
#ftPrototype button,#ftPrototype button.ft-gold-button {font-family:var(--body);min-height:44px;background:var(--panel);border-color:var(--line-strong);color:var(--fg);border-radius:8px}
#ftPrototype button.ft-gold-button,#ftPrototype .ft-actions .ft-primary-action,#v-leaderboard #lbStart {background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
#ftPrototype button:hover:not(:disabled) {background:var(--panel2);border-color:var(--accent)}
#ftPrototype button.ft-gold-button:hover:not(:disabled),#ftPrototype .ft-actions .ft-primary-action:hover:not(:disabled),#v-leaderboard #lbStart:hover {background:#8d4021;color:var(--accent-ink)}
#ftPrototype .ft-actions .ft-muted-action,#ftPrototype .ft-actions .ft-raise-action {background:var(--panel);color:var(--fg);border-color:var(--line-strong)}
#ftPrototype .ft-actions .ft-danger-action {color:var(--bad);border-color:var(--bad);background:var(--panel)}
#ftPrototype button:disabled {opacity:.55;cursor:default}
#ftPrototype .ft-welcome #ftStart {min-height:52px;border-radius:8px;font-size:17px}
#ftPrototype .ft-welcome>small {font:400 12px/1.6 var(--body);color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin-top:12px}
.challenge-format>summary {min-height:44px;align-content:center;text-align:center;text-decoration:underline;font:500 13px/1.5 var(--body);color:var(--fg);cursor:pointer}
#ftPrototype .challenge-format p {font-size:13px;margin:0 0 16px}
#ftPrototype .ft-bet-size label,#ftPrototype .ft-bet-size output {color:var(--fg)}
#ftPrototype .ft-bet-size input {min-height:44px}
#ftPrototype .ft-recent-actions>summary {min-height:44px}
#ftPrototype .ft-coach-hint {background:var(--panel2);color:var(--fg)}
#ftPrototype .ft-dossier summary,#ftPrototype .ft-dossier p,#ftPrototype .ft-dossier span,#ftPrototype .ft-history small {color:var(--muted)}
#ftPrototype .ft-dossier>summary {min-height:44px;align-content:center;font-size:14px}
#ftPrototype .ft-below {border-color:var(--line)}
#ftPrototype .ft-commentator span {color:var(--accent)}
#ftPrototype .ft-commentator span small {color:var(--muted)}
#ftPrototype .ft-commentator.speaking {background:var(--panel2)}
#ftPrototype .ft-voice-settings {color:var(--fg);border-color:var(--line)}
#ftPrototype .ft-settings-body {max-width:100%;color:var(--fg)}
#ftPrototype .ft-settings-body label:has(input[type=checkbox]) {min-height:44px}
#ftPrototype .ft-settings-body input[type=checkbox] {width:20px;height:20px;accent-color:var(--accent)}
#ftPrototype .ft-review p,#ftPrototype .ft-review li,#ftPrototype .ft-run-history p {color:var(--muted);font-size:14px}
#ftPrototype .ft-review h2,#ftPrototype .ft-run-heading h2 {font:600 clamp(26px,3vw,38px)/1.2 var(--display);color:var(--fg)}
#ftPrototype .ft-review h3 {font:600 20px/1.4 var(--body);color:var(--fg)}
#ftPrototype .ft-scoreboard {border-color:var(--line);gap:8px}
#ftPrototype .ft-scoreboard small,#ftPrototype .ft-replay-nav span,#ftPrototype .ft-replay-cards small {color:var(--muted);font-size:11px}
#ftPrototype .ft-scoreboard strong {font:500 26px/1.3 var(--mono);color:var(--fg)}
#ftPrototype .ft-replay {background:var(--bg);border-color:var(--line);min-width:0}
#ftPrototype #ftReplayAnalysis {border-color:var(--line)}
#ftPrototype #ftReplayJules,#ftPrototype #ftReplayCoach {color:var(--fg);font-family:var(--body)}
#ftPrototype #ftReplayEquity {background:var(--panel2)}
#ftPrototype #ftReplayEquity label,#ftPrototype #ftReplayResult {color:var(--fg)}
#ftPrototype #ftEquityGuess {min-height:44px}
#ftPrototype .ft-run-history th {background:var(--panel2);color:var(--fg)}
#ftPrototype .ft-run-history td,#ftPrototype .ft-run-history th {border-color:var(--line)}
#ftPrototype #ftCompareRun {background:var(--bg);color:var(--fg);border-color:var(--line-strong);min-height:44px}
#ftPrototype :focus-visible {outline:3px solid var(--accent);outline-offset:3px}
#ftPrototype .ft-end-screen :focus-visible {outline-color:#f4bd8d}
#ftPrototype .ft-end-screen {background:#0b2119ed;box-shadow:none}
#ftPrototype .ft-end-screen h2 {font-family:var(--display)}
#ftPrototype .ft-end-prize strong {font-family:var(--mono)}
#ftPrototype .ft-end-screen .ft-overline {color:#f4bd8d}
#v-leaderboard .weekly-entry {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(350px,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg)}
.weekly-table {margin:0;display:flex;flex-direction:column;min-width:0;background:#123b2c}
.weekly-table figcaption {color:#eeeadd;background:#10291f;font:400 12px/1.5 var(--body);padding:10px 16px}
.weekly-preview {flex:1;position:relative;min-height:440px}
.weekly-preview .tablewrap {position:absolute;inset:0;width:100%;height:100%;min-height:0;border:0;border-radius:0;background:#123b2c url('/static/final-table-assets/training-room-reference.png') center / 100% 100% no-repeat}
.weekly-preview .felt,.weekly-preview .seat-avatar,.weekly-preview .pers,.weekly-preview .stack-bb,.weekly-preview .chips,.weekly-preview .dbtn {display:none}
.weekly-preview .seat {width:112px;gap:0}
.weekly-preview .plate {display:block;min-height:44px;text-align:center;padding:6px;background:#0a1913ee;border:1px solid #899b8a80;border-radius:8px}
.weekly-preview .seat-info {text-align:center}
.weekly-preview .nm {justify-content:center;color:#f5f3eb;font:500 13px/1.4 var(--body)}
.weekly-preview .tag.pos {color:#f5f3eb;background:transparent}
.weekly-preview .st {color:#f5f3eb;font:500 16px/1.4 var(--mono)}
.weekly-preview .pot {left:50%;top:31%;transform:translate(-50%,-50%);padding:6px 12px;font:500 18px/1.4 var(--mono);color:#fff4d8;background:#061a12de;border:1px solid #899e8970;border-radius:10px}
.weekly-preview .streetlbl {color:#d8e2d8;font:400 12px/1.4 var(--body)}
#v-leaderboard .weekly-intro {padding:28px 32px;min-width:0}
#v-leaderboard h1 {font:600 clamp(32px,3.7vw,50px)/1.04 var(--display);letter-spacing:-.04em;margin:12px 0 24px}
#v-leaderboard p {font:400 14px/1.6 var(--body);color:var(--muted)}
#v-leaderboard #lbWeek {font-size:12px}
#v-leaderboard #lbJoin {margin:16px 0}
#v-leaderboard #lbJoin input {width:100%;margin:8px 0}
#v-leaderboard #lbJoin p {font-size:12px;margin:8px 0}
#v-leaderboard #lbStart {width:100%;min-height:52px;font-size:17px;margin:0}
#v-leaderboard #lbProgress {padding:10px 12px;font-size:13px}
#v-leaderboard .challenge-disclosure {font-size:12px;padding-top:14px;border-top:1px solid var(--line);margin:16px 0 0}
#v-leaderboard .weekly-board {padding:24px 0}
.weekly-board-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.weekly-board-heading h2 {margin:0;font:600 26px/1.3 var(--display)}
.weekly-board-scroll {overflow:auto;max-width:100%;margin:20px 0}
#v-leaderboard .weekly-board>details>summary {font:500 14px/1.5 var(--body);cursor:pointer}
@media (min-width:761px) and (max-width:1100px) {
 #ftPrototype .ft-entry-layout,#v-leaderboard .weekly-entry {grid-template-columns:minmax(0,1fr) minmax(320px,1fr)}
 #ftPrototype .ft-welcome,#ftPrototype:not(.ft-started) .ft-welcome,#v-leaderboard .weekly-intro {padding:24px}
 #ftPrototype:not(.ft-started) .ft-seat {width:104px}
}
@media(max-width:760px) {
 #ftPrototype .ft-entry-layout,#v-leaderboard .weekly-entry {grid-template-columns:minmax(0,1fr)}
 #ftPrototype .ft-room {height:360px;min-height:360px}
 #ftPrototype:not(.ft-started) .ft-room {height:230px;min-height:230px}
 #ftPrototype:not(.ft-started) .ft-seat {width:82px}
 #ftPrototype:not(.ft-started) .ft-nameplate {padding:3px}
 #ftPrototype:not(.ft-started) .ft-nameplate>span {font-size:10px}
 #ftPrototype:not(.ft-started) .ft-nameplate>strong {font-size:11px}
 #ftPrototype:not(.ft-started) .ft-nameplate>small,#ftPrototype:not(.ft-started) .ft-hole,#ftPrototype:not(.ft-started) .ft-table-meta {display:none}
 #ftPrototype:not(.ft-started) .ft-center .ft-board {min-height:30px}
 #ftPrototype:not(.ft-started) .ft-center .ft-card-space {width:20px;height:30px}
 #ftPrototype:not(.ft-started) .ft-center {gap:4px;top:46%}
 #ftPrototype:not(.ft-started) #ftPot {font-size:17px}
 #ftPrototype:not(.ft-started) .ft-street {font-size:9px}
 #ftPrototype .ft-welcome,#ftPrototype:not(.ft-started) .ft-welcome,#v-leaderboard .weekly-intro {padding:20px}
 #ftPrototype .ft-welcome h2,#v-leaderboard h1 {font-size:34px;line-height:1.04;margin:8px 0 16px}
 #ftPrototype .ft-welcome h2 br,#v-leaderboard h1 br {display:none}
 #ftPrototype .ft-welcome p {font-size:14px;margin:12px 0}
 .challenge-facts {gap:10px;padding:12px 0;margin-bottom:16px}
 .challenge-facts dd {font-size:12px}
 #ftPrototype .ft-welcome>small {margin-top:8px;padding-top:12px}
 #ftPrototype .ft-actions {grid-template-columns:1fr 1.2fr 1.5fr 1fr}
 #ftPrototype .ft-tool-label {position:static;width:auto;height:auto;clip-path:none;font-size:12px}
 #ftPrototype .ft-end-screen {padding:16px}
 #ftPrototype .ft-end-screen h2 {font-size:28px;margin:8px 0}
 #ftPrototype .ft-end-screen p {font-size:12px;line-height:1.4;margin:5px 0}
 #ftPrototype .ft-end-screen #ftEndPlace {font-size:16px}
 #ftPrototype .ft-end-prize {padding:8px 12px;margin:10px 0}
 #ftPrototype .ft-end-prize strong {font-size:28px;margin-top:4px}
 #ftPrototype .ft-end-actions {margin-top:10px;gap:8px}
 #ftPrototype .ft-end-actions button {font-size:13px;padding:8px 12px}
 #ftPrototype .ft-scoreboard {grid-template-columns:repeat(2,minmax(0,1fr))}
 #ftPrototype .ft-scoreboard>div {min-width:0;padding:12px 4px}
 #ftPrototype .ft-scoreboard strong {font-size:22px}
 #ftPrototype .ft-run-heading {flex-wrap:wrap}
 .weekly-preview {flex:none;height:230px;min-height:230px}
 .weekly-preview .seat {width:76px}
 .weekly-preview .plate {padding:3px;min-height:36px}
 .weekly-preview .nm {font-size:10px}
 .weekly-preview .st {font-size:11px}
 .weekly-preview .pot {font-size:14px;top:38%}
 .weekly-preview .streetlbl {display:none}
 .weekly-table figcaption {font-size:11px;padding:7px 12px}
 #v-leaderboard .weekly-board {padding:20px 0}
}

/* Keep the ready preview readable and the primary actions within reach. */
#ftPrototype:not(.ft-started) .ft-table-meta {display:flex}
#ftPrototype .seat-0 {width:180px;top:86%}
#ftPrototype .ft-nameplate>strong {white-space:nowrap}
#ftPrototype .ft-seat-bet img {width:40px;height:30px}
#ftPrototype .ft-review>.ft-overline,#ftPrototype .ft-run-history .ft-overline {color:var(--accent)}
#v-leaderboard #lbIdentity {margin:12px 0}
#v-leaderboard #lbIdentity:has(#lbJoin[hidden]) {display:none}
#v-leaderboard #lbIdentity>summary {cursor:pointer;font:500 13px/1.5 var(--body);color:var(--fg);min-height:44px;align-content:center}
#v-leaderboard #lbJoin button {background:var(--panel);color:var(--fg);border-color:var(--line-strong)}
.weekly-preview .seat {left:var(--seat-x,50%);top:var(--seat-y,50%)}
.weekly-preview .center {top:49%;gap:8px}
.weekly-preview .plate {width:100%}
@media(min-width:761px) {
 #ftPrototype.ft-started .ft-room {height:420px;min-height:420px}
 #ftPrototype:not(.ft-started) .seat-0 {width:160px}
}
@media(max-width:760px) {
 #ftPrototype .seat-0 {width:120px;top:87%}
 #ftPrototype:not(.ft-started) .seat-0 {width:100px}
 #ftPrototype:not(.ft-started) .ft-table-meta {display:none}
 #ftPrototype .ft-toolbar {gap:0;padding:0 6px 6px}
 #ftPrototype .ft-toolbar>button {padding-inline:8px}
 #ftPrototype .ft-toolbar>button svg {width:16px;height:16px}
 #ftPrototype .ft-toolbar .ft-commentary>summary {padding-inline:8px;gap:5px}
 #ftPrototype .ft-toolbar .ft-commentary>summary svg {width:16px;height:16px}
 .weekly-preview {height:180px;min-height:180px}
 #v-leaderboard .weekly-intro {padding:16px 20px}
 #v-leaderboard h1 {font-size:32px}
 #v-leaderboard .challenge-facts {padding-block:10px;margin-bottom:6px}
 #v-leaderboard #lbStatus {margin:10px 0}
 #v-leaderboard #lbIdentity {margin:4px 0}
}

#ftWelcomeTitle>span,#weeklyTitle>span {display:block}
.weekly-preview .pot {position:absolute;width:max-content}
@media(max-width:760px) {#ftWelcomeTitle>span,#weeklyTitle>span {display:inline}}

/* End-state content determines its height, including larger text and tied payouts. */
#ftPrototype .ft-room:has(.ft-end-screen:not([hidden])) {height:auto;min-height:420px}
#ftPrototype .ft-end-screen:not([hidden]) {position:relative;min-height:420px}
@media(max-width:760px) {
 #ftPrototype .ft-room:has(.ft-end-screen:not([hidden])),#ftPrototype .ft-end-screen:not([hidden]) {min-height:360px}
 #ftWelcomeTitle>span:first-child,#weeklyTitle>span:first-child {margin-right:.16em}
}

#ftPrototype .ft-run-history details,#ftPrototype .ft-replay-preflop {color:var(--muted)}
#ftPrototype .ft-commentator span small {font-size:10px}
#ftPrototype .ft-dossier p {font-size:13px}

#ftPrototype .ft-room,#ftPrototype:not(.ft-started) .ft-room,.weekly-preview .tablewrap {background-image:image-set(url('/static/final-table-assets/training-room-reference.webp') type('image/webp'), url('/static/final-table-assets/training-room-reference.png') type('image/png'))}

/* Challenge entry follows the photographic two-panel reference. */
#ftPrototype:not(.ft-started) .ft-marquee{display:none}
#ftPrototype:not(.ft-started) .ft-entry-layout{min-height:680px;grid-template-columns:minmax(0,1.55fr) minmax(390px,.9fr)}
#ftPrototype:not(.ft-started) .ft-room{height:680px;min-height:680px;border-radius:0;background-size:cover;background-position:center}
#ftPrototype:not(.ft-started) .ft-welcome{padding:clamp(28px,3.5vw,58px);background:#f7f3eb;color:#0b231d}
#ftPrototype:not(.ft-started) .ft-welcome h2{font:400 clamp(54px,5.3vw,84px)/.95 'Instrument Serif',Georgia,serif;letter-spacing:-.025em;margin:20px 0 32px;color:#071b17}
#ftPrototype:not(.ft-started) .ft-welcome p{font-size:18px;line-height:1.5;max-width:34ch}
#ftPrototype:not(.ft-started) .ft-welcome .ft-overline{letter-spacing:.18em;color:#40534c}
#ftPrototype:not(.ft-started) .challenge-modes{margin:8px 0 20px}#ftPrototype:not(.ft-started) .challenge-modes a{min-height:56px;display:grid;place-items:center;font-size:18px}
#ftPrototype:not(.ft-started) .challenge-facts{margin:28px 0;padding:20px 0;border-top:1px solid #cec8bd;border-bottom:1px solid #cec8bd}
#ftPrototype:not(.ft-started) .ft-gold-button{min-height:65px;background:linear-gradient(#bb693d,#9a4b2d);border-color:#b46c43;color:#fff;font-size:19px}
#ftPrototype:not(.ft-started) .ft-welcome>small{border-top:1px solid #cec8bd;margin-top:24px;padding-top:22px;font-size:13px}
#ftPrototype:not(.ft-started) #finalTableHistory,#ftPrototype:not(.ft-started) .ft-below{display:none}
#ftPrototype .ft-preview-board,#ftPrototype .ft-preview-hero{display:none;pointer-events:none}
#ftPrototype:not(.ft-started) .ft-center .ft-board{display:none}
#ftPrototype:not(.ft-started) .ft-preview-board{display:flex;gap:5px;order:1;margin:2px 0 4px}
#ftPrototype:not(.ft-started) .ft-preview-hero{display:flex;position:absolute;left:50%;bottom:16%;transform:translateX(-50%);gap:5px;z-index:4}
#ftPrototype .ft-sample-card{display:flex;flex-direction:column;justify-content:space-between;width:50px;height:70px;padding:4px 6px;border-radius:5px;border:1px solid #d8d1c5;background:linear-gradient(145deg,#fffdf8,#e7e0d7);box-shadow:0 4px 8px #0008;color:#13221b;text-shadow:none;font:26px/1 Georgia,serif}
#ftPrototype .ft-sample-card small{align-self:flex-end;font:29px/1 Georgia,serif}#ftPrototype .ft-sample-card.red{color:#b52b2b}
@media(max-width:1000px){#ftPrototype:not(.ft-started) .ft-entry-layout{grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr)}#ftPrototype:not(.ft-started) .ft-room{height:560px;min-height:560px}#ftPrototype:not(.ft-started) .ft-welcome{padding:24px}#ftPrototype:not(.ft-started) .ft-welcome h2{font-size:60px}#ftPrototype:not(.ft-started) .ft-welcome p{font-size:16px}}
@media(max-width:760px){#ftPrototype:not(.ft-started) .ft-entry-layout{grid-template-columns:minmax(0,1fr);min-height:0}#ftPrototype:not(.ft-started) .ft-room{height:280px;min-height:280px}#ftPrototype:not(.ft-started) .ft-welcome{padding:24px}#ftPrototype:not(.ft-started) .ft-welcome h2{font-size:50px;margin:8px 0 18px}#ftPrototype:not(.ft-started) .ft-welcome p{font-size:15px;margin:10px 0}#ftPrototype:not(.ft-started) .ft-preview-hero{bottom:10%}#ftPrototype .ft-sample-card{width:32px;height:44px;font-size:17px}#ftPrototype .ft-sample-card small{font-size:19px}}

#ftPrototype .ft-sample-card{background:#fffdf8 url('/static/final-table-assets/card.png') center/100% 100% no-repeat}

/* Match the playable Train and Challenge tables. */
#ftPrototype.ft-started .ft-room {height:clamp(380px,30vw,440px);min-height:380px}
.leaderboard-spotlight {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 10px}
.leaderboard-spotlight .leader-card {display:grid;gap:3px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#f5efe3;min-width:0}
.leaderboard-spotlight .leader-card:first-child {background:#173d2e;color:#f8f0dd;border-color:#173d2e}
.leaderboard-spotlight .leader-card.is-you {outline:2px solid #b15d35;outline-offset:2px}
.leaderboard-spotlight .leader-card span {font:700 12px var(--mono);color:#aa633f}
.leaderboard-spotlight .leader-card:first-child span {color:#e8bf70}
.leaderboard-spotlight .leader-card strong {font:700 17px/1.25 var(--body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.leaderboard-spotlight .leader-card b {font:700 31px/1.1 var(--body);font-variant-numeric:tabular-nums}
.leaderboard-spotlight .leader-card small {font:12px/1.3 var(--body);opacity:.75}
.leaderboard-spotlight>p {grid-column:1/-1;margin:0;padding:22px;border:1px dashed var(--line-strong);border-radius:8px;text-align:center}
.leaderboard-your-place {padding:11px 15px;border-left:3px solid #b15d35;background:#f3e9dc;font-weight:600}
@media(max-width:700px){#ftPrototype.ft-started .ft-room{height:360px;min-height:360px}.leaderboard-spotlight{grid-template-columns:1fr}.leaderboard-spotlight .leader-card{grid-template-columns:36px minmax(0,1fr) auto;align-items:center;padding:10px 12px}.leaderboard-spotlight .leader-card b{font-size:23px}.leaderboard-spotlight .leader-card small{grid-column:2/-1}}
