/* Living Room Moves official site. Style: Refined Toy Pop (docs/官网设计.md §5): the app's thick ink outline and solid
   drop edge only on the hero screens, the store badge and the video player; everything else flat on a light lilac base.
   Fonts are hosted here (OFL, licences next to the files): Nunito for headlines, Hanken Grotesk for text. Chinese and
   Japanese fall back to the system's own fonts, glyph by glyph. */
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f6f3fc; --paper: #fff; --ink: #2a1e4f; --mute: #62588a; --rule: #e3dcf3;
  --sun: #ffd43b; --coral: #ff5d4d;
  --dance: #ff5f93; --workout: #ff8c3a; --fruit: #43cf6c; --wallpose: #9a6cff; --runner: #ffb81f; --flight: #2f9bff;
  --ow: 3px; --lip: 0 6px 0 var(--ink); --lip-s: 0 5px 0 var(--ink); --r: 24px;
  --disp: "Nunito", system-ui, -apple-system, "PingFang TC", "PingFang SC", "Hiragino Sans", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", "PingFang TC", "Hiragino Sans", "Microsoft JhengHei", sans-serif;
  --max: 1120px; --gut: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--disp); font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 6.4vw, 68px); }
h2 { font-size: clamp(30px, 4.2vw, 44px); text-align: center; }
h3 { font-size: 24px; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
section { padding: 72px 0; }
section.alt { background: var(--paper); border-block: var(--ow) solid var(--ink); }
.lead { color: var(--mute); font-size: 19px; }
.center { text-align: center; }
.sec-lead { max-width: 560px; margin: 12px auto 40px; text-align: center; color: var(--mute); }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(246, 243, 252, .94); border-bottom: var(--ow) solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--disp); white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: var(--ow) solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 3px; }
.lang { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 99px; background: var(--paper); border: var(--ow) solid var(--ink); font: 700 15px/1 var(--body); color: var(--ink); }
.lang svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .nav { display: none; } .lang { margin-left: auto; } .brand span { font-size: 19px; } }

/* ---------------------------------------------------------------- buttons */
/* the App Store badge: a stand-in here; the real site uses Apple's official black badge, unchanged */
.badge { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 18px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: var(--ow) solid var(--ink); box-shadow: var(--lip-s); }
.badge small { display: block; font: 600 12px/1.1 var(--body); opacity: .85; }
.badge b { display: block; font: 700 22px/1.1 var(--body); letter-spacing: -.01em; }
.badge svg { width: 26px; height: 26px; }
.btn2 { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 99px; background: var(--paper); border: var(--ow) solid var(--ink); box-shadow: var(--lip-s); font: 800 19px/1 var(--disp); text-decoration: none; }
.badge:active, .btn2:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.cta-note { color: var(--mute); font-size: 15px; font-weight: 600; }

/* ---------------------------------------------------------------- hero */
/* hero */
.hero { position: relative; overflow: hidden; padding: 60px 0 48px; background: radial-gradient(circle at 88% 18%, #fff3c2 0 70px, rgba(255, 243, 194, 0) 71px), linear-gradient(180deg, #b9e1ff 0%, #ffe9d6 78%, #ffd9c7 100%); border-bottom: var(--ow) solid var(--ink); }
/* words on the left, the three screens on the right in a column about a third of the page wide */
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 37%; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); }
.hero .lead { margin: 16px 0 22px; max-width: 34em; color: #4c4273; }
.hero h1 em { font-style: normal; display: inline-block; background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); }
.hero .cta-note { margin-top: 12px; color: #4c4273; font-size: 15px; }
@media (max-width: 860px) { .hero { padding-top: 60px; } .hero .wrap { grid-template-columns: 1fr; gap: 8px; } }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }

