:root { color-scheme: light; --paper: #f3f0e9; --surface: #fffdf8; --ink: #232a33; --muted: #5c6772; --green: #2f6f62; --line: #ddd7ca; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html[lang="ja"] [data-en], html:not([lang="ja"]) [data-ja] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Avenir Next', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.masthead { max-width: 920px; padding: 28px 32px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand strong { display: block; font-size: 17px; letter-spacing: -.4px; }
.brand span { display: block; font-size: 11px; color: var(--muted); }
.languages { display: flex; align-items: center; font-size: 12px; gap: 3px; color: var(--line); }
.languages button { border: 0; background: none; padding: 10px 5px; color: var(--muted); font: inherit; cursor: pointer; min-height: 44px; }
.languages button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
main { max-width: 760px; padding: 34px 24px 24px; margin: auto; text-align: center; }
.game-mark { width: 160px; height: 120px; margin: 0 auto 18px; display: grid; grid-template: 100% / 100%; place-items: center; }
.game-mark img { width: 100%; height: 100%; object-fit: contain; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 600; letter-spacing: .04em; margin: 0 0 15px; }
h1 { margin: 0 auto 19px; font-size: clamp(28px, 4.8vw, 44px); font-weight: 750; line-height: 1.3; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; }
.lede { font-size: 16px; color: var(--muted); line-height: 1.9; margin: 0 0 23px; white-space: pre-line; }
.facts { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; gap: 9px 18px; padding: 0; margin: 0 0 30px; font-size: 12px; font-weight: 600; }
.facts li::before { content: '✓'; margin-right: 5px; color: var(--green); }
.download { max-width: 540px; margin: auto; padding: 22px 20px 19px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.download-title { font-size: 15px; font-weight: 650; margin: 0 0 11px; }
.store-links { display: flex; justify-content: center; gap: 14px; align-items: center; flex-wrap: wrap; }
.store-link { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; }
.store-link img { display: block; max-width: 100%; object-fit: contain; }
.purchase-note { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 9px 0 0; }
.other-store { font-size: 11px; color: var(--muted); margin-top: 11px; }
.other-store summary { cursor: pointer; padding: 5px; }
.open-app { margin: 24px 0 0; }
.open-app p { color: var(--muted); font-size: 12px; margin: 0 0 6px; }
.open-app a { display: inline-block; font-size: 14px; padding: 10px; font-weight: 600; }
.open-app .open-help { font-size: 11px; margin: 6px auto 0; max-width: 350px; line-height: 1.7; }
.phone-qr { display: flex; align-items: center; justify-content: center; gap: 21px; margin: 27px auto 0; text-align: left; }
.phone-qr img { background: white; border: 1px solid var(--line); border-radius: 9px; }
.phone-qr strong { font-size: 14px; }
.phone-qr p { font-size: 12px; line-height: 1.8; color: var(--muted); white-space: pre-line; margin: 6px 0 0; }
.availability { max-width: 460px; margin: 0 auto 18px; font-size: 14px; line-height: 1.8; color: var(--muted); }
/* A game the iPhone/iPad app leaves out. On iOS, share.js adds .primary and hides the stores. */
.platform-note { max-width: 460px; margin: 0 auto 20px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.platform-note p { margin: 0; }
.platform-note .play-browser a { display: inline-block; padding: 10px; font-weight: 600; }
.platform-note.primary .play-browser { margin-top: 14px; }
.platform-note.primary .play-browser a { padding: 13px 30px; border-radius: 999px; background: var(--green); color: var(--surface); text-decoration: none; }
footer { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; max-width: 856px; padding: 25px 0; border-top: 1px solid var(--line); margin: 22px auto 0; font-size: 11px; color: var(--muted); }
footer nav { display: flex; gap: 18px; }
footer a { color: inherit; }
@media (max-width: 600px) {
  .masthead { padding: 14px 20px; }
  .brand strong { font-size: 15px; }
  .brand img { width: 29px; height: 29px; }
  main { padding: 20px 20px; }
  .game-mark { width: 128px; height: 96px; margin-bottom: 16px; }
  .eyebrow { font-size: 11px; margin-bottom: 13px; }
  h1 { font-size: clamp(27px, 7.5vw, 36px); }
  .lede { font-size: 14px; margin-bottom: 19px; }
  .facts { gap: 8px 12px; font-size: 11px; margin-bottom: 23px; }
  .download { padding: 17px 12px 15px; }
  .download-title { font-size: 14px; }
  .phone-qr { gap: 12px; }
  .phone-qr img { width: 112px; height: 112px; }
  footer { margin: 20px; padding: 20px 0; justify-content: center; text-align: center; }
}
