/* Made by Egg - one look for both pages: a night sky with aurora and stars,
   glowing eggs, gold and neon. Dark on purpose; it is the game's own look, not
   a theme setting. Every animation stops for prefers-reduced-motion (bottom). */

:root {
  --bg: #0c0720; --bg2: #160c33; --card: rgba(255,255,255,.06); --line: rgba(255,255,255,.12);
  --fg: #f4f1ff; --dim: #b3a9d6; --gold: #ffd23f; --orange: #ff9f1c; --pink: #ff5fb4;
  --teal: #28e0cf; --violet: #8b5cf6; --green: #7dffb0; --ink: #1a0f00;
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--fg); background: var(--bg);
  font: 16px/1.6 Inter, system-ui, sans-serif;
}
a { color: inherit; }
h1, h2, h3 { font-family: Fredoka, Inter, system-ui, sans-serif; line-height: 1.1; margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* -- the sky behind everything: aurora and stars --------------------------- */

body::before, body::after { content: ""; position: fixed; pointer-events: none; z-index: -1; }
body::before {
  inset: -20%;
  background:
    radial-gradient(40% 35% at 20% 30%, rgba(139,92,246,.50), transparent 70%),
    radial-gradient(35% 30% at 82% 18%, rgba(255,95,180,.32), transparent 70%),
    radial-gradient(40% 35% at 62% 82%, rgba(40,224,207,.26), transparent 70%);
  filter: blur(40px);
  animation: aurora 22s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(5%, -4%, 0) rotate(8deg) scale(1.1); }
  100% { transform: translate3d(-5%, 4%, 0) rotate(-7deg) scale(1); }
}
body::after {
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 64% 42%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 38% 76%, #ffe9a8 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 86% 64%, #fff 50%, transparent 52%),
    radial-gradient(1.8px 1.8px at 24% 92%, #c9f7ff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 92% 8%, #fff 50%, transparent 52%);
  background-size: 420px 420px, 530px 530px, 610px 610px, 470px 470px, 690px 690px, 380px 380px;
  opacity: .6;
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: .25; } }

/* -- navigation ----------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .8rem 1.25rem; background: rgba(12,7,32,.66); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.logo { font: 700 1.3rem Fredoka, Inter, sans-serif; text-decoration: none; white-space: nowrap; }
.nav nav { display: flex; gap: 1.2rem; align-items: center; }
.nav nav a { text-decoration: none; color: var(--dim); font-weight: 500; transition: color .15s, text-shadow .15s; }
.nav nav a:hover { color: var(--fg); text-shadow: 0 0 14px rgba(255,210,63,.7); }

/* -- buttons -------------------------------------------------------------- */

.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .4rem;
  padding: .85rem 1.45rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--fg); text-decoration: none; font-weight: 600;
  transition: transform .15s, box-shadow .2s, background .15s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); background: rgba(255,255,255,.12); box-shadow: 0 0 28px rgba(139,92,246,.45); }
.btn.primary {
  border: 0; color: var(--ink); background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 8px 30px rgba(255,190,40,.4);
}
.btn.primary:hover { box-shadow: 0 10px 50px rgba(255,190,40,.7); }
/* A streak of light across the gold. */
.btn.primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%);
  transform: translateX(-120%); animation: sweep 3.2s ease-in-out infinite;
}
@keyframes sweep { 55%, 100% { transform: translateX(120%); } }
.nav .btn { padding: .45rem .95rem; font-size: .92rem; }
.cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* -- hero ----------------------------------------------------------------- */

.hero {
  position: relative; min-height: min(90vh, 54rem); display: grid; place-items: center; text-align: center;
  padding: 5rem 1.25rem 5rem; overflow: hidden;
}
.hero-text { position: relative; z-index: 1; max-width: 50rem; }

/* The golden egg behind the headline, breathing. */
.hero-egg {
  position: absolute; left: 50%; top: 48%; width: clamp(18rem, 40vw, 30rem); aspect-ratio: 3 / 4; translate: -50% -50%;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.95) 0 6%, #ffd700 30%, var(--orange) 66%, #7a3d00 100%);
  opacity: .2; box-shadow: 0 0 140px 50px rgba(255,190,40,.4);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  50% { transform: scale(1.07) rotate(4deg); opacity: .28; box-shadow: 0 0 200px 80px rgba(255,190,40,.55); }
}

