@font-face {
  font-family: "Baloo";
  src: url("./assets/baloo.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "OpenSans";
  src: url("./assets/opensans.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Merriweather";
  src: url("./assets/merriweather.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #f8fbff;
  --bg-soft: #eef8ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --welcome: #fff2cc;
  --featured: #fff8e1;
  --moral: #e8edff;
  --bedtime: #fff1cc;
  --gk: #e3f6ea;
  --text: #23314b;
  --muted: #5d6987;
  --line: rgba(77, 101, 184, 0.12);
  --brand: #ff8b5e;
  --brand-deep: #ff6b6b;
  --brand-soft: #fff0c7;
  --accent-blue: #65bdf6;
  --accent-green: #84d89d;
  --accent-yellow: #ffd86f;
  --accent-pink: #ffb3c7;
  --dark: #374151;
  --shadow: 0 24px 60px rgba(67, 107, 181, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "OpenSans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(117, 193, 255, 0.28), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 219, 130, 0.34), transparent 24%),
    radial-gradient(circle at 50% 20%, rgba(255, 170, 195, 0.18), transparent 20%),
    linear-gradient(180deg, #fdfefe, var(--bg));
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.page-shell { position: relative; width: min(1200px, calc(100% - 28px)); margin: 18px auto 60px; }

.topbar,
.footer-card,
.section-card,
.panel-card,
.hero-card,
.featured-panel,
.story-tile,
.media-panel,
.continue-card,
.promo-card,
.profile-hero-card,
.stat-card,
.history-row,
.dashboard-card,
.result-card,
.reader-text,
.reader-image,
.empty-card,
.loading-card { box-shadow: var(--shadow); border: 1px solid var(--line); }

.topbar {
  position: sticky; top: 10px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin-bottom: 22px; padding: 14px 18px; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(18px); border-radius: 999px;
}
.topbar-row {
  display: contents;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; border-radius: 18px; }
.brand strong, .hero-copy h1, h1, h2, h3 { font-family: "Baloo", cursive; line-height: 0.98; margin: 0; }
.brand small { display: block; color: var(--muted); }
.nav-wrap {
  display: contents;
}
.main-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff2cc, #ffe2dd);
  box-shadow: 0 14px 26px rgba(98, 108, 160, 0.12);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  border-radius: 999px;
  background: #3d4f77;
}
.sky-doodles {
  position: absolute;
  inset: -18px 0 auto;
  pointer-events: none;
  z-index: 0;
}
.cloud,
.star,
.spark {
  position: absolute;
}
.cloud {
  width: 118px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 28px rgba(117, 142, 201, 0.12);
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: inherit;
}
.cloud::before {
  width: 46px;
  height: 46px;
  left: 16px;
  top: -18px;
}
.cloud::after {
  width: 56px;
  height: 56px;
  right: 14px;
  top: -24px;
}
.cloud-a { left: 3%; top: 20px; animation: drift 11s ease-in-out infinite; }
.cloud-b { right: 8%; top: 120px; transform: scale(0.88); animation: drift 10s ease-in-out infinite 1.2s; }
.cloud-c { left: 46%; top: 56px; transform: scale(0.7); animation: drift 12s ease-in-out infinite 2s; }
.star {
  width: 18px;
  height: 18px;
  background: #ffe47a;
  clip-path: polygon(50% 0%, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0% 50%, 39% 36%);
}
.star-a { right: 16%; top: 34px; }
.star-b { left: 20%; top: 160px; transform: scale(0.8); }
.star-c { right: 34%; top: 160px; transform: scale(1.1); }
.spark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(115, 207, 255, 0.85);
}
.spark-a { left: 32%; top: 28px; }
.spark-b { right: 24%; top: 92px; }
.nav-link, .nav-button, .primary-button, .dark-button, .small-button, .filter-chip, .ghost-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; padding: 12px 18px; border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.nav-link, .filter-chip { background: rgba(255, 184, 145, 0.18); color: var(--text); }
.nav-link.active, .filter-chip.active { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; }
.nav-button, .primary-button, .small-button { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; }
.nav-button-quiet {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border: 1px solid rgba(111, 141, 209, 0.18);
  box-shadow: 0 12px 26px rgba(77, 101, 184, 0.08);
}
.secondary-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #76cdf7, #4da4eb); color: #fff; transition: transform 180ms ease, box-shadow 180ms ease;
}
.dark-button { background: var(--dark); color: #fff; }
.ghost-button { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.nav-link:hover, .nav-button:hover, .primary-button:hover, .dark-button:hover, .small-button:hover, .filter-chip:hover, .ghost-button:hover, .secondary-button:hover { transform: translateY(-2px); }

.hero-card { position: relative; overflow: hidden; border-radius: var(--radius-xl); min-height: 440px; background: #1d2f67; }
.hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(130deg, rgba(22,40,106,0.18), rgba(22,40,106,0.85)); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 0.8fr; gap: 24px; min-height: 440px; padding: 28px; color: #fff; }
.hero-copy { align-self: center; }
.hero-copy h1, .hero-reader h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
.hero-copy p { max-width: 560px; line-height: 1.7; }
.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  min-height: 560px;
  padding: 32px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 225, 133, 0.95), transparent 22%),
    radial-gradient(circle at 86% 18%, rgba(126, 215, 255, 0.55), transparent 20%),
    linear-gradient(140deg, #fff2b6 0%, #ffd7a7 28%, #ffd3df 60%, #d9efff 100%);
}
.hero-home-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.hero-persona-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-persona-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  padding: 14px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 40px rgba(98, 108, 160, 0.12);
}
.hero-persona-card-guest {
  max-width: 640px;
}
.hero-persona-avatar {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(77, 101, 184, 0.16);
}
.hero-persona-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff9a6c, #ff6e8a);
  color: #fff;
  font-family: "Baloo", cursive;
  font-size: 1.4rem;
}
.hero-persona-copy {
  display: grid;
  gap: 4px;
}
.hero-persona-copy strong {
  font-family: "Baloo", cursive;
  font-size: 1.25rem;
  line-height: 1;
}
.hero-persona-copy span {
  color: var(--muted);
  line-height: 1.5;
}
.hero-home-copy h1 {
  font-family: "Baloo", cursive;
  font-size: clamp(3.1rem, 7vw, 5.4rem);
  line-height: 0.92;
  max-width: 560px;
}
.hero-intro {
  max-width: 600px;
  font-size: 1.04rem;
  line-height: 1.75;
}
.hero-age-row,
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-age-chip,
.trust-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(87, 102, 156, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-age-chip-strong {
  background: linear-gradient(135deg, #ff8e6f, #ff6e8a);
  color: #fff;
}
.badge-sun {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}
.hero-actions {
  margin-top: 2px;
  flex-wrap: wrap;
}
.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.mini-stat {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 32px rgba(112, 97, 55, 0.08);
}
.mini-stat strong {
  display: block;
  font-family: "Baloo", cursive;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.mini-stat span {
  display: block;
  line-height: 1.5;
  color: var(--muted);
}
.mission-capsule {
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.mission-capsule:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(99, 108, 160, 0.14);
}
.hero-home-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.hero-mascot {
  position: absolute;
  width: 92px;
  height: 92px;
  padding: 8px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 36px rgba(87, 102, 156, 0.16);
}
.hero-mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.mascot-book {
  left: 12px;
  bottom: 20px;
  transform: rotate(-8deg);
}
.mascot-moon {
  right: 16px;
  top: 86px;
  transform: rotate(8deg);
}
.mascot-gk {
  left: 48px;
  top: 52px;
  transform: rotate(-6deg);
}
.hero-scene-card {
  position: relative;
  width: min(100%, 460px);
  padding: 16px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 60px rgba(83, 95, 146, 0.18);
  transform: rotate(-2deg);
}
.hero-scene-card img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 28px;
}
.hero-orbit {
  position: absolute;
  border-radius: 999px;
  opacity: 0.55;
  animation: drift 8s ease-in-out infinite;
}
.orbit-a {
  top: 20px;
  left: 12px;
  width: 88px;
  height: 88px;
  background: rgba(255, 183, 87, 0.44);
}
.orbit-b {
  right: 6px;
  bottom: 70px;
  width: 118px;
  height: 118px;
  background: rgba(114, 204, 255, 0.4);
  animation-delay: 1.3s;
}
.story-sticker {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: "Baloo", cursive;
  font-size: 1.05rem;
  box-shadow: 0 12px 28px rgba(76, 83, 130, 0.18);
}
.sticker-top {
  top: -14px;
  right: 18px;
  background: #fff6a8;
}
.sticker-middle {
  left: -12px;
  top: 44%;
  background: #bde8ff;
}
.sticker-bottom {
  right: 20px;
  bottom: -16px;
  background: #ffd0db;
}
.floating-note {
  position: absolute;
  max-width: 230px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 22px 45px rgba(98, 108, 160, 0.12);
}
.note-top {
  top: 30px;
  left: 0;
}
.note-bottom {
  right: 0;
  bottom: 18px;
}
.hero-trust-banner {
  position: absolute;
  left: 60px;
  right: 56px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(35, 49, 75, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 38px rgba(51, 66, 110, 0.2);
}
.hero-trust-banner span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff7f2;
  font-size: 0.82rem;
  font-weight: 700;
}
.hero-buddy-badge,
.hero-progress-board,
.hero-family-badge {
  position: absolute;
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 45px rgba(98, 108, 160, 0.12);
}
.hero-buddy-badge {
  left: 26px;
  bottom: 56px;
  max-width: 240px;
}
.hero-buddy-badge h3,
.hero-progress-board strong,
.hero-family-badge h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}
.hero-progress-board {
  right: 34px;
  top: 26px;
  width: 220px;
}
.hero-family-badge {
  left: 36px;
  top: 34px;
  max-width: 250px;
  background: rgba(255, 255, 255, 0.82);
}
.hero-progress-dots {
  display: flex;
  gap: 8px;
}
.hero-progress-dots span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd65f, #ff8d73);
  animation: pulsePop 1.7s ease-in-out infinite;
}
.hero-progress-dots span:nth-child(2) { animation-delay: 0.15s; }
.hero-progress-dots span:nth-child(3) { animation-delay: 0.3s; }
.hero-progress-dots span:nth-child(4) { animation-delay: 0.45s; }
.hero-side { display: grid; gap: 18px; align-self: end; }
.mini-panel, .continue-card, .footer-card, .section-card, .panel-card, .profile-hero-card, .dashboard-card, .result-card, .empty-card, .loading-card {
  border-radius: var(--radius-lg); background: var(--surface); backdrop-filter: blur(10px);
}
.mini-panel { padding: 18px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.24); }
.section-label, .card-label { margin: 0 0 8px; color: var(--muted); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.content-grid { display: grid; gap: 24px; margin-top: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.section-card, .footer-card, .panel-card, .promo-card { padding: 24px; }
.welcome-card { background: var(--welcome); }
.featured-panel, .profile-hero-card { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface-strong); min-height: 190px; }
.featured-panel-showcase {
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 22px;
  padding: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 227, 151, 0.5), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,245,234,0.96) 46%, rgba(234,245,255,0.98));
}
.featured-art {
  position: relative;
  min-height: 260px;
  padding: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 44px rgba(77, 101, 184, 0.12);
}
.featured-art img {
  border-radius: 22px;
}
.featured-ribbon {
  position: absolute;
  left: 22px;
  top: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(35, 49, 75, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
.featured-glow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 196, 94, 0.56), rgba(255, 196, 94, 0));
}
.featured-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}
.featured-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.featured-panel img, .story-cover, .media-panel img, .hero-reader img, .profile-avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.profile-avatar { width: 110px; height: 110px; }
.continue-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px; color: #fff; background: linear-gradient(135deg, #7c8cff, #5b73ff); }
.continue-card-sunrise {
  background: linear-gradient(135deg, #ffb36f, #ff7f7f 50%, #7c8cff);
}
.continue-card img { width: 76px; height: 76px; border-radius: 22px; background: rgba(255,255,255,0.18); padding: 10px; }
.progress-track { width: min(360px, 100%); height: 8px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.32); }
.progress-fill { display: block; width: 60%; height: 100%; background: #fff; }
.story-grid, .stats-grid, .panel-grid, .issue-grid, .gk-grid { display: grid; gap: 18px; }
.story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-tile { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-strong); min-height: 100%; }
.story-tile {
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.story-tile:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 24px 42px rgba(77, 101, 184, 0.14);
}
.premium-story-card {
  border: 1px solid rgba(111, 141, 209, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248, 250, 255, 0.98));
  box-shadow: var(--shadow);
}
.story-link { display: block; height: 100%; }
.story-cover-wrap { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #dbe4ff, #eef3ff); }
.story-cover-glow {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 214, 95, 0.5), rgba(255, 214, 95, 0));
  pointer-events: none;
}
.story-cover { height: 100%; }
.lock-badge, .chip, .chip-alt { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.story-ribbon {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}
.ribbon-moral { background: linear-gradient(135deg, #7d8dff, #5769f5); }
.ribbon-bedtime { background: linear-gradient(135deg, #7f63d7, #4f46b8); }
.ribbon-gk { background: linear-gradient(135deg, #1ea59c, #127e7e); }
.ribbon-myth { background: linear-gradient(135deg, #e9813c, #cf5d29); }
.ribbon-inspire { background: linear-gradient(135deg, #f35f8f, #d94372); }
.ribbon-general { background: linear-gradient(135deg, #5baee8, #3b7fe4); }
.lock-badge { position: absolute; top: 14px; left: 14px; color: #fff; background: rgba(19, 28, 79, 0.78); }
.story-body { padding: 18px; }
.story-body h3 {
  font-family: "Baloo", cursive;
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 10px;
}
.story-body p { margin: 0; line-height: 1.6; }
.story-card-actions {
  margin-top: 14px;
}
.story-card-meta,
.issue-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.story-card-open {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9f83, #ff716b);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.story-rich-copy {
  display: grid;
  gap: 14px;
}
.story-rich-copy p,
.story-rich-copy li {
  font-family: "Merriweather", serif;
  font-size: 1.12rem;
  line-height: 2;
  color: #384256;
  margin: 0;
}
.story-rich-copy ul,
.story-rich-copy ol {
  margin: 0;
  padding-left: 22px;
}
.story-rich-copy strong,
.story-rich-copy b {
  color: #273a60;
}
.media-panel { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-strong); min-height: 220px; }
.premium-issue-card {
  border: 1px solid rgba(111, 141, 209, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246, 250, 255, 0.98));
  box-shadow: var(--shadow);
}
.issue-panel .issue-link, .media-panel .issue-link { display: grid; grid-template-columns: 190px 1fr; height: 100%; }
.issue-visual-shell {
  position: relative;
  min-height: 100%;
}
.issue-spotlight-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(28, 42, 78, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
.media-panel img { height: 100%; }
.media-copy { padding: 18px; }
.media-copy.compact { display: flex; flex-direction: column; justify-content: center; }
.funzone-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), var(--funzone-bg));
  box-shadow: var(--shadow);
}
.funzone-image-wrap {
  position: relative;
  min-height: 190px;
}
.funzone-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.funzone-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(35, 49, 75, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
.funzone-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.button-row, .chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { background: rgba(255, 171, 113, 0.18); color: var(--text); }
.chip-alt { background: #edf4ff; color: #44618b; }
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-profile-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(111, 141, 209, 0.18);
  box-shadow: 0 12px 26px rgba(77, 101, 184, 0.08);
}
.topbar-profile-avatar,
.topbar-profile-avatar img {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
}
.topbar-profile-avatar img {
  object-fit: cover;
}
.topbar-profile-fallback {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff9a6c, #ff6e8a);
  color: #fff;
  font-family: "Baloo", cursive;
  font-size: 1.1rem;
}
.topbar-profile-copy {
  display: grid;
  gap: 2px;
}
.topbar-profile-copy strong {
  font-size: 0.92rem;
  line-height: 1;
}
.topbar-profile-copy small {
  color: var(--muted);
  line-height: 1.2;
}
.topbar-wallet[hidden] {
  display: none !important;
}
.wallet-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 12px;
  margin-top: 14px;
}
.wallet-strip-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}
.wallet-pill,
.wallet-card {
  border: 1px solid rgba(111, 141, 209, 0.16);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 12px 24px rgba(77, 101, 184, 0.08);
}
.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}
.wallet-icon {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  font-size: 1rem;
}
.wallet-icon-coin {
  border-radius: 999px;
  background: linear-gradient(135deg, #fff0b5, #ffbf47);
  box-shadow: inset 0 0 0 1px rgba(192, 138, 25, 0.22);
}
.wallet-icon-star {
  border-radius: 999px;
  background: linear-gradient(135deg, #fff5be, #ffd26a);
  box-shadow: inset 0 0 0 1px rgba(197, 155, 52, 0.22);
}
.wallet-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8ch;
}
.wallet-pill-alt {
  background: #edf4ff;
  color: #44618b;
}
.wallet-card {
  display: grid;
  gap: 6px;
  min-width: 118px;
  padding: 14px 16px;
  border-radius: 20px;
}
.wallet-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Baloo", cursive;
  font-size: 1.55rem;
  line-height: 1;
}
.wallet-card-wide {
  min-width: 170px;
}
.wallet-bump {
  animation: walletBump 520ms ease;
}
.chip-action {
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.chip-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(77, 101, 184, 0.12);
}
.promo-grid, .parent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promo-card { border-radius: var(--radius-lg); }
.promo-card.primary { background: linear-gradient(135deg, #6789ff, #4d67ef); color: #fff; }
.promo-card.dark { background: linear-gradient(180deg, #ffffff, #eef2ff); }
.reader-layout { display: grid; gap: 18px; }
.hero-reader { display: grid; grid-template-columns: 260px 1fr; gap: 20px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface-strong); }
.locked-reader { background: linear-gradient(180deg, #fff, #f4f6ff); }
.reader-text { padding: 22px; border-radius: var(--radius-lg); background: #fff; }
.reader-text p { margin: 0; font-size: 1.08rem; line-height: 1.9; }
.reader-image { margin: 0; padding: 10px; border-radius: var(--radius-lg); background: #fff; }
.reader-image img { border-radius: 20px; }
.profile-hero-card, .history-row, .dashboard-card, .stat-card, .result-card, .gk-tile { border-radius: var(--radius-lg); background: var(--surface-strong); }
.profile-hero-card { align-items: center; padding: 22px; }
.stat-card, .dashboard-card, .result-card, .gk-tile { padding: 20px; }
.history-row { display: flex; justify-content: space-between; gap: 16px; padding: 18px; }
.history-row p, .dashboard-card p, .result-card p, .gk-tile p, .empty-card p, .loading-card p, .panel-card p, .footer-card p, .featured-panel p, .hero-reader p { margin: 0; line-height: 1.6; }
.empty-card, .loading-card { padding: 24px; text-align: center; }
.empty-card.tall { min-height: 220px; display: grid; place-items: center; }
.loading-card { color: var(--muted); min-height: 140px; display: grid; place-items: center; }
.loading-copy {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
}
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.issue-skeleton-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.skeleton-card {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.skeleton-body {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.skeleton {
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(232,238,251,0.9) 25%, rgba(255,255,255,0.95) 50%, rgba(232,238,251,0.9) 75%);
  background-size: 220% 100%;
}
.shimmer {
  animation: shimmer 1.3s linear infinite;
}
.skeleton-cover {
  aspect-ratio: 4 / 3;
}
.skeleton-issue {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
}
.skeleton-issue-image {
  min-height: 180px;
}
.skeleton-line {
  height: 16px;
}
.skeleton-line.short {
  width: 38%;
}
.skeleton-line.medium {
  width: 72%;
}
.safe { border-left: 6px solid #16a34a; }
.warn { border-left: 6px solid #f59e0b; }
.parent-grid .wide { grid-column: span 2; }
.mini-list { display: grid; gap: 10px; }
.mini-list-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.gk-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; margin-bottom: 12px; background: rgba(106,128,255,0.12); font-weight: 700; }
.theme-blue { background: linear-gradient(180deg, #fff, #edf3ff); }
.theme-gold { background: linear-gradient(180deg, #fffef7, #fff4d7); }
.theme-green { background: linear-gradient(180deg, #fbfff9, #e8f8ec); }
.footer-card { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 18px; margin-top: 24px; align-items: start; }
.footer-main p:last-child { max-width: 460px; }
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links a {
  width: fit-content;
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}
.footer-links a:hover {
  color: var(--text);
  transform: translateX(2px);
}
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.form-card { padding: 24px; border-radius: var(--radius-lg); background: var(--surface-strong); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field-row { display: grid; gap: 10px; }
.field-row input, .field-row textarea { width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); font: inherit; }
.field-row textarea { min-height: 160px; resize: vertical; }
.toast-host { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: 10px; }
.toast { min-width: 220px; padding: 14px 16px; border-radius: 16px; color: #fff; background: rgba(25, 35, 83, 0.92); opacity: 0; transform: translateY(8px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast-celebration {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 161, 92, 0.98), rgba(255, 109, 133, 0.96));
  box-shadow: 0 18px 34px rgba(246, 118, 116, 0.24);
}
.toast-celebration strong {
  display: block;
  font-family: "Baloo", cursive;
  font-size: 1.25rem;
  line-height: 1;
}
.toast-celebration p {
  margin: 6px 0 0;
  line-height: 1.45;
}
.toast-celebration-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.24);
  font-size: 1.35rem;
}

.spark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.launch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.launch-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  min-height: 248px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(111, 141, 209, 0.16);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.launch-card {
  align-content: space-between;
}
.launch-card:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 0 26px 46px rgba(77, 101, 184, 0.15);
}
.launch-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 26px;
  justify-self: end;
  box-shadow: 0 18px 28px rgba(77, 101, 184, 0.14);
}
.launch-card-copy {
  display: grid;
  gap: 8px;
}
.launch-card-copy::after {
  content: "Open now";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #32476d;
  font-size: 0.82rem;
  font-weight: 700;
}
.launch-card-copy h2 {
  font-size: 2rem;
}
.launch-card-copy p:last-child {
  margin: 0;
  line-height: 1.7;
}
.launch-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -26px;
  width: 128px;
  height: 128px;
  border-radius: 999px;
  opacity: 0.24;
}
.launch-card-story {
  background: linear-gradient(180deg, #fffaf0, #ffe2b7);
}
.launch-card-story::after {
  background: #ffb24f;
}
.launch-card-learn {
  background: linear-gradient(180deg, #f2fdff, #d9f0ff);
}
.launch-card-learn::after {
  background: #60c5ff;
}
.launch-card-profile {
  background: linear-gradient(180deg, #fff6fd, #ffe0f0);
}
.launch-card-profile::after {
  background: #ff7eb8;
}
.launch-card-parent {
  background: linear-gradient(180deg, #f4fff5, #dbf4e0);
}
.launch-card-parent::after {
  background: #7ecf8f;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.journey-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(111, 141, 209, 0.16);
  box-shadow: var(--shadow);
}
.journey-card h2 {
  margin: 6px 0 10px;
  font-size: 1.8rem;
}
.journey-card p:last-child {
  margin: 0;
  line-height: 1.7;
}
.journey-card-sun {
  background: linear-gradient(180deg, #fffdf1, #ffe9b2);
}
.journey-card-sky {
  background: linear-gradient(180deg, #f3fbff, #dff1ff);
}
.journey-card-mint {
  background: linear-gradient(180deg, #f7fff5, #ddf5de);
}
.journey-card-peach {
  background: linear-gradient(180deg, #fff7f1, #ffe0ce);
}
.content-stage-shell {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.95));
}
.story-load-row {
  margin-top: 18px;
  text-align: center;
}
.story-spotlight-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.story-spotlight-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(111, 141, 209, 0.16);
  box-shadow: var(--shadow);
}
.story-spotlight-card-sun {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255, 240, 202, 0.96));
}
.story-spotlight-card-sky {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(223, 241, 255, 0.96));
}
.story-parent-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, rgba(255,249,224,0.96), rgba(255,235,242,0.94), rgba(228,243,255,0.96));
}
.story-parent-strip > div:first-child {
  max-width: 680px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.blog-card {
  border: 1px solid rgba(111, 141, 209, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,255,0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.blog-link {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  height: 100%;
}
.blog-cover-wrap {
  position: relative;
  min-height: 220px;
}
.blog-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-audience-ribbon {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(60, 74, 120, 0.18);
}
.blog-audience-kids {
  background: linear-gradient(135deg, #ff9d68, #ff7b9c);
}
.blog-audience-parents {
  background: linear-gradient(135deg, #5c7cff, #5dc5ff);
}
.blog-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}
.blog-card-body h3 {
  margin: 0;
  font-size: 1.9rem;
}
.blog-card-body p:last-of-type {
  margin: 0;
  line-height: 1.7;
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-hero {
  background: linear-gradient(135deg, #fff2c8, #ffe0d4 44%, #dff2ff);
}
.blog-article-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
}
.blog-article-cover img {
  width: 100%;
  border-radius: 28px;
  min-height: 320px;
  object-fit: cover;
  box-shadow: 0 24px 40px rgba(83, 95, 146, 0.14);
}
.blog-article-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.blog-article-summary {
  margin: 16px 0;
  font-size: 1.08rem;
  line-height: 1.8;
}
.blog-rich-copy {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,255,0.96));
}
.blog-inline-image {
  margin: 22px 0;
}
.blog-inline-image img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 22px 38px rgba(83, 95, 146, 0.14);
  object-fit: cover;
}
.blog-rich-copy blockquote {
  margin: 18px 0;
  padding: 18px 20px;
  border-left: 5px solid #7d8dff;
  border-radius: 18px;
  background: rgba(231, 238, 255, 0.72);
  color: #384b73;
  font-weight: 700;
}
.blog-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,243,207,0.94), rgba(255,227,235,0.94), rgba(229,242,255,0.96));
  border: 1px solid rgba(111, 141, 209, 0.16);
}
.blog-inline-cta h3 {
  margin: 6px 0 0;
  font-size: 1.6rem;
}
.app-link-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(255,249,224,0.96), rgba(255,235,242,0.94), rgba(228,243,255,0.96));
}
.app-link-copy {
  max-width: 720px;
}
.app-link-copy h2 {
  margin: 8px 0 10px;
  font-size: 2.1rem;
}
.app-link-copy p {
  margin: 0;
  line-height: 1.7;
}
.spark-card {
  position: relative;
  overflow: hidden;
}
.spark-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  opacity: 0.26;
}
.sparkle-yellow { background: linear-gradient(180deg, #fffdf1, #fff1bd); }
.sparkle-yellow::after { background: #ffd461; }
.sparkle-blue { background: linear-gradient(180deg, #f5fcff, #dff2ff); }
.sparkle-blue::after { background: #70c7ff; }
.sparkle-peach { background: linear-gradient(180deg, #fff7f0, #ffe1cf); }
.sparkle-peach::after { background: #ff9f80; }
.grid-hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
}
.home-showcase-shell {
  background:
    radial-gradient(circle at top right, rgba(115, 203, 255, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.94));
}
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 14px;
}
.section-playground {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,247,236,0.96));
}
.section-cloud {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(235,246,255,0.95));
}
.section-meadow {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,255,237,0.96));
}
.section-lilac {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,239,255,0.94));
}
.section-links {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,245,230,0.96));
}
.play-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.play-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.play-card-lime {
  background: linear-gradient(180deg, #f8fff1, #dff7c7);
}
.play-card-pink {
  background: linear-gradient(180deg, #fff6fa, #ffdce8);
}
.play-card-sky {
  background: linear-gradient(180deg, #f2fbff, #d5efff);
}
.profile-page-hero {
  background: linear-gradient(135deg, #fff3bf, #ffe1d2 44%, #e8f5ff);
}
.profile-page-hero::after {
  opacity: 1;
  background-image: url("./assets/header-story.webp");
}
.issue-page-hero {
  background: linear-gradient(135deg, #eefbff, #fff1ce 46%, #ffe2e7);
}
.issue-page-hero::after {
  opacity: 1;
  background-image: url("./assets/monthly-magazine.webp");
}
.profile-section-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(243,248,255,0.94));
}
.profile-hub-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(244,250,255,0.96));
}
.profile-empty-state {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,244,227,0.95));
}
.profile-hero-card-playful {
  background: linear-gradient(135deg, #fffef5, #fff1d0 38%, #eef7ff);
}
.playful-stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,244,223,0.95));
}
.playful-history-row {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,247,255,0.94));
}
.playful-dashboard-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,240,255,0.95));
}
.story-meta-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,244,228,0.94));
}
.story-reader-page {
  gap: 20px;
}
.reader-workspace {
  --reader-bg: linear-gradient(180deg, #f7efe1, #efe3cf);
  --reader-surface: rgba(255, 252, 246, 0.94);
  --reader-border: rgba(171, 139, 94, 0.18);
  --reader-text: #2f2a22;
  --reader-muted: #7a6753;
  --reader-accent: #8d5f2f;
  --reader-progress: linear-gradient(135deg, #d39d57, #8a6031);
  --reader-font-family: "OpenSans", sans-serif;
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.48), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.36), rgba(255,255,255,0.12)),
    var(--reader-bg);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 30px 70px rgba(99, 84, 61, 0.12);
}
.reader-sticky-stack {
  position: static;
  z-index: 1;
  display: grid;
  gap: 16px;
}
.reader-workspace[data-reader-theme="sepia"] {
  --reader-bg: linear-gradient(180deg, #e8d7b7, #d8c3a0);
  --reader-surface: rgba(255, 249, 239, 0.92);
  --reader-border: rgba(132, 98, 54, 0.16);
  --reader-text: #34281e;
  --reader-muted: #816852;
  --reader-accent: #8f5826;
  --reader-progress: linear-gradient(135deg, #b87d44, #724624);
}
.reader-workspace[data-reader-theme="sky"] {
  --reader-bg: linear-gradient(180deg, #dfeefc, #c7dff3);
  --reader-surface: rgba(248, 252, 255, 0.93);
  --reader-border: rgba(87, 126, 172, 0.16);
  --reader-text: #26354c;
  --reader-muted: #61738d;
  --reader-accent: #446ea6;
  --reader-progress: linear-gradient(135deg, #6dbcf2, #4c77c9);
}
.reader-workspace[data-reader-theme="night"] {
  --reader-bg: linear-gradient(180deg, #152136, #0d1525);
  --reader-surface: rgba(22, 31, 49, 0.94);
  --reader-border: rgba(122, 148, 198, 0.18);
  --reader-text: #edf4ff;
  --reader-muted: #b2bfd8;
  --reader-accent: #9fd7ff;
  --reader-progress: linear-gradient(135deg, #73d4ff, #7a8fff);
}
.reader-workspace[data-reader-theme="night"] .reader-toolbar-card,
.reader-workspace[data-reader-theme="night"] .reader-progress-card,
.reader-workspace[data-reader-theme="night"] .reader-utility-bar,
.reader-workspace[data-reader-theme="night"] .reader-page-rail {
  background: linear-gradient(180deg, rgba(20, 30, 48, 0.96), rgba(12, 19, 33, 0.92));
}
.reader-workspace[data-reader-theme="night"] .reader-control-group,
.reader-workspace[data-reader-theme="night"] .page-rail-dot {
  background: rgba(255, 255, 255, 0.08);
}
.reader-workspace[data-reader-theme="night"] .kindle-page {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03), transparent 26px),
    linear-gradient(180deg, rgba(18, 27, 43, 0.96), rgba(11, 17, 29, 0.98));
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.34);
  opacity: 0.94;
  filter: saturate(1);
}
.reader-workspace[data-reader-theme="night"] .story-text-card {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03), transparent 26px),
    linear-gradient(180deg, rgba(18, 27, 43, 0.96), rgba(11, 17, 29, 0.98));
  border-color: rgba(122, 148, 198, 0.18);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.34);
}
.reader-workspace[data-reader-theme="night"] .kindle-page-inner {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(159, 215, 255, 0.07) 33px 34px);
}
.reader-workspace[data-reader-theme="night"] .kindle-page .story-rich-copy p,
.reader-workspace[data-reader-theme="night"] .kindle-page .story-rich-copy li,
.reader-workspace[data-reader-theme="night"] .kindle-page .story-rich-copy strong,
.reader-workspace[data-reader-theme="night"] .kindle-page .story-rich-copy b {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}
.reader-workspace[data-reader-theme="night"] .kindle-illustration {
  background: linear-gradient(180deg, rgba(18, 27, 43, 0.94), rgba(11, 17, 29, 0.92));
}
.reader-workspace[data-reader-theme="night"] .kindle-illustration figcaption,
.reader-workspace[data-reader-theme="night"] .reader-control-chip,
.reader-workspace[data-reader-theme="night"] .reader-font-indicator,
.reader-workspace[data-reader-theme="night"] .page-rail-dot {
  color: var(--reader-text);
}
.kindle-hero-card {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.45), transparent 22%),
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,248,240,0.52));
  border: 1px solid var(--reader-border);
  box-shadow: 0 22px 40px rgba(90, 76, 58, 0.1);
}
.kindle-cover-frame {
  padding: 14px;
  border-radius: 28px;
  background: rgba(255,255,255,0.52);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
.kindle-hero-copy {
  color: var(--reader-text);
}
.kindle-hero-copy p {
  color: var(--reader-muted);
}
.kindle-hero-notes {
  margin-top: 18px;
}
.reader-toolbar-card,
.reader-progress-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--reader-border);
  background: linear-gradient(180deg, var(--reader-surface), rgba(255,255,255,0.72));
  backdrop-filter: blur(14px);
}
.reader-toolbar-card {
  position: static;
  z-index: 20;
  width: 100%;
  transform: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  box-shadow: 0 18px 34px rgba(82, 65, 47, 0.1);
}
.reader-progress-card {
  position: static;
  z-index: 19;
}
.reader-toolbar-intro {
  display: grid;
  gap: 8px;
  color: var(--reader-text);
}
.reader-toolbar-intro h2 {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  color: var(--reader-text);
}
.reader-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.reader-control-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.56);
  border: 1px solid var(--reader-border);
}
.reader-control-chip {
  min-width: 52px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  color: var(--reader-text);
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.reader-control-chip:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.72);
}
.reader-control-chip.active {
  color: #fff;
  background: var(--reader-progress);
  box-shadow: 0 10px 24px rgba(77, 61, 43, 0.16);
}
.reader-font-indicator {
  min-width: 52px;
  text-align: center;
  font-weight: 700;
  color: var(--reader-muted);
}
.reader-progress-copy {
  display: grid;
  gap: 6px;
  color: var(--reader-text);
}
.reader-progress-copy strong {
  font-family: "Baloo", cursive;
  font-size: 1.55rem;
  color: var(--reader-text);
}
.reader-progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(124, 110, 91, 0.12);
}
.reader-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--reader-progress);
  transition: width 220ms ease;
}
.reader-utility-bar {
  position: static;
  z-index: 19;
  width: 100%;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 28px;
  border: 1px solid var(--reader-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.52), rgba(255,255,255,0.24));
  box-shadow: 0 18px 34px rgba(82, 65, 47, 0.08);
}
.reader-utility-copy {
  display: grid;
  gap: 4px;
  color: var(--reader-text);
}
.reader-utility-copy strong {
  font-family: "Baloo", cursive;
  font-size: 1.4rem;
  color: var(--reader-text);
}
.reader-utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.reader-control-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.reader-book-shell {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-top: 0;
}
.reader-page-rail {
  position: sticky;
  top: 420px;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px 10px;
  border-radius: 26px;
  background: rgba(255,255,255,0.46);
  border: 1px solid var(--reader-border);
  backdrop-filter: blur(12px);
}
.page-rail-dot {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,0.62);
  color: var(--reader-muted);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.page-rail-dot:hover {
  transform: translateX(2px);
  background: rgba(255,255,255,0.84);
}
.page-rail-dot.active {
  color: #fff;
  background: var(--reader-progress);
  box-shadow: 0 16px 24px rgba(77, 61, 43, 0.16);
}
.kindle-book {
  display: grid;
  gap: 22px;
  width: min(100%, 860px);
  margin: 0 auto;
}
.kindle-page {
  padding: 18px;
  border-radius: 30px;
  border: 1px solid var(--reader-border);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.03), transparent 26px),
    linear-gradient(180deg, var(--reader-surface), rgba(255,255,255,0.82));
  box-shadow: 0 24px 40px rgba(90, 76, 58, 0.1);
  transition: transform 260ms ease, box-shadow 260ms ease, opacity 260ms ease, filter 260ms ease;
}
.kindle-page-inner {
  padding: clamp(20px, 4vw, 40px) clamp(18px, 4vw, 54px);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0)),
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(141, 111, 75, 0.045) 33px 34px);
}
.kindle-page .story-rich-copy {
  color: var(--reader-text);
  font-family: var(--reader-font-family);
}
.kindle-page .story-rich-copy p,
.kindle-page .story-rich-copy li {
  font-size: calc(1.08rem * var(--reader-font-scale));
  line-height: calc(2.05 * var(--reader-font-scale));
  color: var(--reader-text);
  font-family: var(--reader-font-family);
  text-align: justify;
  text-justify: inter-word;
}
.kindle-page .story-rich-copy p + p {
  margin-top: 0.85em;
}
.kindle-page .story-rich-copy strong,
.kindle-page .story-rich-copy b {
  color: color-mix(in srgb, var(--reader-text) 82%, #000 18%);
}
.kindle-page,
.kindle-illustration {
  opacity: 0.74;
  filter: saturate(0.92);
}
.reader-toolbar-intro .card-label,
.reader-progress-copy .card-label,
.reader-utility-copy .card-label {
  color: var(--reader-muted);
}
.kindle-page.is-active-page,
.kindle-illustration.is-active-page {
  opacity: 1;
  filter: saturate(1);
  transform: perspective(1600px) rotateY(0deg) translateY(-2px);
  box-shadow: 0 34px 54px rgba(82, 65, 47, 0.15);
}
.kindle-page.is-before-page {
  transform: perspective(1600px) rotateY(-3deg);
}
.kindle-page-spread {
  transform-origin: right center;
}
.kindle-page-spread.is-before-page {
  transform: perspective(1600px) rotateY(3deg);
}
.kindle-illustration {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--reader-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.68));
}
.kindle-illustration img {
  max-height: 480px;
  width: 100%;
  object-fit: cover;
}
.kindle-illustration figcaption {
  text-align: center;
  color: var(--reader-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.reader-workspace:fullscreen {
  width: 100%;
  min-height: 100vh;
  padding: 28px;
  overflow: auto;
  border-radius: 0;
}
.reader-workspace:fullscreen .reader-page-rail {
  top: 24px;
}
.story-reader-hero {
  background: linear-gradient(135deg, #fff9de, #ffe6d0 42%, #e9f6ff);
}
.story-reader-hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.4rem);
}
.story-text-card {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.03), transparent 26px),
    linear-gradient(180deg, var(--reader-surface), rgba(255,255,255,0.82));
  border: 1px solid var(--reader-border);
  position: relative;
  overflow: hidden;
  transform-origin: left center;
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.story-text-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 16px;
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 211, 149, 0.7), rgba(138, 215, 255, 0.45));
}
.reader-workspace[data-reader-theme="night"] .story-text-card::before {
  background: linear-gradient(180deg, rgba(115, 212, 255, 0.46), rgba(122, 143, 255, 0.4));
}
.story-text-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(255,255,255,0) 50%, rgba(255, 221, 173, 0.88) 50%);
  border-bottom-right-radius: 22px;
  transform: translate(18px, 18px) rotate(0deg);
  transition: transform 260ms ease;
}
.reader-workspace[data-reader-theme="night"] .story-text-card::after {
  background: linear-gradient(135deg, rgba(255,255,255,0) 50%, rgba(88, 120, 168, 0.42) 50%);
}
.story-illustration {
  background: linear-gradient(180deg, #ffffff, #eef7ff);
}
.reader-layout .story-text-card:nth-of-type(odd) {
  transform: rotate(-0.2deg);
}
.reader-layout .story-text-card:nth-of-type(even) {
  transform: rotate(0.2deg);
}
.story-text-card:hover {
  transform: perspective(1200px) rotateY(-4deg) translateY(-2px);
  box-shadow: 0 28px 42px rgba(108, 121, 170, 0.14);
}
.story-text-card:hover::after {
  transform: translate(0, 0) rotate(-8deg);
}
.issue-reader-hero {
  background: linear-gradient(135deg, #eefbff, #fff1c8 44%, #ffe0e8);
}
.issue-action-row {
  margin-bottom: 16px;
}
.issue-preview-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(241,249,255,0.94));
}
.stories-hero {
  background: linear-gradient(135deg, #ffe8b6, #ffd9c5 42%, #e5f1ff);
}
.stories-hero::after {
  opacity: 1;
  background-image: url("./assets/moral-story.webp");
}
.infotainment-hero {
  background: linear-gradient(135deg, #dff7ff, #e9ffd5 45%, #fff0bf);
}
.infotainment-hero::after {
  opacity: 1;
  background-image: url("./assets/kids-gk.webp");
}
.parent-hero {
  background: linear-gradient(135deg, #f5f4ff, #eef6ff 44%, #fff3dc);
}
.parent-hero::after {
  opacity: 1;
  background-image: url("./assets/current-gk.webp");
}
.story-filter-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,241,225,0.92));
}
.story-load-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(236,246,255,0.92));
}
.story-filter-chip {
  padding-inline: 16px;
  background: rgba(255, 190, 139, 0.2);
}
.issue-section h2 {
  margin-bottom: 16px;
}
.daily-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(232,247,255,0.95));
}
.monthly-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,242,222,0.95));
}
.gk-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,255,232,0.95));
}
.playful-gk-tile {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f7fcff);
}
.playful-gk-tile::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: rgba(118, 205, 247, 0.18);
}
.parent-tools-grid .form-card,
.parent-tools-grid #ad-policy-result {
  min-height: 100%;
}
.parent-panel-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,246,255,0.94));
}
.parent-stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,245,233,0.94));
}
.parent-summary-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(243,240,255,0.94));
}
.parent-zone-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
  background: linear-gradient(135deg, rgba(255,252,237,0.98), rgba(246,241,255,0.95), rgba(230,244,255,0.97));
}
.parent-zone-intro-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}
.parent-zone-intro-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.parent-zone-intro-grid {
  display: grid;
  gap: 14px;
}
.parent-zone-intro-card {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(111, 141, 209, 0.16);
  box-shadow: 0 18px 34px rgba(77, 101, 184, 0.1);
}
.parent-zone-footer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, rgba(238,248,255,0.96), rgba(255,241,228,0.94), rgba(241,255,235,0.96));
}
.parent-zone-footer-strip > div:first-child {
  max-width: 700px;
}
.profile-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.profile-action-button {
  display: grid;
  gap: 8px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.profile-action-button:hover,
.profile-action-button.active {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #fffef7, #edf5ff);
}
.profile-action-button strong {
  font-family: "Baloo", cursive;
  font-size: 1.4rem;
  line-height: 1;
}
.profile-action-button small {
  color: var(--muted);
  line-height: 1.5;
}
.profile-action-panel {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.badge-track-group {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.badge-track-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.badge-track-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,255,0.95));
  box-shadow: var(--shadow);
}
.badge-track-card h4 {
  margin: 6px 0 10px;
  font-size: 1.4rem;
}
.badge-track-card p:last-child {
  margin: 0;
  line-height: 1.6;
}
.badge-track-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.badge-track-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(115, 146, 222, 0.12);
  color: #42577f;
  font-size: 0.84rem;
  font-weight: 700;
}
.badge-track-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.badge-garden {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.badge-garden-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), color-mix(in srgb, var(--badge-accent) 40%, white));
  box-shadow: var(--shadow);
}
.badge-garden-card.locked {
  opacity: 0.78;
}
.badge-garden-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.badge-garden-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255,255,255,0.86);
  color: #3b4d73;
  font-family: "Baloo", cursive;
  font-size: 1.05rem;
}
.badge-garden-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.badge-garden-card h4 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.badge-garden-card p {
  margin: 0;
  line-height: 1.6;
}
.badge-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--muted);
}
.badge-progress-meta strong {
  color: var(--text);
}
.badge-progress-track {
  height: 10px;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(113, 141, 218, 0.14);
}
.badge-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #ffb76d, #ff7f86 58%, #7d8dff);
}
.chart-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.chart-metric-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,255,0.95));
  border: 1px solid var(--line);
}
.chart-metric-card h4 {
  margin: 0 0 8px;
  font-family: "Baloo", cursive;
  font-size: 1.08rem;
}
.chart-metric-card p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.split-bar-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.split-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 12px;
  align-items: center;
}
.split-bar-row label,
.split-bar-row strong {
  font-size: 0.95rem;
}
.split-bar-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(119, 145, 215, 0.16);
}
.split-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #72cdf6, #6c7cff);
}
.analytics-chart-stack {
  display: grid;
  gap: 18px;
}
.parent-hub-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(242,249,255,0.96));
}
.parent-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.parent-menu-button {
  display: grid;
  gap: 8px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.parent-menu-button:hover,
.parent-menu-button.active {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #fffdf6, #edf6ff);
}
.parent-menu-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.parent-menu-button strong {
  font-family: "Baloo", cursive;
  font-size: 1.4rem;
  line-height: 1;
}
.parent-menu-button small {
  color: var(--muted);
  line-height: 1.5;
}
.parent-menu-panel {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.parent-menu-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.parent-detail-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,249,255,0.96));
  border: 1px solid var(--line);
}
.parent-detail-card h4 {
  margin: 0 0 8px;
  font-family: "Baloo", cursive;
  font-size: 1.1rem;
}
.parent-detail-card p {
  margin: 0;
  line-height: 1.6;
}
.goal-meter {
  display: grid;
  gap: 12px;
}
.goal-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(125, 152, 221, 0.18);
}
.goal-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #ff9a63, #ff6c7d);
}
.weekly-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 220px;
}
.weekly-bar {
  display: grid;
  justify-items: center;
  gap: 10px;
  align-content: end;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.weekly-bar span {
  display: block;
  width: 100%;
  min-height: 18px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #78d2ff, #6c7cff);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.weekly-bar.active span,
.weekly-bar:hover span {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(108, 124, 255, 0.22);
  background: linear-gradient(180deg, #ffb86c, #ff7b7b 60%, #7c8cff);
}
.weekly-bar label {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 700;
}
.weekly-bar small {
  color: var(--muted);
  font-size: 0.78rem;
}
.weekly-bar.active label,
.weekly-bar.active small {
  color: var(--text);
  font-weight: 700;
}
.weekly-bar:focus-visible,
.option-card-button:focus-visible {
  outline: 3px solid rgba(116, 136, 255, 0.28);
  outline-offset: 4px;
}
.options-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(236,247,255,0.95));
}
.quick-options-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.option-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.option-card-button {
  width: 100%;
  appearance: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.option-card-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(77, 101, 184, 0.14);
}
.option-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff1ae, #ffd9d9);
  box-shadow: 0 10px 22px rgba(117, 142, 201, 0.14);
}
.option-card:nth-child(2)::before {
  background: linear-gradient(135deg, #dff6ff, #bde4ff);
}
.option-card:nth-child(3)::before {
  background: linear-gradient(135deg, #e7ffd8, #c8f0b6);
}
.option-card:nth-child(4)::before {
  background: linear-gradient(135deg, #f7e6ff, #ffd4ea);
}
.option-card h3 {
  margin: 4px 0 10px;
  font-size: 1.55rem;
}
.option-card p:last-child {
  margin: 0;
  line-height: 1.65;
}
.option-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #32476d;
  font-size: 0.84rem;
  font-weight: 700;
}
.option-card-link::after {
  content: "\2192";
  margin-left: 8px;
}
.option-card-story {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255, 242, 231, 0.96));
}
.option-card-news {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(236, 246, 255, 0.96));
}
.option-card-goal {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239, 255, 231, 0.96));
}
.option-card-parent {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248, 238, 255, 0.96));
}
.parent-journey-grid {
  margin-top: -6px;
}
.parent-spotlight-card {
  border: 1px solid rgba(111, 141, 209, 0.16);
  box-shadow: var(--shadow);
}
.premium-parent-panel {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244, 247, 255, 0.98));
  border: 1px solid rgba(111, 141, 209, 0.16);
  box-shadow: var(--shadow);
}
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.quick-link-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(111, 141, 209, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.quick-link-card span {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  font-weight: 700;
}
.quick-link-card strong {
  font-family: "Baloo", cursive;
  font-size: 1.35rem;
  line-height: 1.1;
}
.quick-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(77, 101, 184, 0.12);
}
.home-premium-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 230, 145, 0.9), transparent 26%),
    linear-gradient(135deg, #fff7cb 0%, #ffe0b8 40%, #ffdbe8 100%);
}
.home-premium-cta-active {
  background:
    radial-gradient(circle at top left, rgba(164, 241, 190, 0.58), transparent 24%),
    linear-gradient(135deg, #eaffd7 0%, #dcfff1 45%, #dff0ff 100%);
}
.home-premium-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-premium-cta {
  position: relative;
  overflow: hidden;
}
.home-premium-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}
.home-premium-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.premium-bullet-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.premium-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.premium-compare-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(111, 141, 209, 0.16);
}
.premium-compare-card-strong {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,247,222,0.96));
  box-shadow: 0 18px 34px rgba(77, 101, 184, 0.1);
}
.premium-compare-card h3 {
  margin: 6px 0 10px;
  font-size: 1.55rem;
}
.premium-feature-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.65;
}
.premium-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(111, 141, 209, 0.16);
  font-size: 0.92rem;
  font-weight: 700;
}
.premium-helper-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.premium-inline-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  font-weight: 700;
  cursor: pointer;
}
.home-premium-meta {
  display: grid;
  gap: 14px;
}
.premium-note-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(111, 141, 209, 0.16);
  box-shadow: 0 18px 34px rgba(77, 101, 184, 0.1);
}
.premium-note-card:first-child {
  transform: translateY(10px);
}
.premium-note-card h3 {
  margin: 6px 0 10px;
  font-size: 1.7rem;
}
.premium-note-card p:last-child {
  margin: 0;
  line-height: 1.6;
}
.profile-panel-deck {
  display: grid;
  gap: 18px;
}
.launch-grid-learning {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.launch-card-mint {
  background: linear-gradient(135deg, rgba(226, 255, 229, 0.96), rgba(216, 245, 255, 0.92));
}
.launch-card-lilac {
  background: linear-gradient(135deg, rgba(244, 229, 255, 0.96), rgba(255, 236, 244, 0.92));
}
.premium-gk-tile {
  padding: 0;
  overflow: hidden;
}
.gk-tile-link {
  display: grid;
  gap: 14px;
  height: 100%;
  padding: 22px;
}
.gk-world-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gk-world-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px;
  text-align: left;
  border: 1px solid rgba(111, 141, 209, 0.16);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246, 250, 255, 0.98));
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.gk-world-card:hover,
.gk-world-card.active {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(77, 101, 184, 0.14);
}
.gk-world-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
}
.gk-world-copy {
  display: grid;
  gap: 8px;
  align-content: center;
}
.static-gk-detail-card {
  background: linear-gradient(135deg, #fff8dd, #ffe8db 46%, #ebf4ff);
}
.static-gk-intro {
  max-width: 760px;
}
.static-gk-facts-grid {
  margin-top: 18px;
}
.static-gk-fact-card h3 {
  font-size: 1.55rem;
  line-height: 1.28;
}
.puzzle-lane-card.active {
  box-shadow: 0 24px 44px rgba(77, 101, 184, 0.16);
  transform: translateY(-3px);
}
.puzzle-play-card {
  background: linear-gradient(135deg, #fff8df, #ffe0de 40%, #eef3ff);
}
.puzzle-question-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(111, 141, 209, 0.16);
}
.puzzle-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.puzzle-option-button {
  padding: 16px;
  border: 0;
  border-radius: 20px;
  background: rgba(255,255,255,0.88);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(77, 101, 184, 0.08);
}
.puzzle-option-button.correct {
  background: linear-gradient(135deg, #d9ffd7, #bff1c9);
}
.puzzle-option-button.wrong {
  background: linear-gradient(135deg, #ffe0e0, #ffd0d0);
}
.modal-open {
  overflow: hidden;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(25, 35, 83, 0.4);
  backdrop-filter: blur(10px);
}
.modal-overlay[hidden] {
  display: none !important;
}
.modal-card {
  width: min(760px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  padding: 26px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,255,0.96));
  box-shadow: 0 26px 60px rgba(39, 52, 95, 0.24);
}
.premium-modal-card {
  position: relative;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(236, 241, 255, 0.96);
  color: var(--text);
  cursor: pointer;
}
.modal-close:hover {
  transform: scale(1.04);
}
.premium-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 20px;
}
.premium-modal-note {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(111, 141, 209, 0.16);
}
.premium-modal-note h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}
.ad-slot-shell {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,247,255,0.94));
  border: 1px solid rgba(111, 141, 209, 0.16);
  box-shadow: var(--shadow);
}
.ad-slot-debug {
  display: grid;
  gap: 8px;
}
.ad-slot-debug h3 {
  margin: 0;
  font-size: 1.5rem;
}
.ad-slot-debug p {
  margin: 0;
  color: var(--muted);
}
.ad-slot-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.static-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 24px;
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #fff4bf, #ffe3d7 45%, #e0f1ff);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.solo-hero {
  grid-template-columns: 1fr;
  gap: 14px;
}
.static-hero::before,
.static-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 28px;
}
.static-hero::before {
  width: 96px;
  height: 96px;
  right: 30px;
  top: 26px;
  background: rgba(255,255,255,0.38);
}
.static-hero::after {
  right: 34px;
  bottom: 26px;
  width: 112px;
  height: 112px;
  opacity: 0;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 30px rgba(84, 103, 155, 0.18);
}
.static-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.static-hero-art {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  align-content: center;
}
.static-pill {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 36px rgba(74, 91, 145, 0.1);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.info-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.info-card h2,
.rich-copy h2 {
  margin: 6px 0 12px;
}
.info-card p,
.info-card li,
.rich-copy p,
.rich-copy li {
  line-height: 1.7;
}
.info-card ul,
.rich-copy ul {
  margin: 0;
  padding-left: 18px;
}
.rich-copy {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-highlight {
  display: grid;
  gap: 14px;
}
.contact-box {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffef7, #eef8ff);
  border: 1px solid var(--line);
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes walletBump {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -20% 0; }
}

@keyframes pulsePop {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.15); opacity: 1; }
}

