/* ==========================================================================
   Hotel Game — Case Study
   Two visual worlds on one page:
   .hg-*  dark "game world" panels, ported from hotelgame.jonashapp.com
          (Outfit / JetBrains Mono, turquoise theme, chain colors)
   .cs-*  white "portfolio world" sections, extending the jonashapp.com
          Webflow system (Inter Tight, black-85/40/15, dashed dividers)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Game-world tokens (mirrors src/index.css of the hotelgame repo)
   -------------------------------------------------------------------------- */
.hg-scope {
  --hg-background: hsl(192 46% 7%);
  --hg-board: hsl(192 46% 5%);
  --hg-card: hsl(192 42% 10%);
  --hg-foreground: hsl(180 30% 96%);
  --hg-muted: hsl(192 26% 17%);
  --hg-muted-foreground: hsl(186 18% 62%);
  --hg-border: hsl(188 30% 22%);
  --hg-input: hsl(192 26% 17%);
  --hg-primary: hsl(185 82% 45%);
  --hg-primary-soft: hsl(185 82% 45% / 0.2);
  --hg-primary-foreground: hsl(192 50% 7%);
  --hg-tile-empty: hsl(192 30% 10%);
  --hg-tile-placed: hsl(192 30% 22%);
  --hg-destructive: hsl(0 84% 60%);

  --hg-sackson: hsl(25 95% 53%);
  --hg-tower: hsl(45 93% 47%);
  --hg-worldwide: hsl(280 67% 60%);
  --hg-american: hsl(217 91% 60%);
  --hg-festival: hsl(142 71% 45%);
  --hg-continental: hsl(0 84% 60%);
  --hg-imperial: hsl(330 81% 60%);

  --hg-radius: 0.75rem;
  --hg-shadow-md: 0 4px 16px -4px hsl(192 46% 3% / 0.7);
  --hg-shadow-lg: 0 8px 32px -8px hsl(192 46% 3% / 0.8);
  --hg-glow: 0 0 20px hsl(185 82% 47% / 0.35);
  --hg-gradient-card: linear-gradient(145deg, hsl(192 42% 12%) 0%, hsl(192 42% 8%) 100%);
  --hg-gradient-gold: linear-gradient(135deg, hsl(45 93% 60%) 0%, hsl(35 93% 45%) 100%);

  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--hg-foreground);
}

.hg-mono { font-family: 'JetBrains Mono', monospace; }

/* --------------------------------------------------------------------------
   Game-world panel — the dark island inside the white page
   -------------------------------------------------------------------------- */
.hg-panel {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, hsl(185 82% 45% / 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, hsl(160 70% 40% / 0.10), transparent 60%),
    linear-gradient(135deg, hsl(192 46% 8%) 0%, hsl(192 46% 4%) 100%);
  border: 1px solid var(--hg-border);
  border-radius: 24px;
  box-shadow: var(--hg-shadow-lg);
  padding: 32px;
  overflow: hidden;
}

.hg-panel--hero { padding: 56px 48px; }

.hg-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hg-primary);
  margin-bottom: 16px;
}

.hg-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 105%;
  color: var(--hg-foreground);
  margin: 0 0 12px;
}

.hg-sub {
  font-size: 18px;
  line-height: 150%;
  color: var(--hg-muted-foreground);
  max-width: 56ch;
  margin: 0 0 28px;
}

.hg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Buttons — ported from the game's shadcn/ui button variants
   -------------------------------------------------------------------------- */
.hg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: calc(var(--hg-radius) - 2px);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.hg-btn:active { transform: translateY(1px); }
.hg-btn:focus-visible { outline: 2px solid var(--hg-primary); outline-offset: 2px; }
.hg-btn[disabled] { opacity: 0.5; pointer-events: none; }

.hg-btn--primary { background: var(--hg-primary); color: var(--hg-primary-foreground); }
.hg-btn--primary:hover { background: hsl(185 82% 52%); color: var(--hg-primary-foreground); }

.hg-btn--outline {
  background: hsl(192 46% 7% / 0.4);
  border-color: var(--hg-border);
  color: var(--hg-foreground);
}
.hg-btn--outline:hover { background: var(--hg-primary-soft); border-color: var(--hg-primary); color: var(--hg-foreground); }

.hg-btn--ghost { background: transparent; color: var(--hg-muted-foreground); }
.hg-btn--ghost:hover { background: hsl(180 30% 96% / 0.06); color: var(--hg-foreground); }

.hg-btn--sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }

