/* Zellns Pulse · Nebula Star / Hybrid Premium. No remote assets. */
body.theme-nebula{
  color-scheme:dark;
  --bg:#070711;--side:#0b0917;--surface:#151222;--surface2:#1d1830;
  --surface3:#29213e;--stroke:#39314c;--muted:#aca3c1;--txt:#f7f3ff;
  --soft:#e8e0f5;--accent:#c7aeff;--accent2:#edb8cb;--green:#b0ead4;
  --yellow:#f5d8a5;--red:#f1a9c0;--shadow:0 22px 80px #04030b55;
  background:radial-gradient(ellipse 60% 40% at 73% -8%,#35264b5c 0,transparent 73%),
    radial-gradient(ellipse 45% 48% at 87% 80%,#241b4455 0,transparent 85%),
    radial-gradient(ellipse 42% 36% at 10% 78%,#22182b49 0,transparent 84%),#070711;
}
body.theme-nebula:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.66;
  background-image:radial-gradient(1px 1px at 6% 8%,#fff 99%,transparent),radial-gradient(1px 1px at 17% 42%,#bbaaf6 99%,transparent),
    radial-gradient(2px 2px at 33% 19%,#fff 99%,transparent),radial-gradient(1px 1px at 43% 73%,#d6c5ff 99%,transparent),
    radial-gradient(1px 1px at 54% 11%,#fff 99%,transparent),radial-gradient(2px 2px at 65% 52%,#b6a9d4 99%,transparent),
    radial-gradient(1px 1px at 79% 26%,#fff 99%,transparent),radial-gradient(1px 1px at 92% 84%,#e9d5ff 99%,transparent),
    radial-gradient(1px 1px at 96% 7%,#fff 99%,transparent),radial-gradient(1px 1px at 24% 91%,#ffdfdf 99%,transparent);
  background-size:410px 350px,480px 450px,510px 390px,650px 570px,550px 520px,720px 690px,490px 630px,810px 720px,580px 600px,680px 740px;
}
body.theme-nebula .layout{position:relative;z-index:1}
body.theme-nebula .sidebar{
  background:linear-gradient(180deg,#100c20ed,#090815f5 68%,#090714f8);border-right:1px solid #41304c78;
  box-shadow:13px 0 46px #0003;backdrop-filter:blur(20px);padding-top:25px;
}
body.theme-nebula .sidebar:before{content:"";height:178px;position:absolute;inset:auto 0 0;pointer-events:none;
 background:radial-gradient(ellipse at 50% 100%,#44305f2a,transparent 70%)}
body.theme-nebula .brand{gap:14px;padding-bottom:33px}
body.theme-nebula .brand-mark{position:relative;width:43px;height:43px;flex:0 0 43px;border-radius:15px;
 background:radial-gradient(circle at 33% 25%,#60537f,#271d42 55%,#151025);border:1px solid #9b80bc8f;
 box-shadow:0 0 29px #9a69c33b,inset 0 1px 1px #fff6;color:#f9defc;font-size:30px}
body.theme-nebula .brand-mark:after{content:"";position:absolute;inset:-6px 5px;border:1px solid #ccadeb78;transform:rotate(49deg);border-radius:50%;pointer-events:none}
body.theme-nebula .brand-mark span{transform:translateY(-1px)}
body.theme-nebula .brand-text{font-size:22px;letter-spacing:-.9px}
body.theme-nebula .brand-text span{color:#d9bafa}
body.theme-nebula .brand-sub{letter-spacing:2.15px;font-size:9px;color:#9488ae}
body.theme-nebula .nav-label{color:#82768e;display:flex;justify-content:space-between;padding-right:7px;margin:17px 13px 11px;font-size:10px}
body.theme-nebula .nav-label-star{color:#c8a5e8}
body.theme-nebula .navbtn{margin:4px 0;padding:12px 15px;border:1px solid transparent;border-radius:12px;font-weight:600;color:#aaa2bc}
body.theme-nebula .navbtn:hover:not(:disabled){color:#eee3ff;background:#251d3466;border-color:#62496866}
body.theme-nebula .navbtn.selected{color:#f9f1ff;background:linear-gradient(95deg,#4f335f90,#38274445);border-color:#8c6a9788;box-shadow:inset 3px 0 #e9bbdb,0 7px 22px #05020d28}
body.theme-nebula .navbtn .navicon{color:#c1a5d8}
body.theme-nebula .sidebar-bottom{position:relative;overflow:hidden;border:1px solid #5d496885;background:linear-gradient(145deg,#30213da6,#1c162bab);border-radius:17px;color:#a79ab6;padding:18px 16px;box-shadow:inset 0 1px #ffffff10}
body.theme-nebula .sidebar-bottom:before{content:"✧";position:absolute;right:3px;top:-20px;font-size:112px;color:#f9d7ff0c;transform:rotate(-14deg)}
body.theme-nebula .sidebar-bottom .sidestar{color:#d5b6e7;font-size:9px;letter-spacing:2px;font-weight:800;margin-bottom:13px}
body.theme-nebula .sidebar-bottom strong{color:#f1e8fa;font-size:13px}
body.theme-nebula .sidebar-bottom p{margin:0 0 15px;line-height:1.5}
body.theme-nebula .sidebar-bottom .side-version{font-size:9px;letter-spacing:1.7px;color:#877a96}
body.theme-nebula .topbar{height:74px;background:#100e1bc4;border-color:#5d476644;backdrop-filter:blur(23px)}
body.theme-nebula .topbar .top-icon{color:#e0bdf0;margin-right:6px}
body.theme-nebula .topbar .top-word{color:#d6c7e6;letter-spacing:2.2px}
body.theme-nebula .status{border-color:#524366;background:#1b152c5b;color:#bdb0cc;font-size:10px;letter-spacing:.3px}
body.theme-nebula .dot{background:#9fdfca;box-shadow:0 0 10px #8df9ce77}
body.theme-nebula .main{max-width:1510px;padding-top:38px}
body.theme-nebula .eyebrow{color:#d5b1df;letter-spacing:2.5px;font-size:10px}
body.theme-nebula .page-title{font-weight:750;letter-spacing:-1.65px}
body.theme-nebula .lead{color:#b5aabe}
body.theme-nebula button{transition:transform .2s,background .2s,border-color .2s,box-shadow .2s;background:#262037a6;border-color:#4c3c5b;color:#eee2f5}
body.theme-nebula button:hover:not(:disabled){background:#382a49;border-color:#9676a4;transform:translateY(-1px)}
body.theme-nebula button:active:not(:disabled){transform:translateY(0)}
body.theme-nebula button.btn-primary{background:linear-gradient(115deg,#e0b5da,#b8a8ec 64%,#a3a9e9);color:#22182d;font-weight:810;border:1px solid #f0d9f25c;box-shadow:0 5px 30px #bc94e333}
body.theme-nebula button.btn-primary:hover:not(:disabled){background:linear-gradient(120deg,#f3cce6,#ceb7ff);border-color:#ffdcf3;box-shadow:0 8px 36px #e9b1ff52}
body.theme-nebula .btn-soft{background:#b998dd1c;color:#e1c6f7}
body.theme-nebula .btn-ghost{background:transparent;color:#b4a3c7}
body.theme-nebula .btn-danger{color:#f3a7bc}
body.theme-nebula .hero{isolation:isolate;min-height:330px;border:1px solid #90729682;border-radius:27px;padding:clamp(29px,4vw,50px);background:
 radial-gradient(ellipse 66% 102% at 91% 52%,#70497d80 0,transparent 66%),
 radial-gradient(ellipse 50% 85% at 60% 85%,#3027598c 0,transparent 70%),
 linear-gradient(114deg,#1c162d 0%,#20162e 47%,#302241 100%);
 box-shadow:0 26px 80px #0007,inset 0 1px #ffffff26}
body.theme-nebula .hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background-image:radial-gradient(1px 1px at 10% 15%,#fff 99%,transparent),radial-gradient(2px 2px at 70% 18%,#fff 99%,transparent),
 radial-gradient(1px 1px at 82% 80%,#fff 99%,transparent),radial-gradient(2px 2px at 58% 69%,#fff 99%,transparent),
 radial-gradient(1px 1px at 32% 88%,#e1d4ff 99%,transparent),radial-gradient(1px 1px at 95% 11%,#fff 99%,transparent);
 background-size:230px 210px,300px 320px,280px 270px,340px 230px,410px 290px,520px 360px;opacity:.72}
body.theme-nebula .hero:after{content:"";position:absolute;right:-60px;bottom:-160px;top:auto;width:540px;height:500px;border-radius:50%;background:radial-gradient(circle,#bf8dc225,#8e4ca321 32%,transparent 69%);transform:none;filter:blur(12px);pointer-events:none}
body.theme-nebula .hero h1{font-size:clamp(44px,5vw,73px);line-height:1.06;letter-spacing:-3px;max-width:700px;margin:12px 0 19px;font-weight:760;position:relative;z-index:2}
body.theme-nebula .hero h1 em{font-style:normal;background:linear-gradient(95deg,#f7dde6,#ddb3ee 55%,#adaaf6);background-clip:text;color:transparent}
body.theme-nebula .hero p{color:#c2b3d2;font-size:14px;max-width:510px;line-height:1.75;position:relative;z-index:2}
body.theme-nebula .hero .row,body.theme-nebula .hero .eyebrow{position:relative;z-index:3}
body.theme-nebula .hero .row{margin-top:27px}
.hero-planet{position:absolute;width:37%;aspect-ratio:1;right:3%;top:0;max-width:430px;min-width:270px;z-index:1;pointer-events:none;display:grid;place-items:center}
.hero-planet .planet-core{position:absolute;width:55%;aspect-ratio:1;border-radius:50%;background:
 radial-gradient(circle at 29% 24%,#efb9dc6e,transparent 38%),
 radial-gradient(ellipse at 57% 68%,#382649,#735089 59%,#1b1427 100%);
 box-shadow:inset -25px -23px 43px #0d0927ba,inset 8px 11px 33px #f6a8e64c,0 0 80px #c18be341,0 0 16px #b49bdb33;
 animation:planetFloat 11s ease-in-out infinite}
.hero-planet .planet-core:before{content:"";position:absolute;inset:8% 17%;border-left:2px solid #deb8ee2b;border-right:1px solid #a47ebc33;border-radius:50%;transform:rotate(-30deg)}
.hero-planet .orbit{position:absolute;inset:19% -1%;border:2px solid #e9b7e799;border-radius:50%;transform:rotate(-23deg) scaleY(.43);box-shadow:0 0 16px #f1b7ec33}
.hero-planet .orbit-two{inset:9% 1%;opacity:.45;border-width:1px;transform:rotate(42deg) scaleY(.45);border-color:#c8b8ff}
.hero-planet .planet-spark{font-size:40px;color:#f8d6ff;text-shadow:0 0 22px #ffe7ff;position:absolute;top:18%;right:15%;animation:starPulse 6s ease-in-out infinite}
body.theme-nebula .stats{margin-top:20px;gap:16px;margin-bottom:35px}
body.theme-nebula .statcard{background:linear-gradient(130deg,#21182cae,#171322c9);border:1px solid #4c3a5da8;box-shadow:inset 0 1px #ffffff0b;padding:23px 24px;border-radius:17px}
body.theme-nebula .statcard small{color:#ab97b9}
body.theme-nebula .statcard b{color:#f4e6fa;font-size:37px;font-weight:750}
body.theme-nebula .statcard span{color:#9d8faa}
body.theme-nebula .section-title{margin-top:31px}
body.theme-nebula .section-title h2{font-weight:750;font-size:22px;color:#f2e9f9}
body.theme-nebula .tile,body.theme-nebula .panel,body.theme-nebula .project-row{background:linear-gradient(145deg,#201a2eeb,#15111fea);border:1px solid #4b3b5b99;box-shadow:0 12px 34px #0003,inset 0 1px #ffffff0c}
body.theme-nebula .tile{padding:26px;min-height:224px;transition:transform .25s,border-color .25s,box-shadow .25s}
body.theme-nebula .tile:hover{transform:translateY(-3px);border-color:#9c78ae8c;box-shadow:0 20px 60px #0006}
body.theme-nebula .tile .tile-icon{background:radial-gradient(circle at 35% 28%,#694e79,#38283f 76%);border:1px solid #997da64a;color:#e9d0f0;border-radius:16px;font-size:25px}
body.theme-nebula .tile h3{font-size:18px;color:#f4eaf7}
body.theme-nebula .tile p{color:#a99cb9;line-height:1.65}
body.theme-nebula .project-row{border-radius:15px;padding:17px 19px}
body.theme-nebula .project-row:hover{border-color:#775b877e}
body.theme-nebula .project-icon{background:linear-gradient(140deg,#553c64,#261c38);color:#eacdf3;border:1px solid #74517e66}
body.theme-nebula .tag{border-color:#87609f77;color:#d4aff0;background:#4c36602c}
body.theme-nebula .tag.form{color:#efd4df;border-color:#a4719277}
body.theme-nebula .field input,body.theme-nebula .field textarea,body.theme-nebula .field select,body.theme-nebula input.field-input,body.theme-nebula .answer-option input[type=text]{background:#0d0b18c9;border:1px solid #52415f;color:#f4ebf8;border-radius:11px}
body.theme-nebula .field input:focus,body.theme-nebula .field textarea:focus,body.theme-nebula .field select:focus,body.theme-nebula input.field-input:focus{border-color:#cba0e0;box-shadow:0 0 0 3px #ba8fd332}
body.theme-nebula .question-card{background:linear-gradient(135deg,#22192e,#181422);border:1px solid #5d486885}
body.theme-nebula .choice{background:#221a30;border-color:#564361}
body.theme-nebula .choice:has(input:checked){background:#5540648a;border-color:#c5a1d5}
body.theme-nebula .line{border-color:#5c466e73}
body.theme-nebula .pill{background:#2a2135;color:#c4b4d3;border-color:#5b4a68}
body.theme-nebula .rank{background:#3f3151;color:#f0d5fc}
body.theme-nebula .bigpin{background:linear-gradient(90deg,#eab6d7,#b9a5eb);background-clip:text}
body.theme-nebula .toast{background:#332343;border-color:#a27cac}
body.theme-nebula .toast.bad{background:#51263e;border-color:#cf839e}
body.theme-nebula .alert{background:#50344840;color:#e1c7da;border-color:#88647c88}
body.theme-nebula .empty{border-color:#786184;border-style:dashed;background:#251b3433}
body.theme-nebula .saved{color:#b6dfcf}
body.theme-nebula .result-score{color:#e5bcec}
body.theme-nebula .auth-wrap{max-width:560px;margin:48px auto;text-align:center}
body.theme-nebula .auth-wrap .panel{text-align:left;padding:30px;margin:30px auto 20px}
.auth-orb{font-size:62px;color:#d8b8e9;text-shadow:0 0 54px #a968ff88;margin:0 auto 12px}
.auth-wrap .lead{margin:0 auto}
.guest-join{max-width:720px;margin:10px auto}
.guest-join .tile{min-height:0}
.share-info{margin-top:20px;padding:16px;background:#b392de12;border:1px solid #997eb46b;border-radius:13px}
.share-info input{margin:8px 0 13px;font-size:11px}
.tiny-star{font-size:17px;margin-left:8px;color:#ebd6f5}
@keyframes planetFloat{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(8px) rotate(4deg)}}
@keyframes starPulse{0%,100%{opacity:.5;transform:scale(.9)}50%{opacity:1;transform:scale(1.17)}}
@media(max-width:1080px){.hero-planet{right:-5%;opacity:.66}.hero h1{max-width:540px}}
@media(max-width:880px){body.theme-nebula .sidebar{padding:14px 8px}.sidebar-bottom .side-version{display:none}body.theme-nebula .main{padding-top:26px}}
@media(max-width:640px){body.theme-nebula .sidebar{position:relative;height:auto;display:flex;flex-direction:row;background:#0d091bea;padding:8px 12px}body.theme-nebula .brand{padding:0 10px 0 0}.nav-label,.sidebar-bottom{display:none!important}body.theme-nebula .topbar{height:58px}body.theme-nebula .main{padding:20px 14px 80px}body.theme-nebula .hero{padding:30px 23px;min-height:345px}body.theme-nebula .hero h1{font-size:43px;letter-spacing:-1.9px}body.theme-nebula .hero p{max-width:350px}body.theme-nebula .hero-planet{right:-125px;top:-95px;opacity:.29;transform:scale(.85)}body.theme-nebula .top-version{display:none}body.theme-nebula .statcard{padding:17px 20px}body.theme-nebula .tile{min-height:170px}}
@media(prefers-reduced-motion:reduce){.hero-planet .planet-core,.hero-planet .planet-spark{animation:none!important}}

/* Navigation surfaces remain light; only active page is illuminated. */
body.theme-nebula button.navbtn:not(.selected){background:transparent;border-color:transparent}
body.theme-nebula button.navbtn:not(.selected):hover:not(:disabled){background:#281e37a6;border-color:#62496866}
