:root {
  --paper: #fbf8ef;
  --ink: #1a1530;
  --muted: #5f5b78;
  --line: #e3dfd0;
  --night: #15112b;
  --yellow: #ffd93d;
  --pink: #ff4fa3;
  --violet: #6c3df4;
  --blue: #2fb8ff;
  --orange: #ff8a1f;
  --green: #2fd27b;
  --red: #ff5d73;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.top :focus-visible, .ticker :focus-visible, .footer :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }

.wrap { max-width: 1180px; margin: auto; padding: 0 36px; }
.skip { position: absolute; top: -80px; left: 20px; background: #fff; color: var(--ink); padding: 12px; z-index: 30; }
.skip:focus { top: 10px; }
.eyebrow { font-size: 11px; letter-spacing: 2px; font-weight: 800; text-transform: uppercase; }
h1, h2 { margin: 0; font-weight: 900; }
h2 { font-size: 40px; line-height: 1.08; letter-spacing: -1.6px; margin-top: 10px; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--ink); border-radius: 999px; padding: 12px 20px;
  background: transparent; color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 800;
  transition: transform .18s, box-shadow .18s;
}
.pill:hover { transform: translateY(-2px); box-shadow: 3px 4px 0 var(--ink); }
.pill.dark { background: var(--ink); color: #fff; }
.pill.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.pill.pink { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.top .pill { border-color: #ffffff80; color: #fff; }
.top .pill.yellow, .top .pill.pink { color: var(--ink); }
.top .pill:hover { box-shadow: 3px 4px 0 var(--violet); }
.top .pill.pink:hover { box-shadow: 3px 4px 0 #fff; }

/* Top / hero */
.top {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 420px at 88% 8%, #6c3df470, transparent 70%),
    radial-gradient(560px 380px at 0 100%, #ff4fa33d, transparent 70%),
    var(--night);
}
.spark { position: absolute; z-index: 0; font-size: 26px; opacity: .75; pointer-events: none; animation: float 6s ease-in-out infinite; }
.s1 { top: 28px; left: 38%; color: var(--yellow); }
.s2 { bottom: 28px; left: 46%; animation-delay: -2s; }
.s3 { bottom: 34px; right: 4%; color: var(--pink); animation-delay: -4s; }
.s4 { bottom: 40px; left: 4%; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-10px) rotate(8deg); } }

.nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; letter-spacing: -1px; text-decoration: none; color: #fff; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--yellow); }
.brand-mark svg { width: 34px; height: 34px; }
.brand-dot { color: var(--pink); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.nav-links a:not(.pill) { text-decoration: none; opacity: .88; }
.nav-links a:not(.pill):hover { opacity: 1; text-decoration: underline; }
.nav-links .pill { padding: 10px 18px; }

.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 28px 0 88px; }
.kicker { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: #ffffff1a; font-size: 12px; font-weight: 800; letter-spacing: .4px; }
.hero h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.03; letter-spacing: -3px; margin: 20px 0 16px; }
.hero h1 em {
  display: inline-block; padding: 0 .04em .1em; font-style: normal; white-space: nowrap;
  background: linear-gradient(90deg, var(--yellow), var(--orange) 50%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro { max-width: 460px; margin: 0 0 26px; font-size: 17px; color: #cfc9ee; }
.chips-label { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #a9a2d4; }
.chips-label.dark { color: var(--ink); }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat {
  flex: none; border: 1.5px solid #ffffff44; border-radius: 999px; padding: 9px 16px;
  background: transparent; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: background .2s, color .2s, transform .15s;
}
.cat:hover { transform: translateY(-1px); border-color: #ffffff99; }
.cat[aria-pressed=true] { background: var(--c, #fff); border-color: var(--c, #fff); color: var(--ink); }
.cats.on-light .cat { border-color: var(--ink); color: var(--ink); }
.cats.on-light .cat:hover { border-color: var(--ink); background: #ffffff80; }
.cats.on-light .cat[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Shared card pieces */
.stage { --bear: 96px; position: relative; padding-top: calc(var(--bear) * 1.08 - 12px); }
.peek { position: absolute; top: 0; right: 44px; z-index: 3; width: var(--bear); height: auto; pointer-events: none; }
.fact-card {
  --c: #ffd23f; position: relative; display: flex; flex-direction: column; min-height: 370px;
  padding: 28px 32px; border-radius: 26px; background: var(--c); color: var(--ink);
  overflow: hidden; touch-action: pan-y; box-shadow: 10px 12px 0 #00000059; transition: background .3s;
}
.fact-card:after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; background: #ffffff40; pointer-events: none; }
.fact-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: 11px; font-weight: 850; letter-spacing: 1.5px; text-transform: uppercase; }
.fact-cat { background: #ffffff8c; padding: 6px 11px; border-radius: 9px; }
.fact-count { flex: none; padding-top: 6px; white-space: nowrap; }
.fact-emoji { position: relative; z-index: 1; margin: 24px 0 12px; font-size: 84px; line-height: 1; }
.fact-text { position: relative; z-index: 1; margin: 0; max-width: 26em; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -.8px; }
.fact-card.in-next, .quiz-card.in-next { animation: slide-next .3s ease; }
.fact-card.in-prev { animation: slide-prev .3s ease; }
@keyframes slide-next { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes slide-prev { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }

.controls { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.ctl {
  border: 1.5px solid #ffffff59; border-radius: 999px; padding: 12px 18px;
  background: transparent; color: #fff; font-size: 14px; font-weight: 750;
  transition: background .2s, transform .18s, box-shadow .18s;
}
.ctl:hover { background: #ffffff24; }
.ctl.next { flex: none; background: #fff; border-color: #fff; color: var(--night); }
.ctl.next:hover { transform: translateY(-2px); box-shadow: 3px 4px 0 var(--pink); }
.bar { flex: 1; height: 6px; border-radius: 99px; background: #ffffff26; overflow: hidden; }
.bar i { display: block; width: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow)); transition: width .3s; }
.hint { margin: 14px 0 0; font-size: 12px; color: #b9b3d6; }
.hint.dark { color: #1a1530b3; }

/* Ticker */
.ticker { overflow: hidden; white-space: nowrap; background: var(--pink); color: var(--ink); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.ticker-track { display: inline-flex; padding: 12px 0; animation: tick 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: inline-flex; }
.ticker-group span { padding: 0 20px; font-size: 14px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Quiz */
.quiz { background: var(--yellow); border-bottom: 2px solid var(--ink); padding: 80px 0; }
.quiz-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.quiz h2 { font-size: 46px; }
.lead { max-width: 400px; margin: 14px 0 0; font-size: 17px; }
.scoreboard { display: flex; gap: 12px; margin: 26px 0; }
.score { min-width: 92px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.score b { display: block; font-size: 30px; line-height: 1.1; font-weight: 900; }
.score span { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.quiz-card {
  --c: #fff; position: relative; display: flex; flex-direction: column; min-height: 400px;
  padding: 28px 32px; border: 2px solid var(--ink); border-radius: 26px; background: #fff;
  touch-action: pan-y; box-shadow: 9px 10px 0 var(--ink);
}
.quiz-card .fact-cat { background: var(--c); border: 1.5px solid var(--ink); }
.quiz-card .fact-emoji { display: grid; place-items: center; width: 92px; height: 92px; margin: 20px 0 14px; border: 2px solid var(--ink); border-radius: 50%; background: var(--c); font-size: 52px; }
.q-text { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 850; line-height: 1.22; letter-spacing: -.6px; }
.reveal { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--ink); color: #fff; }
.reveal strong { display: block; font-size: 18px; }
.reveal p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: #e6e2fa; }
.tf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 22px; }
.tf button {
  padding: 16px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; color: var(--ink);
  font-size: 18px; font-weight: 900; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s, box-shadow .12s, background .2s;
}
.tf button:not(:disabled):hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.tf button:not(:disabled):active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.tf .tf-true:not(:disabled):hover { background: var(--green); }
.tf .tf-false:not(:disabled):hover { background: var(--red); }
.tf button:disabled { cursor: default; box-shadow: none; }
.tf button:disabled:not(.right):not(.picked) { opacity: .35; }
.tf button.right { background: var(--green); }
.tf button.picked:not(.right) { background: var(--red); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.q-next-row { margin-top: 14px; }
.q-next-row .pill { width: 100%; }

/* Videos */
.section { padding: 84px 36px 20px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 26px; }
.sub { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 14px; }
.filter { padding: 9px 19px; border: 2px solid var(--ink); border-radius: 100px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 800; }
.filter[aria-pressed=true] { background: var(--ink); color: #fff; }
#result { min-height: 22px; margin: 0 0 18px; font-size: 12px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 22px; }
.card { min-width: 0; scroll-margin-top: 30px; }
.poster {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 14; padding: 0;
  border: 2px solid var(--ink); border-radius: 22px; background: var(--bg, #ddd); overflow: hidden;
  box-shadow: 5px 6px 0 var(--ink); transition: transform .18s, box-shadow .18s;
}
.poster img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform .35s; }
.poster:hover { transform: translate(-2px, -2px); box-shadow: 7px 8px 0 var(--ink); }
.poster:hover img { transform: scale(1.05); }
.card.spotlight .poster { box-shadow: 0 0 0 5px var(--pink), 5px 6px 0 var(--ink); }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 8px; border-radius: 6px; background: #fffdf1; color: var(--ink); font-size: 9px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; }
.play {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 46px; height: 46px;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 16px;
  transition: transform .18s;
}
.poster:hover .play { transform: scale(1.12); }
.card-body { padding: 14px 3px 0; }
.card h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.25; letter-spacing: -.4px; }
.card p { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.share { padding: 4px 0; border: 0; background: none; font-size: 12px; font-weight: 750; color: var(--muted); }
.share:hover { color: var(--ink); text-decoration: underline; }
.more-row { display: flex; justify-content: center; margin-top: 38px; }

/* Latest from YouTube */
.latest {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin: 0 0 48px; padding: 32px 36px;
  border: 2px solid var(--ink); border-radius: 28px; color: #fff; box-shadow: 8px 9px 0 var(--ink);
  background: radial-gradient(420px 260px at 100% 0, #ff4fa340, transparent 70%), var(--night);
}
.latest :focus-visible { outline-color: #fff; }
.latest h3 { margin: 10px 0; font-size: 34px; line-height: 1.1; letter-spacing: -1.2px; }
.latest p { max-width: 420px; margin: 0; font-size: 15px; color: #cfc9ee; }
.latest-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.latest .pill:not(.yellow) { border-color: #ffffff80; color: #fff; }
.latest .pill:hover { box-shadow: 3px 4px 0 var(--pink); }
.latest-frame { width: 300px; aspect-ratio: 9 / 16; overflow: hidden; border: 2px solid #fff; border-radius: 20px; background: #000; }
.latest-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.latest-start {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%;
  padding: 20px; border: 0; color: #fff; text-align: center; text-decoration: none;
  background: linear-gradient(160deg, var(--violet), var(--pink) 70%, var(--orange));
}
.latest-start svg { width: 110px; height: 110px; }
.latest-play {
  display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid var(--ink); border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-size: 22px; box-shadow: 3px 3px 0 var(--ink); transition: transform .18s;
}
.latest-start:hover .latest-play { transform: scale(1.1); }
.latest-start strong { font-size: 18px; }
.latest-start small { font-size: 12px; opacity: .85; }
.grid-label { margin: 0 0 14px; color: var(--muted); }

@media (max-width: 760px) {
  .latest { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px; box-shadow: 6px 7px 0 var(--ink); }
  .latest h3 { font-size: 26px; }
  .latest-frame { justify-self: center; width: min(100%, 300px); }
  .latest-links .pill { flex: 1; }
}

/* Video player dialog */
.player { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: #0b0820d9; backdrop-filter: blur(6px); }
.player-box {
  position: relative; display: flex; gap: 30px; width: 100%; max-width: 860px; max-height: calc(100vh - 40px); overflow: auto;
  padding: 24px; border: 2px solid var(--ink); border-radius: 28px; background: var(--paper); box-shadow: 10px 12px 0 #000;
}
.player-frame {
  flex: none; height: min(640px, calc(100vh - 110px)); aspect-ratio: 9 / 16; overflow: hidden;
  border: 2px solid var(--ink); border-radius: 18px; background: #000;
}
.player-frame.ig { width: 340px; aspect-ratio: auto; background: #fff; }
.player-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 30px; }
.player-info h3 { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -1px; }
.player-info p { margin: 0; font-size: 15px; color: var(--muted); }
.player-links { display: grid; gap: 8px; margin-top: 8px; }
.player-links .pill { justify-content: flex-start; }
.player-nav { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.player-nav .pill { flex: 1; padding: 11px 12px; }
.player-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border: 2px solid var(--ink);
  border-radius: 50%; background: #fff; color: var(--ink); font-size: 16px; font-weight: 900;
}
.player-close:hover { background: var(--yellow); }
html.player-open { overflow: hidden; }

/* Suggestion box */
#suggest { padding-top: 56px; padding-bottom: 0; }
.suggest {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 32px 40px;
  border: 2px solid var(--ink); border-radius: 28px; background: var(--yellow); box-shadow: 8px 9px 0 var(--ink);
}
.suggest-art {
  display: grid; place-items: center; width: 96px; height: 96px; border: 2px solid var(--ink); border-radius: 50%;
  background: #fff; font-size: 50px; transform: rotate(-6deg);
}
.suggest h2 { margin-top: 8px; font-size: 34px; letter-spacing: -1.2px; }
.suggest p { max-width: 520px; margin: 10px 0 0; font-size: 15px; }
.suggest .suggest-alt { margin-top: 8px; font-size: 13px; font-weight: 700; }
.suggest-alt a { display: inline-block; padding: 4px 0; text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.suggest-btn { white-space: nowrap; }
.suggest-btn:hover { box-shadow: 3px 4px 0 var(--pink); }

/* Channels */
#follow { padding-top: 64px; padding-bottom: 20px; }
.channel-section {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 45px; align-items: center; padding: 44px;
  border-radius: 28px; color: var(--paper);
  background: linear-gradient(135deg, #2a1470, #6c3df4 60%, #c43fb8);
}
.channel-section p { max-width: 340px; font-size: 15px; color: #e4defa; }
.channel-list { display: grid; gap: 10px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #ffffff3d; border-radius: 14px; background: #ffffff10; text-decoration: none; transition: background .2s; }
.channel:hover { background: #ffffff24; }
.channel-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--paper); color: var(--ink); font-weight: 900; }
.channel strong { display: block; font-size: 14px; }
.channel small { display: block; font-size: 11px; color: #e4defa; }
.channel .arrow { margin-left: auto; font-size: 21px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: start; padding-top: 70px; padding-bottom: 80px; }
.about p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.about-badge { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.about-bear { width: 110px; height: 110px; flex: none; }
.sticker {
  display: grid; place-content: center; width: 96px; height: 96px; border: 2px solid var(--ink); border-radius: 50%;
  background: var(--yellow); color: var(--ink); text-align: center; transform: rotate(-8deg);
  font-size: 11px; font-weight: 900; line-height: 1.3;
}

.footer { background: var(--night); color: #b9b3d6; font-size: 12px; }
.foot { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 30px; }
.footer a { display: inline-block; padding: 6px 0; text-underline-offset: 3px; }

.toast { position: fixed; bottom: 24px; left: 50%; z-index: 50; max-width: 90vw; padding: 13px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 13px; text-align: center; transform: translateX(-50%); box-shadow: 0 5px 25px #0003; }
.toast:empty { display: none; }
.manual-copy { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: #0008; }
.copy-box { width: 100%; max-width: 450px; padding: 24px; border-radius: 20px; background: var(--paper); }
.copy-box h2 { font-size: 24px; letter-spacing: -.5px; }
.copy-box input { width: 100%; margin: 10px 0 20px; padding: 10px; font: inherit; }

@media (min-width: 1300px) { .hero { gap: 90px; } }

@media (max-width: 1200px) {
  .s1 { display: none; }
}

@media (max-width: 1100px) {
  .nav-links a.hide-lg { display: none; }
}

@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .suggest { grid-template-columns: auto 1fr; padding: 28px; }
  .suggest-btn { grid-column: 1 / -1; justify-self: start; }
  .nav-links a:not(.pill) { display: none; }
  .s1, .s2, .s4 { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 64px; }
  .intro { margin-bottom: 20px; }
  .hero-links { display: none; }
  .cats.scroll-sm { flex-wrap: nowrap; overflow-x: auto; margin-right: -22px; padding-right: 22px; scrollbar-width: none; }
  .quiz-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .channel-section { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
  .about { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 760px) {
  .suggest { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px; box-shadow: 6px 7px 0 var(--ink); }
  .suggest-art { width: 72px; height: 72px; font-size: 38px; }
  .suggest h2 { font-size: 26px; }
  .suggest-btn { grid-column: auto; justify-self: stretch; }
  #suggest { padding-top: 40px; }
  .wrap { padding: 0 22px; }
  .section { padding: 56px 22px 10px; }
  .nav { height: 72px; }
  .brand { font-size: 22px; }
  .section-top { flex-direction: column; align-items: start; gap: 16px; }
  h2 { font-size: 32px; }
  .quiz { padding: 56px 0; }
  .quiz h2 { font-size: 36px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .card h3 { font-size: 15px; }
  .card p { font-size: 12px; }
  .play { width: 38px; height: 38px; right: 9px; bottom: 9px; }
  .player { padding: 10px; }
  .player-box { flex-direction: column; align-items: center; gap: 16px; padding: 16px; border-radius: 22px; box-shadow: 6px 7px 0 #000; }
  .player-frame { height: min(50vh, 520px); }
  .player-nav { position: sticky; bottom: -16px; margin-bottom: -16px; padding: 12px 0 16px; background: var(--paper); }
  .player-frame.ig { width: min(100%, 340px); }
  .player-info { width: 100%; padding-top: 0; }
  .player-info h3 { font-size: 24px; }
  .stage { --bear: 76px; }
  .peek { right: 28px; }
  .fact-card { min-height: 310px; padding: 22px; }
  .fact-emoji { margin: 16px 0 8px; font-size: 64px; }
  .quiz-card { min-height: 340px; padding: 22px; box-shadow: 6px 7px 0 var(--ink); }
  .quiz-card .fact-emoji { width: 76px; height: 76px; font-size: 42px; }
  .controls { gap: 8px; }
  .ctl { padding: 12px 14px; }
  .scoreboard { margin: 20px 0; gap: 10px; }
  .score { min-width: 0; flex: 1; padding: 8px 12px; box-shadow: 3px 3px 0 var(--ink); }
  .quiz .cats { flex-wrap: nowrap; overflow-x: auto; margin-right: -22px; padding: 0 22px 4px 0; scrollbar-width: none; }
  .foot { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 44px; letter-spacing: -2.5px; }
  .player-close { top: 8px; right: 8px; }
  .bar { display: none; }
  .ctl.next { flex: 1; }
  .hint { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

/* Daily bar */
.daily { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 24px; }
.daily-btn {
  padding: 9px 16px; border: 2px solid var(--yellow); border-radius: 999px; background: var(--yellow); color: var(--ink);
  font-size: 13px; font-weight: 850; transition: transform .18s, box-shadow .18s;
}
.daily-btn:hover { transform: translateY(-2px); box-shadow: 3px 4px 0 var(--pink); }
.stat-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #ffffff1a; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.stat-chip b { color: var(--yellow); font-size: 15px; }
.stat-link:hover { background: #ffffff2e; }
.stat-chip.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.12); background: #ffffff40; } }
.fact-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.daily-flag { padding: 6px 11px; border-radius: 9px; background: var(--ink); color: var(--yellow); }

/* Collection */
.album { padding: 84px 0 20px; }
.album-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.album-progress { min-width: 240px; }
.album-num { font-size: 15px; font-weight: 800; color: var(--muted); }
.album-num b { font-size: 44px; line-height: 1; letter-spacing: -2px; color: var(--ink); }
.meter { height: 12px; margin-top: 8px; border: 2px solid var(--ink); border-radius: 99px; background: #fff; overflow: hidden; }
.meter i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow)); transition: width .4s; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 12px; padding: 0; list-style: none; }
.badge-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px dashed #b9b29a; border-radius: 18px;
  background: transparent; color: var(--muted);
}
.badge-item .medal { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border: 2px solid currentColor; border-radius: 50%; font-size: 28px; filter: grayscale(1); opacity: .6; }
.badge-item strong { display: block; font-size: 15px; color: inherit; }
.badge-item small { font-size: 12px; }
.badge-item.on { border: 2px solid var(--ink); background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.badge-item.on .medal { background: var(--yellow); filter: none; opacity: 1; }
.album-cat { margin-top: 24px; }
.album-cat h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: 16px; font-weight: 900; }
.album-cat small { font-size: 12px; font-weight: 800; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tile {
  display: grid; place-items: center; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 16px;
  font-size: 34px; line-height: 1; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.tile.got { background: var(--c); box-shadow: 3px 3px 0 var(--ink); }
.tile.got:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.tile.lock { border: 2px dashed #b9b29a; background: #f1ecdc; color: #b9b29a; font-size: 24px; font-weight: 900; }
.tile.pop { animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(.5); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.hint.dark-on-paper { margin-top: 26px; color: var(--muted); }

@media (max-width: 760px) {
  .album { padding-top: 56px; }
  .badges { gap: 8px; }
  .badge-item { flex-direction: column; gap: 6px; padding: 10px 6px; border-radius: 14px; text-align: center; }
  .badge-item.on { box-shadow: 3px 3px 0 var(--ink); }
  .badge-item .medal { width: 40px; height: 40px; font-size: 20px; }
  .badge-item strong { font-size: 12px; line-height: 1.2; }
  .badge-item small { display: block; font-size: 10px; line-height: 1.25; }
  .album-cat { margin-top: 18px; }
  .tiles { grid-template-columns: repeat(8, 1fr); gap: 5px; }
  .tile { border-radius: 9px; font-size: 20px; }
  .tile.got { box-shadow: 2px 2px 0 var(--ink); }
  .tile.lock { font-size: 14px; }
  .daily { margin-bottom: 20px; }
}

/* Animal quiz */
.animal { padding: 80px 0; background: var(--blue); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.animal-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.animal h2 { font-size: 46px; }
.cast { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.cast li {
  display: grid; place-items: center; width: 56px; height: 56px; border: 2px solid var(--ink); border-radius: 50%;
  background: var(--c); font-size: 28px; box-shadow: 3px 3px 0 var(--ink);
}
.animal-card {
  display: flex; flex-direction: column; min-height: 440px; padding: 30px 32px;
  border: 2px solid var(--ink); border-radius: 26px; background: #fff; box-shadow: 9px 10px 0 var(--ink);
}
.an-screen { display: flex; flex: 1; flex-direction: column; }
.an-start { align-items: center; justify-content: center; gap: 10px; text-align: center; }
.an-start p { margin: 0 0 10px; color: var(--muted); }
.animal-card h3 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.8px; }
.animal-card h3:focus { outline: none; }
.an-emoji {
  display: grid; flex: none; place-items: center; width: 96px; height: 96px; border: 2px solid var(--ink); border-radius: 50%;
  background: var(--c, var(--yellow)); font-size: 52px; line-height: 1;
}
.an-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 12px; font-weight: 850; letter-spacing: 1.2px; text-transform: uppercase; }
.an-bar { flex: 1; height: 10px; border: 2px solid var(--ink); border-radius: 99px; background: #fff; overflow: hidden; }
.an-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow)); transition: width .3s; }
.an-answers { display: grid; gap: 10px; margin: 20px 0 16px; }
.an-answer {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 2px solid var(--ink); border-radius: 16px;
  background: #fff; color: var(--ink); font-size: 16px; font-weight: 750; text-align: left; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s, box-shadow .12s, background .2s;
}
.an-answer:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); background: #fff8d6; }
.an-answer:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.an-answer.picked { background: var(--yellow); }
.an-key { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; font-size: 12px; font-weight: 900; }
.link-btn { align-self: flex-start; margin-top: auto; padding: 6px 0; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.an-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.an-head h3 { font-size: 34px; }
.an-tag { margin: 2px 0 0; font-size: 15px; font-weight: 800; }
.an-desc { margin: 0 0 16px; font-size: 16px; color: var(--muted); }
.an-scores { display: grid; gap: 6px; margin-bottom: 16px; }
.an-score { display: grid; grid-template-columns: 112px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; font-weight: 750; }
.an-score b { text-align: right; font-size: 12px; }
.an-track { height: 10px; border: 2px solid var(--ink); border-radius: 99px; background: #f3efe2; overflow: hidden; }
.an-track i { display: block; height: 100%; background: var(--c); }
.an-video {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px 10px 10px; margin-bottom: 14px;
  border: 2px solid var(--ink); border-radius: 18px; background: #fff8d6; color: var(--ink); text-align: left;
  transition: transform .15s, box-shadow .15s;
}
.an-video:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.an-video img { flex: none; width: 48px; height: 86px; border: 2px solid var(--ink); border-radius: 10px; object-fit: cover; }
.an-video span:nth-of-type(1) { flex: 1; min-width: 0; }
.an-video small { display: block; font-size: 11px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.an-video strong { display: block; font-size: 16px; }
.an-play { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font-size: 14px; }
.an-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

@media (max-width: 960px) {
  .animal-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 760px) {
  .animal { padding: 56px 0; }
  .animal h2 { font-size: 36px; }
  .cast li { width: 48px; height: 48px; font-size: 24px; }
  .animal-card { min-height: 0; padding: 22px; box-shadow: 6px 7px 0 var(--ink); }
  .animal-card h3 { font-size: 24px; }
  .an-head { gap: 14px; }
  .an-head h3 { font-size: 28px; }
  .an-emoji { width: 76px; height: 76px; font-size: 42px; }
  .an-answer { font-size: 15px; }
  .an-score { grid-template-columns: 96px 1fr 38px; }
  .an-actions .pill { flex: 1; }
}
