@font-face { font-family: Outfit; src: url('/social/outfit500.woff2') format('woff2'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: Outfit; src: url('/social/outfit600.woff2') format('woff2'); font-weight: 600 800; font-display: swap; }
@font-face { font-family: Japan; src: url('/social/japan-heading.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: JapanBody; src: url('/social/japan-body.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Sprite; src: url('/social/sprite.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Kanji; src: url('/social/kanji.woff2') format('woff2'); font-display: block; }
:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #faf7ef;
  background: #10171b;
  --line: #38464a;
  --muted: #c1cece;
  --mint: #8ce6d5;
  --gold: #f4c97a;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: var(--mint); text-underline-offset: .2em; }
a:hover { color: white; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -8rem; z-index: 1; background: white; color: black; padding: .8rem; }
.skip:focus { top: .5rem; }
header, footer { border-block-end: 1px solid var(--line); }
header .wrap, header nav, footer nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.35rem; }
header .wrap { position: relative; min-height: 4.75rem; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 3.2rem; height: 3.2rem; border-radius: .7rem; box-shadow: 0 0 0 2px #8a5a1f; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .5)); }
/* Main navigation: a picture for each destination, its name lettered above in the logo's face. */
header .nav-icons { display: flex; flex: none; flex-wrap: nowrap; align-items: center; gap: 1.4rem; margin-left: auto; }
.nav-icon { position: relative; display: grid; place-items: center; min-width: 3.4rem; height: 4.7rem; text-decoration: none;
  transition: transform 180ms cubic-bezier(.2,0,0,1); }
.nav-icon img { position: relative; z-index: 0; display: block; width: auto; height: 3.7rem; filter: drop-shadow(0 .3rem .4rem rgb(0 0 0 / .45)); }
.nav-icon:hover { transform: translateY(-2px); text-decoration: none; }
.nav-icon:active { transform: translateY(1px); }
.nav-play { position: absolute; top: 50%; left: 50%; z-index: 2; translate: -50% -50%; line-height: 0;
  transition: opacity .35s cubic-bezier(.2,0,0,1), transform .35s cubic-bezier(.2,0,0,1), visibility .35s; }
.nav-play img { display: block; width: auto; height: 3.7rem; filter: drop-shadow(0 .25rem .45rem rgb(0 0 0 / .5)); }
.nav-play:hover { transform: scale(1.04); filter: brightness(1.08); }
.nav-play:active { transform: scale(.97); }
.js .portal .topbar:not(.scrolled) .nav-play { opacity: 0; visibility: hidden; transform: translateY(-.6rem); }
@media (max-width: 30rem) { .nav-play img { height: 3rem; } .portal .nav-play { left: var(--gutter, 1rem); translate: 0 -50%; }
  .js .portal .topbar.scrolled .brand { opacity: 0; visibility: hidden; } }
/* Kept in the HTML for search engines and screen readers, not drawn. */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
header a, footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
header a { color: inherit; }
header nav a:hover, footer nav a:hover { text-decoration: underline; }
.crumbs { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; margin-top: 1.75rem; color: var(--muted); font-size: .875rem; }
.crumbs a { color: inherit; }
.hero { padding-block: clamp(1.8rem, 5vw, 3.9rem); border-bottom: 1px solid var(--line); }
.with-art { display: grid; grid-template-columns: minmax(0,1fr) minmax(14rem,19rem); gap: 2.6rem; align-items: center; }
.board { width: 100%; height: auto; display: block; border-radius: 10px; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { max-width: 22ch; margin: 0; font: 600 clamp(2.5rem,6vw,4.6rem)/1.04 Georgia,serif; letter-spacing: -.035em; }
h2 { font: 600 clamp(1.55rem,3vw,2.15rem)/1.18 Georgia,serif; margin: 0 0 1rem; }
.intro { color: #dbe4e1; max-width: 60ch; font-size: clamp(1.1rem,2vw,1.32rem); margin: 1.15rem 0; }
.actions { margin-top: 1.6rem; gap: 1rem 1.2rem; }
.body { padding-block: 2rem 4rem; }
.reading { max-width: 47rem; }
.reading section, .directory section, .media-section { padding-block: 1.65rem; }
.reading p, .reading li, .reading dd { font-size: 1.08rem; color: #d3dddb; overflow-wrap: break-word; }
.reading li + li { margin-top: .55rem; }
.reading ul, .reading ol { padding-inline-start: 1.45rem; }
p:last-child { margin-block-end: 0; }
code { overflow-wrap: anywhere; }
.directory ul { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 18rem),1fr)); column-gap: 2rem; }
.directory li { border-block-start: 1px solid var(--line); padding: .8rem 0 1rem; }
.directory a { display: inline-block; font-weight: 680; padding: .3rem 0; }
.directory p, figcaption, footer p { color: var(--muted); font-size: .94rem; }
.directory p { margin: .15rem 0; }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; max-width: 47rem; }
figure { margin: 0; }
figure img { width: 100%; height: auto; display: block; border-radius: .45rem; }
figcaption { padding-block: .65rem; }
/* Footer: the wordmark, one line about the game, four links. */
.site-footer { border-block-start: 1px solid var(--line); padding-block: 2.4rem 2.8rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2.4rem; }
.footer-logo img { display: block; width: auto; height: 2.8rem; }
.site-footer p { margin: 0; max-width: 34rem; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { color: #fff; }
.site-footer .copyright { grid-column: 1 / -1; max-width: none; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .85rem; opacity: .75; }

/* Buttons: bronze tablets in the style of the game's referral box. Yellowish-brown face, a dark
   brown rim, a fine inner line, lettered in the trailer's Japan Day face. */
.btn {
  --face: linear-gradient(180deg, #d6a05d 0%, #b97c37 46%, #9c6128 100%); --rim: #4a2a10; --ink: #fff4de; --inner: rgb(255 226 180 / .32); --lip: #2e1907; --lb: 3px; --y: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.5rem; padding: .15rem 1.9rem 0 1.6rem; border: 2px solid var(--rim); border-radius: .55rem;
  font: 700 1.75rem/1 JapanBody, Outfit, system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--ink) !important; text-shadow: 0 1px 0 rgb(60 32 10 / .85), 0 0 1px rgb(60 32 10 / .6); cursor: pointer;
  background: var(--face);
  box-shadow: inset 0 1px 0 rgb(255 232 196 / .6), inset 0 -2px 0 rgb(74 42 16 / .3), 0 var(--lb) 0 var(--lip), 0 .8rem 1.5rem rgb(3 6 16 / .45);
  transform: translateY(var(--y));
  transition: transform 140ms cubic-bezier(.2,0,0,1), box-shadow 140ms cubic-bezier(.2,0,0,1), filter 200ms;
  -webkit-tap-highlight-color: transparent;
}
.btn::after { content: ''; position: absolute; inset: 3px; border: 1px solid var(--inner); border-radius: .35rem; pointer-events: none; }
.btn:hover { --y: -1px; filter: brightness(1.08); }
.btn:active { --y: 2px; --lb: 1px; filter: brightness(.96); transition-duration: 70ms; }
.btn:focus-visible { outline: 3px solid #f3d38b; outline-offset: 4px; }
.btn svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: -.15rem; fill: currentColor; filter: drop-shadow(0 1px 0 rgb(60 32 10 / .85)); }
/* The quieter partner: dark brown with a bronze rim, like the referral link field. */
.btn.dark { --face: linear-gradient(180deg, #4d2f18 0%, #3b2414 100%); --rim: #c58b45; --ink: #ffdc93; --inner: rgb(197 139 69 / .35); --lip: #1c1007; }
/* The light partner, the bronze button with face and lettering swapped: parchment face, bronze letters. */
.btn.light { --face: linear-gradient(180deg, #fff6e2 0%, #f3e0b8 55%, #e4c48c 100%); --rim: #7a4818; --ink: #8a4f1c; --inner: rgb(185 124 55 / .45); --lip: #4a2a10;
  text-shadow: 0 1px 0 rgb(255 250 238 / .9); }
.btn.light svg { filter: none; }
.btn-sm { --lb: 2px; min-height: 2.65rem; padding: .1rem 1.25rem 0 1.05rem; gap: .45rem; font-size: 1.42rem; border-radius: .45rem; }
.btn-sm::after { inset: 2px; border-radius: .3rem; }
.btn-sm svg { width: 1rem; height: 1rem; }
.btn-sm:active { --y: 1px; }
/* The official Google Play badge, unchanged, sized to sit level with the buttons. */
.store-badge { display: inline-block; line-height: 0; border-radius: .7rem; transition: transform 140ms cubic-bezier(.2,0,0,1), filter 200ms; }
.store-badge img { display: block; width: auto; height: 3.6rem; }
.store-badge:hover { transform: translateY(-1px); filter: brightness(1.18); }
.store-badge:focus-visible { outline: 3px solid #f3d38b; outline-offset: 4px; }
/* Play in browser: the game's own PLAY NOW sign. */
.web-badge { display: inline-block; line-height: 0; transition: transform 140ms cubic-bezier(.2,0,0,1), filter 200ms; }
.web-badge img { display: block; width: auto; height: 6.4rem; margin: -1.4rem -.5rem -1.4rem -.7rem; filter: drop-shadow(0 .35rem .6rem rgb(0 0 0 / .5)); }
.web-badge:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.08); }
.web-badge:active { transform: translateY(1px) scale(.98); }
.web-badge:focus-visible { outline: 3px solid #f3d38b; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active, .store-badge, .web-badge { transition: none; --y: 0px; } .store-badge:hover, .web-badge:hover { transform: none; } }
@media (max-width: 43rem) {
  .footer-inner { grid-template-columns: 1fr; }
  header .wrap { padding-block: .6rem; gap: 0 .6rem; }
  header nav { gap: .1rem 1rem; }
  .with-art { grid-template-columns: 1fr; gap: 1.6rem; }
  .board { max-width: 16rem; }
  .gallery { grid-template-columns: repeat(auto-fit,minmax(min(100%, 9rem),1fr)); }
}
