/* ============================================================
   THE HOT SEAT — css/hot-seat.css
   Painted from design-system tokens so the light/dark switcher
   works (docs/COLOR_THEME.md). Motion is CSS only and switches
   off under prefers-reduced-motion.
   ============================================================ */
#hs-root { margin-top: 24px; }

.hs-panel { position: relative; margin-top: 16px; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--surface-1); }
.hs-panel h2 { margin: 6px 0 10px; font-size: var(--text-h3); letter-spacing: var(--tracking-snug); }
.hs-panel h2:focus { outline: none; }
.hs-panel h3 { margin: 28px 0 10px; font-size: 1.15rem; }
.hs-panel p { color: var(--text-secondary); line-height: 1.65; }
.hs-panel b { color: var(--text-primary); }
.hs-panel a { color: var(--text-accent); }
.hs-kicker { margin: 0; font: var(--fw-medium) 11px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-accent); }
.hs-note { font-size: var(--text-caption); }

.hs-mascot { font-size: 64px; line-height: 1; margin-bottom: 8px; }

/* Guess first */
.hs-guess-box { margin: 20px 0; padding: 16px; border-radius: var(--radius-md); background: var(--surface-inset); }
.hs-q { margin: 6px 0 12px; color: var(--text-primary) !important; font-weight: var(--fw-semibold); }
.hs-guesses { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.hs-guess { min-height: 48px; padding: 10px 14px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-2); color: var(--text-primary); font: inherit; cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.hs-guess:hover { border-color: var(--border-accent); transform: translateY(-1px); }
.hs-guess[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-subtle); }

