:root{--navy:#10165b}body{background:linear-gradient(160deg,#bceaff,#f5f8ff 35%,#dcefff)!important;color:#10165b;font-family:system-ui,sans-serif!important}h1,h2,h3,h4,.font-display{font-family:inherit!important;font-weight:800!important}header{background:linear-gradient(110deg,#0052ed,#0038bd)!important;border:0!important;box-shadow:0 4px 16px #0089ff55!important;color:white}.master-header{max-width:1280px;margin:auto;display:flex;align-items:center;gap:12px;padding:6px 14px;min-height:64px}.master-logo{width:138px;height:auto;display:block;border-radius:18px}.master-nav{display:flex;flex:1;justify-content:center;gap:8px;align-items:center}.master-nav a{color:white;padding:8px;border-radius:22px;font-weight:750;white-space:nowrap;font-size:14px}.master-nav a:hover,.master-nav a:first-child{background:#e4f7ff;color:#0054dd}.master-nav small{background:#ffd62e;color:#132057;border-radius:10px;padding:3px}#lang-toggle-btn,#master-search,#master-menu{background:white;color:#10205e;border:0;border-radius:22px;padding:9px 12px;font-weight:800;min-height:44px}#master-menu{display:none}#master-searchbox{background:#fff;color:#10165b;padding:16px;max-width:700px;margin:auto}#master-searchbox input{width:100%;border:1px solid #9cbce5;padding:10px;border-radius:12px}#master-results a{display:block;padding:12px;border-bottom:1px solid #dce8fa}#featured{padding-top:18px;padding-bottom:8px}#spotlight-card{background:#f8fbff!important;border:2px solid white!important;box-shadow:0 8px 20px #174fbb30!important;padding:16px!important;display:grid!important;gap:10px;align-items:center}#spotlight-card>div:first-child{grid-column:1/-1}#spotlight-card> a.aspect-video{margin:0!important;grid-row:2/6}#spotlight-card h3{font-size:clamp(22px,3vw,38px)!important;color:#10165b!important;line-height:1.15}#spotlight-card p{font-size:16px!important;color:#10165b!important}#spotlight-card>.grid{display:block!important}#spotlight-card>.grid>a{display:block;background:linear-gradient(#ff66ac,#ff0064 55%,#c90055)!important;border:2px solid #ff9cbd;border-radius:40px;font-size:18px!important;box-shadow:0 5px 10px #b9006040;padding:13px!important}#spotlight-card>.grid>button{display:none}#joyful-menu{padding-top:10px;padding-bottom:10px}.master-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.master-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:22px;padding:8px 8px 16px;box-shadow:0 7px 14px #264a9930;border:1px solid #ffffffb0;color:#10165b;min-width:0}.master-tile img{width:100%;max-width:205px;aspect-ratio:1.5;object-fit:contain;border-radius:16px}.master-tile strong{font-size:clamp(12px,2vw,23px);font-weight:850}.master-tile span{font-size:clamp(10px,1.5vw,15px)}.master-tile b{position:absolute;bottom:7px;right:8px;background:#ffffff99;border-radius:50%;width:24px;height:24px;font-size:20px;line-height:22px}.master-tile.shop{background:linear-gradient(#fff3b0,#ffd66a)}.master-tile.game{background:linear-gradient(#e8caff,#a36aff)}.master-tile.edu{background:linear-gradient(#b5f0ff,#65c8ff)}.master-tile.ads{background:linear-gradient(#ffd3eb,#ff92c7)}#community-banner{max-width:1232px;margin:14px auto!important;background:linear-gradient(115deg,#00b6ff,#0049df,#079aff)!important;border:1px solid #8be7ff!important;display:flex;align-items:center;gap:16px;padding:0 20px 0 0!important;box-shadow:0 6px 16px #0057c433!important}.community-art{width:24%;max-width:270px;align-self:stretch;object-fit:cover;border-radius:22px 0 0 22px}#community-banner>.relative{flex:1;padding:14px 0}#community-banner h2{font-size:clamp(20px,3vw,36px)!important;color:#fff!important;text-shadow:0 3px #00339a}#community-links-list a{background:linear-gradient(#35ed1b,#00a91a 60%,#00751a)!important;color:white!important;border:2px solid #c6ffad;border-radius:32px;box-shadow:0 4px 8px #003e7c80}#shop-grid:not([hidden]),#episodes-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:5px 2px 12px}#shop-grid>article,#episodes-grid>article,#episodes-grid>button,#episodes-grid>div{flex:0 0 clamp(150px,24%,280px);scroll-snap-align:start}.j-product{box-shadow:0 5px 12px #143d9420!important}.j-product .body p{color:#e74300}.j-product a{background:linear-gradient(#ffad39,#ff6900)!important;color:white!important}.rail-controls{display:flex;justify-content:flex-end;gap:8px}.rail-controls button{background:white;color:#0754d9;border:1px solid #c6dafa;border-radius:50%;width:44px;height:44px;font-size:24px}.master-wave{height:110px;background:url(assets/master-wave.webp) center/cover no-repeat;margin-top:20px}#joyful-mobile-nav{background:#f7fbff!important;border-color:#c6ddff!important}#joyful-mobile-nav a{color:#10165b!important}a:focus-visible,button:focus-visible{outline:3px solid #ffb500;outline-offset:3px}@media(min-width:900px){#spotlight-card:has(>a.aspect-video){grid-template-columns:60% 1fr}#spotlight-card:has(>a.aspect-video)>div:first-child{grid-column:1/-1}}@media(max-width:899px){.master-header{gap:6px}.master-logo{width:112px}.master-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#0648c5;padding:12px;flex-wrap:wrap}.master-nav.open{display:flex}#master-menu{display:block}#lang-toggle-btn{margin-left:auto}#spotlight-card> a.aspect-video{grid-row:auto}#spotlight-card h3{font-size:23px!important}#spotlight-card p{font-size:13px!important}#community-banner{margin:12px 14px!important;gap:8px;padding-right:10px!important}.community-art{width:29%;object-fit:cover}#community-banner p{font-size:12px!important}#community-links-list a{padding:10px!important;min-height:44px}.master-tiles{gap:6px}.master-tile{border-radius:14px;padding:5px 3px 10px}.master-tile b{display:none}.master-tile span{display:none}#shop-grid>article,#episodes-grid>article,#episodes-grid>button,#episodes-grid>div{flex-basis:46%}.master-wave{height:65px}}[hidden]{display:none!important}

#master-share{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;background:linear-gradient(#39ef29,#00b51d 55%,#007e16);border:2px solid #eaffdf;color:white;border-radius:28px;min-height:44px;padding:7px 12px;font-weight:800;box-shadow:0 3px 0 #006b1c,0 4px 10px #003c8370,inset 0 2px 4px #ffffff88}#master-share:active{transform:translateY(2px);box-shadow:0 1px 0 #006b1c}#master-sharebox{background:white;color:#10165b;padding:16px;margin:auto;max-width:600px;border-radius:0 0 18px 18px;box-shadow:0 8px 18px #123c7540}.share-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.share-options a,.share-options button{background:#e8f3ff;color:#0646a8;border-radius:12px;padding:12px;font-weight:700}#share-url{width:100%;border:1px solid #a7bfe0;border-radius:8px;padding:8px;font-size:13px}#share-status{font-size:13px;margin-top:8px}#spotlight-card>div:first-child span:first-child{background:linear-gradient(#ff617a,#f00045)!important;color:white!important}#spotlight-card> a.aspect-video .absolute{background:transparent!important}#spotlight-card> a.aspect-video .absolute>div{background:#101b3580!important;border:3px solid white}#community-banner{scroll-margin-top:90px}section{scroll-margin-top:85px}@media(max-width:899px){.master-header{flex-wrap:wrap}.master-logo{width:100px}#master-share{padding:6px 8px;font-size:12px}#master-search,#master-menu,#lang-toggle-btn{padding:7px 9px;font-size:12px}.master-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.master-tile img{max-width:145px}.master-tile strong{font-size:15px}.master-tile span{display:block;font-size:11px}}

/* V8.1: normal scrolling header; keep mobile dropdown anchored. */
header{position:relative!important;top:auto!important}section[id],#community-banner{scroll-margin-top:12px!important}
