:root {
  color-scheme: light;
  --paper: #f1ecdf;
  --ink: #171816;
  --muted: #68685f;
  --red: #b83c26;
  --amber: #d98a28;
  --line: #aaa99e;
  --page-width: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
main, footer { width: min(var(--page-width), calc(100% - 40px)); margin-inline: auto; }

.arena-intro { padding: clamp(54px, 9vw, 108px) 0 clamp(36px, 6vw, 72px); }
.arena-intro > p, .arena-note > p:first-child {
  margin: 0 0 16px;
  color: var(--red);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .14em;
}
.arena-intro h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.3rem);
  font-weight: 900;
  letter-spacing: -.085em;
  line-height: .85;
}
.arena-intro > div { display: flex; margin-top: 36px; gap: 10px 24px; flex-wrap: wrap; color: var(--muted); font-size: .76rem; }
.arena-intro > div span::before { color: var(--red); content: "＋"; }

.game-list { border-top: 2px solid var(--ink); }
.game-row {
  display: grid;
  min-height: 230px;
  padding: clamp(24px, 4vw, 46px) 0;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.game-row:hover .game-copy strong { color: var(--red); transform: translateX(8px); }
.game-row.night:hover .game-copy strong { color: #8b5d18; }
.game-row.dart:hover .game-copy strong { color: #8f2b24; }
.game-number { align-self: start; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; }
.game-copy { display: grid; gap: 9px; }
.game-copy small { color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .1em; }
.game-copy strong {
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .92;
  transition: color 140ms ease-out, transform 140ms ease-out;
}
.game-copy > span { color: var(--muted); font-size: .84rem; line-height: 1.7; }
.game-go { min-height: 44px; padding: 12px 0; border-bottom: 2px solid currentColor; font-size: .78rem; font-weight: 850; }
.game-row.night { background: linear-gradient(90deg, transparent, rgb(217 138 40 / 8%)); }
.game-row.dart { background: linear-gradient(90deg, transparent, rgb(143 43 36 / 7%)); }

.arena-note {
  display: grid;
  padding: clamp(72px, 11vw, 132px) 0;
  grid-template-columns: .25fr 1fr;
  gap: clamp(24px, 5vw, 66px);
  align-items: start;
}
.arena-note h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 4rem); letter-spacing: -.05em; line-height: 1.08; }
.arena-note > p:last-child { grid-column: 2; margin: 5px 0 0; color: var(--muted); line-height: 1.85; }
footer { display: flex; padding: 30px 0 48px; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
footer p { margin: 0; }
footer a { min-height: 44px; color: inherit; text-underline-offset: 4px; }

@media (max-width: 720px) {
  main, footer { width: min(var(--page-width), calc(100% - 24px)); }
  .arena-intro { padding-top: 40px; }
  .arena-intro h1 { font-size: min(calc(15vw + .5rem), 5.5rem); }
  .game-row { min-height: 190px; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .game-copy strong { font-size: min(calc(9vw + .6rem), 4rem); }
  .game-go { grid-column: 2; justify-self: start; }
  .arena-note { grid-template-columns: 1fr; gap: 18px; }
  .arena-note > p:last-child { grid-column: auto; }
  .arena-note h2 { font-size: min(calc(7vw + .75rem), 3rem); }
  footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
