/* The Unruly — shared tokens for games and interactive apps.
   Palette matches the hub: brand greens, purple, warm gold, cream paper.
   Fun tints and shades for kids, without leaving the brand.
   No golf-ball backgrounds. Self-hosted OFL fonts. */

:root {
  --ink: #27211E;
  --ink-soft: #3D4A41;
  --ink-faint: #5C6B60;
  --parchment: #F3F5F2;
  --parchment-deep: #E6EDE4;
  --paper: #F7F7F7;
  --cream: #FFFFFF;
  --rule: #D3DCD0;
  --rule-strong: #B7C4B4;
  --gold: #D0AC68;
  --gold-bright: #DCBE7A;
  --gold-soft: #F0E4C4;
  --gold-deep: #8A6E38;
  --brand: #388C37;
  --brand-bright: #20850F;
  --brand-deep: #255D25;
  --brand-dark: #132F12;
  --brand-light: #ADD9AD;
  --brand-wash: #EFFAE5;
  --purple: #8922AA;
  --purple-mid: #B06BC4;
  --purple-light: #D4A8E0;
  --purple-soft: #EDD4F4;
  --purple-wash: #F6EAF9;
  --purple-deep: #502161;
  --purple-dark: #281130;
  --danger: #9A3A3A;
  --danger-soft: #F5D6D6;
  --danger-mid: #E8A0A0;
  --success: #20850F;
  --success-soft: #E5F8EA;
  --olive-soft: #4B916D;

  --game-bg:
    radial-gradient(900px 480px at 8% -10%, rgba(137, 34, 170, 0.16), transparent 55%),
    radial-gradient(800px 520px at 110% -8%, rgba(56, 140, 55, 0.16), transparent 50%),
    linear-gradient(165deg, #F6EAF9 0%, #F3F5F2 42%, #EFFAE5 78%, #F0E4C4 100%);
  --game-shadow: 0 6px 0 rgba(19, 47, 18, 0.16), 0 12px 28px -16px rgba(80, 33, 97, 0.28);
  --game-confetti-1: #8922AA;
  --game-confetti-2: #388C37;
  --game-confetti-3: #D0AC68;
  --game-confetti-4: #B06BC4;
  --game-confetti-5: #ADD9AD;
  --game-confetti-6: #F0E4C4;
  --game-confetti-7: #FFFFFF;
}

@font-face {
  font-family: "Lucky";
  src: url("../fonts/luckiest-guy.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans_5.2.5_latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans_5.2.5_latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans_5.2.5_latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("../fonts/archivo_5.2.5_latin-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

.scout-cheer,
.scout-wave {
  display: block;
  width: min(148px, 42vw);
  height: auto;
  margin: 0 auto 0.35rem;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .scout-cheer {
    animation: scout-bob 2.4s ease-in-out infinite;
  }
}
@keyframes scout-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}
