:root {
  --inconfin-navy: #0b234a;
  --inconfin-deep: #061632;
  --inconfin-blue: #163a70;
  --inconfin-red: #df1f3f;
  --inconfin-red-dark: #b71430;
  --inconfin-teal: #118a78;
  --inconfin-cyan: #df1f3f;
  --inconfin-gold: #b99646;
  --inconfin-ivory: #f7f9fc;
  --navy: var(--inconfin-navy);
  --navy-2: #061632;
  --teal: var(--inconfin-teal);
  --cyan: var(--inconfin-cyan);
  --cyan-light: #ffbdc9;
  --gold: var(--inconfin-gold);
  --gold-light: #ead39b;
  --ivory: var(--inconfin-ivory);
  --paper: #fbfaf7;
  --coral: #ef735d;
  --coral-ink: #914536;
  --violet: #8873d9;
  --leaf: #63aa68;
  --ink: #173844;
  --muted: #55717a;
  --line: rgba(6, 31, 42, .13);
  --shadow: 0 24px 70px rgba(6, 31, 42, .14);
  --round: 26px;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(8,125,130,.08) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 48%);
}
button, input, select { font: inherit; }
button, a, input { outline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 4px solid rgba(16,191,194,.45); }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 12px;
  background: white;
  color: var(--navy);
  font-weight: 900;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.kids-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 9px clamp(15px, 3vw, 42px);
  color: white;
  background: rgba(6,31,42,.96);
  border-bottom: 1px solid rgba(140,233,228,.2);
  backdrop-filter: blur(18px);
}
.kids-brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.kids-brand > span:last-child { min-width: 0; }
.kids-brand strong, .kids-brand small { display: block; }
.kids-brand strong { font-size: 13px; letter-spacing: .12em; }
.kids-brand small { margin-top: 3px; color: var(--cyan-light); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.kids-brand-mark { width: 36px; height: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; transform: skew(-8deg); }
.kids-brand-mark i { align-self: end; display: block; border-radius: 4px 4px 2px 2px; background: var(--cyan); }
.kids-brand-mark i:nth-child(1) { height: 46%; opacity: .65; }
.kids-brand-mark i:nth-child(2) { height: 72%; opacity: .82; }
.kids-brand-mark i:nth-child(3) { height: 100%; box-shadow: 0 0 18px rgba(16,191,194,.45); }
.audience-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; min-width: min(390px, 38vw); padding: 4px; border: 1px solid rgba(131,222,219,.28); border-radius: 15px; background: rgba(255,255,255,.065); box-shadow: inset 0 0 24px rgba(16,191,194,.045); }
.audience-switch a { min-height: 48px; display: grid; place-content: center; gap: 2px; padding: 5px 15px; border: 1px solid transparent; border-radius: 11px; color: var(--ivory); font-size: 11px; font-weight: 900; line-height: 1.05; text-align: center; text-decoration: none; white-space: nowrap; }
.audience-switch a small { color: rgba(244,241,233,.62); font-size: 8px; font-weight: 800; letter-spacing: .05em; }
.audience-switch a:hover, .audience-switch a:focus-visible { color: var(--navy); background: var(--cyan-light); }
.audience-switch a:hover small, .audience-switch a:focus-visible small { color: rgba(6,31,42,.7); }
.audience-switch a[aria-current="page"] { color: var(--navy); border-color: rgba(210,168,80,.58); background: var(--ivory); box-shadow: 0 8px 24px rgba(0,0,0,.18), inset 0 -3px 0 var(--gold); }
.audience-switch a[aria-current="page"] small { color: var(--teal); }
.kids-section-links { justify-self: end; display: flex; gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.06); }
.kids-section-links a { min-height: 40px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px; color: rgba(255,255,255,.74); font-size: 11px; font-weight: 900; text-decoration: none; }
.kids-section-links a:hover { color: var(--navy); background: var(--cyan-light); }
.kids-mobile-nav { display: none; }

.kids-hero {
  position: relative;
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(340px, .92fr) minmax(500px, 1.38fr);
  align-items: stretch;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 18% 20%, rgba(16,191,194,.18), transparent 30%),
    linear-gradient(115deg, var(--navy) 0 42%, #082936 62%, var(--navy) 100%);
}
.kids-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58px;
  background: var(--paper);
  clip-path: polygon(0 66%, 18% 20%, 38% 74%, 57% 32%, 76% 80%, 100% 24%, 100% 100%, 0 100%);
}
.kids-hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 650px;
  padding: 76px 3vw 104px clamp(24px, 6vw, 105px);
}
.hero-kicker, .section-kicker {
  margin: 0 0 14px;
  color: var(--cyan-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}
.hero-kicker span { color: var(--gold-light); }
.kids-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 5.2vw, 78px);
  line-height: .96;
  letter-spacing: -.045em;
}
.kids-hero h1 em { display: block; margin-top: 9px; color: var(--gold-light); font-weight: 500; }
.hero-lead { max-width: 570px; margin: 25px 0 0; color: rgba(255,255,255,.78); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.kids-primary-button, .kids-secondary-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 22px; border-radius: 16px; font-size: 13px; font-weight: 900; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.kids-primary-button { color: var(--navy); background: var(--cyan-light); box-shadow: 0 12px 32px rgba(16,191,194,.22); }
.kids-secondary-button { color: white; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.07); }
.kids-primary-button:hover, .kids-secondary-button:hover { transform: translateY(-3px) rotate(-.3deg); }
.hero-promises { display: flex; flex-wrap: wrap; gap: 18px; margin: 25px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.66); font-size: 11px; font-weight: 800; }
.hero-promises span { color: var(--cyan-light); }
.kids-hero-visual { position: relative; z-index: 1; min-height: 650px; overflow: hidden; }
.kids-hero-visual::before { content: ""; position: absolute; inset: 12% 6% 9% 9%; z-index: -1; border-radius: 50%; background: rgba(16,191,194,.12); filter: blur(40px); }
.kids-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.curiosity-orbit { position: absolute; inset: 0; pointer-events: none; }
.curiosity-orbit span { position: absolute; padding: 8px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: white; background: rgba(6,31,42,.68); box-shadow: 0 8px 25px rgba(0,0,0,.18); font-size: 9px; font-weight: 900; letter-spacing: .14em; backdrop-filter: blur(10px); }
.curiosity-orbit span:nth-child(1) { top: 14%; left: 8%; transform: rotate(-7deg); }
.curiosity-orbit span:nth-child(2) { top: 28%; right: 5%; transform: rotate(7deg); }
.curiosity-orbit span:nth-child(3) { bottom: 15%; left: 12%; transform: rotate(4deg); }

.care-banner {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
  margin: 28px auto 0;
  padding: 18px 20px;
  border: 1px solid rgba(8,125,130,.18);
  border-radius: 20px;
  background: #effbf8;
  box-shadow: 0 10px 32px rgba(6,31,42,.06);
}
.care-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--navy); background: var(--gold-light); font-size: 24px; }
.care-banner strong { color: var(--navy); font-size: 14px; }
.care-banner p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.care-banner button { min-height: 42px; padding: 0 14px; border: 1px solid rgba(8,125,130,.25); border-radius: 12px; color: var(--teal); background: white; font-size: 11px; font-weight: 900; }
.care-note { grid-column: 2 / -1; padding: 13px 15px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: white; }

