@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Inter:wght@400;600;700&display=swap");

:root {
  --bg: #05070d;
  --bg-2: #090e19;
  --text: #e6efff;
  --muted: #9babc4;
  --accent: #7dd3fc;
  --accent-2: #a78bfa;
  --accent-3: #22c55e;
  --danger: #ff6b6b;
  --border: rgba(148, 163, 184, .22);
  --panel: rgba(10, 16, 28, .72);
  --panel-2: rgba(13, 20, 35, .84);
  --shadow: 0 18px 45px rgba(0, 0, 0, .42);
  --display: "Orbitron", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body {
  background:
    radial-gradient(800px 500px at 8% -10%, rgba(125, 211, 252, .13), transparent 60%),
    radial-gradient(700px 420px at 100% 8%, rgba(34, 197, 94, .10), transparent 65%),
    var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--body);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body[data-page="public"],
body[data-page="article"] {
  --bg: #edf0f2;
  --bg-2: #fbfaf6;
  --text: #172033;
  --muted: #5f6c80;
  --accent: #4cc9f0;
  --accent-2: #80ed99;
  --border: rgba(45, 55, 72, .14);
  --panel: rgba(255, 252, 246, .92);
  --panel-2: rgba(250, 246, 239, .92);
  --shadow: 0 18px 45px rgba(30, 41, 59, .08);
  --page-top: #eef1ed;
  --page-mid: #f4f1ea;
  --page-bottom: #f7f5f0;
  --page-grid: rgba(73, 83, 97, .05);
  --page-card-border: rgba(45, 55, 72, .10);
  --page-card-bg: rgba(255, 252, 246, .88);
  --page-header-bg: rgba(250, 247, 241, .86);
  --page-header-border: rgba(45, 55, 72, .10);
  --hero-radial-1: rgba(143, 167, 182, .16);
  --hero-radial-2: rgba(194, 176, 149, .14);
  --hero-bg: linear-gradient(180deg, rgba(252, 250, 246, .84), rgba(245, 242, 236, .52));
  --signal-bg: rgba(255, 250, 242, .72);
  --signal-border: rgba(78, 90, 106, .12);
  --signal-text: #31435a;
  --chip-bg: rgba(255, 252, 246, .76);
  --chip-text: #536276;
  --page-density-gap: 1rem;
  --page-density-padding: 1rem;
  --page-copy-line: 1.72;
  --page-card-radius: 8px;
  background:
    linear-gradient(90deg, var(--page-grid) 1px, transparent 1px),
    linear-gradient(180deg, var(--page-grid) 1px, transparent 1px),
    radial-gradient(500px 260px at 85% 14%, rgba(143, 167, 182, .10), transparent 72%),
    radial-gradient(460px 240px at 12% 22%, rgba(194, 176, 149, .09), transparent 72%),
    linear-gradient(180deg, var(--page-top) 0%, var(--page-mid) 44%, var(--page-bottom) 100%);
  background-size: 48px 48px, 48px 48px, cover, cover, cover;
  background-position: center, center, center, center, center;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
  background-blend-mode: normal, normal, normal, normal, normal;
  color: var(--text);
}

html[data-appearance="dark"] body[data-page="public"],
html[data-appearance="dark"] body[data-page="article"] {
  --bg: #0f1722;
  --bg-2: #162030;
  --text: #e8eef8;
  --muted: #aab7ca;
  --accent: #7dd3fc;
  --accent-2: #93c5fd;
  --border: rgba(124, 146, 176, .26);
  --panel: rgba(20, 30, 44, .82);
  --panel-2: rgba(16, 24, 36, .88);
  --shadow: 0 22px 55px rgba(2, 8, 20, .44);
  --page-top: #09111c;
  --page-mid: #101827;
  --page-bottom: #131d2d;
  --page-grid: rgba(111, 151, 205, .08);
  --page-card-border: rgba(124, 146, 176, .22);
  --page-card-bg: rgba(18, 28, 42, .78);
  --page-header-bg: rgba(9, 16, 27, .84);
  --page-header-border: rgba(124, 146, 176, .16);
  --hero-radial-1: rgba(76, 201, 240, .17);
  --hero-radial-2: rgba(96, 165, 250, .12);
  --hero-bg: linear-gradient(180deg, rgba(12, 20, 33, .84), rgba(12, 18, 30, .54));
  --signal-bg: rgba(17, 28, 42, .74);
  --signal-border: rgba(124, 146, 176, .2);
  --signal-text: #d6e3f4;
  --chip-bg: rgba(17, 28, 42, .78);
  --chip-text: #d6e3f4;
}

html[data-reading-mode="kid"] body[data-page="public"],
html[data-reading-mode="kid"] body[data-page="article"] {
  --page-density-gap: 1.12rem;
  --page-density-padding: 1.08rem;
  --page-copy-line: 1.8;
  --page-card-radius: 12px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, .18), rgba(248, 251, 255, .14)),
    radial-gradient(960px 520px at 16% 12%, rgba(76, 201, 240, .05), transparent 72%),
    radial-gradient(820px 420px at 88% 18%, rgba(167, 139, 250, .04), transparent 74%),
    url("/assets/img/kid-mode/kid-tech.png");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-page="public"] > #main,
body[data-page="article"] > #main {
  flex: 1 0 auto;
}

html[data-reading-mode="normal"] body[data-page="public"],
html[data-reading-mode="normal"] body[data-page="article"] {
  --page-density-gap: .92rem;
  --page-density-padding: .95rem;
  --page-copy-line: 1.66;
  --page-card-radius: 8px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 16% 22%, rgba(255, 255, 255, .65), transparent),
    radial-gradient(1px 1px at 46% 72%, rgba(125, 211, 252, .7), transparent),
    radial-gradient(1px 1px at 82% 34%, rgba(167, 139, 250, .8), transparent);
  opacity: .5;
}

body[data-page="public"]::before,
body[data-page="article"]::before,
body[data-page="public"]::after,
body[data-page="article"]::after {
  display: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); letter-spacing: 0; }
h1 { max-width: 760px; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.04; margin-bottom: 1rem; }
h2 { font-size: 1.1rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--bg-2); padding: .5rem .8rem; border: 1px solid var(--border); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(5, 7, 13, .76);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