.hs-go { display: inline-block; text-decoration: none; text-align: center; margin-top: 8px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--radius-md); background: var(--accent); color: var(--text-on-accent); font: var(--fw-semibold) 1rem/1.2 var(--font-sans); cursor: pointer; transition: background .15s ease; }
.hs-go:hover:not(:disabled) { background: var(--accent-hover); }
.hs-go:disabled { opacity: .55; cursor: not-allowed; }
.hs-go-quiet { background: var(--surface-2); color: var(--text-primary); border: 1px solid var(--border-default); }
.hs-go-quiet:hover:not(:disabled) { background: var(--surface-3); }
.hs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Dashboard */
.hs-dash { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(5, minmax(0, 1fr)); gap: 10px; padding: 12px; border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--bg-raised); }
.hs-year { display: grid; gap: 4px; min-width: 0; }
.hs-headline { font: var(--fw-semibold) 1.35rem/1.1 var(--font-sans); color: var(--text-primary); font-variant-numeric: tabular-nums; }
.hs-meter { display: grid; gap: 4px; min-width: 0; }
.hs-meter-label { font: var(--fw-medium) 10px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.hs-meter-value { font-weight: var(--fw-semibold); color: var(--text-primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs-track { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.hs-fill { display: block; height: 100%; width: var(--to); border-radius: 999px; background: var(--success-500); animation: hs-grow .7s ease both; }
.hs-meter[data-tone="mid"] .hs-fill { background: var(--warning-500); }
.hs-meter[data-tone="low"] .hs-fill { background: var(--danger-500); }
.hs-track-time .hs-fill { background: var(--accent); }
.hs-meter[data-tone="low"] .hs-track-time .hs-fill { background: var(--danger-500); }
.hs-chip { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; font-size: 12px; font-weight: var(--fw-semibold); animation: hs-pop .5s ease both; }
.hs-chip[data-good="true"] { color: var(--success-500); background: rgba(47, 191, 113, .14); }
.hs-chip[data-good="false"] { color: var(--danger-500); background: rgba(255, 93, 93, .14); }

/* Problem */
.hs-from { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; }
.hs-from b { color: var(--text-primary); }
.hs-portrait { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-3); font-size: 32px; animation: hs-bounce .6s ease both; }
.hs-role { color: var(--text-tertiary); font-size: var(--text-caption); }

/* Deck */
.hs-deck { margin-top: 18px; }
.hs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; perspective: 900px; }
.hs-card { display: grid; grid-template-rows: 1fr auto auto; align-content: start; gap: 4px; padding: 14px; min-height: 140px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-1); color: var(--text-primary); text-align: left; font: inherit; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.hs-cards .hs-card:hover:not(:disabled), .hs-cards .hs-card:focus-visible { transform: translateY(-3px) rotate(-.6deg); border-color: var(--border-accent); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.hs-card:disabled { cursor: default; opacity: .45; }
.hs-card.is-played { opacity: 1; border-color: var(--accent); animation: hs-flip .42s ease both; }
.hs-card-icon { font-size: 20px; line-height: 1; }
.hs-card-act { font-weight: var(--fw-semibold); line-height: 1.35; }
.hs-card-kind { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 13px; }
.hs-sheet .hs-card-icon, .hs-report .hs-mark { font-size: 22px; }
.hs-card-name { font-weight: var(--fw-semibold); }
.hs-card-blurb { color: var(--text-secondary); font-size: 14px; line-height: 1.45; }
.hs-card-cost { font: var(--fw-medium) 11px/1.3 var(--font-mono); color: var(--text-tertiary); }
.hs-card-mini { display: inline-grid; min-height: 0; max-width: 260px; cursor: default; }

/* Result */
.hs-result { border-width: 2px; }
.hs-result[data-tone="good"] { border-color: var(--success-500); }
.hs-result[data-tone="mixed"] { border-color: var(--warning-500); }
.hs-result[data-tone="bad"] { border-color: var(--danger-500); }
.hs-verdict { font-size: clamp(28px, 5vw, 40px) !important; }
.hs-result[data-tone="good"] .hs-verdict { color: var(--success-500); }
.hs-result[data-tone="bad"] .hs-verdict { color: var(--danger-500); }
.hs-played { float: right; margin: 0 0 12px 16px; }
.hs-outcome { color: var(--text-primary) !important; font-size: 1.05rem; }
.hs-time { font-size: var(--text-caption); }
.hs-lesson { clear: both; margin-top: 18px; padding: 16px; border-left: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--surface-inset); }
.hs-best { color: var(--text-primary) !important; }
.hs-learn { margin-bottom: 0; font-size: var(--text-caption); }

/* Budget */
.hs-depts { display: grid; gap: 10px; }
.hs-dept { padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-1); }
.hs-dept-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hs-dept-head b { min-width: 110px; }
.hs-pips { display: inline-flex; gap: 4px; }
.hs-pip { width: 14px; height: 14px; border-radius: 3px; background: var(--surface-3); transition: background .2s ease; }
.hs-pip[data-on="true"] { background: var(--accent); }
.hs-dept-ctrl { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.hs-dept-ctrl output { min-width: 1.2em; text-align: center; font-weight: var(--fw-semibold); color: var(--text-primary); }
.hs-step { width: 40px; height: 40px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-2); color: var(--text-primary); font: var(--fw-semibold) 1.2rem/1 var(--font-sans); cursor: pointer; }
.hs-step:hover:not(:disabled) { border-color: var(--border-accent); }
.hs-step:disabled { opacity: .4; cursor: not-allowed; }
.hs-dept-blurb { margin: 6px 0 0; font-size: 14px; }
.hs-preview { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-subtle); color: var(--text-secondary); }
.hs-preview b { color: var(--text-primary); }

/* Ranking reveal */
.hs-rank { margin-top: 14px; }
.hs-rank summary { cursor: pointer; color: var(--text-accent); font-size: var(--text-caption); }
.hs-rank ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.hs-rank li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; font-size: 14px; color: var(--text-secondary); }
.hs-rank li[data-mine="true"] { color: var(--text-primary); font-weight: var(--fw-semibold); }
.hs-rank-tag { font: var(--fw-medium) 11px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.hs-rank li[data-fit="2"] .hs-rank-tag { color: var(--success-500); }
.hs-rank li[data-fit="1"] .hs-rank-tag, .hs-rank li[data-fit="0"] .hs-rank-tag { color: var(--warning-500); }
.hs-rank li[data-fit="-1"] .hs-rank-tag, .hs-rank li[data-fit="-2"] .hs-rank-tag { color: var(--danger-500); }

/* Ask first */
.hs-ask { margin-top: 14px; }
.hs-clue { margin: 0; padding: 12px 14px; border-left: 3px solid var(--warning-500); border-radius: var(--radius-sm); background: var(--surface-inset); color: var(--text-primary) !important; animation: hs-in .35s ease both; }
.hs-clue:focus { outline: none; }

/* Year review */
.hs-facts { margin: 12px 0; padding-left: 20px; color: var(--text-secondary); line-height: 1.7; }

/* Share */
.hs-share { margin: 20px 0; padding: 16px; border: 1px dashed var(--border-accent); border-radius: var(--radius-md); background: var(--accent-subtle); }
.hs-share-text { color: var(--text-primary) !important; font-size: 1.05rem; }
.hs-share .hs-actions { margin-top: 8px; }
.hs-record { color: var(--success-500) !important; font-weight: var(--fw-semibold); }

/* End */
.hs-ending { font-size: 1.15rem; color: var(--text-primary) !important; }
.hs-calibration { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-inset); }
.hs-report, .hs-sheet { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hs-report li, .hs-sheet li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); color: var(--text-secondary); line-height: 1.55; }
.hs-mark { font-weight: var(--fw-semibold); text-align: center; }
.hs-report li[data-best="true"] .hs-mark { color: var(--success-500); }
.hs-report li[data-best="false"] .hs-mark { color: var(--danger-500); }

