/* PensiveFrog: the game's night sky and cream ink (scripts/ink.gd, export/package_web.py). */
@font-face {
  font-family: "Kalam";
  src: url("/fonts/kalam.woff2") format("woff2");
  font-display: swap;
}

:root {
  --night: #0c1020;
  --deep: #18234a;
  --cream: #f5ecc4;
  --cream-soft: rgba(245, 236, 196, 0.78);
  --cream-faint: rgba(245, 236, 196, 0.18);
  --gold: #f2c94c;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--night); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, var(--deep) 0%, var(--night) 70%) no-repeat, var(--night);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

header.site { padding: 24px 0 8px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
header.site .home img { display: block; width: 200px; height: auto; }

main { padding: 16px 0 48px; }

h1, h2, h3 { font-family: "Kalam", cursive; font-weight: 400; line-height: 1.2; }
h1 { font-size: 40px; margin: 24px 0 8px; }
h2 { font-size: 28px; margin: 40px 0 8px; }
h3 { font-size: 21px; margin: 28px 0 4px; }

p, li { color: var(--cream-soft); }
strong { color: var(--cream); font-weight: 600; }
a { color: var(--gold); text-underline-offset: 3px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }

.lede { font-size: 19px; }
.muted { font-size: 15px; color: rgba(245, 236, 196, 0.6); }

.game { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; margin: 32px 0 8px; }
.game .icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45); flex: none; }
.game .about { flex: 1 1 300px; }
.game .logo { display: block; width: min(100%, 360px); height: auto; margin: 0 0 4px -6px; }


footer.site { border-top: 1px solid var(--cream-faint); padding: 20px 0 36px; font-size: 14px; color: rgba(245, 236, 196, 0.55); }
footer.site a { color: inherit; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 34px; }
  header.site .home img { width: 160px; }
  .game .icon { width: 96px; height: 96px; border-radius: 22px; }
}