body[data-page="public"] .site-header,
body[data-page="article"] .site-header {
  background: var(--page-header-bg);
  border-bottom-color: var(--page-header-border);
  box-shadow: 0 8px 28px rgba(30, 41, 59, .06);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.public-nav {
  position: relative;
}

.brand { display: inline-flex; align-items: center; gap: .85rem; min-width: 0; }
.brand-copy {
  display: grid;
  gap: .12rem;
  min-width: 0;
}

.brand-copy strong {
  color: var(--text);
  font-size: .98rem;
  line-height: 1.1;
}

.brand small { display: block; color: var(--muted); font-size: .78rem; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .3rem;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .4rem .72rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-current {
  color: var(--text);
  background: color-mix(in srgb, var(--page-card-bg), white 16%);
  box-shadow: 0 6px 18px rgba(30, 41, 59, .06);
}

.nav-link--cta {
  border: 1px solid color-mix(in srgb, var(--route-accent, #4cc9f0), transparent 72%);
}

.nav-link--cta .nav-link__icon {
  color: color-mix(in srgb, var(--text), #22c7c7 34%);
}

.nav-link__label--kids-brand {
  display: inline-flex;
  align-items: baseline;
  gap: .03em;
  font-family: var(--display);
  font-size: .98em;
  font-weight: 700;
  line-height: 1;
}

.kids-brand__ttu,
.kids-brand__dot,
.kids-brand__kids {
  display: inline-block;
}

.kids-brand__ttu {
  font-weight: 800;
  letter-spacing: .015em;
  background: linear-gradient(90deg, #ff4b4b 0 34%, #f8c13c 34% 67%, #21c7c4 67% 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.kids-brand__dot {
  margin: 0 .015em 0 .02em;
  color: #8a46cf;
  font-weight: 800;
}

.kids-brand__kids {
  font-family: var(--body);
  font-size: .9em;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  transform: translateY(.02em);
  background: linear-gradient(90deg, #5b61d6 0 34%, #ff7a21 34% 56%, #6fca45 56% 80%, #ef6fb2 80% 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.nav-link__icon {
  display: none;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
}

.nav-link__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-link__label {
  display: inline-flex;
  align-items: center;
}

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--page-card-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--page-card-bg), white 10%);
  cursor: pointer;
}

.nav-toggle span:not(.visually-hidden) {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.nav-toggle span:nth-child(1) { transform: translateY(-5px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(5px); }

.btn-compact {
  min-height: 38px;
  padding: .5rem .82rem;
}

.mode-switcher {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .2rem;
  border: 1px solid var(--page-card-border);
  border-radius: 999px;
  background: var(--page-card-bg);
  box-shadow: 0 10px 24px rgba(30, 41, 59, .06);
}

.mode-switcher__option {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: .38rem .72rem;
  color: var(--muted);
  background: transparent;
  font: 700 .74rem var(--body);
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.mode-switcher__option.is-active {
  color: var(--text);
  background: var(--bg-2);
  box-shadow: 0 4px 12px rgba(30, 41, 59, .08);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #082132;
  font: 700 .96rem var(--display);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(76, 201, 240, .22);
  box-shadow: 0 10px 26px rgba(76, 201, 240, .18);
  overflow: hidden;
}

body[data-page="public"] .brand-mark,
body[data-page="article"] .brand-mark {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, #4cc9f0, #80ed99);
  box-shadow: 0 10px 24px rgba(76, 201, 240, .16);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.kid-home {
  display: none;
  padding: 2rem 0 1.6rem;
}

.kid-home__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr);
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.2rem;
  width: 100%;
  padding: 1rem 1rem .95rem 1.15rem;
  border: 1px solid color-mix(in srgb, #4cc9f0, white 58%);
  border-radius: 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, rgba(76, 201, 240, .16), white 68%), color-mix(in srgb, var(--page-card-bg), white 4%));
  box-shadow: 0 20px 44px rgba(30, 41, 59, .1);
}

.kid-home__intro h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.kid-home__intro-copy {
  display: grid;
  gap: .8rem;
  align-content: start;
}

.kid-home__intro-art {
  display: grid;
  place-items: end center;
  min-height: 220px;
}

.kid-home__intro-art img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(30, 41, 59, .16));
}

.kid-home__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.kid-home__tiles--games {
  margin-top: .35rem;
}

.kid-tile {
  display: grid;
  gap: .18rem;
  align-content: start;
  min-height: 272px;
  padding: .16rem .16rem .42rem;
  border: 1px solid color-mix(in srgb, var(--route-accent, #4cc9f0), white 56%);
  border-radius: 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--route-soft, rgba(76, 201, 240, .18)), white 58%), color-mix(in srgb, var(--page-card-bg), white 6%));
  box-shadow: 0 20px 44px rgba(30, 41, 59, .1);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.kid-tile:hover,
.kid-tile:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 24px 48px rgba(30, 41, 59, .14);
  border-color: color-mix(in srgb, var(--route-accent, #4cc9f0), transparent 22%);
}

.kid-tile__copy {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-top: -20px;
}

.kid-tile__copy strong {
  font-size: 1.1rem;
  line-height: 1.1;
}

.kid-tile__copy span:last-child {
  color: var(--muted);
  line-height: 1.42;
  font-size: 1rem;
  font-weight: 600;
  max-width: 16ch;
}

.kid-tile--static {
  cursor: default;
}

.kid-tile__art {
  display: grid;
  place-items: center;
  min-height: 288px;
}

.kid-tile__art img {
  display: block;
  width: 100%;
  max-width: 296px;
  height: auto;
  object-fit: contain;
  border: 2px solid color-mix(in srgb, var(--route-accent, #4cc9f0), white 42%);
  border-radius: 18px;
  background: color-mix(in srgb, var(--route-soft, rgba(76, 201, 240, .18)), white 30%);
  box-shadow:
    0 16px 34px rgba(30, 41, 59, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.kid-tile--home {
  --route-accent: #4cc9f0;
  --route-soft: rgba(76, 201, 240, .22);
}

.kid-tile--stories {
  --route-accent: #14b8a6;
  --route-soft: rgba(45, 212, 191, .28);
}

.kid-tile--games {
  --route-accent: #8b5cf6;
  --route-soft: rgba(167, 139, 250, .28);
}

.kid-home__tiles--games .kid-tile__art img {
  width: min(100%, 296px);
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.kid-tile--archive {
  --route-accent: #f59e0b;
  --route-soft: rgba(251, 191, 36, .3);
}

.kid-tile--about {
  --route-accent: #f59e0b;
  --route-soft: rgba(245, 158, 11, .18);
}

.kid-tile--subscribe {
  --route-accent: #ef4444;
  --route-soft: rgba(239, 68, 68, .16);
}

.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(167, 139, 250, .07), rgba(167, 139, 250, .01));
}

.public-hero {
  position: relative;
  overflow: hidden;
  padding: 4.4rem 0 3.2rem;
  border-bottom: 1px solid var(--page-card-border);
  background:
    radial-gradient(520px 280px at 88% 20%, var(--hero-radial-2), transparent 70%),
    radial-gradient(460px 240px at 18% 18%, var(--hero-radial-1), transparent 70%),
    var(--hero-bg);
}

.public-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.public-hero__bg-slide,
.public-hero__bg-tint {
  position: absolute;
  inset: 0;
}

.public-hero__bg-slide {
  inset: -7%;
  opacity: 0;
  background-color: #101827;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.04) translate3d(0, 0, 0);
  transition:
    opacity 1.8s ease,
    transform var(--hero-pan-duration, 15s) linear;
  will-change: transform, opacity;
}

.public-hero__bg-slide--visible {
  opacity: 1;
}

.public-hero__bg-slide--visible.hero-bg--pan-left.hero-bg--animate {
  transform: scale(1.14) translate3d(-2.6%, 0, 0);
}

.public-hero__bg-slide--visible.hero-bg--pan-right.hero-bg--animate {
  transform: scale(1.14) translate3d(2.6%, 0, 0);
}

.public-hero__bg-slide--visible.hero-bg--pan-up.hero-bg--animate {
  transform: scale(1.14) translate3d(0, -2.4%, 0);
}

.public-hero__bg-slide--visible.hero-bg--pan-down.hero-bg--animate {
  transform: scale(1.14) translate3d(0, 2.4%, 0);
}

.public-hero__bg-tint {
  background:
    linear-gradient(180deg, rgba(9, 16, 27, .54), rgba(9, 16, 27, .44)),
    linear-gradient(90deg, rgba(9, 16, 27, .52), rgba(9, 16, 27, .18) 44%, rgba(9, 16, 27, .42));
}

.public-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
  min-height: clamp(320px, 42vw, 460px);
}

.public-hero__intro {
  display: grid;
  gap: 1.1rem;
  max-width: 52rem;
}

.public-hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem;
}

.public-hero__art img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(30, 41, 59, .16));
}

.public-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.public-hero__lede {
  max-width: 52rem;
  font-size: 1.12rem;
  line-height: 1.82;
}

.public-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.public-page {
  padding: 2rem 0 3.4rem;
}

.page-hero {
  display: grid;
  gap: .95rem;
  padding: 1.2rem 1rem 2rem;
}

.archive-page-hero {
  margin-bottom: 1rem;
  padding: calc(var(--page-density-padding) + .1rem);
  border: 1px solid var(--page-card-border);
  border-radius: var(--page-card-radius);
  background: color-mix(in srgb, var(--page-card-bg), white 10%);
  box-shadow: 0 18px 44px rgba(30, 41, 59, .08);
}

.archive-page-hero h1,
.archive-page-hero .page-lede,
.archive-page-hero .kicker {
  max-width: 36rem;
}

.article-page-hero {
  padding-bottom: .8rem;
}

.article-page-hero .kicker {
  margin-bottom: 0;
}

.kid-return-shell {
  display: none;
}

.kid-home-return {
  display: inline-grid;
  justify-items: center;
  gap: .2rem;
  min-width: 128px;
  padding: .18rem .18rem .45rem;
  border: 1px solid color-mix(in srgb, #4cc9f0, white 52%);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(205, 246, 252, .88), color-mix(in srgb, var(--page-card-bg), white 8%));
  box-shadow: 0 18px 36px rgba(30, 41, 59, .12);
  color: var(--text);
  font-weight: 700;
}

.kid-home-return__icon {
  display: grid;
  place-items: center;
  min-height: 104px;
  width: 100%;
}

.kid-home-return__icon img {
  display: block;
  width: 100%;
  max-width: 112px;
  height: auto;
  object-fit: contain;
  border: 2px solid color-mix(in srgb, #4cc9f0, white 40%);
  border-radius: 18px;
  background: rgba(255, 255, 255, .36);
  box-shadow:
    0 14px 28px rgba(30, 41, 59, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .4);
}

.kid-home-return > span:last-child {
  font-size: .95rem;
  line-height: 1.1;
}

html[data-reading-mode="kid"] body[data-page="public"][data-section="home"] .kid-home {
  display: block;
}

html[data-reading-mode="kid"] body[data-page="public"][data-section="home"] .public-hero {
  display: none;
}

html[data-appearance="dark"] body[data-page="public"] .public-hero__bg-tint,
html[data-appearance="dark"] body[data-page="article"] .public-hero__bg-tint {
  background:
    linear-gradient(180deg, rgba(5, 10, 18, .56), rgba(5, 10, 18, .48)),
    linear-gradient(90deg, rgba(5, 10, 18, .58), rgba(5, 10, 18, .2) 44%, rgba(5, 10, 18, .46));
}

@media (prefers-reduced-motion: reduce) {
  .public-hero__bg-slide {
    transition: opacity .5s ease;
    transform: none;
  }

  .public-hero__bg-slide--visible.hero-bg--pan-left.hero-bg--animate,
  .public-hero__bg-slide--visible.hero-bg--pan-right.hero-bg--animate,
  .public-hero__bg-slide--visible.hero-bg--pan-up.hero-bg--animate,
  .public-hero__bg-slide--visible.hero-bg--pan-down.hero-bg--animate {
    transform: none;
  }
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-links,
html[data-reading-mode="kid"] body[data-page="article"] .nav-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: .7rem;
  width: 100%;
}

html[data-reading-mode="kid"] body[data-page="public"] .site-header,
html[data-reading-mode="kid"] body[data-page="article"] .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
}

html[data-reading-mode="kid"] body[data-page="public"] .public-nav,
html[data-reading-mode="kid"] body[data-page="article"] .public-nav {
  min-height: 0;
  justify-content: flex-end;
  padding-top: .8rem;
  pointer-events: none;
}

html[data-reading-mode="kid"] body[data-page="public"] .brand,
html[data-reading-mode="kid"] body[data-page="article"] .brand {
  display: none;
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-toggle,
html[data-reading-mode="kid"] body[data-page="article"] .nav-toggle {
  display: inline-flex;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 12;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--page-card-bg), white 18%);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .14);
  pointer-events: auto;
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-menu,
html[data-reading-mode="kid"] body[data-page="article"] .nav-menu {
  position: fixed;
  top: 4.5rem;
  right: 1rem;
  left: auto;
  width: min(420px, calc(100vw - 2rem));
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: .9rem;
  padding: .95rem;
  border: 1px solid var(--page-card-border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--page-card-bg), white 14%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
  pointer-events: auto;
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-menu.is-open,
html[data-reading-mode="kid"] body[data-page="article"] .nav-menu.is-open {
  display: flex;
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-actions,
html[data-reading-mode="kid"] body[data-page="article"] .nav-actions {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-link,
html[data-reading-mode="kid"] body[data-page="article"] .nav-link {
  flex-direction: column;
  gap: .45rem;
  min-height: 92px;
  padding: .9rem .65rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--page-card-bg), white 12%);
  border: 1px solid var(--page-card-border);
  box-shadow: 0 12px 28px rgba(30, 41, 59, .08);
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-link__icon,
html[data-reading-mode="kid"] body[data-page="article"] .nav-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-link__label,
html[data-reading-mode="kid"] body[data-page="article"] .nav-link__label {
  font-size: .82rem;
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-link.is-current,
html[data-reading-mode="kid"] body[data-page="public"] .nav-link:hover,
html[data-reading-mode="kid"] body[data-page="public"] .nav-link:focus-visible,
html[data-reading-mode="kid"] body[data-page="article"] .nav-link.is-current,
html[data-reading-mode="kid"] body[data-page="article"] .nav-link:hover,
html[data-reading-mode="kid"] body[data-page="article"] .nav-link:focus-visible {
  background: linear-gradient(180deg, color-mix(in srgb, var(--page-card-bg), white 20%), color-mix(in srgb, var(--page-card-bg), var(--hero-radial-1) 10%));
  border-color: color-mix(in srgb, var(--route-accent, #4cc9f0), transparent 72%);
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-link--cta,
html[data-reading-mode="kid"] body[data-page="article"] .nav-link--cta {
  background: linear-gradient(180deg, color-mix(in srgb, var(--page-card-bg), white 16%), color-mix(in srgb, var(--page-card-bg), rgba(239, 68, 68, .12) 20%));
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-link--cta .nav-link__label,
html[data-reading-mode="kid"] body[data-page="article"] .nav-link--cta .nav-link__label {
  color: #0b1220;
  text-shadow: 0 0 10px rgba(76, 201, 240, .5);
}

html[data-reading-mode="kid"] body[data-page="public"] .nav-link__label--kids-brand,
html[data-reading-mode="kid"] body[data-page="article"] .nav-link__label--kids-brand {
  transform: scale(1.02);
}

html[data-reading-mode="kid"] body[data-page="public"] .public-editorial {
  display: none;
}

html[data-reading-mode="kid"] body[data-page="public"][data-section="home"] .section-head {
  display: none;
}

html[data-reading-mode="kid"] body[data-page="public"][data-section="home"] .nav-links > a[href="/kids"] {
  display: none;
}

html[data-reading-mode="kid"] body[data-page="public"][data-section="home"] #home-archive-preview {
  display: none;
}

html[data-reading-mode="kid"] body[data-page="public"]:not([data-section="home"]) .kid-return-shell,
html[data-reading-mode="kid"] body[data-page="article"] .kid-return-shell {
  display: block;
  padding-top: 1rem;
}

html[data-reading-mode="kid"] body[data-page="article"] .kid-return-shell {
  padding-bottom: 1.5rem;
}

html[data-reading-mode="kid"] body[data-page="public"][data-section="archive"] .kid-return-shell {
  padding-bottom: 1.5rem;
}

html[data-reading-mode="kid"] body[data-page="public"][data-section^="game-"] .game-shell__header,
html[data-reading-mode="kid"] body[data-page="public"][data-section^="game-"] .game-card,
html[data-reading-mode="kid"] body[data-page="public"][data-section^="game-"] .game-stage-card {
  border-radius: 18px;
}

html[data-reading-mode="kid"] body[data-page="public"][data-section^="game-"] .game-card__section p {
  font-size: 1rem;
}

html[data-appearance="dark"] body[data-page="public"][data-section^="game-"] .game-shell__header,
html[data-appearance="dark"] body[data-page="public"][data-section^="game-"] .game-card,
html[data-appearance="dark"] body[data-page="public"][data-section^="game-"] .game-stage-card {
  background: color-mix(in srgb, var(--page-card-bg), #0b1220 16%);
}

html[data-reading-mode="kid"] body[data-page="article"] .article-page {
  padding-top: 1.5rem;
}

html[data-reading-mode="kid"] body[data-page="public"] .archive-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-reading-mode="kid"] body[data-page="public"] .archive-page-hero,
html[data-reading-mode="kid"] body[data-page="public"] .poster-card,
html[data-reading-mode="kid"] body[data-page="article"] .article-detail,
html[data-reading-mode="kid"] body[data-page="article"] .story-player,
html[data-reading-mode="kid"] body[data-page="article"] .story-feature,
html[data-reading-mode="kid"] body[data-page="public"] .kid-home__intro,
html[data-reading-mode="kid"] body[data-page="public"] .kid-tile,
html[data-reading-mode="kid"] body[data-page="public"] .kid-home-return,
html[data-reading-mode="kid"] body[data-page="article"] .kid-home-return {
  border-color: rgba(76, 201, 240, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(30, 41, 59, 0.10);
}

html[data-reading-mode="kid"] body[data-page="public"] .site-header,
html[data-reading-mode="kid"] body[data-page="article"] .site-header,
html[data-reading-mode="kid"] body[data-page="public"] .nav-menu,
html[data-reading-mode="kid"] body[data-page="article"] .nav-menu,
html[data-reading-mode="kid"] body[data-page="public"] .nav-link,
html[data-reading-mode="kid"] body[data-page="article"] .nav-link,
html[data-reading-mode="kid"] body[data-page="public"] .nav-toggle,
html[data-reading-mode="kid"] body[data-page="article"] .nav-toggle,
html[data-reading-mode="kid"] body[data-page="public"] .mode-switcher,
html[data-reading-mode="kid"] body[data-page="article"] .mode-switcher,
html[data-reading-mode="kid"] body[data-page="public"] .mode-switcher__option,
html[data-reading-mode="kid"] body[data-page="article"] .mode-switcher__option {
  background: rgba(255, 255, 255, 0.94);
}

html[data-reading-mode="kid"] body[data-page="public"] .poster-card h3,
html[data-reading-mode="kid"] body[data-page="public"] .poster-card .article-dek-card,
html[data-reading-mode="kid"] body[data-page="public"] .poster-card .article-card__meta,
html[data-reading-mode="kid"] body[data-page="public"] .poster-card .article-footer,
html[data-reading-mode="kid"] body[data-page="article"] .article-kicker,
html[data-reading-mode="kid"] body[data-page="public"] .kicker,
html[data-reading-mode="kid"] body[data-page="article"] .kicker {
  color: #17324d;
}

html[data-reading-mode="kid"] body[data-page="public"] .archive-page-hero h1,
html[data-reading-mode="kid"] body[data-page="public"] .archive-page-hero .page-lede,
html[data-reading-mode="kid"] body[data-page="public"] .archive-page-shell h2,
html[data-reading-mode="kid"] body[data-page="article"] .article-detail h1,
html[data-reading-mode="kid"] body[data-page="article"] .article-dek,
html[data-reading-mode="kid"] body[data-page="article"] .article-copy,
html[data-reading-mode="kid"] body[data-page="article"] .article-copy p,
html[data-reading-mode="kid"] body[data-page="article"] .story-player__panel,
html[data-reading-mode="kid"] body[data-page="article"] .story-player__panel h3,
html[data-reading-mode="kid"] body[data-page="article"] .story-player__prompt,
html[data-reading-mode="kid"] body[data-page="article"] .story-feature__content,
html[data-reading-mode="kid"] body[data-page="article"] .story-feature__content h2,
html[data-reading-mode="kid"] body[data-page="article"] .story-feature__dek,
html[data-reading-mode="kid"] body[data-page="article"] .story-feature__excerpt,
html[data-reading-mode="kid"] body[data-page="article"] .source-panel,
html[data-reading-mode="kid"] body[data-page="article"] .source-panel p,
html[data-reading-mode="kid"] body[data-page="article"] .record-meta,
html[data-reading-mode="kid"] body[data-page="public"] .record-meta {
  color: #17324d;
}

html[data-reading-mode="kid"] body[data-page="article"] .article-copy,
html[data-reading-mode="kid"] body[data-page="article"] .story-player__panel,
html[data-reading-mode="kid"] body[data-page="article"] .story-player__prompt,
html[data-reading-mode="kid"] body[data-page="article"] .source-panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(76, 201, 240, 0.16);
}

html[data-reading-mode="kid"] body[data-page="public"] .poster-card .article-footer,
html[data-reading-mode="kid"] body[data-page="article"] .article-footer {
  border-top-color: rgba(23, 50, 77, 0.12);
}

html[data-reading-mode="kid"] body[data-page="public"] .article-footer__links a,
html[data-reading-mode="kid"] body[data-page="article"] .article-footer__links a {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(76, 201, 240, 0.16);
  color: #1c5f7f;
}

.page-lede {
  max-width: 52rem;
}

.page-grid,
.page-stack,
.subscribe-shell {
  display: grid;
  gap: 1rem;
}

.page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-card {
  border: 1px solid var(--page-card-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--page-card-bg), white 10%);
  box-shadow: 0 18px 44px rgba(30, 41, 59, .08);
  padding: 1.15rem;
}

.page-card h2 {
  margin-bottom: .65rem;
  font-size: 1.22rem;
  line-height: 1.25;
}

.page-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.74;
}

.page-card--cta {
  display: grid;
  gap: .9rem;
  align-content: start;
}

.game-shell {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
}

.game-surface {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 1rem;
}

.game-topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  padding: .85rem 0;
  border-bottom: 1px solid var(--page-card-border);
  background: color-mix(in srgb, var(--page-card-bg), white 10%);
  backdrop-filter: blur(18px);
}

.game-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.game-topbar__cluster {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}

.game-topbar__title {
  display: grid;
  justify-items: end;
  gap: .1rem;
  text-align: right;
}

.game-topbar__title strong {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.1;
}

.game-topbar__eyebrow {
  color: color-mix(in srgb, var(--route-accent, #4cc9f0), var(--text) 42%);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.game-topbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .45rem .82rem;
  border: 1px solid var(--page-card-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--page-card-bg), white 18%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
  color: var(--text);
  font-size: .86rem;
  font-weight: 700;
}

.game-topbar__link--secondary {
  background: color-mix(in srgb, var(--page-card-bg), white 8%);
}

.game-shell--immersive {
  padding-top: 1rem;
}

.game-shell__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--page-card-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(76, 201, 240, .12), transparent 34%),
    color-mix(in srgb, var(--page-card-bg), white 8%);
  box-shadow: 0 18px 44px rgba(30, 41, 59, .08);
}

.game-shell__eyebrow {
  margin: 0 0 .35rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.game-shell__header h2 {
  margin-bottom: .45rem;
}

.game-shell__header h1 {
  margin-bottom: .35rem;
}

.game-shell__restart {
  flex: 0 0 auto;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1.25fr) minmax(200px, 240px);
  gap: 1rem;
  align-items: start;
}

.game-card,
.game-stage-card {
  border: 1px solid var(--page-card-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--page-card-bg), white 8%);
  box-shadow: 0 18px 44px rgba(30, 41, 59, .08);
}

.game-stage-card {
  position: relative;
}

body.debris-run-storyboard-focus::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 22, .68);
  backdrop-filter: blur(2px) saturate(.78);
  pointer-events: none;
  z-index: 40;
}

.game-stage-card.is-story-focus {
  z-index: 41;
  box-shadow:
    0 26px 60px rgba(5, 10, 22, .46),
    0 0 0 1px rgba(255, 255, 255, .06);
}

.game-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.game-stat-grid {
  display: grid;
  gap: 1rem;
}

.game-pilot {
  display: grid;
  gap: .5rem;
  align-items: center;
  padding-bottom: .95rem;
  border-bottom: 1px solid var(--page-card-border);
}

.game-pilot__portrait {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: .35rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(8, 14, 24, .34), rgba(8, 14, 24, .52)),
    radial-gradient(circle at 50% 18%, rgba(76, 201, 240, .16), transparent 58%),
    url("/assets/img/games/cockpit-tile.png") center / cover no-repeat,
    linear-gradient(180deg, rgba(10, 18, 31, .92), rgba(19, 36, 61, .94));
  box-shadow:
    inset 0 0 0 1px rgba(76, 201, 240, .18),
    0 10px 24px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.game-pilot__stage {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 178px;
}

.game-pilot__canvas {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
}

.game-pilot__portrait.is-impacting {
  box-shadow:
    inset 0 0 0 2px rgba(248, 113, 113, .72),
    inset 0 0 40px rgba(248, 113, 113, .38),
    inset 0 0 68px rgba(248, 113, 113, .16),
    0 0 0 2px rgba(248, 113, 113, .14);
}

.game-pilot__portrait.is-critical {
  animation: cockpit-critical-flash .88s ease-in-out infinite;
}

.game-pilot__copy {
  display: grid;
  place-items: center;
  text-align: center;
}

.game-pilot__copy h3 {
  margin: 0;
  font-size: 1.2rem;
}

.game-card__section {
  display: grid;
  gap: .45rem;
}

.game-card__section + .game-card__section {
  padding-top: 1rem;
  border-top: 1px solid var(--page-card-border);
}

.game-card__section h3 {
  margin-bottom: 0;
  font-size: 1.12rem;
}

.game-card__section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.game-stat {
  display: grid;
  gap: .45rem;
}

.game-stat__label {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.game-stat__value {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.game-stat__value--compact {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.game-meter {
  height: .7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--page-card-border), transparent 20%);
  overflow: hidden;
}

.game-meter__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1aa6b7, #80ed99);
  transition: width .18s ease;
}

.game-meter__fill--hull {
  background: linear-gradient(90deg, #ffd166, #f97316);
}

.game-meter__fill.is-critical {
  background: linear-gradient(90deg, #f97316, #ef4444);
  animation: shield-critical-flash .88s ease-in-out infinite;
}

.game-stage-card {
  padding: 1.1rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(76, 201, 240, .08), transparent 32%),
    color-mix(in srgb, var(--page-card-bg), #081223 8%);
}

.game-stage-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--page-card-border), #4cc9f0 18%);
  background: #081223;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(76, 201, 240, .08);
}

.game-stage-frame canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 520;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.game-stage-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(76, 201, 240, .16);
  border-radius: 14px;
  pointer-events: none;
}

.game-stage-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 18, 35, .42);
}