.hs-footer { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--border-subtle); color: var(--text-tertiary); font-size: var(--text-caption); text-align: center; }

/* Motion */
.hs-enter { animation: hs-in .35s ease both; }
.hs-shake { animation: hs-shake .45s ease both; }
@keyframes hs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hs-grow { from { width: 0; } }
@keyframes hs-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes hs-bounce { 0% { transform: translateY(-14px) scale(.8); opacity: 0; } 60% { transform: translateY(3px) scale(1.05); opacity: 1; } 100% { transform: none; } }
@keyframes hs-flip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg) scale(1.05); } 100% { transform: rotateY(0) scale(1.03); } }
@keyframes hs-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }

@media (prefers-reduced-motion: reduce) {
    .hs-enter, .hs-shake, .hs-fill, .hs-chip, .hs-portrait, .hs-card.is-played, .hs-clue { animation: none; }
    .hs-card, .hs-guess, .hs-pip { transition: none; }
    .hs-cards .hs-card:hover:not(:disabled), .hs-guess:hover { transform: none; }
}

@media (max-width: 720px) {
    .hs-dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-year { grid-column: 1 / -1; }
    .hs-dash { position: static; }
    .hs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-card { min-height: 0; padding: 12px; }
    .hs-card-blurb { font-size: 13px; }
    .hs-played { float: none; margin: 0 0 12px; }
}

@media print {
    .tool-nav, .skip-link, .no-print, .hs-dash, .tool-hero { display: none !important; }
    .hs-panel { border: 0; padding: 0; }
}

/* ----- 8-bit art style -----
   Press Start 2P (OFL) for labels and verdicts only; body copy stays in the
   site font so long lessons remain readable. Credits: hot-seat/art/README.md. */
@font-face { font-family: 'Press Start 2P'; src: url('/hot-seat/art/fonts/press-start-2p-latin-400.woff2') format('woff2'); font-display: swap; }
#hs-root { --hs-pixel: 'Press Start 2P', var(--font-mono), monospace; }
#hs-root .hs-kicker, #hs-root .hs-meter-label { font-family: var(--hs-pixel); font-size: 8px; line-height: 1.7; letter-spacing: .04em; }
#hs-root .hs-verdict { font-family: var(--hs-pixel); font-size: clamp(18px, 3.4vw, 26px) !important; line-height: 1.35; }
#hs-root .hs-headline { font-family: var(--hs-pixel); font-size: 1rem; line-height: 1.4; }
.hs-sprite { display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em; shape-rendering: crispEdges; }
.hs-card-icon { color: var(--text-accent); }
.hs-portrait { border-radius: var(--radius-sm); overflow: hidden; }
.hs-portrait .hs-sprite { font-size: 30px; color: var(--text-accent); }
.hs-avatar, .hs-mascot-img { display: block; image-rendering: pixelated; }
.hs-avatar { width: 56px; height: 56px; }
.hs-mascot-img { width: 72px; height: 72px; }
.hs-card, .hs-go, .hs-dash { border-radius: 4px; }
.hs-card:hover, .hs-card:focus-visible { box-shadow: 4px 4px 0 var(--border-strong, var(--border-default)); }

/* ----- Play mode: a game screen, not a web page -----
   While a career runs, #hs-root covers the viewport (html.hs-playing stops
   the page behind it scrolling). The problem arrives as a visitor with a
   speech bubble, the moves sit in a fanned hand, and the verdict lands as
   a stamp. The lesson waits in a memo dialog instead of a wall of text. */