.kicker {
  display: inline-block; margin: 0 0 1.2rem; padding: .3rem .95rem; border: 1px solid rgba(40,224,207,.5);
  border-radius: 999px; color: var(--teal); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 0 20px rgba(40,224,207,.25), inset 0 0 12px rgba(40,224,207,.12);
}
.hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); text-shadow: 0 0 60px rgba(139,92,246,.55); }
.shine {
  background: linear-gradient(90deg, var(--gold), var(--pink), var(--teal), var(--gold));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite; filter: drop-shadow(0 0 18px rgba(255,95,180,.45));
}
@keyframes shine { to { background-position: 300% 0; } }
.lead { color: var(--dim); font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin: 1.3rem auto 2.2rem; max-width: 38rem; }
.hint { margin: 1.4rem 0 0; color: var(--dim); font-size: .9rem; }
.hint b { color: var(--gold); }

.sky { position: absolute; inset: 0; pointer-events: none; }
.sky .egg {
  position: absolute; left: var(--x); bottom: -6rem; width: calc(2.2rem * var(--s));
  pointer-events: auto; cursor: pointer;
  animation: rise var(--d) linear var(--w) infinite;
}
.sky .egg:hover { filter: brightness(1.35) saturate(1.3); }
@keyframes rise {
  0%   { transform: translateY(0) rotate(-12deg); opacity: 0; }
  10%  { opacity: .9; }
  90%  { opacity: .9; }
  100% { transform: translateY(calc(-100vh - 14rem)) rotate(14deg); opacity: 0; }
}

/* Popping an egg: sparks, and what it was worth floating up. */
.spark {
  position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 12px var(--c), 0 0 24px var(--c);
  animation: spark .75s ease-out forwards;
}
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.floater {
  position: absolute; translate: -50% -50%; white-space: nowrap;
  font: 700 1.5rem Fredoka, sans-serif; color: var(--c); text-shadow: 0 0 16px var(--c), 0 2px 0 rgba(0,0,0,.4);
  animation: floater 1.1s ease-out forwards;
}
@keyframes floater { to { transform: translateY(-5rem) scale(1.35); opacity: 0; } }
.score {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2; padding: .45rem 1.05rem; border-radius: 999px;
  background: rgba(12,7,32,.75); border: 1px solid rgba(255,210,63,.55); color: var(--gold);
  font: 700 1rem Fredoka, sans-serif; box-shadow: 0 0 26px rgba(255,210,63,.4);
}
.score.bump { animation: bump .35s ease-out; }
@keyframes bump { 40% { transform: scale(1.18); } }

/* Live numbers under the buttons. */
.stats { display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); flex-wrap: wrap; margin-top: 2.6rem; }
.stats div { display: flex; flex-direction: column; align-items: center; }
.stats strong {
  font: 700 clamp(2rem, 4.5vw, 2.8rem) Fredoka, sans-serif; line-height: 1;
  background: linear-gradient(180deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(255,210,63,.45));
}
.stats span { color: var(--dim); font-size: .85rem; margin-top: .35rem; }
.live::before {
  content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .4rem; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green); vertical-align: middle; animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }

.page-hero { position: relative; text-align: center; padding: 4.5rem 1.25rem 1.5rem; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); text-shadow: 0 0 50px rgba(139,92,246,.5); }
.page-hero .lead { margin-bottom: 0; }

/* -- the ticker band ------------------------------------------------------ */

/* The wrap clips what the tilted, over-wide band sticks out, so the page never
   scrolls sideways. */
.ticker-wrap { overflow: hidden; padding: 2rem 0; margin-top: 1.5rem; }
.ticker {
  width: 110%; margin-left: -5%; overflow: hidden; transform: rotate(-2deg);
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--pink), var(--violet), var(--teal));
  box-shadow: 0 12px 48px rgba(255,95,180,.4);
}
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker span {
  padding: .65rem 0; white-space: nowrap; color: var(--ink); letter-spacing: .05em;
  font: 700 clamp(1.1rem, 2.4vw, 1.65rem) Fredoka, sans-serif;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* -- the egg -------------------------------------------------------------- */

.egg {
  display: inline-block; width: 2rem; aspect-ratio: 3 / 4; flex: none;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--c) 46%, color-mix(in srgb, var(--c) 55%, #000) 100%);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 70%, transparent), 0 0 44px color-mix(in srgb, var(--c) 35%, transparent);
}

/* -- sections ------------------------------------------------------------- */

.section { max-width: 72rem; margin: 0 auto; padding: 4.5rem 1.25rem; }
.section > h2, .head h2, .own h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  background: linear-gradient(90deg, #fff, #ffe9a8 45%, #ffb3dc); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { color: var(--dim); font-size: 1.15rem; margin: .6rem 0 2.2rem; max-width: 42rem; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.more { color: var(--gold); font-weight: 600; text-decoration: none; transition: text-shadow .15s; }
.more:hover { text-shadow: 0 0 14px rgba(255,210,63,.8); }

.grid3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.card p { margin: 0; color: var(--dim); }

/* A light that follows the pointer over cards and tiles (--mx/--my from tiles.js). */
.card::after, .tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.15), transparent 60%);
}
.card:hover::after, .tile:hover::after { opacity: 1; }