.game-stage-overlay.is-story-focus {
  background:
    radial-gradient(circle at 50% 42%, rgba(8, 18, 35, .18), rgba(8, 18, 35, .68) 76%),
    rgba(4, 10, 20, .48);
}

.game-stage-overlay[hidden] {
  display: none;
}

.game-stage-overlay__panel {
  display: grid;
  gap: .8rem;
  width: min(100%, 360px);
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(8, 18, 35, .88);
  box-shadow: 0 18px 42px rgba(8, 18, 35, .34);
  text-align: center;
  color: #effbff;
}

.game-stage-overlay__panel.is-cinematic {
  width: min(100%, 520px);
  padding: .8rem;
  background: rgba(8, 18, 35, .72);
}

.game-stage-overlay__panel strong {
  font-size: 1.2rem;
  line-height: 1.2;
}

.game-stage-overlay__image {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 14px 34px rgba(8, 18, 35, .34);
}

.game-stage-overlay__image[hidden] {
  display: none;
}

.game-stage-overlay__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.game-stage-overlay__art {
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: .95rem;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 25%, rgba(128, 237, 153, .16), transparent 45%),
    linear-gradient(180deg, rgba(19, 36, 61, .94), rgba(8, 18, 35, .96));
  border: 1px solid rgba(76, 201, 240, .18);
}