/* three screens in a loose diagonal stack, as in the user's second sketch, each covering only the top-left corner of the
   next: Night Groove at the top left tilted up 15 degrees, Fruit Slash lower and to the right tilted up 8 degrees, Over
   the Fields lowest and furthest right tilted down 4 degrees. Positions and angles are measured off the sketch; each
   screen turns about its own centre. The group is about a third of the page wide. */
.fan { position: relative; width: 100%; aspect-ratio: 1.07; margin: 0; }
.pivot { position: absolute; inset: 0; }
.scr { position: absolute; width: 68%; margin: 0; padding: 6px; border-radius: 14px; background: var(--ink); border: var(--ow) solid var(--ink); box-shadow: var(--lip-s); }
.scr video { display: block; width: 100%; height: auto; aspect-ratio: 960 / 442; object-fit: cover; border-radius: 9px; }
.scr-dance { z-index: 3; left: 2%; top: 8%; transform: rotate(-15deg); }
.scr-fruit { z-index: 2; left: 23%; top: 31%; transform: rotate(-8deg); }
.scr-flight { z-index: 1; left: 31%; top: 65%; transform: rotate(4deg); }
.scr-fruit .tag { left: auto; right: 12px; top: auto; bottom: -15px; transform: rotate(-3deg); }
.scr-flight .tag { left: auto; right: 12px; top: auto; bottom: -15px; transform: rotate(-3deg); }
/* pause for the hero clips (moving content longer than 5 s needs a way to stop it) */
.pause { position: absolute; right: 0; bottom: 0; z-index: 4; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); border: var(--ow) solid var(--ink); box-shadow: 0 3px 0 var(--ink); cursor: pointer; }
.pause svg { width: 18px; height: 18px; }
.pause .i-play, .pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; margin-left: 2px; }
/* holiday strip under the hero: one line, a thumbnail, a link; removed by site.js after its data-until day */
.season { background: #c8323e; border-bottom: var(--ow) solid var(--ink); }
.season[hidden] { display: none; }
.season a { display: flex; align-items: center; gap: 18px; padding: 12px 0; color: #fff; text-decoration: none; }
.season img { flex: none; width: 96px; height: auto; aspect-ratio: 480 / 221; object-fit: cover; border-radius: 9px; border: var(--ow) solid var(--ink); }
.s-text { flex: 1; font-size: 16px; color: #ffe3e0; }
.s-text b { margin-right: 8px; font: 800 20px/1.2 var(--disp); color: #fff; }
.season .go { flex: none; padding: 6px 16px 8px; border-radius: 99px; background: var(--paper); color: var(--ink); border: var(--ow) solid var(--ink); box-shadow: 0 3px 0 var(--ink); font: 800 16px/1.2 var(--disp); }
@media (max-width: 640px) { .season img { width: 64px; } .s-text { font-size: 14px; } .s-text b { display: block; font-size: 17px; } .season .go { display: none; } }
.tag { position: absolute; left: 12px; top: -15px; z-index: 1; padding: 2px 10px 4px; border-radius: 12px; background: var(--g); border: var(--ow) solid var(--ink); box-shadow: 0 3px 0 var(--ink); font: 800 14px/1.2 var(--disp); white-space: nowrap; transform: rotate(3deg); }
.tag { transform: rotate(-3deg); }
.scr-dance .tag { top: -17px; font-size: 16px; }
@media (max-width: 860px) { .fan { width: min(100%, 380px); margin: 24px auto 0; } }
@media (max-width: 520px) { .tag { font-size: 12px; } .scr-dance .tag { font-size: 13px; } }

/* ---------------------------------------------------------------- the video area (a store-style media gallery) */
/* the main player in a TV frame (thick ink bezel, solid drop edge, a big sun-yellow play button over the poster); under
   it the title of what is playing and a strip of thumbnails that scrolls sideways, with arrow buttons on wide screens */
.gallery { max-width: 980px; margin: 8px auto 0; }
.player { position: relative; padding: 12px; border-radius: 26px; background: var(--ink); border: var(--ow) solid var(--ink); box-shadow: 0 10px 0 var(--ink); }
.player video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 590; border-radius: 16px; background: #000; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: var(--sun); color: var(--ink); border: var(--ow) solid var(--ink); box-shadow: 0 7px 0 var(--ink); cursor: pointer; transition: transform .15s; }
.play:hover { transform: translate(-50%, -50%) scale(1.06); }
.play svg { width: 46px; height: 46px; margin-left: 6px; }
.player.on .play { display: none; }
.caption { margin: 22px 0 14px; text-align: center; font: 800 20px/1.3 var(--disp); }
.caption a { margin-left: 10px; font: 700 15px/1.3 var(--body); color: var(--ink); text-underline-offset: 3px; }
.strip-wrap { position: relative; display: flex; align-items: center; gap: 10px; }
.strip { display: flex; gap: 16px; flex: 1; min-width: 0; margin: 0; padding: 9px 8px 18px; list-style: none; overflow-x: auto; scroll-padding: 0 8px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--ink) var(--rule); }
.strip::-webkit-scrollbar { height: 8px; } .strip::-webkit-scrollbar-track { background: var(--rule); border-radius: 8px; } .strip::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 8px; }
.strip li { flex: none; scroll-snap-align: start; }
.thumb { position: relative; display: block; width: 210px; padding: 0; border-radius: 14px; overflow: hidden; background: var(--ink); border: var(--ow) solid var(--ink); box-shadow: 0 5px 0 var(--ink); cursor: pointer; transition: transform .15s; }
.thumb:hover { transform: translateY(-3px); }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 221; object-fit: cover; opacity: .82; }
.thumb.on { outline: 4px solid var(--g); outline-offset: 2px; }
.thumb.on img, .thumb:hover img { opacity: 1; }
.t-name { position: absolute; left: 8px; bottom: 8px; padding: 2px 9px 4px; border-radius: 10px; background: var(--g); color: var(--ink); border: var(--ow) solid var(--ink); font: 800 13px/1.2 var(--disp); white-space: nowrap; }
.t-len { position: absolute; right: 8px; top: 8px; padding: 1px 7px 2px; border-radius: 8px; background: rgba(20, 14, 40, .78); color: #fff; font: 700 12px/1.3 var(--body); }
.arrow { flex: none; width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 50%; background: var(--paper); color: var(--ink); border: var(--ow) solid var(--ink); box-shadow: 0 4px 0 var(--ink); cursor: pointer; }
.arrow svg { width: 22px; height: 22px; }
.arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 720px) { .arrow { display: none; } .thumb { width: 160px; } }
@media (max-width: 520px) { .player { padding: 6px; border-radius: 16px; box-shadow: 0 6px 0 var(--ink); } .player video { border-radius: 10px; } .play { width: 68px; height: 68px; } .play svg { width: 30px; height: 30px; } .caption { font-size: 17px; margin-top: 16px; } .strip { gap: 12px; } }

/* ---------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 26px 22px 24px; border-radius: var(--r); background: var(--bg); border: var(--ow) solid var(--ink); box-shadow: var(--lip); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 18px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); border: var(--ow) solid var(--ink); font: 800 20px/1 var(--disp); }
.steps svg { width: 52px; height: 52px; margin: 6px 0 12px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--mute); }
.steps .plat { display: block; margin-top: 4px; font-size: 15px; }
/* phone: icon on the left, words on the right, so the three steps take half the height */
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 26px; } .steps li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 18px 18px; } .steps svg { flex: none; width: 44px; height: 44px; margin: 4px 0 0; } .steps h3 { font-size: 21px; } .steps p { font-size: 16px; } }