.steps { list-style: none; padding: 0; margin: 0 0 1rem; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: .9rem;
  border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--pink)); font: 700 1.2rem Fredoka, sans-serif;
  box-shadow: 0 0 26px rgba(255,95,180,.5);
}

.mode .label { font: 700 2.4rem Fredoka, sans-serif; display: block; margin-bottom: .2rem; }
.mode.linden .label { color: var(--green); text-shadow: 0 0 22px rgba(125,255,176,.55); }
.mode.xp .label { color: var(--teal); text-shadow: 0 0 22px rgba(40,224,207,.55); }
.mode.bounce .label { color: var(--pink); text-shadow: 0 0 22px rgba(255,95,180,.55); display: inline-block; animation: hop 1.4s ease-in-out infinite; }
@keyframes hop { 30% { transform: translateY(-.45rem); } 50% { transform: translateY(0); } 62% { transform: translateY(-.15rem); } 75% { transform: none; } }

.ladder-title { margin: 2.6rem 0 1rem; font-size: 1.3rem; }
.ladder { display: flex; flex-wrap: wrap; gap: .6rem; }
.ladder span {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .55rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-weight: 600; text-transform: capitalize;
  transition: transform .15s, border-color .15s;
}
.ladder span:hover { transform: translateY(-3px); border-color: rgba(255,210,63,.5); }
.ladder .egg { width: 1.1rem; }
.ladder span:last-child { border-color: rgba(255,215,0,.6); box-shadow: 0 0 22px rgba(255,215,0,.35); }
.ladder small { color: var(--dim); font-weight: 500; }

/* -- events --------------------------------------------------------------- */

.events { max-width: 72rem; margin: -2.5rem auto 0; padding: 0 1.25rem; position: relative; z-index: 2; }
.events h2 { font-size: 1.4rem; margin-bottom: .9rem; }
.event-list { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.event-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(135deg, rgba(255,210,63,.2), rgba(255,95,180,.16)); border: 1px solid rgba(255,210,63,.5);
  box-shadow: 0 0 34px rgba(255,190,40,.2);
}
.event-item .factor { font: 700 2.3rem Fredoka, sans-serif; color: var(--gold); text-shadow: 0 0 22px rgba(255,210,63,.75); }
.event-item .when { display: block; color: var(--dim); font-size: .9rem; }

/* -- hunt tiles ----------------------------------------------------------- */

.tiles { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); }
.tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tile:hover {
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  border-color: rgba(255,210,63,.6); box-shadow: 0 18px 50px rgba(139,92,246,.45), 0 0 30px rgba(255,210,63,.2);
}

/* A running event: a border of light going round. */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.tile.hot {
  border: 2px solid transparent;
  background: linear-gradient(var(--bg2), var(--bg2)) padding-box,
              conic-gradient(from var(--a), var(--gold), var(--pink), var(--teal), var(--gold)) border-box;
  box-shadow: 0 0 36px rgba(255,95,180,.3);
  animation: round 3s linear infinite;
}
@keyframes round { to { --a: 360deg; } }

.pic {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--c) 42%, transparent), transparent 68%), #120a2a;
}
.pic .egg { width: 4.6rem; animation: bob 3.2s ease-in-out infinite; }
.tile:hover .pic .egg { animation-duration: 1s; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-5deg); } }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover .pic img { transform: scale(1.06); }
.badges { position: absolute; top: .7rem; left: .7rem; right: .7rem; display: flex; gap: .4rem; flex-wrap: wrap; z-index: 1; }
.badge {
  padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: rgba(12,7,32,.78); backdrop-filter: blur(6px); border: 1px solid var(--line);
}
.badge.mode-linden { color: var(--green); }
.badge.mode-xp { color: var(--teal); }
.badge.mode-bounce { color: var(--pink); }
.badge.event { background: linear-gradient(135deg, var(--gold), var(--orange)); color: var(--ink); border: 0; box-shadow: 0 0 16px rgba(255,190,40,.6); }
.badge.star { color: var(--gold); }