.game-stage-overlay__art-icon {
  font-size: 2rem;
  line-height: 1;
  color: #80ed99;
  text-shadow: 0 0 18px rgba(76, 201, 240, .35);
}

.game-stage-overlay__art-label,
.game-stage-overlay__speaker,
.game-stage-overlay__progress {
  color: rgba(239, 251, 255, .7);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.game-stage-overlay__eyebrow {
  color: rgba(128, 237, 153, .92);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.game-stage-overlay__panel p {
  margin: 0;
  color: rgba(239, 251, 255, .84);
  line-height: 1.6;
}

.game-stage-overlay__settings {
  display: grid;
  gap: .6rem;
  width: 100%;
  text-align: left;
}

.game-stage-overlay__settings[hidden] {
  display: none;
}

.game-controls-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.game-control-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.game-control-button {
  width: 100%;
  justify-content: center;
}

.game-audio-control {
  display: grid;
  gap: .45rem;
}

.game-audio-control + .game-audio-control {
  margin-top: .55rem;
}

.game-audio-control__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
}

.game-audio-control__label strong {
  color: var(--text);
  font-size: .92rem;
}

.game-audio-control input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: #4cc9f0;
  touch-action: pan-x;
}

.game-card--stats .game-meter__fill {
  transition: width .18s ease, filter .18s ease;
}

@keyframes cockpit-critical-flash {
  0%, 100% {
    box-shadow:
      inset 0 0 0 2px rgba(248, 113, 113, .34),
      inset 0 0 20px rgba(248, 113, 113, .12),
      0 0 0 2px rgba(248, 113, 113, .08);
  }
  50% {
    box-shadow:
      inset 0 0 0 2px rgba(248, 113, 113, .88),
      inset 0 0 42px rgba(248, 113, 113, .4),
      inset 0 0 74px rgba(248, 113, 113, .2),
      0 0 0 2px rgba(248, 113, 113, .16);
  }
}

@keyframes shield-critical-flash {
  0%, 100% {
    filter: saturate(1) brightness(1);
    box-shadow: 0 0 0 rgba(239, 68, 68, 0);
  }
  50% {
    filter: saturate(1.22) brightness(1.14);
    box-shadow: 0 0 16px rgba(239, 68, 68, .38);
  }
}

.subscribe-shell {
  max-width: 760px;
}

.placeholder-form {
  display: grid;
  gap: .8rem;
}

.placeholder-form label {
  display: grid;
  gap: .4rem;
  font-weight: 700;
  color: var(--text);
}

.placeholder-form input {
  min-height: 46px;
  border: 1px solid var(--page-card-border);
  border-radius: 8px;
  padding: .75rem .9rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--page-card-bg), white 16%);
}

.form-note {
  color: var(--muted);
  font-size: .88rem;
}

.brand-signal {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid var(--signal-border);
  padding: .3rem .75rem;
  color: var(--signal-text);
  background: var(--signal-bg);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}

body[data-page="public"] h1,
body[data-page="public"] h2,
body[data-page="article"] h1,
body[data-page="article"] h2 {
  font-family: var(--body);
  font-weight: 700;
}

