/* Scheme ②: space scrapbook. Decorative nodes never receive input. */
body[data-xq-stellar]{isolation:isolate;--xq-stickers:url('/assets/media/stellar-stickers-20261014.png');--xq-gold:#debc73;--xq-glow:#efa16c}
body[data-xq-stellar=platform]::before{background-image:none!important}
html body[data-xq-stellar] .xq-sticker,.xq-sticker{display:inline-block;flex:none;pointer-events:none;user-select:none;background-image:var(--xq-stickers)!important;background-size:300% 300%!important;background-repeat:no-repeat!important;width:var(--sticker-size,32px);height:var(--sticker-size,32px);vertical-align:middle}
html body[data-xq-stellar] .xq-star{background-position:0 0!important}html body[data-xq-stellar] .xq-planet{background-position:50% 0!important}html body[data-xq-stellar] .xq-astronaut{background-position:100% 0!important}html body[data-xq-stellar] .xq-rocket{background-position:0 50%!important}html body[data-xq-stellar] .xq-earth{background-position:50% 50%!important}html body[data-xq-stellar] .xq-telescope{background-position:100% 50%!important}html body[data-xq-stellar] .xq-moon{background-position:0 100%!important}html body[data-xq-stellar] .xq-stars{background-position:50% 100%!important}html body[data-xq-stellar] .xq-notes{background-position:100% 100%!important}
.xq-atmosphere{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background-image:radial-gradient(ellipse at 0 28%,#9b7f4130,transparent 28%),radial-gradient(ellipse at 100% 76%,#a88f6523,transparent 26%),radial-gradient(circle at 4% 12%,#debc7377 1px,transparent 2px),radial-gradient(circle at 94% 27%,#f0ead955 1px,transparent 2px),radial-gradient(circle at 9% 72%,#debc7380 1px,transparent 2px);background-size:100% 100%,100% 100%,107px 161px,149px 211px,197px 289px}
.xq-atmosphere .xq-sticker{position:absolute;--sticker-size:clamp(42px,calc((100vw - 1280px)/2),106px);opacity:.85;filter:drop-shadow(0 3px 5px #16151255)}
.xq-atmosphere .xq-moon{left:-14px;top:17%;transform:rotate(-12deg)}
.xq-atmosphere .xq-planet{right:-20px;top:9%;transform:rotate(15deg)}
.xq-atmosphere .xq-rocket{left:2px;bottom:8%;transform:rotate(-12deg)}
.xq-atmosphere .xq-telescope{right:-9px;bottom:9%;transform:rotate(8deg)}
.xq-atmosphere .xq-stars{left:0;top:48%;--sticker-size:54px}
.xq-atmosphere .xq-earth{right:-12px;top:48%;--sticker-size:66px}
.xq-atmosphere::before,.xq-atmosphere::after{content:"";position:absolute;left:-40px;top:4%;width:130px;height:80%;border:1px dashed #debc7355;border-radius:50%;transform:rotate(9deg)}
.xq-atmosphere::after{left:auto;right:-40px;transform:rotate(-9deg)}
:is(.admin-body,.study-workspace,.past-paper-workspace,.exam-body) .xq-atmosphere .xq-sticker{--sticker-size:42px;opacity:.55}
body[data-xq-stellar=courseware] .xq-atmosphere .xq-sticker{--sticker-size:30px;opacity:.18}
body[data-xq-stellar=courseware] .xq-atmosphere{background-size:100% 100%,100% 100%,211px 257px,239px 331px,281px 397px}
.xq-heading-sticker{--sticker-size:28px;margin-right:8px;vertical-align:-6px}
.xq-title-mascot{--sticker-size:38px;margin-left:12px;vertical-align:-9px}
body[data-xq-stellar=courseware] .xq-heading-sticker{--sticker-size:23px;margin-right:6px;vertical-align:-5px}
.xq-auth-scene{display:flex;align-items:center;justify-content:center;gap:10px;margin:-8px 0 13px;height:76px;pointer-events:none}
.xq-auth-scene .xq-astronaut{--sticker-size:76px;transform:rotate(8deg)}
.xq-auth-scene .xq-planet{--sticker-size:53px;transform:rotate(-13deg)}
.xq-auth-scene .xq-stars{--sticker-size:40px}
.xq-space-hero{position:relative;min-height:310px;overflow:hidden;pointer-events:none}
.xq-space-hero .xq-sticker{position:absolute;filter:drop-shadow(0 7px 10px #19171250)}
.xq-space-hero .xq-star{--sticker-size:190px;left:23%;top:60px;transform:rotate(-8deg)}
.xq-space-hero .xq-astronaut{--sticker-size:128px;right:1%;bottom:22px;transform:rotate(12deg)}
.xq-space-hero .xq-planet{--sticker-size:100px;right:4%;top:4px;transform:rotate(-8deg)}
.xq-space-hero .xq-moon{--sticker-size:72px;left:0;top:12px;transform:rotate(-10deg)}
.xq-space-hero .xq-rocket{--sticker-size:82px;left:3%;bottom:9px;transform:rotate(-6deg)}
.xq-space-hero .xq-stars{--sticker-size:45px;left:52%;top:4px}
.xq-hero-orbit{position:absolute;width:83%;height:60%;left:7%;top:18%;border:1px dashed #debc7380;border-radius:50%;transform:rotate(-24deg)}
.xq-hero-orbit::before,.xq-hero-orbit::after{content:"✦";position:absolute;color:#debc73;font-size:23px;left:3%;top:10%;transform:rotate(24deg)}
.xq-hero-orbit::after{left:auto;right:0;top:80%;font-size:15px}
body[data-xq-stellar] :is(.notebook-sheet,.auth-card,.lab-card,.learn-hero-main,.student-growth,.cd-enrollment,.panel,.pp-sidebar,.wk-map-view){border-color:#8d7955;box-shadow:0 8px 24px #1716132e,inset 0 1px 0 #d9bd7815}
body[data-xq-stellar=courseware] :is(.stage,.panel,.kp,.lesson-experiment,.lesson-content,.stem,.card){border-color:#786a50!important}
body[data-xq-stellar] :is(.part-cards [aria-selected=true],.case.active,.step-card[aria-pressed=true],.exam-num.active,.wk-mother.on,.wk-kp.on,.tree-btn.active,.admin-menu a.active,.student-tabs a.on){box-shadow:inset 0 0 0 1px #efb57555,0 0 9px #efa16c25!important}
.xq-orbit-flash{position:relative;animation:xq-orbit-flash .55s ease-out}
.xq-orbit-flash::after{content:"";position:absolute;pointer-events:none;top:1px;right:18%;width:5px;height:5px;border-radius:50%;background:#f0c29b;box-shadow:0 0 5px #debc73;animation:xq-spark .55s ease-out}
.xq-switch-fade{animation:xq-switch-fade .22s ease-out}
@keyframes xq-orbit-flash{0%{outline:1px solid #f0c29b;outline-offset:0;filter:drop-shadow(0 0 4px #efa16c65)}100%{outline:1px solid transparent;outline-offset:3px;filter:none}}
@keyframes xq-switch-fade{from{opacity:.82}to{opacity:1}}
@keyframes xq-spark{from{transform:translateX(-22px);opacity:0}35%{opacity:1}to{transform:translateX(22px);opacity:0}}
.xq-completion-stamp{display:inline-block;margin:5px 8px 5px 0;padding:5px 10px;border:2px solid #c8b783;border-radius:7px;background:#38382b;color:#f0ead9;font-size:12px;font-weight:750;letter-spacing:.06em;transform:rotate(-3deg)}
.xq-completion-stamp::before{content:"✦ ";color:#debc73}
@media(min-width:1580px){.xq-atmosphere .xq-sticker{--sticker-size:126px}.xq-atmosphere .xq-moon{left:8px}.xq-atmosphere .xq-planet{right:8px}.xq-atmosphere .xq-telescope{right:12px}}
@media(max-width:760px){.xq-atmosphere .xq-sticker{--sticker-size:38px;opacity:.25}.xq-atmosphere .xq-stars,.xq-atmosphere .xq-earth,.xq-atmosphere .xq-telescope{display:none}.xq-heading-sticker{--sticker-size:23px;margin-right:5px}.xq-auth-scene{height:65px}.xq-auth-scene .xq-astronaut{--sticker-size:65px}.xq-space-hero{min-height:220px}.xq-space-hero .xq-star{--sticker-size:136px;top:42px;left:27%}.xq-space-hero .xq-astronaut{--sticker-size:93px;bottom:2px}.xq-space-hero .xq-planet{--sticker-size:74px}.xq-space-hero .xq-moon{--sticker-size:49px}.xq-space-hero .xq-rocket{--sticker-size:65px;bottom:0}.xq-space-hero .xq-stars{--sticker-size:33px}.xq-completion-stamp{margin-left:0;transform:none}}
@media(prefers-reduced-motion:reduce){.xq-orbit-flash,.xq-orbit-flash::after,.xq-switch-fade{animation:none!important}.xq-sticker,.xq-hero-orbit{transition:none!important}}
@media(max-width:760px){.xq-title-mascot{display:none}}

/* Legacy :is(.idx,.ic,.no,.hd .badge) has badge-level specificity.
   Keep raster declarations above it and remove its square icon backing. */
html body[data-xq-stellar] .kp-heading>.xq-sticker,html body[data-xq-stellar] .lesson-icon.xq-sticker{background-color:transparent!important}
