.auth-panel > .kid-demo { display: block; margin: 10px auto 0; }
.onboard-card > .plain { margin-top: 15px; }
.age-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.age-options label {
  display: flex; align-items: center; min-width: 0; min-height: 64px; gap: 8px;
  padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.age-options label:has(:checked) { border-color: var(--rose); background: var(--pink-light); }
.age-options input { width: 16px; height: 16px; min-height: 0; flex: none; margin: 0; accent-color: var(--rose); }
.age-options small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; }
.settings-extras { display: grid; gap: 10px; justify-items: start; }

.kid-mode {
  --bg: #f8f5ff;
  --ink: #35284c;
  --muted: #625471;
  --line: #e4daf1;
  --rose: #6f438c;
  --rose-dark: #57326f;
  --pink-light: #efe6fa;
  background: var(--bg); color: var(--ink); min-height: 100dvh;
}
.kid-mode .primary { box-shadow: 0 3px 0 #4d2a63; }
.kid-mode .button { min-height: 48px; border-radius: 15px; }
.kid-mode .nav-item[aria-current="page"] { border-color: #e7d7f6; }
.kid-mode .panel, .kid-mode .mode-card { border-radius: 23px; }
.kid-mode .hero {
  min-height: 315px; border-radius: 26px; border-color: #e6dcfa; background: #ebe3f9;
}
.kid-mode .hero::after {
  background: linear-gradient(90deg, #ebe3f9 15%, #ebe3f9e8 35%, #ebe3f900 70%);
}
.kid-hero-art {
  position: absolute; z-index: -2; inset: 0 0 0 auto;
  width: 87%; height: 100%; object-fit: cover; object-position: 61% 57%;
}
.kid-mode .hero h2 { margin: 13px 0 12px; max-width: 8.5ch; }
.kid-mode .hero p { font-size: 1rem; color: var(--muted); }
.kid-mode .hero-content { max-width: 55%; }
.kid-mode .mode-card { min-height: 105px; }
.kid-mode .mode-card strong { font-size: 1.06rem; }
.kid-mode .answer-row .option { min-height: 53px; font-size: 1.05rem; }
.kid-mode .round-note.wrong { background: #fff4dc; color: #67462d; }
.kid-mode .question { font-size: clamp(1.65rem, 6vw, 2.5rem); }
.kid-collection-shortcut { display: grid; gap: 9px; justify-items: start; }
.kid-collection-shortcut p { color: var(--muted); }
.kid-collection { display: grid; grid-template-columns: minmax(255px, 1.15fr) minmax(230px, .85fr); gap: 15px; max-width: 890px; align-items: start; }
.kid-spin, .kid-slider, .kid-badges { padding: clamp(16px, 3vw, 27px); }
.kid-spin { min-height: 394px; display: grid; align-content: start; justify-items: center; text-align: center; gap: 12px; }
.kid-wheel-frame { position: relative; width: min(100%, 230px); aspect-ratio: 1; margin: 12px 0 4px; }
.kid-wheel {
  position: absolute; inset: 0; border: 5px solid #f9f6ff; border-radius: 50%;
  background: conic-gradient(from -30deg, #d0efd9 0deg 60deg, #e4d5fb 60deg 120deg, #ffc2d5 120deg 180deg,
    #ffe2a9 180deg 240deg, #fed0a9 240deg 300deg, #c9e7fb 300deg 360deg);
  box-shadow: 0 0 0 1px #e3d4f2, 0 8px 18px #59358222;
}
.kid-wheel span {
  position: absolute; inset: 0; text-align: center; font-size: 1.55rem; line-height: 3.3;
  transform: rotate(calc(var(--slot) * 60deg));
}
.kid-wheel-tip {
  position: absolute; z-index: 2; top: -10px; left: calc(50% - 11px); width: 22px; height: 24px;
  clip-path: polygon(0 0, 100% 0, 50% 100%); background: #5e387b;
}
.kid-wheel-hub {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 43px; height: 43px;
  border: 2px solid #e1d2ee; border-radius: 50%; background: white; color: #78539a;
  display: grid; place-items: center; font-size: 1.5rem;
}
.kid-spin > p { font-weight: 700; }
.kid-win-note { min-height: 1.3em; color: var(--rose-dark); }
.kid-gallery { display: grid; gap: 15px; min-width: 0; }
.kid-slider h2, .kid-badges h2 { margin-bottom: 12px; }
.kid-sticker {
  min-height: 156px; padding: 13px; border-radius: 19px; background: #f1eafc;
  display: grid; gap: 3px; align-content: center; justify-items: center; text-align: center;
}
.kid-sticker span { font-size: 3.2rem; line-height: 1.2; }
.kid-sticker.locked span { filter: grayscale(.85); opacity: .65; }
.kid-sticker p { color: var(--muted); font-size: .9rem; }
.kid-slider-controls { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; }
.kid-slider-controls .button { font-size: 1.35rem; }
.kid-slider-controls span { font-weight: 800; font-variant-numeric: tabular-nums; }
.kid-badges ul { display: grid; gap: 10px; margin: 0; padding: 0; }
.kid-badges li { display: grid; grid-template-columns: 1.45rem minmax(0, 1fr) auto; align-items: center; gap: 9px; }
.kid-badges small { color: var(--muted); white-space: nowrap; }

@media (max-width: 760px) {
  .kid-mode .hero { min-height: 275px; }
  .kid-collection { grid-template-columns: 1fr; }
  .kid-mode .hero-content { max-width: 62%; }
}
@media (max-width: 440px) {
  .kid-mode .hero { min-height: 250px; }
  .kid-mode .hero-content { max-width: 67%; }
  .kid-mode .hero::after { background: linear-gradient(90deg, #ebe3f9 18%, #ebe3f9ee 52%, #ebe3f900 90%); }
  .kid-hero-art { width: 100%; object-position: 65% center; }
  .age-options label { padding-inline: 7px; gap: 6px; }
}