/* ---------------------------------------------------------------- game cards (as in the app's hub) */
.card { --g: var(--sun); position: relative; display: block; text-decoration: none; }
.card .pic { aspect-ratio: 540 / 326; border-radius: var(--r); overflow: hidden; background: var(--paper); border: var(--ow) solid var(--ink); box-shadow: var(--lip); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .25s; }
.card:hover .pic img { transform: scale(1.04); }
.card .tag { position: absolute; left: 14px; top: calc(100% * 0 + 0px); }
.card .label { position: relative; display: inline-block; margin: -26px 0 0 14px; padding: 3px 16px 6px; border-radius: 14px; background: var(--g); border: var(--ow) solid var(--ink); box-shadow: var(--lip-s); transform: rotate(-3deg); font: 800 21px/1.2 var(--disp); }
.card p { margin: 10px 4px 0; color: var(--mute); font-size: 16px; }
.g-dance { --g: var(--dance); } .g-workout { --g: var(--workout); } .g-fruit { --g: var(--fruit); }
.g-wallpose { --g: var(--wallpose); } .g-runner { --g: var(--runner); } .g-flight { --g: var(--flight); }
@media (max-width: 520px) { .card .label { font-size: 16px; margin: -20px 0 0 8px; padding: 2px 10px 4px; } .card p { font-size: 14px; line-height: 1.45; } }

