:root {
  color-scheme: dark;
  --bg: #070a0d;
  --surface: #0d1217;
  --surface-2: #121920;
  --surface-3: #182129;
  --line: #26323c;
  --line-strong: #3a4853;
  --text: #f4f7f8;
  --text-soft: #b3bec6;
  --text-muted: #7e8c96;
  --accent: #f4c85a;
  --accent-strong: #ffd970;
  --accent-ink: #1a1405;
  --good: #48d597;
  --bad: #ff6b72;
  --info: #6db9ff;
  --felt: #117746;
  --felt-light: #198452;
  --felt-edge: #0b6941;
  --felt-dark: #063c2e;
  --wood: #140701;
  --wood-light: #2a1204;
  --seat-bg: #16191a;
  --seat-active: #132a1f;
  --seat-border: rgb(255 255 255 / 13%);
  --green: #95ecba;
  --gold: #eadb9e;
  --muted: rgb(192 205 199 / 58%);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 18px 50px rgb(0 0 0 / 35%);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; background: radial-gradient(circle at 70% -10%, #142028 0, transparent 34rem), var(--bg); color: var(--text); font: 14px/1.45 var(--font); }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; opacity: .5; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: inherit; }
.hidden, [hidden] { display: none !important; }
.mono { font-family: var(--mono); }
.muted { color: var(--text-muted); }
.tiny { font-size: 11px; }
.grow { flex: 1 1 auto; min-height: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.app-shell { width: 100%; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.workspace { width: 100%; max-width: 1800px; margin: 0 auto; padding: 14px; display: grid; grid-template-columns: minmax(350px, 390px) minmax(0, 1fr); gap: 14px; flex: 1 1 auto; min-height: 0; }
.inspector, .arena-card { min-width: 0; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 8px 30px rgb(0 0 0 / 18%); }
.inspector { order: 1; min-height: 0; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; }
.arena-card { order: 2; min-height: 600px; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; }

.topbar { min-height: 62px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.brandbar { display: flex; align-items: center; min-width: 0; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #6c5a2b; border-radius: 10px; background: #211d10; color: var(--accent); font-size: 19px; }
.brand-copy { min-width: 0; }
.brand-title { margin: 0 0 0 9px; overflow: hidden; color: var(--text); font-size: 14px; font-weight: 720; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.repo-link, .arena-icon-button, .icon-button, .field-icon-button, .info-button { display: inline-grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); background: transparent; color: var(--text-soft); transition: border-color .16s, background .16s, color .16s, transform .16s; }
.repo-link:hover, .arena-icon-button:hover, .icon-button:hover, .field-icon-button:hover, .info-button:hover { border-color: var(--line-strong); background: var(--surface-3); color: var(--text); }
.repo-link { width: 34px; height: 34px; border-color: transparent; border-radius: 9px; }
.repo-icon { width: 18px; height: 18px; }
.topbar-actions { display: flex; gap: 6px; }
.button { min-height: 36px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface-2); color: var(--text); font-weight: 650; transition: border-color .16s, background .16s, color .16s, transform .16s; }
.button:hover:not(:disabled) { border-color: #546470; background: var(--surface-3); }
.button:active:not(:disabled), .arena-icon-button:active { transform: translateY(1px); }
.button.primary { border-color: #ebc24f; background: var(--accent); color: var(--accent-ink); }
.button.primary:hover:not(:disabled) { border-color: var(--accent-strong); background: var(--accent-strong); }
.button.danger { border-color: #6d3439; color: #ff9ca1; }
.button.danger:hover:not(:disabled) { background: #2a1518; }
.button.ghost { background: transparent; }
.small-button { min-height: 32px; padding-inline: 10px; font-size: 12px; }
.top-action { width: 36px; min-height: 36px; padding: 0; }
.icon-only-action .action-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.action-icon { font-size: 14px; line-height: 1; }

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 7px; border-bottom: 1px solid var(--line); background: #090d11; }
.tab { min-height: 35px; border: 0; border-radius: 8px; background: transparent; color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.tab:hover { background: var(--surface-2); color: var(--text-soft); }
.tab.active { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.tab-count { min-width: 20px; margin-left: 4px; padding: 1px 5px; border-radius: 999px; background: #27323a; color: var(--text-soft); font: 10px/1.5 var(--mono); }
.tab.active .tab-count { background: #4e4320; color: var(--accent-strong); }
.tab-panel { min-height: 0; flex: 1 1 auto; overflow: hidden; }
.tab-panel.active { display: flex; flex-direction: column; }
#tab-live { gap: 8px; padding: 8px; }
#tab-log, #tab-stats { padding: 8px; }
.panel-block { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #0b1014; }
.panel-title, .panel-title-row { color: var(--text-soft); font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.panel-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-caption { color: var(--text-muted); font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.empty-state { padding: 24px 12px; color: var(--text-muted); text-align: center; }

.decision-panel { flex: 0 0 auto; }
.decision-card { margin-top: 10px; }
.decision-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.decision-identity { min-width: 0; }
.decision-player { overflow: hidden; font-size: 23px; font-weight: 760; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.decision-model-line { margin-top: 2px; overflow: hidden; color: var(--text-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.clock-wrap { display: grid; min-width: 78px; justify-items: end; }
.decision-phase { padding: 2px 6px; border: 1px solid #42505a; border-radius: 999px; color: var(--text-soft); font: 9px/1.4 var(--mono); letter-spacing: .08em; }
.decision-phase.thinking { border-color: #7d6826; color: var(--accent); }
.decision-phase.paused { border-color: #3a6384; color: var(--info); }
.decision-phase.winner { border-color: #6e5d23; color: var(--accent); }
.decision-clock { min-height: 36px; margin-top: 1px; font: 700 27px/1.2 var(--mono); }
#bankClock { max-width: 125px; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.decision-context { margin: 12px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.decision-context span { min-width: 0; padding: 9px 7px; border-right: 1px solid var(--line); }
.decision-context span:last-child { border-right: 0; }
.decision-context small, .decision-context b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.decision-context small { color: var(--text-muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.decision-context b { margin-top: 2px; font-size: 12px; }
.decision-actions-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: var(--text-soft); font-size: 11px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.action-chip { max-width: 100%; padding: 5px 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--text-soft); font-size: 11px; text-overflow: ellipsis; }
.action-chip.selected { border-color: #856e28; background: #211d10; color: var(--accent-strong); }
.champion-badge svg { width: 32px; fill: var(--accent); }
.winner-podium { width: 100%; display: grid; gap: 5px; }
.podium-row { padding: 7px 9px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 8px; }
.podium-row.first { border-color: #6e5d23; background: #1a170c; }
.podium-name { overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.podium-meta { color: var(--text-muted); font-size: 10px; }

.decision-feed-panel { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.decision-feed { flex: 1 1 auto; min-height: 0; margin: 9px -4px -4px 0; padding-right: 4px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #35434d transparent; }
.decision-item { width: 100%; padding: 11px 10px; display: block; border: 0; border-top: 1px solid var(--line); background: transparent; color: inherit; text-align: left; }
.decision-item:first-child { border-top: 0; }
.decision-item:hover { border-radius: 8px; background: var(--surface-2); }
.decision-item.error { border-left: 2px solid var(--bad); }
.decision-item-head { display: flex; justify-content: space-between; gap: 10px; }
.decision-item-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.decision-item-action { flex: 0 0 auto; color: var(--accent); font-weight: 700; }
.decision-reason { margin-top: 5px; display: -webkit-box; overflow: hidden; color: var(--text-soft); font-size: 12px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
/* 0.15.0 — streamed reasoning: live scratch work and persisted decision history. */
/* Live streamed reasoning: raw model scratch work, visually separated from the vetted public reason. */
.decision-reasoning { margin-top: 9px; padding: 8px 9px; border: 1px solid #3a3320; border-left: 2px solid var(--accent); border-radius: 8px; background: #191509; display: grid; gap: 4px; }
.decision-reasoning.hidden { display: none; }
.decision-reasoning-label { color: var(--accent); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.decision-reasoning-text { display: -webkit-box; overflow: hidden; color: var(--text-soft); font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.decision-reasoning-excerpt { margin-top: 6px; padding: 6px 8px; border-left: 2px solid #3a3320; border-radius: 6px; background: #14180f; display: grid; gap: 3px; color: var(--text-soft); font-size: 11px; line-height: 1.4; }
.decision-reasoning-excerpt .decision-reasoning-label { color: var(--text-muted); }
/* 0.16.0 — live history row: pinned in-progress entry with a streaming reasoning tail. */
/* Pinned in-progress row in Decision history. */
.decision-item.live { border-left: 2px solid var(--accent); background: #171307; }
.decision-item.live .decision-reason.live { display: flex; align-items: center; gap: 6px; }
.live-action { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); }
.live-pulse { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 999px; background: var(--accent); animation: livePulse 1.1s ease-in-out infinite; }
.decision-reasoning-excerpt.live { border-left-color: var(--accent); background: #191509; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .live-pulse { animation: none; } }


.decision-meta { margin-top: 7px; color: var(--text-muted); font-size: 9px; overflow-wrap: anywhere; }
.decision-replay-hint { float: right; margin-left: 8px; color: var(--info); }
.decision-item-telemetry { margin-top: 8px; }
.telemetry-group + .telemetry-group { margin-top: 6px; }
.telemetry-caption { display: block; margin-bottom: 4px; color: var(--text-muted); font-size: 9px; text-transform: uppercase; }
.probability-strip { display: grid; gap: 4px; }
.probability-item { display: grid; grid-template-columns: minmax(65px, auto) 1fr 30px; align-items: center; gap: 6px; color: var(--text-soft); font-size: 9px; }
.probability-item b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.probability-item i { height: 3px; overflow: hidden; border-radius: 999px; background: #263139; }
.probability-item u { height: 100%; display: block; background: var(--accent); text-decoration: none; }
.probability-item em { color: var(--text-muted); font-style: normal; text-align: right; }
.decision-facts { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 9px; color: var(--text-muted); font-size: 9px; }

.event-panel { display: flex; flex-direction: column; }
.log-title-row { align-items: flex-start; }
.log-summary { margin-top: 3px; color: var(--text-muted); font-size: 10px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.log-toolbar { margin: 10px 0 8px; display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: 6px; }
.log-search, .log-filter { min-width: 0; }
.log-clear { height: 38px; min-height: 38px; align-self: start; }
input, select { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; outline: 0; background: #090d11; color: var(--text); }
input::placeholder { color: #67747d; }
input:focus, select:focus { border-color: #8f7a36; box-shadow: 0 0 0 3px rgb(244 200 90 / 9%); }
.native-select-enhanced { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: -1px !important; padding: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
/* 0.11.0 — direct choice controls and recording-conscious motion. */
.choice-picker { width: 100%; margin-top: 6px; padding: 3px; display: flex; flex-wrap: wrap; gap: 3px; border: 1px solid var(--line-strong); border-radius: 9px; background: #090d11; }
.choice-option { min-width: 0; min-height: 32px; padding: 6px 9px; flex: 1 1 110px; border: 0; border-radius: 6px; background: transparent; color: var(--text-muted); font-size: 10px; font-weight: 650; line-height: 1.2; text-align: center; }
.choice-option:hover:not(:disabled) { background: var(--surface-2); color: var(--text-soft); }
.choice-option[aria-checked="true"] { background: #332d14; color: var(--accent-strong); box-shadow: inset 0 0 0 1px #6e5d23; }
.choice-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.choice-option:disabled { opacity: .38; }
.log-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
.log-filter { grid-column: 1 / -1; }
.log-filter .choice-picker { margin-top: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.log-filter .choice-option { min-width: max-content; min-height: 29px; flex: 1 0 auto; padding-inline: 10px; }
.event-log { min-height: 0; flex: 1 1 auto; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #35434d transparent; }
.event-row { width: 100%; min-height: 66px; padding: 9px 7px 9px 0; display: grid; grid-template-columns: 3px minmax(0, 1fr) 16px; gap: 9px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; text-align: left; }
button.event-row:hover { border-radius: 8px; background: var(--surface-2); }
.event-rail { border-radius: 999px; background: #53616b; }
.event-decisions .event-rail { background: var(--accent); }
.event-hands .event-rail { background: var(--good); }
.event-errors .event-rail, .event-row.has-error .event-rail { background: var(--bad); }
.event-row-head { display: flex; justify-content: space-between; gap: 10px; }
.event-type { color: var(--text-soft); font: 700 9px/1.4 var(--mono); letter-spacing: .07em; }
.event-time, .event-meta { color: var(--text-muted); font-size: 9px; }
.event-detail, .event-meta { display: block; margin-top: 3px; overflow-wrap: anywhere; }
.event-detail { color: var(--text); font-size: 12px; }
.event-open { align-self: center; color: var(--info); }

#tab-stats .panel-block { display: flex; flex-direction: column; }
.stats-grid { margin-top: 10px; min-height: 0; flex: 1 1 auto; display: grid; align-content: start; gap: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #35434d transparent; }
.stat-card { padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #0a0f13; }
.stat-top { display: flex; justify-content: space-between; gap: 10px; }
.stat-name { font-weight: 750; }
.stat-model { max-width: 235px; overflow: hidden; color: var(--text-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.poker-profile, .stat-values { margin-top: 10px; display: grid; gap: 4px; }
.poker-profile { grid-template-columns: repeat(5, 1fr); }
.stat-values { grid-template-columns: repeat(3, 1fr); }
.poker-profile div, .metric { padding: 6px 2px; border-radius: 6px; background: var(--surface-2); text-align: center; }
.poker-profile b, .poker-profile span, .metric b, .metric span { display: block; }
.poker-profile span, .metric span { color: var(--text-muted); font-size: 8px; text-transform: uppercase; }
.stat-reliability { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 9px; color: var(--text-muted); font-size: 9px; }

.arena-head { min-height: 48px; padding: 8px 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.arena-status { display: flex; align-items: center; gap: 7px; font: 700 10px/1 var(--mono); letter-spacing: .08em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #66727a; box-shadow: 0 0 0 3px rgb(102 114 122 / 12%); }
.status-dot.running { background: var(--good); box-shadow: 0 0 0 3px rgb(72 213 151 / 13%); }
.status-dot.paused { background: var(--accent); }
.status-dot.error { background: var(--bad); }
#tournamentMeta { overflow: hidden; font-size: 10px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.arena-head-actions { display: flex; gap: 5px; }
.arena-icon-button { width: 32px; height: 32px; border-radius: 8px; }
.arena-icon-button.active { border-color: #806d2d; color: var(--accent); }
.record-button.recording { border-color: #8f363c; color: var(--bad); animation: recordPulse 1.5s infinite; }
@keyframes recordPulse { 50% { box-shadow: 0 0 0 4px rgb(255 107 114 / 8%); } }

.poker-table { position: relative; min-height: 0; flex: 1 1 auto; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 43%, #202529 0, #111518 48%, #07090b 100%); }
.poker-table::before { position: absolute; inset: 0; z-index: 0; content: ""; opacity: .52; background: radial-gradient(ellipse at 50% 38%, rgb(255 224 174 / 7%) 0, transparent 42%), repeating-linear-gradient(104deg, rgb(255 255 255 / 1.2%) 0 1px, transparent 1px 7px), repeating-linear-gradient(14deg, rgb(0 0 0 / 4%) 0 2px, transparent 2px 9px); pointer-events: none; }
.poker-table::after { position: absolute; inset: 0; z-index: 7; content: ""; box-shadow: inset 0 0 90px 22px rgb(0 0 0 / 58%); pointer-events: none; }
/* Oversized suit wallpaper behind the table, ported from poker-table.html. */
.wallpaper { position: absolute; inset: -4vmax; z-index: 0; display: flex; flex-direction: column; justify-content: space-around; overflow: hidden; opacity: .5; pointer-events: none; }
.wallpaper-row { width: 120vw; margin-left: -10vw; color: rgb(0 0 0 / 82%); font-size: clamp(46px, 5.4vw, 82px); line-height: .86; letter-spacing: clamp(11px, 1.65vw, 26px); white-space: nowrap; }
.wallpaper-row:nth-child(even) { transform: translateX(3.6vw); }
.felt-ring { position: absolute; inset: clamp(38px, 7%, 74px) clamp(45px, 8%, 92px); z-index: 1; overflow: hidden; border: clamp(13px, 1.7vw, 22px) solid transparent; border-radius: 48%; background: radial-gradient(ellipse at 42% 38%, rgb(255 255 255 / 6%) 0, transparent 38%) padding-box, linear-gradient(115deg, var(--felt-light), var(--felt) 48%, var(--felt-edge)) padding-box, repeating-linear-gradient(96deg, #29170d 0 8px, #4d2c18 8px 15px, #744828 15px 19px, #3b2213 19px 29px, #25140b 29px 35px) border-box; box-shadow: inset 0 0 0 2px rgb(222 179 112 / 36%), inset 0 0 54px rgb(0 0 0 / 36%), 0 3px 0 #8b5a32, 0 8px 0 #21130c, 0 22px 38px rgb(0 0 0 / 64%); pointer-events: none; }
.felt-ring::before { position: absolute; inset: 0; border-radius: inherit; content: ""; opacity: .42; background: radial-gradient(ellipse at 28% 24%, rgb(255 255 255 / 8%) 0, transparent 22%), radial-gradient(ellipse at 72% 72%, rgb(0 0 0 / 17%) 0, transparent 30%), linear-gradient(18deg, transparent 0 37%, rgb(236 244 237 / 7%) 37.15% 37.3%, transparent 37.6% 65%, rgb(0 0 0 / 8%) 65.2% 65.35%, transparent 65.7%), repeating-linear-gradient(91deg, transparent 0 3px, rgb(255 255 255 / 2.5%) 3px 4px), repeating-linear-gradient(4deg, rgb(0 0 0 / 2.8%) 0 1px, transparent 1px 5px); mix-blend-mode: soft-light; }
.felt-ring::after { position: absolute; inset: 7px; border: 1px solid rgb(226 191 132 / 24%); border-radius: inherit; content: ""; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 24%), inset 0 0 34px rgb(0 0 0 / 19%); }
.seats-layer, .fx-layer { position: absolute; inset: 0; }
.fx-layer { z-index: 8; pointer-events: none; }
/* Seats are compact player cards, ported from poker-table.html: name/stack on
   the first row, model/big-blinds on the second, action above dealt cards. */
.seat { position: absolute; z-index: 4; width: 136px; min-height: 116px; padding: 8px 9px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head stack" "action action" "cards cards"; align-content: start; row-gap: 6px; transform: translate(-50%, -50%); border: 1px solid var(--seat-border); border-radius: 12px; background: var(--seat-bg); color: var(--text); box-shadow: 0 7px 14px rgb(0 0 0 / 48%); text-align: left; transition: border-color .18s, box-shadow .18s, opacity .18s, transform .18s; }
.seat:not(.lobby-seat) { min-height: 112px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.seat-card { position: relative; width: 100%; min-height: 50px; padding: 7px 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head stack"; align-items: center; gap: 7px; border: 1px solid var(--seat-border); border-radius: 11px; background: var(--seat-bg); box-shadow: 0 7px 14px rgb(0 0 0 / 48%); }
.seat.active .seat-card, .seat.turn-active .seat-card { border-color: rgb(120 231 172 / 72%); background: var(--seat-active); box-shadow: 0 0 0 2px rgb(120 231 172 / 12%), 0 9px 24px rgb(0 0 0 / 48%); }
.seat.busted { opacity: .42; filter: grayscale(.7); }
.seat.winner .seat-card { border-color: var(--gold); }
.seat-turn { position: absolute; inset: -3px; z-index: 1; display: none; padding: 2px; border-radius: 14px; background: conic-gradient(from -90deg, rgb(255 255 255 / 8%) 0 calc((1 - var(--turn, 1)) * 1turn), #78e3aa 0); pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.seat.turn-active .seat-turn { display: block; }
.seat.turn-low .seat-turn { background: conic-gradient(from -90deg, rgb(255 255 255 / 8%) 0 calc((1 - var(--turn, 1)) * 1turn), #df6b62 0); }
.seat-head { grid-area: head; display: block; min-width: 0; }
.seat-name { display: block; overflow: hidden; font-size: 12px; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }
.seat-model { display: block; overflow: hidden; color: var(--muted); font-size: 8px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.seat-model::before { margin-right: .32em; color: rgb(174 222 197 / 68%); font-weight: 800; content: "◇"; }
.seat-pos { position: absolute; top: -9px; right: -6px; z-index: 2; min-width: 25px; padding: 4px 4px 3px; border: 1px solid rgb(222 196 119 / 30%); border-radius: 999px; background: #203529; color: var(--gold); font: 900 9px/1 var(--mono); letter-spacing: .035em; text-align: center; box-shadow: 0 2px 5px rgb(0 0 0 / 32%); }
.seat-stack { grid-area: stack; margin: 0; display: grid; justify-items: end; align-content: start; gap: 3px; text-align: right; }
.seat-stack strong { font: 900 12px/1 var(--mono); font-variant-numeric: tabular-nums; }
.seat-stack > span { color: var(--green); font: 800 8px/1 var(--mono); font-variant-numeric: tabular-nums; }
.seat-stack > span::before { margin-right: .24em; color: rgb(149 236 186 / 62%); content: "◎"; }
.chip-dot { width: 6px; height: 6px; margin-right: 4px; display: inline-block; border-radius: 50%; background: #eec767; }
.hole-cards { position: relative; grid-area: cards; margin: 0; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 36px; }
.hole-cards .hole-card { box-shadow: 0 3px 7px rgb(0 0 0 / 30%); }
.hole-cards .hole-card:first-child { rotate: -4deg; }
.hole-cards .hole-card + .hole-card { margin-left: -7px; translate: 0 4px; rotate: 6deg; }
.last-action { grid-area: action; max-width: calc(100% - 8px); min-height: 20px; padding: 4px 9px; display: block; overflow: hidden; border: 1px solid rgb(104 93 50 / 70%); border-radius: 999px; background: rgb(24 26 25 / 94%); color: var(--muted); font: 800 8px/1.25 var(--mono); letter-spacing: .04em; text-align: center; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; box-shadow: 0 3px 7px rgb(0 0 0 / 26%); }
.last-action:empty { visibility: hidden; }
.last-action.raise, .last-action.bet, .last-action.winner { color: var(--accent); }
.last-action.call, .last-action.check { color: var(--good); }
.last-action.fold { color: var(--bad); }

.lobby-seat { width: 132px; min-height: 86px; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.lobby-seat:hover { border-color: rgb(149 236 186 / 48%); background: var(--seat-active); transform: translate(-50%, -50%) translateY(-2px); }
.empty-seat { display: grid; grid-template-columns: 1fr; grid-template-areas: none; place-items: center; align-content: center; border-style: dashed; background: rgb(16 20 19 / 72%); color: rgb(221 236 228 / 72%); text-align: center; }
.empty-seat:hover { border-color: rgb(149 236 186 / 48%); background: rgb(20 31 26 / 88%); }
.empty-seat-plus { width: 30px; height: 30px; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; background: rgb(96 170 131 / 11%); color: rgb(166 232 197 / 78%); font-size: 19px; line-height: 1; }
.empty-seat-number { margin-top: 4px; font-size: 9px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.empty-seat-copy, .lobby-edit-hint { color: rgb(183 204 194 / 48%); font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.configured-seat-meta { margin-top: 8px; display: flex; justify-content: space-between; gap: 5px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .03em; }
.poker-table.lobby-measure .lobby-seat { transition: none; }

.table-center { position: absolute; inset: 21% 19%; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.table-brand-stage { position: relative; min-height: 86px; display: grid; align-content: start; justify-items: center; }
.table-brand { display: flex; flex-direction: column; align-items: center; gap: 2px; color: rgb(207 250 228 / 24%); text-align: center; }
.table-brand-mark { font-size: clamp(28px, 3vw, 46px); line-height: .8; opacity: .5; }
.table-brand-copy strong, .table-brand-copy small { display: block; }
.table-brand-copy strong { font-size: clamp(20px, 2.5vw, 40px); line-height: .95; font-weight: 900; letter-spacing: -.052em; text-transform: uppercase; }
.table-brand-copy small { margin-top: 4px; font-size: clamp(7px, .8vw, 11px); font-weight: 200; letter-spacing: .3em; text-transform: uppercase; opacity: .6; }
.poker-table.action-message-visible .table-brand-stage .table-brand { opacity: 1; }
.action-toast { position: absolute; left: 50%; bottom: 0; z-index: 2; max-width: min(100%, 360px); padding: 7px 12px; transform: translateX(-50%); overflow: hidden; border: 1px solid #685d32; border-radius: 999px; background: #181a19; color: var(--gold); font: 900 11px/1.1 var(--mono); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 3px 7px rgb(0 0 0 / 26%); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.street-label { margin-top: 4px; color: rgb(207 250 228 / 60%); font: 800 clamp(8px, .86vw, 11px)/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.street-label.winner-street { color: var(--gold); }
.board { margin-top: 7px; display: flex; justify-content: center; gap: clamp(3px, .34vw, 6px); }
.card { position: relative; width: clamp(38px, 4.1vw, 58px); aspect-ratio: .7; flex: 0 0 auto; overflow: hidden; border: 0; border-radius: clamp(5px, .52vw, 8px); background: #f7f7f4; color: #111; box-shadow: 0 3px 7px rgb(0 0 0 / 30%); }
.card.red { color: #b12626; }
.card.empty { border: 1px dashed rgb(199 221 210 / 24%); background: rgb(16 32 27 / 72%); color: rgb(199 221 210 / 24%); }
.card-corner { position: absolute; top: 3px; left: 4px; display: grid; justify-items: center; font: 800 clamp(10px, 1.1vw, 14px)/1 "Trebuchet MS", var(--font); }
.card-corner i { margin-top: 1px; font-style: normal; font-size: .8em; }
.card-corner.bottom { right: 4px; bottom: 3px; top: auto; left: auto; transform: rotate(180deg); }
.card-suit { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(18px, 2vw, 28px); }
.card-back-mark { position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; }
.hole-card { width: 25px; border-radius: 4px; }
.hole-card .card-suit { font-size: 14px; }
.hole-card .card-corner { top: 2px; left: 3px; font-size: 9px; }
.hole-card .card-corner.bottom { display: none; }
.rank-only-corners .card-corner i { display: none; }
.poker-table:not(.lobby-mode)[data-density="roomy"] .seat { width: 136px; min-height: 112px; }
.poker-table:not(.lobby-mode)[data-density="roomy"] .hole-card { width: 28px; }
.poker-table:not(.lobby-mode)[data-density="compact"] .seat { width: 118px; min-height: 100px; padding: 0; gap: 2px; }
.poker-table:not(.lobby-mode)[data-density="compact"] .seat-card { min-height: 45px; padding: 6px 7px; }
.poker-table:not(.lobby-mode)[data-density="compact"] .hole-cards { min-height: 34px; margin-block: 3px 2px; }
.poker-table:not(.lobby-mode)[data-density="compact"] .hole-card { width: 24px; }
.poker-table:not(.lobby-mode)[data-density="tight"] .seat { width: 102px; min-height: 85px; padding: 0; gap: 1px; }
.poker-table:not(.lobby-mode)[data-density="tight"] .seat-card { min-height: 40px; padding: 5px 6px; }
.poker-table:not(.lobby-mode)[data-density="tight"] .seat-model { display: none; }
.poker-table:not(.lobby-mode)[data-density="tight"] .hole-cards { min-height: 29px; margin-block: 2px; }
.poker-table:not(.lobby-mode)[data-density="tight"] .hole-card { width: 20px; }
.poker-table:not(.lobby-mode)[data-density="tight"] .last-action { min-height: 17px; font-size: 7px; }
.poker-table:not(.lobby-mode)[data-density="micro"] .seat { width: 86px; min-height: 70px; padding: 0; gap: 1px; }
.poker-table:not(.lobby-mode)[data-density="micro"] .seat-card { min-height: 34px; padding: 4px 5px; }
.poker-table:not(.lobby-mode)[data-density="micro"] .seat-model, .poker-table:not(.lobby-mode)[data-density="micro"] .seat-stack > span { display: none; }
.poker-table:not(.lobby-mode)[data-density="micro"] .seat-name { font-size: 9px; }
.poker-table:not(.lobby-mode)[data-density="micro"] .hole-cards { min-height: 24px; margin-block: 1px; gap: 2px; }
.poker-table:not(.lobby-mode)[data-density="micro"] .hole-card { width: 17px; }
.poker-table:not(.lobby-mode)[data-density="micro"] .hole-card .card-corner { top: 1px; left: 2px; font-size: 7px; }
.poker-table:not(.lobby-mode)[data-density="micro"] .hole-card .card-suit { font-size: 10px; }
.poker-table:not(.lobby-mode)[data-density="micro"] .last-action { min-height: 14px; font-size: 6px; }
.table-hud { max-width: 100%; margin-top: 11px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3px clamp(7px, 1.35vw, 18px); border: 0; background: transparent; }
.hud-pill { min-width: 0; padding: 0; border-right: 0; text-align: center; color: rgb(207 250 228 / 72%); }
.hud-pill:last-child { border-right: 0; }
.hud-pill span, .hud-pill strong { display: inline; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-pill span { color: rgb(207 250 228 / 46%); font-size: clamp(7px, .86vw, 11px); font-weight: 900; letter-spacing: .065em; text-transform: uppercase; }
.hud-pill strong { margin-left: .4em; color: rgb(207 250 228 / 82%); font: 900 clamp(7px, .86vw, 11px)/1.15 var(--mono); letter-spacing: .065em; }

.flying-chip { position: absolute; z-index: 20; width: 13px; height: 13px; border: 2px dashed white; border-radius: 50%; background: #d69e32; }
.chip-1 { background: #ca4650; }
.chip-2 { background: #377dc1; }
.fold-flash { animation: foldFlash .55s ease; }
.check-flash { animation: checkFlash .42s ease; }
@keyframes foldFlash { 50% { opacity: .32; transform: translate(-50%, -50%) scale(.96); } }
@keyframes checkFlash { 50% { border-color: var(--good); } }

/* 0.10.0 — complete poker-table template implementation ------------------- */
.table-arena { position: absolute; inset: 0; z-index: 2; contain: layout style; --table-seat-width: 136px; --table-hole-width: 28px; --table-seat-height: 52px; }
.table-seats { position: absolute; inset: 0; z-index: 6; }
.table-scene { position: absolute; left: 50%; top: 50%; width: 64%; aspect-ratio: 930 / 520; transform: translate(-50%, -50%); }
.casino-table { position: relative; width: 100%; height: 100%; padding: clamp(8px, 2.6%, 24px); container-type: size; border-radius: 41% / 50%; background: repeating-linear-gradient(7deg, rgb(255 255 255 / 1.2%) 0 1px, rgb(16 7 2 / 15%) 1px 5px, rgb(66 31 10 / 2.8%) 5px 7px), linear-gradient(180deg, var(--wood-light), var(--wood) 45%, #080200); box-shadow: 0 18px 24px rgb(0 0 0 / 56%), inset 0 -7px 10px rgb(0 0 0 / 82%), 0 0 0 2px rgb(0 0 0 / 70%); }
.table-felt { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 40% / 50%; background: radial-gradient(ellipse at 42% 38%, rgb(255 255 255 / 5%), transparent 36%), linear-gradient(115deg, var(--felt-light), var(--felt) 48%, var(--felt-edge)); box-shadow: inset 0 6px 12px rgb(0 0 0 / 30%), inset 0 0 0 1px rgb(42 92 49 / 30%); }
.table-content { position: absolute; inset: 0; z-index: 2; color: rgb(185 244 216 / 24%); text-align: center; pointer-events: none; }
/* 0.10.1 — responsive branding stays above cards and inside the felt. */
.table-branding { position: absolute; left: 50%; top: 7%; width: 72%; height: 31%; max-width: calc(100% - 24px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(2px, .8cqi, 8px); overflow: hidden; transform: translateX(-50%); }
.table-brand-logo { flex: 0 1 auto; font-size: clamp(20px, 8cqi, 84px); line-height: .68; font-weight: 900; opacity: .38; }
.table-brand-title { max-width: 100%; flex: 0 0 auto; overflow: hidden; font-family: "Arial Black", var(--font); font-size: clamp(9px, 4.4cqi, 48px); line-height: .92; font-weight: 900; letter-spacing: -.045em; text-overflow: clip; text-transform: uppercase; white-space: nowrap; opacity: .48; }
.table-brand-subtitle { max-width: 100%; flex: 0 0 auto; overflow: hidden; font-size: clamp(5px, 1.25cqi, 14px); line-height: 1; font-weight: 500; letter-spacing: .16em; text-overflow: clip; text-transform: uppercase; white-space: nowrap; opacity: .36; }
.board-zone { position: absolute; left: 50%; top: 60%; width: 84%; display: flex; flex-direction: column; align-items: center; gap: clamp(3px, .45vw, 7px); transform: translate(-50%, -50%); }
.community-cards { display: flex; justify-content: center; gap: clamp(3px, .34vw, 6px); }
.playing-card { position: relative; display: inline-block; border: 0; background: #f7f7f4; color: #111; font-family: "Trebuchet MS", Arial, sans-serif; font-style: normal; box-shadow: 0 3px 7px rgb(0 0 0 / 30%); }
.playing-card.red { color: #b12626; }
.board-card { position: relative; width: clamp(22px, 5vw, 59px); aspect-ratio: 59 / 80; border-radius: clamp(5px, .52vw, 8px); }
.board-card::before { position: absolute; left: 9%; top: 7%; content: attr(data-rank) "\A" attr(data-suit); font-size: clamp(10px, 1.45vw, 20px); line-height: .82; font-weight: 800; letter-spacing: -.04em; white-space: pre; }
.board-card::after { position: absolute; left: 50%; top: 53%; content: attr(data-suit); font-size: clamp(26px, 3.8vw, 52px); line-height: 1; font-weight: 700; transform: translate(-50%, -50%); }
.board-card--empty { background: rgb(245 249 246 / 3.5%); box-shadow: inset 0 0 0 1px rgb(210 239 224 / 16%); }
.board-card--empty::before, .board-card--empty::after { content: ""; }
.street-label { margin: 0; color: rgb(207 250 228 / 55%); font: 800 clamp(7px, .8vw, 11px)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.pot-visual { min-height: clamp(14px, 1.7vw, 23px); display: flex; align-items: flex-end; justify-content: center; }
.chip-stack { position: relative; width: clamp(16px, 1.65vw, 23px); height: clamp(13px, 1.45vw, 20px); margin-left: -2px; }
.chip-stack:first-child { margin-left: 0; }
.pot-chip, .blind-chip { aspect-ratio: 1; border: 2px dashed rgb(255 255 255 / 70%); border-radius: 50%; background: #9f2f31; box-shadow: 0 2px 3px rgb(0 0 0 / 25%); }
.pot-chip { position: absolute; left: 50%; width: clamp(13px, 1.35vw, 19px); transform: translateX(-50%); }
.pot-chip:nth-child(1) { bottom: 0; } .pot-chip:nth-child(2) { bottom: 3px; } .pot-chip:nth-child(3) { bottom: 6px; } .pot-chip:nth-child(4) { bottom: 9px; } .pot-chip:nth-child(5) { bottom: 12px; }
.pot-chip.chip-white { background: #e7e2d4; border-color: #9f2f31; } .pot-chip.chip-red { background: #9f2f31; } .pot-chip.chip-blue { background: #315e91; } .pot-chip.chip-black { background: #202324; } .pot-chip.chip-gold { background: #a68135; }
.chip-stack[data-chip-count] { margin-right: 8px; }
.chip-stack[data-chip-count]::after { position: absolute; right: -10px; top: -4px; color: rgb(225 236 230 / 62%); content: attr(data-chip-count); font: 800 7px/1 var(--mono); }
.game-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px clamp(7px, 1.35vw, 8px); font-size: clamp(7px, .9vw, 13px); line-height: 1.15; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; opacity: .76; }
.game-info span { white-space: nowrap; } .game-info b { color: rgb(207 250 228 / 52%); font-weight: 900; }
.table-markers { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.table-marker { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); transition: left .18s ease, top .18s ease; }
.dealer-button { width: clamp(20px, 2.5cqi, 30px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #f3f1e8; color: #222; font-size: clamp(9px, 1.15cqi, 14px); font-weight: 900; box-shadow: 0 2px 5px rgb(0 0 0 / 38%), inset 0 0 0 1px rgb(0 0 0 / 12%); }
.blind-chip { width: clamp(13px, 1.35vw, 19px); flex: 0 0 auto; }
.blind-chip + .blind-chip { margin-left: -42%; transform: translateY(-3px); }

.table-seat { position: absolute; z-index: 6; width: var(--table-seat-width); min-height: 112px; transform: translate(-50%, -50%); color: var(--text); transition: left .18s ease, top .18s ease, width .18s ease, opacity .18s ease; }
.table-seat .seat-card, .table-seat .empty-seat { position: absolute; left: 0; bottom: 0; width: 100%; min-height: var(--table-seat-height); }
.table-seat .seat-card { padding: 6px 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name stack" "model bb"; align-items: center; column-gap: 8px; row-gap: 3px; overflow: visible; border: 1px solid var(--seat-border); border-radius: 12px; background: var(--seat-bg); color: var(--text); box-shadow: 0 7px 14px rgb(0 0 0 / 48%); text-align: left; }
.table-seat button.seat-card { font: inherit; cursor: pointer; }
.table-seat .seat-name, .table-seat .seat-model { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-seat .seat-name { grid-area: name; font-size: 12px; line-height: 1; font-weight: 900; text-transform: uppercase; }
.table-seat .seat-model { grid-area: model; color: var(--muted); font-size: 8px; line-height: 1; font-weight: 600; text-transform: lowercase; }
.table-seat .seat-stack, .table-seat .seat-bb { justify-self: end; color: rgb(236 241 238 / 88%); line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-seat .seat-stack { grid-area: stack; font-size: 11px; }
.table-seat .seat-bb { grid-area: bb; color: rgb(205 215 210 / 78%); font-size: 9px; }
.table-seat .seat-stack:not(.seat-stack--pending)::before { content: none; }
.table-seat .seat-card--pending { border-color: rgb(229 199 102 / 22%); background: #171917; }
.table-seat .seat-stack--pending { padding: 3px 5px; border-radius: 999px; background: rgb(200 170 88 / 8%); color: rgb(231 217 166 / 72%); box-shadow: inset 0 0 0 1px rgb(200 170 88 / 12%); font-size: 8px; letter-spacing: .055em; }
.table-seat .seat-bb--pending { color: rgb(192 205 199 / 42%); }
.table-seat .empty-seat { padding: 6px 8px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgb(198 218 208 / 16%); border-radius: 12px; background: rgb(18 22 21 / 62%); color: rgb(210 226 218 / 62%); box-shadow: 0 5px 12px rgb(0 0 0 / 24%); }
.empty-seat-icon { position: relative; width: 27px; aspect-ratio: 1; flex: 0 0 auto; border-radius: 50%; background: rgb(130 190 158 / 9%); color: rgb(169 221 194 / 72%); }
.empty-seat-icon::before, .empty-seat-icon::after { position: absolute; left: 50%; top: 50%; width: 42%; height: 1.5px; border-radius: 999px; background: currentColor; content: ""; transform: translate(-50%, -50%); }
.empty-seat-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.table-seat .empty-seat-copy { display: flex; min-width: 0; flex-direction: column; text-align: left; }
.empty-seat-title { font-size: 9px; line-height: 1; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; white-space: nowrap; }
.empty-seat-subtitle { margin-top: 3px; color: rgb(183 204 194 / 38%); font-size: 6px; line-height: 1; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.table-seat .hole-cards { position: absolute; left: 50%; bottom: calc(var(--table-seat-height) - 4px); z-index: 3; min-height: 0; display: flex; align-items: flex-end; transform: translateX(-50%); pointer-events: none; }
.table-seat .hole-card { position: relative; width: var(--table-hole-width); aspect-ratio: 2.5 / 3.5; border-radius: 4px; }
.table-seat .hole-card:first-child { transform: rotate(-4deg); }
.table-seat .hole-card + .hole-card { margin-left: calc(var(--table-hole-width) * -.3); transform: translateY(4px) rotate(5deg); }
.table-seat .hole-card::before { position: absolute; left: 3px; top: 2px; content: attr(data-rank); font-size: clamp(9px, 1vw, 15px); line-height: .9; font-weight: 900; letter-spacing: -.08em; }
.table-seat .hole-card::after { position: absolute; left: 50%; bottom: 4px; content: attr(data-suit); font-size: clamp(13px, 1.4vw, 21px); line-height: .8; font-weight: 700; transform: translateX(-50%); }
.table-action { position: absolute; left: 50%; bottom: calc(var(--table-seat-height) + var(--table-hole-width) * 1.32 + 4px); z-index: 4; width: min(116px, calc(100% - 8px)); height: 22px; padding: 0 7px; display: grid; grid-template-columns: 1.15em minmax(2.8em, 1fr) auto; align-items: center; column-gap: 4px; overflow: hidden; border: 1px solid #685d32; border-radius: 999px; background: #181a19; color: var(--gold); box-shadow: 0 3px 7px rgb(0 0 0 / 26%); font: 900 8px/1 var(--mono); letter-spacing: .012em; transform: translateX(-50%); pointer-events: none; }
.table-action-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-action-value { min-width: 2.3em; padding-left: 5px; border-left: 1px solid #3e403d; color: #fff3c5; text-align: right; }
.table-action.call, .table-action.check, .table-action.thinking { border-color: #4f8f6b; background: #173126; color: #e0f5e8; }
.table-action.fold { border-color: #6d3439; color: #ff9ca1; }
.table-seat .seat-turn { position: absolute; inset: -3px; z-index: 1; display: none; padding: 2px; border-radius: 15px; background: conic-gradient(from -90deg, rgb(255 255 255 / 8%) 0 calc((1 - var(--turn, 1)) * 1turn), #78e3aa 0); pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.table-seat.turn-active .seat-card { border-color: rgb(120 231 172 / 72%); background: var(--seat-active); }
.table-seat.turn-active .seat-turn { display: block; }
.table-seat.turn-low .seat-turn { background: conic-gradient(from -90deg, rgb(255 255 255 / 8%) 0 calc((1 - var(--turn, 1)) * 1turn), #df6b62 0); }
.table-seat.winner .seat-card { border-color: var(--gold); }
.table-seat.busted { opacity: .42; filter: grayscale(.7); }
.table-seat.fold-flash { animation: tableFoldFlash .55s ease; } .table-seat.check-flash .seat-card { animation: tableCheckFlash .42s ease; }
@keyframes tableFoldFlash { 50% { opacity: .3; transform: translate(-50%, -50%) scale(.96); } }
@keyframes tableCheckFlash { 50% { border-color: var(--good); } }
.poker-table.lobby-measure .table-seat { transition: none; }
.poker-table[data-density="compact"] .table-arena { --table-seat-width: 118px; --table-hole-width: 24px; --table-seat-height: 46px; }
.poker-table[data-density="compact"] .table-seat { min-height: 98px; }
.poker-table[data-density="tight"] .table-arena { --table-seat-width: 102px; --table-hole-width: 20px; --table-seat-height: 41px; }
.poker-table[data-density="tight"] .table-seat { min-height: 84px; }
.poker-table[data-density="tight"] .seat-model { display: none; }
.poker-table[data-density="micro"] .table-arena { --table-seat-width: 86px; --table-hole-width: 17px; --table-seat-height: 35px; }
.poker-table[data-density="micro"] .table-seat { min-height: 70px; }
.poker-table[data-density="micro"] .seat-model, .poker-table[data-density="micro"] .seat-bb { display: none; }
.poker-table[data-density="micro"] .table-seat .seat-name { font-size: 9px; }
.poker-table[data-density="micro"] .table-seat .seat-stack { font-size: 8px; }
.poker-table[data-density="micro"] .table-action { height: 17px; font-size: 6px; }
.is-recording .table-seat, .is-recording .table-marker, .is-recording .playing-card, .is-recording .flying-chip { animation: none !important; transition: none !important; }
.is-recording .poker-table::before, .is-recording .poker-table::after { filter: none; }

.site-footer { min-height: 48px; padding: 10px max(18px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #182129; color: var(--text-muted); font-size: 11px; }
.site-footer-brand, .site-footer-links, .site-footer-links a { display: flex; align-items: center; gap: 8px; }
.site-footer-mark { color: var(--accent); }
.site-footer-links { flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.site-footer-links a { text-decoration: none; }
.site-footer-links a:hover { color: var(--text); }
.site-footer-icon { width: 13px; }

dialog { width: min(680px, calc(100vw - 28px)); max-height: min(88vh, 900px); max-height: min(88dvh, 900px); padding: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
dialog::backdrop { background: rgb(0 0 0 / 72%); backdrop-filter: blur(4px); }
dialog[open] { animation: dialogIn .16s ease-out; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(8px) scale(.985); } }
dialog form, .tests-shell, .replay-shell { max-height: inherit; display: flex; flex-direction: column; }
.dialog-head, .dialog-footer { flex: 0 0 auto; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #0b1014; }
.dialog-head { border-bottom: 1px solid var(--line); }
.dialog-footer { border-top: 1px solid var(--line); }
.dialog-head .button, .dialog-body .button, .dialog-footer .button { height: 38px; min-height: 38px; }
.dialog-head h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.dialog-title-row, .section-title-row, .field-label-row { display: flex; align-items: center; gap: 7px; }
.field-label-row { min-height: 20px; justify-content: flex-start; }
.dialog-subtitle { margin-top: 3px; color: var(--text-muted); font-size: 11px; }
.dialog-body, .tests-body { min-height: 0; padding: 17px 18px; overflow: auto; overscroll-behavior: contain; }
.dialog-intro { margin: 0 0 16px; padding: 10px 12px; border-left: 2px solid var(--accent); background: #121710; color: var(--text-soft); font-size: 12px; }
.icon-button { width: 34px; height: 34px; border-radius: 9px; }
.icon-button svg { width: 18px; height: 18px; display: block; }
.info-button { width: 20px; height: 20px; padding: 0; align-items: center; justify-content: center; border-color: #43515b; border-radius: 50%; background: #121920; font: 800 10px/1 Arial, sans-serif; text-align: center; }
.inline-info { width: 18px; height: 18px; margin-left: 2px; font-size: 9px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.settings-section + .settings-section { margin-top: 19px; padding-top: 18px; border-top: 1px solid var(--line); }
.settings-section h3 { margin: 0; font-size: 13px; }
.seat-summary { color: var(--text-muted); font: 10px/1.4 var(--mono); }
.field-grid { margin-top: 11px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
label { min-width: 0; color: var(--text-soft); font-size: 10px; font-weight: 650; }
label input, label select { margin-top: 5px; font-weight: 450; }
.checkbox-field { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.checkbox-field input { width: 16px; min-height: 16px; margin: 0; }
.connections-editor { margin-top: 10px; display: grid; gap: 8px; }
.connection-row { padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #0a0f13; }
.connection-card-head, .connection-main-grid { display: grid; gap: 8px; align-items: end; }
.connection-card-head { grid-template-columns: minmax(0, 1fr) minmax(150px, .8fr) 38px; }
.connection-main-grid { margin-top: 8px; grid-template-columns: minmax(0, 1.6fr) minmax(130px, 1fr) auto; }
.connection-status { min-height: 16px; margin-top: 6px; }
.connection-advanced { margin-top: 8px; color: var(--text-muted); font-size: 11px; }
.connection-advanced summary { padding: 4px 0; }
.connection-headers { margin-top: 6px; display: block; }
.good-text { color: var(--good); }
.bad-text { color: var(--bad); }
.setup-error, .seat-lock-notice { margin: 0 18px 12px; padding: 9px 11px; border: 1px solid #6b3439; border-radius: 8px; background: #241316; color: #ffabb0; font-size: 11px; }
.seat-lock-notice { margin: 0 0 12px; border-color: #665823; background: #201c0e; color: var(--accent); }
.compact-footer { justify-content: flex-end; }
.split-footer { justify-content: space-between; }
.seat-footer-actions, .replay-share-actions { display: flex; gap: 7px; }
.seat-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.seat-model-field, .seat-effort-field { grid-column: 1 / -1; }
.model-input-wrap { margin-top: 6px; display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 8px; }
.model-input-wrap input { margin: 0; }
.field-icon-button, .dialog-body .remove-connection { width: 38px; height: 38px; min-height: 38px; border-radius: 8px; }
.test-connection { height: 38px; align-self: end; }
.field-help { min-height: 15px; margin-top: 4px; display: block; color: var(--text-muted); font-size: 9px; }
.field-help[data-tone="good"] { color: var(--good); }
.field-help[data-tone="bad"] { color: var(--bad); }

.tests-dialog { width: min(920px, calc(100vw - 28px)); }
.tests-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tests-how-step { padding: 10px; display: flex; gap: 9px; border: 1px solid var(--line); border-radius: 9px; background: #0a0f13; }
.tests-how-step > b { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #41391b; color: var(--accent); font-size: 10px; }
.tests-how-step strong, .tests-how-step small { display: block; }
.tests-how-step small { margin-top: 2px; color: var(--text-muted); font-size: 9px; }
.tests-participants-section { margin-top: 15px; }
.tests-section-title, .tests-summary-line, .tests-scenario-head, .tests-agent-result-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tests-section-title small { color: var(--text-muted); }
.tests-participants { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px; }
.tests-model-chip { padding: 7px 9px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 8px; background: #0a0f13; }
.tests-model-index { color: var(--accent); font: 700 9px var(--mono); }
.tests-model-copy strong, .tests-model-copy small { display: block; }
.tests-model-copy small, .tests-model-protocol { color: var(--text-muted); font-size: 9px; }
.tests-toolbar { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tests-status { font-weight: 700; }
.tests-progress-label { color: var(--text-muted); font-size: 10px; }
.tests-progress { height: 4px; margin-top: 9px; overflow: hidden; border-radius: 999px; background: #253039; }
.tests-progress i { width: 0; height: 100%; display: block; background: var(--accent); transition: width .2s; }
.tests-results { margin-top: 14px; display: grid; gap: 10px; }
.tests-model-summary, .tests-scenario-card, .tests-agent-result { padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #0a0f13; }
.tests-model-summaries, .tests-scenarios, .tests-agent-results { display: grid; gap: 7px; }
.tests-summary-pills, .tests-model-metrics { display: flex; flex-wrap: wrap; gap: 5px; color: var(--text-muted); font-size: 9px; }
.tests-score-bar { height: 4px; overflow: hidden; border-radius: 999px; background: #253039; }
.tests-score-bar i { height: 100%; display: block; background: var(--good); }
.test-state-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); }
.test-state-dot.pass { background: var(--good); }
.test-state-dot.fail { background: var(--bad); }

/* 0.13.0 — recording audio and winner review. */
/* 0.12.0 — richer decision replay and share output. */
.replay-dialog { width: min(920px, calc(100vw - 28px)); }
.replay-body { display: grid; grid-template-columns: minmax(310px, 1.1fr) minmax(280px, .9fr); gap: 16px; }
.replay-table-wrap { min-width: 0; }
.replay-table { min-height: 390px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border: 10px solid #3a2c21; border-radius: 45%; background: radial-gradient(ellipse, var(--felt), var(--felt-dark)); box-shadow: inset 0 0 0 2px #8c714b; }
.replay-opponents { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.replay-opponent, .replay-hero { padding: 7px 9px; border: 1px solid rgb(255 255 255 / 17%); border-radius: 8px; background: rgb(4 22 18 / 78%); }
.replay-opponent { min-width: 118px; max-width: 170px; flex: 1 1 118px; display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.replay-player-identity, .replay-player-stack { min-width: 0; display: grid; gap: 1px; }
.replay-player-identity b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.replay-player-identity small, .replay-player-stack small { color: rgb(255 255 255 / 52%); font: 7px/1.35 var(--mono); letter-spacing: .05em; }
.replay-player-stack { flex: 0 0 auto; justify-items: end; text-align: right; }
.replay-player-stack strong { font: 750 10px/1.25 var(--mono); }
.replay-center { text-align: center; }
.replay-street, .replay-pot { margin: 5px; color: rgb(255 255 255 / 65%); font: 700 9px var(--mono); letter-spacing: .1em; }
.replay-board .card { width: 42px; }
.replay-board .card-corner.bottom { display: none; }
.replay-hero { align-self: center; min-width: 170px; }
.replay-hero-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.replay-hero-cards { margin-top: 6px; display: flex; justify-content: center; gap: 4px; }
.replay-details { min-width: 0; }
.replay-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.replay-summary > * { padding: 8px; border-radius: 8px; background: var(--surface-2); }
.replay-action-block { margin-top: 10px; padding: 11px; border: 1px solid #6c5a26; border-radius: 9px; background: #1c190d; }
.replay-action-block span, .replay-action-block strong { display: block; }
.replay-action-block span { color: var(--text-muted); font-size: 9px; text-transform: uppercase; }
.replay-action-block strong { margin-top: 2px; color: var(--accent); font-size: 17px; }
.replay-reason { margin-top: 9px; color: var(--text-soft); font-size: 12px; }
.replay-reasoning { margin-top: 9px; padding: 9px 10px; border: 1px solid #3a3320; border-left: 2px solid var(--accent); border-radius: 8px; background: #191509; }
.replay-reasoning.hidden { display: none; }
.replay-reasoning p { margin: 5px 0 0; max-height: 150px; overflow-y: auto; color: var(--text-soft); font-size: 11px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.replay-history, .replay-legal { margin-top: 10px; border-top: 1px solid var(--line); }
.replay-history summary, .replay-legal summary { padding: 9px 0; color: var(--text-soft); font-size: 11px; font-weight: 700; }
.replay-legal summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.replay-legal summary small { color: var(--text-muted); font-size: 9px; font-weight: 500; }
.replay-legal-list { display: grid; gap: 5px; }
.replay-legal-option { min-width: 0; padding: 7px 8px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 8px; background: #0a0f13; }
.replay-legal-option.selected { border-color: #766526; background: #1c190d; }
.replay-legal-index { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-2); color: var(--text-muted); font: 800 9px/1 var(--mono); }
.replay-legal-option.selected .replay-legal-index { background: #443a17; color: var(--accent); }
.replay-legal-copy { min-width: 0; }
.replay-legal-copy strong, .replay-legal-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.replay-legal-copy strong { color: var(--text-soft); font-size: 10px; }
.replay-legal-copy small { margin-top: 1px; color: var(--text-muted); font: 8px/1.3 var(--mono); }
.replay-legal-picked { color: var(--accent); font: 800 8px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.replay-history-row { padding: 5px 7px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; border-bottom: 1px solid var(--line); color: var(--text-muted); font-size: 10px; }
.replay-history-row strong { text-align: right; }
.replay-share-copy strong, .replay-share-copy span { display: block; }
.replay-share-copy span { color: var(--text-muted); font-size: 10px; }
.replay-badge { padding: 3px 6px; border: 1px solid #6c5a26; border-radius: 999px; color: var(--accent); font: 9px var(--mono); }

.ui-tooltip { position: fixed; z-index: 10000; width: max-content; max-width: min(280px, calc(100vw - 16px)); padding: 7px 9px; visibility: hidden; opacity: 0; border: 1px solid var(--line-strong); border-radius: 7px; background: #202a31; color: var(--text); box-shadow: var(--shadow); font-size: 10px; pointer-events: none; transition: opacity .1s; }
.ui-tooltip.is-visible { visibility: visible; opacity: 1; }

@media (min-width: 960px) {
  .app-shell { height: 100dvh; }
  .workspace { overflow: hidden; }
  .inspector, .arena-card { height: 100%; }
  .site-footer { display: none; }
}

@media (max-width: 1180px) {
  .workspace { grid-template-columns: 350px minmax(0, 1fr); padding: 10px; gap: 10px; }
  .brand-title { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .felt-ring { inset-inline: 40px; }
  .seat { width: 112px; min-height: 77px; padding: 7px; }
  .lobby-seat { width: 112px; min-height: 77px; }
}

@media (max-width: 959px) {
  .workspace { display: flex; flex-direction: column; padding: 10px; }
  .arena-card { order: 1; min-height: max(560px, 72svh); }
  .inspector { order: 2; min-height: 680px; }
  .tab-panel { min-height: 560px; }
  .decision-feed { max-height: 430px; }
  .event-log, .stats-grid { max-height: 500px; }
  .site-footer { margin-top: 2px; }
}

@media (max-width: 680px) {
  body { font-size: 13px; }
  .workspace { padding: 6px; gap: 7px; }
  .inspector, .arena-card { border-radius: 13px; }
  .arena-card { min-height: max(500px, 69svh); }
  .arena-head { grid-template-columns: auto minmax(0, 1fr) auto; padding-inline: 9px; gap: 7px; }
  #tournamentMeta { text-align: left; }
  .felt-ring { inset: 30px 20px; border-width: 8px; }
  .table-center { inset: 22% 12%; }
  .table-brand-copy strong { font-size: 20px; }
  .table-brand-mark { font-size: 29px; }
  .table-brand-copy small { font-size: 6px; }
  .table-brand-stage { min-height: 72px; }
  .hud-pill { padding: 5px 6px; }
  .seat, .lobby-seat { width: 94px; min-height: 65px; padding: 6px; border-radius: 8px; }
  .seat-name { font-size: 10px; }
  .seat-model, .configured-seat-meta, .lobby-edit-hint { display: none; }
  .seat-stack { gap: 2px; }
  .hole-cards { margin-block: 2px; }
  .hole-card { width: 20px; }
  .last-action { font-size: 7px; }
  .topbar { padding: 8px; gap: 5px; }
  .repo-link, .top-action { width: 34px; }
  .topbar-actions { gap: 4px; }
  .decision-context { grid-template-columns: repeat(2, 1fr); }
  .decision-context span:nth-child(2) { border-right: 0; }
  .decision-context span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .log-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
  .log-filter { grid-column: 1 / -1; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer-links { justify-content: flex-start; }
  dialog { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); border-radius: 13px; }
  .dialog-head, .dialog-footer { padding: 12px; }
  .dialog-body, .tests-body { padding: 13px 12px; }
  .field-grid, .seat-editor-grid, .tests-how { grid-template-columns: 1fr; }
  .connection-card-head, .connection-main-grid { grid-template-columns: 1fr 38px; }
  .connection-kind, .connection-url { grid-column: 1 / -1; }
  .connection-main-grid .test-connection { grid-column: 1 / -1; }
  .checkbox-field, .seat-model-field { grid-column: 1; }
  .replay-body { display: block; }
  .replay-table { min-height: 310px; margin-bottom: 14px; }
  .replay-footer { align-items: stretch; flex-direction: column; }
  .replay-share-actions { display: grid; grid-template-columns: repeat(2, 1fr); }
  .replay-share-actions .primary { grid-column: 1 / -1; }
  .tests-footer { align-items: stretch; flex-direction: column; }
}

@media (max-width: 420px) {
  .brand-mark, .repo-link { display: none; }
  .topbar-actions { width: 100%; justify-content: space-between; }
  .top-action { flex: 1 1 0; }
  .arena-card { min-height: 480px; }
  .felt-ring { inset-inline: 12px; }
  .seat, .lobby-seat { width: 84px; min-height: 59px; padding: 5px; }
  .empty-seat-copy, .seat-stack > span { display: none; }
  .table-hud { width: 100%; }
  .hud-pill { flex: 1 1 0; padding-inline: 3px; }
  .board .card { width: 34px; }
  .dialog-footer.split-footer { align-items: stretch; flex-direction: column; }
  .seat-footer-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .table-scene { width: 55%; height: 72%; aspect-ratio: auto; }
  .casino-table { border-radius: 50% / 41%; }
  .table-felt { border-radius: 50% / 40%; }
  .table-branding { top: 13%; width: 76%; height: 28%; }
  .board-zone { top: 57%; width: 90%; }
  .table-brand-subtitle { display: none; }
}

@media (min-width: 421px) and (max-width: 680px) and (orientation: portrait) {
  .table-scene { width: 56%; height: 76%; aspect-ratio: auto; }
  .casino-table { border-radius: 50% / 41%; }
  .table-felt { border-radius: 50% / 40%; }
  .table-branding { top: 13%; width: 76%; height: 28%; }
  .board-zone { top: 57%; width: 90%; }
}

@media (max-height: 620px) and (min-width: 681px) {
  .workspace { padding-block: 6px; }
  .arena-head { min-height: 40px; }
  .felt-ring { inset-block: 26px; }
  .seat, .lobby-seat { width: 104px; min-height: 65px; padding: 6px; }
  .table-center { inset-block: 16%; }
  .table-brand-copy small { display: none; }
  .site-footer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Historical release markers retained for release archaeology. */
/* 0.2.5 — dark precision polish ------------------------------------------------ */
/* 0.2.6 — reliability telemetry + table hierarchy -------------------------- */
/* 0.2.7 — context, table HUD, modal polish, decision sanity suite --------- */
/* 0.2.8 — viewport-fit table, lighter rendering, refined felt identity -------- */
/* 0.2.9 — compact modal system + generic OpenAI-compatible connections ------- */
/* 0.2.10 — felt identity + resilient translucent table HUD ------------------- */
/* 0.2.10 finishing pass: clearer identity, still quiet enough for the table. */
/* 0.2.11 — in-felt table identity ----------------------------------------- */
/* 0.2.12 UI / pause polish overrides */
/* 0.2.13 — spectator dashboard polish ------------------------------------ */
/* 0.2.14 — stable spectator panel, model identities, recording, winner state */
/* 0.2.15 — Decision sanity suite clarity */
/* 0.2.16 — decision history replay + stable action ticker */
/* 0.2.17 — unclipped current decision layout */
/* 0.2.18 — in-table action ticker for captured game video */
/* 0.2.19 — replay modal + social sharing */
/* 0.2.20 — true viewport-fit seating -------------------------------------- */
/* 0.2.21 — visible-table sizing + stable decision instrument ---------------- */
/* 0.2.22 — persistent felt branding + separate in-table action line */
/* 0.2.23 — share metadata, repository links, compact model cards ------------- */
/* 0.2.23 — Action message above the board ------------------------------------- */
/* 0.2.23 — decision diagnostics + deterministic hand evaluation. */
/* 0.3.0 — hierarchical decision architecture + Strategy/Raw benchmark modes. */
/* 0.4.0 — methodology, reproducibility and repository-organization release. */
/* 0.4.8 — compact header, table-card parity, quieter chrome. */
/* 0.5.0 — inspector-first layout: brand and actions live in the inspector */
/* 0.5.1 — felt typography, table centre scaling and short-viewport seats. */
/* 0.6.0 — unified responsive poker-room UX ---------------------------------- */
/* 0.6.0 — rail-based seating + readable cards                               */
/* 0.9.3 — poker-table prototype port: suit wallpaper, deep felt, seat cards, */
/*         fanned hole cards, timer rings and the felt wordmark.             */
