:root {
  color-scheme: light;
  --ink: #251c20;
  --muted: #55484d;
  --paper: #fffaf2;
  --red: #a52748;
  --peach: #ffd8c8;
  --blue: #e7f3f9;
  --yellow: #fff0b7;
  font-family: "DM Sans", "Avenir Next", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #087695; outline-offset: 4px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.header { min-height: 84px; border-bottom: 1px solid #e8dcd2; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; font-weight: 850; font-size: 1.3rem; letter-spacing: -.035em; }
.brand img { object-fit: contain; }
.nav, .language { display: flex; gap: clamp(14px, 2.4vw, 34px); align-items: center; }
.nav a, .language a { min-height: 44px; display: inline-flex; align-items: center; font-size: .94rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav a:hover, .language a:hover { text-decoration: underline; }
.language { gap: 14px; }
.language [aria-current] { color: var(--red); text-decoration: underline; text-underline-offset: 5px; }
.skip { position: absolute; left: 16px; top: 16px; transform: translateY(-170%); background: white; padding: 10px; z-index: 2; }
.skip:focus { transform: none; }
.hero, .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 7vw, 106px); }
.hero { padding-block: 64px 78px; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 7.25vw, 7rem); letter-spacing: -.079em; line-height: .96; font-weight: 900; }
h1 span { color: var(--red); }
[lang="zh-Hant"] h1 { font-size: clamp(2.7rem, 5.8vw, 5.65rem); letter-spacing: -.075em; line-height: 1.13; }
h2 { font-size: clamp(2rem, 4.25vw, 4.05rem); line-height: 1.03; letter-spacing: -.06em; font-weight: 850; }
[lang="zh-Hant"] h2 { line-height: 1.2; letter-spacing: -.045em; }
p { max-width: 48ch; color: var(--muted); font-size: clamp(1.06rem, 1.55vw, 1.25rem); line-height: 1.62; }
h1 + p { margin-top: 25px; }
h2 + p { margin-top: 20px; }
.actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px 22px; }
.button { display: inline-flex; gap: 10px; min-height: 52px; padding: 14px 20px; align-items: center; background: var(--ink); color: #fff; text-decoration: none; border-radius: 99px; font-weight: 800; }
.button:hover { background: var(--red); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; font-weight: 750; text-underline-offset: 4px; }
.device { font-size: .87rem; margin-top: 10px; }
.hero-art { aspect-ratio: 1.13; position: relative; display: grid; place-items: center; isolation: isolate; background: var(--peach); border-radius: 28px; }
.tablet { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; width: 77%; height: 69%; border: clamp(5px, 1vw, 10px) solid var(--ink); border-radius: 27px; background: #fff8db; transform: rotate(-6deg); box-shadow: 0 9px 0 #bd6d67; }
.mascot { width: 47%; max-height: 62%; object-fit: contain; align-self: end; }
.plate { display: grid; place-items: center; background: white; border: 1px dashed var(--ink); border-radius: 9px; padding: 5px 12px; font-weight: 900; font-size: clamp(.75rem, 1.7vw, 1.35rem); }
.note { font-size: clamp(1.7rem, 4vw, 4rem); color: var(--red); position: absolute; font-weight: 800; }
.one { top: 13%; left: 14%; transform: rotate(-14deg); }
.two { right: 12%; top: 21%; transform: rotate(13deg); }
.sticker { position: absolute; object-fit: contain; filter: drop-shadow(0 4px 1px #642b3528); }
.sticker-top { width: 18%; top: 6%; right: 7%; transform: rotate(12deg); }
.sticker-left { width: 22%; bottom: 12%; left: 4%; transform: rotate(12deg); }
.sticker-right { width: 19%; bottom: 9%; right: 5%; transform: rotate(-11deg); }
.band { padding-block: clamp(52px, 7vw, 96px); }
.game { background: var(--blue); }
.story { background: var(--yellow); }
.media { overflow: hidden; border-radius: 22px; background: #d7e7ed; border: 1px solid #251c2030; }
.media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.steps { display: grid; gap: 8px; margin: 22px 0 0; padding-left: 1.45em; font-weight: 750; font-size: 1rem; }
.steps li { padding-left: .3em; }
.steps li::marker { color: var(--red); font-weight: 850; }
.credits { border-left: 2px solid #c48815; padding: 10px 0 10px 28px; }
.credits strong { font-size: 1.25rem; }
.credits p { margin-top: 8px; font-size: 1rem; }
footer { background: var(--ink); color: var(--paper); }
.footer { min-height: 100px; padding-block: 16px; flex-wrap: wrap; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 27px; padding-block: 48px 58px; }
  .nav { gap: 14px; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 36px); }
  .header { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 10px; }
  .header .brand { min-height: 48px; font-size: 1.14rem; }
  .brand img { width: 33px; height: 35px; }
  .nav { grid-column: 1 / -1; grid-row: 2; gap: 24px; }
  .language { grid-column: 2; grid-row: 1; gap: 10px; }
  .nav a, .language a { font-size: .85rem; }
  .hero, .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero { padding-block: 38px 45px; }
  h1 { font-size: clamp(3.75rem, 13vw, 5.25rem); }
  [lang="zh-Hant"] h1 { font-size: clamp(3.25rem, 10.5vw, 5rem); }
  .hero-art { aspect-ratio: 1.27; }
  .mirror-media { grid-row: 2; }
  .footer { gap: 4px 18px; }
}
[lang="zh-Hant"] h1 { text-wrap: initial; }
.header .brand { white-space: nowrap; }
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .header { column-gap: 8px; }
  .header .brand { gap: 5px; font-size: .98rem; }
  .header .brand img { width: 28px; height: 30px; }
  .language { gap: 7px; }
  .language a { font-size: .77rem; }
  [lang="zh-Hant"] h1 { font-size: clamp(2.55rem, 12vw, 3.25rem); }
}