.kids-explorer-section, .adventures-section, .challenge-section, .grownups-section { width: min(1440px, calc(100% - 36px)); margin-inline: auto; }
.kids-explorer-section { width: min(1640px, calc(100% - 32px)); }
.kids-explorer-section { padding: 64px 0 30px; scroll-margin-top: 112px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }
.section-heading > div:first-child { max-width: 780px; }
.section-kicker { color: var(--teal); }
.section-heading h2, .time-river-copy h2, .challenge-card h2, .grownups-section h2 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -.035em; }
.section-heading p:not(.section-kicker), .time-river-copy > p:not(.section-kicker), .grownups-section > div > p:not(.section-kicker) { margin: 13px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.reading-level { display: flex; gap: 5px; min-width: max-content; margin: 0; padding: 5px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.reading-level legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.reading-level label { cursor: pointer; }
.reading-level input { position: absolute; opacity: 0; pointer-events: none; }
.reading-level span { min-height: 42px; display: grid; place-items: center; padding: 0 14px; border-radius: 10px; color: var(--muted); font-size: 11px; font-weight: 900; }
.reading-level input:checked + span { color: white; background: var(--teal); box-shadow: 0 8px 20px rgba(8,125,130,.18); }
.reading-level input:focus-visible + span { outline: 4px solid rgba(16,191,194,.4); }

.category-filter, .continent-filter { display: flex; gap: 8px; overflow-x: auto; padding: 3px 3px 13px; scrollbar-width: none; }
.category-filter::-webkit-scrollbar, .continent-filter::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; font-size: 11px; font-weight: 900; }
.filter-chip span { font-size: 17px; }
.filter-chip[aria-pressed="true"] { color: var(--navy); border-color: transparent; background: var(--gold-light); box-shadow: 0 8px 24px rgba(210,168,80,.2); }
.category-filter .filter-chip[aria-pressed="true"] { background: var(--cyan-light); }

.explorer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.globe-panel, .story-card { border-radius: var(--round); overflow: hidden; box-shadow: var(--shadow); }
.globe-panel { min-height: 0; color: white; background: var(--navy); }
.globe-panel-heading { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 12px 17px; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
.globe-panel-heading > div:first-child { min-width: 68px; text-align: center; }
.globe-panel-heading > div:first-child span { display: block; color: var(--cyan-light); font-size: 22px; font-weight: 900; }
.globe-panel-heading small { color: rgba(255,255,255,.55); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.globe-panel h3 { margin: 0; text-align: center; font-size: 13px; letter-spacing: .08em; }
.globe-controls { display: flex; gap: 5px; }
.globe-controls button { min-width: 42px; min-height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: white; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 900; }
.globe-controls output { min-width: 48px; display: grid; place-items: center; color: #86ede9; font-size: 9px; font-weight: 900; }
.globe-controls button:hover { color: var(--navy); background: var(--cyan-light); }
.kids-globe-wrap { position: relative; height: clamp(545px, 52vw, 760px); min-height: 545px; overflow: hidden; cursor: grab; touch-action: pan-y; background: radial-gradient(circle at 50% 42%, rgba(16,191,194,.18), transparent 45%), linear-gradient(180deg, #071f2b, #04151d); }
.kids-globe-wrap:active { cursor: grabbing; }
#kidsGlobe { width: 100%; height: 100%; min-height: 0; display: block; }
.globe-caption { position: absolute; left: 50%; bottom: 15px; transform: translateX(-50%); margin: 0; padding: 7px 11px; border-radius: 999px; color: rgba(255,255,255,.66); background: rgba(6,31,42,.7); font-size: 8px; font-weight: 900; letter-spacing: .14em; white-space: nowrap; }
.globe-help { margin: 0; padding: 12px 18px 15px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.5; }

.story-card { position: relative; align-self: start; padding: 30px; border: 1px solid rgba(6,31,42,.08); background: white; }
.story-card::after { content: ""; position: absolute; top: -70px; right: -70px; width: 190px; height: 190px; border-radius: 50%; background: rgba(16,191,194,.09); pointer-events: none; }
.story-card.has-story-visual { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); column-gap: 30px; align-items: start; }
.story-card.has-story-visual > :not(.story-visual) { grid-column: 1; }
.story-card.has-story-visual .story-visual { position: relative; z-index: 1; grid-column: 2; grid-row: 1 / span 9; align-self: start; margin: 0; }
.story-card.has-story-visual .story-visual img { height: clamp(300px, 34vw, 520px); }
.story-card-topline { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; }
#storyIcon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--gold-light); font-size: 21px; }
#storyCategory { color: var(--teal); font-size: 9px; letter-spacing: .13em; }
#surpriseStory { margin-left: auto; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--teal); background: var(--paper); font-size: 10px; font-weight: 900; }
.story-place { margin: 25px 0 6px; color: var(--coral-ink); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.story-card h3 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3vw, 46px); line-height: 1.02; letter-spacing: -.035em; }
.story-date { display: inline-block; margin: 13px 0 19px; padding: 7px 10px; border-radius: 9px; color: var(--navy); background: var(--gold-light); font-size: 11px; font-weight: 900; }
.story-copy h4, .why-card h4, .wonder-card h4 { margin: 0 0 5px; color: var(--navy); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.story-copy p, .why-card p, .wonder-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.why-card, .wonder-card { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 15px; padding: 15px; border-radius: 15px; }
.why-card { background: #effbf8; }
.wonder-card { background: #fff6df; }
.why-card > span, .wonder-card > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; background: white; font-weight: 900; }
.story-sources { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.story-sources summary { color: var(--teal); cursor: pointer; font-size: 11px; font-weight: 900; }
.story-sources > p { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.story-sources ul { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.story-sources a { color: var(--teal); font-size: 11px; line-height: 1.4; }

.kids-inline-country {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(11,35,74,.16);
  border-radius: 24px;
  background: white;
  box-shadow: 0 20px 55px rgba(6,31,42,.13);
}
.kids-inline-country[hidden] { display: none; }
.kids-inline-country-heading { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 18px; color: white; border-bottom: 4px solid var(--inconfin-gold); background: linear-gradient(105deg, var(--inconfin-navy), #143f70 70%, var(--inconfin-red)); }
.kids-inline-country-heading > div { display: flex; align-items: center; gap: 10px; }
.kids-inline-country-heading > div > span { font-size: 24px; }
.kids-inline-country-heading p { margin: 0; font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.kids-inline-country-heading button { flex: 0 0 auto; min-height: 40px; padding: 0 13px; color: white; border: 1px solid rgba(255,255,255,.34); border-radius: 11px; background: rgba(255,255,255,.1); font-size: 10px; font-weight: 900; }
.kids-inline-country-heading button:hover { color: var(--navy); background: var(--gold-light); }
.kids-inline-country .country-profile { padding: 30px; overflow: visible; }

body[data-portal-view="home"] #kidsExplorer { padding-top: 0; }
body[data-portal-view="home"] #kidsExplorer > .section-heading,
body[data-portal-view="home"] #kidsExplorer > .category-filter,
body[data-portal-view="home"] #kidsExplorer > .continent-filter,
body[data-portal-view="home"] #kidsExplorer > .story-list,
body[data-portal-view="home"] #kidsExplorer > .show-more-stories { display: none; }

.continent-filter { margin-top: 22px; }
.story-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 7px; }
.story-button { position: relative; min-height: 166px; display: flex; flex-direction: column; align-items: flex-start; padding: 17px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; color: var(--ink); background: white; text-align: left; transition: transform .18s ease, box-shadow .18s ease; }
.story-button::after { content: ""; position: absolute; right: -22px; bottom: -28px; width: 92px; height: 92px; border-radius: 50%; background: var(--story-color, var(--cyan-light)); opacity: .18; }
.story-button:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(6,31,42,.11); }
.story-button[aria-current="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(16,191,194,.15); }
.story-button .story-button-meta { color: var(--teal); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.story-button strong { margin-top: 11px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.15; }
.story-button small { margin-top: auto; padding-top: 13px; color: var(--muted); font-size: 10px; }
.empty-stories { grid-column: 1 / -1; padding: 40px; border: 2px dashed rgba(8,125,130,.25); border-radius: 20px; color: var(--muted); background: #f5fbfa; text-align: center; }
.show-more-stories { min-height: 50px; display: block; margin: 18px auto 0; padding: 0 22px; border: 1px solid rgba(8,125,130,.25); border-radius: 15px; color: var(--teal); background: white; box-shadow: 0 10px 28px rgba(6,31,42,.07); font-size: 12px; font-weight: 900; }
.show-more-stories:hover { color: var(--navy); border-color: transparent; background: var(--cyan-light); }

.adventures-section { padding: 100px 0 45px; scroll-margin-top: 74px; }
.centered-heading { justify-content: center; text-align: center; }
.centered-heading > div { max-width: 800px !important; }
.adventure-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.adventure-card { min-height: 250px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 0; border-radius: 24px; color: var(--navy); background: var(--adventure-bg, #eaf9f6); text-align: left; transition: transform .2s ease; }
.adventure-card:hover { transform: rotate(-1deg) translateY(-5px); }
.adventure-card > span { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 17px; background: rgba(255,255,255,.7); font-size: 28px; }
.adventure-card h3 { margin: 20px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.05; }
.adventure-card p { margin: 0; color: rgba(6,31,42,.7); font-size: 12px; line-height: 1.5; }
.adventure-card strong { margin-top: auto; padding-top: 18px; color: var(--teal); font-size: 10px; letter-spacing: .08em; }

.time-river-section { margin-top: 70px; display: grid; grid-template-columns: minmax(290px, .75fr) minmax(500px, 1.25fr); align-items: center; gap: 40px; padding: 72px max(28px, calc((100vw - 1320px) / 2)); color: white; background: linear-gradient(115deg, var(--navy), #0b4654); }
.time-river-copy h2 { color: white; }
.time-river-copy > p:not(.section-kicker) { color: rgba(255,255,255,.68); }
#timeOutput { display: inline-block; margin-top: 20px; padding: 9px 12px; border-radius: 10px; color: var(--navy); background: var(--gold-light); font-size: 12px; font-weight: 900; }
.time-river-control { min-width: 0; }
#timeRiver { width: 100%; height: 16px; accent-color: var(--cyan); cursor: pointer; }
.time-stops { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 12px; }
.time-stops span { color: rgba(255,255,255,.55); font-size: 8px; font-weight: 900; text-align: center; }

.challenge-section { min-height: 560px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 40px; padding: 95px 0; overflow: hidden; scroll-margin-top: 74px; }
.challenge-planet { position: relative; width: min(440px, 80vw); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; border-radius: 50%; color: white; background: radial-gradient(circle at 34% 30%, var(--cyan-light), var(--teal) 48%, var(--navy) 74%); box-shadow: 0 32px 80px rgba(8,125,130,.25); font-size: 120px; }
.challenge-planet::before, .challenge-planet::after { content: ""; position: absolute; inset: 46% -16%; height: 15%; border: 3px solid var(--gold); border-radius: 50%; transform: rotate(-13deg); }
.challenge-planet::after { inset: 42% -23%; opacity: .2; }
.challenge-planet i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-light); }
.challenge-planet i:nth-child(2) { top: 14%; right: 14%; }
.challenge-planet i:nth-child(3) { bottom: 15%; left: 9%; width: 20px; height: 20px; background: var(--coral); }
.challenge-planet i:nth-child(4) { top: 35%; left: -12%; background: var(--violet); }
.challenge-card { padding: clamp(28px, 5vw, 62px); border: 1px solid var(--line); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.challenge-card > p:not(.section-kicker):not(.challenge-feedback) { color: var(--muted); font-size: 15px; line-height: 1.55; }
.challenge-options { display: grid; gap: 9px; margin-top: 24px; }
.challenge-option { min-height: 50px; display: flex; align-items: center; gap: 12px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 14px; color: var(--navy); background: var(--paper); text-align: left; font-size: 13px; font-weight: 900; }
.challenge-option span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--teal); background: white; }
.challenge-option:hover { border-color: var(--teal); background: #eefbf9; }
.challenge-option.is-correct { color: #145f38; border-color: #61ad79; background: #eaf8ef; }
.challenge-option.is-wrong { color: #8f3f34; border-color: #e9998c; background: #fff0ed; }
.challenge-feedback { min-height: 24px; margin: 13px 0 0; color: var(--teal); font-size: 13px; font-weight: 900; }
.challenge-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 18px; }
.challenge-actions button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; color: var(--navy); background: var(--cyan-light); font-size: 11px; font-weight: 900; }
.challenge-actions strong { color: #735611; font-size: 12px; }

.grownups-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; margin-bottom: 90px; padding: 48px; border-radius: 30px; color: white; background: var(--navy); box-shadow: var(--shadow); }
.grownups-section h2 { color: white; }
.grownups-section > div > p:not(.section-kicker) { color: rgba(255,255,255,.68); }
.grownups-section ul { display: grid; gap: 11px; margin: 0; padding-left: 20px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; }
.grownups-section li::marker { color: var(--cyan); }
.grownups-section strong { color: white; }
.grownups-section > a { grid-column: 2; justify-self: start; padding: 12px 16px; border-radius: 12px; color: var(--navy); background: var(--gold-light); font-size: 12px; font-weight: 900; text-decoration: none; }

.adult-exit-dialog { width: min(520px, calc(100% - 28px)); padding: 32px; border: 1px solid rgba(16,191,194,.28); border-radius: 26px; color: var(--ink); background: white; box-shadow: 0 34px 100px rgba(3,20,28,.38); }
.adult-exit-dialog::backdrop { background: rgba(3,20,28,.75); backdrop-filter: blur(8px); }
.adult-exit-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 18px; color: var(--navy); background: var(--gold-light); font-size: 28px; }
.adult-exit-dialog h2 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 36px; line-height: 1.05; }
.adult-exit-dialog > p:not(.section-kicker) { color: var(--muted); line-height: 1.6; }
.adult-exit-dialog > div { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.adult-exit-dialog button, .adult-exit-dialog a { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 12px; font-size: 12px; font-weight: 900; text-decoration: none; }
.adult-exit-dialog button { border: 1px solid var(--line); color: var(--teal); background: white; }
.adult-exit-dialog a { color: var(--navy); background: var(--gold-light); }

.kids-footer { min-height: 110px; display: grid; grid-template-columns: 1fr minmax(300px, auto) auto; align-items: center; gap: 24px; padding: 22px clamp(20px, 4vw, 58px); color: white; background: #03141c; }
.footer-brand { color: white; }
.kids-footer p { margin: 0; color: rgba(255,255,255,.48); font-size: 10px; line-height: 1.5; text-align: center; }
.kids-footer > a { color: var(--cyan-light); font-size: 11px; font-weight: 900; }
.noscript { margin: 0; padding: 16px; color: var(--navy); background: var(--gold-light); text-align: center; font-weight: 900; }

@media (max-width: 1100px) {
  body { padding-bottom: 66px; }
  .kids-topbar { grid-template-columns: 1fr auto; }
  .kids-section-links { display: none; }
  .audience-switch { min-width: min(390px, 48vw); }
  .kids-mobile-nav { position: fixed; z-index: 95; right: 10px; bottom: max(8px, env(safe-area-inset-bottom)); left: 10px; min-height: 56px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border: 1px solid rgba(140,233,228,.2); border-radius: 18px; color: white; background: rgba(6,31,42,.95); box-shadow: 0 14px 40px rgba(3,20,28,.3); backdrop-filter: blur(16px); }
  .kids-mobile-nav a { min-height: 48px; display: grid; grid-template-columns: auto auto; place-content: center; align-items: center; gap: 6px; border-radius: 13px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 900; text-decoration: none; }
  .kids-mobile-nav a:hover, .kids-mobile-nav a:focus-visible { color: var(--navy); background: var(--cyan-light); }
  .kids-hero { grid-template-columns: .9fr 1.1fr; min-height: 610px; }
  .kids-hero-copy { padding-left: 35px; }
  .kids-hero-visual { min-height: 600px; }
  .explorer-grid { grid-template-columns: 1fr; }
  .globe-panel { min-height: 620px; }
  .story-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adventure-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-card { min-height: auto; }
  .time-river-section { grid-template-columns: 1fr; gap: 27px; padding: 58px max(22px, calc((100vw - 760px) / 2)); }
}

@media (max-width: 900px) {
  .story-card.has-story-visual { grid-template-columns: 1fr; }
  .story-card.has-story-visual > :not(.story-visual),
  .story-card.has-story-visual .story-visual { grid-column: 1; }
  .story-card.has-story-visual .story-visual { grid-row: auto; margin: 18px 0 19px; }
  .story-card.has-story-visual .story-visual img { height: clamp(220px, 58vw, 420px); }
}

@media (max-width: 780px) {
  .kids-topbar { min-height: 118px; grid-template-columns: 1fr; gap: 7px; padding-block: 8px; }
  .kids-brand strong { font-size: 11px; }
  .kids-brand small { font-size: 7px; }
  .audience-switch { width: 100%; min-width: 0; }
  .kids-hero { display: block; min-height: 770px; }
  .kids-hero-copy { position: absolute; inset: 0; align-content: end; max-width: none; padding: 290px 22px 105px; background: linear-gradient(to bottom, rgba(6,31,42,.05) 28%, rgba(6,31,42,.88) 63%, var(--navy) 92%); }
  .kids-hero-visual { min-height: 770px; }
  .kids-hero-visual img { object-position: 66% center; }
  .kids-hero h1 { font-size: clamp(42px, 12vw, 66px); }
  .hero-lead { max-width: 600px; font-size: 15px; }
  .curiosity-orbit { display: none; }
  .care-banner { grid-template-columns: auto 1fr; }
  .care-banner button { grid-column: 1 / -1; }
  .care-note { grid-column: 1 / -1; }
  .section-heading { display: grid; align-items: start; }
  .reading-level { justify-self: start; }
  .kids-explorer-section, .adventures-section, .challenge-section, .grownups-section { width: min(100% - 24px, 720px); }
  .globe-panel-heading { grid-template-columns: auto 1fr; }
  .globe-panel-heading h3 { text-align: left; }
  .globe-controls { grid-column: 1 / -1; justify-content: center; }
  .kids-globe-wrap, #kidsGlobe { min-height: 460px; }
  .globe-panel { min-height: 570px; }
  .story-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adventure-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .time-river-section { grid-template-columns: 1fr; gap: 27px; padding: 58px 22px; }
  .time-stops span { font-size: 6px; }
  .challenge-section { grid-template-columns: 1fr; gap: 25px; padding-block: 70px; }
  .challenge-planet { width: min(280px, 70vw); font-size: 80px; }
  .grownups-section { grid-template-columns: 1fr; padding: 31px 25px; }
  .grownups-section > a { grid-column: 1; }
  .kids-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
}

@media (max-width: 470px) {
  .kids-brand small { display: none; }
  .kids-brand-mark { width: 31px; height: 31px; }
  .audience-switch a { min-height: 46px; padding-inline: 8px; }
  .audience-switch a small { display: none; }
  .kids-hero-copy { padding-inline: 17px; }
  .kids-hero h1 { font-size: 44px; }
  .hero-actions { display: grid; }
  .kids-primary-button, .kids-secondary-button { width: 100%; }
  .hero-promises { gap: 8px 14px; }
  .section-heading h2, .time-river-copy h2, .challenge-card h2, .grownups-section h2 { font-size: 36px; }
  .reading-level { width: 100%; }
  .reading-level label { flex: 1; }
  .reading-level span { padding-inline: 8px; text-align: center; }
  .kids-globe-wrap, #kidsGlobe { min-height: 390px; }
  .globe-panel { min-height: 505px; }
  .story-card { padding: 21px 17px; }
  .story-card h3 { font-size: 34px; }
  .story-list { grid-template-columns: 1fr; }
  .story-button { min-height: 142px; }
  .adventure-cards { grid-template-columns: 1fr; }
  .adventure-card { min-height: 210px; }
  .time-stops span { writing-mode: vertical-rl; justify-self: center; height: 68px; }
  .challenge-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 0.14 · más imagen, misión lunar e identidad INCONFIN */
.kids-topbar {
  background:
    radial-gradient(circle at 12% -40%, rgba(16,191,194,.32), transparent 34%),
    linear-gradient(105deg, var(--inconfin-navy), #0a3d49 64%, var(--inconfin-teal));
  border-bottom: 4px solid var(--inconfin-gold);
}
.kids-topbar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--inconfin-cyan) 0 42%, var(--inconfin-teal) 42% 76%, var(--inconfin-gold) 76%);
}
.creator-ribbon {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 18px;
  color: var(--inconfin-navy);
  border-bottom: 1px solid rgba(6,31,42,.12);
  background: linear-gradient(90deg, var(--inconfin-cyan), #83dedb 58%, var(--inconfin-gold));
  font-size: 9px;
  letter-spacing: .08em;
  text-align: center;
}
.creator-ribbon span { font-weight: 900; }
.creator-ribbon strong { font-size: 10px; letter-spacing: .025em; }

.kids-moon-mission {
  position: relative;
  width: min(100% - 40px, 1320px);
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  margin: 64px auto 30px;
  padding: clamp(30px, 5vw, 68px);
  overflow: hidden;
  color: white;
  border: 1px solid rgba(131,222,219,.3);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 24%, rgba(16,191,194,.24), transparent 31%),
    linear-gradient(125deg, var(--inconfin-navy), #0a3e4c 64%, var(--inconfin-teal));
  box-shadow: 0 28px 80px rgba(6,31,42,.24);
  scroll-margin-top: 115px;
}
.kids-moon-mission::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--inconfin-cyan), var(--inconfin-gold)); }
.moon-mission-copy { position: relative; z-index: 2; }
.moon-mission-copy .section-kicker { color: var(--cyan-light); }
.moon-mission-copy h2 { margin: 8px 0 15px; color: white; font: 500 clamp(42px, 5vw, 70px)/.94 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.moon-mission-copy > p:not(.section-kicker):not(.moon-mission-fact) { margin: 0; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.65; }
.moon-fact-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.moon-fact-controls button { min-height: 43px; padding: 0 14px; color: var(--ivory); border: 1px solid rgba(131,222,219,.36); border-radius: 12px; background: rgba(255,255,255,.065); font-size: 10px; font-weight: 900; }
.moon-fact-controls button[aria-pressed="true"] { color: var(--navy); border-color: var(--gold); background: var(--gold-light); box-shadow: 0 8px 22px rgba(210,168,80,.2); }
.moon-mission-fact { min-height: 82px; margin: 10px 0 0; padding: 15px 17px; color: var(--navy); border-left: 5px solid var(--gold); border-radius: 0 15px 15px 0; background: var(--ivory); font-size: 13px; font-weight: 800; line-height: 1.55; }
.moon-mission-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.moon-mission-actions a { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; border-radius: 12px; color: var(--navy); background: var(--cyan-light); font-size: 10px; font-weight: 900; text-decoration: none; }
.moon-mission-actions a:first-child { background: var(--gold-light); }
.moon-mission-visual { position: relative; z-index: 1; width: min(100%, 540px); justify-self: center; margin: 0; }
.moon-mission-visual::before { content: ""; position: absolute; inset: 5%; border: 1px solid rgba(131,222,219,.36); border-radius: 50%; box-shadow: 0 0 70px rgba(16,191,194,.25); }
.moon-mission-visual img { position: relative; z-index: 2; width: 100%; aspect-ratio: 1; display: block; object-fit: cover; border: 8px solid rgba(244,241,233,.94); border-radius: 50%; box-shadow: 0 30px 70px rgba(0,0,0,.34); animation: moonFloat 7s ease-in-out infinite; }
.moon-mission-visual figcaption { position: relative; z-index: 4; width: max-content; max-width: 90%; display: grid; gap: 3px; margin: -36px auto 0; padding: 11px 15px; color: white; border: 1px solid rgba(131,222,219,.28); border-radius: 13px; background: rgba(6,31,42,.92); text-align: center; backdrop-filter: blur(12px); }
.moon-mission-visual figcaption strong { color: var(--gold-light); font-size: 12px; }
.moon-mission-visual figcaption span { color: rgba(255,255,255,.62); font-size: 8px; }
.moon-orbit { position: absolute; z-index: 3; inset: 46% -8%; height: 12%; border: 2px solid rgba(210,168,80,.7); border-radius: 50%; transform: rotate(-12deg); animation: moonOrbitGlow 3.8s ease-in-out infinite; }
.moon-orbit-two { inset: 42% -13%; opacity: .34; animation-delay: -1.4s; }
@keyframes moonFloat { 50% { transform: translateY(-9px) rotate(.7deg); } }
@keyframes moonOrbitGlow { 50% { border-color: var(--cyan-light); filter: drop-shadow(0 0 12px rgba(16,191,194,.55)); } }

.story-visual { margin: 18px 0 19px; overflow: hidden; border: 1px solid rgba(6,31,42,.1); border-radius: 18px; background: var(--navy); box-shadow: 0 14px 34px rgba(6,31,42,.13); }
.story-visual img { width: 100%; height: clamp(210px, 24vw, 330px); display: block; object-fit: cover; background: var(--ivory); }
.story-visual figcaption { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 13px; color: white; background: linear-gradient(100deg, var(--navy), var(--teal)); }
.story-visual figcaption > span { display: grid; gap: 3px; }
.story-visual figcaption strong { font-size: 10px; line-height: 1.25; }
.story-visual figcaption small { color: rgba(255,255,255,.62); font-size: 8px; line-height: 1.3; }
.story-visual figcaption a { flex: 0 0 auto; color: var(--gold-light); font-size: 8px; font-weight: 900; text-decoration: none; }
.story-button.has-visual { min-height: 244px; padding-top: 117px; }
.story-button-image { position: absolute; z-index: 0; inset: 0 0 auto; width: 100%; height: 100px; display: block; object-fit: cover; border-bottom: 4px solid var(--story-color, var(--cyan-light)); background: var(--ivory); }
.story-image-badge { position: absolute; z-index: 2; top: 10px; right: 10px; padding: 6px 8px; color: var(--navy); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: var(--gold-light); box-shadow: 0 7px 18px rgba(6,31,42,.18); font-size: 7px; font-weight: 950; letter-spacing: .08em; }
.story-button.has-visual .story-button-meta,
.story-button.has-visual strong,
.story-button.has-visual small { position: relative; z-index: 1; }

.kids-footer {
  position: relative;
  min-height: 132px;
  color: white;
  border-top: 5px solid var(--inconfin-gold);
  background:
    radial-gradient(circle at 10% 0, rgba(16,191,194,.28), transparent 32%),
    linear-gradient(105deg, var(--inconfin-navy), #0b4654 62%, var(--inconfin-teal));
}
.kids-footer p { display: grid; gap: 5px; }
.kids-footer p strong { color: var(--gold-light); font-size: 12px; }
.kids-footer p span { color: rgba(255,255,255,.72); font-size: 9px; }
.kids-footer nav { justify-self: end; display: flex; gap: 8px; }
.kids-footer nav a { min-height: 42px; display: grid; place-items: center; padding: 0 13px; color: var(--navy); border-radius: 11px; background: var(--cyan-light); font-size: 9px; font-weight: 900; text-decoration: none; }
.kids-footer nav a:last-child { background: var(--gold-light); }

@media (max-width: 1100px) {
  .kids-mobile-nav { grid-template-columns: repeat(4, 1fr); }
  .kids-moon-mission { grid-template-columns: 1fr 1fr; padding: 38px; }
  .kids-footer nav { justify-self: center; }
}

@media (max-width: 780px) {
  .creator-ribbon { display: grid; gap: 2px; padding-block: 7px; }
  .kids-hero { min-height: 0; display: flex; flex-direction: column; }
  .kids-hero-copy { position: relative; inset: auto; order: 2; padding: 34px 22px 78px; background: linear-gradient(135deg, var(--navy), #0b4654); }
  .kids-hero-visual { order: 1; min-height: 440px; height: min(58svh, 560px); }
  .kids-hero-visual img { object-position: 64% center; }
  .kids-moon-mission { grid-template-columns: 1fr; width: min(100% - 24px, 720px); margin-top: 36px; padding: 30px 24px 38px; }
  .moon-mission-visual { grid-row: 1; width: min(100%, 440px); }
  .moon-mission-copy { grid-row: 2; }
  .moon-mission-copy h2 { font-size: clamp(42px, 11vw, 62px); }
  .story-visual figcaption { align-items: flex-start; flex-direction: column; }
  .kids-footer nav { flex-wrap: wrap; justify-content: center; }
  .globe-controls { flex-wrap: wrap; }
  .kids-globe-wrap { height: clamp(430px, 120vw, 545px); min-height: 430px; }
  #kidsGlobe { min-height: 0; }
  .story-card.has-story-visual { grid-template-columns: 1fr; }
  .story-card.has-story-visual > :not(.story-visual),
  .story-card.has-story-visual .story-visual { grid-column: 1; }
  .story-card.has-story-visual .story-visual { grid-row: auto; margin: 18px 0 19px; }
  .story-card.has-story-visual .story-visual img { height: clamp(220px, 58vw, 390px); }
  .kids-inline-country-heading { align-items: flex-start; }
  .kids-inline-country-heading p { line-height: 1.45; }
  .kids-inline-country .country-profile { padding: 24px 18px; }
}

@media (max-width: 470px) {
  .kids-mobile-nav a { grid-template-columns: 1fr; gap: 1px; font-size: 8px; }
  .kids-hero-visual { min-height: 380px; height: 50svh; }
  .kids-hero-copy { padding: 27px 17px 72px; }
  .kids-hero h1 { font-size: 40px; }
  .kids-moon-mission { padding-inline: 17px; border-radius: 24px; }
  .moon-mission-actions { display: grid; }
  .story-visual img { height: 220px; }
  .story-button.has-visual { min-height: 230px; }
}

/* 0.15 · fototeca curiosa, curiosímetro y laboratorio de juegos */
.curiosity-deck,
.photo-library,
.game-lab { scroll-margin-top: 116px; }

.curiosity-deck {
  position: relative;
  width: min(100% - 40px, 1320px);
  min-height: 350px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 180px;
  align-items: center;
  gap: clamp(24px, 4vw, 62px);
  margin: 42px auto 68px;
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
  color: white;
  border: 1px solid rgba(131,222,219,.28);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 30%, rgba(16,191,194,.32), transparent 23%),
    radial-gradient(circle at 88% 20%, rgba(210,168,80,.18), transparent 24%),
    linear-gradient(120deg, var(--navy), #0a4350 65%, var(--teal));
  box-shadow: 0 28px 72px rgba(6,31,42,.2);
}
.curiosity-deck::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.17) 1px, transparent 0); background-size: 31px 31px; mask-image: linear-gradient(90deg, transparent, black, transparent); }
.curiosity-orb { position: relative; z-index: 1; width: 210px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(131,222,219,.55); border-radius: 50%; color: var(--gold-light); background: radial-gradient(circle at 32% 28%, #18cfd0, var(--teal) 48%, #05242f 75%); box-shadow: inset -24px -24px 44px rgba(0,0,0,.24), 0 0 70px rgba(16,191,194,.22); font: 500 104px/1 Georgia, serif; }
.curiosity-orb::before, .curiosity-orb::after { content: ""; position: absolute; inset: -18%; border: 1px solid rgba(210,168,80,.4); border-radius: 50%; transform: rotate(16deg) scaleY(.36); }
.curiosity-orb::after { inset: -31%; opacity: .4; transform: rotate(-23deg) scaleY(.28); }
.curiosity-orb i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 16px var(--gold); animation: curiosityBlink 2.2s ease-in-out infinite; }
.curiosity-orb i:first-of-type { top: 15%; right: 2%; }
.curiosity-orb i:last-of-type { bottom: 6%; left: 13%; animation-delay: -1s; }
@keyframes curiosityBlink { 50% { transform: scale(1.8); opacity: .45; } }
.curiosity-copy { position: relative; z-index: 2; }
.curiosity-copy h2 { margin: 0 0 22px; color: white; font: 500 clamp(37px, 4vw, 58px)/.98 Georgia, serif; letter-spacing: -.035em; }
.curiosity-eyebrow { margin: 0 0 8px; color: var(--gold-light); font-size: 9px; font-weight: 950; letter-spacing: .15em; }
.curiosity-copy h3 { max-width: 780px; margin: 0; color: white; font-size: clamp(19px, 2vw, 28px); line-height: 1.16; }
.curiosity-copy > p:not(.section-kicker):not(.curiosity-eyebrow):not(.curiosity-question) { max-width: 810px; margin: 12px 0 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.58; }
.curiosity-question { max-width: 810px; margin: 13px 0 0; padding-left: 13px; color: var(--cyan-light); border-left: 3px solid var(--gold); font-size: 12px; font-weight: 850; line-height: 1.45; }
.curiosity-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 19px; }
.curiosity-actions button, .curiosity-actions a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 0; border-radius: 12px; color: var(--navy); background: var(--gold-light); font-size: 10px; font-weight: 950; text-decoration: none; }
.curiosity-actions a { border: 1px solid rgba(131,222,219,.32); color: var(--ivory); background: rgba(255,255,255,.07); }
.curiosity-meter { position: relative; z-index: 2; display: grid; gap: 10px; align-self: stretch; align-content: center; padding-left: 26px; border-left: 1px solid rgba(255,255,255,.14); }
.curiosity-meter > span { display: grid; }
.curiosity-meter strong { color: var(--gold-light); font: 500 64px/1 Georgia, serif; }
.curiosity-meter small { color: rgba(255,255,255,.6); font-size: 9px; font-weight: 850; }
.curiosity-meter > div { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.1); }
.curiosity-meter i { width: 2%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--gold-light)); transition: width .35s ease; }

.photo-library { width: min(100% - 40px, 1440px); margin: 80px auto 95px; padding: clamp(28px, 4vw, 58px); border: 1px solid rgba(6,31,42,.1); border-radius: 34px; background: linear-gradient(145deg, white, #f0faf8 70%, #fff8e7); box-shadow: var(--shadow); }
.photo-library-heading { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 44px; align-items: end; }
.photo-library-heading h2, .game-lab-heading h2 { max-width: 900px; margin: 0; color: var(--navy); font: 500 clamp(44px, 5.4vw, 76px)/.94 Georgia, serif; letter-spacing: -.048em; }
.photo-library-heading > div:first-child > p:last-child, .game-lab-heading > div:first-child > p:last-child { max-width: 850px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.photo-library-total { min-height: 174px; display: grid; place-content: center; padding: 20px; color: white; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #14c6c8, var(--teal) 55%, var(--navy)); text-align: center; box-shadow: 0 18px 38px rgba(8,125,130,.2); }
.photo-library-total strong { color: var(--gold-light); font: 500 38px/1 Georgia, serif; }
.photo-library-total span { margin-top: 4px; font-size: 9px; font-weight: 950; letter-spacing: .08em; }
.photo-library-total small { margin-top: 4px; color: rgba(255,255,255,.6); font-size: 8px; }
.photo-collection-strip { display: flex; gap: 9px; margin: 34px calc(clamp(28px, 4vw, 58px) * -1) 0; padding: 7px clamp(28px, 4vw, 58px) 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--cyan) transparent; }
.photo-collection-strip button { --collection-color: var(--cyan); flex: 0 0 auto; min-width: 126px; min-height: 84px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; align-items: center; gap: 3px 8px; padding: 12px; color: var(--navy); border: 1px solid var(--line); border-radius: 17px; background: white; text-align: left; box-shadow: inset 0 -4px 0 var(--collection-color); }
.photo-collection-strip button > span { grid-row: 1 / 3; font-size: 25px; }
.photo-collection-strip button strong { align-self: end; font-size: 10px; }
.photo-collection-strip button small { align-self: start; color: var(--muted); font-size: 9px; font-weight: 900; }
.photo-collection-strip button[aria-pressed="true"] { color: white; border-color: var(--navy); background: var(--navy); box-shadow: inset 0 -5px 0 var(--collection-color), 0 12px 28px rgba(6,31,42,.16); transform: translateY(-3px); }
.photo-collection-strip button[aria-pressed="true"] small { color: var(--cyan-light); }
.photo-library-tools { min-height: 64px; display: grid; grid-template-columns: minmax(230px, 390px) 1fr auto; align-items: center; gap: 16px; margin: 15px 0 20px; padding: 9px; border: 1px solid rgba(6,31,42,.08); border-radius: 17px; background: rgba(255,255,255,.74); }
.photo-search { min-height: 44px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.photo-search span:first-child { color: var(--teal); font-size: 23px; }
.photo-search input { min-width: 0; border: 0; color: var(--navy); background: transparent; font-size: 11px; }
.photo-search input:focus { outline: 0; }
.photo-library-tools p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.photo-library-tools > button, .photo-library-actions > button { min-height: 44px; padding: 0 15px; border: 0; border-radius: 12px; color: var(--navy); background: var(--cyan-light); font-size: 10px; font-weight: 950; }
.photo-grid { min-height: 440px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo-card { min-width: 0; overflow: hidden; border: 1px solid rgba(6,31,42,.1); border-radius: 18px; background: white; box-shadow: 0 10px 24px rgba(6,31,42,.08); transition: transform .2s ease, box-shadow .2s ease; }
.photo-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(6,31,42,.15); }
.photo-card > button { position: relative; width: 100%; display: block; padding: 0; overflow: hidden; border: 0; background: var(--navy); }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; transition: transform .35s ease; }
.photo-card:hover img { transform: scale(1.035); }
.photo-card-1 { grid-column: span 2; }
.photo-card-1 img, .photo-card-6 img { aspect-ratio: 2 / 1; }
.photo-card-6 { grid-column: span 2; }
.photo-zoom { position: absolute; right: 9px; bottom: 9px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--navy); border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: var(--gold-light); box-shadow: 0 6px 20px rgba(0,0,0,.18); font-size: 18px; }
.photo-card > div { min-height: 105px; display: grid; align-content: start; gap: 4px; padding: 13px 14px 15px; }
.photo-card p { margin: 0; color: var(--teal); font-size: 7px; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.photo-card h3 { margin: 0; color: var(--navy); font-size: 13px; line-height: 1.25; }
.photo-card small { color: var(--muted); font-size: 8px; line-height: 1.35; }
.photo-skeleton { min-height: 280px; border-radius: 18px; background: linear-gradient(105deg, #e5efed 32%, #f8fbfa 45%, #e5efed 58%); background-size: 300% 100%; animation: photoLoading 1.3s ease-in-out infinite; animation-delay: var(--delay); }
@keyframes photoLoading { to { background-position: -100% 0; } }
.photo-empty { grid-column: 1 / -1; align-self: center; justify-self: center; max-width: 520px; padding: 28px; color: var(--muted); border-radius: 18px; background: white; text-align: center; line-height: 1.5; }
.photo-library-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; }
.photo-library-actions > button { min-width: 220px; color: white; background: var(--teal); }
.photo-library-actions p { max-width: 720px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }

.photo-dialog { width: min(1120px, calc(100% - 24px)); max-height: calc(100svh - 24px); padding: 0; overflow: hidden; border: 1px solid rgba(131,222,219,.34); border-radius: 26px; color: white; background: var(--navy); box-shadow: 0 34px 110px rgba(3,20,28,.55); }
.photo-dialog::backdrop { background: rgba(3,20,28,.82); backdrop-filter: blur(10px); }
.photo-dialog-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: white; background: rgba(6,31,42,.84); font-size: 25px; }
.photo-dialog figure { min-height: 540px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); margin: 0; }
.photo-dialog img { width: 100%; height: min(78svh, 780px); display: block; object-fit: contain; background: #020b0f; }
.photo-dialog figcaption { display: grid; align-content: center; gap: 12px; padding: clamp(26px, 4vw, 52px); background: radial-gradient(circle at 80% 15%, rgba(16,191,194,.25), transparent 30%), var(--navy); }
.photo-dialog h2 { margin: 0; color: white; font: 500 clamp(30px, 4vw, 51px)/1 Georgia, serif; }
.photo-dialog figcaption > p:not(.section-kicker) { color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.5; }
.photo-dialog figcaption a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; color: var(--navy); border-radius: 12px; background: var(--gold-light); font-size: 9px; font-weight: 950; text-decoration: none; }

.game-lab { width: min(100% - 40px, 1320px); margin: 86px auto; }
.game-lab-heading { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: end; gap: 44px; margin-bottom: 30px; }
.curious-passport { min-height: 104px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 5px 13px; padding: 18px 20px; color: white; border-radius: 20px; background: linear-gradient(120deg, var(--navy), var(--teal)); box-shadow: 0 16px 34px rgba(6,31,42,.18); }
.curious-passport > span { grid-row: 1 / 3; color: var(--gold-light); font-size: 42px; }
.curious-passport strong, .curious-passport small { display: block; }
.curious-passport strong { font-size: 12px; }
.curious-passport small { margin-top: 3px; color: var(--cyan-light); font-size: 9px; }
.passport-dots { grid-column: 2; display: flex; gap: 5px; }
.passport-dots i { width: 22px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.14); }
.passport-dots i.is-earned { background: var(--gold-light); box-shadow: 0 0 12px rgba(234,211,155,.45); }
.game-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 8px 8px 0; border: 1px solid rgba(6,31,42,.12); border-bottom: 0; border-radius: 22px 22px 0 0; background: #edf7f5; }
.game-tabs button { min-height: 94px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr 1fr; align-items: center; gap: 0 10px; padding: 13px; color: var(--navy); border: 1px solid transparent; border-radius: 15px 15px 0 0; background: transparent; text-align: left; }
.game-tabs button > span { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: white; font-size: 24px; }
.game-tabs button strong { align-self: end; font-size: 11px; }
.game-tabs button small { align-self: start; color: var(--muted); font-size: 8px; }
.game-tabs button[aria-selected="true"] { color: white; border-color: rgba(131,222,219,.24); background: var(--navy); box-shadow: inset 0 4px 0 var(--gold); }
.game-tabs button[aria-selected="true"] small { color: var(--cyan-light); }
.game-tabs button[aria-selected="true"] > span { color: var(--navy); background: var(--gold-light); }
.game-stage { min-height: 560px; overflow: hidden; color: white; border-radius: 0 0 30px 30px; background: radial-gradient(circle at 78% 18%, rgba(16,191,194,.28), transparent 29%), linear-gradient(125deg, var(--navy), #083a47); box-shadow: 0 28px 68px rgba(6,31,42,.22); }
.game-panel { min-height: 560px; display: grid; grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 70px); align-items: center; padding: clamp(26px, 5vw, 64px); }
.game-intro h3 { margin: 5px 0 12px; color: white; font: 500 clamp(34px, 4vw, 56px)/.98 Georgia, serif; letter-spacing: -.035em; }
.game-intro > p:not(.section-kicker):not(.game-status) { color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.55; }
.game-intro > button { min-height: 44px; margin-top: 13px; padding: 0 14px; color: var(--navy); border: 0; border-radius: 12px; background: var(--gold-light); font-size: 9px; font-weight: 950; }
.game-status { min-height: 44px; margin: 16px 0 0; padding: 12px 14px; color: var(--navy); border-left: 5px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--ivory); font-size: 10px; font-weight: 900; line-height: 1.45; }
.memory-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; perspective: 900px; }
.memory-card { position: relative; min-height: 128px; padding: 0; border: 1px solid rgba(131,222,219,.24); border-radius: 16px; color: white; background: rgba(255,255,255,.06); transform-style: preserve-3d; transition: transform .3s ease, background .2s ease; }
.memory-card:hover { background: rgba(131,222,219,.11); }
.memory-back, .memory-face { position: absolute; inset: 0; display: grid; place-content: center; border-radius: inherit; backface-visibility: hidden; }
.memory-back { color: var(--gold-light); font: 500 42px/1 Georgia, serif; }
.memory-face { gap: 4px; padding: 9px; color: var(--navy); background: var(--ivory); transform: rotateY(180deg); text-align: center; }
.memory-face b { font-size: 30px; }
.memory-face strong { font-size: 10px; }
.memory-face small { color: var(--muted); font-size: 7px; }
.memory-card[data-open="true"] { transform: rotateY(180deg); }
.memory-card:disabled .memory-face { box-shadow: inset 0 -5px 0 var(--gold); }
.memory-board + .game-status { grid-column: 2; }
.timeline-game-board { align-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.timeline-game-board button { min-height: 142px; display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 4px 11px; padding: 17px; color: white; border: 1px solid rgba(131,222,219,.25); border-radius: 17px; background: rgba(255,255,255,.065); text-align: left; }
.timeline-game-board button span { grid-row: 1 / 3; font-size: 30px; }
.timeline-game-board button strong { font-size: 12px; }
.timeline-game-board button small { color: var(--cyan-light); font-size: 8px; }
.timeline-game-board button:disabled { opacity: .32; }
.timeline-answer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; min-height: 38px; }
.timeline-answer span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; color: var(--navy); border-radius: 9px; background: var(--gold-light); font-size: 8px; font-weight: 900; }
.timeline-answer b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); }
#game-time { grid-template-columns: minmax(260px, .36fr) minmax(0, .64fr); }
#game-time .timeline-answer, #game-time .game-status { grid-column: 2; }
.detective-image { position: relative; min-height: 430px; overflow: hidden; border: 7px solid var(--ivory); border-radius: 26px; background: #020b0f; box-shadow: 0 24px 54px rgba(0,0,0,.28); }
.detective-image img { width: 100%; height: 430px; display: block; object-fit: cover; }
.detective-image > span { position: absolute; top: 18px; right: 18px; width: 72px; height: 72px; display: grid; place-items: center; color: var(--navy); border: 6px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(234,211,155,.85); box-shadow: 0 12px 28px rgba(0,0,0,.2); font-size: 32px; }
.detective-image > a { position: absolute; right: 12px; bottom: 12px; padding: 9px 11px; color: var(--navy); border-radius: 9px; background: rgba(244,241,233,.92); font-size: 8px; font-weight: 950; text-decoration: none; }
.game-option-list { display: grid; gap: 8px; margin-top: 19px; }
.game-option-list button { min-height: 48px; padding: 9px 14px; color: var(--navy); border: 1px solid rgba(6,31,42,.12); border-radius: 12px; background: var(--ivory); font-size: 10px; font-weight: 900; text-align: left; }
.game-option-list button.is-correct { color: #145f38; border-color: #61ad79; background: #eaf8ef; }
.game-option-list button.is-wrong { color: #8f3f34; border-color: #e9998c; background: #fff0ed; }
.map-game-orb { position: relative; width: min(380px, 90%); aspect-ratio: 1; display: grid; place-items: center; justify-self: center; border: 1px solid rgba(131,222,219,.44); border-radius: 50%; background: radial-gradient(circle at 35% 28%, #13cacc, var(--teal) 52%, var(--navy)); box-shadow: inset -28px -22px 48px rgba(0,0,0,.26), 0 0 70px rgba(16,191,194,.2); font-size: clamp(110px, 15vw, 190px); }
.map-game-orb::before, .map-game-orb::after { content: ""; position: absolute; inset: -8%; border: 1px solid rgba(210,168,80,.5); border-radius: 50%; transform: rotate(18deg) scaleY(.34); }
.map-game-orb::after { inset: -18%; transform: rotate(-28deg) scaleY(.26); opacity: .5; }
.map-game-orb i { position: absolute; top: 10%; right: 4%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 18px var(--gold); }

@media (max-width: 1100px) {
  .kids-mobile-nav { grid-template-columns: repeat(5, 1fr); }
  .curiosity-deck { grid-template-columns: 180px 1fr; }
  .curiosity-orb { width: 165px; font-size: 78px; }
  .curiosity-meter { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .curiosity-meter strong { font-size: 40px; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-card-6 { grid-column: span 1; }
  .photo-card-6 img { aspect-ratio: 4 / 3; }
  .game-panel { grid-template-columns: minmax(230px, .38fr) minmax(0, .62fr); }
  .memory-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .curiosity-deck, .photo-library, .game-lab { width: min(100% - 24px, 720px); }
  .curiosity-deck { grid-template-columns: 1fr; margin-top: 28px; padding: 29px 23px; }
  .curiosity-orb { width: 138px; justify-self: center; font-size: 64px; }
  .curiosity-copy h2 { font-size: 42px; }
  .curiosity-meter { grid-column: 1; }
  .photo-library { padding: 28px 18px; }
  .photo-library-heading { grid-template-columns: 1fr; gap: 20px; }
  .photo-library-total { min-height: 92px; grid-template-columns: auto 1fr; grid-template-rows: auto auto; place-content: center; gap: 0 11px; border-radius: 20px; text-align: left; }
  .photo-library-total strong { grid-row: 1 / 3; font-size: 35px; }
  .photo-library-heading h2, .game-lab-heading h2 { font-size: 46px; }
  .photo-collection-strip { margin-inline: -18px; padding-inline: 18px; }
  .photo-library-tools { grid-template-columns: 1fr auto; }
  .photo-library-tools p { grid-column: 1 / -1; grid-row: 2; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-card-1 { grid-column: span 2; }
  .photo-library-actions { align-items: stretch; flex-direction: column; }
  .photo-dialog { overflow-y: auto; }
  .photo-dialog figure { grid-template-columns: 1fr; }
  .photo-dialog img { height: min(58svh, 520px); }
  .game-lab-heading { grid-template-columns: 1fr; gap: 18px; }
  .game-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-tabs button { min-height: 78px; border-radius: 13px; }
  .game-stage { border-radius: 0 0 24px 24px; }
  .game-panel, #game-time { grid-template-columns: 1fr; }
  .memory-board + .game-status { grid-column: 1; }
  #game-time .timeline-answer, #game-time .game-status { grid-column: 1; }
  .memory-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detective-image { min-height: 360px; }
  .detective-image img { height: 360px; }
  .map-game-orb { width: min(270px, 75%); font-size: 120px; }
}

@media (max-width: 470px) {
  .curiosity-copy h2, .photo-library-heading h2, .game-lab-heading h2 { font-size: 38px; }
  .curiosity-actions { display: grid; }
  .curiosity-actions button, .curiosity-actions a { width: 100%; justify-content: center; }
  .curiosity-meter { grid-template-columns: auto 1fr; }
  .curiosity-meter > small { grid-column: 2; }
  .photo-library-total { grid-template-columns: auto 1fr; }
  .photo-library-tools { grid-template-columns: 1fr; }
  .photo-library-tools > button, .photo-library-tools p { grid-column: 1; grid-row: auto; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card-1 { grid-column: span 1; }
  .photo-card-1 img { aspect-ratio: 4 / 3; }
  .photo-library-actions > button { min-width: 0; width: 100%; }
  .game-tabs { grid-template-columns: 1fr 1fr; }
  .game-tabs button { min-height: 86px; grid-template-columns: auto 1fr; padding: 9px; }
  .game-tabs button > span { width: 36px; height: 36px; font-size: 19px; }
  .game-panel { padding: 25px 16px 32px; }
  .memory-board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .memory-card { min-height: 98px; }
  .memory-face b { font-size: 24px; }
  .memory-face small { display: none; }
  .timeline-game-board { grid-template-columns: 1fr; }
  .timeline-game-board button { min-height: 105px; }
  .detective-image, .detective-image img { min-height: 290px; height: 290px; }
  .detective-image > span { width: 54px; height: 54px; font-size: 24px; }
  .map-game-orb { width: 230px; font-size: 100px; }
}

/* 0.18 · laboratorio ampliado: anatomía, astronomía, capitales e idiomas */
.game-lab-heading { align-items: center; }
.passport-dots { flex-wrap: wrap; }
.game-tabs { padding-bottom: 8px; border-bottom: 1px solid rgba(6,31,42,.12); }
.game-tabs button { position: relative; border-radius: 15px; }
.game-tabs button:nth-child(n+5)::after {
  content: "NUEVO";
  position: absolute;
  top: 6px;
  right: 7px;
  padding: 3px 5px;
  color: white;
  border-radius: 999px;
  background: var(--inconfin-red);
  font-size: 6px;
  font-weight: 950;
  letter-spacing: .11em;
}
.game-tabs button[aria-selected="true"]::after { color: var(--navy); background: var(--gold-light); }
.game-source-link {
  display: inline-flex;
  margin-top: 13px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.45;
}

.anatomy-game-panel { grid-template-columns: minmax(250px, .32fr) minmax(0, .68fr); }
.anatomy-lab {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(180px, .62fr);
  gap: 18px;
  align-items: center;
}
.anatomy-lab > .game-status { grid-column: 1 / -1; margin: 0; }
.body-map {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: .72;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 34px;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, rgba(223,31,63,.18), transparent 36%),
    rgba(255,255,255,.055);
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: inset 0 0 50px rgba(6,22,50,.35);
}
.body-map::before {
  content: "MAPA DEL CUERPO · MODELO EDUCATIVO";
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 16px;
  color: rgba(255,255,255,.55);
  font-size: 7px;
  font-weight: 950;
  letter-spacing: .13em;
}
.body-silhouette i { position: absolute; display: block; background: rgba(255,255,255,.78); box-shadow: inset 0 0 0 2px rgba(11,35,74,.08); }
.body-head { top: 8%; left: 50%; width: 23%; aspect-ratio: .86; border-radius: 50% 50% 44% 44%; transform: translateX(-50%); }
.body-torso { top: 25%; left: 50%; width: 34%; height: 40%; border-radius: 36% 36% 26% 26%; transform: translateX(-50%); }
.body-arm { top: 27%; width: 10%; height: 41%; border-radius: 999px; transform-origin: 50% 8%; }
.body-arm-left { left: 27%; transform: rotate(9deg); }
.body-arm-right { right: 27%; transform: rotate(-9deg); }
.body-leg { top: 59%; width: 13%; height: 34%; border-radius: 0 0 999px 999px; }
.body-leg-left { left: 36.5%; transform: rotate(2deg); }
.body-leg-right { right: 36.5%; transform: rotate(-2deg); }
.organ-slot {
  position: absolute;
  z-index: 4;
  min-width: 54px;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 4px 7px;
  color: var(--navy);
  border: 2px dashed rgba(11,35,74,.46);
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  transform: translate(-50%, -50%);
  font-size: 8px;
  font-weight: 950;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.organ-slot:hover,
.organ-slot.is-target { background: #fff0f3; box-shadow: 0 0 0 4px rgba(223,31,63,.18); transform: translate(-50%, -50%) scale(1.06); }
.organ-slot.is-filled { color: white; border-style: solid; border-color: var(--brand-gold, #b99646); background: var(--inconfin-red); box-shadow: 0 7px 17px rgba(6,22,50,.25); }
.organ-slot.is-wrong { animation: organShake .28s ease; background: #fff0f3; }
.organ-slot span { pointer-events: none; }
.organ-slot.is-filled span { display: grid; grid-template-columns: auto auto; align-items: center; gap: 3px; }
.organ-slot.is-filled b { font-size: 15px; }
.organ-slot.is-filled small { font-size: 6px; letter-spacing: .03em; }
.slot-brain { top: 15%; left: 50%; }
.slot-lungs { top: 32%; left: 48%; }
.slot-heart { top: 39%; left: 54%; }
.slot-liver { top: 45.5%; left: 46%; }
.slot-stomach { top: 50.5%; left: 55%; }
.slot-kidneys { top: 55.5%; left: 45%; }
.slot-intestine { top: 61%; left: 52%; }
@keyframes organShake { 25% { margin-left: -5px; } 75% { margin-left: 5px; } }
.organ-tray { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.organ-piece {
  min-height: 72px;
  display: grid;
  place-content: center;
  gap: 3px;
  padding: 9px;
  color: var(--navy);
  border: 2px solid transparent;
  border-radius: 15px;
  background: white;
  box-shadow: 0 9px 20px rgba(6,22,50,.17);
  text-align: center;
  touch-action: manipulation;
}
.organ-piece span { font-size: 24px; line-height: 1; }
.organ-piece strong { font-size: 8px; }
.organ-piece small { color: var(--muted); font-size: 6px; line-height: 1.25; }
.organ-piece.is-selected { color: white; border-color: var(--gold-light); background: var(--inconfin-red); transform: translateY(-3px); }
.organ-piece.is-selected small { color: rgba(255,255,255,.72); }
.organ-piece:disabled { visibility: hidden; }

.solar-game-panel { grid-template-columns: minmax(250px, .34fr) minmax(0, .66fr); }
.solar-game-world { min-width: 0; display: grid; gap: 18px; }
.solar-orbit-answer {
  min-height: 136px;
  display: flex;
  align-items: center;
  gap: clamp(5px, 1vw, 12px);
  padding: 20px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 70px;
  background: radial-gradient(circle at 8% 50%, rgba(255,191,76,.3), transparent 18%), rgba(255,255,255,.055);
}
.solar-orbit-answer > strong { flex: 0 0 auto; color: #ffd66d; font-size: 58px; filter: drop-shadow(0 0 16px rgba(255,190,78,.48)); }
.solar-answer-planet { flex: 0 0 auto; display: grid; place-items: center; gap: 4px; }
.solar-answer-planet b { width: var(--planet-size, 34px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--planet-color); box-shadow: inset -7px -5px 10px rgba(0,0,0,.25), 0 0 13px color-mix(in srgb, var(--planet-color), transparent 38%); font-size: calc(var(--planet-size, 34px) * .52); }
.solar-answer-planet small { color: rgba(255,255,255,.72); font-size: 6px; font-weight: 900; }
.solar-answer-planet.is-dwarf { margin-left: 5px; padding-left: 12px; border-left: 1px dashed rgba(255,255,255,.35); }
.solar-answer-planet.is-dwarf small { color: var(--gold-light); }
.solar-planet-tray { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.solar-planet-tray button { min-height: 74px; display: grid; place-items: center; gap: 3px; color: white; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.06); font-size: 9px; font-weight: 900; }
.solar-planet-tray button span { width: 31px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--planet-color); box-shadow: inset -6px -4px 9px rgba(0,0,0,.25); font-size: 17px; }
.solar-planet-tray button:hover { border-color: var(--gold-light); background: rgba(255,255,255,.12); transform: translateY(-2px); }
.solar-planet-tray button:disabled { opacity: .22; }

.capital-passport {
  position: relative;
  width: min(430px, 92%);
  min-height: 290px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  justify-self: center;
  overflow: hidden;
  color: var(--navy);
  border: 9px solid white;
  border-radius: 23px;
  background: linear-gradient(135deg, #faf7f1, #e9dfc8);
  box-shadow: 0 26px 56px rgba(0,0,0,.28), inset 0 0 0 2px var(--gold);
  transform: rotate(-2deg);
}
.capital-passport::before,
.capital-passport::after { content: ""; position: absolute; width: 170px; aspect-ratio: 1; border: 2px solid rgba(11,35,74,.12); border-radius: 50%; }
.capital-passport::before { top: -72px; left: -35px; }
.capital-passport::after { right: -64px; bottom: -62px; }
.capital-passport span { color: var(--inconfin-red); font-size: 10px; font-weight: 950; letter-spacing: .18em; }
.capital-passport strong { color: var(--navy); font: 500 84px/1 Georgia, serif; }
.capital-passport small { font-size: 8px; font-weight: 950; letter-spacing: .13em; }
.capital-passport i { width: 54px; aspect-ratio: 1; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--inconfin-red); font-style: normal; font-size: 25px; box-shadow: 0 0 0 6px rgba(223,31,63,.13); }

.voice-radio {
  position: relative;
  width: min(430px, 92%);
  min-height: 330px;
  display: grid;
  place-content: center;
  gap: 13px;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 42% 42% 24px 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.055));
  box-shadow: inset 0 0 70px rgba(6,22,50,.35), 0 25px 54px rgba(0,0,0,.23);
  text-align: center;
}
.voice-radio::before { content: ""; position: absolute; top: 22px; left: 50%; width: 2px; height: 70px; background: var(--gold-light); transform: rotate(25deg); transform-origin: bottom; }
.voice-radio > div { height: 62px; display: flex; align-items: end; justify-content: center; gap: 7px; }
.voice-radio > div span { width: 8px; height: 24%; border-radius: 99px; background: var(--inconfin-red); animation: radioWave 1.1s ease-in-out infinite alternate; }
.voice-radio > div span:nth-child(2) { height: 62%; animation-delay: -.2s; }
.voice-radio > div span:nth-child(3) { height: 100%; animation-delay: -.4s; }
.voice-radio > div span:nth-child(4) { height: 70%; animation-delay: -.6s; }
.voice-radio > div span:nth-child(5) { height: 38%; animation-delay: -.8s; }
@keyframes radioWave { to { height: 94%; background: var(--gold-light); } }
.voice-radio strong { max-width: 360px; padding: 0 20px; color: white; font: 500 clamp(40px, 5vw, 68px)/.95 Georgia, serif; letter-spacing: -.03em; }
.voice-radio small { color: var(--gold-light); font-size: 8px; font-weight: 950; letter-spacing: .14em; }

@media (max-width: 1100px) {
  .anatomy-game-panel,
  .solar-game-panel { grid-template-columns: 1fr; }
  .anatomy-lab { grid-template-columns: minmax(250px, 1fr) minmax(190px, .72fr); }
}

@media (max-width: 780px) {
  .anatomy-lab { grid-template-columns: 1fr; }
  .body-map { width: min(100%, 330px); }
  .organ-tray { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .organ-piece { min-height: 69px; padding-inline: 5px; }
  .solar-planet-tray { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .capital-passport,
  .voice-radio { grid-row: 1; }
}

@media (max-width: 470px) {
  .game-tabs button:nth-child(n+5)::after { top: 4px; right: 4px; font-size: 5px; }
  .anatomy-game-panel,
  .solar-game-panel { padding-inline: 13px; }
  .body-map { width: 280px; }
  .organ-tray { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solar-orbit-answer { min-height: 112px; padding: 14px; }
  .solar-orbit-answer > strong { font-size: 43px; }
  .solar-answer-planet b { --planet-size: 27px !important; }
  .solar-answer-planet small { display: none; }
  .solar-planet-tray { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capital-passport { min-height: 235px; }
  .capital-passport strong { font-size: 65px; }
  .voice-radio { min-height: 260px; }
}