@media (max-width: 1380px) {
  .hero-home-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 8px;
  }
  .hero-scene-card {
    order: 4;
    align-self: center;
    width: min(100%, 460px);
    transform: none;
  }
  .hero-scene-card img {
    min-height: 300px;
  }
  .hero-orbit,
  .hero-mascot {
    display: none;
  }
  .floating-note,
  .hero-buddy-badge,
  .hero-progress-board,
  .hero-family-badge,
  .hero-trust-banner {
    position: static;
    inset: auto;
    width: auto;
    max-width: none;
    margin: 0;
  }
  .hero-family-badge {
    order: 1;
  }
  .hero-progress-board {
    order: 2;
  }
  .floating-note.note-top {
    order: 3;
  }
  .hero-buddy-badge {
    order: 5;
  }
  .floating-note.note-bottom {
    order: 6;
  }
  .hero-trust-banner {
    order: 7;
    justify-content: flex-start;
    border-radius: 26px;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .floating-note,
  .hero-buddy-badge,
  .hero-progress-board,
  .hero-family-badge {
    width: 100%;
  }
  .hero-home-copy h1 {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .topbar, .hero-layout, .grid-2, .promo-grid, .parent-grid, .stats-grid, .story-grid, .issue-grid, .gk-grid, .featured-panel, .continue-card, .hero-reader, .profile-hero-card, .issue-panel .issue-link, .media-panel .issue-link, .hero-home, .spark-grid, .grid-hero-lower, .play-strip, .quick-links-grid, .info-grid, .static-hero, .footer-card, .hero-mini-stats, .funzone-card, .quick-options-grid, .skeleton-grid, .issue-skeleton-grid, .parent-menu-grid, .parent-menu-grid-inner, .profile-action-grid, .chart-metrics-grid, .home-premium-cta, .premium-compare-grid, .launch-grid, .journey-grid, .premium-modal-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid,
  .blog-article-shell {
    grid-template-columns: 1fr;
  }
  .blog-link {
    grid-template-columns: 1fr;
  }
  .blog-inline-cta,
  .app-link-shell {
    flex-direction: column;
    align-items: flex-start;
  }
  .topbar {
    position: static;
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }
  .topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }
  .nav-wrap {
    display: none;
    width: 100%;
    padding-top: 14px;
  }
  .nav-wrap.open {
    display: grid;
    gap: 14px;
  }
  .main-nav, .topbar-actions { justify-content: center; }
  .main-nav {
    flex-direction: column;
  }
  .nav-link, .nav-button {
    width: 100%;
  }
  .parent-grid .wide { grid-column: span 1; }
  .section-heading-row { flex-direction: column; align-items: flex-start; }
  .hero-home-visual { min-height: 360px; gap: 16px; }
  .hero-persona-card {
    max-width: none;
  }
  .floating-note { position: static; max-width: none; }
  .hero-buddy-badge,
  .hero-progress-board,
  .hero-family-badge,
  .hero-trust-banner {
    position: static;
    width: auto;
    max-width: none;
  }
  .hero-trust-banner {
    justify-content: flex-start;
    border-radius: 26px;
  }
  .featured-panel-showcase {
    grid-template-columns: 1fr;
  }
  .featured-art {
    min-height: 220px;
  }
  .story-spotlight-band,
  .parent-zone-intro {
    grid-template-columns: 1fr;
  }
  .story-parent-strip,
  .parent-zone-footer-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .sky-doodles {
    opacity: 0.78;
  }
  .hero-mascot {
    position: static;
    transform: none;
  }
  .weekly-bars {
    min-height: 180px;
  }
  .badge-garden {
    grid-template-columns: 1fr;
  }
  .badge-track-summary {
    grid-template-columns: 1fr;
  }
  .reader-toolbar-card {
    grid-template-columns: 1fr;
  }
  .reader-toolbar-actions {
    justify-content: flex-start;
  }
  .launch-grid-learning,
  .gk-world-grid,
  .puzzle-options {
    grid-template-columns: 1fr;
  }
  .gk-world-card {
    grid-template-columns: 1fr;
  }
  .reader-book-shell {
    grid-template-columns: 1fr;
  }
  .reader-page-rail {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
  }
}

