.theme-toggle{flex-shrink:0;white-space:nowrap;border:1px solid #74849b55;border-radius:24px;background:#ffffff08;color:inherit;padding:11px 16px;font:inherit;font-size:13px;cursor:pointer}.theme-toggle:focus-visible{outline:2px solid #269fc4;outline-offset:4px}
html[data-theme=light]{color-scheme:light;--paper:#f6f7fa;--ink:#202f46;--muted:#596980;--line:#d8e0e9;--accent:#216b91}
html[data-theme=light] body{background:radial-gradient(ellipse at 85% 0%,#dae9f5aa,transparent 48%),#f6f7fa;color:#202f46;--accent:#216b91;--line:#d8e0e9}
html[data-theme=light] .cosmos{opacity:.12;filter:invert(1)}
html[data-theme=light] .masthead{border-color:#d8e0e9}
html[data-theme=light] .theme-toggle,html[data-theme=light] .random-nav{background:#ffffffb8;border-color:#ccd8e5;color:#304b69}
html[data-theme=light] .search{background:#fff;border-color:#d5dfea;color:#36516b}
html[data-theme=light] .search input{color:#253c55}html[data-theme=light] input::placeholder{color:#748398}
html[data-theme=light] .hero-panel{background:radial-gradient(ellipse at 70% 0%,#c7e2f3a8,transparent 55%),#ffffff;border-color:#d7e2ec;box-shadow:0 16px 50px #304a6910}
html[data-theme=light] .hero-panel .accent{color:#204765}
html[data-theme=light] .hero-panel .hero-note p,html[data-theme=light] .hero-panel .spot-copy p{color:#53667b}
html[data-theme=light] .hero-panel .hero-note>span:last-child{color:#58708a;background:#edf3f9;border-color:#d6e2ec}
html[data-theme=light] .hero-stats{background:linear-gradient(110deg,#f8fafc,#edf3f8);border-color:#d9e1ea;box-shadow:none}
html[data-theme=light] .hero-stats strong{color:#223d57}html[data-theme=light] .hero-stats span{color:#5c7087}html[data-theme=light] .hero-stats>div{border-color:#d7e0e8}
html[data-theme=light] .hero-panel .explore{background:#ffffffd9;border-color:#d6e1ec;box-shadow:0 14px 35px #3454750c}
html[data-theme=light] .hero-panel .explore-heading>span{background:#fff5df;color:#8b5b11;border-color:#e9d2a2}
html[data-theme=light] .hero-panel .spot-copy h2>span,html[data-theme=light] .hero-panel .spot-link{color:#266d93}
html[data-theme=light] .subject-heading{color:#344d68}html[data-theme=light] .subject-heading small,html[data-theme=light] .scope-label{color:#687b91}
html[data-theme=light] .subject,html[data-theme=light] .filter{background:#fff;border-color:#d4dee9;color:#425b74}
html[data-theme=light] .subject small,html[data-theme=light] .filter span{color:#5a728c;background:#edf2f7}
html[data-theme=light] .subject.active,html[data-theme=light] .filter.active{background:#e4f1f8;border-color:#6cacc7;color:#175d7e}
html[data-theme=light] .directory-head h2{color:#52677f}html[data-theme=light] .count{background:#e1edf6;color:#256482}
html[data-theme=light] .card,html[data-theme=light] .random-card{background:#fff;border-color:#d6e0e9;box-shadow:0 12px 36px #2139520a}
html[data-theme=light] .card:hover{border-color:#9cb8cf;box-shadow:0 18px 45px #21395214}
html[data-theme=light] .avatar-shell{border-color:#fff}
html[data-theme=light] .tag,html[data-theme=light] .card .tag{background:#eff4f9;color:#46637d;border-color:#d8e3ed}
html[data-theme=light] .card .bio,html[data-theme=light] .random-main .bio{color:#4b6077}
html[data-theme=light] .roman,html[data-theme=light] .card .roman{color:#647c93}
html[data-theme=light] .card .social,html[data-theme=light] .random-card .social{background:#f3f7fb;border-color:#d9e4ee;color:#285c7f}
html[data-theme=light] .card .social-name small,html[data-theme=light] .card .details,html[data-theme=light] .random-description,html[data-theme=light] .random-note,html[data-theme=light] .random-detail,html[data-theme=light] .editor-note p{color:#5b7189}
html[data-theme=light] .detail-body{background:#f0f5f9;color:#4e637a}
html[data-theme=light] .random-main:before{border-color:#b2c5da66;box-shadow:0 0 0 50px #adc4dc0b,0 0 0 110px #adc4dc08}
html[data-theme=light] .random-main #random-pick{background:linear-gradient(110deg,#2f6589,#5f6294);color:#fff;border-color:#426c90;box-shadow:0 8px 24px #36577f25}
html[data-theme=light] .summon-stage{background:radial-gradient(ellipse at 50% 46%,#dde3f7,#eef3faf5 60%,#fafcfffa)}
html[data-theme=light] .summon-caption p,html[data-theme=light] .summon-caption>span,html[data-theme=light] .summon-skip{color:#3e5277}
html[data-theme=light] .summon-skip{background:#fff9;border-color:#a7b8ce}
@media(max-width:600px){.theme-toggle{padding:9px 12px;font-size:12px}.explore-page .masthead{flex-wrap:wrap;height:auto;gap:14px;padding-top:20px;padding-bottom:20px}}
html[data-theme=light] .eyebrow,html[data-theme=light] .hero-panel .eyebrow{color:#43728e}
html[data-theme=light] .brand-en{color:#667a92}
/* Daylight gravity: ink-blue orbits against a pearlescent atmosphere. */
html[data-theme=light] body{background:radial-gradient(ellipse at 3% 2%,#e2ddff9c,transparent 35%),radial-gradient(ellipse at 94% 15%,#cdebf5a8,transparent 40%),radial-gradient(ellipse at 50% 85%,#eee5f777,transparent 45%),#f7f8fc;background-attachment:fixed}
html[data-theme=light] .gravity-mark{background:radial-gradient(circle,#d7d7ff88,transparent 72%);filter:drop-shadow(0 3px 5px #51558e20)}
html[data-theme=light] .gravity-core{background:radial-gradient(circle at 32% 24%,#344775,#101933 75%);box-shadow:0 0 0 1px #444981,0 0 0 4px #827ee91a,0 4px 12px #47428933}
html[data-theme=light] .gravity-orbit{border:1.5px solid #406cae;opacity:1}
html[data-theme=light] .gravity-orbit:after{border-top:2px solid #7453c7;filter:drop-shadow(0 0 2px #7963ce33)}
html[data-theme=light] .orbit-two{border-color:#8771be;opacity:.8}
html[data-theme=light] .gravity-orbit i:before{background:#246aaf;box-shadow:0 0 0 2px #eef5ff,0 0 7px #5d87b866}
html[data-theme=light] .gravity-star{background:#6250a5;box-shadow:-43px 35px 0 -1px #4887ac,3px 36px 0 -1px #8262b8}
html[data-theme=light] .brand{color:#263459}
html[data-theme=light] .masthead{border-bottom-color:#a6b6d044}
html[data-theme=light] .hero-panel{position:relative;background:radial-gradient(ellipse at 95% 5%,#cae8f8b3,transparent 52%),radial-gradient(ellipse at 5% 100%,#e5dcfbb3,transparent 55%),linear-gradient(125deg,#ffffffed,#f4f7fff2);border-color:#c9d5e7;box-shadow:0 20px 55px #536c9620,inset 0 1px 0 #fff}
html[data-theme=light] .hero-panel .accent{background:linear-gradient(100deg,#245e89,#68539d);background-clip:text;-webkit-background-clip:text;color:transparent}
html[data-theme=light] .hero-stats{background:linear-gradient(110deg,#ffffffb8,#e9effba8,#eee8f9a8);border-color:#cad4e7;box-shadow:inset 0 1px #fff}
html[data-theme=light] .hero-panel .explore{background:linear-gradient(145deg,#ffffffed,#f5f0fcbd);border-color:#d2cce3;box-shadow:0 10px 26px #69608512}
html[data-theme=light] .subject{background:linear-gradient(125deg,#fff,#f1f5fb);box-shadow:inset 0 1px #fff}
html[data-theme=light] .subject.active,html[data-theme=light] .filter.active{background:linear-gradient(115deg,#daedf8,#e8e4f8);border-color:#8ca8cd;color:#264e7b}
html[data-theme=light] .random-nav{background:linear-gradient(115deg,#edf1ff,#f0e8fa);border-color:#bdc8e0;color:#4a4e82}
html[data-theme=light] .card{background:linear-gradient(155deg,#fff 55%,#f4f6fc);box-shadow:0 12px 32px #4c648d0e}
html[data-theme=light] .random-card{background:linear-gradient(150deg,#fff 40%,#f1f0fc);box-shadow:0 24px 65px #565e8e1f}
html[data-theme=light] .random-main .cover{background:radial-gradient(ellipse at 75% 15%,#cabce4,transparent 65%),linear-gradient(125deg,#8eaacb,#a0bbcd 50%,#b7acd2)}
/* Quiet midnight atmosphere: broad, low-saturation pools of color. */
html:not([data-theme=light]) body{
 background:
  radial-gradient(ellipse at 10% 12%,rgba(53,77,113,.32),transparent 58%),
  radial-gradient(ellipse at 90% 32%,rgba(89,65,116,.23),transparent 60%),
  radial-gradient(ellipse at 45% 95%,rgba(35,80,89,.16),transparent 58%),
  linear-gradient(150deg,#111824 0%,#151622 52%,#101923 100%);
 background-attachment:fixed;
}
html:not([data-theme=light]) .hero-panel{
 background:radial-gradient(ellipse at 72% 0%,rgba(60,94,118,.23),transparent 65%),linear-gradient(120deg,#171d29,#1b1d2a);
 border-color:#a9b6d026;
}
html:not([data-theme=light]) .card,
html:not([data-theme=light]) .random-card{
 background:linear-gradient(145deg,#19202c,#1a1c29);
 border-color:#b0bdd024;
}