/* ---------------------------------------------------------------- facts for parents */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fact { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r); background: var(--bg); border: var(--ow) solid var(--ink); }
.fact .ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; border: var(--ow) solid var(--ink); background: var(--g, var(--sun)); }
.fact .ico svg { width: 28px; height: 28px; }
.fact h3 { font-size: 21px; margin-bottom: 4px; }
.fact p { color: var(--mute); font-size: 16px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border-radius: 18px; background: var(--paper); border: var(--ow) solid var(--ink); box-shadow: var(--lip-s); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; font: 800 20px/1.3 var(--disp); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); border: var(--ow) solid var(--ink); font: 800 20px/1 var(--disp); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--mute); }
.more { margin-top: 28px; text-align: center; }

/* ---------------------------------------------------------------- closing call + footer */
.final { position: relative; text-align: center; padding-top: 104px; background: linear-gradient(180deg, #ffe9d6, #ffd9c7); }
.final .stores { justify-content: center; margin-top: 26px; }
.foot { padding: 36px 0 48px; border-top: var(--ow) solid var(--ink); background: var(--paper); font-size: 15px; color: var(--mute); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; color: var(--ink); }
.foot nav a { text-decoration: none; }
.foot .f-games { flex-basis: 100%; padding-bottom: 14px; border-bottom: 2px solid var(--rule); }
.foot .langs { margin-left: auto; }
.foot .langs a { text-decoration: none; margin-left: 12px; }
.foot .langs a[aria-current] { color: var(--ink); font-weight: 800; }
@media (max-width: 720px) { .foot .langs { margin-left: 0; } .foot .langs a { margin: 0 12px 0 0; } }

/* ---------------------------------------------------------------- game page */
.crumbs { padding: 20px 0 0; font-size: 15px; color: var(--mute); }
.crumbs a { text-decoration: none; font-weight: 700; color: var(--ink); }
.ghead { padding: 28px 0 56px; }
.ghead .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.ghead .label { display: inline-block; margin-bottom: 14px; padding: 3px 16px 6px; border-radius: 14px; background: var(--g); border: var(--ow) solid var(--ink); box-shadow: var(--lip-s); transform: rotate(-3deg); font: 800 18px/1.2 var(--disp); }
.ghead .lead { margin: 16px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chips span { padding: 6px 14px; border-radius: 99px; background: var(--paper); border: var(--ow) solid var(--ink); font-weight: 700; font-size: 15px; }
.media { position: relative; border-radius: var(--r); overflow: hidden; border: var(--ow) solid var(--ink); box-shadow: var(--lip); background: var(--ink); aspect-ratio: 16 / 9; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: var(--ow) solid var(--ink); box-shadow: var(--lip-s); }
.media .play svg { width: 34px; height: 34px; margin-left: 5px; }
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.howto li { padding: 20px 22px; border-radius: var(--r); background: var(--bg); border: var(--ow) solid var(--ink); }
.howto b { display: block; font: 800 21px/1.2 var(--disp); margin-bottom: 4px; }
.howto span { color: var(--mute); font-size: 16px; }
.others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 20px; }
.others .label { font-size: 17px; margin-top: -22px; }
@media (max-width: 860px) { .ghead .wrap { grid-template-columns: 1fr; gap: 28px; } .howto { grid-template-columns: 1fr; } .others { grid-template-columns: repeat(2, 1fr); } }

/* ================================================================ chosen style: Refined Toy Pop (2026-11-23)
   The app's Toy Pop look used with restraint (design/site/critique.md): the thick ink outline and solid drop edge stay
   only on the hero screens, the store badge and the video player; every other surface is flat (white cards with a soft
   shadow) on a light lilac base. Type: Nunito Black for headlines (rounded, close to the app), Hanken Grotesk for
   everything else -- picked with Adobe's type tools, both open-licence. The mock-up loads them from Google Fonts; the
   real site hosts the font files itself. These rules sit last and override the base rules above. */
:root { --bg: #faf7ff; --paper: #fff; --ink: #2a1e4f; --mute: #5b5280; --rule: #ece6fa;
  --disp: "Nunito", system-ui, -apple-system, "PingFang TC", "PingFang SC", "Hiragino Sans", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", "PingFang TC", "PingFang SC", "Hiragino Sans", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
  --soft: 0 1px 2px rgba(42, 30, 79, .06), 0 12px 32px rgba(42, 30, 79, .08); }
body { font-size: 18px; }
h1, h2, h3 { font-weight: 900; letter-spacing: -.02em; }
.top { background: rgba(250, 247, 255, .9); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.4) blur(10px); }
.brand img { border: 0; box-shadow: none; border-radius: 10px; }
.lang { border-width: 1.5px; }
section.alt { background: #fff; border-block: 0; }
.hero { border-bottom: 0; background: radial-gradient(40% 60% at 85% 35%, rgba(255, 95, 147, .18), transparent 70%), radial-gradient(35% 50% at 70% 85%, rgba(47, 155, 255, .16), transparent 70%), linear-gradient(180deg, #f1ebff, #faf7ff); }
.hero .lead, .hero .cta-note { color: var(--mute); }
.season { border-bottom: 0; background: #2a1e4f; }
.season img { border: 0; } .season .go { background: var(--sun); border: 0; box-shadow: none; }
.steps li, .fact { border: 0; background: #fff; box-shadow: var(--soft); }
.steps li::before { border: 0; }
.fact .ico { border: 0; }
.faq details { border: 0; box-shadow: var(--soft); }
.faq summary::after { border: 0; }
.btn2 { border-width: 2px; box-shadow: none; }
.thumb { border: 0; box-shadow: var(--soft); }
.arrow { border-width: 1.5px; box-shadow: none; }
.final { background: radial-gradient(50% 80% at 50% 100%, rgba(255, 95, 147, .14), transparent 70%), linear-gradient(180deg, #faf7ff, #f1ebff); }
.foot { border-top: 1px solid var(--rule); }

/* ================================================================ site pages (beyond the home page) */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--flight); outline-offset: 3px; border-radius: 6px; }
/* language menu: a native disclosure, no script */
.lang-menu { position: relative; margin-left: 4px; }
.lang-menu summary { list-style: none; cursor: pointer; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 170px; margin: 0; padding: 8px; list-style: none; border-radius: 16px; background: #fff; box-shadow: var(--soft), 0 0 0 1px var(--rule); }
.lang-menu li a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.lang-menu li a:hover { background: var(--bg); }
.lang-menu li a[aria-current] { font-weight: 800; background: var(--bg); }
@media (max-width: 720px) { .lang-menu { margin-left: auto; } }
.badge { padding: 0; height: auto; border-radius: 12px; background: none; }
.badge img { display: block; width: 150px; height: 50px; }
/* inner pages */
.page-head { padding: 64px 0 24px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); }
.page-head .lead { margin-top: 12px; }
.page h2 { text-align: left; font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 18px; }
.page .center h2, .page section.alt h2 { text-align: center; }
.page section { padding: 48px 0; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.center-row { justify-content: center; margin-top: 18px; }
.facts-table { margin: 0 0 36px; border-radius: 18px; background: #fff; box-shadow: var(--soft); overflow: hidden; }
.facts-table div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
.facts-table div:last-child { border-bottom: 0; }
.facts-table dt { font-weight: 800; }
.facts-table dd { margin: 0; color: var(--mute); }
@media (max-width: 560px) { .facts-table div { grid-template-columns: 1fr; gap: 2px; } }
.prose, .prose-block p, .prose-block li { color: var(--mute); max-width: 68ch; }
.prose { margin-bottom: 14px; }
.prose-block h2 { margin: 34px 0 10px; font-size: 24px; }
.prose-block p { margin-bottom: 12px; }
.prose-block ul { margin: 0 0 12px; padding-left: 22px; }
.note { padding: 12px 16px; border-radius: 12px; background: var(--rule); color: var(--ink) !important; font-size: 15px; }
.contact { font-size: 19px; }
.contact a { font-weight: 800; }
.press-assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 8px; }
.asset { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: var(--soft); text-decoration: none; font-weight: 700; }
.asset img { width: 100%; height: auto; border-radius: 10px; }
.asset:not(.wide) img { max-width: 160px; aspect-ratio: 1; }
.asset.wide img { aspect-ratio: 480 / 221; object-fit: cover; }
.media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ghead .stores { margin-top: 6px; }
.thumb[aria-pressed="true"] { outline: 4px solid var(--g); outline-offset: 2px; }
/* game page: flat cards like the rest of the site (outlines stay only on the screens, the badge and the player) */
.howto li { border: 0; background: #fff; box-shadow: var(--soft); }
.chips span { border: 1.5px solid var(--rule); background: #fff; }
.card .pic { border: 0; box-shadow: var(--soft); }
.media { border-width: 3px; }
.howto { margin-top: 32px; }
.others { margin-top: 36px; }
/* Apple's badge artwork is used as supplied: no outline, shadow or press effect around it */
.badge, .badge:active { border: 0; box-shadow: none; transform: none; }
/* Chinese and Japanese: Nunito / Hanken Grotesk keep the Latin letters and digits, the system's own fonts take the rest */
:root:lang(ja) { --disp: "Nunito", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif; --body: "Hanken Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif; }
:root:lang(zh-Hant) { --disp: "Nunito", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; --body: "Hanken Grotesk", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
:root:lang(zh-Hans) { --disp: "Nunito", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; --body: "Hanken Grotesk", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:root:lang(ja) h1, :root:lang(ja) h2, :root:lang(zh-Hant) h1, :root:lang(zh-Hant) h2, :root:lang(zh-Hans) h1, :root:lang(zh-Hans) h2 { letter-spacing: 0; }
/* the hero headline: each of its three parts on its own line, in every language */
.hero h1 .h1-line { display: table; }
/* game page: sound button under the clip (the clip autoplays muted; one tap turns its sound on) */
.media { position: relative; }
.media-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.media-wrap .media { align-self: stretch; }
.sound { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 99px; background: #fff; color: var(--ink); border: 1.5px solid var(--rule); box-shadow: var(--soft); font: 800 15px/1 var(--body); cursor: pointer; }
.sound svg { width: 22px; height: 22px; flex: none; }
.sound .i-on, .sound[aria-pressed="true"] .i-muted { display: none; }
.sound[aria-pressed="true"] .i-on { display: block; }

/* the game clips are 960 x 444 (wider than 16:9): the box takes their shape, so nothing is cut off at the sides */
.media { aspect-ratio: 960 / 444; }
