body.is-kids {
  background: linear-gradient(180deg, #d8f0e4 0%, #fff6d8 42%, #f7f3e8 100%);
}
body.is-kids .page h2 { font-size: 1.35rem; }
.kids-page [hidden] { display: none !important; }

.kids-page { max-width: 1040px; padding-bottom: 48px; }
.kids-hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  background: #fffef8;
  border: 2px solid #d7e8dc;
  border-radius: 24px;
  padding: 20px 24px;
  box-shadow: 0 8px 0 #1c5d3822;
}
.kids-mascot {
  width: 200px; height: 200px; object-fit: contain;
  filter: drop-shadow(0 8px 0 #1c5d3814);
}
.kids-mascot-sm { width: 140px; height: 140px; }
.kids-kicker {
  margin: 0 0 4px; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: #c0392b; font-size: 13px;
}
.kids-hero h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.4rem); color: #14432a; }
.kids-intro { font-size: 1.15rem; margin: 0 0 10px; line-height: 1.45; }
.kids-privacy { margin: 0; color: #64716a; font-size: 0.95rem; }

.kids-paths { margin-top: 28px; }
.kids-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kids-door {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 14px 14px 18px; cursor: pointer;
  background: #fff; border: 3px solid #1c5d38; border-radius: 20px;
  box-shadow: 0 6px 0 #1c5d38; color: inherit; font: inherit;
}
.kids-door img { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.kids-door strong { font-size: 1.25rem; color: #14432a; }
.kids-ages { font-weight: 700; color: #c0392b; }
.kids-door:hover, .kids-door:focus-visible { background: #f3fff7; transform: translateY(-2px); }
.kids-door:active { transform: translateY(3px); box-shadow: 0 3px 0 #1c5d38; }

.kids-back { margin: 8px 0 16px; }
.kids-score { font-weight: 800; font-size: 1.15rem; color: #1c5d38; min-height: 1.4em; }
.kids-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 520px;
  background: #87c6d8;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #14432a;
  touch-action: none;
  scroll-margin-top: 72px;
}
.kids-stage canvas { display: block; width: 100%; height: 100%; }
.kids-done { font-size: 1.3rem; font-weight: 800; color: #14432a; }

.kids-2d { position: relative; width: 100%; height: 100%; }
.kids-2d img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kids-2d-clean { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.kids-2d.is-clean .kids-2d-clean { opacity: 1; }
.kids-hotspot {
  position: absolute; width: 64px; height: 64px; padding: 0;
  border: 3px dashed #c0392b; border-radius: 50%;
  background: #ffd54a88; cursor: pointer;
  animation: kids-pulse 1.4s ease-in-out infinite;
}
.kids-hotspot:focus-visible { outline: 3px solid #14432a; }
.kids-hotspot.is-gone { display: none; }
@keyframes kids-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.kids-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0;
}
.kids-compare figure { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; border: 2px solid #d7e8dc; }
.kids-compare img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.kids-compare figcaption {
  text-align: center; font-weight: 800; padding: 8px;
}
.kids-compare figure:first-child figcaption { color: #c0392b; }
.kids-compare figure:last-child figcaption { color: #1c5d38; }

.kids-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kids-card {
  background: #fffef8; border-radius: 16px; overflow: hidden;
  border: 2px solid #d7e8dc; padding-bottom: 10px;
}
.kids-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.kids-card h3 { margin: 10px 12px 4px; font-size: 1.05rem; color: #14432a; }
.kids-card p { margin: 0 12px 8px; font-size: 0.98rem; line-height: 1.4; }

.kids-quiz-box { background: #fff; border-radius: 18px; padding: 18px; border: 2px solid #d7e8dc; }
.kids-q { font-size: 1.2rem; font-weight: 700; margin: 0 0 14px; }
.kids-answers { display: grid; gap: 10px; }
.kids-answers button {
  text-align: left; font: inherit; font-size: 1.05rem; font-weight: 600;
  padding: 14px 16px; border-radius: 12px; border: 2px solid #1c5d38;
  background: #fff; cursor: pointer; min-height: 52px;
}
.kids-answers button:hover { background: #f3fff7; }
.kids-answers button.is-ok { background: #d8f3e2; border-color: #1c5d38; }
.kids-answers button.is-bad { background: #fdeceb; border-color: #c0392b; }
.kids-feedback { min-height: 1.4em; font-weight: 800; margin: 12px 0 0; }
.kids-feedback.is-ok { color: #1c5d38; }
.kids-feedback.is-bad { color: #c0392b; }

.kids-parent {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center;
  margin-top: 28px; background: #14432a; color: #fff; border-radius: 20px; padding: 18px 20px;
}
.kids-parent h2 { margin: 0 0 8px; color: #fff; }
.kids-parent p { margin: 0 0 12px; }
.kids-parent .btn { background: #ffd54a; border-color: #ffd54a; color: #14432a; }

.kids-cheer {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 900;
  color: #14432a; text-shadow: 0 2px 0 #fff; animation: kids-pop 0.7s ease;
}
@keyframes kids-pop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

@media (max-width: 760px) {
  .kids-hero { grid-template-columns: 1fr; text-align: center; }
  .kids-mascot { margin: 0 auto; width: 160px; height: 160px; }
  .kids-doors, .kids-cards, .kids-compare, .kids-parent { grid-template-columns: 1fr; }
  .kids-mascot-sm { margin: 0 auto; }
  .kids-stage { aspect-ratio: 4 / 3; }
  .kids-hotspot { width: 72px; height: 72px; }
}