body[data-page="public"] h1 {
  max-width: 780px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

body[data-page="public"] .kicker {
  color: color-mix(in srgb, var(--route-accent, #4cc9f0), var(--text) 48%);
}

body[data-page="public"] .lead {
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 1.4rem;
  align-items: end;
}

.kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.lead { color: var(--muted); max-width: 720px; font-size: 1.05rem; }

html[data-reading-mode="kid"] body[data-page="public"] .kicker,
html[data-reading-mode="kid"] body[data-page="article"] .kicker {
  letter-spacing: .09em;
}

html[data-reading-mode="kid"] body[data-page="public"] .lead,
html[data-reading-mode="kid"] body[data-page="public"] .public-hero__lede,
html[data-reading-mode="kid"] body[data-page="public"] .page-lede,
html[data-reading-mode="kid"] body[data-page="article"] .article-copy,
html[data-reading-mode="kid"] body[data-page="article"] .source-panel p {
  line-height: 1.84;
}

html[data-reading-mode="normal"] body[data-page="public"] .lead,
html[data-reading-mode="normal"] body[data-page="public"] .public-hero__lede,
html[data-reading-mode="normal"] body[data-page="public"] .page-lede,
html[data-reading-mode="normal"] body[data-page="article"] .article-copy,
html[data-reading-mode="normal"] body[data-page="article"] .source-panel p {
  line-height: 1.68;
}

.mission-panel, .panel, .record-card, .result-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018)), var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mission-panel { padding: 1rem; }
.mission-panel p { margin-bottom: 1rem; color: var(--text); }
.mission-panel dl { margin: 0; display: grid; gap: .65rem; }
.mission-panel div { border-top: 1px solid var(--border); padding-top: .65rem; }
.mission-panel dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; }
.mission-panel dd { margin: .1rem 0 0; }

.status-dot {
  display: inline-block;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  margin-right: .4rem;
  background: var(--accent-3);
  box-shadow: 0 0 18px rgba(34, 197, 94, .6);
}

.section { padding: 2rem 0; }

body[data-page="public"] .section {
  padding: calc(2.25rem + var(--page-density-gap)) 0;
}
.section-alt { border-block: 1px solid var(--border); background: rgba(255,255,255,.018); }
.section-head, .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.btn {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .72rem 1rem;
  color: var(--text);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.btn-primary {
  color: #06111d;
  font-weight: 700;
  border-color: rgba(125, 211, 252, .55);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.btn-ghost { background: transparent; }
.btn:disabled { opacity: .55; cursor: wait; }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .2rem .65rem;
  color: var(--muted);
  font-size: .78rem;
}

body[data-page="public"] .pill {
  background: var(--chip-bg);
  color: var(--chip-text);
}

body[data-page="article"] .btn {
  color: var(--text);
  background: color-mix(in srgb, var(--page-card-bg), white 18%);
}

body[data-page="article"] .btn-primary {
  color: #06111d;
  background: linear-gradient(135deg, #4cc9f0, #80ed99);
}

.dashboard-grid, .workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.workflow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.35rem;
}

.public-editorial {
  padding-top: 2.8rem;
}

.section-head--feature {
  margin-bottom: 1.3rem;
}
.panel { padding: 1rem; min-width: 0; }
.stack { display: grid; gap: .8rem; }

.record-card, .result-card, .article-card {
  padding: .85rem;
  background-color: var(--panel-2);
}
.article-card {
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

body[data-page="public"] .article-card {
  position: relative;
  overflow: hidden;
  padding: var(--page-density-padding) var(--page-density-padding) calc(var(--page-density-padding) + .1rem);
  background: color-mix(in srgb, var(--page-card-bg), white 12%);
  border-color: var(--page-card-border);
  border-radius: var(--page-card-radius);
}

.lead-story,
.support-card,
.category-band {
  border: 1px solid var(--page-card-border);
  border-radius: var(--page-card-radius);
  background: color-mix(in srgb, var(--page-card-bg), white 10%);
  box-shadow: 0 18px 44px rgba(30, 41, 59, .08);
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: calc(1.1rem + var(--page-density-gap) * .3);
  padding: calc(var(--page-density-padding) + .1rem);
  margin-bottom: 1.4rem;
}

.lead-story__content {
  display: grid;
  align-content: start;
  gap: .95rem;
  padding: .35rem .25rem .25rem;
}

.lead-story h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.04;
}

.lead-story__dek {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.65;
}

.lead-story__excerpt {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.lead-story__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--page-card-border);
}

.lead-story__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.lead-story__visual .learning-visual {
  min-height: 100%;
  height: 100%;
  margin-bottom: 0;
}

.lead-story__image.has-generated-image img {
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
}

.lead-story__image .visual-placeholder {
  background:
    radial-gradient(360px 180px at 22% 30%, var(--route-soft, rgba(76, 201, 240, .16)), transparent 70%),
    radial-gradient(320px 160px at 80% 34%, var(--route-soft-2, rgba(128, 237, 153, .18)), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, .48), rgba(255, 255, 255, 0));
}

.supporting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.support-card {
  overflow: hidden;
  padding: 1rem;
}

.support-card .learning-visual {
  min-height: 200px;
}

.support-card .learning-visual.has-generated-image img {
  aspect-ratio: 16 / 11;
}

.support-card h3 {
  margin-bottom: .7rem;
  font-size: 1.42rem;
  line-height: 1.22;
}

.support-card p {
  color: var(--muted);
  line-height: 1.72;
}

.category-bands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.category-band {
  padding: 1.1rem;
}

.category-band__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.category-band__head h3 {
  margin-bottom: 0;
  font-size: 1.28rem;
}

.category-band__items {
  display: grid;
  gap: .9rem;
}

.category-story {
  display: grid;
  gap: .7rem;
  padding-top: .95rem;
  border-top: 1px solid rgba(45, 55, 72, .10);
}

.category-story:first-child {
  padding-top: 0;
  border-top: 0;
}

.category-story h4 {
  margin: 0 0 .45rem;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.35;
}

.category-story p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.category-story__link {
  color: color-mix(in srgb, var(--route-accent, #4cc9f0), var(--text) 56%);
  font-weight: 700;
}

.article-card--compact h2 {
  font-size: 1.45rem;
  line-height: 1.22;
}

.public-footer {
  margin-top: auto;
  padding: 2.4rem 0 3rem;
  border-top: 1px solid var(--page-card-border);
  background: color-mix(in srgb, var(--page-card-bg), transparent 12%);
}

.public-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.25rem;
}

.public-footer strong {
  display: inline-block;
  margin-bottom: .7rem;
  color: var(--text);
}

.public-footer__tagline {
  margin: 0 0 .4rem;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
}

.public-footer p,
.public-footer li,
.public-footer a {
  color: var(--muted);
  line-height: 1.7;
}

.public-footer a.is-disabled {
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

.public-footer ul {
  margin: 0;
  padding-left: 1.1rem;
}

body[data-page="public"] .article-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--route-accent, #4cc9f0);
}

.route-ai { --route-accent: #5b7cfa; --route-soft: rgba(91, 124, 250, .16); --route-soft-2: rgba(128, 237, 153, .18); }
.route-space-science { --route-accent: #1aa6b7; --route-soft: rgba(26, 166, 183, .18); --route-soft-2: rgba(255, 214, 102, .20); }
.route-software { --route-accent: #20a36b; --route-soft: rgba(32, 163, 107, .18); --route-soft-2: rgba(76, 201, 240, .18); }
.route-hardware { --route-accent: #c8832f; --route-soft: rgba(200, 131, 47, .18); --route-soft-2: rgba(76, 201, 240, .16); }
.route-cybersecurity { --route-accent: #2f855a; --route-soft: rgba(47, 133, 90, .18); --route-soft-2: rgba(23, 32, 51, .10); }
.route-emerging-tech { --route-accent: #9b5de5; --route-soft: rgba(155, 93, 229, .16); --route-soft-2: rgba(76, 201, 240, .16); }

.learning-visual {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 150px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--page-card-border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(239, 247, 255, .92));
}

.visual-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(320px 140px at 24% 32%, var(--route-soft, rgba(76, 201, 240, .16)), transparent 70%),
    radial-gradient(280px 140px at 78% 34%, var(--route-soft-2, rgba(128, 237, 153, .18)), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0));
}

.visual-placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(45, 55, 72, .08);
  border-radius: 8px;
}

.visual-placeholder::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--route-accent, #4cc9f0), white 28%), transparent);
  opacity: .85;
}

.learning-visual > span {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  border: 1px solid rgba(45, 55, 72, .14);
  padding: .45rem .75rem;
  color: var(--text);
  background: color-mix(in srgb, var(--page-card-bg), white 22%);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
}

.learning-visual.has-generated-image {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.learning-visual.has-generated-image img,
.admin-image-preview {
  display: block;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.learning-visual.has-generated-image img {
  aspect-ratio: 16 / 10;
}

.admin-image-preview {
  max-height: 180px;
  margin: .55rem 0 .75rem;
  border: 1px solid var(--border);
}

.admin-image-preview--lane {
  margin: 0;
  height: 100%;
  max-height: none;
  border: 0;
  border-radius: 6px;
}

.admin-audio-preview {
  display: block;
  width: 100%;
  margin: .45rem 0 .75rem;
}

.admin-lane-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: .7rem 0 .95rem;
}

.admin-lane-card {
  display: grid;
  gap: .5rem;
  align-content: start;
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,.03);
}

.admin-lane-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.admin-lane-card__thumb {
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  overflow: hidden;
  color: var(--muted);
  text-align: center;
  padding: .5rem;
}

.admin-lane-card__thumb.has-image {
  padding: 0;
  border-style: solid;
}

.image-upload-panel {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .6rem 0 .75rem;
}

.file-picker {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .62rem .85rem;
  color: var(--text);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.file-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.record-card h3, .result-card h3 { margin-bottom: .35rem; font-size: 1rem; }
.article-card h2 {
  font-size: 1.95rem;
  line-height: 1.14;
  margin-bottom: .75rem;
}
.record-meta { color: var(--muted); font-size: .82rem; margin-bottom: .45rem; }
.record-card p, .result-card p, .article-card p { color: var(--muted); margin-bottom: .65rem; }

.result-card--summary {
  background: linear-gradient(180deg, rgba(76, 201, 240, .10), rgba(255, 255, 255, .02));
}

.stage-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .9rem 0;
}

.stage-chip {
  display: inline-flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 6.25rem;
  padding: .55rem .65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
}

.stage-chip strong {
  color: var(--text);
  font-size: .75rem;
}

.stage-chip small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .68rem;
}

.stage-chip--passed {
  border-color: rgba(110, 231, 183, .30);
  background: rgba(110, 231, 183, .10);
}

.stage-chip--failed {
  border-color: rgba(251, 113, 133, .28);
  background: rgba(251, 113, 133, .10);
}

.stage-chip--skipped {
  border-color: rgba(148, 163, 184, .22);
  background: rgba(148, 163, 184, .08);
}

.stage-chip--pending {
  border-color: rgba(96, 165, 250, .22);
  background: rgba(96, 165, 250, .08);
}

body[data-page="public"] .article-card p {
  color: #4d5c70;
}
.article-dek-card {
  margin-bottom: .8rem;
  color: #31435a;
  font-size: 1.08rem;
  line-height: 1.52;
}
.article-excerpt {
  margin-bottom: 0;
  color: #617086;
  font-size: 1rem;
  line-height: 1.7;
}
.article-card__meta, .article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: var(--muted);
  font-size: .84rem;
  margin-bottom: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.article-footer {
  align-items: center;
  border-top: 1px solid var(--border);
  margin: 1rem 0 0;
  padding-top: .85rem;
}

body[data-page="public"] .article-footer {
  border-top-color: rgba(45, 55, 72, .10);
}
.article-footer a {
  color: color-mix(in srgb, var(--route-accent, #4cc9f0), var(--text) 38%);
  font-weight: 700;
  white-space: nowrap;
}

.article-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
}

body[data-page="public"] .article-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: .52rem .8rem;
  border: 1px solid var(--page-card-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--page-card-bg), white 12%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .32);
  padding: .15rem .5rem;
  color: var(--accent);
  font-size: .76rem;
}

