@font-face{font-family:'Archivo';src:url(/fonts/archivo-latin-wght-normal.woff2) format('woff2');font-weight:100 900;font-style:normal;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:'Plus Jakarta Sans';src:url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2');font-weight:200 800;font-style:normal;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{--paper:#ffffff;--ink:#16181d;--body:#2d3139;--muted:#5b616d;--line:#e3e5ea;--accent:#3399cc;--accent-text:#336699;--pale:#eef6fb;--sans:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;--display:'Archivo',var(--sans)}
/* Happy Devil Studios. Tokens (colours, fonts) are prepended by tools/build.py from site.json.
   One light page style: the games' own art carries the colour. No script, no animation. */
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased }
img, svg, iframe { display: block; max-width: 100% }
img { height: auto }
h1, h2, h3, p, dl, dd, figure { margin: 0 }
h1, h2 { color: var(--ink); font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -.03em }
h1 { font-size: clamp(40px, 6vw, 76px) }
h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em }
h1, h2 { text-wrap: balance }
p, dd { text-wrap: pretty }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: .2em }
a:hover { color: var(--ink) }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px }
::selection { background: var(--pale); color: var(--ink) }
.skip { position: absolute; left: 16px; top: -80px; z-index: 9; padding: 10px 16px; background: var(--ink); color: var(--paper) }
.skip:focus { top: 12px }
.wrap { width: min(1160px, 100% - 2 * clamp(20px, 5vw, 56px)); margin-inline: auto }

.header { border-bottom: 1px solid var(--line) }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; min-height: 80px; padding-block: 14px }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none }
.brand img { width: 34px; height: 41px }
.brand svg { width: auto; height: 40px }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600 }
.nav a { padding-block: 6px; border-bottom: 2px solid transparent; color: var(--ink); text-decoration: none }
.nav a:hover, .nav a[aria-current=page] { border-color: var(--accent) }

.intro { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px) }
.mascot { width: clamp(88px, 17vw, 210px) }
.lede { max-width: 34em; margin-top: 18px; color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5 }

.games { display: grid; gap: clamp(56px, 7vw, 96px); padding-bottom: clamp(72px, 9vw, 128px) }
.page .games { margin-top: clamp(32px, 4vw, 48px); padding-bottom: 0 }
.game { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px) }
.game h2 a { color: inherit; text-decoration: none }
.game h2 a:hover { color: var(--accent-text) }
.game-text > p:not(.status):not(.actions) { margin-top: 14px }
.art { display: block; overflow: hidden; border-radius: 6px; background: var(--pale) }
.art img { width: 100% }
.phones, .shots { display: flex; justify-content: center; gap: 4%; padding: 7% 6%; background: var(--pale); border-radius: 6px }
.phones img { width: 28% }
.phones img, .shots img { border-radius: 10% / 5.6%; box-shadow: 0 1px 2px rgb(22 24 29 / .14), 0 10px 28px rgb(22 24 29 / .14) }
.status { color: var(--muted); font-size: 14px; font-weight: 600 }
.game .status { margin-bottom: 10px }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 26px }
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 700; text-decoration: none }
.button:hover { background: var(--accent-text); color: var(--paper) }
.store { display: block; border-radius: 8px }

.page { padding-block: clamp(40px, 6vw, 72px) clamp(72px, 9vw, 120px) }
.page > .status { margin-bottom: 12px }
.page > h1 + p { margin-top: 20px }
.page > .art, .page > .shots { margin-top: clamp(28px, 4vw, 44px) }
.shots { gap: clamp(12px, 3vw, 40px); padding: clamp(24px, 4vw, 56px) }
.shots figure { flex: 0 1 250px }
.shots figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; text-align: center }
.cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 32px 64px; margin-top: clamp(32px, 4vw, 48px) }
.cols .lede { margin-top: 0; color: var(--body) }
.cols .actions { margin-top: 28px }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0 28px; font-size: 15px }
.facts dt, .facts dd { padding-block: 11px; border-top: 1px solid var(--line) }
.facts dt { color: var(--muted); font-weight: 600 }
.facts a { overflow-wrap: anywhere }
.narrow { max-width: 720px }
.narrow h1 { margin-bottom: 24px }
.narrow h2 { margin: 8px 0 4px }
.narrow > p:not(.status):not(.actions), .about p { margin-top: 16px }
.about { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: start }
.about .mascot { width: clamp(110px, 20vw, 250px) }
.embed { width: 100%; height: 300px; margin-top: 28px; border: 0; border-radius: 6px; background: var(--pale) }
.legal { max-width: 720px }
.legal h1 { margin-bottom: 24px; font-size: clamp(34px, 5vw, 56px) }
.legal p + p, .legal h1 + p { margin-top: 16px }

.footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 14px }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 24px }
.footer a { color: var(--muted) }
.footer a:hover { color: var(--ink) }
.fine { flex-basis: 100%; font-size: 12px }

@media (max-width: 880px) {
  .game, .cols { grid-template-columns: 1fr }
  .nav { gap: 22px }
}
@media (max-width: 560px) {
  body { font-size: 16px }
  .header-inner { min-height: 0 }
  .brand svg { height: 34px }
  .nav { width: 100%; justify-content: space-between }
  .about { grid-template-columns: 1fr }
  .about .mascot { order: -1; width: 120px }
  .facts { grid-template-columns: 1fr }
  .facts dd { padding-top: 0; border-top: 0 }
}
