/* Hallmark · app screen · atmospheric · signature: two game cabinets · v2.0.0 */
:root {
  color-scheme: dark;
  --bg: #10151a;
  --ink: #f3f4ee;
  --muted: #b4c0c1;
  --line: #39454b;
  --gold: #e3c788;
  --mint: #86ebc6;
  --table: #1d302a;
  --arena: #142b35;
  --font: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--line) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
h1, h2, p { margin: 0; }
h1, h2 { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
.shell { width: min(100% - 40px, 980px); margin-inline: auto; }
.mast { display: flex; align-items: center; justify-content: space-between; min-height: 76px; border-bottom: 1px solid var(--line); }
.mast a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
.mast a:first-child { font-weight: 750; }
.mast a:last-child, footer { color: var(--muted); font-size: 14px; }
main { padding-block: 56px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.15; letter-spacing: -.04em; }
.intro { margin-block: 12px 28px; color: var(--muted); }
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.game { overflow: clip; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.game:hover { border-color: var(--accent); }
.avalon { --accent: var(--gold); --surface: var(--table); }
.neon { --accent: var(--mint); --surface: var(--arena); }
.game svg { display: block; width: 100%; height: 172px; margin-top: 12px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.caption { padding: 12px 24px 24px; }
h2 { font-size: 26px; }
.caption p { margin: 4px 0 16px; color: var(--muted); }
.caption span { font-weight: 700; color: var(--accent); }
footer { border-top: 1px solid var(--line); padding-block: 12px; }
@media (max-width: 620px) { main { padding-block: 32px; } .games { grid-template-columns: minmax(0, 1fr); } .game svg { height: 136px; } }
