/* TWOYEARSOLD — DESIGN.md のトークン(Editorial Dark / Light)。少なく、しかし良く。 */
:root {
  --background: #0A0A0B;
  --thin-line: #242427;
  --text-primary: #F4F4F2;
  --text-secondary: #9C9C9A;
  --text-muted: #868687;   /* DESIGN.md §1.2(2026-10-24 改め。小さな字 4.5:1) */
  --accent: #E2563C;
}
@media (prefers-color-scheme: light) {
  :root {
    --background: #FAFAF8;
    --thin-line: #E3E3DE;
    --text-primary: #111110;
    --text-secondary: #565653;
    --text-muted: #696965;   /* DESIGN.md §1.2(2026-10-24 改め。前 #A0A09A は地に約 2.5:1) */
    --accent: #C8412C;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--background);
  color: var(--text-primary);
  font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
main { max-width: 640px; margin: 0 auto; padding: 72px 24px 48px; }
header { margin-bottom: 64px; }
h1 { font-size: 40px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.lead { margin-top: 16px; color: var(--text-secondary); }
.lead-ja { color: var(--text-muted); font-size: 14px; }
section { margin-bottom: 56px; }
h2 {
  font-size: 11px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
ul { list-style: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* ゲームの一覧: アイコンと名前を横に並べる(縦の行にしない) */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 28px 12px; }
.games a, .games .row {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: inherit; text-decoration: none; text-align: center;
}
.games img { display: block; width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 0 0 1px var(--thin-line); }
.name { font-size: 13px; font-weight: 500; line-height: 1.3; }
.kind, .arrow { display: none; }
.soon { color: var(--text-muted); font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; margin-top: -6px; }
.games .row img { opacity: 0.55; }
.games a:focus-visible, a:focus-visible { outline: 1px solid var(--text-secondary); outline-offset: 4px; }
@media (hover: hover) { .games a:hover .name { color: var(--text-secondary); } }
.promise li { padding: 6px 0; color: var(--text-secondary); }
section p { padding: 4px 0; }
section a { color: var(--text-primary); text-underline-offset: 4px; text-decoration-color: var(--thin-line); }
footer { margin-top: 80px; color: var(--text-muted); font-size: 12px; letter-spacing: 1px; }
footer a { color: var(--text-secondary); text-decoration: none; }
footer nav { margin-bottom: 12px; line-height: 2; }
footer nav a { margin-right: 16px; white-space: nowrap; }
footer nav a[aria-current="page"] { color: var(--text-primary); }
/* 表記の項目(特定商取引法に基づく表記)。項目名を上に小さく、中身を下に。 */
.facts div { padding: 14px 0; border-bottom: 1px solid var(--thin-line); }
.facts dt { color: var(--text-muted); font-size: 13px; }
.facts dd { margin-top: 2px; color: var(--text-secondary); }
@media (max-width: 420px) { .games { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