html.hs-playing { overflow: hidden; }
#hs-root.hs-stage { position: fixed; inset: 0; z-index: 1000; margin: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 12px clamp(12px, 3vw, 28px) 20px; background: radial-gradient(ellipse at 50% 0%, var(--accent-subtle), transparent 60%), var(--bg-base); }
#hs-root.hs-stage > * { width: 100%; max-width: 1080px; margin-left: auto; margin-right: auto; }
.hs-stage .hs-dash { position: static; }

.hs-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hs-topbar-btns { display: inline-flex; gap: 8px; }
.hs-chrome { min-height: 36px; padding: 6px 12px; border: 2px solid var(--border-default); border-radius: 4px; background: var(--surface-2); color: var(--text-primary); font: 8px/1.6 var(--hs-pixel); cursor: pointer; }
.hs-chrome:hover:not(:disabled) { border-color: var(--border-accent); }
.hs-chrome[aria-pressed="false"] { color: var(--text-tertiary); }
.hs-chrome:disabled { opacity: .5; cursor: not-allowed; }

/* The scene: a visitor at your desk */
.hs-scene { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 4px; }
.hs-visitor { display: grid; justify-items: center; gap: 8px; text-align: center; }
.hs-visitor-art { display: grid; place-items: center; width: 120px; height: 120px; border: 3px solid var(--border-strong, var(--border-default)); border-radius: 4px; background: var(--surface-2); box-shadow: 4px 4px 0 var(--border-default); overflow: hidden; }
.hs-visitor-art .hs-avatar { width: 112px; height: 112px; }
.hs-visitor-art .hs-sprite { font-size: 64px; color: var(--text-accent); }
.hs-visitor-art:not(:has(img, svg)) { font-size: 64px; line-height: 1; }
.hs-arrive .hs-visitor-art { animation: hs-walk .5s steps(5) both; }
.hs-nameplate { display: grid; gap: 2px; margin: 0; }
.hs-nameplate b { font: 9px/1.6 var(--hs-pixel); color: var(--text-primary); }
.hs-nameplate .hs-role { font-size: 12px; line-height: 1.35; }

.hs-bubble { position: relative; padding: 18px 20px; border: 3px solid var(--border-strong, var(--border-default)); border-radius: 4px; background: var(--surface-1); box-shadow: 6px 6px 0 var(--border-default); cursor: default; }
.hs-bubble::before { content: ''; position: absolute; left: -15px; top: 34px; border: 12px solid transparent; border-right-color: var(--border-strong, var(--border-default)); border-left: 0; }
.hs-bubble::after { content: ''; position: absolute; left: -10px; top: 37px; border: 9px solid transparent; border-right-color: var(--surface-1); border-left: 0; }
.hs-arrive .hs-bubble { animation: hs-in .3s .35s ease both; }
.hs-bubble h2 { margin: 6px 0 10px; font-size: var(--text-h3); letter-spacing: var(--tracking-snug); color: var(--text-primary); }
.hs-bubble h2:focus { outline: none; }
.hs-bubble p { color: var(--text-secondary); line-height: 1.6; }
.hs-said { min-height: 3.2em; margin: 0 0 6px; color: var(--text-primary) !important; font-size: 1.05rem; }
.hs-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hs-ask-btn { margin-top: 4px; }
.hs-scene .hs-facts { margin-bottom: 0; }

/* The verdict stamp */
.hs-stamp { display: inline-block; margin: 0 0 14px !important; padding: 8px 14px; border: 4px solid currentColor; border-radius: 4px; font: clamp(16px, 3vw, 24px)/1.3 var(--hs-pixel) !important; text-transform: uppercase; transform: rotate(-4deg); animation: hs-stamp .38s cubic-bezier(.2, 1.6, .4, 1) both; }
.hs-stamp[data-tone="good"] { color: var(--success-500); }
.hs-stamp[data-tone="mixed"] { color: var(--warning-500); }
.hs-stamp[data-tone="bad"] { color: var(--danger-500); }
.hs-scene.hs-result[data-tone="good"] .hs-bubble { border-color: var(--success-500); }
.hs-scene.hs-result[data-tone="bad"] .hs-bubble { border-color: var(--danger-500); }

