/* Shared look for the plain pages outside the game: terms, privacy policy and music credits. */
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url(/fonts/baloo-2-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url(/fonts/nunito-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url(/fonts/nunito-latin-800-normal.woff2) format('woff2'); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 600 16px/1.8 'Nunito', system-ui, -apple-system, sans-serif; color: #22382a; background: linear-gradient(#ddf1d0, #ffffff 320px) no-repeat, #fff; }
.legal { max-width: 800px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 16px) max(24px, calc(env(safe-area-inset-right) + 12px)) calc(env(safe-area-inset-bottom) + 64px) max(24px, calc(env(safe-area-inset-left) + 12px)); }
/* On phones, no centring: the text starts just clear of the camera, the same on every phone. */
@media (max-width: 1000px) { .legal { max-width: none; } }
.back { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid #d3e8c8; border-radius: 50%; background: #fff; color: #2f8a3c; transition: transform .1s; }
.back:active { transform: scale(.96); }
.back svg { width: 22px; height: 22px; }
.logo { display: block; width: 260px; max-width: 70%; margin: 18px 0; }
h1, h2 { font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 800; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 10px; }
p, li { font-size: 15px; line-height: 1.9; color: #526a59; }
.date { font-size: 12px; }
.more { margin-top: 28px; }
a { color: #2f8a3c; font-weight: 800; text-decoration: none; }
.credits { list-style: none; padding: 0; margin: 24px 0 0; }
.credits li { margin: 0 0 14px; padding: 14px 18px; border: 2px solid #d3e8c8; border-radius: 18px; background: #fff; line-height: 1.7; }
.credits strong { color: #22382a; }
