:root{
  --font-kids:"Nunito",system-ui,sans-serif;
  --font-main:"Manrope",system-ui,sans-serif;
  --font-teen:"Inter",system-ui,sans-serif;
  --page:1440px;
  --rail:330px;
  --gap:18px;
  --r-lg:28px;
  --r-md:20px;
  --r-sm:14px;
  --shadow:0 24px 70px rgba(0,28,74,.16);
  --shadow-soft:0 14px 40px rgba(0,28,74,.10);
  --success:#19c878;
  --danger:#ff4f71;
  --warning:#ffb51f;
  --surface-solid:#fff;
  --surface-2:var(--panel2);
  --border-medium:var(--line);
  --shadow-sm:0 10px 28px rgba(0,28,74,.10);
  --primary-light:rgba(47,145,255,.24);
  --ink:#0d2a62;
  --muted:#61779f;
  --line:#d9e6f6;
  --primary:#1f73ff;
  --primary2:#30c8ff;
  --accent:#845cff;
  --bg:#eff9ff;
  --panel:#ffffff;
  --panel2:#edf7ff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font:600 16px/1.55 var(--font-main);-webkit-font-smoothing:antialiased;transition:background .35s,color .35s}
button,input,textarea,select{font:inherit}
button,a{tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent}
button{color:inherit}
a{color:inherit}
:focus-visible{outline:3px solid rgba(48,200,255,.55);outline-offset:3px}
body[data-theme="discovery"]{font-family:var(--font-kids)}
body[data-theme="discovery"]{
  --bg:#eaf8ff;--panel:#fff;--panel2:#f4fbff;--ink:#073478;--muted:#58729c;--line:#cfe6f4;
  --primary:#148cff;--primary2:#39d9ff;--accent:#ff7a19;--surface-solid:#fff;
}
body[data-theme="discovery"]{
 background:
   radial-gradient(circle at 12% 0%,rgba(80,205,255,.16),transparent 30rem),
   linear-gradient(180deg,#eefbff 0%,#f7fdff 52%,#f4fff7 100%);
}
.stars{display:none;position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle,#fff 0 1px,transparent 1.5px),radial-gradient(circle,#55d8ff 0 1px,transparent 1.7px);background-size:92px 92px,143px 143px;background-position:0 0,44px 28px;opacity:.36}
.app-shell{width:min(calc(100% - 28px),var(--page));margin:0 auto;padding:12px 0 30px}
.app-header{height:72px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:9px 18px;margin-bottom:16px;border-radius:22px;background:rgba(255,255,255,.92);border:1px solid var(--line);box-shadow:var(--shadow-soft);backdrop-filter:blur(18px)}
.brand{display:flex;align-items:center;gap:11px;border:0;background:transparent;cursor:pointer;text-align:left}
.brand-symbol{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(145deg,var(--primary),var(--primary2));box-shadow:0 10px 24px rgba(31,115,255,.28);font-size:25px}
.brand-copy{display:flex;flex-direction:column}
.brand-copy strong{font-size:27px;line-height:1;font-weight:900;letter-spacing:-1px}
.brand-copy strong span{color:#24d7e6}
.brand-copy small{margin-top:5px;font-size:10px;line-height:1.1;font-weight:900;text-transform:uppercase;letter-spacing:.45px;color:var(--muted)}
.app-nav{display:flex;justify-content:center;align-items:center;gap:4px}
.app-nav__link{min-height:44px;display:inline-flex;align-items:center;padding:0 17px;border:0;border-radius:12px;background:transparent;text-decoration:none;color:var(--ink);font-weight:800;font-size:15px;cursor:pointer}
.app-nav__link:hover,.app-nav__link.is-active{background:linear-gradient(135deg,var(--primary),#3159e8);color:#fff;box-shadow:0 10px 24px rgba(31,115,255,.22)}
.header-actions{display:flex;align-items:center;gap:9px}
.icon-btn,.lang-select{height:44px;border:1px solid var(--line);border-radius:13px;background:var(--panel2);color:var(--ink);font-weight:900}
.icon-btn{width:44px;font-size:20px;cursor:pointer}
.lang-select{padding:0 12px}
.desktop-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--rail);gap:var(--gap);align-items:start}
.main-column{min-width:0}
.right-rail{position:sticky;top:12px;display:flex;flex-direction:column;gap:13px}
body[data-theme="discovery"] .desktop-layout{grid-template-columns:1fr}
body[data-theme="discovery"] .right-rail{display:none}
.world-hero{position:relative;overflow:hidden;min-height:470px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);align-items:stretch;border:1px solid var(--line);border-radius:30px;background:linear-gradient(145deg,var(--panel),var(--panel2));box-shadow:var(--shadow);isolation:isolate}
.world-hero:before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 75% 30%,rgba(58,206,255,.18),transparent 24rem)}
.hero-copy{padding:42px 36px 38px;display:flex;flex-direction:column;justify-content:center;z-index:2}
.mode-eyebrow{display:inline-flex;align-items:center;gap:8px;width:max-content;margin-bottom:14px;padding:9px 14px;border:1px solid color-mix(in srgb,var(--primary) 55%,transparent);border-radius:999px;color:var(--primary2);font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.3px}
.mode-dot{width:8px;height:8px;border-radius:50%;background:var(--primary2);box-shadow:0 0 14px var(--primary2)}
#heroTitle{margin:0;max-width:620px;font-size:clamp(50px,5vw,78px);line-height:.98;letter-spacing:-3px;font-weight:900}
#heroTitle span,#heroTitle em{display:block;font-style:normal}
#heroTitle em{margin-top:4px;color:transparent;background:linear-gradient(90deg,var(--primary2),var(--accent));-webkit-background-clip:text;background-clip:text}
.hero-copy>p{max-width:650px;margin:22px 0 0;color:var(--muted);font-size:19px;line-height:1.55;font-weight:700}
.hero-actions{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin-top:28px}
.primary-action,.secondary-action{min-height:58px;padding:0 24px;border-radius:17px;font-size:17px;font-weight:900;cursor:pointer}
.primary-action{border:0;color:#fff;background:linear-gradient(135deg,var(--primary2),var(--primary),var(--accent));box-shadow:0 16px 32px rgba(29,114,255,.35)}
.primary-action:hover{transform:translateY(-2px)}
.primary-action b{margin-left:10px}
.secondary-action{border:2px solid color-mix(in srgb,var(--primary) 70%,transparent);background:transparent;color:var(--ink)}
.hero-trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:22px;color:var(--muted);font-size:13px;font-weight:800}
.hero-visual{position:relative;min-height:470px;background-position:center;background-repeat:no-repeat;background-size:cover}
.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--panel) 0%,transparent 18%,transparent 100%);pointer-events:none}
.float-card{position:absolute;z-index:2;min-width:118px;padding:12px 14px;border-radius:15px;background:rgba(7,24,56,.88);border:1px solid rgba(81,203,255,.25);color:#fff;box-shadow:0 12px 30px rgba(0,10,40,.28);transform:rotate(-7deg);backdrop-filter:blur(10px)}
.float-card b{display:block;color:#3fdcff;font-size:12px}
.float-card span{font-size:14px;font-weight:900}
.float-card--1{left:9%;top:11%}
.float-card--2{right:6%;top:24%;transform:rotate(8deg)}
.float-card--3{left:18%;bottom:11%;transform:rotate(-4deg)}
body[data-theme="discovery"] .hero-visual{background-image:none;background-size:cover;background-position:center 35%}
body[data-theme="discovery"] .world-hero{grid-template-columns:minmax(430px,.85fr) minmax(510px,1.15fr);background:rgba(255,255,255,.94)}
body[data-theme="discovery"] .hero-copy{order:2;padding-left:42px}
body[data-theme="discovery"] .hero-visual{order:1}
body[data-theme="discovery"] .hero-visual:after{background:linear-gradient(90deg,transparent 70%,#fff 100%)}
body[data-theme="discovery"] .float-card{display:none}
body[data-theme="discovery"] #heroTitle{font-size:clamp(52px,5.4vw,82px);color:#114795}
body[data-theme="discovery"] #heroTitle em{color:#ff6f1a;background:none;-webkit-text-fill-color:initial}
body[data-theme="discovery"] .primary-action{background:linear-gradient(135deg,#ff9a21,#ff5229);box-shadow:0 16px 36px rgba(255,97,31,.30)}
body[data-theme="discovery"] .mode-eyebrow{color:#ff7416;border-color:#ffb57a}
.age-gate{display:grid;grid-template-columns:46px 1fr 46px;align-items:center;gap:8px;margin-top:14px;padding:8px;border:1px solid var(--line);border-radius:22px;background:var(--panel);box-shadow:var(--shadow-soft)}
.age-arrow{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--panel2);font-size:30px;cursor:pointer}
.age-options{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:7px}
.tab-indicator{display:none}
.tab-btn{min-height:62px;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:9px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:16px;background:var(--panel2);color:var(--ink);cursor:pointer}
.tab-btn>span{grid-row:1/3;font-size:25px}
.tab-btn b{font-size:18px;line-height:1}
.tab-btn small{font-size:12px;color:var(--muted)}
.tab-btn.active{color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));border-color:rgba(255,255,255,.5);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary2) 20%,transparent),0 8px 22px rgba(31,115,255,.24)}
.tab-btn.active small{color:rgba(255,255,255,.82)}
body[data-authenticated="1"] .age-gate{display:none}
.learning-path,.module-section,.skill-section,.achievement-hall{margin-top:16px;padding:22px;border:1px solid var(--line);border-radius:24px;background:var(--panel);box-shadow:var(--shadow-soft)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.section-head--compact{align-items:center}
.section-title-wrap{display:flex;align-items:flex-start;gap:13px}
.section-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,var(--primary),var(--primary2));color:#fff;font-size:21px;box-shadow:0 9px 22px rgba(31,115,255,.22)}
.section-kicker{display:block;color:var(--primary2);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.4px}
.section-head h2,.achievement-hall h2{margin:1px 0 0;font-size:30px;line-height:1.1;letter-spacing:-1px}
.section-head p,.achievement-hall p{margin:5px 0 0;color:var(--muted);font-size:15px}
.section-link,.path-progress-copy a{color:var(--primary2);font-weight:900;text-decoration:none}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.card{position:relative;min-height:190px;display:grid;grid-template-columns:64px 1fr;grid-template-rows:auto auto 1fr auto;column-gap:14px;padding:18px;border:1px solid rgba(105,163,255,.26);border-radius:20px;background:linear-gradient(145deg,#eaf5ff,#fff);box-shadow:0 10px 30px rgba(0,38,92,.08);cursor:pointer;overflow:hidden;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(0,38,92,.14)}
.card:nth-child(2){background:linear-gradient(145deg,#f2e8ff,#fff)}
.card:nth-child(3){background:linear-gradient(145deg,#ddfff8,#fff)}
.card:nth-child(4){background:linear-gradient(145deg,#f7e7ff,#fff)}
.c-medallion{grid-row:1/4;width:62px;height:62px;display:grid;place-items:center;border-radius:17px;background:rgba(255,255,255,.7);font-size:31px;box-shadow:inset 0 0 0 1px rgba(44,104,190,.10)}
.module-meta{font-size:11px;font-weight:900;color:var(--primary);text-transform:uppercase}
.c-title{font-size:19px;line-height:1.18;font-weight:900;color:#082a63}
.c-desc{margin-top:5px;color:#5d78a0;font-size:13px}
.btn-start{grid-column:1/-1;min-height:42px;border:0;border-radius:13px;background:rgba(255,255,255,.72);color:#1764d6;font-weight:900;cursor:pointer}
.btn-start:hover{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff}
body[data-theme="discovery"] .grid{grid-template-columns:repeat(3,1fr)}
body[data-theme="discovery"] .card{min-height:260px;grid-template-columns:1fr;grid-template-rows:auto auto auto auto;place-items:center;text-align:center;padding:24px;background:linear-gradient(160deg,#fff0a7,#fff8d9)}
body[data-theme="discovery"] .card:nth-child(2){background:linear-gradient(160deg,#c8ffd2,#effff2)}
body[data-theme="discovery"] .card:nth-child(3){background:linear-gradient(160deg,#f4c8ff,#fff0ff)}
body[data-theme="discovery"] .c-medallion{grid-row:auto;width:92px;height:92px;border-radius:28px;font-size:50px}
body[data-theme="discovery"] .c-title{font-size:27px;color:#08316f}
body[data-theme="discovery"] .c-desc{font-size:16px}
body[data-theme="discovery"] .btn-start{width:100%;min-height:52px;font-size:17px;color:#0d4aa4}
body[data-theme="discovery"] .module-meta{display:none}
.mobile-nav{display:none}
body[data-theme="discovery"] .app-nav__optional,body[data-theme="discovery"] .skill-section,body[data-theme="discovery"] .achievement-hall{display:none}
body[data-theme="discovery"] .hero-trust{display:none}
body[data-theme="discovery"] .world-hero{min-height:560px}
body[data-theme="discovery"] .hero-copy>p{font-size:21px}
@media (max-width:1180px){:root{--rail:300px}
.app-shell{width:min(calc(100% - 20px),var(--page))}
.world-hero{grid-template-columns:1fr 1fr}
.grid{grid-template-columns:repeat(2,1fr)}
.hero-copy{padding:34px 28px}
.app-nav__optional{display:none}
.brand-copy small{display:none}}
@media (max-width:980px){.desktop-layout{grid-template-columns:1fr}
.right-rail{position:static;display:grid!important;grid-template-columns:1fr 1fr}
.world-hero{grid-template-columns:1fr;min-height:auto}
.hero-visual{min-height:390px;order:1}
.hero-copy{order:2}
.hero-visual:after{background:linear-gradient(180deg,transparent 70%,var(--panel) 100%)}
.age-options{overflow:auto;grid-template-columns:repeat(5,minmax(150px,1fr))}
.age-arrow{display:none}
.age-gate{grid-template-columns:1fr}}
@media (max-width:720px){body{font-size:16px}
.app-shell{width:100%;padding:0 0 92px}
.app-header{height:64px;margin:0 8px 10px;padding:8px 10px;border-radius:0 0 18px 18px}
.brand-symbol{width:40px;height:40px}
.brand-copy strong{font-size:24px}
.app-nav{display:none}
.header-actions{margin-left:auto}
.header-actions .icon-btn:first-child{display:none}
.world-hero{margin:0 8px;border-radius:24px;overflow:hidden}
.hero-copy{padding:26px 21px 30px}
.hero-visual{min-height:330px}
.float-card{display:none}
#heroTitle{font-size:clamp(42px,12vw,60px);letter-spacing:-2px}
.hero-copy>p{font-size:17px!important}
.primary-action,.secondary-action{width:100%;min-height:58px}
.hero-trust{gap:9px;font-size:12px}
.age-gate{margin:10px 8px 0;border-radius:18px}
.age-options{grid-template-columns:repeat(5,130px)}
.tab-btn{min-height:58px}
.learning-path,.module-section,.skill-section,.achievement-hall,.dream-banner{margin:10px 8px 0;padding:18px;border-radius:20px}
.section-head{align-items:flex-start;flex-direction:column}
.grid,body[data-theme="discovery"] .grid{grid-template-columns:1fr}
.card,body[data-theme="discovery"] .card{min-height:180px}
body[data-theme="discovery"] .c-medallion{width:78px;height:78px;font-size:40px}
body[data-theme="discovery"] .c-title{font-size:24px}
.right-rail{display:none!important}
.mobile-nav{position:fixed;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));z-index:500;display:grid;grid-template-columns:repeat(5,1fr);padding:8px;border:1px solid var(--line);border-radius:22px;background:rgba(5,22,50,.94);box-shadow:0 18px 50px rgba(0,0,0,.28);backdrop-filter:blur(16px)}
.mobile-nav a{min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:15px;color:#fff;text-decoration:none;font-size:20px}
.mobile-nav a span{font-size:10px;font-weight:800}
.mobile-nav a.active{background:linear-gradient(145deg,var(--primary),var(--primary2));box-shadow:0 0 22px rgba(31,149,255,.35)}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
:root{
  --subject-math:#2188ff;
  --subject-english:#8758ff;
  --subject-code:#32c4ff;
  --subject-science:#20c985;
  --subject-logic:#ffbd28;
  --subject-finance:#a66cff;
}
html{font-size:16px}
body{font-size:16px;line-height:1.55}
.app-shell{width:min(calc(100% - 32px),1500px)}
.app-header{min-height:76px;padding:12px 18px;border-radius:24px}
.brand-copy strong{font-size:28px}
.brand-copy small{font-size:11px;line-height:1.2;max-width:150px}
.app-nav__link{font-size:15px;min-height:46px;padding:0 18px}
.icon-btn,.lang-select{min-height:46px;min-width:46px}
.world-hero{min-height:510px;grid-template-columns:minmax(0,46%) minmax(0,54%);padding:38px 38px 38px 42px;overflow:hidden}
.hero-copy{position:relative;z-index:4;align-self:center}
.mode-eyebrow{font-size:14px;padding:9px 14px;margin-bottom:22px}
.hero-copy h1{font-size:clamp(54px,5vw,78px);line-height:.98;letter-spacing:-2.5px;margin:0 0 22px}
.hero-copy h1 span,.hero-copy h1 em{display:block}
.hero-copy p{font-size:19px;line-height:1.55;max-width:650px;margin-bottom:28px}
.primary-action,.secondary-action{min-height:64px;padding:0 28px;font-size:17px;border-radius:18px}
.hero-trust{font-size:13px;gap:18px;margin-top:18px}
.hero-visual{position:relative;min-height:430px;display:grid;place-items:center;z-index:2}
.hero-art-frame{position:absolute;inset:0;border-radius:34px;overflow:hidden;border:1px solid var(--line);box-shadow:0 28px 70px rgba(0,0,0,.22)}
.hero-world-image{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.01)}
.hero-art-frame::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.05),transparent 35%,transparent 70%,rgba(0,0,0,.08))}
.hero-art-glow{position:absolute;inset:auto 8% 4% 8%;height:32%;background:var(--primary);filter:blur(70px);opacity:.12;pointer-events:none}
.float-card{z-index:4;backdrop-filter:blur(14px);font-size:13px;box-shadow:0 14px 35px rgba(0,0,0,.18)}
.float-card b{font-size:12px}
.float-card span{font-size:13px}
.age-gate{min-height:82px;padding:8px 10px;margin-top:14px;border-radius:24px}
.tab-btn{min-height:64px;font-size:16px;border-radius:17px}
.tab-btn span{font-size:24px}
.tab-btn small{font-size:12px}
.learning-path,.module-section,.skill-section,.achievement-hall{border-radius:26px;padding:26px;margin-top:16px}
.section-kicker{font-size:12px;letter-spacing:.08em}
.section-head h2,.achievement-hall h2{font-size:30px;line-height:1.15}
.section-head p,.achievement-hall p{font-size:15px}
.section-link,.path-progress-copy a{font-size:14px}
.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.card{min-height:230px;padding:20px;border-radius:22px;position:relative;overflow:hidden;isolation:isolate}
.card::before{content:"";position:absolute;inset:auto -10% -35% 30%;height:70%;border-radius:50%;background:var(--card-accent,var(--primary));filter:blur(50px);opacity:.16;z-index:-1}
.c-medallion{width:70px;height:70px;border-radius:18px;font-size:34px}
.c-title{font-size:21px;line-height:1.18}
.c-desc{font-size:14px;line-height:1.45}
.module-meta{font-size:11px}
.btn-start{min-height:48px;font-size:14px;border-radius:14px}
.subject-math .c-medallion{background:color-mix(in srgb,var(--subject-math) 18%,var(--surface))}
.subject-english .c-medallion{background:color-mix(in srgb,var(--subject-english) 18%,var(--surface))}
.subject-code .c-medallion{background:color-mix(in srgb,var(--subject-code) 18%,var(--surface))}
.subject-science .c-medallion{background:color-mix(in srgb,var(--subject-science) 18%,var(--surface))}
.subject-logic .c-medallion{background:color-mix(in srgb,var(--subject-logic) 18%,var(--surface))}
.right-rail{gap:14px}
body[data-theme="discovery"]{background:linear-gradient(180deg,#dff6ff 0%,#f4fff2 45%,#fff9dc 100%)}
body[data-theme="discovery"] .app-header{background:rgba(255,255,255,.92);border-color:rgba(29,112,190,.12);box-shadow:0 12px 34px rgba(41,109,154,.12)}
body[data-theme="discovery"] .world-hero{grid-template-columns:minmax(0,42%) minmax(0,58%);background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(237,250,255,.92));border-color:rgba(36,138,208,.14);box-shadow:0 25px 65px rgba(43,119,169,.13)}
body[data-theme="discovery"] .hero-visual{grid-column:1;grid-row:1}
body[data-theme="discovery"] .hero-copy{grid-column:2;grid-row:1;padding-left:18px}
body[data-theme="discovery"] .hero-copy h1{font-family:"Nunito",sans-serif;color:#133c85;font-size:clamp(56px,5.2vw,76px)}
body[data-theme="discovery"] .hero-copy h1 em{color:#ff781f}
body[data-theme="discovery"] .hero-copy p{color:#58779d;font-size:20px}
body[data-theme="discovery"] .hero-art-frame{border-radius:34px;box-shadow:none;border:0}
body[data-theme="discovery"] .hero-world-image{object-position:center}
body[data-theme="discovery"] .float-card{display:none}
body[data-theme="discovery"] .hero-trust{display:none}
body[data-theme="discovery"] .primary-action{background:linear-gradient(135deg,#ff9d22,#ff5a36);box-shadow:0 14px 28px rgba(255,111,39,.28)}
body[data-theme="discovery"] .secondary-action{background:#fff7e8;color:#ef711d;border-color:#ffd79a}
body[data-theme="discovery"] .age-gate,body[data-theme="discovery"] .learning-path,body[data-theme="discovery"] .module-section{background:rgba(255,255,255,.93);border-color:rgba(43,119,169,.13);box-shadow:0 18px 45px rgba(52,114,149,.09)}
body[data-theme="discovery"] .grid{grid-template-columns:repeat(3,1fr)}
body[data-theme="discovery"] .card{min-height:320px;align-items:flex-start;text-align:left;padding:26px;background:linear-gradient(155deg,#fff,#fff8d8);border:0;box-shadow:0 18px 38px rgba(92,95,56,.12)}
body[data-theme="discovery"] .card:nth-child(2){background:linear-gradient(155deg,#f5fff1,#dfffd1)}
body[data-theme="discovery"] .card:nth-child(3){background:linear-gradient(155deg,#fff3ff,#f7d8ff)}
body[data-theme="discovery"] .c-medallion{width:100px;height:100px;font-size:54px;border-radius:28px;background:rgba(255,255,255,.75)}
body[data-theme="discovery"] .c-title{font-size:27px;color:#123d80}
body[data-theme="discovery"] .c-desc{font-size:17px;color:#3f648d}
body[data-theme="discovery"] .btn-start{min-height:58px;font-size:17px}
body[data-authenticated="1"] .age-gate{margin-top:10px;opacity:.96}
@media (max-width:1180px){.world-hero{grid-template-columns:1fr 1fr;min-height:460px}
.hero-copy h1{font-size:54px}
.hero-copy p{font-size:17px}
.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.app-shell{width:min(calc(100% - 18px),1500px)}
.world-hero,body[data-theme="discovery"] .world-hero{grid-template-columns:1fr;padding:20px;min-height:auto}
body[data-theme="discovery"] .hero-visual,body[data-theme="discovery"] .hero-copy{grid-column:1;grid-row:auto;padding-left:0}
.hero-copy{order:1}
.hero-visual{order:0;min-height:360px}
.hero-copy h1{font-size:48px;letter-spacing:-1.4px}
.hero-copy p{font-size:17px}
.hero-trust{flex-wrap:wrap}
.age-gate{overflow-x:auto}
.age-options{min-width:720px}}
@media (max-width:620px){html{font-size:16px}
.app-header{border-radius:18px}
.brand-copy strong{font-size:24px}
.brand-copy small{display:none}
.world-hero{padding:14px;border-radius:22px}
.hero-visual{min-height:310px}
.hero-art-frame{border-radius:22px}
.hero-copy{padding:12px 4px 4px}
.hero-copy h1{font-size:42px;line-height:1}
.hero-copy p{font-size:16px;line-height:1.45}
.mode-eyebrow{font-size:12px}
.primary-action,.secondary-action{min-height:58px;font-size:16px;width:100%}
.hero-actions{display:grid;grid-template-columns:1fr}
.learning-path,.module-section,.skill-section,.achievement-hall{padding:18px;border-radius:22px}
.section-head h2,.achievement-hall h2{font-size:26px}
.section-head p,.achievement-hall p{font-size:14px}
.grid,body[data-theme="discovery"] .grid{grid-template-columns:1fr 1fr;gap:10px}
.card,body[data-theme="discovery"] .card{min-height:220px;padding:15px}
.c-medallion,body[data-theme="discovery"] .c-medallion{width:68px;height:68px;font-size:34px;border-radius:18px}
.c-title,body[data-theme="discovery"] .c-title{font-size:18px}
.c-desc,body[data-theme="discovery"] .c-desc{font-size:13px}
.btn-start,body[data-theme="discovery"] .btn-start{min-height:46px;font-size:13px}}
.app-header{
  grid-template-columns:auto minmax(0,1fr) auto auto;
  min-height:74px;
  height:auto;
  padding:10px 14px;
}
.header-profile{
  min-height:50px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 10px 6px 7px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel2);
  color:var(--ink);
  cursor:pointer;
  text-align:left;
}
.header-profile__avatar{
  width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;
  border-radius:50%;background:linear-gradient(145deg,var(--primary),var(--primary2));
  color:#fff;font-size:20px;overflow:hidden;
}
.header-profile__copy{display:flex;flex-direction:column;min-width:95px}
.header-profile__copy strong{font-size:14px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:135px}
.header-profile__copy small{margin-top:3px;color:var(--muted);font-size:10px;white-space:nowrap}
.header-profile__chevron{font-size:18px;color:var(--muted)}
.main-column{display:flex;flex-direction:column}
.world-hero{order:1}
.age-gate{order:2}
.module-section{order:4}
body[data-theme="discovery"] .module-section{order:3}
body[data-theme="discovery"]{
  background:
    radial-gradient(circle at 82% 15%,rgba(255,255,255,.92) 0 7%,transparent 7.3%),
    radial-gradient(circle at 73% 18%,rgba(255,255,255,.75) 0 9%,transparent 9.4%),
    linear-gradient(180deg,#bceeff 0%,#e7f9d9 55%,#fff3bd 100%);
}
body[data-theme="discovery"] .app-shell{width:min(calc(100% - 30px),1448px)}
body[data-theme="discovery"] .app-header{
  position:relative;z-index:20;
  margin:12px 0 10px;
  background:rgba(255,255,255,.92);
  border-color:rgba(65,143,213,.22);
  box-shadow:0 12px 34px rgba(43,111,159,.12);
}
body[data-theme="discovery"] .app-nav{gap:3px}
body[data-theme="discovery"] .app-nav__link{font-size:14px;padding:0 15px;color:#31588d}
body[data-theme="discovery"] .app-nav__link.is-active,body[data-theme="discovery"] .app-nav__link:hover{background:#fff;color:#0e62d8;box-shadow:0 5px 18px rgba(22,107,202,.12)}
body[data-theme="discovery"] .header-actions .header-reward,body[data-theme="discovery"] .lang-select{display:none}
body[data-theme="discovery"] .icon-btn{background:rgba(255,255,255,.78);color:#0b4d9a}
body[data-theme="discovery"] .header-profile{background:rgba(255,255,255,.86)}
body[data-theme="discovery"] .desktop-layout{display:block}
body[data-theme="discovery"] .right-rail{display:none!important}
body[data-theme="discovery"] .world-hero{
  min-height:445px;
  display:grid;
  grid-template-columns:minmax(0,41%) minmax(0,59%);
  padding:0;
  overflow:hidden;
  border:1px solid rgba(57,148,214,.16);
  border-radius:30px;
  background:
    radial-gradient(circle at 93% 16%,rgba(255,255,255,.85) 0 6%,transparent 6.3%),
    linear-gradient(180deg,#d9f6ff 0%,#ecfbf0 70%,#d9f3ae 100%);
  box-shadow:0 18px 46px rgba(48,112,151,.12);
}
body[data-theme="discovery"] .world-hero:after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:70px;
  background:linear-gradient(180deg,transparent,rgba(100,190,76,.16));pointer-events:none
}
body[data-theme="discovery"] .hero-visual{
  order:1;grid-column:1;min-height:445px;padding:0;align-self:stretch;
}
body[data-theme="discovery"] .hero-art-frame{
  position:absolute;inset:0;border:0;border-radius:0;background:transparent;box-shadow:none;
}
body[data-theme="discovery"] .hero-world-image{
  width:100%;height:100%;object-fit:cover;object-position:center center;transform:none;
  filter:saturate(1.04) contrast(1.01);
}
body[data-theme="discovery"] .hero-art-frame::after{
  background:linear-gradient(90deg,transparent 68%,rgba(224,248,255,.9) 100%);
}
body[data-theme="discovery"] .hero-copy{
  order:2;grid-column:2;padding:56px 52px 98px 32px;
  align-items:center;text-align:center;justify-content:center;
}
body[data-theme="discovery"] .mode-eyebrow,body[data-theme="discovery"] .hero-copy>p,body[data-theme="discovery"] .secondary-action,body[data-theme="discovery"] .hero-trust,body[data-theme="discovery"] .float-card{display:none!important}
body[data-theme="discovery"] #heroTitle{
  max-width:700px;margin:0 0 22px;
  font-family:var(--font-kids);font-size:clamp(48px,4.6vw,68px);line-height:.98;
  letter-spacing:-2px;color:#0c4aa2;text-shadow:0 2px 0 rgba(255,255,255,.35)
}
body[data-theme="discovery"] #heroTitle em{
  margin-top:8px;color:#0d65d3;background:none;-webkit-background-clip:initial;background-clip:initial;-webkit-text-fill-color:initial;
  font-size:.72em;letter-spacing:-1px
}
body[data-theme="discovery"] .hero-actions{margin-top:4px;justify-content:center}
body[data-theme="discovery"] .primary-action{
  min-width:360px;min-height:82px;padding:0 38px 0 86px;position:relative;
  border-radius:999px;font-size:27px;letter-spacing:-.4px;
  background:linear-gradient(180deg,#ff9e25 0%,#ff5e29 66%,#ff4935 100%);
  box-shadow:0 14px 26px rgba(255,91,38,.32),inset 0 2px 0 rgba(255,255,255,.32)
}
body[data-theme="discovery"] .primary-action:before{
  content:"▶";position:absolute;left:18px;top:50%;transform:translateY(-50%);
  width:54px;height:54px;display:grid;place-items:center;border-radius:50%;
  background:#fff7d9;color:#ff641f;font-size:24px;box-shadow:0 4px 12px rgba(143,67,13,.15)
}
body[data-theme="discovery"] .primary-action b{display:none}
body[data-theme="discovery"] .age-gate,body[data-theme="discovery"][data-authenticated="1"] .age-gate{
  display:grid!important;position:relative;z-index:12;
  width:min(820px,65%);margin:-76px 50px 18px auto;padding:7px;
  border:1px solid rgba(49,131,209,.15);border-radius:25px;
  background:rgba(255,255,255,.9);box-shadow:0 16px 34px rgba(33,108,167,.16);backdrop-filter:blur(12px)
}
body[data-theme="discovery"] .age-arrow{display:none}
body[data-theme="discovery"] .age-options{grid-template-columns:repeat(5,1fr);gap:5px}
body[data-theme="discovery"] .tab-btn{min-height:62px;background:rgba(239,248,255,.86);border-radius:18px;color:#244e83}
body[data-theme="discovery"] .tab-btn.active{background:linear-gradient(135deg,#12bdf1,#1675ff);color:#fff;box-shadow:0 8px 20px rgba(27,121,234,.25)}
body[data-theme="discovery"] .module-section{
  margin-top:0;padding:0;border:0;background:transparent;box-shadow:none
}
body[data-theme="discovery"] .module-section .section-head{display:none}
body[data-theme="discovery"] .grid{grid-template-columns:repeat(3,1fr);gap:16px}
body[data-theme="discovery"] .card{
  position:relative;min-height:260px;padding:0 18px 18px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;
  border:0;border-radius:28px;overflow:hidden;box-shadow:0 16px 34px rgba(71,104,55,.15)
}
body[data-theme="discovery"] .card:nth-child(1){background:linear-gradient(160deg,#fff7b9,#ffe46c)}
body[data-theme="discovery"] .card:nth-child(2){background:linear-gradient(160deg,#eaffd9,#85f06f)}
body[data-theme="discovery"] .card:nth-child(3){background:linear-gradient(160deg,#ffe8ff,#e9a6ff)}
body[data-theme="discovery"] .card .module-meta{display:none}
body[data-theme="discovery"] .c-medallion{
  width:calc(100% + 36px);height:145px;margin:0 -18px 8px;border-radius:0;background:transparent;overflow:hidden;box-shadow:none
}
body[data-theme="discovery"] .module-art{width:100%;height:100%;display:block;object-fit:cover}
body[data-theme="discovery"] .c-title{margin-top:3px;font-size:28px;line-height:1.1;color:#082d6a}
body[data-theme="discovery"] .c-desc{max-width:78%;margin-top:7px;font-size:16px;line-height:1.35;color:#28517d}
body[data-theme="discovery"] .btn-start{
  position:absolute;right:18px;bottom:18px;width:58px;height:58px;min-height:58px;padding:0;border-radius:50%;
  background:#fff;color:transparent;font-size:0;box-shadow:0 6px 16px rgba(17,74,135,.15)
}
body[data-theme="discovery"] .btn-start:after{content:"›";color:#0b4f9b;font-size:42px;line-height:1}
body[data-theme="discovery"] .learning-path .section-head{margin-bottom:10px;align-items:center}
body[data-theme="discovery"] .learning-path .section-kicker{display:none}
body[data-theme="discovery"] .learning-path .section-head h2{font-size:24px;color:#0c3d82}
body[data-theme="discovery"] .learning-path .section-head p{font-size:14px;color:#57759b}
@media (max-width:1100px){.app-header{grid-template-columns:auto 1fr auto}
.header-profile{display:none}
body[data-theme="discovery"] .age-gate{width:78%;margin-right:20px}
body[data-theme="discovery"] .primary-action{min-width:300px}}
@media (max-width:900px){body[data-theme="discovery"] .world-hero{grid-template-columns:1fr;min-height:auto}
body[data-theme="discovery"] .hero-visual{min-height:360px;grid-column:1;order:1}
body[data-theme="discovery"] .hero-copy{grid-column:1;order:2;padding:26px 24px 32px}
body[data-theme="discovery"] .age-gate{width:calc(100% - 20px);margin:10px auto 16px}
body[data-theme="discovery"] .grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:720px){.header-profile{display:flex}
.app-header{grid-template-columns:auto 1fr auto}
.header-actions{display:none}
.header-profile__copy{display:none}
.header-profile{padding:5px;min-height:46px}
.header-profile__chevron{display:none}
body[data-theme="discovery"] .world-hero{margin:0 8px;border-radius:24px}
body[data-theme="discovery"] .hero-visual{min-height:300px}
body[data-theme="discovery"] #heroTitle{font-size:44px;letter-spacing:-1px}
body[data-theme="discovery"] .primary-action{min-width:0;width:100%;min-height:68px;font-size:22px;padding-left:74px}
body[data-theme="discovery"] .primary-action:before{width:46px;height:46px;left:13px;font-size:20px}
body[data-theme="discovery"] .age-gate{overflow-x:auto;padding:6px}
.age-options{min-width:650px}
body[data-theme="discovery"] .grid{grid-template-columns:1fr;gap:12px}
body[data-theme="discovery"] .card{min-height:245px}}
.academy-video-action,.academy-hero-metrics,.academy-rail-stats,.academy-next-card{display:none}
@keyframes advancedPulse{0%,100%{transform:scale(.78);opacity:.55}50%{transform:scale(1.25);opacity:1}}
.desktop-layout,.main-column,.right-rail,.world-hero,.hero-copy,.hero-visual,.hero-art-frame,#heroTitle,#heroTitle span,#heroTitle em,.hero-copy > p{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
#heroTitle{
  overflow:visible;
  text-wrap:balance;
}
#heroTitle span,#heroTitle em{
  overflow:visible;
  white-space:normal;
}
.hero-copy > p{
  overflow:visible;
  text-wrap:pretty;
}
@media (max-width:720px){#heroTitle,#heroTitle span,#heroTitle em,.hero-copy > p,.hero-actions,.hero-actions > *{
    max-width:100%;
  }}
.app-shell,.desktop-layout,.main-column,.right-rail{box-sizing:border-box}
.right-rail{min-width:0;width:100%}
@media (max-width:1450px) and (min-width:981px){.app-header{gap:14px;padding-left:14px;padding-right:14px}
.app-nav{gap:4px}
.app-nav__link{padding-left:10px;padding-right:10px}
.header-actions{gap:7px}}
.header-profile-wrap{position:relative;min-width:0}
.header-profile-menu{
  position:absolute;right:0;top:calc(100% + 10px);z-index:900;
  width:210px;padding:8px;border:1px solid var(--line);border-radius:16px;
  background:var(--panel);box-shadow:0 20px 50px rgba(0,24,65,.24);
  display:none
}
.header-profile-menu.show{display:grid;gap:6px}
.header-profile-menu button{
  width:100%;min-height:44px;display:flex;align-items:center;gap:10px;
  padding:10px 12px;border:0;border-radius:11px;background:transparent;
  color:var(--ink);font-weight:900;text-align:left;cursor:pointer
}
.header-profile-menu button:hover{background:var(--panel2)}
.header-profile-menu__logout{color:var(--danger)!important}
@media (max-width:820px){.header-profile-menu{right:-4px;width:190px}}
.app-header{position:relative;z-index:1200;overflow:visible!important}
.header-profile-wrap{position:relative;z-index:1300;overflow:visible!important}
.header-profile-menu{z-index:1400!important}
.world-hero,.desktop-layout{position:relative;z-index:1}
.app-header{
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  overflow:visible!important;
}
.header-profile-wrap{justify-self:end;overflow:visible!important}
.header-profile-menu{
  display:none!important;
  top:calc(100% + 8px)!important;
  right:0!important;
  min-width:235px!important;
  padding:9px!important;
  transform:none!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.header-profile-menu.show{display:grid!important;gap:6px!important}
.header-profile-menu [hidden]{display:none!important}
.header-profile-menu button{font-size:14px!important;line-height:1.2}
.header-profile-menu__logout{
  margin-top:3px!important;
  border-top:1px solid color-mix(in srgb,var(--line) 78%,transparent)!important;
  border-radius:10px!important;
}
@media (max-width:1180px){.app-header{grid-template-columns:auto minmax(0,1fr) auto!important}
.header-actions{display:none!important}}
@media (max-width:760px){.app-header{grid-template-columns:auto 1fr auto!important}
.header-profile-menu{display:none!important}}
body[data-theme="discovery"] .age-gate,body[data-theme="discovery"][data-authenticated="1"] .age-gate{
  grid-template-columns:1fr!important;
}
body[data-theme="discovery"] .age-options{
  width:100%!important;
  min-width:0!important;
}
.personal-home{display:none}
body.personal-home-active .world-hero>.hero-copy,body.personal-home-active .world-hero>.hero-visual{display:none!important}
body.personal-home-active .world-hero{
  display:block!important;
  min-height:0!important;
  padding:22px!important;
  overflow:hidden!important;
}
body.personal-home-active .personal-home[hidden]{display:none!important}
body.personal-home-active .personal-home{
  position:relative;z-index:3;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);
  gap:20px;
  width:100%;
}
.personal-home__intro,.personal-home__board{min-width:0}
.personal-home__intro{
  display:flex;flex-direction:column;justify-content:center;
  padding:26px 28px;
  border-radius:26px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.82);
  box-shadow:0 18px 46px rgba(27,72,130,.09);
}
.personal-home__kicker{
  display:flex;align-items:center;gap:9px;
  color:var(--primary);font-size:12px;font-weight:900;
  letter-spacing:.08em;text-transform:uppercase
}
.personal-home__kicker>span:first-child{
  display:grid;place-items:center;width:30px;height:30px;border-radius:10px;
  color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:0 8px 22px rgba(39,139,255,.24)
}
.personal-home__title{margin:14px 0 12px;line-height:1.02;letter-spacing:-1.5px}
.personal-home__title span,.personal-home__title em{display:block;font-style:normal}
.personal-home__title span{font-size:clamp(31px,3vw,47px);color:var(--ink)}
.personal-home__title em{
  margin-top:5px;font-size:clamp(27px,2.55vw,41px);
  background:linear-gradient(90deg,var(--primary),var(--primary2));
  -webkit-background-clip:text;background-clip:text;color:transparent
}
.personal-home__summary{margin:0 0 18px;max-width:700px;color:var(--muted);font-size:16px;line-height:1.55;font-weight:700}
.personal-continue{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  gap:14px 16px;align-items:center;
  padding:18px;border-radius:22px;
  background:linear-gradient(135deg,rgba(35,156,255,.10),rgba(122,92,255,.08));
  border:1px solid color-mix(in srgb,var(--primary) 24%,var(--line));
}
.personal-continue__copy{min-width:0}
.personal-card-label{
  display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;
  background:color-mix(in srgb,var(--primary) 12%,#fff);color:var(--primary);
  font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em
}
.personal-continue__copy strong{display:block;margin-top:8px;color:var(--ink);font-size:22px;line-height:1.18}
.personal-continue__copy p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.4;font-weight:700}
.personal-continue__meta{grid-column:1;display:flex;flex-wrap:wrap;gap:7px}
.personal-continue__meta span{
  display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;
  background:var(--panel);border:1px solid var(--line);color:var(--muted);font-size:11px;font-weight:900
}
.personal-continue__button{
  grid-column:2;grid-row:1/3;align-self:stretch;min-width:170px;
  border:0;border-radius:18px;padding:14px 18px;cursor:pointer;
  background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;
  font:900 14px/1.2 inherit;box-shadow:0 12px 30px color-mix(in srgb,var(--primary) 26%,transparent)
}
.personal-continue__button:hover{transform:translateY(-1px)}
.personal-why{margin-top:12px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.56);border:1px dashed var(--line)}
.personal-why span{display:block;color:var(--primary);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.personal-why p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.4;font-weight:700}
.personal-home__board{display:grid;gap:12px}
.personal-today{
  padding:18px;border-radius:24px;background:rgba(255,255,255,.86);
  border:1px solid var(--line);box-shadow:0 18px 45px rgba(27,72,130,.08)
}
.personal-today__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.personal-today__head span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--primary);font-weight:900}
.personal-today__head strong{font-size:20px;color:var(--ink)}
.personal-today__track{height:9px;border-radius:999px;background:var(--panel2);overflow:hidden;margin:11px 0 9px}
.personal-today__track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),var(--primary2));transition:width .35s ease}
.personal-today>p{margin:0;color:var(--muted);font-size:12px;line-height:1.42;font-weight:700}
.personal-today__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}
.personal-today__stats div{padding:10px;border-radius:14px;background:var(--panel2);text-align:center}
.personal-today__stats strong{display:block;color:var(--ink);font-size:18px}
.personal-today__stats span{display:block;margin-top:2px;color:var(--muted);font-size:9px;font-weight:800}
.personal-home__cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.personal-mini-card{
  min-width:0;min-height:104px;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;
  align-items:center;gap:10px;padding:13px;border-radius:18px;cursor:pointer;text-align:left;
  background:rgba(255,255,255,.82);border:1px solid var(--line);color:var(--ink);
  box-shadow:0 10px 26px rgba(27,72,130,.06)
}
.personal-mini-card--recommended{grid-column:1/-1;min-height:88px}
.personal-mini-card:hover:not(:disabled){transform:translateY(-1px);border-color:color-mix(in srgb,var(--primary) 42%,var(--line))}
.personal-mini-card:disabled,.personal-mini-card.is-empty{opacity:.62;cursor:default;transform:none}
.personal-mini-card__icon{
  display:grid;place-items:center;width:42px;height:42px;border-radius:14px;
  font-size:19px;font-weight:900;background:var(--panel2);color:var(--primary)
}
.personal-mini-card--repeat .personal-mini-card__icon{background:#e9fbf4;color:#0f9a69}
.personal-mini-card--quest .personal-mini-card__icon{background:#fff6dc;color:#b77b00}
.personal-mini-card--recommended .personal-mini-card__icon{background:#efeaff;color:#7652dd}
.personal-mini-card>span:nth-child(2){min-width:0}
.personal-mini-card small{display:block;color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.personal-mini-card strong{display:block;margin-top:3px;color:var(--ink);font-size:14px;line-height:1.2}
.personal-mini-card em{display:block;margin-top:4px;color:var(--muted);font-size:10px;line-height:1.25;font-style:normal;font-weight:700}
.personal-mini-card>b{color:var(--primary);font-size:18px}
.personal-baseline{
  display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;
  padding:14px 15px;border-radius:19px;background:linear-gradient(135deg,#fff9dc,#eff9ff);border:1px solid #f0df9e
}
.personal-baseline[hidden]{display:none!important}
.personal-baseline__icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#fff;font-size:22px}
.personal-baseline small{display:block;color:#9a7312;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.personal-baseline strong{display:block;margin-top:2px;color:#17386a;font-size:13px}
.personal-baseline p{margin:4px 0 0;color:#60789d;font-size:10px;line-height:1.35;font-weight:700}
.personal-baseline button{min-height:42px;border:0;border-radius:13px;padding:9px 13px;background:#236fff;color:#fff;font-weight:900;cursor:pointer}
body[data-theme="discovery"].personal-home-active .world-hero{
  background:linear-gradient(135deg,#faffff,#edfaff 58%,#f5fff0)!important;
}
body[data-theme="discovery"] .personal-home__intro,body[data-theme="discovery"] .personal-today,body[data-theme="discovery"] .personal-mini-card{background:rgba(255,255,255,.94)}
body[data-theme="discovery"] .personal-home__title span{font-family:"Nunito",sans-serif}
body[data-theme="discovery"] .personal-home__title em{background:linear-gradient(90deg,#ff7b24,#ffb629);-webkit-background-clip:text;background-clip:text;color:transparent}
body[data-theme="discovery"] .personal-continue__button{background:linear-gradient(135deg,#ff8a22,#ff5a3f)}
@media (max-width:1180px){body.personal-home-active .personal-home{grid-template-columns:1fr}
.personal-home__board{grid-template-columns:1fr 1fr;align-items:start}
.personal-today{grid-column:1/-1}
.personal-home__cards{grid-column:1/-1}
.personal-baseline{grid-column:1/-1}}
@media (max-width:760px){body.personal-home-active .world-hero{padding:12px!important}
body.personal-home-active .personal-home{gap:10px}
.personal-home__intro{padding:18px 16px;border-radius:20px}
.personal-home__title{letter-spacing:-.8px}
.personal-home__title span{font-size:31px}
.personal-home__title em{font-size:25px}
.personal-home__summary{font-size:14px}
.personal-continue{grid-template-columns:1fr;padding:14px}
.personal-continue__button{grid-column:1;grid-row:auto;min-width:0;min-height:52px}
.personal-continue__meta{grid-column:1}
.personal-home__board{grid-template-columns:1fr}
.personal-home__cards{grid-template-columns:1fr}
.personal-mini-card--recommended{grid-column:1}
.personal-today__stats{gap:6px}
.personal-today__stats div{padding:9px 5px}
.personal-baseline{grid-template-columns:42px minmax(0,1fr)}
.personal-baseline__icon{width:42px;height:42px}
.personal-baseline button{grid-column:1/-1;width:100%}}
.personal-baseline{
  appearance:none;
  width:100%;
  text-align:left;
  color:inherit;
  cursor:pointer;
  font:inherit;
  box-shadow:0 12px 30px rgba(41,104,176,.08);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.personal-baseline:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(41,104,176,.13);
  border-color:color-mix(in srgb,var(--primary) 42%,#f0df9e);
}
.personal-baseline:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 35%,transparent);outline-offset:3px}
.personal-baseline__cta{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;
  padding:9px 14px;border-radius:13px;background:linear-gradient(135deg,var(--primary),var(--primary2));
  color:#fff;font-weight:900;font-size:11px;white-space:nowrap;box-shadow:0 9px 22px color-mix(in srgb,var(--primary) 20%,transparent)
}
@media (max-width:760px){.personal-baseline{grid-template-columns:42px minmax(0,1fr);padding:13px}
.personal-baseline__cta{grid-column:1/-1;width:100%}}
@keyframes answerReviewPulse{0%,100%{transform:translateY(0);box-shadow:inherit}45%{transform:translateY(-2px);box-shadow:0 0 0 5px rgba(37,211,142,.14),0 12px 30px rgba(37,211,142,.24)}}
.section-link-button{
  border:0;background:transparent;font:inherit;cursor:pointer;
}
@keyframes plpRefreshPulse{0%{transform:translateY(3px);opacity:.75}100%{transform:none;opacity:1}}
.skip-link{
  position:fixed;
  left:16px;
  top:12px;
  z-index:99999;
  transform:translateY(-180%);
  min-height:44px;
  display:inline-flex;
  align-items:center;
  padding:10px 16px;
  border-radius:12px;
  background:#fff;
  color:#07152f;
  border:2px solid #2563eb;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  font:900 14px/1.2 var(--font-main);
  text-decoration:none;
}
.skip-link:focus{transform:translateY(0)}
.app-shell,.app-main,.main-column,.right-rail,.world-hero,.personal-home,.learning-path,.learning-modal,.learning-modal__content,.modal-box,.card,.path-item{min-width:0}
@media (max-width:760px){button,a.app-nav__link,.mobile-nav a,.header-profile,.account-action,.modal-primary,.modal-secondary,.modal-guest-action,.path-action,.lesson-hint-button,.answer-feedback__repeat,.answer-feedback__retry,.answer-feedback__next,.answer-feedback__ai-btn{
    min-height:44px;
  }
input,select,textarea{font-size:16px}}
@media (max-width:760px){body[data-theme="discovery"] .btn-start,body[data-theme="discovery"] .path-action,body[data-theme="discovery"] .register-age-card{
    min-height:56px!important;
  }}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}
.dream-banner:hover,.card:hover,.path-item:hover,button:hover{transform:none!important}}
@media (forced-colors:active){button,a,input,select,textarea,.card,.path-item,.modal-box{
    forced-color-adjust:auto;
    border:1px solid CanvasText!important;
  }}
.hero-world-image,.learning-modal__visual-image{
  display:block;
}
@media (max-width:720px){.app-header,.float-card{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
.world-hero,.learning-path,.module-section,.skill-section,.achievement-hall{
    box-shadow:none;
  }}
:root{
  
  --ds-space-1:4px;
  --ds-space-2:8px;
  --ds-space-3:12px;
  --ds-space-4:16px;
  --ds-space-6:24px;
  --ds-space-8:32px;
  --ds-space-12:48px;
  --ds-space-16:64px;

  
  --ds-radius-xs:8px;
  --ds-radius-sm:12px;
  --ds-radius-md:16px;
  --ds-radius-lg:24px;
  --ds-radius-xl:32px;
  --ds-radius-pill:999px;

  
  --ds-control-sm:40px;
  --ds-control-md:44px;
  --ds-control-lg:56px;

  
  --ds-text-display:clamp(44px,5vw,78px);
  --ds-text-h1:clamp(34px,4vw,56px);
  --ds-text-h2:clamp(26px,3vw,36px);
  --ds-text-h3:22px;
  --ds-text-body-l:18px;
  --ds-text-body-m:16px;
  --ds-text-body-s:14px;
  --ds-text-label:13px;
  --ds-text-caption:12px;
  --ds-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;

  
  --ds-elevation-sm:0 8px 24px rgba(0,28,74,.08);
  --ds-elevation-md:0 14px 40px rgba(0,28,74,.10);
  --ds-elevation-lg:0 24px 70px rgba(0,28,74,.16);
  --ds-elevation-overlay:0 30px 90px rgba(0,18,55,.28);

  
  --ds-motion-fast:120ms;
  --ds-motion-normal:200ms;
  --ds-motion-slow:320ms;
  --ds-ease:cubic-bezier(.2,.8,.2,1);

  
  --ds-success:#19c878;
  --ds-warning:#ffb51f;
  --ds-error:#ff4f71;
  --ds-info:#2d72ff;

  
  --ds-density-comfortable:1.12;
  --ds-density-standard:1;
  --ds-density-compact:.92;
  --ds-density-current:var(--ds-density-standard);
}
body[data-theme="discovery"]{--ds-density-current:var(--ds-density-comfortable)}
body[data-theme="discovery"] .lang-select{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
@media (max-width:1180px){body[data-theme="discovery"] .header-actions{
    display:flex!important;
    align-items:center;
    gap:7px;
    margin-left:auto;
  }
body[data-theme="discovery"] .header-actions .icon-btn{
    display:none!important;
  }
body[data-theme="discovery"] .lang-select{
    display:block!important;
    min-width:68px;
    height:44px;
    padding:0 10px;
  }}
@media (max-width:720px){body[data-theme="discovery"] .app-header{
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
body[data-theme="discovery"] .header-actions{
    display:flex!important;
  }
body[data-theme="discovery"] .lang-select{
    min-width:64px;
    height:42px;
    padding:0 8px;
    font-size:14px;
  }}
.network-state{
  position:sticky;top:8px;z-index:950;
  width:min(calc(100% - 24px),900px);margin:0 auto 10px;
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;
  min-height:58px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--warning) 60%,var(--line));
  border-radius:16px;background:color-mix(in srgb,var(--surface-solid) 92%,#fff4cc 8%);
  color:var(--ink);box-shadow:var(--shadow-sm)
}
.network-state[hidden]{display:none!important}
.network-state__icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#fff2c2;color:#7a5600;font-size:21px;font-weight:900}
.network-state__copy{display:flex;min-width:0;flex-direction:column;gap:2px}
.network-state__copy strong{font-size:14px}
.network-state__copy small{color:var(--muted);font-size:12px;line-height:1.35}
.network-state__retry{min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-solid);color:var(--ink);font-weight:900;cursor:pointer}
@keyframes uiStateShimmer{to{background-position:-220% 0}}
html[data-network="offline"] .primary-action,html[data-network="offline"] .personal-continue__button{filter:saturate(.75)}
@media (max-width:600px){.network-state{top:4px;width:calc(100% - 16px);grid-template-columns:auto minmax(0,1fr);padding:9px 10px}
.network-state__retry{grid-column:1/-1;width:100%}}
.app-shell,.app-header,.desktop-layout,.main-column,.right-rail,.world-hero,.hero-copy,.hero-visual,.personal-home,.learning-path,.module-section,.skill-section,.achievement-hall,.desktop-footer,.modal-box,.learning-modal,.learning-modal__content,.card,.path-item,.plp-stage,.plp-next,.plp-lane,.plp-map-block{min-width:0}
.hero-copy h1,.hero-copy p,.card,.path-title,.path-reason,.plp-next__copy,.plp-lane__copy,.modal-box,.ui-state__title,.ui-state__text{overflow-wrap:anywhere}
@media (min-width:768px) and (max-width:1199px){.app-shell{width:min(calc(100% - 24px),1040px)}
.desktop-layout{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
.right-rail{display:none!important;position:static!important}
.world-hero{grid-template-columns:minmax(0,1fr) minmax(300px,.82fr)!important}
.hero-copy{padding-left:28px!important;padding-right:24px!important}
#heroTitle{font-size:clamp(44px,6vw,66px)!important;letter-spacing:-2px!important}
.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body[data-theme="discovery"] .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:960px){.app-header{gap:10px!important}
.brand-copy small{display:none!important}
.header-profile__copy{display:none!important}
.header-profile{padding:5px 8px!important}
.world-hero{grid-template-columns:1fr!important}
.hero-copy{order:1!important}
.hero-visual{order:2!important;min-height:300px!important}
body[data-theme="discovery"] .hero-copy{padding:28px 24px 22px!important}
.hero-actions{width:100%}
.hero-actions>button{max-width:100%}
.personal-home{grid-template-columns:1fr!important}
.personal-home__board{min-width:0}}
@media (max-width:767px){body{padding-bottom:calc(86px + env(safe-area-inset-bottom));font-size:16px}
.app-shell{width:100%!important;padding-left:0!important;padding-right:0!important}
.app-header{width:calc(100% - 16px);height:auto!important;min-height:64px;margin:0 8px 10px!important;padding:8px 10px!important;grid-template-columns:auto minmax(0,1fr) auto!important}
.app-nav{display:none!important}
.brand{min-width:0}
.brand-copy{min-width:0}
.brand-copy strong{font-size:24px!important}
.header-profile__copy,.header-profile__chevron{display:none!important}
.header-actions{display:flex!important;min-width:0;margin-left:auto!important}
.header-actions .icon-btn{display:none!important}
.lang-select{display:block!important;visibility:visible!important;opacity:1!important;min-width:62px!important;height:44px!important;padding:0 8px!important;font-size:14px!important}
.desktop-layout{display:block!important}
.right-rail{display:none!important}
.world-hero{display:flex!important;flex-direction:column!important;width:calc(100% - 16px)!important;margin:0 8px!important;min-height:0!important;border-radius:22px!important}
.hero-copy{width:100%;padding:24px 18px 20px!important}
.hero-visual{width:100%;min-height:260px!important}
#heroTitle{font-size:clamp(38px,11vw,52px)!important;line-height:1!important;letter-spacing:-1.5px!important}
.hero-copy>p{font-size:16px!important;line-height:1.5!important}
.hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.hero-actions>button{width:100%!important;min-width:0!important;white-space:normal!important}
.hero-trust{gap:8px!important}
.age-gate{width:calc(100% - 16px)!important;margin:10px 8px 0!important;display:block!important;overflow:hidden!important;padding:8px!important}
body[data-authenticated="1"] .age-gate{display:none!important}
.age-arrow{display:none!important}
.age-options{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(118px,42vw)!important;grid-template-columns:none!important;gap:7px!important;min-width:0!important;width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;padding-bottom:2px}
.tab-btn{scroll-snap-align:start;min-width:0!important;min-height:58px!important}
.learning-path,.module-section,.skill-section,.achievement-hall,.dream-banner,.plp-stage{width:calc(100% - 16px)!important;margin-left:8px!important;margin-right:8px!important;padding:16px!important;border-radius:20px!important}
.grid,.path-items,.skill-pulse,.personal-home__cards,.plp-skill-map{grid-template-columns:1fr!important}
body[data-theme="discovery"] .grid{grid-template-columns:1fr!important}
.card{min-height:0!important}
.section-head{flex-direction:column!important;align-items:flex-start!important;gap:12px!important}
button,.app-nav__link,.mobile-nav a,.tab-btn,.lang-select,.header-profile,.plp-next__button,.path-action,.personal-continue__button,.network-state__retry,.ui-state__primary,.ui-state__secondary{min-height:44px}
.icon-btn,.close-btn{min-width:44px;min-height:44px}
body[data-theme="discovery"] .primary-action,body[data-theme="discovery"] .secondary-action,body[data-theme="discovery"] .btn-start,body[data-theme="discovery"] .tab-btn,body[data-theme="discovery"] .mobile-nav a{min-height:56px!important}
.mobile-nav{display:grid!important;left:8px!important;right:8px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
.mobile-nav a{min-width:0!important}
.mobile-nav a span{overflow-wrap:anywhere;text-align:center}}
@media (max-width:480px){.app-header{gap:6px!important}
.brand-symbol{width:40px!important;height:40px!important;border-radius:12px!important}
.brand-copy strong{font-size:22px!important}
.header-profile{min-width:44px!important;width:44px!important;padding:4px!important}
.lang-select{min-width:58px!important;width:58px!important;padding:0 4px!important}
.hero-copy{padding:21px 16px 18px!important}
#heroTitle{font-size:clamp(35px,10.5vw,46px)!important}
.age-options{grid-auto-columns:minmax(112px,48vw)!important}
.learning-path,.module-section,.skill-section,.achievement-hall,.dream-banner,.plp-stage{padding:14px!important}
.mobile-nav{gap:3px!important;padding:6px!important}
.mobile-nav a{padding:4px 2px!important;font-size:18px!important}
.mobile-nav a span{font-size:9px!important;line-height:1.1!important}}
@media (max-width:600px){input,select,textarea{font-size:16px!important}
.section-head h2,.achievement-hall h2{font-size:clamp(24px,8vw,30px)!important}
.path-title,.c-title,.plp-next__copy>strong{line-height:1.25!important}}
@media (hover:none), (pointer:coarse){.card:hover,.primary-action:hover{transform:none!important}}
body[data-theme="discovery"]{
  --motion-ui:360ms;
  --motion-feedback:420ms;
  --motion-progress:420ms;
  --motion-lift:-3px;
  --motion-scale:1.015;
}
.primary-action,.secondary-action,.btn-start,.tab-btn,.card,.path-item,.plp-next,.plp-lane,.plp-skill,.personal-continue__button,.personal-mini-card,.header-profile,.app-nav__link,.icon-btn,.lang-select,.mobile-nav a,.modal-primary,.modal-secondary,.network-state__retry,.ui-state__primary,.ui-state__secondary,.quiz-btn,.lesson-hint-button,.answer-feedback__repeat,.answer-feedback__retry,.answer-feedback__next,.answer-feedback__ai-btn,.achievement-btn,.badge{
  transition-duration:var(--motion-ui,var(--ds-motion-normal));
  transition-timing-function:var(--ds-ease,cubic-bezier(.2,.8,.2,1));
}
.path-progress-track i,.personal-today__track i,.plp-skill__mastery>em>i{
  transition-duration:var(--motion-progress,var(--ds-motion-normal));
  transition-timing-function:var(--ds-ease,cubic-bezier(.2,.8,.2,1));
}
@media (hover:hover) and (pointer:fine){.primary-action:hover,.secondary-action:hover,.btn-start:hover,.card:hover,.path-item:hover,.plp-lane:hover,.plp-skill:hover,.personal-mini-card:hover,.personal-continue__button:hover{
    transform:translateY(var(--motion-lift,-2px)) scale(var(--motion-scale,1.004));
  }}
.primary-action:active,.secondary-action:active,.btn-start:active,.tab-btn:active,.card:active,.path-item:active,.plp-lane:active,.plp-skill:active,.personal-mini-card:active,.personal-continue__button:active,.mobile-nav a:active{
  transform:scale(.985);
  transition-duration:70ms!important;
}
@media (max-width:767px), (hover:none), (pointer:coarse){.primary-action:hover,.secondary-action:hover,.btn-start:hover,.card:hover,.path-item:hover,.plp-lane:hover,.plp-skill:hover,.personal-mini-card:hover,.personal-continue__button:hover{
    transform:none!important;
  }}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}
.primary-action,.secondary-action,.btn-start,.tab-btn,.card,.path-item,.plp-next,.plp-lane,.plp-skill,.personal-mini-card,.personal-continue__button,.mobile-nav a,.quiz-btn{
    transform:none!important;
  }}
:root{
  --sys-icon-home:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTMgMTEuNSAxMiA0bDkgNy41djhhMSAxIDAgMCAxLTEgMWgtNXYtNkg5djZINGExIDEgMCAwIDEtMS0xeiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=");
  --sys-icon-route:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGNpcmNsZSBjeD0iNiIgY3k9IjE4IiByPSIyIiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIvPjxjaXJjbGUgY3g9IjE4IiBjeT0iNiIgcj0iMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiLz48cGF0aCBkPSJNOCAxOGgzYTMgMyAwIDAgMCAzLTNWOWEzIDMgMCAwIDEgMy0zIiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+");
  --sys-icon-lessons:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTQgNS41QTIuNSAyLjUgMCAwIDEgNi41IDNIMTF2MTZINi41QTIuNSAyLjUgMCAwIDAgNCAyMXpNMjAgNS41QTIuNSAyLjUgMCAwIDAgMTcuNSAzSDEzdjE2aDQuNUEyLjUgMi41IDAgMCAxIDIwIDIxeiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=");
  --sys-icon-skills:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTQgMTlWMTBtNiA5VjVtNiAxNHYtNm00IDZIMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==");
  --sys-icon-achievements:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTggNGg4djRhNCA0IDAgMCAxLTggMHpNOCA2SDR2MWE1IDUgMCAwIDAgNSA1TTE2IDZoNHYxYTUgNSAwIDAgMS01IDVNMTIgMTJ2NW0tNCAzaDgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=");
  --sys-icon-library:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHJlY3QgeD0iMyIgeT0iNCIgd2lkdGg9IjUiIGhlaWdodD0iMTYiIHJ4PSIxIiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIvPjxyZWN0IHg9IjkuNSIgeT0iNCIgd2lkdGg9IjUiIGhlaWdodD0iMTYiIHJ4PSIxIiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIvPjxwYXRoIGQ9Im0xNiA1IDMtMSAzIDE0LTMgMXoiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+");
  --sys-icon-projects:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTQgN2g2bDIgMmg4djEwYTIgMiAwIDAgMS0yIDJINGEyIDIgMCAwIDEtMi0yVjlhMiAyIDAgMCAxIDItMnoiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PHBhdGggZD0iTTEyIDEydjVtLTIuNS0yLjVoNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==");
  --sys-icon-leaderboard:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTQgMjB2LTZoNHY2bTIgMFY5aDR2MTFtMiAwVjRoNHYxNiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=");
  --sys-icon-community:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGNpcmNsZSBjeD0iOSIgY3k9IjgiIHI9IjMiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44Ii8+PGNpcmNsZSBjeD0iMTciIGN5PSI5IiByPSIyLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44Ii8+PHBhdGggZD0iTTMgMjBhNiA2IDAgMCAxIDEyIDBtMC01YTUgNSAwIDAgMSA2IDUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=");
  --sys-icon-parents:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGNpcmNsZSBjeD0iOCIgY3k9IjgiIHI9IjMiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44Ii8+PGNpcmNsZSBjeD0iMTciIGN5PSI5IiByPSIyLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44Ii8+PHBhdGggZD0iTTIgMjBhNiA2IDAgMCAxIDEyIDBtMS00YTUgNSAwIDAgMSA3IDQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=");
  --sys-icon-help:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iOSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiLz48cGF0aCBkPSJNOS44IDlhMi40IDIuNCAwIDEgMSAzLjcgMmMtMSAuNy0xLjUgMS4xLTEuNSAyLjNNMTIgMTdoLjAxIiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+");
  --sys-icon-search:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGNpcmNsZSBjeD0iMTAuNSIgY3k9IjEwLjUiIHI9IjYuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiLz48cGF0aCBkPSJtMTUuNSAxNS41IDUgNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==");
  --sys-icon-reward:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEyIDNsMi42IDUuMyA1LjkuOS00LjMgNC4xIDEgNS45LTUuMi0yLjgtNS4yIDIuOCAxLTUuOS00LjMtNC4xIDUuOS0uOXoiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+");
  --sys-icon-profile:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGNpcmNsZSBjeD0iMTIiIGN5PSI4IiByPSI0IiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIvPjxwYXRoIGQ9Ik00IDIxYTggOCAwIDAgMSAxNiAwIiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+");
  --sys-icon-age:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTcgN2gxMG0wIDAtMy0zbTMgMy0zIDNNMTcgMTdIN20wIDAgMyAzbS0zLTMgMy0zIiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+");
  --sys-icon-login:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEzIDVoNnYxNGgtNk0xMSA4bDQgNC00IDRtNC00SDQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=");
  --sys-icon-logout:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTExIDVINXYxNGg2bTItMyA0LTQtNC00bTQgNEg4IiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+");
  --sys-icon-ai:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEyIDN2M20wIDEydjNNMyAxMmgzbTEyIDBoM001LjYgNS42bDIuMSAyLjFtOC42IDguNiAyLjEgMi4xbTAtMTIuOC0yLjEgMi4xbS04LjYgOC42LTIuMSAyLjEiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI0IiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIvPjwvc3ZnPg==");
  --sys-icon-size:18px;
  --sys-icon-stroke-color:currentColor;
}
.app-nav__link[data-system-icon]{
  gap:8px;
  white-space:nowrap;
}
.app-nav__link[data-system-icon]::before{opacity:.86}
.app-nav__link.is-active[data-system-icon]::before,.app-nav__link[data-system-icon]:hover::before{opacity:1}
.system-icon-button{
  display:grid;
  place-items:center;
  font-size:0!important;
}
.system-icon-button::before{--sys-icon-size:20px}
.mobile-nav a[data-system-icon]::before{
  --sys-icon-size:21px;
  margin-bottom:2px;
}
.mobile-nav a[data-system-icon]{font-size:inherit!important}
.header-profile-menu button[data-system-icon]{
  display:flex;
  align-items:center;
  gap:10px;
}
.header-profile-menu button[data-system-icon]::before{
  --sys-icon-size:18px;
  opacity:.9;
}
body[data-theme="discovery"] .app-nav__link[data-system-icon]::before{
  --sys-icon-size:20px;
}
.app-nav__link[data-system-icon]:disabled,.icon-btn[data-system-icon]:disabled,.account-action[data-system-icon]:disabled{
  opacity:.5;
  cursor:not-allowed;
  transform:none!important;
}
.app-nav__link[data-system-icon]:focus-visible,.icon-btn[data-system-icon]:focus-visible,.mobile-nav a[data-system-icon]:focus-visible,.header-profile-menu button[data-system-icon]:focus-visible,.account-action[data-system-icon]:focus-visible{
  outline:3px solid color-mix(in srgb,var(--primary2,#28bff0) 72%,#fff)!important;
  outline-offset:3px!important;
}
@media (max-width:390px){.mobile-nav a[data-system-icon]::before{--sys-icon-size:19px}
.mobile-nav a[data-system-icon] span{max-width:100%;line-height:1.05}}
@keyframes uiSpin{to{transform:rotate(360deg)}}
@keyframes uiStatePulse{50%{opacity:.68}}
.card:focus-visible,.path-item:focus-visible,.shop-card:focus-within,.feedback-entry:focus-within{
  outline:3px solid color-mix(in srgb,var(--primary2,#28bff0) 65%,#fff);
  outline-offset:3px;
}
n






.mobile-bottom-nav{
  display:none;
  position:fixed;
  left:50%;
  bottom:max(8px,env(safe-area-inset-bottom));
  z-index:1200;
  transform:translateX(-50%);
  width:min(calc(100% - 18px),560px);
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:4px;
  padding:6px;
  border:1px solid var(--line);
  border-radius:20px;
  background:color-mix(in srgb,var(--panel) 94%,transparent);
  box-shadow:0 18px 48px rgba(0,25,65,.22);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.mobile-bottom-nav__item{
  min-width:0;
  min-height:52px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  border:0;
  border-radius:14px;
  background:transparent;
  color:var(--muted);
  font-weight:900;
  cursor:pointer;
}
.mobile-bottom-nav__item>span{font-size:19px;line-height:1}
.mobile-bottom-nav__item>small{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
  line-height:1.1;
}
.mobile-bottom-nav__item.is-active{
  color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:0 8px 20px color-mix(in srgb,var(--primary) 28%,transparent);
}
.mobile-bottom-nav__item:focus-visible{
  outline:3px solid color-mix(in srgb,var(--primary2) 55%,transparent);
  outline-offset:2px;
}
.ui-state__primary,.ui-state__secondary,.network-state__retry,.ai-fallback-actions__primary,.ai-fallback-actions__secondary{min-height:44px}
@media (max-width:768px){.mobile-bottom-nav{display:grid}
body{padding-bottom:82px}
.app-shell{padding-bottom:92px}
.world-hero{box-shadow:var(--shadow-soft)}
.stars{opacity:.22}}
@media (max-width:480px){.mobile-bottom-nav{
    width:calc(100% - 12px);
    bottom:max(5px,env(safe-area-inset-bottom));
    border-radius:17px
  }
.mobile-bottom-nav__item{min-height:50px;border-radius:12px}
.mobile-bottom-nav__item>small{font-size:8px}}
@media (prefers-reduced-motion:reduce){.mobile-bottom-nav,.mobile-bottom-nav__item{transition:none!important}}
.app-shell,.main-column,.desktop-layout,.world-hero,.learning-path,.modules-grid,.modal-box,.modal-overlay,.personal-home,.review-center__box{min-width:0;max-width:100%}
.close-btn:focus-visible,.tab-btn:focus-visible,.age-arrow:focus-visible,.primary-action:focus-visible,.secondary-action:focus-visible,.btn-start:focus-visible,.mobile-bottom-nav__item:focus-visible,.modal-primary:focus-visible,.crossword-input:focus-visible{
  outline:3px solid color-mix(in srgb,var(--primary2) 68%,#fff);
  outline-offset:3px;
}
.close-btn,.age-arrow,.icon-btn,.primary-action,.secondary-action,.btn-start,.modal-primary,.header-profile,.app-nav__link,.tab-btn,.network-state__retry,.mobile-bottom-nav__item{
  min-height:44px;
}
.close-btn,.age-arrow,.icon-btn{min-width:44px}
body[data-theme="discovery"] .tab-btn,body[data-theme="discovery"] .primary-action,body[data-theme="discovery"] .option-btn{min-height:52px}
textarea,input,select{max-width:100%}
@media (max-width:1200px){.app-shell{width:min(calc(100% - 20px),var(--page))}
.desktop-layout{gap:14px}
.app-header{gap:14px}
.app-nav__link{padding-inline:11px}}
@media (max-width:960px){.desktop-layout{grid-template-columns:1fr}
.right-rail{position:static}
.app-header{
    height:auto;
    min-height:64px;
    grid-template-columns:auto 1fr auto;
    row-gap:8px;
  }
.app-nav{
    grid-column:1/-1;
    order:3;
    width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    scrollbar-width:thin;
    padding-bottom:2px;
  }
.app-nav__link{flex:0 0 auto}
.world-hero{grid-template-columns:1fr}}
@media (max-width:768px){.app-header .app-nav{display:none}
.right-rail{display:none}
.header-actions{gap:6px}
.header-profile__copy{display:none}
.age-gate{max-width:100%}
.age-options{min-width:0}
.tab-btn{min-width:0}}
@media (max-width:600px){.app-shell{width:calc(100% - 12px)}
.app-header{padding:8px 10px;border-radius:17px}
.brand-copy strong{font-size:23px}
.brand-copy small{display:none}
.age-gate{grid-template-columns:44px minmax(0,1fr) 44px}
.tab-btn small{display:none}
.hero-actions{display:grid;grid-template-columns:1fr}
.hero-actions>*{width:100%}
.modal-primary,.btn-start,.primary-action,.secondary-action{width:100%}}
@media (max-width:480px){.app-shell{width:calc(100% - 8px)}
.app-header{gap:7px;padding-inline:8px}
.brand-symbol{width:40px;height:40px;border-radius:12px}
.brand-copy strong{font-size:21px}
.lang-select{padding-inline:8px;min-width:58px}
.age-gate{grid-template-columns:42px minmax(0,1fr) 42px;gap:4px}
.age-arrow{min-width:42px}
.tab-btn{padding-inline:5px}
.tab-btn b{font-size:12px}
.world-hero,.learning-path,.signature-section,.modules-section{border-radius:20px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}
.stars{display:none!important}}
@media (forced-colors:active){.mobile-bottom-nav__item.is-active,.primary-action,.btn-start,.modal-primary{
    border:2px solid ButtonText;
  }
:focus-visible{outline:3px solid Highlight!important}}
@media (min-width:769px){#mobileBottomNav.mobile-bottom-nav{
    display:none!important;
  }}
@media (max-width:768px){#mobileBottomNav.mobile-bottom-nav{
    display:grid!important;
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    transform:translateX(-50%)!important;
    width:min(calc(100% - 18px),560px)!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-flow:column!important;
    gap:4px!important;
    padding:6px!important;
  }
#mobileBottomNav .mobile-bottom-nav__item{
    min-width:0!important;
    width:auto!important;
  }}
@media (max-width:480px){#mobileBottomNav.mobile-bottom-nav{
    width:calc(100% - 12px)!important;
    bottom:max(5px,env(safe-area-inset-bottom))!important;
  }}
@media (max-width:600px){#ageTabs.age-gate{
    display:block!important;
    width:calc(100% - 16px)!important;
    max-width:none!important;
    margin:10px 8px 0!important;
    padding:6px!important;
    overflow:visible!important;
    grid-template-columns:none!important;
  }
body[data-authenticated="1"] #ageTabs.age-gate{
    display:none!important;
  }
#ageTabs .age-arrow{
    display:none!important;
  }
#ageTabs .age-options{
    display:grid!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-columns:auto!important;
    grid-auto-flow:row!important;
    gap:4px!important;
    overflow:visible!important;
    padding:0!important;
    scroll-snap-type:none!important;
  }
#ageTabs .tab-btn{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:58px!important;
    padding:5px 2px!important;
    gap:2px!important;
    border-radius:13px!important;
    white-space:normal!important;
    overflow:hidden!important;
  }
#ageTabs .tab-btn>span{
    display:block!important;
    grid-row:auto!important;
    font-size:19px!important;
    line-height:1!important;
    margin:0!important;
  }
#ageTabs .tab-btn>b{
    display:block!important;
    font-size:11px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }
#ageTabs .tab-btn>small{
    display:none!important;
  }}
@media (max-width:390px){#ageTabs.age-gate{padding:5px!important}
#ageTabs .age-options{gap:3px!important}
#ageTabs .tab-btn{
    min-height:56px!important;
    padding-inline:1px!important;
    border-radius:11px!important;
  }
#ageTabs .tab-btn>span{font-size:18px!important}
#ageTabs .tab-btn>b{font-size:10.5px!important}}
.personal-puzzle-journey{
  width:100%;min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr) auto 24px;
  align-items:center;gap:12px;padding:14px 15px;border:1px solid #cfe8f3;border-radius:20px;
  background:linear-gradient(135deg,#ffffff 0%,#f1fbff 52%,#fff8e9 100%);
  box-shadow:0 12px 30px rgba(27,72,130,.08);text-align:left;cursor:pointer;color:var(--ink);
}
.personal-puzzle-journey[hidden]{display:none!important}
.personal-puzzle-journey:hover{transform:translateY(-1px);border-color:#8fd2e9;box-shadow:0 16px 36px rgba(27,72,130,.12)}
.personal-puzzle-journey:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 45%,transparent);outline-offset:3px}
.personal-puzzle-journey__icon{
  display:grid;place-items:center;width:54px;height:54px;border-radius:17px;font-size:27px;
  background:linear-gradient(135deg,#eafaff,#fff2d8);border:1px solid rgba(71,174,210,.20)
}
.personal-puzzle-journey__copy{display:block;min-width:0}
.personal-puzzle-journey__copy>small{display:block;color:#3581a2;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.personal-puzzle-journey__copy>strong{display:block;margin-top:3px;color:#15395f;font:900 14px/1.25 "Nunito",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.personal-puzzle-journey__copy>em{display:block;margin-top:4px;color:#657f99;font-size:10px;line-height:1.3;font-style:normal;font-weight:800}
.personal-puzzle-journey__track{display:block;height:7px;margin-top:8px;border-radius:999px;background:#e8f1f5;overflow:hidden}
.personal-puzzle-journey__track>i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#37c9de,#74d968,#ffbf4c);transition:width .35s ease}
.personal-puzzle-journey__score{align-self:start;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 9px;border-radius:999px;background:#fff7d9;border:1px solid #f4df92;color:#9c7200;font-size:11px;font-weight:900;white-space:nowrap}
.personal-puzzle-journey__arrow{color:#2b9fc7;font-size:20px}
body:not([data-theme="discovery"]) .personal-puzzle-journey{display:none!important}
@media (max-width:1180px){.personal-puzzle-journey{grid-column:1/-1}}
@media (max-width:760px){.personal-puzzle-journey{grid-template-columns:46px minmax(0,1fr) auto;padding:12px;gap:9px;border-radius:17px}
.personal-puzzle-journey__icon{width:46px;height:46px;border-radius:14px;font-size:23px}
.personal-puzzle-journey__score{grid-column:2;justify-self:start;align-self:auto;min-height:26px;padding:4px 8px;margin-top:-2px}
.personal-puzzle-journey__arrow{grid-column:3;grid-row:1/3;align-self:center}
.personal-puzzle-journey__copy>strong{white-space:normal;font-size:13px}
.personal-puzzle-journey__copy>em{font-size:9.5px}}
.personal-memory-journey{
  width:100%;min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr) auto 24px;
  align-items:center;gap:12px;padding:14px 15px;border:1px solid #ded5fb;border-radius:20px;
  background:linear-gradient(135deg,#ffffff 0%,#f7f3ff 54%,#eefcff 100%);
  box-shadow:0 12px 30px rgba(69,60,130,.08);text-align:left;cursor:pointer;color:var(--ink);
}
.personal-memory-journey[hidden]{display:none!important}
.personal-memory-journey:hover{transform:translateY(-1px);border-color:#bdaaf6;box-shadow:0 16px 36px rgba(69,60,130,.12)}
.personal-memory-journey:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 45%,transparent);outline-offset:3px}
.personal-memory-journey__icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;font-size:27px;background:linear-gradient(135deg,#f0eaff,#e9fbff);border:1px solid rgba(117,95,220,.18)}
.personal-memory-journey__copy{display:block;min-width:0}
.personal-memory-journey__copy>small{display:block;color:#6a57c2;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.personal-memory-journey__copy>strong{display:block;margin-top:3px;color:#2f3268;font:900 14px/1.25 "Nunito",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.personal-memory-journey__copy>em{display:block;margin-top:4px;color:#727a9c;font-size:10px;line-height:1.3;font-style:normal;font-weight:800}
.personal-memory-journey__track{display:block;height:7px;margin-top:8px;border-radius:999px;background:#ececf5;overflow:hidden}
.personal-memory-journey__track>i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7c6df2,#56c9e9,#66d69b);transition:width .35s ease}
.personal-memory-journey__score{align-self:start;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 9px;border-radius:999px;background:#f3efff;border:1px solid #d9cff7;color:#6652bd;font-size:11px;font-weight:900;white-space:nowrap}
.personal-memory-journey__arrow{color:#7665d7;font-size:20px}
body:not([data-theme="discovery"]) .personal-memory-journey{display:none!important}
@media (max-width:1180px){.personal-memory-journey{grid-column:1/-1}}
@media (max-width:760px){.personal-memory-journey{grid-template-columns:46px minmax(0,1fr) auto;padding:12px;gap:9px;border-radius:17px}
.personal-memory-journey__icon{width:46px;height:46px;border-radius:14px;font-size:23px}
.personal-memory-journey__score{grid-column:2;justify-self:start;align-self:auto;min-height:26px;padding:4px 8px;margin-top:-2px}
.personal-memory-journey__arrow{grid-column:3;grid-row:1/3;align-self:center}
.personal-memory-journey__copy>strong{white-space:normal;font-size:13px}
.personal-memory-journey__copy>em{font-size:9.5px}}
body[data-theme="discovery"] .world-hero{order:1}
body[data-theme="discovery"] .age-gate{order:2}
body[data-theme="discovery"] .module-section{order:3!important}
body[data-theme="discovery"] .module-section{
  margin-top:18px!important;
  padding:28px!important;
  border:1px solid rgba(255,255,255,.82)!important;
  border-radius:34px!important;
  background:
    radial-gradient(circle at 94% 0%,rgba(255,224,127,.25),transparent 26%),
    radial-gradient(circle at 0% 100%,rgba(96,219,255,.20),transparent 28%),
    rgba(255,255,255,.82)!important;
  box-shadow:0 24px 64px rgba(40,106,145,.13),inset 0 1px 0 rgba(255,255,255,.95)!important;
  backdrop-filter:blur(20px);
}
body[data-theme="discovery"] .module-section .section-head{
  display:flex!important;
  align-items:flex-end;
  margin-bottom:20px;
}
body[data-theme="discovery"] .module-section .section-title-wrap{gap:14px}
body[data-theme="discovery"] .module-section .section-icon{
  width:54px;height:54px;border-radius:18px;
  background:linear-gradient(145deg,#27bff3,#3977ff);
  color:#fff;box-shadow:0 12px 26px rgba(35,137,236,.24)
}
body[data-theme="discovery"] .module-section .section-kicker{
  display:block;color:#1485b7;font-size:11px;letter-spacing:.13em;font-weight:900;text-transform:uppercase
}
body[data-theme="discovery"] .module-section .section-head h2{
  margin-top:3px;font-size:clamp(30px,2.7vw,42px);letter-spacing:-1.2px;color:#103e70
}
body[data-theme="discovery"] .module-section .section-head p{
  margin-top:5px;font-size:15px;color:#64809e;font-weight:800
}
body[data-theme="discovery"] .module-section .section-link{display:none}
body[data-theme="discovery"] .module-section .grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px
}
body[data-theme="discovery"] .module-section .card{
  min-height:330px!important;padding:0 22px 22px!important;border-radius:30px!important;
  border:1px solid rgba(255,255,255,.80)!important;
  box-shadow:0 19px 40px rgba(39,89,121,.15),inset 0 1px 0 rgba(255,255,255,.94)!important;
  transform:translateZ(0)
}
body[data-theme="discovery"] .module-section .card:nth-child(1){background:linear-gradient(160deg,#fff8c8 0%,#ffe56e 100%)!important}
body[data-theme="discovery"] .module-section .card:nth-child(2){background:linear-gradient(160deg,#edffdd 0%,#91ee79 100%)!important}
body[data-theme="discovery"] .module-section .card:nth-child(3){background:linear-gradient(160deg,#ffefff 0%,#eeb0ff 100%)!important}
body[data-theme="discovery"] .module-section .c-medallion{
  height:190px!important;width:calc(100% + 44px)!important;margin:0 -22px 12px!important
}
body[data-theme="discovery"] .module-section .module-art{transition:transform .36s ease}
body[data-theme="discovery"] .module-section .card:hover .module-art{transform:scale(1.035)}
body[data-theme="discovery"] .module-section .c-title{font-size:30px!important;font-weight:900!important;letter-spacing:-.7px}
body[data-theme="discovery"] .module-section .c-desc{max-width:78%!important;font-size:16px!important;line-height:1.4!important;font-weight:800}
body[data-theme="discovery"] .module-section .btn-start{
  right:20px!important;bottom:20px!important;width:62px!important;height:62px!important;min-height:62px!important;
  border:1px solid rgba(255,255,255,.96)!important;box-shadow:0 10px 24px rgba(26,80,129,.18)!important
}
@media (max-width:1180px){body[data-theme="discovery"] .module-section .card{min-height:300px!important}
body[data-theme="discovery"] .module-section .c-medallion{height:165px!important}}
@media (max-width:900px){body[data-theme="discovery"] .module-section{padding:22px!important}
body[data-theme="discovery"] .module-section .grid{grid-template-columns:1fr 1fr}
body[data-theme="discovery"] .module-section .card:nth-child(3){grid-column:1/-1}}
@media (max-width:620px){body[data-theme="discovery"] .module-section{margin:14px 8px 0!important;padding:18px 14px!important;border-radius:26px!important}
body[data-theme="discovery"] .module-section .section-head{align-items:flex-start;margin-bottom:15px}
body[data-theme="discovery"] .module-section .section-icon{width:46px;height:46px;border-radius:15px}
body[data-theme="discovery"] .module-section .section-head h2{font-size:29px}
body[data-theme="discovery"] .module-section .section-head p{font-size:13px}
body[data-theme="discovery"] .module-section .grid{grid-template-columns:1fr;gap:12px}
body[data-theme="discovery"] .module-section .card:nth-child(3){grid-column:auto}
body[data-theme="discovery"] .module-section .card{min-height:278px!important;border-radius:24px!important}
body[data-theme="discovery"] .module-section .c-medallion{height:156px!important}
body[data-theme="discovery"] .module-section .c-title{font-size:27px!important}
body[data-theme="discovery"] .module-section .c-desc{font-size:14px!important}}
@media (prefers-reduced-motion:reduce){body[data-theme="discovery"] .discovery-premium-launch__cta,body[data-theme="discovery"] .module-section .module-art{transition:none!important}}
.personal-colors-journey{display:grid;grid-template-columns:54px minmax(0,1fr) auto 20px;align-items:center;gap:11px;width:100%;padding:13px 14px;border:1px solid rgba(65,174,204,.18);border-radius:20px;background:linear-gradient(135deg,#effcff,#fff9e9 58%,#f7f2ff);box-shadow:0 10px 26px rgba(37,94,126,.08);cursor:pointer;text-align:left;transition:.2s}
.personal-colors-journey[hidden]{display:none!important}
.personal-colors-journey:hover{transform:translateY(-1px);box-shadow:0 16px 36px rgba(37,94,126,.12)}
.personal-colors-journey__icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;font-size:28px;background:linear-gradient(135deg,#e5fbff,#fff3cc);border:1px solid rgba(57,174,205,.18)}
.personal-colors-journey__copy{min-width:0}
.personal-colors-journey__copy>small{display:block;color:#2385a8;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.personal-colors-journey__copy>strong{display:block;margin-top:3px;color:#17476a;font:900 14px/1.25 Nunito,sans-serif}
.personal-colors-journey__copy>em{display:block;margin-top:4px;color:#6a8295;font-size:10px;line-height:1.3;font-style:normal;font-weight:800}
.personal-colors-journey__track{display:block;height:7px;margin-top:8px;border-radius:999px;background:#e9f1f4;overflow:hidden}
.personal-colors-journey__track>i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2fc5e7,#f4c94d,#8a6def);transition:width .35s}
.personal-colors-journey__score{align-self:start;display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border-radius:999px;background:#fff7d9;border:1px solid #f1db86;color:#8f6c00;font-size:11px;font-weight:900}
.personal-colors-journey__arrow{font-size:20px;color:#2385a8}
body:not([data-theme="discovery"]) .personal-colors-journey{display:none!important}
@media (max-width:560px){.personal-colors-journey{grid-column:1/-1}}
body[data-theme="discovery"] .module-section .section-head{padding:4px 2px 10px}
body[data-theme="discovery"] .section-icon{width:52px;height:52px;border-radius:18px;font-size:23px;box-shadow:0 14px 24px rgba(56,133,214,.20)}
body[data-theme="discovery"] .section-head h2{font-size:38px;letter-spacing:-1.2px;color:#1d4b78}
body[data-theme="discovery"] .section-head p{font-size:16px;color:#6f8699}
@media (max-width:900px){body[data-theme="discovery"] .section-head h2{font-size:30px}}
@keyframes discoveryFloatSoft{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg)}
  50%{transform:translate3d(0,-7px,0) rotate(1.5deg)}
}
@keyframes discoveryFloatSoftAlt{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg)}
  50%{transform:translate3d(4px,-5px,0) rotate(-2deg)}
}
@keyframes discoveryHeroBreathe{
  0%,100%{transform:rotate(-5deg) scale(1.02)}
  50%{transform:rotate(-2deg) scale(1.055)}
}
@keyframes discoveryGlowPulse{
  0%,100%{opacity:.58;transform:scale(.96)}
  50%{opacity:.92;transform:scale(1.08)}
}
@keyframes discoveryShineSweep{
  0%{transform:translateX(-140%) rotate(16deg);opacity:0}
  18%{opacity:.46}
  42%{opacity:0}
  100%{transform:translateX(260%) rotate(16deg);opacity:0}
}
@keyframes discoveryProgressGlow{
  0%,100%{filter:saturate(1) brightness(1)}
  50%{filter:saturate(1.12) brightness(1.08)}
}
@keyframes discoveryStarTwinkle{
  0%,100%{transform:scale(.9) rotate(-8deg);opacity:.65}
  50%{transform:scale(1.12) rotate(8deg);opacity:1}
}
@keyframes discoveryBadgePop{
  0%,100%{transform:translateY(0) scale(1)}
  45%{transform:translateY(-3px) scale(1.06)}
  70%{transform:translateY(0) scale(.99)}
}
@keyframes discoveryArrowNudge{
  0%,100%{transform:translateX(0)}
  50%{transform:translateX(4px)}
}
@keyframes discoveryTinySpark{
  0%,100%{opacity:.28;transform:translateY(0) rotate(0deg) scale(.9)}
  50%{opacity:.82;transform:translateY(-4px) rotate(12deg) scale(1.08)}
}
@keyframes discoveryRewardPulse{
  0%,100%{box-shadow:0 10px 18px rgba(73,108,132,.06)}
  50%{box-shadow:0 14px 28px rgba(236,187,62,.16)}
}
body[data-theme="discovery"] .section-head h2{color:#144577}
body[data-theme="discovery"] .section-head p{color:#69859d}
:root{
  --kids-gold-1:#fff4b5;
  --kids-gold-2:#ffd55d;
  --kids-gold-3:#ffad32;
  --kids-gold-4:#f38b21;
  --kids-ink:#123d70;
}
@keyframes kidsLuxuryShine{
  0%,70%,100%{left:-55%;opacity:0}
  78%{opacity:.9}
  92%{left:125%;opacity:.1}
}
@keyframes kidsLuxuryCtaShine{
  0%,72%,100%{left:-60%;opacity:0}
  80%{opacity:.8}
  94%{left:130%;opacity:.05}
}
@keyframes discoveryLuxuryFloat{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-7px,0)}
}
@keyframes discoveryLuxuryBob{
  0%,100%{transform:translate3d(0,0,0) rotate(-2deg)}
  50%{transform:translate3d(0,-5px,0) rotate(2deg)}
}
@keyframes discoveryLuxuryGlow{
  0%,100%{box-shadow:0 24px 48px rgba(68,104,132,.18),0 0 0 8px rgba(255,255,255,.24)}
  50%{box-shadow:0 30px 58px rgba(68,104,132,.24),0 0 0 12px rgba(255,255,255,.30),0 0 30px rgba(255,216,115,.20)}
}
@keyframes discoveryLuxuryShine{
  0%{transform:translateX(-140%) skewX(-20deg);opacity:0}
  18%{opacity:.65}
  45%{transform:translateX(160%) skewX(-20deg);opacity:0}
  100%{transform:translateX(160%) skewX(-20deg);opacity:0}
}
@keyframes discoveryLuxuryPulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.05)}
}
@keyframes discoveryLuxuryTwinkle{
  0%,100%{opacity:.48;transform:scale(.9) rotate(0deg)}
  50%{opacity:1;transform:scale(1.12) rotate(8deg)}
}
@keyframes discoveryLuxuryProgress{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@keyframes discoveryLuxuryBreath{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.025)}
}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(4){
  background:linear-gradient(160deg,#eaf2ff,#bcd7ff);
  box-shadow:0 18px 38px rgba(63,93,157,.16)
}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(5){
  background:linear-gradient(160deg,#f4edff,#d8c8ff);
  box-shadow:0 18px 38px rgba(103,74,170,.16)
}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(4) .c-title{color:#123f86}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(5) .c-title{color:#49388e}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(4) .c-desc{color:#365d91}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(5) .c-desc{color:#67549a}
@media (min-width:1200px){body[data-theme="discovery"] #modulesGrid>.card{grid-column:span 2}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(4){grid-column:2 / span 2}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(5){grid-column:4 / span 2}}
@media (min-width:768px) and (max-width:1199px){body[data-theme="discovery"] #modulesGrid>.card:nth-child(5){
    grid-column:1 / -1;
    width:min(100%,520px);
    justify-self:center
  }}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(4) .c-medallion,body[data-theme="discovery"] #modulesGrid>.card:nth-child(5) .c-medallion{
  height:160px
}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(4) .module-art,body[data-theme="discovery"] #modulesGrid>.card:nth-child(5) .module-art{
  object-position:center 48%;
  transform:scale(1.015)
}
body[data-theme="discovery"] #modulesGrid>.card:nth-child(4):hover .module-art,body[data-theme="discovery"] #modulesGrid>.card:nth-child(5):hover .module-art{
  transform:scale(1.05);
  transition:transform .35s ease
}
body[data-theme="discovery"] .discovery-passport{position:relative;overflow:hidden;margin:26px 0;padding:30px;border-radius:38px;background:linear-gradient(135deg,#f7fdff 0%,#f9f7ff 48%,#fff7df 100%);border:1px solid rgba(255,255,255,.96);box-shadow:0 30px 68px rgba(49,84,118,.15)}
body[data-theme="discovery"] .discovery-passport::before{content:"";position:absolute;width:320px;height:320px;border-radius:50%;left:-150px;top:-160px;background:radial-gradient(circle,rgba(53,199,239,.2),rgba(53,199,239,0) 72%);pointer-events:none}
body[data-theme="discovery"] .discovery-passport::after{content:"";position:absolute;width:330px;height:330px;border-radius:50%;right:-150px;bottom:-190px;background:radial-gradient(circle,rgba(255,196,65,.23),rgba(255,196,65,0) 72%);pointer-events:none}
body[data-theme="discovery"] .discovery-passport>*{position:relative;z-index:1}
.discovery-passport__head{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:center}
.discovery-passport__kicker{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.96);color:#3380b4;font-size:11px;font-weight:1000;letter-spacing:.08em;box-shadow:0 8px 18px rgba(48,82,115,.07)}
.discovery-passport__intro h2{margin:10px 0 6px;font-size:clamp(34px,4vw,52px);letter-spacing:-1.4px;color:#163e6b}
.discovery-passport__intro p{max-width:720px;margin:0;color:#66829a;font-size:15px;font-weight:800;line-height:1.5}
.discovery-passport__total{display:flex;align-items:center;gap:16px;padding:16px 18px;border-radius:28px;background:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.98);box-shadow:0 18px 38px rgba(54,88,119,.11)}
.discovery-passport__ring{--passport-progress:0%;width:112px;height:112px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#5f75f1 var(--passport-progress),#dfe8f3 0);position:relative;box-shadow:0 14px 28px rgba(72,95,175,.16)}
.discovery-passport__ring::before{content:"";position:absolute;inset:9px;border-radius:50%;background:linear-gradient(145deg,#fff,#f7fbff);box-shadow:inset 0 1px 0 #fff}
.discovery-passport__ring>div{position:relative;z-index:1;text-align:center}
.discovery-passport__ring strong{display:block;font-size:23px;color:#3458c9}
.discovery-passport__ring small{display:block;color:#7890a5;font-size:10px;font-weight:900}
.discovery-passport__total-copy span,.discovery-passport__total-copy small{display:block;color:#758da3;font-size:11px;font-weight:900}
.discovery-passport__total-copy b{display:block;margin:2px 0;font-size:28px;color:#183f6d}
.discovery-passport__total-copy small{line-height:1.35}
.discovery-passport__modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.discovery-passport-card{--passport-accent:#55bfe7;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;min-height:142px;padding:18px;border:1px solid color-mix(in srgb,var(--passport-accent) 24%,#dfeaf3);border-radius:28px;background:linear-gradient(145deg,#fff,#f9fcff);box-shadow:0 16px 34px rgba(46,79,113,.09);text-align:left;color:#183f6d;cursor:pointer;transition:.18s ease}
.discovery-passport-card:hover{transform:translateY(-4px);box-shadow:0 22px 42px color-mix(in srgb,var(--passport-accent) 16%,rgba(46,79,113,.13))}
.discovery-passport-card--colors{--passport-accent:#f3b940}
.discovery-passport-card--puzzles{--passport-accent:#47c0e5}
.discovery-passport-card--memory{--passport-accent:#806fe9}
.discovery-passport-card__icon{display:grid;place-items:center;width:68px;height:68px;border-radius:22px;background:linear-gradient(145deg,#fff,#f2f8ff);box-shadow:0 12px 24px rgba(55,86,119,.12);font-size:36px}
.discovery-passport-card__copy{min-width:0}
.discovery-passport-card__copy small{display:block;color:#6e87a0;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.04em}
.discovery-passport-card__copy strong{display:block;margin-top:3px;font-size:25px;color:#163f70}
.discovery-passport-card__copy em{display:block;margin-top:2px;color:#6f879d;font-size:12px;font-style:normal;font-weight:800}
.discovery-passport-card__track{display:block;height:8px;margin-top:10px;border-radius:999px;background:#e8eff6;overflow:hidden}
.discovery-passport-card__track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--passport-accent),color-mix(in srgb,var(--passport-accent) 65%,#755ff4));transition:width .35s ease}
.discovery-passport-card>b{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fff;border:1px solid #e5edf5;box-shadow:0 9px 20px rgba(55,86,119,.09);font-size:22px;color:#35639c}
.discovery-passport__trophies{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.discovery-passport-trophy{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:18px;background:rgba(255,255,255,.68);border:1px solid rgba(219,230,240,.9);filter:saturate(.55);opacity:.72}
.discovery-passport-trophy.is-unlocked{background:linear-gradient(145deg,#fff8d8,#fff);border-color:#efd273;filter:none;opacity:1;box-shadow:0 10px 24px rgba(220,171,45,.12)}
.discovery-passport-trophy>i{font-style:normal;font-size:24px}
.discovery-passport-trophy span{min-width:0}
.discovery-passport-trophy b{display:block;font-size:11px;color:#34506e}
.discovery-passport-trophy small{display:block;margin-top:1px;color:#7b8da0;font-size:10px;font-weight:900}
@media (max-width:1000px){.discovery-passport__head{grid-template-columns:1fr}
.discovery-passport__total{max-width:440px}
.discovery-passport__modules{grid-template-columns:1fr}
.discovery-passport-card{min-height:120px}
.discovery-passport__trophies{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){body[data-theme="discovery"] .discovery-passport{padding:20px 14px;border-radius:28px}
.discovery-passport__total{padding:13px}
.discovery-passport__ring{width:88px;height:88px}
.discovery-passport__ring strong{font-size:18px}
.discovery-passport-card{padding:14px;gap:10px;border-radius:22px}
.discovery-passport-card__icon{width:56px;height:56px;border-radius:18px;font-size:29px}
.discovery-passport-card__copy strong{font-size:21px}
.discovery-passport__trophies{grid-template-columns:1fr}}
.discovery-passport__next{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;margin-top:20px;padding:15px 17px;border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(241,249,255,.92));border:1px solid rgba(216,232,245,.96);box-shadow:0 14px 30px rgba(48,82,115,.08)}
.discovery-passport__next-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,#fff7c9,#fff);font-size:29px;box-shadow:0 10px 22px rgba(218,169,50,.15)}
.discovery-passport__next-copy{min-width:0}
.discovery-passport__next-copy small{display:block;color:#7a90a5;font-size:10px;font-weight:1000;letter-spacing:.08em}
.discovery-passport__next-copy strong{display:block;margin-top:2px;color:#183f6d;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.discovery-passport__next-copy span{display:block;margin-top:2px;color:#6f879d;font-size:12px;font-weight:800}
.discovery-passport__next button{min-height:48px;padding:0 18px;border:0;border-radius:16px;background:linear-gradient(135deg,#31bde7,#6b6ff2);color:#fff;font-weight:1000;cursor:pointer;box-shadow:0 10px 24px rgba(73,104,222,.2);transition:.18s ease}
.discovery-passport__next button:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(73,104,222,.25)}
@media (max-width:720px){.discovery-passport__next{grid-template-columns:auto minmax(0,1fr)}
.discovery-passport__next button{grid-column:1/-1;width:100%}
.discovery-passport__next-copy strong{white-space:normal}}
.discovery-passport-trophy{
    appearance:none;-webkit-appearance:none;width:100%;text-align:left;font:inherit;cursor:pointer;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.discovery-passport-trophy:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(55,86,119,.09)}
.discovery-passport-trophy.is-unlocked:hover{box-shadow:0 14px 28px rgba(220,171,45,.18)}
.discovery-passport-trophy:focus-visible{outline:4px solid rgba(57,151,238,.18);outline-offset:2px}
.discovery-reward-road{
    display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;
    margin-top:14px;padding:15px 17px;border-radius:24px;
    background:linear-gradient(135deg,#173d69,#245b8d 58%,#655fd6);color:#fff;
    border:1px solid rgba(255,255,255,.16);box-shadow:0 18px 36px rgba(32,70,112,.18);
    overflow:hidden;position:relative
}
.discovery-reward-road::after{
    content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-60px;top:-90px;
    background:radial-gradient(circle,rgba(255,221,98,.26),rgba(255,221,98,0) 72%);pointer-events:none
}
.discovery-reward-road>*{position:relative;z-index:1}
.discovery-reward-road__icon{
    display:grid;place-items:center;width:60px;height:60px;border-radius:19px;
    background:linear-gradient(145deg,#fff7c7,#fff);box-shadow:0 12px 26px rgba(7,28,62,.18);font-size:31px
}
.discovery-reward-road__copy{min-width:0}
.discovery-reward-road__copy small{display:block;color:#a9ddff;font-size:10px;font-weight:1000;letter-spacing:.08em}
.discovery-reward-road__copy strong{display:block;margin-top:2px;font-size:18px}
.discovery-reward-road__copy span{display:block;margin-top:2px;color:#d8ebfb;font-size:12px;font-weight:800}
.discovery-reward-road__track{
    display:block;width:min(420px,100%);height:8px;margin-top:10px;border-radius:999px;
    background:rgba(255,255,255,.17);overflow:hidden
}
.discovery-reward-road__track b{
    display:block;width:0;height:100%;border-radius:inherit;
    background:linear-gradient(90deg,#57e0f4,#ffe175);
    box-shadow:0 0 14px rgba(255,225,117,.3);transition:width .4s ease
}
.discovery-reward-road__score{
    min-width:82px;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.13);
    border:1px solid rgba(255,255,255,.13);text-align:center;font-size:14px;font-weight:1000
}
@media (max-width:680px){.discovery-reward-road{grid-template-columns:auto minmax(0,1fr)}
.discovery-reward-road__score{grid-column:1/-1;justify-self:stretch}
.discovery-reward-road__icon{width:54px;height:54px;font-size:28px}}
.foundation-road{display:none}
.foundation-worlds-heading{display:none}
.module-art{
  aspect-ratio:1/1;
  object-fit:cover;
}
.hero-visual,.hero-art-frame{
  contain:layout paint;
}
.hero-world-image{
  aspect-ratio:4/3;
}
.discovery-puzzle-dashboard,.discovery-memory-dashboard,.discovery-colors-dashboard,.discovery-passport,.module-section,.learning-path{
  content-visibility:visible;
  contain-intrinsic-size:none;
}
.module-art:not([src]){
  opacity:0;
}
.module-art[src]{
  opacity:1;
  transition:opacity .18s ease;
}
body[data-theme="discovery"] .world-hero{order:1}
body[data-theme="discovery"] .age-gate{order:2}
body[data-theme="discovery"] .module-section{order:3!important}
body[data-theme="discovery"] .discovery-passport{order:4}

/* =========================================================
   FIND.TJ PERFORMANCE 1.7 — LCP FINAL-STYLE SYNC
   Exact first-viewport rules copied from the approved full Discovery CSS.
   Purpose: the hero/header/age selector render in their final geometry before
   the deferred full stylesheet arrives, preventing a late LCP replacement.
   No visual values are redesigned here.
   ========================================================= */
.app-shell{width:min(calc(100% - 28px),var(--page));margin:0 auto;padding:12px 0 30px}
.app-header{height:72px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:9px 18px;margin-bottom:16px;border-radius:22px;background:rgba(255,255,255,.92);border:1px solid var(--line);box-shadow:var(--shadow-soft);backdrop-filter:blur(18px)}
.brand{display:flex;align-items:center;gap:11px;border:0;background:transparent;cursor:pointer;text-align:left}
.brand-symbol{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(145deg,var(--primary),var(--primary2));box-shadow:0 10px 24px rgba(31,115,255,.28);font-size:25px}
.brand-copy{display:flex;flex-direction:column}
.brand-copy strong{font-size:27px;line-height:1;font-weight:900;letter-spacing:-1px}
.brand-copy strong span{color:#24d7e6}
.brand-copy small{margin-top:5px;font-size:10px;line-height:1.1;font-weight:900;text-transform:uppercase;letter-spacing:.45px;color:var(--muted)}
.app-nav{display:flex;justify-content:center;align-items:center;gap:4px}
.app-nav__link{min-height:44px;display:inline-flex;align-items:center;padding:0 17px;border:0;border-radius:12px;background:transparent;text-decoration:none;color:var(--ink);font-weight:800;font-size:15px;cursor:pointer}
.app-nav__link:hover,.app-nav__link.is-active{background:linear-gradient(135deg,var(--primary),#3159e8);color:#fff;box-shadow:0 10px 24px rgba(31,115,255,.22)}
.header-actions{display:flex;align-items:center;gap:9px}
.icon-btn,.lang-select{height:44px;border:1px solid var(--line);border-radius:13px;background:var(--panel2);color:var(--ink);font-weight:900}
.icon-btn{width:44px;font-size:20px;cursor:pointer}
.lang-select{padding:0 12px}
.desktop-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--rail);gap:var(--gap);align-items:start}
.main-column{min-width:0}
.right-rail{position:sticky;top:12px;display:flex;flex-direction:column;gap:13px}
body[data-theme="discovery"] .desktop-layout{grid-template-columns:1fr}
body[data-theme="discovery"] .right-rail{display:none}
.world-hero{position:relative;overflow:hidden;min-height:470px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);align-items:stretch;border:1px solid var(--line);border-radius:30px;background:linear-gradient(145deg,var(--panel),var(--panel2));box-shadow:var(--shadow);isolation:isolate}
.world-hero:before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 75% 30%,rgba(58,206,255,.18),transparent 24rem)}
.hero-copy{padding:42px 36px 38px;display:flex;flex-direction:column;justify-content:center;z-index:2}
.mode-eyebrow{display:inline-flex;align-items:center;gap:8px;width:max-content;margin-bottom:14px;padding:9px 14px;border:1px solid color-mix(in srgb,var(--primary) 55%,transparent);border-radius:999px;color:var(--primary2);font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.3px}
#heroTitle{margin:0;max-width:620px;font-size:clamp(50px,5vw,78px);line-height:.98;letter-spacing:-3px;font-weight:900}
#heroTitle span,#heroTitle em{display:block;font-style:normal}
#heroTitle em{margin-top:4px;color:transparent;background:linear-gradient(90deg,var(--primary2),var(--accent));-webkit-background-clip:text;background-clip:text}
.hero-copy>p{max-width:650px;margin:22px 0 0;color:var(--muted);font-size:19px;line-height:1.55;font-weight:700}
.hero-actions{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin-top:28px}
.primary-action,.secondary-action{min-height:58px;padding:0 24px;border-radius:17px;font-size:17px;font-weight:900;cursor:pointer}
.primary-action{border:0;color:#fff;background:linear-gradient(135deg,var(--primary2),var(--primary),var(--accent));box-shadow:0 16px 32px rgba(29,114,255,.35)}
.primary-action:hover{transform:translateY(-2px)}
.primary-action b{margin-left:10px}
.secondary-action{border:2px solid color-mix(in srgb,var(--primary) 70%,transparent);background:transparent;color:var(--ink)}
.hero-trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:22px;color:var(--muted);font-size:13px;font-weight:800}
.hero-visual{position:relative;min-height:470px;background-position:center;background-repeat:no-repeat;background-size:cover}
.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--panel) 0%,transparent 18%,transparent 100%);pointer-events:none}
.float-card{position:absolute;z-index:2;min-width:118px;padding:12px 14px;border-radius:15px;background:rgba(7,24,56,.88);border:1px solid rgba(81,203,255,.25);color:#fff;box-shadow:0 12px 30px rgba(0,10,40,.28);transform:rotate(-7deg);backdrop-filter:blur(10px)}
.float-card b{display:block;color:#3fdcff;font-size:12px}
.float-card span{font-size:14px;font-weight:900}
.float-card--1{left:9%;top:11%}
.float-card--2{right:6%;top:24%;transform:rotate(8deg)}
.float-card--3{left:18%;bottom:11%;transform:rotate(-4deg)}
body[data-theme="discovery"] .hero-visual{background-image:none;background-size:cover;background-position:center 35%}
body[data-theme="discovery"] .world-hero{grid-template-columns:minmax(430px,.85fr) minmax(510px,1.15fr);background:rgba(255,255,255,.94)}
body[data-theme="discovery"] .hero-copy{order:2;padding-left:42px}
body[data-theme="discovery"] .hero-visual{order:1}
body[data-theme="discovery"] .hero-visual:after{background:linear-gradient(90deg,transparent 70%,#fff 100%)}
body[data-theme="discovery"] .float-card{display:none}
body[data-theme="discovery"] #heroTitle{font-size:clamp(52px,5.4vw,82px);color:#114795}
body[data-theme="discovery"] #heroTitle em{color:#ff6f1a;background:none;-webkit-text-fill-color:initial}
body[data-theme="discovery"] .primary-action{background:linear-gradient(135deg,#ff9a21,#ff5229);box-shadow:0 16px 36px rgba(255,97,31,.30)}
body[data-theme="discovery"] .mode-eyebrow{color:#ff7416;border-color:#ffb57a}
.age-gate{display:grid;grid-template-columns:46px 1fr 46px;align-items:center;gap:8px;margin-top:14px;padding:8px;border:1px solid var(--line);border-radius:22px;background:var(--panel);box-shadow:var(--shadow-soft)}
.age-arrow{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--panel2);font-size:30px;cursor:pointer}
.age-options{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:7px}
.tab-btn{min-height:62px;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:9px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:16px;background:var(--panel2);color:var(--ink);cursor:pointer}
.tab-btn>span{grid-row:1/3;font-size:25px}
.tab-btn b{font-size:18px;line-height:1}
.tab-btn small{font-size:12px;color:var(--muted)}
.tab-btn.active{color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));border-color:rgba(255,255,255,.5);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary2) 20%,transparent),0 8px 22px rgba(31,115,255,.24)}
.tab-btn.active small{color:rgba(255,255,255,.82)}
body[data-authenticated="1"] .age-gate{display:none}
body[data-theme="discovery"] .app-nav__optional,body[data-theme="discovery"] .skill-section,body[data-theme="discovery"] .achievement-hall{display:none}
body[data-theme="discovery"] .hero-trust{display:none}
body[data-theme="discovery"] .world-hero{min-height:560px}
body[data-theme="discovery"] .hero-copy>p{font-size:21px}
@media (max-width:1180px){
.app-shell{width:min(calc(100% - 20px),var(--page))}
.world-hero{grid-template-columns:1fr 1fr}
.hero-copy{padding:34px 28px}
.app-nav__optional{display:none}
.brand-copy small{display:none}
}
@media (max-width:980px){
.desktop-layout{grid-template-columns:1fr}
.right-rail{position:static;display:grid!important;grid-template-columns:1fr 1fr}
.world-hero{grid-template-columns:1fr;min-height:auto}
.hero-visual{min-height:390px;order:1}
.hero-copy{order:2}
.hero-visual:after{background:linear-gradient(180deg,transparent 70%,var(--panel) 100%)}
.age-options{overflow:auto;grid-template-columns:repeat(5,minmax(150px,1fr))}
.age-arrow{display:none}
.age-gate{grid-template-columns:1fr}
}
@media (max-width:720px){
.app-shell{width:100%;padding:0 0 92px}
.app-header{height:64px;margin:0 8px 10px;padding:8px 10px;border-radius:0 0 18px 18px}
.brand-symbol{width:40px;height:40px}
.brand-copy strong{font-size:24px}
.app-nav{display:none}
.header-actions{margin-left:auto}
.header-actions .icon-btn:first-child{display:none}
.world-hero{margin:0 8px;border-radius:24px;overflow:hidden}
.hero-copy{padding:26px 21px 30px}
.hero-visual{min-height:330px}
.float-card{display:none}
#heroTitle{font-size:clamp(42px,12vw,60px);letter-spacing:-2px}
.hero-copy>p{font-size:17px!important}
.primary-action,.secondary-action{width:100%;min-height:58px}
.hero-trust{gap:9px;font-size:12px}
.age-gate{margin:10px 8px 0;border-radius:18px}
.age-options{grid-template-columns:repeat(5,130px)}
.tab-btn{min-height:58px}
.right-rail{display:none!important}
}
.app-shell{width:min(calc(100% - 32px),1500px)}
.app-header{min-height:76px;padding:12px 18px;border-radius:24px}
.brand-copy strong{font-size:28px}
.brand-copy small{font-size:11px;line-height:1.2;max-width:150px}
.app-nav__link{font-size:15px;min-height:46px;padding:0 18px}
.icon-btn,.lang-select{min-height:46px;min-width:46px}
.world-hero{min-height:510px;grid-template-columns:minmax(0,46%) minmax(0,54%);padding:38px 38px 38px 42px;overflow:hidden}
.hero-copy{position:relative;z-index:4;align-self:center}
.mode-eyebrow{font-size:14px;padding:9px 14px;margin-bottom:22px}
.hero-copy h1{font-size:clamp(54px,5vw,78px);line-height:.98;letter-spacing:-2.5px;margin:0 0 22px}
.hero-copy h1 span,.hero-copy h1 em{display:block}
.hero-copy p{font-size:19px;line-height:1.55;max-width:650px;margin-bottom:28px}
.primary-action,.secondary-action{min-height:64px;padding:0 28px;font-size:17px;border-radius:18px}
.hero-trust{font-size:13px;gap:18px;margin-top:18px}
.hero-visual{position:relative;min-height:430px;display:grid;place-items:center;z-index:2}
.hero-art-frame{position:absolute;inset:0;border-radius:34px;overflow:hidden;border:1px solid var(--line);box-shadow:0 28px 70px rgba(0,0,0,.22)}
.hero-world-image{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.01)}
.hero-art-frame::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.05),transparent 35%,transparent 70%,rgba(0,0,0,.08))}
.hero-art-glow{position:absolute;inset:auto 8% 4% 8%;height:32%;background:var(--primary);filter:blur(70px);opacity:.12;pointer-events:none}
.float-card{z-index:4;backdrop-filter:blur(14px);font-size:13px;box-shadow:0 14px 35px rgba(0,0,0,.18)}
.float-card b{font-size:12px}
.float-card span{font-size:13px}
.age-gate{min-height:82px;padding:8px 10px;margin-top:14px;border-radius:24px}
.tab-btn{min-height:64px;font-size:16px;border-radius:17px}
.tab-btn span{font-size:24px}
.tab-btn small{font-size:12px}
.right-rail{gap:14px}
body[data-theme="discovery"] .app-header{background:rgba(255,255,255,.92);border-color:rgba(29,112,190,.12);box-shadow:0 12px 34px rgba(41,109,154,.12)}
body[data-theme="discovery"] .world-hero{grid-template-columns:minmax(0,42%) minmax(0,58%);background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(237,250,255,.92));border-color:rgba(36,138,208,.14);box-shadow:0 25px 65px rgba(43,119,169,.13)}
body[data-theme="discovery"] .hero-visual{grid-column:1;grid-row:1}
body[data-theme="discovery"] .hero-copy{grid-column:2;grid-row:1;padding-left:18px}
body[data-theme="discovery"] .hero-copy h1{font-family:"Nunito",sans-serif;color:#133c85;font-size:clamp(56px,5.2vw,76px)}
body[data-theme="discovery"] .hero-copy h1 em{color:#ff781f}
body[data-theme="discovery"] .hero-copy p{color:#58779d;font-size:20px}
body[data-theme="discovery"] .hero-art-frame{border-radius:34px;box-shadow:none;border:0}
body[data-theme="discovery"] .hero-world-image{object-position:center}
body[data-theme="discovery"] .float-card{display:none}
body[data-theme="discovery"] .hero-trust{display:none}
body[data-theme="discovery"] .primary-action{background:linear-gradient(135deg,#ff9d22,#ff5a36);box-shadow:0 14px 28px rgba(255,111,39,.28)}
body[data-theme="discovery"] .secondary-action{background:#fff7e8;color:#ef711d;border-color:#ffd79a}
body[data-theme="discovery"] .age-gate,body[data-theme="discovery"] .learning-path,body[data-theme="discovery"] .module-section{background:rgba(255,255,255,.93);border-color:rgba(43,119,169,.13);box-shadow:0 18px 45px rgba(52,114,149,.09)}
body[data-authenticated="1"] .age-gate{margin-top:10px;opacity:.96}
@media (max-width:1180px){
.world-hero{grid-template-columns:1fr 1fr;min-height:460px}
.hero-copy h1{font-size:54px}
.hero-copy p{font-size:17px}
}
@media (max-width:900px){
.app-shell{width:min(calc(100% - 18px),1500px)}
.world-hero,body[data-theme="discovery"] .world-hero{grid-template-columns:1fr;padding:20px;min-height:auto}
body[data-theme="discovery"] .hero-visual,body[data-theme="discovery"] .hero-copy{grid-column:1;grid-row:auto;padding-left:0}
.hero-copy{order:1}
.hero-visual{order:0;min-height:360px}
.hero-copy h1{font-size:48px;letter-spacing:-1.4px}
.hero-copy p{font-size:17px}
.hero-trust{flex-wrap:wrap}
.age-gate{overflow-x:auto}
.age-options{min-width:720px}
}
@media (max-width:620px){
.app-header{border-radius:18px}
.brand-copy strong{font-size:24px}
.brand-copy small{display:none}
.world-hero{padding:14px;border-radius:22px}
.hero-visual{min-height:310px}
.hero-art-frame{border-radius:22px}
.hero-copy{padding:12px 4px 4px}
.hero-copy h1{font-size:42px;line-height:1}
.hero-copy p{font-size:16px;line-height:1.45}
.mode-eyebrow{font-size:12px}
.primary-action,.secondary-action{min-height:58px;font-size:16px;width:100%}
.hero-actions{display:grid;grid-template-columns:1fr}
}
.app-header{
  grid-template-columns:auto minmax(0,1fr) auto auto;
  min-height:74px;
  height:auto;
  padding:10px 14px;
}
.header-profile{
  min-height:50px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 10px 6px 7px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel2);
  color:var(--ink);
  cursor:pointer;
  text-align:left;
}
.header-profile__avatar{
  width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;
  border-radius:50%;background:linear-gradient(145deg,var(--primary),var(--primary2));
  color:#fff;font-size:20px;overflow:hidden;
}
.header-profile__copy{display:flex;flex-direction:column;min-width:95px}
.header-profile__copy strong{font-size:14px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:135px}
.header-profile__copy small{margin-top:3px;color:var(--muted);font-size:10px;white-space:nowrap}
.header-profile__chevron{font-size:18px;color:var(--muted)}
.main-column{display:flex;flex-direction:column}
.world-hero{order:1}
.age-gate{order:2}
body[data-theme="discovery"] .app-shell{width:min(calc(100% - 30px),1448px)}
body[data-theme="discovery"] .app-header{
  position:relative;z-index:20;
  margin:12px 0 10px;
  background:rgba(255,255,255,.92);
  border-color:rgba(65,143,213,.22);
  box-shadow:0 12px 34px rgba(43,111,159,.12);
}
body[data-theme="discovery"] .app-nav{gap:3px}
body[data-theme="discovery"] .app-nav__link{font-size:14px;padding:0 15px;color:#31588d}
body[data-theme="discovery"] .app-nav__link.is-active,body[data-theme="discovery"] .app-nav__link:hover{background:#fff;color:#0e62d8;box-shadow:0 5px 18px rgba(22,107,202,.12)}
body[data-theme="discovery"] .header-actions .header-reward,body[data-theme="discovery"] .lang-select{display:none}
body[data-theme="discovery"] .icon-btn{background:rgba(255,255,255,.78);color:#0b4d9a}
body[data-theme="discovery"] .header-profile{background:rgba(255,255,255,.86)}
body[data-theme="discovery"] .desktop-layout{display:block}
body[data-theme="discovery"] .right-rail{display:none!important}
body[data-theme="discovery"] .world-hero{
  min-height:445px;
  display:grid;
  grid-template-columns:minmax(0,41%) minmax(0,59%);
  padding:0;
  overflow:hidden;
  border:1px solid rgba(57,148,214,.16);
  border-radius:30px;
  background:
    radial-gradient(circle at 93% 16%,rgba(255,255,255,.85) 0 6%,transparent 6.3%),
    linear-gradient(180deg,#d9f6ff 0%,#ecfbf0 70%,#d9f3ae 100%);
  box-shadow:0 18px 46px rgba(48,112,151,.12);
}
body[data-theme="discovery"] .world-hero:after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:70px;
  background:linear-gradient(180deg,transparent,rgba(100,190,76,.16));pointer-events:none
}
body[data-theme="discovery"] .hero-visual{
  order:1;grid-column:1;min-height:445px;padding:0;align-self:stretch;
}
body[data-theme="discovery"] .hero-art-frame{
  position:absolute;inset:0;border:0;border-radius:0;background:transparent;box-shadow:none;
}
body[data-theme="discovery"] .hero-world-image{
  width:100%;height:100%;object-fit:cover;object-position:center center;transform:none;
  filter:saturate(1.04) contrast(1.01);
}
body[data-theme="discovery"] .hero-art-frame::after{
  background:linear-gradient(90deg,transparent 68%,rgba(224,248,255,.9) 100%);
}
body[data-theme="discovery"] .hero-copy{
  order:2;grid-column:2;padding:56px 52px 98px 32px;
  align-items:center;text-align:center;justify-content:center;
}
body[data-theme="discovery"] .mode-eyebrow,body[data-theme="discovery"] .hero-copy>p,body[data-theme="discovery"] .secondary-action,body[data-theme="discovery"] .hero-trust,body[data-theme="discovery"] .float-card{display:none!important}
body[data-theme="discovery"] #heroTitle{
  max-width:700px;margin:0 0 22px;
  font-family:var(--font-kids);font-size:clamp(48px,4.6vw,68px);line-height:.98;
  letter-spacing:-2px;color:#0c4aa2;text-shadow:0 2px 0 rgba(255,255,255,.35)
}
body[data-theme="discovery"] #heroTitle em{
  margin-top:8px;color:#0d65d3;background:none;-webkit-background-clip:initial;background-clip:initial;-webkit-text-fill-color:initial;
  font-size:.72em;letter-spacing:-1px
}
body[data-theme="discovery"] .hero-actions{margin-top:4px;justify-content:center}
body[data-theme="discovery"] .primary-action{
  min-width:360px;min-height:82px;padding:0 38px 0 86px;position:relative;
  border-radius:999px;font-size:27px;letter-spacing:-.4px;
  background:linear-gradient(180deg,#ff9e25 0%,#ff5e29 66%,#ff4935 100%);
  box-shadow:0 14px 26px rgba(255,91,38,.32),inset 0 2px 0 rgba(255,255,255,.32)
}
body[data-theme="discovery"] .primary-action:before{
  content:"▶";position:absolute;left:18px;top:50%;transform:translateY(-50%);
  width:54px;height:54px;display:grid;place-items:center;border-radius:50%;
  background:#fff7d9;color:#ff641f;font-size:24px;box-shadow:0 4px 12px rgba(143,67,13,.15)
}
body[data-theme="discovery"] .primary-action b{display:none}
body[data-theme="discovery"] .age-gate,body[data-theme="discovery"][data-authenticated="1"] .age-gate{
  display:grid!important;position:relative;z-index:12;
  width:min(820px,65%);margin:-76px 50px 18px auto;padding:7px;
  border:1px solid rgba(49,131,209,.15);border-radius:25px;
  background:rgba(255,255,255,.9);box-shadow:0 16px 34px rgba(33,108,167,.16);backdrop-filter:blur(12px)
}
body[data-theme="discovery"] .age-arrow{display:none}
body[data-theme="discovery"] .age-options{grid-template-columns:repeat(5,1fr);gap:5px}
body[data-theme="discovery"] .tab-btn{min-height:62px;background:rgba(239,248,255,.86);border-radius:18px;color:#244e83}
body[data-theme="discovery"] .tab-btn.active{background:linear-gradient(135deg,#12bdf1,#1675ff);color:#fff;box-shadow:0 8px 20px rgba(27,121,234,.25)}
@media (max-width:1100px){
.app-header{grid-template-columns:auto 1fr auto}
.header-profile{display:none}
body[data-theme="discovery"] .age-gate{width:78%;margin-right:20px}
body[data-theme="discovery"] .primary-action{min-width:300px}
}
@media (max-width:900px){
body[data-theme="discovery"] .world-hero{grid-template-columns:1fr;min-height:auto}
body[data-theme="discovery"] .hero-visual{min-height:360px;grid-column:1;order:1}
body[data-theme="discovery"] .hero-copy{grid-column:1;order:2;padding:26px 24px 32px}
body[data-theme="discovery"] .age-gate{width:calc(100% - 20px);margin:10px auto 16px}
}
@media (max-width:720px){
.header-profile{display:flex}
.app-header{grid-template-columns:auto 1fr auto}
.header-actions{display:none}
.header-profile__copy{display:none}
.header-profile{padding:5px;min-height:46px}
.header-profile__chevron{display:none}
body[data-theme="discovery"] .world-hero{margin:0 8px;border-radius:24px}
body[data-theme="discovery"] .hero-visual{min-height:300px}
body[data-theme="discovery"] #heroTitle{font-size:44px;letter-spacing:-1px}
body[data-theme="discovery"] .primary-action{min-width:0;width:100%;min-height:68px;font-size:22px;padding-left:74px}
body[data-theme="discovery"] .primary-action:before{width:46px;height:46px;left:13px;font-size:20px}
body[data-theme="discovery"] .age-gate{overflow-x:auto;padding:6px}
.age-options{min-width:650px}
}
.desktop-layout,.main-column,.right-rail,.world-hero,.hero-copy,.hero-visual,.hero-art-frame,#heroTitle,#heroTitle span,#heroTitle em,.hero-copy > p{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
#heroTitle{
  overflow:visible;
  text-wrap:balance;
}
#heroTitle span,#heroTitle em{
  overflow:visible;
  white-space:normal;
}
.hero-copy > p{
  overflow:visible;
  text-wrap:pretty;
}
@media (max-width:720px){
#heroTitle,#heroTitle span,#heroTitle em,.hero-copy > p,.hero-actions,.hero-actions > *{
    max-width:100%;
  }
}
.app-shell,.desktop-layout,.main-column,.right-rail{box-sizing:border-box}
.right-rail{min-width:0;width:100%}
@media (max-width:1450px) and (min-width:981px){
.app-header{gap:14px;padding-left:14px;padding-right:14px}
.app-nav{gap:4px}
.app-nav__link{padding-left:10px;padding-right:10px}
.header-actions{gap:7px}
}
.header-profile-wrap{position:relative;min-width:0}
.header-profile-menu{
  position:absolute;right:0;top:calc(100% + 10px);z-index:900;
  width:210px;padding:8px;border:1px solid var(--line);border-radius:16px;
  background:var(--panel);box-shadow:0 20px 50px rgba(0,24,65,.24);
  display:none
}
.header-profile-menu.show{display:grid;gap:6px}
.header-profile-menu button{
  width:100%;min-height:44px;display:flex;align-items:center;gap:10px;
  padding:10px 12px;border:0;border-radius:11px;background:transparent;
  color:var(--ink);font-weight:900;text-align:left;cursor:pointer
}
.header-profile-menu button:hover{background:var(--panel2)}
.header-profile-menu__logout{color:var(--danger)!important}
@media (max-width:820px){
.header-profile-menu{right:-4px;width:190px}
}
.app-header{position:relative;z-index:1200;overflow:visible!important}
.header-profile-wrap{position:relative;z-index:1300;overflow:visible!important}
.header-profile-menu{z-index:1400!important}
.world-hero,.desktop-layout{position:relative;z-index:1}
.app-header{
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  overflow:visible!important;
}
.header-profile-wrap{justify-self:end;overflow:visible!important}
.header-profile-menu{
  display:none!important;
  top:calc(100% + 8px)!important;
  right:0!important;
  min-width:235px!important;
  padding:9px!important;
  transform:none!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.header-profile-menu.show{display:grid!important;gap:6px!important}
.header-profile-menu [hidden]{display:none!important}
.header-profile-menu button{font-size:14px!important;line-height:1.2}
.header-profile-menu__logout{
  margin-top:3px!important;
  border-top:1px solid color-mix(in srgb,var(--line) 78%,transparent)!important;
  border-radius:10px!important;
}
@media (max-width:1180px){
.app-header{grid-template-columns:auto minmax(0,1fr) auto!important}
.header-actions{display:none!important}
}
@media (max-width:760px){
.app-header{grid-template-columns:auto 1fr auto!important}
.header-profile-menu{display:none!important}
}
body[data-theme="discovery"] .age-gate,body[data-theme="discovery"][data-authenticated="1"] .age-gate{
  grid-template-columns:1fr!important;
}
body[data-theme="discovery"] .age-options{
  width:100%!important;
  min-width:0!important;
}
body.personal-home-active .world-hero>.hero-copy,body.personal-home-active .world-hero>.hero-visual{display:none!important}
body.personal-home-active .world-hero{
  display:block!important;
  min-height:0!important;
  padding:22px!important;
  overflow:hidden!important;
}
body[data-theme="discovery"].personal-home-active .world-hero{
  background:linear-gradient(135deg,#faffff,#edfaff 58%,#f5fff0)!important;
}
@media (max-width:760px){
body.personal-home-active .world-hero{padding:12px!important}
}
.app-shell,.app-main,.main-column,.right-rail,.world-hero,.personal-home,.learning-path,.learning-modal,.learning-modal__content,.modal-box,.card,.path-item{min-width:0}
@media (max-width:760px){
button,a.app-nav__link,.mobile-nav a,.header-profile,.account-action,.modal-primary,.modal-secondary,.modal-guest-action,.path-action,.lesson-hint-button,.answer-feedback__repeat,.answer-feedback__retry,.answer-feedback__next,.answer-feedback__ai-btn{
    min-height:44px;
  }
}
.hero-world-image,.learning-modal__visual-image{
  display:block;
}
@media (max-width:720px){
.app-header,.float-card{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
.world-hero,.learning-path,.module-section,.skill-section,.achievement-hall{
    box-shadow:none;
  }
}
body[data-theme="discovery"] .lang-select{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
@media (max-width:1180px){
body[data-theme="discovery"] .header-actions{
    display:flex!important;
    align-items:center;
    gap:7px;
    margin-left:auto;
  }
body[data-theme="discovery"] .header-actions .icon-btn{
    display:none!important;
  }
body[data-theme="discovery"] .lang-select{
    display:block!important;
    min-width:68px;
    height:44px;
    padding:0 10px;
  }
}
@media (max-width:720px){
body[data-theme="discovery"] .app-header{
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
body[data-theme="discovery"] .header-actions{
    display:flex!important;
  }
body[data-theme="discovery"] .lang-select{
    min-width:64px;
    height:42px;
    padding:0 8px;
    font-size:14px;
  }
}
html[data-network="offline"] .primary-action,html[data-network="offline"] .personal-continue__button{filter:saturate(.75)}
.app-shell,.app-header,.desktop-layout,.main-column,.right-rail,.world-hero,.hero-copy,.hero-visual,.personal-home,.learning-path,.module-section,.skill-section,.achievement-hall,.desktop-footer,.modal-box,.learning-modal,.learning-modal__content,.card,.path-item,.plp-stage,.plp-next,.plp-lane,.plp-map-block{min-width:0}
.hero-copy h1,.hero-copy p,.card,.path-title,.path-reason,.plp-next__copy,.plp-lane__copy,.modal-box,.ui-state__title,.ui-state__text{overflow-wrap:anywhere}
@media (min-width:768px) and (max-width:1199px){
.app-shell{width:min(calc(100% - 24px),1040px)}
.desktop-layout{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
.right-rail{display:none!important;position:static!important}
.world-hero{grid-template-columns:minmax(0,1fr) minmax(300px,.82fr)!important}
.hero-copy{padding-left:28px!important;padding-right:24px!important}
#heroTitle{font-size:clamp(44px,6vw,66px)!important;letter-spacing:-2px!important}
}
@media (max-width:960px){
.app-header{gap:10px!important}
.brand-copy small{display:none!important}
.header-profile__copy{display:none!important}
.header-profile{padding:5px 8px!important}
.world-hero{grid-template-columns:1fr!important}
.hero-copy{order:1!important}
.hero-visual{order:2!important;min-height:300px!important}
body[data-theme="discovery"] .hero-copy{padding:28px 24px 22px!important}
.hero-actions{width:100%}
.hero-actions>button{max-width:100%}
}
@media (max-width:767px){
.app-shell{width:100%!important;padding-left:0!important;padding-right:0!important}
.app-header{width:calc(100% - 16px);height:auto!important;min-height:64px;margin:0 8px 10px!important;padding:8px 10px!important;grid-template-columns:auto minmax(0,1fr) auto!important}
.app-nav{display:none!important}
.brand{min-width:0}
.brand-copy{min-width:0}
.brand-copy strong{font-size:24px!important}
.header-profile__copy,.header-profile__chevron{display:none!important}
.header-actions{display:flex!important;min-width:0;margin-left:auto!important}
.header-actions .icon-btn{display:none!important}
.lang-select{display:block!important;visibility:visible!important;opacity:1!important;min-width:62px!important;height:44px!important;padding:0 8px!important;font-size:14px!important}
.desktop-layout{display:block!important}
.right-rail{display:none!important}
.world-hero{display:flex!important;flex-direction:column!important;width:calc(100% - 16px)!important;margin:0 8px!important;min-height:0!important;border-radius:22px!important}
.hero-copy{width:100%;padding:24px 18px 20px!important}
.hero-visual{width:100%;min-height:260px!important}
#heroTitle{font-size:clamp(38px,11vw,52px)!important;line-height:1!important;letter-spacing:-1.5px!important}
.hero-copy>p{font-size:16px!important;line-height:1.5!important}
.hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.hero-actions>button{width:100%!important;min-width:0!important;white-space:normal!important}
.hero-trust{gap:8px!important}
.age-gate{width:calc(100% - 16px)!important;margin:10px 8px 0!important;display:block!important;overflow:hidden!important;padding:8px!important}
body[data-authenticated="1"] .age-gate{display:none!important}
.age-arrow{display:none!important}
.age-options{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(118px,42vw)!important;grid-template-columns:none!important;gap:7px!important;min-width:0!important;width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;padding-bottom:2px}
.tab-btn{scroll-snap-align:start;min-width:0!important;min-height:58px!important}
button,.app-nav__link,.mobile-nav a,.tab-btn,.lang-select,.header-profile,.plp-next__button,.path-action,.personal-continue__button,.network-state__retry,.ui-state__primary,.ui-state__secondary{min-height:44px}
.icon-btn,.close-btn{min-width:44px;min-height:44px}
body[data-theme="discovery"] .primary-action,body[data-theme="discovery"] .secondary-action,body[data-theme="discovery"] .btn-start,body[data-theme="discovery"] .tab-btn,body[data-theme="discovery"] .mobile-nav a{min-height:56px!important}
}
@media (max-width:480px){
.app-header{gap:6px!important}
.brand-symbol{width:40px!important;height:40px!important;border-radius:12px!important}
.brand-copy strong{font-size:22px!important}
.header-profile{min-width:44px!important;width:44px!important;padding:4px!important}
.lang-select{min-width:58px!important;width:58px!important;padding:0 4px!important}
.hero-copy{padding:21px 16px 18px!important}
#heroTitle{font-size:clamp(35px,10.5vw,46px)!important}
.age-options{grid-auto-columns:minmax(112px,48vw)!important}
}
@media (hover:none), (pointer:coarse){
.card:hover,.primary-action:hover{transform:none!important}
}
.primary-action,.secondary-action,.btn-start,.tab-btn,.card,.path-item,.plp-next,.plp-lane,.plp-skill,.personal-continue__button,.personal-mini-card,.header-profile,.app-nav__link,.icon-btn,.lang-select,.mobile-nav a,.modal-primary,.modal-secondary,.network-state__retry,.ui-state__primary,.ui-state__secondary,.quiz-btn,.lesson-hint-button,.answer-feedback__repeat,.answer-feedback__retry,.answer-feedback__next,.answer-feedback__ai-btn,.achievement-btn,.badge{
  transition-duration:var(--motion-ui,var(--ds-motion-normal));
  transition-timing-function:var(--ds-ease,cubic-bezier(.2,.8,.2,1));
}
@media (hover:hover) and (pointer:fine){
.primary-action:hover,.secondary-action:hover,.btn-start:hover,.card:hover,.path-item:hover,.plp-lane:hover,.plp-skill:hover,.personal-mini-card:hover,.personal-continue__button:hover{
    transform:translateY(var(--motion-lift,-2px)) scale(var(--motion-scale,1.004));
  }
}
.primary-action:active,.secondary-action:active,.btn-start:active,.tab-btn:active,.card:active,.path-item:active,.plp-lane:active,.plp-skill:active,.personal-mini-card:active,.personal-continue__button:active,.mobile-nav a:active{
  transform:scale(.985);
  transition-duration:70ms!important;
}
@media (max-width:767px), (hover:none), (pointer:coarse){
.primary-action:hover,.secondary-action:hover,.btn-start:hover,.card:hover,.path-item:hover,.plp-lane:hover,.plp-skill:hover,.personal-mini-card:hover,.personal-continue__button:hover{
    transform:none!important;
  }
}
@media (prefers-reduced-motion:reduce){
.primary-action,.secondary-action,.btn-start,.tab-btn,.card,.path-item,.plp-next,.plp-lane,.plp-skill,.personal-mini-card,.personal-continue__button,.mobile-nav a,.quiz-btn{
    transform:none!important;
  }
}
.app-nav__link[data-system-icon]{
  gap:8px;
  white-space:nowrap;
}
.app-nav__link[data-system-icon]::before{opacity:.86}
.app-nav__link.is-active[data-system-icon]::before,.app-nav__link[data-system-icon]:hover::before{opacity:1}
.header-profile-menu button[data-system-icon]{
  display:flex;
  align-items:center;
  gap:10px;
}
.header-profile-menu button[data-system-icon]::before{
  --sys-icon-size:18px;
  opacity:.9;
}
body[data-theme="discovery"] .app-nav__link[data-system-icon]::before{
  --sys-icon-size:20px;
}
.app-nav__link[data-system-icon]:disabled,.icon-btn[data-system-icon]:disabled,.account-action[data-system-icon]:disabled{
  opacity:.5;
  cursor:not-allowed;
  transform:none!important;
}
.app-nav__link[data-system-icon]:focus-visible,.icon-btn[data-system-icon]:focus-visible,.mobile-nav a[data-system-icon]:focus-visible,.header-profile-menu button[data-system-icon]:focus-visible,.account-action[data-system-icon]:focus-visible{
  outline:3px solid color-mix(in srgb,var(--primary2,#28bff0) 72%,#fff)!important;
  outline-offset:3px!important;
}
n

/* STAGE 9.0 — language selector kept visually/behaviorally as in v8.17.
   RU/TJ/EN are selectable placeholders; full localization is deferred. */


/* =========================================================
   STAGE 9.1 — MANDATORY UI STATES & MOBILE BOTTOM NAV
   ========================================================= */

.mobile-bottom-nav{
  display:none;
  position:fixed;
  left:50%;
  bottom:max(8px,env(safe-area-inset-bottom));
  z-index:1200;
  transform:translateX(-50%);
  width:min(calc(100% - 18px),560px);
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:4px;
  padding:6px;
  border:1px solid var(--line);
  border-radius:20px;
  background:color-mix(in srgb,var(--panel) 94%,transparent);
  box-shadow:0 18px 48px rgba(0,25,65,.22);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.mobile-bottom-nav__item{
  min-width:0;
  min-height:52px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  border:0;
  border-radius:14px;
  background:transparent;
  color:var(--muted);
  font-weight:900;
  cursor:pointer;
}
.mobile-bottom-nav__item>span{font-size:19px;line-height:1}
.mobile-bottom-nav__item>small{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
  line-height:1.1;
}
.mobile-bottom-nav__item.is-active{
  color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:0 8px 20px color-mix(in srgb,var(--primary) 28%,transparent);
}
.mobile-bottom-nav__item:focus-visible{
  outline:3px solid color-mix(in srgb,var(--primary2) 55%,transparent);
  outline-offset:2px;
}
@media (max-width:768px){
.mobile-bottom-nav{display:grid}
.app-shell{padding-bottom:92px}
.world-hero{box-shadow:var(--shadow-soft)}
}
@media (max-width:480px){
.mobile-bottom-nav{
    width:calc(100% - 12px);
    bottom:max(5px,env(safe-area-inset-bottom));
    border-radius:17px
  }
.mobile-bottom-nav__item{min-height:50px;border-radius:12px}
.mobile-bottom-nav__item>small{font-size:8px}
}
@media (prefers-reduced-motion:reduce){
.mobile-bottom-nav,.mobile-bottom-nav__item{transition:none!important}
}
.app-shell,.main-column,.desktop-layout,.world-hero,.learning-path,.modules-grid,.modal-box,.modal-overlay,.personal-home,.review-center__box{min-width:0;max-width:100%}
.close-btn:focus-visible,.tab-btn:focus-visible,.age-arrow:focus-visible,.primary-action:focus-visible,.secondary-action:focus-visible,.btn-start:focus-visible,.mobile-bottom-nav__item:focus-visible,.modal-primary:focus-visible,.crossword-input:focus-visible{
  outline:3px solid color-mix(in srgb,var(--primary2) 68%,#fff);
  outline-offset:3px;
}
.close-btn,.age-arrow,.icon-btn,.primary-action,.secondary-action,.btn-start,.modal-primary,.header-profile,.app-nav__link,.tab-btn,.network-state__retry,.mobile-bottom-nav__item{
  min-height:44px;
}
.close-btn,.age-arrow,.icon-btn{min-width:44px}
body[data-theme="discovery"] .tab-btn,body[data-theme="discovery"] .primary-action,body[data-theme="discovery"] .option-btn{min-height:52px}
@media (max-width:1200px){
.app-shell{width:min(calc(100% - 20px),var(--page))}
.desktop-layout{gap:14px}
.app-header{gap:14px}
.app-nav__link{padding-inline:11px}
}
@media (max-width:960px){
.desktop-layout{grid-template-columns:1fr}
.right-rail{position:static}
.app-header{
    height:auto;
    min-height:64px;
    grid-template-columns:auto 1fr auto;
    row-gap:8px;
  }
.app-nav{
    grid-column:1/-1;
    order:3;
    width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    scrollbar-width:thin;
    padding-bottom:2px;
  }
.app-nav__link{flex:0 0 auto}
.world-hero{grid-template-columns:1fr}
}
@media (max-width:768px){
.app-header .app-nav{display:none}
.right-rail{display:none}
.header-actions{gap:6px}
.header-profile__copy{display:none}
.age-gate{max-width:100%}
.age-options{min-width:0}
.tab-btn{min-width:0}
}
@media (max-width:600px){
.app-shell{width:calc(100% - 12px)}
.app-header{padding:8px 10px;border-radius:17px}
.brand-copy strong{font-size:23px}
.brand-copy small{display:none}
.age-gate{grid-template-columns:44px minmax(0,1fr) 44px}
.tab-btn small{display:none}
.hero-actions{display:grid;grid-template-columns:1fr}
.hero-actions>*{width:100%}
.modal-primary,.btn-start,.primary-action,.secondary-action{width:100%}
}
@media (max-width:480px){
.app-shell{width:calc(100% - 8px)}
.app-header{gap:7px;padding-inline:8px}
.brand-symbol{width:40px;height:40px;border-radius:12px}
.brand-copy strong{font-size:21px}
.lang-select{padding-inline:8px;min-width:58px}
.age-gate{grid-template-columns:42px minmax(0,1fr) 42px;gap:4px}
.age-arrow{min-width:42px}
.tab-btn{padding-inline:5px}
.tab-btn b{font-size:12px}
.world-hero,.learning-path,.signature-section,.modules-section{border-radius:20px}
}
@media (forced-colors:active){
.mobile-bottom-nav__item.is-active,.primary-action,.btn-start,.modal-primary{
    border:2px solid ButtonText;
  }
}
@media (min-width:769px){
#mobileBottomNav.mobile-bottom-nav{
    display:none!important;
  }
}
@media (max-width:768px){
#mobileBottomNav.mobile-bottom-nav{
    display:grid!important;
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    transform:translateX(-50%)!important;
    width:min(calc(100% - 18px),560px)!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-flow:column!important;
    gap:4px!important;
    padding:6px!important;
  }
#mobileBottomNav .mobile-bottom-nav__item{
    min-width:0!important;
    width:auto!important;
  }
}
@media (max-width:480px){
#mobileBottomNav.mobile-bottom-nav{
    width:calc(100% - 12px)!important;
    bottom:max(5px,env(safe-area-inset-bottom))!important;
  }
}
@media (max-width:600px){
#ageTabs.age-gate{
    display:block!important;
    width:calc(100% - 16px)!important;
    max-width:none!important;
    margin:10px 8px 0!important;
    padding:6px!important;
    overflow:visible!important;
    grid-template-columns:none!important;
  }
body[data-authenticated="1"] #ageTabs.age-gate{
    display:none!important;
  }
#ageTabs .age-arrow{
    display:none!important;
  }
#ageTabs .age-options{
    display:grid!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-columns:auto!important;
    grid-auto-flow:row!important;
    gap:4px!important;
    overflow:visible!important;
    padding:0!important;
    scroll-snap-type:none!important;
  }
#ageTabs .tab-btn{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:58px!important;
    padding:5px 2px!important;
    gap:2px!important;
    border-radius:13px!important;
    white-space:normal!important;
    overflow:hidden!important;
  }
#ageTabs .tab-btn>span{
    display:block!important;
    grid-row:auto!important;
    font-size:19px!important;
    line-height:1!important;
    margin:0!important;
  }
#ageTabs .tab-btn>b{
    display:block!important;
    font-size:11px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }
#ageTabs .tab-btn>small{
    display:none!important;
  }
}
@media (max-width:390px){
#ageTabs.age-gate{padding:5px!important}
#ageTabs .age-options{gap:3px!important}
#ageTabs .tab-btn{
    min-height:56px!important;
    padding-inline:1px!important;
    border-radius:11px!important;
  }
#ageTabs .tab-btn>span{font-size:18px!important}
#ageTabs .tab-btn>b{font-size:10.5px!important}
}
body[data-theme="discovery"] .world-hero{order:1}
body[data-theme="discovery"] .age-gate{order:2}
.hero-visual,.hero-art-frame{
  contain:layout paint;
}
.hero-world-image{
  aspect-ratio:4/3;
}
body[data-theme="discovery"] .world-hero{order:1}
body[data-theme="discovery"] .age-gate{order:2}

/* =========================================================
   STAGE 7.2 — DESIGN SYSTEM CONTRACT / VISUAL REGRESSION BASELINE
   This block freezes shared tokens for future Find.tj UI work.
   It intentionally does not redesign the current approved screens.
   ========================================================= */
:root{
  /* Spacing scale: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 */
  --ds-space-1:4px;
  --ds-space-2:8px;
  --ds-space-3:12px;
  --ds-space-4:16px;
  --ds-space-6:24px;
  --ds-space-8:32px;
  --ds-space-12:48px;
  --ds-space-16:64px;

  /* Radius scale */
  --ds-radius-xs:8px;
  --ds-radius-sm:12px;
  --ds-radius-md:16px;
  --ds-radius-lg:24px;
  --ds-radius-xl:32px;
  --ds-radius-pill:999px;

  /* Control heights */
  --ds-control-sm:40px;
  --ds-control-md:44px;
  --ds-control-lg:56px;

  /* Typography roles */
  --ds-text-display:clamp(44px,5vw,78px);
  --ds-text-h1:clamp(34px,4vw,56px);
  --ds-text-h2:clamp(26px,3vw,36px);
  --ds-text-h3:22px;
  --ds-text-body-l:18px;
  --ds-text-body-m:16px;
  --ds-text-body-s:14px;
  --ds-text-label:13px;
  --ds-text-caption:12px;
  --ds-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;

  /* Elevation roles */
  --ds-elevation-sm:0 8px 24px rgba(0,28,74,.08);
  --ds-elevation-md:0 14px 40px rgba(0,28,74,.10);
  --ds-elevation-lg:0 24px 70px rgba(0,28,74,.16);
  --ds-elevation-overlay:0 30px 90px rgba(0,18,55,.28);

  /* Motion roles */
  --ds-motion-fast:120ms;
  --ds-motion-normal:200ms;
  --ds-motion-slow:320ms;
  --ds-ease:cubic-bezier(.2,.8,.2,1);

  /* Semantic state roles. Age themes may change surfaces, not meaning. */
  --ds-success:#19c878;
  --ds-warning:#ffb51f;
  --ds-error:#ff4f71;
  --ds-info:#2d72ff;

  /* Density contracts */
  --ds-density-comfortable:1.12;
  --ds-density-standard:1;
  --ds-density-compact:.92;
  --ds-density-current:var(--ds-density-standard);
}

body[data-theme="discovery"],
body[data-theme="foundation"]{--ds-density-current:var(--ds-density-comfortable)}
body[data-theme="explorer"],
body[data-theme="advanced"]{--ds-density-current:var(--ds-density-standard)}
body[data-theme="academy"]{--ds-density-current:var(--ds-density-compact)}

/* Stable semantic aliases for future components. */
.ds-status--success{--ds-status-color:var(--ds-success)}
.ds-status--warning{--ds-status-color:var(--ds-warning)}
.ds-status--error{--ds-status-color:var(--ds-error)}
.ds-status--info{--ds-status-color:var(--ds-info)}
.ds-status--success,.ds-status--warning,.ds-status--error,.ds-status--info{
  border-color:color-mix(in srgb,var(--ds-status-color) 46%,var(--line));
}

/* Breakpoint contract used by future stages:
   480 / 600 / 768 / 960 / 1200px.
   CSS custom properties cannot be used directly in @media queries,
   so the values are documented here and in the handoff manifest. */


/* =========================================================
   STAGE 7.2.2 — DISCOVERY CARDS BALANCED VISUAL FIX
   Replaces the failed 7.2.1 card override.
   Goals: compact cards, no giant empty artwork area, full artwork
   visibility, no changes to learning logic or other age themes.
   ========================================================= */

/* Keep the module block visually compact on large screens. */
html body[data-theme="discovery"] .module-section #modulesGrid{
  max-width:1180px!important;
  margin-inline:auto!important;
  gap:16px!important;
}

@media (min-width:1200px){
  html body[data-theme="discovery"] .module-section #modulesGrid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
  html body[data-theme="discovery"] .module-section #modulesGrid>.card{
    grid-column:span 2!important;
  }
  html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(4){
    grid-column:2 / span 2!important;
  }
  html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(5){
    grid-column:4 / span 2!important;
  }
}

/* Balanced card proportions. */
html body[data-theme="discovery"] .module-section #modulesGrid>.card{
  min-height:252px!important;
  padding:0 18px 18px!important;
  border-radius:26px!important;
}

/* Artwork: remove the global square aspect-ratio from images.
   This is the key fix for the large blank area seen in 7.2.1. */
html body[data-theme="discovery"] .module-section #modulesGrid>.card .c-medallion{
  width:calc(100% + 36px)!important;
  height:132px!important;
  margin:0 -18px 10px!important;
  display:block!important;
  background:rgba(255,255,255,.16)!important;
  overflow:hidden!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html body[data-theme="discovery"] .module-section #modulesGrid>.card .module-art{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  padding:0!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}
html body[data-theme="discovery"] .module-section #modulesGrid>.card:hover .module-art{
  transform:scale(1.01)!important;
}

/* Compact copy and CTA while preserving child-friendly readability. */
html body[data-theme="discovery"] .module-section #modulesGrid>.card .c-title{
  margin-top:2px!important;
  font-size:26px!important;
  line-height:1.08!important;
  letter-spacing:-.4px!important;
}
html body[data-theme="discovery"] .module-section #modulesGrid>.card .c-desc{
  max-width:76%!important;
  margin-top:5px!important;
  font-size:14px!important;
  line-height:1.3!important;
}
html body[data-theme="discovery"] .module-section #modulesGrid>.card .btn-start{
  right:15px!important;
  bottom:15px!important;
  width:52px!important;
  height:52px!important;
  min-height:52px!important;
}

/* Medium screens: 2-column layout, no oversized special third card. */
@media (min-width:721px) and (max-width:1199px){
  html body[data-theme="discovery"] .module-section #modulesGrid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    max-width:900px!important;
    gap:14px!important;
  }
  html body[data-theme="discovery"] .module-section #modulesGrid>.card,
  html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(3),
  html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(5){
    grid-column:auto!important;
    width:auto!important;
  }
  html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(5){
    grid-column:1 / -1!important;
    width:min(100%,430px)!important;
    justify-self:center!important;
  }
}

/* Mobile: one card per row, compact and fully readable. */
@media (max-width:720px){
  html body[data-theme="discovery"] .module-section #modulesGrid{
    grid-template-columns:1fr!important;
    max-width:520px!important;
    gap:12px!important;
  }
  html body[data-theme="discovery"] .module-section #modulesGrid>.card,
  html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(3),
  html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(5){
    grid-column:auto!important;
    width:100%!important;
    min-height:238px!important;
    padding:0 16px 16px!important;
    border-radius:23px!important;
  }
  html body[data-theme="discovery"] .module-section #modulesGrid>.card .c-medallion{
    width:calc(100% + 32px)!important;
    height:126px!important;
    margin:0 -16px 9px!important;
  }
  html body[data-theme="discovery"] .module-section #modulesGrid>.card .c-title{
    font-size:24px!important;
  }
  html body[data-theme="discovery"] .module-section #modulesGrid>.card .c-desc{
    max-width:74%!important;
    font-size:13px!important;
  }
  html body[data-theme="discovery"] .module-section #modulesGrid>.card .btn-start{
    right:13px!important;
    bottom:13px!important;
    width:48px!important;
    height:48px!important;
    min-height:48px!important;
  }
}


/* =========================================================
   STAGE 7.2.3 — DISCOVERY CARD ART CONSISTENCY HOTFIX
   Keep 7.2.2 layout intact. Only puzzle/memory artwork uses
   cover so the second row has the same edge-to-edge visual
   treatment as the first row, without empty side gutters.
   ========================================================= */
html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(4) .module-art,
html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(5) .module-art{
  object-fit:cover!important;
  object-position:center center!important;
}

@media (max-width:720px){
  html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(4) .module-art,
  html body[data-theme="discovery"] .module-section #modulesGrid>.card:nth-child(5) .module-art{
    object-fit:cover!important;
    object-position:center center!important;
  }
}
