:root {
  --bg: #edf2ff; --head: #f5f7ff; --panel: #f8faff; --ink: #202959;
  --muted: #515d83; --line: #b7c4eb; --wash: #dce5ff; --accent: #3752d3;
  --accent-ink: #fff; --accent-text: #3045b7; --selection: #344bd1;
  --radius: 7px; --heading: "Segoe UI", Arial, sans-serif;
  --paper: linear-gradient(#92a5de22 1px, transparent 1px) 0 0/23px 23px, linear-gradient(90deg, #92a5de22 1px, transparent 1px) 0 0/23px 23px;
}
.header { border-bottom: 2px solid #405abf; }
.category-nav a { border-radius: 3px; }
.hero { padding: clamp(19px, 4vw, 57px); border: 1px solid #8b9fdc; background: var(--paper), #e4ebff; position: relative; }
.hero::before, .hero::after { content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none; }
.hero::before { top: 8px; left: 8px; border-top: 2px solid #455dcc; border-left: 2px solid #455dcc; }
.hero::after { bottom: 8px; right: 8px; border-bottom: 2px solid #455dcc; border-right: 2px solid #455dcc; }
.hero-copy h1 { max-width: 19ch; font-size: clamp(2.8rem, 6.35vw, 6.7rem); font-weight: 780; letter-spacing: -.08em; }
.hero-copy > p:not(.eyebrow) { max-width: 66ch; }
.lab-board { display: grid; grid-template-columns: 1.36fr 1fr; gap: 1px; margin-top: clamp(18px, 4vw, 53px); background: #a7b6e6; padding: 1px; }
.hero .feature-card { display: grid; grid-template-columns: minmax(110px, 39%) minmax(0, 1fr); align-items: stretch; border-radius: 0; border: 0; }
.hero .feature-card > img { width: 100%; height: 100%; min-height: 165px; aspect-ratio: 1; border-radius: 0; }
.lab-board .hero-side { background: #eff3ff; padding: clamp(11px, 1.75vw, 23px); }
.button { border-radius: 4px; }
.game-card { border-radius: 4px; }
.shelf-2 { border-block: 1px solid #a3b4e7; padding-block: 1.6rem; }
.grid-line .card-line { background: #f5f7ff; }
.category-shelves { gap: 1px; background: var(--line); padding: 1px; }
.category-shelves .shelf { padding: clamp(13px, 2.8vw, 32px); background: #e8eeff; }
.category-shelves .shelf:nth-child(4n + 1), .category-shelves .shelf:nth-child(4n) { background: #f3f6ff; }
.detail { grid-template-columns: minmax(0, 1fr) minmax(225px, .46fr); background: var(--paper), var(--wash); border: 1px solid #a3b5eb; padding: clamp(10px, 2vw, 22px); }
.detail-lead { border-radius: 2px; }
.detail-lead figure { border: 1px solid #a3b5eb; background: #eff4ff; padding: 6px; }
.detail-lead img { border-radius: 0; }
.detail-aside { background: #e5ecff; border: 1px dashed #8d9fdc; border-radius: 2px; }
.category-hero { background: var(--paper), #dee7ff; }
@media (max-width: 820px) {
  .lab-board { grid-template-columns: 1fr; }
  .hero-side .grid-line { --columns: 3; }
}
@media (max-width: 740px) {
  .detail { grid-template-columns: 1fr; }
}
@media (max-width: 550px) {
  .hero-side .grid-line { --columns: 1; }
  .hero .feature-card { grid-template-columns: 1fr; }
  .hero .feature-card > img { aspect-ratio: 1.8; min-height: 0; height: auto; }
}
