/* Theme tokens for Penny's Egg Pen. */
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url("../fonts/baloo-2-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url("../fonts/baloo-2-latin-800-normal.woff2") format("woff2"); }

:root {
  --c-lime: #b5cd21;
  --c-moss: #689662;
  --c-moss-ink: #40650f;
  --c-sky: #bedcf6;
  --c-sky-light: #e8f4fc;
  --c-blue: #37a7e9;
  --c-navy: #0e3c67;
  --c-ink: #121212;
  --c-text: #595959;
  --c-white: #ffffff;
  --c-red: #d9443b;
  --c-cream: #fff8e6;
  --c-gold: #f5b82e;
  --r-lg: 8px;
  --r-md: 5px;
  --r-sm: 3px;
  --r-xl: 18px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 10px;
  --space-4: 20px;
  --space-5: 32px;
  --content: 960px;
  --font: Montserrat, Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-display: "Baloo 2", Montserrat, "Trebuchet MS", Arial, sans-serif;
  --shadow: 0 4px 0 rgba(14, 60, 103, 0.18), 0 10px 24px rgba(14, 60, 103, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-sky);
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--c-navy); line-height: 1.15; margin: 0 0 var(--space-2); font-weight: 800; }
.btn, .btn-play, .choice, .tbtn, .q-text, .chip b { font-family: var(--font-display); }
a { color: var(--c-navy); }
button { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 2px; }

/* ---- small shared pieces ---- */
.brand-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--c-white); display: grid; place-items: center; box-shadow: inset 0 -4px 0 rgba(0,0,0,.08); }
.brand-mark i { display: block; width: 20px; height: 26px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: var(--c-gold); box-shadow: inset -3px -3px 0 rgba(0,0,0,.08); }
@media (min-width: 480px) and (max-width: 900px) {
  .game-footer { flex-direction: column; align-items: center; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-4); border: 0; border-radius: var(--r-lg); background: var(--c-blue); color: var(--c-white); font-size: 20px; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 #1f7fb8; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #1f7fb8; }
.btn.green { background: var(--c-moss); box-shadow: 0 4px 0 var(--c-moss-ink); }
.btn.ghost { background: var(--c-white); color: var(--c-navy); box-shadow: 0 4px 0 #c6d9ea; border: 2px solid #c6d9ea; }
.muted { color: var(--c-text); }
.small { font-size: 15px; }
.tag { display: inline-block; padding: 0 var(--space-3); border-radius: 999px; color: var(--c-white); font-weight: 800; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
