/* Arcade: shared styles for the lobby and every game page. Deliberately plain and neutral. */

:root {
  --bg: #111317;
  --panel: #191c21;
  --line: #2c3038;
  --text: #f2f3f5;
  --text-2: #c9ccd2;
  --dim: #8b909a;
  --overlay: rgba(17, 19, 23, 0.84);
  /* used by the games' own graphics, not by the page chrome */
  --accent: #f97316;
  --accent-2: #06b6d4;
  --stage-bg: #0c0e11;
  --stage-grid: rgba(255, 255, 255, 0.05);
  --star: #f5b83d;
  --display: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
[data-theme="light"] {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --line: #d6d9df;
  --text: #15171b;
  --text-2: #33373e;
  --dim: #666c77;
  --overlay: rgba(244, 245, 247, 0.88);
  --accent: #ea580c;
  --accent-2: #0891b2;
  --stage-bg: #e6e8ec;
  --stage-grid: rgba(0, 0, 0, 0.07);
  --star: #c98a00;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse 80% 45% at 50% -10%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%), var(--bg);
  color: var(--text-2);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; }

/* Top bar */
.bar {
  display: flex; align-items: center; gap: 14px; width: 100%;
  max-width: 1080px; margin: 0 auto 10px; padding: 14px 20px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
.bar h1 {
  flex: 1; margin: 0; text-align: center;
  font: 700 1.05rem var(--display); letter-spacing: -0.01em; color: var(--text);
}
.bar.bar-left h1 { text-align: left; }
.fc-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); line-height: 1; flex-shrink: 0;
  transition: opacity 0.15s ease;
}
.fc-brand:hover { opacity: 0.9; }
.fc-brand-logo {
  width: 36px; height: 36px; flex-shrink: 0;
  background-image: url("/logo.png"); background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: drop-shadow(0 0 12px rgba(249, 115, 22, 0.3));
}
.fc-brand-text {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  font-size: 0.95rem; line-height: 1; color: var(--text); white-space: nowrap;
}
.fc-brand-text span { color: var(--accent); font-weight: 400; }
@media (max-width: 560px) { .fc-brand-text { display: none; } }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 14px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--panel);
  color: var(--text-2); text-decoration: none; cursor: pointer;
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.chip:hover, .chip:focus-visible { border-color: var(--accent); color: var(--text); outline: none; }
.chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip.is-muted { color: var(--dim); }

