:root {
  --bg: #fff9ec; --surface: #fffdf8; --ink: #2b201a; --muted: #614d45;
  --line: #ebd6bf; --accent: #a23c2a; --on-accent: #fff; --soft: #ffead4;
  --radius: 22px; --width: 1220px;
}
.header { background: #ffedcd; }
.hero {
  display: grid; grid-template-columns: .94fr 1.06fr; align-items: center;
  gap: clamp(1rem, 3vw, 2.7rem); padding: clamp(1rem, 4.4vw, 3.35rem);
  background: #ffcf9e; border: 1px solid #d9a574; border-radius: 32px;
}
.hero h1 { font-weight: 900; letter-spacing: -.075em; max-width: 11ch; }
.hero-copy .lede { color: #513423; }
.mosaic { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; gap: 9px; }
.mosaic .card { position: relative; border: 0; border-radius: 12px; }
.mosaic .card:first-child { grid-row: span 2; }
.mosaic .cover { height: 100%; aspect-ratio: 2 / 1; }
.mosaic .card:first-child .cover { aspect-ratio: 4 / 5; }
.mosaic .card-text { position: absolute; inset: auto 0 0; color: #fff; padding: 1.25rem .6rem .55rem; background: linear-gradient(transparent, #291a14 85%); }
.mosaic .card:hover .card-name { color: #ffd5a8; }
.mosaic .card-genre { display: none; }
.rounds .card { border-radius: 50rem; }
.rounds .cover { border-radius: 50%; margin: 4px; }
.collection-deck .shelf { padding: clamp(.95rem, 3vw, 1.9rem); background: var(--soft); border-radius: var(--radius); }
.collection-deck .shelf:nth-child(3n+2) { background: #e8efe3; }
.collection-deck .shelf:nth-child(3n+3) { background: #f4e5f2; }
.shelf .game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.shelf .card-genre { display: none; }
.detail { border: none; background: var(--soft); }
.button { border-radius: 999px; }
@media (max-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
  .hero h1 { max-width: 14ch; }
  .hero-copy .lede { margin: .7rem 0 .9rem; }
  .shelf .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .shelf .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rounds .card .cover { width: 41px; }
}