@media (max-width: 640px) {
  .page-shell { width: min(100% - 16px, 1200px); }
  .hero-layout, .section-card, .panel-card, .promo-card, .continue-card, .form-card, .footer-card, .reader-text, .history-row, .stat-card, .dashboard-card, .result-card, .gk-tile, .profile-hero-card, .featured-panel, .hero-reader, .hero-home, .static-hero, .play-card, .info-card, .rich-copy, .home-premium-cta, .journey-card, .modal-card { padding: 18px; }
  .hero-card { min-height: 520px; }
  .hero-home-copy h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .hero-persona-card {
    align-items: flex-start;
  }
  .hero-persona-avatar {
    width: 50px;
    height: 50px;
    border-radius: 18px;
  }
  .home-premium-copy h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .launch-card {
    min-height: 0;
    padding: 18px;
  }
  .launch-card-copy h2 {
    font-size: 1.7rem;
  }
  .featured-copy h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
  .topbar-profile-card {
    width: 100%;
    justify-content: center;
  }
  .hero-scene-card img { min-height: 280px; }
  .blog-card-body h3,
  .app-link-copy h2,
  .blog-inline-cta h3 {
    font-size: 1.45rem;
  }
  .brand small {
    font-size: 0.82rem;
  }
  .cloud {
    transform: scale(0.72);
  }
  .reader-workspace {
    padding: 14px;
    border-radius: 26px;
  }
  .reader-control-group {
    width: 100%;
    justify-content: center;
  }
  .reader-utility-bar,
  .reader-utility-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .reader-sticky-stack {
    position: static;
  }
  .reader-toolbar-card,
  .reader-progress-card,
  .reader-utility-bar {
    position: static;
    width: auto;
    transform: none;
  }
  .reader-toolbar-actions .primary-button {
    width: 100%;
  }
  .wallet-strip {
    grid-template-columns: 1fr;
  }
  .gk-world-card img {
    height: 180px;
  }
  .reader-book-shell {
    padding-top: 0;
  }
  .kindle-page {
    padding: 10px;
    border-radius: 22px;
  }
  .kindle-page-inner {
    padding: 18px 16px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  }
  .kindle-illustration img {
    max-height: 300px;
  }
}