.tile .body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.tile h3 { font-size: 1.25rem; }
.where { margin: 0; color: var(--dim); font-size: .92rem; }
.tile .when { margin: .2rem 0 0; color: var(--gold); font-size: .88rem; font-weight: 600; }
.foot { margin-top: auto; padding-top: .8rem; display: flex; justify-content: space-between; gap: .5rem; font-size: .9rem; }
.hunters { color: var(--dim); }
.go { color: var(--gold); font-weight: 600; transition: transform .2s; }
.tile:hover .go { transform: translateX(4px); text-shadow: 0 0 12px rgba(255,210,63,.8); }
.empty { color: var(--dim); font-size: 1.05rem; }

.chips { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin: 0 0 2rem; }
.chip {
  padding: .5rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--fg); font: 600 .95rem Inter, system-ui, sans-serif; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.chip:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(139,92,246,.45); }
.chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--violet), var(--pink)); border-color: transparent; box-shadow: 0 0 24px rgba(255,95,180,.45); }

/* -- products ------------------------------------------------------------- */

.product { transition: transform .2s, border-color .2s, box-shadow .2s; }
.product:hover {
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
  border-color: rgba(40,224,207,.6); box-shadow: 0 16px 44px rgba(40,224,207,.2);
}
.product .icon { font-size: 2.3rem; display: block; margin-bottom: .7rem; transition: transform .25s; }
.product:hover .icon { transform: scale(1.2) rotate(-8deg); }
.tag {
  display: inline-block; margin-top: 1rem; padding: .15rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(40,224,207,.4);
}

/* -- run your own ------------------------------------------------------- */

.own {
  position: relative; overflow: hidden; text-align: center; padding: 3.4rem 1.5rem; border-radius: 28px;
  border: 1px solid rgba(255,210,63,.35);
  background: radial-gradient(600px 300px at 50% 0%, rgba(255,210,63,.28), transparent 70%),
              linear-gradient(135deg, rgba(139,92,246,.42), rgba(255,95,180,.24));
  box-shadow: 0 0 60px rgba(139,92,246,.3);
}
.own p { max-width: 42rem; margin: .9rem auto 1.8rem; font-size: 1.12rem; }

footer { border-top: 1px solid var(--line); padding: 2.2rem 1.25rem; text-align: center; color: var(--dim); font-size: .92rem; }
footer a { color: var(--fg); }

/* -- product pages (products.js) ------------------------------------------ */

a.card { display: block; color: inherit; text-decoration: none; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1rem; }
.card-foot .tag { margin-top: 0; }
.more-link { margin-left: auto; color: var(--gold); font-weight: 600; font-size: .92rem; transition: transform .2s; }
.product:hover .more-link { transform: translateX(4px); text-shadow: 0 0 12px rgba(255,210,63,.8); }

.product-hero { position: relative; max-width: 56rem; margin: 0 auto; padding: 4.5rem 1.25rem 2rem; text-align: center; }
.big-icon {
  display: inline-block; font-size: clamp(4.2rem, 11vw, 7rem); line-height: 1;
  filter: drop-shadow(0 0 32px rgba(255,210,63,.5)); animation: bob 3.2s ease-in-out infinite;
}
.product-hero .kicker { margin: 1.3rem 0 .8rem; }
.product-hero h1 { font-size: clamp(2.7rem, 7.5vw, 5rem); text-shadow: 0 0 60px rgba(139,92,246,.55); }
.tagline { display: inline-block; margin: .7rem 0 0; font: 700 clamp(1.35rem, 3.4vw, 2.1rem) Fredoka, Inter, sans-serif; }
.product-hero .lead { margin: 1.1rem auto 2rem; }
.hero-pic {
  display: block; width: min(100%, 40rem); margin: 2.8rem auto 0; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(139,92,246,.45);
}
.feature .icon { display: block; margin-bottom: .6rem; font-size: 2.1rem; }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.facts li { position: relative; padding: .95rem 1.2rem .95rem 3rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.facts li::before { content: "🥚"; position: absolute; left: 1.05rem; top: .95rem; }

.faq details {
  margin-bottom: .7rem; padding: 1rem 1.25rem; border-radius: 14px; background: var(--card);
  border: 1px solid var(--line); transition: border-color .2s;
}
.faq details[open] { border-color: rgba(255,210,63,.45); box-shadow: 0 0 24px rgba(255,210,63,.12); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font: 700 1.35rem Fredoka, sans-serif; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; color: var(--dim); }

.loading { grid-column: 1 / -1; text-align: center; color: var(--dim); padding: 7rem 1.25rem; font-size: 1.1rem; }

/* -- sliding in on scroll (tiles.js adds and removes the classes) --------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease-out, transform .7s ease-out; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .nav nav a:not(.btn) { display: none; }
  .score { top: auto; bottom: 1.2rem; right: 50%; translate: 50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sky { display: none; }
  .reveal { opacity: 1; transform: none; }
}