/* ---------- In-game interface: the strip along the top of every game and the pause menu. Always dark, like the games. ---------- */
.g-top {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px; min-height: 46px;
  background: #0d0f13; border-bottom: 1px solid #23272e; color: #e9ebef; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
.g-stat { display: flex; flex-direction: column; justify-content: center; min-width: 62px; padding: 2px 10px; border-radius: 6px; background: #171a20; }
.g-stat span { font-size: 0.58rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #8b93a1; white-space: nowrap; }
.g-stat b { font-size: 1.1rem; font-weight: 700; line-height: 1.2; color: #ffffff; font-variant-numeric: tabular-nums; }
.g-gap { flex: 1; }
.g-title { font-size: 0.9rem; font-weight: 700; color: #e9ebef; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 12px; cursor: pointer;
  border: 1px solid #2d323b; border-radius: 7px; background: #1b1f26; color: #e9ebef; text-decoration: none;
  font: 600 0.8rem system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; white-space: nowrap;
}
.g-btn:hover, .g-btn:focus-visible { background: #262b34; border-color: #4a515d; outline: none; }
.g-btn.g-icon { width: 36px; padding: 0; }
.g-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.g-btn.is-muted { color: #8b93a1; }
.g-btn.wide { width: 100%; min-height: 44px; font-size: 0.92rem; }
.g-btn.primary { background: #f2f3f5; border-color: #f2f3f5; color: #111317; }
.g-btn.primary:hover, .g-btn.primary:focus-visible { background: #ffffff; }
.g-view { position: relative; }
.g-view canvas { display: block; width: 100%; height: 100%; }
.g-menu { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 6, 8, 0.8); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.g-menu[hidden] { display: none; }
.g-menu-card { width: min(320px, 100%); max-height: 100%; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid #2d323b; border-radius: 14px; background: #12151a; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.g-menu-card h2 { margin: 0 0 2px; text-align: center; font: 700 1.25rem system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #ffffff; }
.g-menu-items { display: flex; flex-direction: column; gap: 8px; }
.g-menu-sound { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 10px; background: #171a20; }
.g-slider { display: flex; align-items: center; gap: 10px; font: 600 0.8rem system-ui, sans-serif; color: #c5cad3; }
.g-slider span { width: 54px; }
.g-slider input { flex: 1; min-width: 0; accent-color: #f2f3f5; }
.g-menu.one-volume .g-slider + .g-slider { display: none; }
.g-menu.no-volume .g-menu-sound { display: none; }
.g-player { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #000; color: #c5cad3; font: 0.9rem system-ui, sans-serif; text-align: center; padding: 16px; }
.g-player > * { width: 100%; height: 100%; }
.g-player > p { height: auto; }
.g-frame { display: block; width: 100%; height: 100%; border: 0; background: #000; }

/* ---------- Games display page (index.html). The page itself stays neutral; the colour comes from the cover art. ---------- */
.store-bar { max-width: 1240px; padding-top: 18px; }
.store-bar h1 { flex: 0 0 auto; font: 700 1.25rem var(--display); letter-spacing: -0.01em; }
.store-search { position: relative; flex: 1; max-width: 380px; margin-left: auto; }
.store-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.store-search input {
  width: 100%; height: 38px; padding: 0 12px 0 36px; border: 1px solid var(--line); border-radius: 19px;
  background: var(--panel); color: var(--text); font: inherit; font-size: 0.9rem;
}
.store-search input::placeholder { color: var(--dim); }
.store-search input:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; border-color: transparent; }
.store { max-width: 1240px; margin: 0 auto; padding: 10px 20px 64px; }
.store h2 { margin: 0; font: 700 1.15rem var(--display); letter-spacing: -0.01em; color: var(--text); }

/* Featured banner */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 380px;
  border-radius: 18px; overflow: hidden; background: #0d0f13; isolation: isolate;
  --text: #f2f3f5; --text-2: #c9ccd2; --bg: #111317;      /* the banner is always dark, like the cover art it shows */
}
.hero[hidden] { display: none; }
.hero-glow { position: absolute; inset: -20%; z-index: -1; width: 140%; height: 140%; object-fit: cover; filter: blur(90px) saturate(1.4); opacity: 0.34; }
.hero-text { container-type: inline-size; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 40px 12px 40px 44px; }
.hero-tag { font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.store .hero-title { margin: 0; font: 800 clamp(2rem, 11.5cqw, 4rem)/1 var(--display); letter-spacing: -0.035em; color: var(--text); overflow-wrap: anywhere; }
.hero-desc { margin: 0; max-width: 42ch; font-size: 1rem; line-height: 1.55; color: var(--text-2); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-play {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 30px 0 24px; border-radius: 25px;
  background: var(--text); color: var(--bg); text-decoration: none; font: 700 1.02rem var(--display);
  transition: transform 0.15s ease;
}
.hero-play svg { width: 14px; height: 14px; fill: currentColor; }
.hero-play:hover { transform: scale(1.04); }
.hero-play:focus-visible, .hero-pick button:focus-visible, .game-link:focus-visible, .recent-tile:focus-visible, .filter:focus-visible, .fav:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.hero-best { font-size: 0.9rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hero-best b { color: var(--text); }
.hero-art { position: relative; min-height: 240px; }
.hero-art > .cover-img, .hero-art > .cover-gen {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%);
}
.hero-pick { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.hero-pick button {
  width: 72px; aspect-ratio: 16 / 10; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer;
  background: #0c0e11; opacity: 0.6; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); transition: opacity 0.15s ease;
}
.hero-pick button:hover { opacity: 1; }
.hero-pick button[aria-pressed="true"] { opacity: 1; border-color: #ffffff; }
.hero-pick .cover-img, .hero-pick .cover-gen { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-pick .cover-gen span { display: none; }

/* Cover art. Games without a picture get a generated cover: the title on a colour taken from its letters. */
.cover-img { display: block; width: 100%; height: 100%; object-fit: cover; background: #0c0e11; }
.cover-gen {
  display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 8%; container-type: inline-size;
  background: linear-gradient(140deg, hsl(var(--h) 55% 34%), hsl(calc(var(--h) + 50) 60% 16%));
}
.cover-gen span { font: 800 13cqw/0.95 var(--display); letter-spacing: -0.03em; color: #ffffff; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Jump back in */
.recent { margin-top: 30px; }
.recent[hidden] { display: none; }
.recent-row { display: flex; gap: 12px; margin-top: 12px; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
.recent-tile {
  flex: 0 0 auto; display: flex; align-items: center; gap: 12px; width: 230px; padding: 8px 14px 8px 8px; border-radius: 12px;
  background: var(--panel); color: inherit; text-decoration: none; transition: background 0.15s ease;
}
.recent-tile:hover { background: var(--line); }
.recent-cover { flex: 0 0 auto; width: 84px; aspect-ratio: 16 / 10; border-radius: 7px; overflow: hidden; }
.recent-cover .cover-gen span { display: none; }
.recent-name { display: block; font-weight: 600; font-size: 0.92rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-sub { display: block; margin-top: 2px; font-size: 0.78rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.recent-info { min-width: 0; }

/* Filters + grid */
.shelf { margin-top: 34px; }
.shelf-head { display: flex; align-items: baseline; gap: 12px; }
.shelf-count { font-size: 0.85rem; color: var(--dim); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.filter {
  min-height: 34px; padding: 0 15px; border: 1px solid var(--line); border-radius: 17px; background: transparent;
  color: var(--text-2); font-size: 0.85rem; font-weight: 500; cursor: pointer;
}
.filter:hover { border-color: var(--dim); color: var(--text); }
.filter[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 20px; }
.game-card { position: relative; min-width: 0; }
.game-link { display: block; color: inherit; text-decoration: none; border-radius: 12px; }
.game-link .cover { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #0c0e11; box-shadow: 0 0 0 1px var(--line); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.game-link:hover .cover, .game-link:focus-visible .cover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--dim), 0 16px 32px rgba(0, 0, 0, 0.35); }
.game-name { display: block; margin-top: 12px; font: 700 1.02rem var(--display); letter-spacing: -0.01em; color: var(--text); }
.game-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 0.84rem; line-height: 1.45; color: var(--dim); }
.game-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 0.8rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.game-meta .best b { color: var(--text); font-weight: 600; }
.best[hidden] { display: none; }
.fav {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: rgba(10, 11, 14, 0.72); color: #ffffff;
  opacity: 0; transition: opacity 0.15s ease;
}
.fav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fav[aria-pressed="true"] { opacity: 1; color: var(--star); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.game-card:hover .fav, .fav:focus-visible { opacity: 1; }
@media (hover: none) { .fav { opacity: 1; } }
.hero-actions .fav { position: static; width: 50px; height: 50px; opacity: 1; background: color-mix(in srgb, var(--text) 12%, transparent); color: var(--text); }
.hero-actions .fav[aria-pressed="true"] { color: var(--star); }
.hero-actions .fav svg { width: 20px; height: 20px; }
.store-empty { margin: 0; padding: 36px 0; color: var(--dim); font-size: 0.95rem; }
.store-empty[hidden] { display: none; }
.store-empty button { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--text); font-weight: 600; text-decoration: underline; cursor: pointer; }
.store .scores { margin-top: 48px; }
.store .board-title { font: 700 1.15rem var(--display); letter-spacing: -0.01em; margin-bottom: 14px; }
.store .board-grid.board-all { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.store .board-box { border: 0; border-radius: 12px; }

@media (max-width: 760px) {
  .store-bar { flex-wrap: wrap; }
  .store-bar h1 { flex: 1; }
  .store-search { order: 5; flex: 1 0 100%; max-width: none; }
  .store { padding: 8px 14px 44px; }
  .hero { grid-template-columns: 1fr; min-height: 0; border-radius: 14px; }
  .hero-art { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
  .hero-art > .cover-img, .hero-art > .cover-gen { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 30%); mask-image: linear-gradient(0deg, transparent 0, #000 30%); }
  .hero-text { padding: 4px 20px 24px; gap: 10px; }
  .hero-pick { right: 12px; top: 12px; bottom: auto; }
  .hero-pick button { width: 56px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .game-desc { display: none; }
  .recent-tile { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-play, .game-link .cover, .fav, .recent-tile { transition: none; }
  .hero-play:hover, .game-link:hover .cover { transform: none; }
}

/* Details under a game (play.html and pages made from template.html) */
.about { width: 100%; max-width: var(--stage-max, 520px); margin-top: 16px; display: flex; gap: 16px; align-items: flex-start; }
.about[hidden] { display: none; }
.about-text { flex: 1; min-width: 0; }
.about-tag { font-size: 0.8rem; color: var(--dim); }
.about h2 { margin: 2px 0 6px; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.about p { margin: 0 0 6px; font-size: 0.9rem; line-height: 1.5; color: var(--text-2); max-width: 70ch; }
.about .about-controls { color: var(--dim); }
.about .fav { position: static; flex: 0 0 auto; opacity: 1; width: 40px; height: 40px; background: var(--panel); border: 1px solid var(--line); color: var(--text-2); }
.about .fav[aria-pressed="true"] { color: var(--star); }

/* Game page */
.game { max-width: 760px; margin: 0 auto; padding: 8px 20px 36px; display: flex; flex-direction: column; align-items: center; }
.hud { display: flex; align-items: stretch; gap: 8px; width: 100%; max-width: var(--stage-max, 520px); margin-bottom: 10px; }
.stat {
  display: flex; flex-direction: column; justify-content: center; min-width: 80px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--panel);
}
.stat span { font-size: 0.68rem; color: var(--dim); }
.stat b { font-size: 1.1rem; font-weight: 600; color: var(--text); line-height: 1.25; font-variant-numeric: tabular-nums; }
.hud-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.stage {
  position: relative; width: 100%; max-width: var(--stage-max, 520px);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--stage-bg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.stage canvas { display: block; width: 100%; height: 100%; }
.overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px; text-align: center; background: var(--overlay);
}
.overlay[hidden] { display: none; }
.overlay h2 { margin: 0; font-size: 1.5rem; font-weight: 600; color: var(--text); }
.overlay p { margin: 0; max-width: 340px; font-size: 0.9rem; line-height: 1.5; color: var(--text-2); }
.overlay .big { font-size: 1rem; font-weight: 600; color: var(--text); }
.btn {
  margin-top: 8px; min-height: 42px; padding: 0 22px; border: 1px solid var(--text); border-radius: 6px; cursor: pointer;
  background: var(--text); color: var(--bg); font-weight: 600; font-size: 0.92rem;
}
.btn:hover, .btn:focus-visible { opacity: 0.88; outline: none; }
.btn.ghost { background: transparent; color: var(--text-2); border-color: var(--line); }
.overlay-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hint { margin: 12px 0 0; font-size: 0.8rem; color: var(--dim); text-align: center; line-height: 1.5; }
.hint kbd {
  display: inline-block; padding: 0 5px; border: 1px solid var(--line); border-radius: 4px;
  font-family: inherit; font-size: 0.74rem; color: var(--text-2);
}
.touch-only { display: none; }
@media (pointer: coarse) {
  .touch-only { display: block; }
  .key-only { display: none; }
}

/* On-screen direction pad (touch devices) */
.dpad { display: none; grid-template-columns: repeat(3, 60px); grid-template-rows: repeat(2, 54px); gap: 8px; margin-top: 14px; }
.dpad button {
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text-2);
  cursor: pointer; display: flex; align-items: center; justify-content: center; touch-action: manipulation;
}
.dpad button:active { background: var(--line); color: var(--text); }
.dpad svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dpad [data-dir="up"] { grid-column: 2; grid-row: 1; }
.dpad [data-dir="left"] { grid-column: 1; grid-row: 2; }
.dpad [data-dir="down"] { grid-column: 2; grid-row: 2; }
.dpad [data-dir="right"] { grid-column: 3; grid-row: 2; }
@media (pointer: coarse) { .dpad { display: grid; } }

/* Account chip + scoreboard */
.chip-static { cursor: default; max-width: 160px; overflow: hidden; text-overflow: ellipsis; display: inline-block; line-height: 34px; }
.chip-static:hover { border-color: var(--line); color: var(--text-2); }
.scores { width: 100%; margin-top: 28px; }
.game .scores { max-width: 460px; }
.scores[hidden] { display: none; }
.board-title { margin: 0 0 10px; font: 700 1rem var(--display); color: var(--text); }
.board-grid.board-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.board-game { margin: 0 0 6px; font-size: 0.86rem; font-weight: 600; color: var(--text-2); }
.board-box { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); overflow: hidden; }
.board-list { list-style: none; margin: 0; padding: 6px 0; }
.board-list li { display: flex; gap: 10px; padding: 6px 14px; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.board-rank { width: 1.6em; color: var(--dim); text-align: right; }
.board-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-score { color: var(--text); font-weight: 600; }
.board-list li.is-me { color: var(--text); font-weight: 600; background: color-mix(in srgb, var(--text) 7%, transparent); }
.board-list li.is-below { border-top: 1px dashed var(--line); margin-top: 4px; }
.board-empty, .board-note { margin: 0; padding: 10px 12px; font-size: 0.84rem; line-height: 1.45; color: var(--dim); }
.board-note { padding: 8px 0 0; }

@media (max-width: 560px) {
  .bar { padding: 12px 14px 8px; gap: 8px; }
  .g-stat { min-width: 54px; padding: 2px 8px; }
  .chip .chip-label { display: none; }
  .chip-static { max-width: 92px; }
  .game { padding: 6px 14px 28px; }
  .stat { min-width: 68px; padding: 5px 10px; }
}