/* --------------------------------------------------------------------------
   Board + tiles — ported from GameBoard.tsx / .tile component classes
   -------------------------------------------------------------------------- */
.hg-board {
  background: var(--hg-board);
  border: 1px solid hsl(188 30% 22% / 0.6);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--hg-shadow-lg);
}

.hg-board-grid {
  display: grid;
  gap: 5px;
  grid-template-columns: 22px repeat(var(--hg-cols, 12), minmax(0, 1fr));
}

.hg-cell-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  color: var(--hg-muted-foreground);
  user-select: none;
}

.hg-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid hsl(188 30% 22% / 0.5);
  background: var(--hg-tile-empty);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--hg-foreground);
  padding: 0;
  transition: background-color 0.25s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}
button.hg-tile { cursor: default; }

.hg-tile--placed { background: var(--hg-tile-placed); border-color: var(--hg-border); }

.hg-tile--target {
  border: 1px dashed hsl(185 82% 45% / 0.55);
  cursor: pointer;
  box-shadow: 0 0 0 2px hsl(185 82% 45% / 0.28);
  animation: hg-pulse 2s ease-in-out infinite;
}
.hg-tile--target:hover { background: var(--hg-primary-soft); box-shadow: var(--hg-glow); }
.hg-tile--target:focus-visible { outline: 2px solid var(--hg-primary); outline-offset: 2px; }

.hg-tile--pop { animation: hg-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.hg-tile--flip { animation: hg-flip 0.4s ease; }

/* Chain colors — identical hues to the live game */
.hg-chain-sackson    { background: var(--hg-sackson);    border-color: var(--hg-sackson);    box-shadow: 0 0 12px hsl(25 95% 53% / 0.45); }
.hg-chain-tower      { background: var(--hg-tower);      border-color: var(--hg-tower);      box-shadow: 0 0 12px hsl(45 93% 47% / 0.45); color: var(--hg-primary-foreground); }
.hg-chain-worldwide  { background: var(--hg-worldwide);  border-color: var(--hg-worldwide);  box-shadow: 0 0 12px hsl(280 67% 60% / 0.45); }
.hg-chain-american   { background: var(--hg-american);   border-color: var(--hg-american);   box-shadow: 0 0 12px hsl(217 91% 60% / 0.45); }
.hg-chain-festival   { background: var(--hg-festival);   border-color: var(--hg-festival);   box-shadow: 0 0 12px hsl(142 71% 45% / 0.45); }
.hg-chain-continental{ background: var(--hg-continental);border-color: var(--hg-continental);box-shadow: 0 0 12px hsl(0 84% 60% / 0.45); }
.hg-chain-imperial   { background: var(--hg-imperial);   border-color: var(--hg-imperial);   box-shadow: 0 0 12px hsl(330 81% 60% / 0.45); }

.hg-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: none; border: none; }

/* --------------------------------------------------------------------------
   Player hand — ported from PlayerHand.tsx
   -------------------------------------------------------------------------- */
.hg-hand { display: flex; flex-wrap: wrap; gap: 8px; }

.hg-hand-tile {
  width: 60px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 2px solid hsl(185 82% 45% / 0.5);
  background: hsl(185 82% 45% / 0.1);
  color: hsl(185 82% 45% / 0.85);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s, color 0.2s, transform 0.2s, opacity 0.3s, border-color 0.2s;
}

.hg-hand-tile--playable {
  background: var(--hg-primary-soft);
  border-color: var(--hg-primary);
  color: var(--hg-primary);
  cursor: pointer;
  animation: hg-pulse 2s ease-in-out infinite;
}
.hg-hand-tile--playable:hover { background: hsl(185 82% 45% / 0.3); transform: scale(1.06); }
.hg-hand-tile--playable:focus-visible { outline: 2px solid var(--hg-primary); outline-offset: 2px; }

.hg-hand-tile--used { opacity: 0.25; border-style: dashed; cursor: default; animation: none; }

/* --------------------------------------------------------------------------
   Glass cards, chips, cash — lobby look of the live game
   -------------------------------------------------------------------------- */
.hg-card {
  background: hsl(192 42% 10% / 0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(0 0% 100% / 0.13);
  border-radius: var(--hg-radius);
  box-shadow: var(--hg-shadow-md);
  padding: 20px;
}

.hg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--hg-foreground);
  background: var(--hg-muted);
  border: 1px solid hsl(188 30% 22% / 0.7);
}

.hg-cash {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  background: var(--hg-gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hg-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hg-muted-foreground);
}

