:root{color-scheme:dark;--paper:#090b0e;--ink:#e9ecf0;--accent:#e5e8ec;--muted:#a2a9b5;--line:#2b3038;--header-height:100px}
html{background:#090b0e;scroll-padding-top:calc(var(--header-height) + 24px);scroll-behavior:smooth}
body{background:#090b0e;color:var(--ink);font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:clip}
[hidden]{display:none!important}
button,input,select,textarea{font:inherit;color:inherit}
a,button{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid #b5c6df;outline-offset:5px}
input::placeholder,textarea::placeholder{color:#828b99;opacity:1}
input,textarea,select{color-scheme:dark;accent-color:#c9d1dd}
body .header{position:fixed;inset:0 0 auto;z-index:30;display:flex;flex-direction:row;align-items:center;gap:26px;width:100%;height:var(--header-height);min-height:0;padding:0 4.4%;background:#090b0ef0;border-bottom:1px solid #ffffff0b;box-shadow:none}
.is-home .header{background:linear-gradient(180deg,#040506eb,#040506b3 72%,#04050670)}
@supports(backdrop-filter:blur(12px)){body .header{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}}
body .header .brand,.footer-brand{font-size:25px;letter-spacing:.04em;font-weight:550;line-height:1.3;gap:11px;flex-shrink:0;color:#e9ecf0}
.site-logo{width:39px;height:39px;filter:none}
.brand:hover .site-logo{transform:none}
body .header nav{display:flex;position:static;align-items:center;gap:24px;margin-left:auto;width:auto;overflow:visible}
body .header .nav-link{position:relative;display:flex;align-items:center;white-space:nowrap;min-height:44px;font-size:16px;font-weight:400;color:#b0b6c0;padding:0;box-shadow:none}
body .header .nav-link:hover,body .header .nav-link[aria-current=page]{color:#fff}
.nav-link[aria-current=page]:after{background:#cdd3dd;bottom:0}
.publish-link{white-space:nowrap;border:1px solid #b5bcc8;border-radius:99px;display:flex;align-items:center;gap:20px;padding:11px 20px;font-size:16px;background:#e5e8ec;color:#10141b}
.publish-link:hover{background:#fff}
body .header .account-button{position:static;min-height:44px;background:transparent;color:#c5cbd5;border:1px solid #3b424e;border-radius:99px;padding:10px 16px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;margin:0}
body .header .account-button:hover{transform:none;background:#222831}
body main{max-width:1500px;width:100%;margin:auto;padding:calc(var(--header-height) + 55px) 4.4% 100px;min-height:75vh}
body.is-home main{padding-top:85px}
.catalog-section{padding:0;scroll-margin-top:calc(var(--header-height) + 20px)}
.section-top{display:flex;align-items:end;justify-content:space-between;margin:0 0 36px;gap:24px}
.section-top h1,.section-top h2,.page-heading h1{font-size:clamp(34px,3.5vw,50px);font-weight:450;line-height:1.4;letter-spacing:.01em;margin:0}
.section-top>p{color:#a2a9b5;font-size:16px;line-height:1.8;margin:0}
.catalog-panel{border-radius:16px;padding:22px 26px;background:#111419;border:1px solid #272d36;box-shadow:none}
.filter-row{gap:16px;min-width:0}
.filter,.filter-row .filter{font-size:15px;min-height:44px;border-radius:99px;color:#aab1bd;background:transparent;padding:9px 18px}
.filter:hover{background:#262c35;color:#f2f3f5}
.filter.active{background:#e1e5eb;color:#151922;box-shadow:none}
.filter-label{color:#8f98a6;font-size:14px}
.search-wrap{background:#090c10;border-color:#303741;border-radius:9px}
.search-wrap .search{background:transparent;color:#e8ebf0;font-size:16px;min-width:0}
.sort-label select{background:#161b22;color:#c7ced9;border-color:#363e49;font-size:14px}
.catalog-result-row{margin:25px 0 20px;color:#8f98a6}
.grid{gap:34px 26px;grid-template-columns:repeat(3,minmax(0,1fr))}
.product-card{background:#111419;border:1px solid #242b34;border-radius:15px;box-shadow:none;overflow:hidden;transition:border-color .3s,transform .3s}
.product-card:hover{border-color:#566171;box-shadow:0 16px 45px #0002;transform:translateY(-4px)}
.product-card .cover{border-radius:0;aspect-ratio:1.65;background:#10151d}
.product-card .cover img{filter:saturate(.78);transition:transform .65s,filter .4s}
.product-card:hover .cover img{filter:saturate(1)}
.cover-badge{background:#0a0e15db!important;color:#e3e8f0!important;border:1px solid #ffffff25}
.cover-arrow{background:#e4e8ee;color:#11151b}
.card-body{padding:24px}
.card-meta{margin-top:0;color:#a4acb9;font-size:14px}
.card-title{color:#edf0f4}
.card-title:hover{color:#fff}
.card-title h3{font-size:23px;font-weight:500;line-height:1.5}
.product-card .card-description{font-size:16px;color:#9ca6b4;line-height:1.85}
.card-community{border-color:#29303a;color:#a6aebc;font-size:14px}
.author-dot{color:#d1d8e3;background:#2b323d}
.rating-empty,.rating-count,.card-sale-status{color:#a1aab8}
.paid-label,.rating-badge{color:#cfbea0}
.card-actions{gap:10px;flex-wrap:wrap}
.button,.card-actions .button,.creator-hero-actions .button{background:#e1e6ee;border:1px solid #e1e6ee;color:#151b24;border-radius:9px;box-shadow:none;font-size:16px;min-height:46px;padding:11px 18px}
.button:hover:not(:disabled){background:#fff;border-color:#fff;color:#11151b;box-shadow:none;transform:translateY(-1px)}
.button.secondary{background:transparent;color:#d0d7e1;border-color:#3a4553}
.button.secondary:hover{background:#252d38;color:#fff;border-color:#626f82}
.button:disabled{opacity:.5;cursor:not-allowed}
dialog{background:#12161d;border:1px solid #3a4350;box-shadow:0 30px 100px #0009;border-radius:18px;color:#e8ecf3;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px)}
dialog::backdrop{background:#000a}
.close{background:#282f3a;color:#fff;width:40px;height:40px}
.form input,.form textarea,.form select,.admin-form input,.admin-form select{background:#0a0e14;border-color:#3c4757;color:#e5ebf3;min-height:46px}
.form label,.form p,.policy p,.policy li,.dialog-content p{font-size:16px}
.notice,.recovery{background:#1c232e;color:#c0c9d7}
.error{color:#e8a7a3}
#toast{background:#d9e0eb;color:#17202e;border:1px solid #ffffff44;font-size:16px}
.empty,.loading{border-color:#303945;color:#b1bccd}
.course-purchase,.course-module,.review-summary,.review-compose,.moderation-review{background:#13181f;border-color:#303944}
.course-purchase h2,.course-module h3,.course-heading h1{color:#edf1f7}
.course-lead,.course-section-heading p,.course-module p,.course-purchase p,.course-purchase li span,.course-faq p,.review-eligibility,.review-empty p,.review-item p,.course-byline,.intro-back,.subtle{color:#aeb8c8}
.course-status,.course-science-note,.course-teaching,.review-eligibility{background:#1d242e;color:#c0cad9;border-color:#343e4d}
.course-jump{position:sticky;top:var(--header-height);z-index:5;background:#11161df5;border-color:#303b4a;flex-wrap:wrap}
.course-jump button{color:#c2cbd8;font-size:16px;min-height:44px}
.course-section,.course-purchase{scroll-margin-top:calc(var(--header-height) + 95px)}
.course-faq summary{color:#dae1eb;font-size:18px}
.review-compose textarea{color:#e6edf7;background:#0c1016;border-color:#3b4758}
.star-picker button{color:#6f7e92}.star-picker button.active{color:#d2bf9b}
.creator-page{--creator-ink:#e2e8f1;--creator-muted:#a9b4c5;--creator-border:#333e4d;--creator-mint:#1c2634}
.creator-page h1,.creator-page h2,.creator-page h3,.creator-page strong{color:#e8edf5}
.creator-page h1{font-size:clamp(34px,3.5vw,50px);font-weight:450;letter-spacing:.01em}
.creator-page .creator-kicker,.eyebrow,.creator-small,.creator-text-button{color:#9baabd}
.creator-welcome{background:radial-gradient(ellipse at 80% 45%,#26303d 0,transparent 60%),linear-gradient(125deg,#151a23,#0b1017);border:1px solid #323d4c;box-shadow:none;border-radius:20px}
.creator-welcome-copy p,.creator-light-link{color:#bfc9d8}
.creator-paper.front{background:linear-gradient(140deg,#dce2eb,#98a6ba);color:#172336;border-color:#e0e7f0;box-shadow:0 35px 65px #0006}
.creator-paper.front *{color:#243348}
.creator-paper.rear{background:#323f53;border-color:#68788f}
.creator-paper.middle{background:#67798f;border-color:#90a0b7}
.creator-paper-orbit:before{background:radial-gradient(at 30% 20%,#fbfdff,#8b9bb0 48%,#344257 90%);box-shadow:12px 20px 30px #29344666}
.creator-paper-orbit i{border-color:#566a84;border-top-color:#edf3fc}
.creator-paper-line{background:#60738f55}.creator-paper-seal{border-color:#5d708b44}
.creator-float-note{background:#cbd5e3;color:#162438;border-color:#ecf1f9;box-shadow:0 15px 30px #0005}
.creator-editor,.creator-earnings,.creator-submission,.creator-admin-rules,.creator-review-card,.creator-confirm{background:#131923;border-color:#344053}
.creator-profile-bar,.creator-rules-card,.creator-list-empty,.creator-editor-idle,.creator-file-drop{background:#111822;border-color:#35445a}
.creator-field input:not([type=file]),.creator-field textarea,.creator-field select{background:#0a111b;color:#e2ebf8;border-color:#40506a;font-size:17px}
.creator-field input[type=file]::file-selector-button{background:#27364b;border-color:#526681;color:#e0e9f7}
.creator-stage-options input:checked+span{background:#d6dfed;color:#19283d;border-color:#d6dfed}
.creator-stage-options span{background:#131c29;color:#bac7da;border-color:#3c4d64}
.creator-badge,.creator-badge.live,.creator-badge.pending,.creator-price-rules,.creator-update-note{background:#29384d;color:#d3deed;border-color:#4e6380}
.creator-submission.selected{background:#243249;border-color:#6e849f}
.creator-note-icon,.creator-avatar{background:#2c3b51;color:#dce7f7}
.creator-onboarding,.creator-public-note,.creator-stat-grid>div{border-color:#303c4e}
.creator-onboarding p,.creator-public-note p,.creator-quiet-note,.creator-editor-idle p{color:#aebbd0}
footer{display:block;max-width:none;padding:50px 4.4% 30px;background:#080a0d;border-color:#2b313a;color:#8f99a8;font-size:15px}
.footer-main{border-color:#2b313a}.footer-main p{color:#939eae}.footer-bottom{border-color:#2b313a}
.footer-main>a:last-child,footer button{color:#bcc6d4}
.classroom-bar{background:#101720;border-color:#2e3949}
.lunar-journey{height:280vh;height:280svh;margin:0;padding:0;display:block;border:0;position:relative}
.lunar-hero{height:100vh;height:100svh;min-height:0;position:sticky;top:0;margin:0;padding:0;display:block;overflow:hidden;background:#030405}
#lunar-stage{background:#030405 url('/lunar-dust/fallback.svg') center/cover no-repeat}
#lunar-stage canvas{position:absolute;inset:0}
.scene-loading{background:#030405d9}
.loading-orbit{position:static;inset:auto;transform:none}
.scene-basic #lunar-stage{background-size:cover;background-image:none}
.scene-basic #lunar-stage:before{content:'';position:absolute;inset:0;background:url('/lunar-dust/fallback.svg') center/cover no-repeat;transform:scale(var(--scene-scale,1.35));transform-origin:50% 45%}
.scene-basic .scene-loading{display:none}
.skip-link{z-index:80}
@media(max-width:1200px){body .header{gap:16px;padding-inline:3%}body .header nav{gap:18px}.publish-link{gap:12px;padding-inline:16px}.header .brand{font-size:22px!important}.site-logo{width:34px;height:34px}body .header .account-button{max-width:110px;font-size:14px}}
@media(max-width:1000px){:root{--header-height:126px}body .header{padding:16px 4% 58px;gap:15px}body .header nav{position:absolute;left:4%;right:4%;top:76px;justify-content:space-between;margin:0;gap:20px;width:auto}body .header .nav-link{font-size:15px;min-height:38px}.publish-link{margin-left:auto}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.course-jump{position:static}.course-section,.course-purchase{scroll-margin-top:calc(var(--header-height) + 20px)}}
@media(max-width:600px){body{font-size:16px}body .header{padding:14px 20px 59px;gap:10px}.header .brand{font-size:20px!important;gap:6px!important}.site-logo{width:30px;height:30px}body .header nav{left:20px;right:20px;top:76px;gap:12px;overflow-x:auto;scrollbar-width:none}body .header .nav-link{font-size:14px;flex-shrink:0}.publish-link{padding:9px 12px;font-size:14px;gap:8px}body .header .account-button{font-size:13px;max-width:78px;padding:8px 10px;min-height:40px}body main{padding:calc(var(--header-height) + 30px) 20px 65px}.is-home main{padding-top:58px!important}.section-top{align-items:start;flex-wrap:wrap;gap:12px;margin-bottom:24px}.section-top h1,.section-top h2{font-size:34px}.section-top p{font-size:15px}.catalog-panel{padding:18px 15px}.filter-row{flex-wrap:wrap;gap:10px}.filter-label{width:100%;font-size:13px}.filter-row .filter{padding:9px 14px;font-size:15px}.search-wrap{width:100%;max-width:none;margin:8px 0}.filter-bottom .filters{flex-wrap:wrap}.sort-label{margin:8px 0 0}.grid{grid-template-columns:1fr;gap:26px}.card-body{padding:22px}.card-title h3{font-size:23px}.card-actions .button{font-size:16px}.course-heading h1{font-size:31px}.course-jump button{font-size:15px}.course-module h3{font-size:20px}.creator-welcome h1{font-size:36px}.creator-paper-stack{filter:saturate(.3)}.creator-page p{font-size:16px}.creator-editor-save-actions{flex-wrap:wrap}.creator-editor-save-actions .button{white-space:normal}.footer-main{gap:25px}.footer-main>p{display:none}.footer-bottom{gap:20px}.footer-bottom div{gap:17px}#reveal-title{font-size:clamp(43px,11.1vw,61px);left:24px;bottom:6.2vh;bottom:max(6.2svh,36px)}.scroll-link{right:14px;bottom:30px}}
@media(max-width:380px){body .header{padding-inline:14px;gap:7px}.header .brand{font-size:18px!important}.publish-link{font-size:13px;padding:8px 10px}.publish-link span{display:none}body .header .account-button{max-width:73px}.site-logo{width:27px}.header nav{left:14px!important;right:14px!important;gap:10px!important}}
@media(max-height:520px) and (min-width:1001px){:root{--header-height:78px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.reveal{opacity:1!important;transform:none!important}}
@supports not (overflow:clip){body{overflow-x:hidden}}
@media(max-width:600px){.filter-row{padding-block:12px}.filter-label{width:30px;flex:0 0 30px}.filter-row .filters{gap:3px;flex-wrap:wrap}.filter-row .filter{padding-inline:11px}.filter-bottom .filters{flex:1}.search-wrap{flex-basis:100%;margin-top:13px}.sort-label{margin-left:auto}.catalog-panel{padding-block:7px}}
.publish-link[aria-current=page]{box-shadow:0 0 0 3px #dce7fa22}
@media(max-width:380px){body .header nav{gap:9px!important}}