body[data-page="public"] .tag {
  border-color: color-mix(in srgb, var(--route-accent, #4cc9f0), transparent 64%);
  color: #31435a;
  background: color-mix(in srgb, var(--route-accent, #4cc9f0), white 88%);
}
.result-card.ok { border-color: rgba(34, 197, 94, .42); }
.result-card.fail { border-color: rgba(255, 107, 107, .52); }
.blocked-card { border-color: rgba(255, 107, 107, .52); }
.result-card strong { color: var(--text); }

.log-view {
  min-height: 220px;
  max-height: 440px;
  overflow: auto;
  margin: 0;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: #cfe8ff;
  background: #03050a;
  white-space: pre-wrap;
}

.article-page {
  padding: 2.4rem 0 4rem;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.article-host {
  position: sticky;
  top: 92px;
  display: grid;
  gap: .85rem;
  padding: 1rem;
  border: 1px solid rgba(45, 55, 72, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow);
}

.host-canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(45, 55, 72, .10);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, .92), transparent 24%),
    linear-gradient(135deg, rgba(76, 201, 240, .24), rgba(255, 214, 102, .18), rgba(128, 237, 153, .24));
}

.host-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.host-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .5rem;
}

.host-controls .btn {
  padding-inline: .65rem;
}

.host-status {
  margin: 0;
  color: #536276;
  font-size: .9rem;
}

.article-detail {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(45, 55, 72, .08);
  border-radius: var(--page-card-radius);
  background: color-mix(in srgb, var(--page-card-bg), white 18%);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.article-detail__content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr);
  gap: 1.5rem;
  align-items: start;
}

.article-detail__main,
.article-detail__rail {
  min-width: 0;
}

.article-detail__rail {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}

.story-player,
.story-feature,
.poster-card {
  border: 1px solid var(--page-card-border);
  border-radius: var(--page-card-radius);
  background: color-mix(in srgb, var(--page-card-bg), white 10%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}

.story-player {
  margin: 0 auto 2rem;
  padding: calc(var(--page-density-padding) + .2rem);
  display: grid;
  gap: var(--page-density-gap);
}

.story-player__header,
.story-feature__content {
  display: grid;
  gap: .7rem;
}

.story-player__eyebrow {
  margin: 0;
  color: color-mix(in srgb, var(--route-accent, #4cc9f0), var(--text) 44%);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story-player__dek,
.story-feature__dek,
.story-feature__excerpt {
  margin: 0;
  color: var(--muted);
}

.story-player__viewport,
.story-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 1rem;
}

.story-player__visual {
  min-height: 360px;
}

.story-player__panel {
  padding: var(--page-density-padding);
  border-radius: calc(var(--page-card-radius) - 1px);
  border: 1px solid var(--page-card-border);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--page-card-bg), white 18%),
    color-mix(in srgb, var(--page-card-bg), var(--hero-radial-1) 12%)
  );
  display: grid;
  gap: .9rem;
}

.story-player__panel h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.5rem;
}

.story-player__panel p {
  margin: 0;
}

.story-player__meta,
.story-player__controls,
.story-player__dots,
.story-feature__footer,
.story-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}

.story-feature__footer {
  margin-top: .35rem;
  padding-top: 1rem;
  justify-content: space-between;
  border-top: 1px solid var(--page-card-border);
}

.lead-story__footer .article-footer__links,
.story-feature__footer .article-footer__links,
.poster-card .article-footer__links {
  align-items: center;
}

.story-player__dots {
  justify-content: center;
}

.story-player__prompt {
  padding: calc(var(--page-density-padding) - .1rem);
  border-radius: calc(var(--page-card-radius) - 1px);
  background: color-mix(in srgb, var(--page-card-bg), white 8%);
}

.story-player__prompt strong {
  display: block;
  margin-bottom: .35rem;
}

.story-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(82, 97, 120, .28);
  cursor: pointer;
}

.story-dot.is-active {
  background: #4cc9f0;
}

.story-feature {
  padding: calc(var(--page-density-padding) + .1rem);
}

.story-feature h2,
.poster-card h3 {
  color: var(--text);
}

.story-feature__image.learning-visual {
  min-height: 340px;
  margin-bottom: 0;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.poster-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  height: 100%;
  overflow: hidden;
}

.poster-card__image.learning-visual {
  min-height: 220px;
  border-radius: var(--page-card-radius) var(--page-card-radius) 0 0;
}

.poster-card .article-card__meta,
.poster-card h3,
.poster-card .article-dek-card,
.poster-card .article-footer {
  padding-inline: 1rem;
}

.poster-card h3 {
  margin-bottom: .5rem;
}

.poster-card .article-dek-card {
  margin-bottom: 0;
}

.poster-card .article-footer {
  margin-top: auto;
}

html[data-reading-mode="kid"] body[data-page="public"][data-section="archive"] .poster-card h3,
html[data-reading-mode="kid"] body[data-page="public"][data-section="archive"] .poster-card .article-dek-card,
html[data-reading-mode="kid"] body[data-page="public"][data-section="archive"] .poster-card .article-card__meta,
html[data-reading-mode="kid"] body[data-page="public"][data-section="archive"] .poster-card .article-footer {
  color: #ffffff;
}

html[data-reading-mode="kid"] body[data-page="public"][data-section="archive"] .poster-card .article-footer {
  border-top-color: rgba(255, 255, 255, .22);
}