/* --------------------------------------------------------------------------
   Exhibit chrome: toolbar, status line, banners, log
   -------------------------------------------------------------------------- */
.hg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hg-status {
  min-height: 22px;
  font-size: 14px;
  color: var(--hg-muted-foreground);
  transition: color 0.3s;
}
.hg-status--good { color: var(--hg-primary); }

.hg-banner {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--hg-radius);
  border: 1px solid hsl(45 93% 47% / 0.4);
  border-left: 3px solid var(--hg-tower);
  background: linear-gradient(135deg, hsl(45 93% 47% / 0.12), hsl(192 42% 10% / 0.6));
  animation: hg-slide-up 0.35s ease-out;
}
.hg-banner.is-visible { display: block; }
.hg-banner strong { color: var(--hg-foreground); font-weight: 600; }
.hg-banner span { color: var(--hg-muted-foreground); font-size: 14px; }

.hg-bonus-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.hg-bonus-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: hsl(45 93% 47% / 0.15);
  border: 1px solid hsl(45 93% 47% / 0.4);
  color: hsl(45 93% 60%);
  animation: hg-rise 0.5s ease-out both;
}
.hg-bonus-chip:nth-child(2) { animation-delay: 0.25s; }

/* Found-a-chain chooser */
.hg-choice {
  display: none;
  margin-top: 14px;
  animation: hg-slide-up 0.3s ease-out;
}
.hg-choice.is-visible { display: block; }

.hg-choice-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

.hg-choice-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--hg-border);
  background: hsl(192 42% 10% / 0.6);
  color: var(--hg-foreground);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s;
}
.hg-choice-btn:hover { border-color: var(--hg-primary); background: var(--hg-primary-soft); transform: translateY(-1px); }
.hg-choice-btn:focus-visible { outline: 2px solid var(--hg-primary); outline-offset: 2px; }
.hg-choice-btn small { color: var(--hg-muted-foreground); font-weight: 400; }

/* --------------------------------------------------------------------------
   Stock market exhibit — ported from StockPurchase.tsx
   -------------------------------------------------------------------------- */
.hg-stock-rows { display: flex; flex-direction: column; gap: 10px; }

.hg-stock-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--hg-radius);
  background: var(--hg-gradient-card);
  border: 1px solid hsl(188 30% 22% / 0.6);
}

.hg-stock-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hg-stock-name strong { font-size: 15px; font-weight: 600; }
.hg-stock-name small { display: block; font-size: 12px; color: var(--hg-muted-foreground); }

.hg-price { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 600; white-space: nowrap; }
.hg-price small { font-size: 11px; color: var(--hg-muted-foreground); font-weight: 400; }

.hg-stepper { display: inline-flex; align-items: center; gap: 10px; }

.hg-step-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--hg-border);
  background: hsl(192 46% 7% / 0.5);
  color: var(--hg-foreground);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, opacity 0.2s;
  padding: 0;
}
.hg-step-btn:hover { border-color: var(--hg-primary); background: var(--hg-primary-soft); }
.hg-step-btn:focus-visible { outline: 2px solid var(--hg-primary); outline-offset: 2px; }
.hg-step-btn[disabled] { opacity: 0.35; cursor: default; pointer-events: none; }

.hg-qty { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 600; min-width: 14px; text-align: center; }

/* "x of 3 shares" tick slots — from the merger stock-decision UI rework */
.hg-slots { display: inline-flex; gap: 5px; vertical-align: middle; }
.hg-slot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--hg-border);
  background: hsl(192 46% 7% / 0.5);
  transition: background-color 0.25s, border-color 0.25s;
}
.hg-slot--filled { background: var(--hg-primary); border-color: var(--hg-primary); box-shadow: 0 0 8px hsl(185 82% 45% / 0.5); }

.hg-checkout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hg-shake { animation: hg-shake 0.4s ease; }

/* --------------------------------------------------------------------------
   Sound toggle
   -------------------------------------------------------------------------- */
.hg-sound {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--hg-border);
  background: hsl(192 46% 7% / 0.5);
  color: var(--hg-muted-foreground);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.hg-sound:hover { color: var(--hg-foreground); border-color: var(--hg-primary); }
.hg-sound:focus-visible { outline: 2px solid var(--hg-primary); outline-offset: 2px; }
.hg-sound[aria-pressed="true"] { color: var(--hg-primary); border-color: hsl(185 82% 45% / 0.5); }
.hg-sound svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Animations (mirroring tailwind.config.ts keyframes)
   -------------------------------------------------------------------------- */