/* The hand of cards */
.hs-hand { margin-top: 6px; }
.hs-hand > .hs-kicker { margin-bottom: 10px; text-align: center; }
.hs-hand .hs-cards { display: flex; justify-content: center; gap: 0; padding: 10px 8px 18px; perspective: none; }
.hs-hand .hs-card { flex: 0 1 150px; min-width: 0; min-height: 170px; margin: 0 -6px; border-width: 2px; background: var(--surface-1); box-shadow: 3px 3px 0 var(--border-default); transform: translateY(var(--y)) rotate(var(--r)); transform-origin: 50% 120%; animation: hs-deal .4s var(--d) ease-out both; }
.hs-hand .hs-cards .hs-card:hover:not(:disabled), .hs-hand .hs-cards .hs-card:focus-visible { z-index: 2; transform: translateY(-18px) rotate(0); border-color: var(--border-accent); box-shadow: 5px 5px 0 var(--accent); }
.hs-hand .hs-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hs-hand .hs-card.is-played { z-index: 3; animation: hs-play .45s ease-in both; }
.hs-hand .hs-card:disabled:not(.is-played) { opacity: .35; }
.hs-hand-played { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.hs-hand-played .hs-card-mini { max-width: 240px; transform: rotate(-2deg); border-width: 2px; border-color: var(--accent); }
.hs-hand-played .hs-actions { margin-top: 0; }
#hs-next { font-family: var(--hs-pixel); font-size: 11px; line-height: 1.6; }

/* The memo */
.hs-memo { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 24px; border: 3px solid var(--border-strong, var(--border-default)); border-radius: 4px; background: var(--surface-1); color: var(--text-primary); box-shadow: 8px 8px 0 var(--border-default); }
.hs-memo::backdrop { background: rgba(0, 0, 0, .55); }
.hs-memo h2 { margin: 6px 0 12px; font-size: var(--text-h3); }
.hs-memo p { color: var(--text-secondary); line-height: 1.65; }
.hs-memo b { color: var(--text-primary); }
.hs-memo a { color: var(--text-accent); }
.hs-memo[open] { animation: hs-in .25s ease both; }

/* The calendar page turns when weeks pass */
.hs-cal { display: inline-block; }
.hs-cal.is-flipping { animation: hs-flip .5s ease both; color: var(--warning-500); }

@keyframes hs-walk { from { transform: translateX(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hs-stamp { from { transform: rotate(0) scale(2.4); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }
@keyframes hs-deal { from { transform: translateY(80px) rotate(0); opacity: 0; } }
@keyframes hs-play { to { transform: translateY(-120px) rotate(0) scale(1.08); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    .hs-arrive .hs-visitor-art, .hs-arrive .hs-bubble, .hs-stamp, .hs-hand .hs-card, .hs-hand .hs-card.is-played, .hs-memo[open], .hs-cal.is-flipping { animation: none; }
    .hs-hand .hs-cards .hs-card:hover:not(:disabled) { transform: translateY(var(--y)) rotate(var(--r)); }
}

@media (max-width: 720px) {
    .hs-scene { grid-template-columns: 1fr; gap: 10px; }
    .hs-visitor { grid-template-columns: 64px 1fr; justify-items: start; align-items: center; text-align: left; }
    .hs-visitor-art { width: 64px; height: 64px; border-width: 2px; }
    .hs-visitor-art .hs-avatar { width: 58px; height: 58px; }
    .hs-visitor-art .hs-sprite, .hs-visitor-art:not(:has(img, svg)) { font-size: 36px; }
    .hs-bubble { padding: 14px; }
    .hs-bubble::before { left: 22px; top: -15px; border: 12px solid transparent; border-bottom-color: var(--border-strong, var(--border-default)); border-top: 0; }
    .hs-bubble::after { left: 25px; top: -10px; border: 9px solid transparent; border-bottom-color: var(--surface-1); border-top: 0; }
    .hs-stage .hs-hand:not(.hs-hand-played) { position: sticky; bottom: -20px; z-index: 4; margin: 0 -12px -20px; padding: 0 12px 16px; background: var(--bg-base); border-top: 2px solid var(--border-default); }
    .hs-stage .hs-hand > .hs-kicker { margin: 8px 0 0; }
    .hs-hand .hs-cards { justify-content: flex-start; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 4px 12px; }
    .hs-hand .hs-card { flex: 0 0 62%; margin: 0; min-height: 130px; padding: 10px; scroll-snap-align: center; transform: none; }
    .hs-hand .hs-cards .hs-card:hover:not(:disabled), .hs-hand .hs-cards .hs-card:focus-visible { transform: translateY(-6px); }
    .hs-stage .hs-dash { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; }
    .hs-stage .hs-year { grid-column: 1 / -1; }
}