@supports not (color: color-mix(in srgb, white, black)) {
  html[data-reading-mode="kid"] body[data-page="public"],
  html[data-reading-mode="kid"] body[data-page="article"] {
    background: #eef6ff url("/assets/img/kid-mode/kid-tech.png") center top / cover no-repeat fixed;
  }

  html[data-reading-mode="kid"] body[data-page="public"] .site-header,
  html[data-reading-mode="kid"] body[data-page="article"] .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(76, 201, 240, 0.18);
  }

  html[data-reading-mode="kid"] body[data-page="public"] .nav-menu,
  html[data-reading-mode="kid"] body[data-page="article"] .nav-menu {
    background: rgba(255, 255, 255, 0.96);
  }

  html[data-reading-mode="kid"] body[data-page="public"] .nav-link,
  html[data-reading-mode="kid"] body[data-page="article"] .nav-link,
  html[data-reading-mode="kid"] body[data-page="public"] .nav-toggle,
  html[data-reading-mode="kid"] body[data-page="article"] .nav-toggle,
  html[data-reading-mode="kid"] body[data-page="public"] .mode-switcher,
  html[data-reading-mode="kid"] body[data-page="article"] .mode-switcher,
  html[data-reading-mode="kid"] body[data-page="public"] .mode-switcher__option,
  html[data-reading-mode="kid"] body[data-page="article"] .mode-switcher__option,
  html[data-reading-mode="kid"] body[data-page="public"] .archive-page-hero,
  html[data-reading-mode="kid"] body[data-page="public"] .poster-card,
  html[data-reading-mode="kid"] body[data-page="article"] .article-detail,
  html[data-reading-mode="kid"] body[data-page="article"] .story-player,
  html[data-reading-mode="kid"] body[data-page="article"] .story-feature,
  html[data-reading-mode="kid"] body[data-page="public"] .kid-home__intro,
  html[data-reading-mode="kid"] body[data-page="public"] .kid-tile,
  html[data-reading-mode="kid"] body[data-page="public"] .kid-home-return,
  html[data-reading-mode="kid"] body[data-page="article"] .kid-home-return {
    background: rgba(255, 255, 255, 0.92);
  }

  html[data-reading-mode="kid"] body[data-page="public"] .archive-page-hero,
  html[data-reading-mode="kid"] body[data-page="public"] .poster-card,
  html[data-reading-mode="kid"] body[data-page="article"] .article-detail,
  html[data-reading-mode="kid"] body[data-page="article"] .story-player,
  html[data-reading-mode="kid"] body[data-page="article"] .story-feature,
  html[data-reading-mode="kid"] body[data-page="public"] .kid-home__intro,
  html[data-reading-mode="kid"] body[data-page="public"] .kid-tile,
  html[data-reading-mode="kid"] body[data-page="public"] .kid-home-return,
  html[data-reading-mode="kid"] body[data-page="article"] .kid-home-return {
    border-color: rgba(76, 201, 240, 0.18);
    box-shadow: 0 14px 32px rgba(30, 41, 59, 0.10);
  }

  html[data-reading-mode="kid"] body[data-page="public"] .poster-card h3,
  html[data-reading-mode="kid"] body[data-page="public"] .poster-card .article-dek-card,
  html[data-reading-mode="kid"] body[data-page="public"] .poster-card .article-card__meta,
  html[data-reading-mode="kid"] body[data-page="public"] .poster-card .article-footer,
  html[data-reading-mode="kid"] body[data-page="article"] .article-kicker,
  html[data-reading-mode="kid"] body[data-page="public"] .kicker,
  html[data-reading-mode="kid"] body[data-page="article"] .kicker {
    color: #17324d;
  }

  html[data-reading-mode="kid"] body[data-page="public"] .poster-card .article-footer,
  html[data-reading-mode="kid"] body[data-page="article"] .article-footer {
    border-top-color: rgba(23, 50, 77, 0.12);
  }

  html[data-reading-mode="kid"] body[data-page="public"] .article-footer__links a,
  html[data-reading-mode="kid"] body[data-page="article"] .article-footer__links a {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(76, 201, 240, 0.16);
    color: #1c5f7f;
  }
}

.article-header {
  display: grid;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto 2rem;
}