@keyframes hg-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }
@keyframes hg-pop { 0% { transform: scale(0.3); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes hg-flip { 0% { transform: scale(1); } 50% { transform: scale(0.78); filter: brightness(1.7); } 100% { transform: scale(1); } }
@keyframes hg-slide-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hg-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hg-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

/* --------------------------------------------------------------------------
   Portfolio-world additions (white sections, Inter Tight)
   -------------------------------------------------------------------------- */
/* Hidden state only applies when JS is running (html.cs-js set inline) */
.cs-js .cs-reveal { opacity: 0; transform: translateY(28px); }
.cs-js .cs-reveal.is-in { opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }

.cs-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cs-stat-number {
  font-family: 'Inter Tight', sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 110%;
  color: var(--black-85);
}

.cs-stat-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  line-height: 130%;
  color: var(--black-40);
  margin-top: 4px;
}

.cs-cards {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cs-card {
  border: 1px solid var(--black-15);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-card h4 { font-size: 18px; }
.cs-card p { font-size: 15px; }

.cs-kicker {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black-40);
}

/* Architecture: three acts */
.cs-arch {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cs-arch-stage {
  border: 1px dashed var(--black-15);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-arch-stage--final { border-style: solid; border-color: var(--black-40); }

.cs-arch-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cs-arch-head h4 { font-size: 16px; }

.cs-arch-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black-40);
  white-space: nowrap;
}

/* ── Tag chips (project metadata pills) ──────────────────────────────── */
.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.cs-tag {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  line-height: 1;
  color: var(--black-85, rgba(0, 0, 0, 0.85));
  padding: 8px 14px;
  border: 1px solid var(--black-15, rgba(0, 0, 0, 0.15));
  border-radius: 100px;
  background: #fff;
}

.cs-arch-box {
  border: 1px solid var(--black-15);
  border-radius: 10px;
  padding: 9px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 140%;
  color: var(--black-85);
}
.cs-arch-box small { color: var(--black-40); display: block; font-size: 11px; }

.cs-arch-arrow { text-align: center; color: var(--black-40); font-size: 13px; line-height: 1; }

.cs-arch-note { font-size: 13px; color: var(--black-40); line-height: 145%; margin-top: 2px; }

/* Timeline */
.cs-timeline { width: 100%; display: flex; flex-direction: column; }

.cs-tl-item {
  display: grid;
  grid-template-columns: 150px 110px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 0.5px dashed var(--black-15);
}
.cs-tl-item:first-child { border-top: 0.5px dashed var(--black-15); }

.cs-tl-version { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--black-85); }
.cs-tl-date { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--black-40); white-space: nowrap; }
.cs-tl-summary { font-family: 'Inter Tight', sans-serif; font-size: 15px; line-height: 145%; color: var(--black-85); }
.cs-tl-summary em { font-style: normal; color: var(--black-40); }

.cs-footnote { font-size: 13px; color: var(--black-40); line-height: 150%; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .hg-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hg-title { font-size: 44px; }
  .cs-stats { grid-template-columns: repeat(2, 1fr); }
  .cs-arch { grid-template-columns: 1fr; }
  .cs-tl-item { grid-template-columns: 110px 1fr; }
  .cs-tl-date { display: none; }
}

@media (max-width: 767px) {
  .hg-panel { padding: 20px; border-radius: 18px; }
  .hg-panel--hero { padding: 28px 20px; }
  .hg-title { font-size: 36px; }
  .hg-sub { font-size: 16px; }
  .hg-board-grid { gap: 3px; grid-template-columns: 16px repeat(var(--hg-cols, 12), minmax(0, 1fr)); }
  .hg-tile { min-height: 20px; border-radius: 5px; font-size: 8px; }
  .hg-hand-tile { width: 50px; }
  .hg-stock-row { grid-template-columns: 1fr auto; }
  .hg-stock-row .hg-price { grid-column: 1 / -1; }
  .cs-cards { grid-template-columns: 1fr; }
  .cs-stats { gap: 24px; }
  .cs-stat-number { font-size: 40px; }
  .cs-tl-item { grid-template-columns: 86px 1fr; gap: 16px; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hg-tile, .hg-hand-tile, .hg-btn, .hg-banner, .hg-choice, .hg-bonus-chip,
  .hg-tile--target, .hg-hand-tile--playable, .hg-tile--pop, .hg-tile--flip {
    animation: none !important;
  }
  .cs-reveal { opacity: 1; transform: none; transition: none; }
}