.article-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-kicker,
.article-date {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.article-kicker::before {
  content: "";
  width: .6rem;
  height: .6rem;
  border-radius: 999px;
  background: var(--route-accent, #4cc9f0);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--route-accent, #4cc9f0), white 82%);
}

html[data-reading-mode="kid"] body[data-page="article"] .article-kicker-row {
  justify-content: space-between;
}

html[data-reading-mode="kid"] body[data-page="article"] .article-kicker {
  color: color-mix(in srgb, var(--route-accent, #4cc9f0), var(--text) 48%);
  font-size: .8rem;
  letter-spacing: .09em;
}

html[data-reading-mode="kid"] body[data-page="article"] .article-kicker::before {
  content: none;
}

.article-detail h1 {
  max-width: 860px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.05;
  text-wrap: balance;
}

.article-dek {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  line-height: 1.75;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  color: var(--muted);
  font-size: .96rem;
}

.article-byline span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.article-byline span + span::before {
  content: "";
  width: .25rem;
  height: .25rem;
  border-radius: 999px;
  background: rgba(95, 111, 132, .5);
}

.article-figure {
  margin: 0 auto 2rem;
  max-width: 1000px;
}

.article-detail--normal .article-figure,
.article-detail--normal .article-body--detail,
.article-detail--normal .story-player,
.article-detail--normal .source-panel {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.article-detail--normal .story-player,
.article-detail--normal .source-panel {
  margin-top: 0;
}

.article-detail--normal .story-player {
  margin-bottom: 0;
}

.article-detail--normal .story-player__viewport {
  grid-template-columns: 1fr;
}

.article-detail--normal .story-player__visual {
  min-height: 0;
}

.article-detail--normal .story-player__visual.learning-visual.has-generated-image img {
  aspect-ratio: 4 / 4;
  object-fit: contain;
  background: #ffffff;
}

.article-detail--normal .story-player__panel {
  padding: calc(var(--page-density-padding) - .05rem);
}

.article-figure img,
.article-figure--placeholder {
  display: block;
  width: 100%;
  max-height: 1000px;
  border-radius: 8px;
  object-fit: cover;
}

.article-figure--placeholder {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--page-card-border);
  color: var(--text);
  background: linear-gradient(135deg, color-mix(in srgb, var(--page-card-bg), white 14%), color-mix(in srgb, var(--page-card-bg), var(--hero-radial-1) 12%));
}

.article-figure__placeholder-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 28% 32%, color-mix(in srgb, var(--route-accent, #4cc9f0), white 68%) 0, transparent 24%),
    radial-gradient(circle at 76% 22%, rgba(255, 214, 102, .18) 0, transparent 20%),
    linear-gradient(120deg, rgba(76, 201, 240, .10), rgba(255, 255, 255, 0) 45%, rgba(128, 237, 153, .12) 100%);
}

.article-figure--placeholder span {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  border: 1px solid rgba(45, 55, 72, .14);
  padding: .6rem .95rem;
  background: rgba(255, 255, 255, .84);
  font-size: .8rem;
  letter-spacing: .08em;
  font-weight: 700;
  text-transform: uppercase;
}

.article-figure figcaption {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.article-body--detail {
  max-width: 760px;
  margin: 0 auto;
  border-top: 0;
}

.article-body--detail h2 {
  margin: 2rem 0 .65rem;
  color: var(--text);
  font-size: 1.22rem;
  line-height: 1.3;
}

.article-body--detail p {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.35rem;
}

.article-intro {
  color: #172033;
  font-size: 1.2rem;
}

.article-callout,
.article-note,
.article-section {
  margin: 1.75rem 0;
  padding: 1.1rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(45, 55, 72, .10);
  background: linear-gradient(180deg, rgba(248, 251, 255, .9), rgba(255, 255, 255, .96));
}

.article-callout h2,
.article-note h2,
.article-section h2 {
  margin-top: 0;
}

.article-callout p,
.article-note p,
.article-section p {
  margin-bottom: 0;
}

.article-callout {
  border-left: 4px solid color-mix(in srgb, var(--route-accent, #4cc9f0), white 18%);
}

.article-section {
  border-left: 4px solid rgba(125, 211, 252, .82);
}

.article-section + .article-section {
  margin-top: 1.2rem;
}

.article-note {
  border-left: 4px solid rgba(255, 214, 102, .72);
}

.source-panel {
  display: grid;
  gap: .75rem;
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(45, 55, 72, .10);
  border-radius: var(--page-card-radius);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--page-card-bg), white 20%),
    color-mix(in srgb, var(--page-card-bg), white 10%)
  );
}

.source-panel h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.source-panel p {
  margin: 0;
  color: var(--muted);
  line-height: var(--page-copy-line);
}

.source-panel__list {
  margin: 0;
  padding-left: 1.1rem;
  color: #536276;
}

.source-panel__list a {
  color: #17365d;
}

.source-panel__links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.source-panel__links .btn {
  min-width: 0;
}

.robot-companion {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  width: 138px;
  height: 138px;
  pointer-events: auto;
  will-change: transform;
}

.robot-stage {
  width: 138px;
  height: 138px;
  overflow: hidden;
  border: 1px solid rgba(45, 55, 72, .10);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, .92), transparent 28%),
    linear-gradient(135deg, rgba(76, 201, 240, .28), rgba(255, 214, 102, .18), rgba(128, 237, 153, .28));
  box-shadow: 0 16px 42px rgba(30, 41, 59, .18);
}

.robot-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.robot-controls {
  position: absolute;
  left: 50%;
  top: calc(100% + .45rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(48px, 1fr));
  gap: .35rem;
  width: 176px;
  transform: translateX(-50%) translateY(-4px);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.robot-companion:hover .robot-controls,
.robot-companion:focus-within .robot-controls {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.robot-controls button {
  min-width: 48px;
  border: 1px solid rgba(45, 55, 72, .14);
  border-radius: 999px;
  padding: .38rem .55rem;
  color: #172033;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px rgba(30, 41, 59, .12);
  cursor: pointer;
  font: 700 .76rem var(--body);
}

@media (max-width: 960px) {
  .hero-grid, .dashboard-grid, .workflow-grid, .article-grid, .public-hero__grid, .article-shell, .category-bands, .supporting-grid, .public-footer__grid, .lead-story, .page-grid, .story-feature, .story-player__viewport { grid-template-columns: 1fr; }
  .article-detail__content-grid {
    grid-template-columns: 1fr;
  }
  .game-topbar__inner {
    align-items: start;
  }
  .game-topbar__title {
    justify-items: start;
    text-align: left;
  }
  .kid-home__tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
  }
  .kid-home__intro {
    grid-template-columns: minmax(0, 1fr) minmax(150px, .7fr);
  }
  .kid-home__intro-art img {
    max-width: 228px;
  }
  .game-layout {
    grid-template-columns: minmax(190px, 220px) minmax(0, 1.2fr);
    grid-template-areas:
      "stats stage"
      "mission stage";
    align-items: start;
  }
  .game-card--stats { grid-area: stats; }
  .game-stage-card { grid-area: stage; }
  .game-card--mission { grid-area: mission; }
  .game-shell__header {
    flex-direction: column;
  }
  .article-host {
    position: static;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    align-items: center;
  }
  .public-hero__art {
    order: -1;
    padding-top: 0;
  }
  .public-hero__art img {
    width: min(100%, 320px);
  }
  .host-canvas {
    min-height: 220px;
  }
  .lead-story__image.has-generated-image img {
    min-height: 300px;
  }
  .story-feature__image.learning-visual {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  body[data-page="public"][data-section^="game-"] {
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .game-topbar {
    padding: .75rem 0;
  }
  .game-topbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }
  .game-topbar__cluster {
    justify-content: space-between;
  }
  body[data-page="public"][data-section^="game-"] .site-header {
    position: fixed;
    top: .75rem;
    right: .75rem;
    left: auto;
    z-index: 20;
    width: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  body[data-page="public"][data-section^="game-"] .nav {
    min-height: 0;
    padding: 0;
    justify-content: flex-end;
  }
  body[data-page="public"][data-section^="game-"] .brand {
    display: none;
  }
  body[data-page="public"][data-section^="game-"] .nav-menu {
    left: auto;
    right: 0;
    width: min(320px, calc(100vw - 1.5rem));
  }
  body[data-page="public"][data-section^="game-"] .public-page--game {
    min-height: 100dvh;
    padding-bottom: .75rem;
  }
  body[data-page="public"][data-section^="game-"] .kid-return-shell {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 20;
    padding-top: 0;
  }
  body[data-page="public"][data-section^="game-"] .kid-home-return {
    min-width: 56px;
    padding: .08rem;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .14);
  }
  body[data-page="public"][data-section^="game-"] .kid-home-return__icon {
    min-height: 42px;
  }
  body[data-page="public"][data-section^="game-"] .kid-home-return__icon img {
    max-width: 42px;
    border-radius: 10px;
    border-width: 1px;
  }
  body[data-page="public"][data-section^="game-"] .kid-home-return > span:last-child {
    display: none;
  }
  body[data-page="public"][data-section^="game-"] .game-shell {
    min-height: auto;
    gap: .35rem;
    padding: 3.35rem 0 .35rem;
    grid-template-rows: auto;
  }
  body[data-page="public"][data-section^="game-"] .game-shell__header {
    display: none;
  }
  body[data-page="public"][data-section^="game-"] .game-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "stats"
      "stage"
      "mission";
    align-content: start;
    min-height: 0;
    gap: .45rem;
  }
  body[data-page="public"][data-section^="game-"] .game-card--stats {
    grid-area: stats;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: .45rem;
    padding: .45rem .55rem;
  }
  body[data-page="public"][data-section^="game-"] .game-pilot {
    padding-bottom: 0;
    border-bottom: 0;
    gap: .2rem;
  }
  body[data-page="public"][data-section^="game-"] .game-pilot__portrait {
    min-height: 82px;
    padding: .16rem;
    border-radius: 16px;
  }
  body[data-page="public"][data-section^="game-"] .game-pilot__stage {
    min-height: 72px;
  }
  body[data-page="public"][data-section^="game-"] .game-pilot__canvas {
    max-width: 70px;
  }
  body[data-page="public"][data-section^="game-"] .game-pilot__copy h3 {
    font-size: .78rem;
    line-height: 1;
  }
  body[data-page="public"][data-section^="game-"] .game-stat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .35rem;
    align-items: end;
  }
  body[data-page="public"][data-section^="game-"] .game-stage-card {
    grid-area: stage;
    padding: .35rem;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission {
    grid-area: mission;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(120px, .8fr);
    gap: .35rem .45rem;
    padding: .38rem .45rem;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission .game-card__section {
    gap: .25rem;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission .game-card__section + .game-card__section {
    padding-top: 0;
    border-top: 0;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission .game-card__section:first-child {
    display: none;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission .game-card__section:nth-child(2) {
    display: none;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission .game-card__section:nth-child(3) {
    align-content: start;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission .game-stat__label {
    font-size: .62rem;
    letter-spacing: .04em;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission .game-controls-copy {
    font-size: .74rem;
    line-height: 1.32;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission .game-control-button {
    min-height: 34px;
    padding: .42rem .55rem;
    font-size: .76rem;
  }
  body[data-page="public"][data-section^="game-"] .game-stage-frame canvas {
    width: auto;
    max-width: 100%;
    height: min(66dvh, calc(100vw - .9rem));
    min-height: 360px;
    margin: 0 auto;
    aspect-ratio: 600 / 520;
  }
  body[data-page="public"][data-section^="game-"] .public-footer {
    display: none;
  }
  .nav {
    min-height: 76px;
    padding: .75rem 0;
  }
  .nav-toggle {
    display: inline-flex;
    position: relative;
    flex: 0 0 auto;
  }
  .nav-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .55rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .9rem;
    padding: .95rem;
    border: 1px solid var(--page-card-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--page-card-bg), white 14%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
  }
  .nav-menu.is-open {
    display: flex;
  }
  .nav-links,
  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-link {
    justify-content: center;
  }
  html[data-reading-mode="kid"] body[data-page="public"] .nav-links,
  html[data-reading-mode="kid"] body[data-page="article"] .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mode-switcher {
    width: 100%;
    justify-content: space-between;
  }
  .mode-switcher__option {
    flex: 1 1 0;
    padding-inline: .4rem;
  }
}

@media (max-width: 620px) {
  .admin-lane-grid {
    grid-template-columns: 1fr;
  }
  .game-topbar__cluster {
    flex-direction: column;
    align-items: stretch;
  }
  .game-topbar__link {
    width: 100%;
  }
  .btn { width: 100%; justify-content: center; }
  .article-page { padding-top: 1rem; }
  .article-host { grid-template-columns: 1fr; }
  .host-controls { grid-template-columns: 1fr; }
  body[data-page="public"][data-section^="game-"] .game-card--stats {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: .35rem;
  }
  body[data-page="public"][data-section^="game-"] .game-stat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  body[data-page="public"][data-section^="game-"] .game-stat {
    gap: .18rem;
  }
  body[data-page="public"][data-section^="game-"] .game-stat__label {
    font-size: .62rem;
    letter-spacing: .04em;
  }
  body[data-page="public"][data-section^="game-"] .game-stat__value {
    font-size: clamp(.92rem, 4.3vw, 1.18rem);
  }
  body[data-page="public"][data-section^="game-"] .game-stat__value--compact {
    font-size: clamp(.78rem, 3.7vw, .96rem);
  }
  body[data-page="public"][data-section^="game-"] .game-pilot__portrait {
    min-height: 70px;
  }
  body[data-page="public"][data-section^="game-"] .game-pilot__stage {
    min-height: 62px;
  }
  body[data-page="public"][data-section^="game-"] .game-pilot__canvas {
    max-width: 60px;
  }
  body[data-page="public"][data-section^="game-"] .game-pilot__copy h3 {
    display: none;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission {
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: .28rem .35rem;
    padding: .32rem .38rem;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission .game-controls-copy {
    font-size: .7rem;
    line-height: 1.28;
  }
  body[data-page="public"][data-section^="game-"] .game-card--mission .game-control-button {
    min-height: 30px;
    padding: .34rem .45rem;
    font-size: .7rem;
  }
  body[data-page="public"][data-section^="game-"] .game-stage-frame canvas {
    height: min(60dvh, calc(100vw - .75rem));
    min-height: 320px;
  }
  body[data-page="public"][data-section^="game-"] .game-stage-frame::before {
    inset: 6px;
  }
  body[data-page="public"][data-section^="game-"] .game-stage-frame canvas {
    height: min(68dvh, calc(100vw - .75rem));
    min-height: 340px;
  }
  body[data-page="public"][data-section^="game-"] .game-stage-overlay__panel {
    width: min(100%, 320px);
    padding: .8rem;
    gap: .55rem;
  }
  body[data-page="public"][data-section^="game-"] .game-stage-overlay__art {
    padding: .7rem;
  }
  body[data-page="public"][data-section^="game-"] .game-stage-overlay__panel strong {
    font-size: 1.02rem;
  }
  body[data-page="public"][data-section^="game-"] .game-stage-overlay__panel p {
    font-size: .86rem;
    line-height: 1.45;
  }
  body[data-page="public"][data-section^="game-"] .game-stage-overlay__eyebrow {
    font-size: .66rem;
  }
  .kid-home__tiles {
    grid-template-columns: 1fr;
    gap: .8rem;
  }
  .kid-home__intro {
    grid-template-columns: 1fr;
    gap: .65rem;
    margin-bottom: 1rem;
    padding: .95rem .9rem .9rem;
  }
  .kid-home__intro h1 {
    max-width: 11ch;
  }
  .kid-home__intro-art {
    min-height: 0;
    justify-items: center;
    padding-top: .2rem;
  }
  .kid-home__intro-art img {
    width: min(56vw, 220px);
    max-width: 220px;
  }
  .kid-tile {
    min-height: 228px;
    padding: .12rem .12rem .36rem;
    gap: .16rem;
  }
  .kid-tile__art {
    min-height: 256px;
  }
  .kid-tile__art img {
    max-width: 280px;
  }
  .kid-tile__copy span:last-child {
    font-size: .92rem;
  }
  .public-hero__actions,
  .lead-story__footer,
  .story-feature__footer,
  .story-feature__tags,
  .story-player__controls {
    flex-direction: column;
    align-items: stretch;
  }
  .support-card,
  .category-band,
  .lead-story,
  .story-player,
  .story-feature {
    padding: .9rem;
  }
  .story-player__viewport,
  .story-feature,
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .article-detail h1, .article-card h2 { font-size: 2rem; }
  .article-figure--placeholder { min-height: 220px; }
  .article-intro,
  .article-body--detail p {
    font-size: 1.02rem;
  }
  .source-panel {
    padding: 1rem;
  }
  .robot-companion {
    width: 112px;
    height: 112px;
  }
  .robot-stage {
    width: 112px;
    height: 112px;
  }
  .robot-controls {
    width: 176px;
  }
}
