/* ==== assets/style.css ==== */
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f4edfb;background:#0d101a;font-size:15px}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 80% -15%,#392548 0,transparent 46%),#0d101a}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;transition:background .15s,transform .15s}button:disabled{opacity:.5;cursor:not-allowed}input,textarea,select{width:100%;background:#101725;border:1px solid #484052;color:#fff;border-radius:12px;padding:13px;outline:0}input:focus,textarea:focus,select:focus{border-color:#b990ed}textarea{min-height:90px;resize:vertical}label{display:block;color:#d4ccdc;font-size:13px;margin-bottom:8px}.shell{max-width:1190px;margin:auto;padding:33px 25px 24px}.star{color:#bc91ea}.star.big{font-size:32px}.brand{font-size:20px;font-weight:800;letter-spacing:-.5px}.beta{font-weight:600;letter-spacing:1.5px;color:#caafe6;font-size:9px;margin-left:10px;padding:5px 7px;border:1px solid #705687;border-radius:50px;vertical-align:middle}.muted{color:#b3aabc}.top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:44px}.header-actions{display:flex;gap:15px;align-items:center}.quiet{background:#252537;color:#f0e7f9;border:1px solid #403a4e;padding:10px 14px;border-radius:10px}.btn{padding:13px 19px;background:#b689e6;color:#180f21;font-weight:750;border-radius:11px}.btn:hover{background:#cba6f2}.btn.secondary{background:#292839;color:#eee4f6;border:1px solid #51455f}.btn.secondary:hover{background:#3b344c}.btn.full{width:100%}.small{background:#2b2a3d;border:1px solid #51455f;color:#ede4f5;border-radius:9px;padding:8px 11px;font-size:12px}.small:hover{background:#403750}.small.danger{color:#ffb7bb}.minor{font-size:12px;color:#aa9fb5;line-height:1.5}.center{text-align:center}.error{color:#ffbec5;min-height:18px}.eyebrow{font-size:10px;letter-spacing:2px;color:#c8a1ed;font-weight:800}.hero{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:30px}.hero h1,.editor-head h1{font-size:36px;line-height:1.1;letter-spacing:-1px;margin:12px 0}.hero p{color:#bdb4c9;line-height:1.6;max-width:625px;margin:0}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.seg{display:flex;gap:7px;flex-wrap:wrap;background:#1d2030;padding:5px;border:1px solid #353343;border-radius:11px}.seg button{background:transparent;color:#bcafc9;border-radius:8px;padding:10px 12px}.seg button.selected{background:#393049;color:#fff;font-weight:700}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:17px}.card{background:linear-gradient(160deg,#202034,#161b2b);border:1px solid #3e374d;border-radius:18px;padding:20px;min-height:212px;text-align:left;color:inherit}.card h3{font-size:18px;margin:0 0 7px}.card p{margin:0;color:#b3a9c0;font-size:13px;line-height:1.5}.avatar{width:55px;height:55px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#b180db,#6c547e);font-weight:800;font-size:25px;margin-bottom:15px;color:#24192c}.cardmeta{min-height:70px}.actions{display:flex;gap:8px;flex-wrap:wrap}.plus{font-size:31px;color:#bd92eb}.add-card{border:1px dashed #665177;cursor:pointer}.add-card h3{margin:7px 0}.add-card:hover{border-color:#b690df}.empty{text-align:center;padding:70px 20px;border:1px dashed #5b4d6b;border-radius:18px}.empty p{color:#afa4be}.lower{margin-top:30px;border:1px solid #403847;border-radius:15px;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#171b29}.lower h3{margin:0}.lower p{color:#b0a5bf;font-size:13px;margin-bottom:0}.soon{font-size:10px;letter-spacing:1px;color:#c3aadf;white-space:nowrap}.footer{margin-top:55px;color:#9891a6;font-size:12px;line-height:1.6}.editor-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:25px}.editor-head p{max-width:700px;line-height:1.5}.progress{height:5px;border-radius:5px;background:#272739;overflow:hidden}.progress>div{height:100%;background:#b88be6;transition:width .2s}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:19px 0}.tab{background:#242636;color:#bcb1ca;border:1px solid #454052;padding:10px 12px;border-radius:9px}.tab.active{background:#b58be2;color:#20142c;font-weight:bold}.panel{background:#171b2a;border:1px solid #393647;border-radius:20px;padding:28px;margin-top:23px}.step-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.step-head h2{margin:7px 0;font-size:25px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px}.fullspan{grid-column:1/-1}.checkgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:9px}.checkgrid .check{display:flex;align-items:center;gap:9px;background:#242839;padding:10px;border:1px solid #413a4b;border-radius:9px;margin:0;cursor:pointer}.checkgrid input{width:16px;height:16px;accent-color:#bb8ce6}.slider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.slider-field label{display:flex;justify-content:space-between}.slider-field input{padding:0;border:0;accent-color:#b889ed;height:8px}.hint{font-size:12px;color:#ab9eb7;line-height:1.5}.editor-bottom{margin-top:35px;padding-top:18px;border-top:1px solid #393447;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.editor-bottom .actions{justify-content:end}.preview{border:1px solid #514361;background:#222037;border-radius:12px;padding:17px}.preview p{margin:7px 0;font-size:13px;color:#bdb0c9}.notice{border:1px solid #665184;background:#322540;color:#f4e6ff;border-radius:10px;padding:12px;margin-top:13px;font-size:13px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:22px}.login{width:min(100%,430px);background:#191b2ae9;border:1px solid #473a50;border-radius:24px;padding:38px;box-shadow:0 25px 90px #05050e77}.mark{width:54px;height:54px;border-radius:17px;background:linear-gradient(135deg,#b88be3,#654d82);display:grid;place-items:center;font-size:26px;margin:0 auto 22px}.login h1{text-align:center;margin:13px 0 5px;font-size:30px}.sub{text-align:center;color:#b5acc4;margin:0 0 24px}.field{margin:16px 0}.loading{text-align:center;padding:22vh 12px;color:#c9b5df}@media(max-width:670px){.shell{padding:20px 15px}.top{margin-bottom:28px}.brand{font-size:18px}.header-actions .muted{display:none}.hero,.editor-head{align-items:start;flex-direction:column}.hero h1,.editor-head h1{font-size:29px}.form-grid,.slider-grid{grid-template-columns:1fr}.panel{padding:19px}.tabs{gap:6px}.tab{font-size:12px}.editor-bottom{display:block}.editor-bottom .actions{justify-content:start;margin-top:10px}.login{padding:28px 23px}.lower{align-items:start;flex-direction:column}}
.info-value{background:#252538;border:1px solid #484053;border-radius:10px;padding:14px;color:#eee6f7;overflow-wrap:anywhere}.header-actions{flex-wrap:wrap}

.linkish{background:none;border:0;color:#c8a4ed;padding:9px;text-decoration:underline;text-underline-offset:3px}.linkish:hover{color:#f0dcff}.linkish:focus-visible{outline:2px solid #c8a4ed}

/* ==== assets/chat-style.css ==== */

.cs-titlebar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px}
.cs-titlebar h1{font-size:31px;margin:8px 0}.cs-titlebar p{margin:0}
.cs-workspace{display:grid;grid-template-columns:265px minmax(0,1fr);background:#171b29;border:1px solid #40374f;border-radius:19px;overflow:hidden;min-height:630px}
.cs-side{display:flex;flex-direction:column;padding:17px;gap:12px;border-right:1px solid #40384f;background:#17192a;min-width:0}
.cs-side-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.cs-threads{display:flex;flex-direction:column;gap:8px;flex:1;overflow:auto;max-height:340px}
.cs-thread{display:flex;flex-direction:column;gap:6px;padding:12px;text-align:left;color:#f1e8fb;background:#242437;border-radius:10px;border:1px solid #4b415a}
.cs-thread.active{background:#3b2b4d;border-color:#b788e7}.cs-thread small{color:#afa5bc}
.cs-character{border-top:1px solid #494055;padding-top:16px}
.cs-character p{font-size:13px;color:#bcb0ca}
.cs-avatar{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(140deg,#b98ce6,#6c527f);color:#25152e;font-size:23px;font-weight:750;margin-bottom:13px}
.cs-chat{display:flex;min-width:0;flex-direction:column}
.cs-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;border-bottom:1px solid #423951}
.cs-header .hint{margin:5px 0 0}.cs-badge{font-size:10px;color:#d7b8ec;border:1px solid #775a89;border-radius:30px;padding:7px 10px;white-space:nowrap;letter-spacing:1px}
.cs-messages{display:flex;flex-direction:column;gap:12px;background:radial-gradient(ellipse at 50% 10%,#2c233b55,transparent 65%),#101421;min-height:300px;max-height:450px;padding:23px;overflow-y:auto}
.cs-empty{margin:auto;text-align:center;max-width:400px;padding:20px}.cs-empty span{color:#b88ee8;font-size:34px}.cs-empty p{color:#b5a9c4;line-height:1.6}
.cs-bubble{align-self:flex-end;max-width:85%;border:1px solid #8b6aa0;border-radius:16px;background:#59406e;padding:13px 16px;white-space:pre-wrap;overflow-wrap:anywhere}
.cs-bubble small{display:block;color:#e9d3f8;font-size:10px;letter-spacing:.5px;margin-bottom:8px}
.cs-composer{border-top:1px solid #423850;padding:18px 20px}.cs-note{border:1px solid #594469;background:#292238;color:#d9c4e7;font-size:12px;padding:11px 14px;border-radius:10px;margin-bottom:16px;line-height:1.5}
.cs-composer textarea{min-height:78px}.cs-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}
.cs-controls .hint{margin:0}.cs-status{color:#cdb0e9;background:#362641;border:1px solid #5d4470;padding:10px;border-radius:9px;margin:12px 0 0}
@media(max-width:720px){.cs-titlebar{flex-direction:column;align-items:flex-start}.cs-workspace{grid-template-columns:1fr}.cs-side{border-right:0;border-bottom:1px solid #40384f}.cs-threads{flex-direction:row;max-height:none;overflow-x:auto}.cs-thread{min-width:150px}.cs-character{display:none}.cs-header,.cs-composer{padding:13px}.cs-messages{min-height:300px;max-height:440px;padding:13px}.cs-controls{flex-wrap:wrap;justify-content:flex-end}}
.cs-bubble.from-ai{align-self:flex-start;background:#242737;border-color:#554566}.cs-bubble.from-user{align-self:flex-end}

/* ==== assets/luxury.css ==== */

/* Sorvessa: Velvet / Moonlight luxury themes — no external requests */
:root{color-scheme:dark;--bg:#0c0a10;--surface:#17121b;--raised:#251b29;--line:rgba(240,204,185,.16);--line2:rgba(240,204,185,.4);--txt:#f8f1eb;--muted:#c0b1bd;--gold:#e4bb9d;--goldlight:#fae2c9;--rose:#c78da6;--blue:#aea2d1;color:var(--txt);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body[data-ambience=moonlight]{--bg:#090e19;--surface:#131d2b;--raised:#1c2a40;--line:rgba(200,220,255,.2);--line2:rgba(200,220,255,.4);--txt:#f4f7ff;--muted:#bdc8da;--gold:#c9d9f4;--goldlight:#f4f7ff;--rose:#8daedc;--blue:#a1c1ea}
html{scroll-behavior:smooth}
body{background:radial-gradient(ellipse 55% 55% at 95% 0%,color-mix(in srgb,var(--rose) 20%,transparent),transparent 75%),radial-gradient(ellipse 70% 50% at 0 40%,color-mix(in srgb,var(--blue) 10%,transparent),transparent 78%),var(--bg);color:var(--txt);min-height:100vh}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.24;background:repeating-linear-gradient(0deg,transparent 0 5px,#ffffff06 5px 6px)}
#app{position:relative;z-index:1}
::selection{background:#b9879b77;color:white}
h1,h2,.brand,.card h3,.cs-titlebar h1,.cs-empty h3,.lower h3{font-family:Georgia,"Times New Roman",serif;font-weight:500}
button,input,textarea,select{font:inherit}
button{transition:background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}
button:hover:not(:disabled){transform:translateY(-1px)}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--goldlight);outline-offset:3px}
input,textarea,select{color:var(--txt);background:#08091099;border:1px solid var(--line);border-radius:14px;padding:14px}
input:focus,textarea:focus,select:focus{border-color:var(--gold);box-shadow:0 0 0 3px #dfb9a51e}
input::placeholder,textarea::placeholder{color:#938b9c}
label{color:var(--muted)}
input[type=checkbox],input[type=range]{accent-color:var(--gold)}
.muted,.hint,.minor{color:var(--muted)}
.shell{max-width:1360px;padding:0 36px 32px}
.top{position:relative;margin:0 0 36px;padding:28px 0 24px;border-bottom:1px solid var(--line);align-items:center}
.top:after{content:"";position:absolute;bottom:-1px;left:0;width:165px;height:1px;background:linear-gradient(90deg,var(--gold),transparent)}
.brand{font-size:26px;letter-spacing:-1.1px}
.brand .star{color:var(--gold);font-size:25px;margin-right:5px}
.beta{color:var(--gold);border-color:var(--line2);background:#ffffff08;letter-spacing:.17em;font-size:9px;padding:6px 9px}
.header-actions{gap:10px;flex-wrap:wrap}
.header-actions .muted{text-transform:uppercase;font-size:10px;letter-spacing:.19em;color:var(--muted)}
.quiet,.small,.tab{background:#ffffff09;border:1px solid var(--line);color:var(--txt)}
.quiet{border-radius:50px;padding:10px 17px;font-size:12px}
.quiet:hover,.small:hover,.tab:hover{background:#d9aca322;border-color:var(--line2)}
.ambience-toggle{color:var(--goldlight);display:inline-flex;align-items:center;gap:9px}
.ambience-toggle .mood-icon{font-size:18px}
.btn{background:linear-gradient(115deg,var(--goldlight),var(--gold) 55%,#c78d9e);color:#29171e;border:1px solid #ffe5d347;border-radius:100px;font-size:13px;padding:14px 23px;font-weight:750;box-shadow:0 9px 30px #ae777525}
.btn:hover{background:linear-gradient(115deg,#fff2e4,var(--goldlight),#e0afbd);box-shadow:0 14px 34px #ae77753d}
.btn.secondary{background:#ffffff0b;color:var(--goldlight);border-color:var(--line2);box-shadow:none}
.small{padding:9px 13px;border-radius:100px;font-size:12px}
.small.danger{color:#f3b6b7}
.eyebrow{letter-spacing:.24em;color:var(--gold);font-size:10px;font-weight:650}
.hero{position:relative;isolation:isolate;min-height:310px;align-items:center;border-radius:25px;padding:50px;overflow:hidden;margin-bottom:34px;background:radial-gradient(ellipse at 85% 36%,#b6788950,transparent 54%),linear-gradient(112deg,#291b29,#1b1521 58%,#1a1721);border:1px solid var(--line);box-shadow:0 28px 60px #0004}
body[data-ambience=moonlight] .hero{background:radial-gradient(ellipse at 85% 30%,#718fca48,transparent 55%),linear-gradient(112deg,#172235,#0f1828)}
.hero:before{content:"";position:absolute;inset:14px;border:1px solid #efc9aa22;border-radius:17px;pointer-events:none;z-index:-1}
.hero:after{content:"✧";position:absolute;right:4%;top:40%;font:280px/.9 Georgia,serif;transform:rotate(-12deg);color:#f3d5bc17;z-index:-1;pointer-events:none}
.hero>div{max-width:700px}
.hero h1{font-size:clamp(42px,5.1vw,69px);line-height:1.08;letter-spacing:-.045em;text-wrap:balance;margin:15px 0 20px}
.hero p{font-size:15px;max-width:515px;line-height:1.8;color:#dbcdd5}
.hero .btn{align-self:end;flex-shrink:0}
.hero-kicker{display:flex;align-items:center;gap:10px}
.hero-kicker:before{content:"";width:27px;height:1px;background:var(--gold)}
.hero-lede{color:var(--goldlight);font:italic 19px Georgia,serif;margin-top:23px}
.toolbar{margin-bottom:23px}
.seg{border-radius:100px;background:transparent;border:1px solid var(--line);padding:4px;gap:4px}
.seg button{border-radius:100px;padding:11px 16px;font-size:12px;color:var(--muted)}
.seg button.selected{background:var(--raised);color:var(--goldlight);box-shadow:inset 0 0 0 1px var(--line)}
.cards{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px}
.card{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:352px;padding:28px 25px;border-radius:23px;background:radial-gradient(ellipse at 96% 3%,#be8da32e,transparent 55%),linear-gradient(145deg,var(--raised),var(--surface));border:1px solid var(--line);box-shadow:0 18px 46px #0002}
.card:before{content:"";position:absolute;inset:8px;border:1px solid #ffdfc217;border-radius:16px;pointer-events:none}
.card:hover{border-color:var(--line2);box-shadow:0 23px 60px #0005;transform:translateY(-4px)}
.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.card-index{font:italic 14px Georgia,serif;color:var(--gold)}
.card-tag{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);border:1px solid var(--line);padding:5px 9px;border-radius:30px;font-size:9px}
.avatar{width:82px;height:82px;border-radius:50%;background:radial-gradient(circle at 23% 20%,#f7d5ce,#bf8ba0 45%,#665476);border:1px solid #ffffff66;box-shadow:0 0 0 6px #ffffff07,0 10px 22px #0005;font:normal 40px Georgia,serif;color:#381d29;margin:0 0 22px}
body[data-ambience=moonlight] .avatar{background:radial-gradient(circle at 20% 14%,#e5ebff,#9eb2dc 45%,#576c9b)}
.cardmeta{flex:1;min-height:65px}
.card h3{font-size:26px;letter-spacing:-.03em;line-height:1.15;margin:0 0 9px}
.card p{color:var(--muted);font-size:12px}
.card .actions{border-top:1px solid var(--line);margin-top:20px;padding-top:18px;gap:7px}
.card .actions .small:first-child{background:#eac4b71b;color:var(--goldlight);border-color:var(--line2)}
.add-card{border:1px dashed var(--line2);align-items:center;justify-content:center;text-align:center;background:linear-gradient(140deg,#ffffff0b,#ffffff03)}
.add-card .plus{color:var(--gold);font:normal 62px Georgia,serif;line-height:1}
.add-card h3{font-size:24px;margin:15px 0 10px}
.add-card p{max-width:200px}
.empty{padding:75px 25px;background:linear-gradient(145deg,var(--raised),var(--surface));border:1px dashed var(--line2);border-radius:23px}
.empty h2{font-size:35px}
.empty .star{color:var(--gold)}
.lower{border-radius:21px;border:1px solid var(--line);background:linear-gradient(112deg,#dcac9d12,#ffffff06);padding:27px 31px;margin-top:29px}
.lower h3{font-size:24px}
.lower p{color:var(--muted);max-width:670px;line-height:1.7}
.soon{color:var(--gold);border:1px solid var(--line2);border-radius:100px;padding:8px 12px;letter-spacing:.14em}
.footer{border-top:1px solid var(--line);margin-top:50px;padding:24px 0 8px;color:var(--muted);text-align:center;letter-spacing:.025em;line-height:1.9;font-size:11px}
.editor-head h1{font-size:clamp(35px,4vw,51px);letter-spacing:-.03em}
.editor-head p{color:var(--muted)}
.progress{height:3px;background:var(--raised)}
.progress>div{background:linear-gradient(90deg,var(--rose),var(--goldlight))}
.tabs{margin:24px 0}
.tab{border-radius:100px;font-size:12px;padding:11px 14px}
.tab.active{background:var(--gold);color:#29161b;border-color:var(--gold)}
.panel{border:1px solid var(--line);background:linear-gradient(145deg,var(--surface),#13111a);border-radius:23px;padding:35px;box-shadow:0 18px 40px #0002}
body[data-ambience=moonlight] .panel{background:linear-gradient(145deg,var(--surface),#0e1521)}
.step-head h2{font:normal 32px Georgia,serif;letter-spacing:-.02em}
.form-grid{gap:23px}
.checkgrid .check{border-color:var(--line);background:#ffffff0a;border-radius:12px}
.checkgrid .check:has(input:checked){border-color:var(--line2);background:#dcb49c23}
.preview,.info-value{background:var(--raised);border:1px solid var(--line);border-radius:14px;color:var(--txt)}
.editor-bottom{border-color:var(--line)}
.notice,.cs-status{background:#e9bfad19;border-color:var(--line2);color:var(--goldlight);border-radius:14px}
.linkish{color:var(--goldlight);text-decoration:none;border-bottom:1px solid var(--line2);padding:5px}
.linkish:hover{color:#fff}
.login-shell{position:relative;overflow:hidden;background:radial-gradient(circle at 50% 18%,#ac708a42,transparent 51%);padding:50px 20px}
.login-shell:before{content:"✧";position:absolute;top:10%;left:10%;font:480px Georgia,serif;color:#d5a5a710;pointer-events:none}
.login{isolation:isolate;position:relative;width:min(100%,490px);background:linear-gradient(140deg,#231b28,#15111d);border:1px solid var(--line2);border-radius:28px;padding:48px 43px;box-shadow:0 33px 100px #0008}
.login:before{content:"";position:absolute;inset:11px;border:1px solid #e7bda91b;border-radius:19px;pointer-events:none}
.mark{width:65px;height:65px;border-radius:50%;background:radial-gradient(circle at 25% 20%,#f5c9c2,#b984a0 57%,#5a4768);box-shadow:0 0 0 6px #fff1e208;color:#271720}
.login h1{font-size:clamp(32px,5vw,42px);letter-spacing:-.04em;line-height:1.1;margin:22px 0 12px}
.login .sub{line-height:1.7;color:var(--muted)}
.login label:has(input[type=checkbox]){display:flex;align-items:center;gap:12px}
.login input[type=checkbox]{width:18px;height:18px;flex-shrink:0}
@media(max-width:1020px){.shell{padding:0 24px 27px}.hero{padding:41px 32px}.hero:after{font-size:190px}}
@media(max-width:720px){html{scroll-behavior:auto}.shell{padding:0 15px 22px}.top{margin-bottom:24px;padding:17px 0;flex-wrap:wrap}.brand{font-size:22px}.header-actions{width:100%;gap:7px}.header-actions .quiet{padding:9px 12px}.hero{padding:34px 25px;min-height:0;gap:25px}.hero:before{inset:9px}.hero:after{font-size:155px;right:-10%;top:18%}.hero h1{font-size:clamp(39px,11vw,50px)}.hero p{font-size:14px}.cards{grid-template-columns:1fr;gap:15px}.card{min-height:0;padding:26px}.panel{padding:22px}.login{padding:36px 26px}.lower{padding:22px}.toolbar{overflow-x:auto}.seg{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Versioned adult participation agreement; member-only acceptance gate */
.consent-shell{min-height:100vh;display:grid;place-items:center;padding:30px 18px;background:radial-gradient(ellipse 66% 55% at 90% 0%,#8f526b33,transparent 70%),var(--bg)}
.consent-page{width:min(100%,730px);background:var(--surface);border:1px solid var(--line2);box-shadow:0 24px 90px #0006;border-radius:25px;padding:clamp(24px,5vw,48px)}
.consent-page h1{font:normal clamp(30px,5vw,45px) Georgia,serif;letter-spacing:-.035em;margin:13px 0}
.consent-page .consent-sub{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 14px}
.consent-version{font-size:11px;letter-spacing:.06em;color:var(--goldlight);opacity:.85}
.consent-copy{display:grid;gap:12px;padding:18px 20px;margin:15px 0 22px;border-radius:14px;border:1px solid var(--line);background:#ffffff06}
.consent-copy p{font-size:13px;line-height:1.55;color:var(--muted);margin:0}
.consent-copy strong{color:var(--goldlight)}
.consent-checks{display:grid;gap:14px;margin-bottom:19px}
.consent-checks label{display:flex;align-items:flex-start;gap:11px;line-height:1.5;color:var(--txt);font-size:13px;cursor:pointer;margin:0}
.consent-checks input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:var(--gold)}
.consent-actions{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin:18px 0}
.consent-error{color:#ffd1d1;font-size:13px}
.consent-page .minor{color:var(--muted)}
.login .consent-copy{max-height:260px;overflow:auto;text-align:left;padding:13px}
.login .consent-checks{margin:13px 0 20px}
.login .consent-checks label{font-size:12px}
.login .consent-signup-title{font:normal 22px Georgia,serif;margin-top:24px}
@media(max-width:560px){.consent-actions>*{width:100%}.consent-page{padding:23px 18px}}


/* Member-selected Wix portraits and visual differentiation */
.avatar,.cs-avatar,.cs-header-portrait{display:grid;place-items:center;overflow:hidden;position:relative}
.avatar img,.cs-avatar img,.cs-header-portrait img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.portrait-style-1:not(:has(img)){background:linear-gradient(145deg,#edd3c0,#c18499 50%,#6c4168)}
.portrait-style-2:not(:has(img)){background:linear-gradient(145deg,#d5d1ea,#a4a1c9 55%,#5a517c)}
.portrait-style-3:not(:has(img)){background:linear-gradient(145deg,#f1d7c1,#c68a78 55%,#70504f)}
.portrait-style-4:not(:has(img)){background:linear-gradient(145deg,#dfd4c1,#96aca0 55%,#4b726c)}


/* Self-service private content controls */
.privacy-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}
.privacy-actions .danger-action{border:1px solid #dca5a588;background:#6d344055;color:#ffe8e8}
.privacy-actions .danger-action:hover{background:#8b3d4d77}
.privacy-warning{font-size:12px;line-height:1.6;color:var(--muted);max-width:680px}
@media(max-width:600px){.privacy-actions{display:grid;grid-template-columns:1fr}.privacy-actions button{width:100%}}


/* Touch-first editor and account improvements */
@media(max-width:720px){
 .shell{padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}
 .editor-head{gap:9px;margin-bottom:12px}
 .editor-head .quiet{width:auto;max-width:100%}
 .tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;gap:8px;padding:7px 12px 12px;margin:8px -12px 12px;scrollbar-width:thin}
 .tab{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap;min-height:42px}
 .form-grid,.slider-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .panel{padding:20px 16px}
 .step-head{gap:12px;align-items:start}
 .step-head h2{font-size:24px}
 .editor-bottom{position:sticky;bottom:0;z-index:4;display:flex;flex-direction:column;align-items:stretch;gap:10px;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(12px);border:1px solid var(--line2);border-radius:15px;padding:12px;margin:24px -6px 0}
 .editor-bottom .actions{display:flex;width:100%;gap:7px;margin:0}
 .editor-bottom .actions button{flex:1;min-width:0;padding:12px 7px;font-size:12px}
 .checkgrid{grid-template-columns:repeat(auto-fit,minmax(128px,1fr))}
 .card .actions{gap:7px}
 .card .actions .small{min-height:39px}
 .info-value{overflow-wrap:anywhere}
 .login input,.login textarea{font-size:16px}
}
@media(max-width:390px){
 .editor-bottom .actions{flex-wrap:wrap}
 .editor-bottom .actions .btn{flex-basis:45%}
 .header-actions{width:100%;justify-content:flex-start}
 .brand{font-size:19px}
}

/* ==== assets/luxury-chat.css ==== */

/* Sorvessa — luxury conversation suite */
.cs-titlebar{margin:14px 0 27px;align-items:flex-end}
.cs-titlebar h1{font-size:clamp(39px,4vw,56px);line-height:1.1;letter-spacing:-.035em;margin:9px 0 8px}
.cs-titlebar .muted{font-size:14px;color:var(--muted)}
.cs-titlebar .quiet{flex-shrink:0}
.cs-workspace{
  grid-template-columns:289px minmax(0,1fr);
  min-height:744px;
  background:var(--surface);
  border:1px solid var(--line2);
  border-radius:26px;
  box-shadow:0 30px 85px #0006;
  isolation:isolate;
}
.cs-side{
  gap:20px;padding:26px 21px;
  background:
    radial-gradient(ellipse at 35% 0%,#c18fa519,transparent 50%),
    linear-gradient(150deg,var(--raised),var(--surface));
  border-right:1px solid var(--line);
}
.cs-side-head{padding-bottom:16px;border-bottom:1px solid var(--line)}
.cs-side-head strong{font:normal 21px Georgia,serif;letter-spacing:-.02em;color:var(--txt)}
.cs-side-head .small{color:var(--goldlight);border:1px solid var(--line2);white-space:nowrap}
.cs-threads{gap:9px;max-height:490px;padding-right:3px;scrollbar-color:#bda09b55 transparent;scrollbar-width:thin}
.cs-thread{
  position:relative;
  gap:4px;
  text-align:left;
  color:var(--txt);
  border:1px solid var(--line);
  padding:17px 16px 17px 20px;
  background:#ffffff09;
  border-radius:16px;
  min-height:76px;
  font-size:13px;
  transition:background .2s,border-color .2s,transform .2s;
}
.cs-thread:before{content:"";position:absolute;left:8px;top:22px;bottom:22px;width:2px;border-radius:2px;background:transparent}
.cs-thread:hover{background:#efc6bc10;border-color:var(--line2)}
.cs-thread.active{background:#ebbeab16;border-color:var(--line2);box-shadow:inset 0 0 0 1px #ffffff04}
.cs-thread.active:before{background:var(--gold)}
.cs-thread span{font-weight:650}
.cs-thread small{font-size:11px;color:var(--muted);opacity:.88}
.cs-character{border-top:1px solid var(--line);padding-top:24px;margin-top:auto}
.cs-character strong{font:normal 26px Georgia,serif;letter-spacing:-.025em}
.cs-character p{color:var(--muted);margin:5px 0 17px}
.cs-character .small{color:var(--goldlight)}
.cs-avatar{
  width:74px;height:74px;border-radius:50%;
  font:normal 37px Georgia,serif;
  color:#37212b;
  background:radial-gradient(circle at 27% 13%,#f5dad0,#c18fa9 50%,#745576);
  border:1px solid #ffffff70;
  box-shadow:0 0 0 6px #ffffff07,0 12px 32px #0004;
  margin:0 0 20px;
}
body[data-ambience=moonlight] .cs-avatar{background:radial-gradient(circle at 22% 14%,#eaf2ff,#a0b5dc 50%,#586e9b)}
.cs-chat{background:linear-gradient(180deg,#161019ee,#121018);min-height:0}
body[data-ambience=moonlight] .cs-chat{background:linear-gradient(180deg,#121e30,#0d1321)}
.cs-header{
  padding:22px 28px;
  gap:20px;
  min-height:105px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(105deg,#ffffff06,transparent 75%);
}
.cs-header-persona{display:flex;align-items:center;gap:14px;min-width:0}
.cs-header-portrait{display:grid;place-items:center;flex:0 0 47px;height:47px;width:47px;border-radius:50%;border:1px solid #e8c0b35a;background:linear-gradient(145deg,#bd8b9f,#70546e);color:#2d1c28;font:normal 27px Georgia,serif}
body[data-ambience=moonlight] .cs-header-portrait{background:linear-gradient(145deg,#d6e2ff,#879dca)}
.cs-header-persona strong{display:block;font:normal 25px Georgia,serif;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-header .hint{margin:3px 0 0;font-size:11px;color:var(--muted)}
.cs-badge{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid var(--line2);border-radius:50px;
  background:#e5bb9a14;color:var(--goldlight);
  padding:9px 12px;font-size:9px;letter-spacing:.18em;font-weight:700;
}
.cs-badge:before{content:"";width:6px;height:6px;background:#b1bfa7;border-radius:50%;box-shadow:0 0 0 3px #b1bfa711}
.cs-messages{
  gap:20px;min-height:370px;max-height:570px;
  padding:34px 34px 40px;
  background:radial-gradient(ellipse at 80% 0%,#a8779120,transparent 65%),linear-gradient(165deg,#17131c,#100f17);
  scrollbar-width:thin;scrollbar-color:#8a647255 transparent;
}
body[data-ambience=moonlight] .cs-messages{background:radial-gradient(ellipse at 80% 0%,#718fc22b,transparent 65%),linear-gradient(165deg,#121c2c,#0c1220)}
.cs-bubble{
  position:relative;
  max-width:min(80%,610px);
  padding:17px 20px;
  font-size:14px;
  line-height:1.72;
  border:1px solid var(--line);
  box-shadow:0 10px 22px #0002;
  white-space:pre-wrap;overflow-wrap:anywhere;
  animation:cs-arrive .25s ease-out both;
}
@keyframes cs-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.cs-bubble small{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.13em;margin:0 0 8px;color:var(--goldlight)}
.cs-bubble.from-user{
  align-self:flex-end;
  background:linear-gradient(125deg,#6c445a,#533b55);
  border-color:#c39bac55;
  border-radius:19px 19px 5px 19px;
}
.cs-bubble.from-ai{
  align-self:flex-start;
  background:linear-gradient(130deg,#2b222d,#241e2a);
  border:1px solid var(--line2);
  border-radius:19px 19px 19px 5px;
}
body[data-ambience=moonlight] .cs-bubble.from-user{background:linear-gradient(125deg,#465c89,#364c73);border-color:#a7b9df61}
body[data-ambience=moonlight] .cs-bubble.from-ai{background:linear-gradient(125deg,#243147,#1b2639)}
.cs-empty{margin:auto;text-align:center;max-width:430px;padding:30px 24px}
.cs-empty span{color:var(--gold);font:normal 61px Georgia,serif}
.cs-empty h3{font-size:35px;letter-spacing:-.03em;line-height:1.12;margin:9px 0}
.cs-empty p{color:var(--muted);line-height:1.8;font-size:14px}
.cs-composer{
  padding:23px 28px 27px;
  background:linear-gradient(130deg,#221a25,#1b1521);
  border-top:1px solid var(--line)
}
body[data-ambience=moonlight] .cs-composer{background:linear-gradient(130deg,#1d293a,#151e2c)}
.cs-note{margin:0 0 18px;border:0;border-left:2px solid var(--gold);background:#e3bba10e;color:var(--muted);border-radius:0 8px 8px 0;padding:10px 14px;font-size:11px;line-height:1.65}
.cs-note strong{color:var(--goldlight);font-weight:600}
.cs-composer label{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:var(--goldlight);margin-bottom:10px}
.cs-composer textarea{
  min-height:92px;
  background:#0b0a12a6;
  border:1px solid var(--line2);
  border-radius:17px;
  padding:17px 18px;
  line-height:1.5;
}
.cs-controls{margin-top:14px;gap:14px}
.cs-controls .hint{font-size:11px;color:var(--muted)}
.cs-controls .btn{min-width:120px}
.cs-status{padding:11px 14px;border:1px solid var(--line2);color:var(--goldlight);background:#d9a89812;margin:16px 0 0;font-size:12px}
.cs-messages::-webkit-scrollbar,.cs-threads::-webkit-scrollbar{width:6px}
.cs-messages::-webkit-scrollbar-thumb,.cs-threads::-webkit-scrollbar-thumb{background:#bf9ea455;border-radius:20px}
@media(max-width:980px){
 .cs-workspace{grid-template-columns:235px minmax(0,1fr)}
 .cs-side{padding:20px 15px}
 .cs-messages{padding:26px}
 .cs-header,.cs-composer{padding:19px}
}
@media(max-width:720px){
 .cs-titlebar{gap:15px;margin-bottom:20px;align-items:flex-start}
 .cs-titlebar h1{font-size:42px}
 .cs-workspace{grid-template-columns:1fr;border-radius:20px;min-height:0}
 .cs-side{padding:17px 14px;gap:10px;border-right:0;border-bottom:1px solid var(--line)}
 .cs-side-head{border:0;padding-bottom:3px}
 .cs-side-head strong{font-size:19px}
 .cs-threads{display:flex;flex-direction:row;overflow-x:auto;max-height:none;padding:4px 0 6px;gap:8px}
 .cs-thread{min-width:165px;min-height:65px;padding:12px 13px 12px 18px}
 .cs-thread:before{left:7px;top:16px;bottom:16px}
 .cs-character{display:none}
 .cs-header{padding:17px 15px;min-height:76px;gap:10px}
 .cs-header-portrait{width:42px;height:42px;flex-basis:42px}
 .cs-header-persona{gap:9px}
 .cs-header-persona strong{font-size:20px}
 .cs-header .hint{font-size:10px;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .cs-badge{font-size:8px;padding:7px 8px;gap:6px}
 .cs-messages{padding:20px 13px;min-height:350px;max-height:52vh;gap:14px}
 .cs-bubble{max-width:92%;padding:13px 15px;font-size:13px}
 .cs-composer{padding:16px 14px 20px}
 .cs-note{font-size:11px;padding:8px 10px}
 .cs-composer textarea{min-height:82px;font-size:16px}
 .cs-controls{align-items:flex-end;flex-wrap:wrap}
 .cs-controls .hint{flex:1;min-width:150px}
 .cs-controls .btn{min-width:95px}
}
@media(prefers-reduced-motion:reduce){.cs-bubble{animation:none}}
/* Personality details and a personalized opening moment */
.cs-traits{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 15px}
.cs-traits span{font-size:10px;letter-spacing:.03em;border:1px solid var(--line);color:var(--goldlight);background:#ffffff0a;border-radius:100px;padding:6px 9px}
.cs-opening{margin:22px auto 0;max-width:350px;background:linear-gradient(140deg,#e3bca014,#ffffff09);border:1px solid var(--line2);border-radius:17px;padding:19px 22px;text-align:left}
.cs-opening span{display:block;font:650 10px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.17em;color:var(--gold);text-transform:uppercase}
.cs-opening p{font:italic 17px/1.6 Georgia,serif;color:var(--txt);margin:12px 0 0;overflow-wrap:anywhere}
.cs-controls .btn:disabled{opacity:.72;filter:saturate(.65);cursor:progress}


/* Responsive privacy, story navigation and message controls */
.cs-thread-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:stretch}
.cs-thread-row .cs-thread{grid-row:span 2;min-width:0;width:100%;word-break:break-word}
.cs-thread-tool{font-size:10px;padding:8px 9px;border:1px solid var(--line);background:#ffffff0a;color:var(--muted);border-radius:10px;min-height:30px;cursor:pointer}
.cs-thread-tool:hover{color:var(--txt);border-color:var(--line2)}
.cs-thread-delete{color:#e8aaa8}
.cs-bubble-tools{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px;opacity:.82}
.cs-mini-action{border:1px solid var(--line);background:#ffffff06;border-radius:9px;padding:5px 9px;color:var(--goldlight);font-size:11px;cursor:pointer}
.cs-mini-action:hover{background:#ffffff14}
.cs-story-recap-btn{border:1px solid var(--line2);border-radius:14px;padding:8px 12px;color:var(--goldlight);background:#ffffff09;font-size:11px;white-space:nowrap}
.cs-story-recap{padding:14px 25px;background:#ffffff06;border-bottom:1px solid var(--line);max-height:200px;overflow:auto}
.cs-story-recap strong{font-size:12px;color:var(--goldlight)}
.cs-story-recap p{font-size:12px;color:var(--muted);line-height:1.55;margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:720px){
 .cs-thread-row{min-width:190px;flex:none}
 .cs-thread-row .cs-thread{min-width:0}
 .cs-header{flex-wrap:wrap}
 .cs-story-recap-btn{margin-left:auto}
 .cs-story-recap{padding:12px 15px;max-height:160px}
 .cs-bubble-tools{opacity:1}
 .cs-mini-action{min-height:32px}
 .cs-messages{max-height:min(56dvh,580px);overscroll-behavior:contain}
 .cs-composer{padding-bottom:max(17px,env(safe-area-inset-bottom))}
 .cs-composer textarea{font-size:16px}
}
@media(max-width:420px){.cs-titlebar h1{font-size:34px}.cs-badge{letter-spacing:0}.cs-header-persona strong{font-size:18px}}


.cs-health-check{font-size:11px;white-space:nowrap}
.cs-health-check:disabled{opacity:.6;cursor:progress}
@media(max-width:720px){.cs-health-check{min-height:36px}.cs-header{gap:8px}.cs-header .cs-story-recap-btn{margin-left:0}}

/* ==== assets/entrance.css ==== */

/* OBSIDIAN GLASS / PUBLIC ENTRANCE — no outside assets, no access to member content */
.login-shell.entrance-shell{
  --en-ivory:#F4F2EE;--en-silver:#B8BCC7;--en-champagne:#E2C3A1;--en-muted:#A8A6AB;
  display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;
  box-sizing:border-box;isolation:isolate;position:relative;overflow:hidden;
  min-height:100svh;width:100%;padding:0;
  background:
    radial-gradient(ellipse 55% 60% at 25% 43%,#62526030,transparent 76%),
    radial-gradient(ellipse 43% 47% at 84% 18%,#4F637037,transparent 74%),
    linear-gradient(142deg,#090B10 0%,#0B0C10 42%,#101219 79%,#080A0E 100%);
  color:var(--en-ivory);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.entrance-shell:before{display:none!important}
.entrance-shell:after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  opacity:.55;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#FFFFFF05 25%);
}
.entrance-atmosphere{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.entrance-light{position:absolute;display:block;border-radius:50%;filter:blur(65px);opacity:.64;will-change:transform}
.entrance-light-one{width:min(63vw,780px);height:190px;top:7%;left:-17%;background:linear-gradient(90deg,#40587500,#D4B69E29,#A0BCD328,#172B4700);transform:rotate(-22deg);animation:entranceDrift 28s ease-in-out infinite alternate}
.entrance-light-two{width:440px;height:440px;right:-230px;bottom:-250px;background:radial-gradient(circle,#C4A58327,transparent 66%);animation:entranceGlow 20s ease-in-out infinite alternate}
.entrance-horizon{position:absolute;width:90%;height:1px;left:5%;top:52%;background:linear-gradient(90deg,transparent,#F2E3D010,transparent)}
.entrance-topbar,.entrance-bottom{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:2}
.entrance-topbar{padding:clamp(22px,3.5vw,42px) clamp(24px,5vw,86px) 0}
.entrance-brand{display:flex;align-items:center;gap:13px;color:#DFD5C9}
.entrance-brand-symbol{width:38px;height:38px;color:#C9B69F;display:block}
.entrance-brand-symbol svg{display:block;width:100%;height:100%}
.entrance-brand-name{font-size:10px;letter-spacing:.26em;line-height:1.6;font-weight:600}
.entrance-topnote,.entrance-bottom,.entrance-access-floor{font-size:9px;letter-spacing:.20em;color:#A3A5AC;font-weight:600}
.entrance-topnote{white-space:nowrap}
.entrance-topnote span{color:#D1B99D;padding:0 7px}
.entrance-stage{position:relative;z-index:1;flex:1;width:min(100%,1470px);margin:auto;padding:45px clamp(24px,6vw,110px) 54px;display:grid;grid-template-columns:minmax(0,1.13fr) minmax(365px,.87fr);align-items:center;gap:clamp(45px,8vw,155px)}
.entrance-editorial{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:clamp(24px,3vw,47px)}
.entrance-object{position:relative;width:clamp(250px,27vw,395px);max-width:100%;aspect-ratio:1;display:grid;place-items:center;perspective:1200px}
.entrance-object-shadow{position:absolute;width:76%;height:15%;left:12%;top:87%;border-radius:50%;background:#08070A;filter:blur(24px);opacity:.77}
.entrance-orb{
  position:relative;display:grid;place-items:center;width:92%;aspect-ratio:1;border-radius:50%;overflow:hidden;
  border:1px solid #D9E3EC52;
  background:radial-gradient(circle at 24% 16%,#E2E8EE35,transparent 29%),
    radial-gradient(ellipse at 72% 82%,#CFAB8A2D,transparent 50%),
    conic-gradient(from 200deg,#1B1F28,#67768655 20%,#141821 42%,#D2B59A50 56%,#242C3C 73%,#12131A 92%,#1B1F28);
  box-shadow:inset 6px 8px 38px #F3F3F416,inset -19px -18px 46px #050710A8,0 0 0 1px #FFFFFF0B,0 25px 100px #0009,0 0 80px #7B8BA01A;
  animation:entranceHover 12s ease-in-out infinite
}
.entrance-orb:before{content:"";position:absolute;inset:6%;border-radius:50%;border:1px solid #D5D6DB41;box-shadow:inset 0 0 35px #0008,0 0 0 1px #151C28B0;background:radial-gradient(circle at 68% 78%,#070A12D0,#16192360 63%,#444C5F31);backdrop-filter:blur(9px)}
.entrance-orb:after{content:"";position:absolute;inset:-45%;background:linear-gradient(110deg,transparent 42%,#FFFFFF04 46%,#FFF0DA40 49%,#E8EDF81D 50%,transparent 57%);transform:translateX(-65%) rotate(15deg);animation:entranceGlint 20s ease-in-out infinite;pointer-events:none}
.entrance-orb-inner{position:absolute;inset:17%;border:1px solid #EBDFCF50;border-radius:50%;box-shadow:0 0 1px #FFF8EF,inset 0 0 36px #13141D;transform:rotateX(11deg)}
.entrance-orb-glint{position:absolute;inset:1%;border-radius:50%;border:1px solid transparent;border-top-color:#F3EAE169;border-left-color:#A6B9CB39;transform:rotate(-27deg)}
.entrance-glyph{position:relative;z-index:1;width:57%;height:57%;filter:drop-shadow(0 2px 18px #CDB69A45)}
.entrance-glyph svg{width:100%;height:100%}
.entrance-object-index{position:absolute;bottom:-8px;left:0;color:#9194A0;letter-spacing:.21em;font-size:9px;white-space:nowrap}
.entrance-object-index span{color:#DAC5AA;padding:0 8px}
.entrance-editorial-copy{padding-top:8px}
.entrance-overline{font-size:10px;font-weight:650;letter-spacing:.32em;color:#D3BFA8;margin:0 0 24px}
.entrance-editorial h1{font:normal clamp(46px,5.1vw,85px)/1.075 Georgia,"Times New Roman",serif;letter-spacing:-.056em;color:#F3F1EF;margin:23px 0 19px;text-wrap:balance;text-shadow:0 1px 30px #FFFFFF08}
.entrance-editorial h1 em{font-weight:normal;color:#D5C0A9}
.entrance-editorial-rule{display:block;width:70px;height:1px;background:linear-gradient(90deg,#E2C6AA,transparent);margin:25px 0 19px}
.entrance-editorial-foot{margin:0;color:#AEB0BA;font-size:13px;letter-spacing:.04em;line-height:1.6}
.entrance-access{display:flex;flex-direction:column;gap:27px;align-items:center;position:relative}
.entrance-shell .entrance-glass{
  isolation:isolate;position:relative;box-sizing:border-box;width:min(100%,520px);max-width:100%;
  padding:clamp(30px,3.4vw,54px);border-radius:26px;overflow:hidden;
  background:linear-gradient(155deg,#F5F8FC18 0%,#8795AB11 30%,#090D15AE 78%,#080B11D8 100%);
  border:1px solid #F9FAFC43;outline:1px solid #FFFFFF0A;outline-offset:7px;
  box-shadow:inset 0 1px #FFFFFF38,inset 0 -18px 44px #0709118C,0 35px 110px #000B,0 0 110px #A6B4C417;
  -webkit-backdrop-filter:blur(32px) saturate(145%);backdrop-filter:blur(32px) saturate(145%);
  transform:translateZ(0);animation:entranceReveal .9s cubic-bezier(.18,.7,.2,1) both
}
.entrance-shell .entrance-glass:before{content:"";position:absolute;inset:9px;border-radius:19px;pointer-events:none;border:1px solid #E2E6ED19;background:linear-gradient(135deg,#FFFFFF12,transparent 31%);z-index:-1}
.entrance-shell .entrance-glass:after{content:"";position:absolute;right:-78px;top:-130px;width:260px;height:350px;pointer-events:none;transform:rotate(28deg);background:linear-gradient(90deg,transparent,#F5F5FF11,transparent);filter:blur(17px);z-index:-1}
.entrance-glass-top{display:flex;justify-content:space-between;gap:20px;color:#D7D3D1;font-size:10px;letter-spacing:.27em;font-weight:650}
.entrance-glass-serial{color:#A7ADB8;white-space:nowrap}
.entrance-glass-serial span{padding:0 6px;color:#D6C0A7}
.entrance-glass-mark{color:#DFCFBA;width:61px;height:61px;margin:40px auto 24px;filter:drop-shadow(0 1px 16px #C7A88C46)}
.entrance-glass-mark svg{height:100%;width:100%}
.entrance-shell .entrance-welcome{text-align:center;font:normal clamp(31px,3.5vw,44px)/1.15 Georgia,"Times New Roman",serif;letter-spacing:-.04em;margin:0;color:#F7F5F2}
.entrance-invitation{text-align:center;color:#AEB2BD;font-size:12px;letter-spacing:.045em;margin:11px 0 35px}
.entrance-form .field{margin:18px 0 0}
.entrance-form label{color:#E1E1E4;font-size:11px;letter-spacing:.12em;margin-bottom:9px}
.entrance-form input{
  box-sizing:border-box;width:100%;height:54px;border-radius:13px;padding:0 16px;color:#F7F5F4;font-size:15px;
  border:1px solid #BBC1CF51;background:linear-gradient(125deg,#131721C9,#0E111BCE);
  box-shadow:inset 0 1px 0 #FFFFFF0E;
  transition:border-color .22s ease,box-shadow .22s ease,background .22s ease
}
.entrance-form input::placeholder{color:#8E94A0}
.entrance-form input:hover{border-color:#D6D3D080}
.entrance-form input:focus{outline:2px solid #DFC5A1;outline-offset:3px;border-color:#E2CFB5;box-shadow:0 0 22px #D1B69A1C}
.entrance-form .error{margin:12px 0 0;line-height:1.5;font-size:12px;color:#FFC8C8}
.entrance-form .error:empty{display:none}
.entrance-form .entrance-enter{
  position:relative;width:100%;margin-top:22px;min-height:55px;border-radius:13px;
  border:1px solid #EEE5D685;background:linear-gradient(119deg,#F2E7D9,#DCC9B2 58%,#BBA68D);
  color:#1C1A1C;font-size:12px;font-weight:750;letter-spacing:.22em;
  box-shadow:inset 0 1px #FFFFFFB7,0 14px 34px #D1BBA321;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease
}
.entrance-form .entrance-enter:hover:not(:disabled){filter:brightness(1.055);box-shadow:inset 0 1px #FFFD,0 14px 36px #E8C8A437}
.entrance-form .entrance-enter:focus-visible,.entrance-access-footer button:focus-visible{outline:2px solid #F3DDC0;outline-offset:4px}
.entrance-shell .entrance-glass #forgot-password,.entrance-shell .entrance-glass #signup-open{font-size:12px;color:#E1CEB6;text-decoration:none;letter-spacing:.05em;background:none;border:0;padding:9px 3px}
.entrance-shell .entrance-glass #forgot-password:hover,.entrance-shell .entrance-glass #signup-open:hover{text-decoration:underline;text-underline-offset:4px;color:#FFF0DC}
.entrance-glass .center:has(#forgot-password){margin:13px 0 8px}
.entrance-access-footer{margin:21px 0 0;padding:18px 0 0;border-top:1px solid #C4C3CB29;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.entrance-access-footer p{color:#A3A8B3;font-size:11px;margin:0;line-height:1.5}
.entrance-age{text-align:center;font-size:9px;letter-spacing:.17em;color:#999BA4;margin:29px 0 0}
.entrance-access-floor{color:#868C99}
.entrance-bottom{border-top:1px solid #D2D8DF14;padding:19px clamp(24px,5vw,86px);font-size:9px;letter-spacing:.16em}
.entrance-bottom>span:last-child{color:#B0A4A1}
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){.entrance-shell .entrance-glass{background:linear-gradient(155deg,#242832,#10131B)}}
@keyframes entranceHover{0%,100%{transform:translate3d(0,0,0) rotate(-3deg)}50%{transform:translate3d(0,-10px,0) rotate(2deg)}}
@keyframes entranceGlint{0%,31%,100%{transform:translateX(-75%) rotate(15deg)}58%,65%{transform:translateX(72%) rotate(15deg)}}
@keyframes entranceDrift{from{transform:translate3d(0,0,0) rotate(-22deg)}to{transform:translate3d(100px,40px,0) rotate(-15deg)}}
@keyframes entranceGlow{from{opacity:.32}to{opacity:.75}}
@keyframes entranceReveal{from{opacity:0;transform:translate3d(0,16px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media(max-width:1120px){.entrance-stage{gap:45px;padding:35px 35px 48px;grid-template-columns:minmax(0,1fr) minmax(360px,.95fr)}.entrance-editorial h1{font-size:clamp(43px,5vw,62px)}.entrance-object{width:min(28vw,310px)}}
@media(max-width:820px){
 .entrance-shell.entrance-shell{min-height:100svh}
 .entrance-topbar{padding:22px 24px 0}
 .entrance-topnote{display:none}
 .entrance-stage{width:100%;display:flex;flex-direction:column;align-items:center;gap:24px;padding:25px 20px 38px}
 .entrance-editorial{width:min(100%,520px);align-items:center;gap:0}
 .entrance-object{width:clamp(142px,24vw,235px);height:auto}
 .entrance-object-index{display:none}
 .entrance-editorial-copy{text-align:center;padding:10px 0 0}
 .entrance-overline{margin:0;font-size:9px}
 .entrance-editorial h1{font-size:clamp(34px,7.6vw,53px);margin:12px 0 8px;line-height:1.04}
 .entrance-editorial h1 br:nth-of-type(1){display:none}
 .entrance-editorial-rule,.entrance-editorial-foot{display:none}
 .entrance-access{width:min(100%,540px);gap:0}
 .entrance-shell .entrance-glass{padding:clamp(24px,5vw,38px);border-radius:23px}
 .entrance-glass-mark{display:none}
 .entrance-shell .entrance-welcome{margin-top:23px;font-size:35px}
 .entrance-invitation{margin-bottom:23px}
 .entrance-access-floor{display:none}
 .entrance-bottom{padding:19px 24px}
}
@media(max-width:520px){
 .entrance-topbar{padding:19px 19px 0}
 .entrance-brand-name{font-size:9px;letter-spacing:.22em}
 .entrance-brand-symbol{width:31px;height:31px}
 .entrance-stage{gap:16px;padding:13px 15px 27px}
 .entrance-object{width:clamp(100px,28vw,145px)}
 .entrance-editorial h1{font-size:clamp(31px,9vw,42px);line-height:1.06;margin:9px 0 5px}
 .entrance-overline{font-size:8px;letter-spacing:.23em}
 .entrance-editorial h1 br{display:none}
 .entrance-shell .entrance-glass{padding:23px 21px 26px;border-radius:22px}
 .entrance-glass-top{font-size:9px}
 .entrance-shell .entrance-welcome{font-size:32px;margin-top:21px}
 .entrance-invitation{margin:6px 0 19px}
 .entrance-form .field{margin:13px 0 0}
 .entrance-form input{min-height:50px;height:50px;font-size:16px}
 .entrance-form .entrance-enter{min-height:51px;margin-top:17px}
 .entrance-access-footer{margin:15px 0 0;gap:8px;padding:15px 0 0}
 .entrance-age{font-size:8px;margin:18px 0 0}
 .entrance-bottom{padding:14px 18px;gap:8px}
 .entrance-bottom>span:last-child{display:none}
}
@media(max-height:750px) and (min-width:821px){.entrance-stage{padding-top:25px;padding-bottom:28px}.entrance-object{width:clamp(180px,21vw,300px)}.entrance-glass-mark{margin:22px auto 12px}.entrance-invitation{margin-bottom:19px}.entrance-glass{padding:30px 36px}.entrance-editorial h1{font-size:clamp(42px,4.3vw,60px)}}
@media(prefers-reduced-motion:reduce){.entrance-shell *, .entrance-shell *:before,.entrance-shell *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* OBSIDIAN GLASS — refined optical depth and a quieter entrance */
.entrance-editorial{justify-content:center;align-items:center;min-height:460px;gap:0}
.entrance-object{width:clamp(310px,32vw,470px)}
.entrance-object-shadow{width:70%;left:15%;top:88%;filter:blur(32px);opacity:.58}
.entrance-orb{
 border:1px solid rgba(236,243,253,.59);
 background:
  radial-gradient(circle at 29% 15%,rgba(255,255,255,.27),transparent 29%),
  radial-gradient(ellipse at 76% 83%,rgba(214,173,140,.30),transparent 52%),
  conic-gradient(from 195deg,#151922,#64768a8a 20%,#141721 41%,#c1ad9b74 58%,#313f50 77%,#141620 94%,#151922);
 box-shadow:inset 7px 7px 32px rgba(243,248,255,.18),inset -18px -20px 50px rgba(2,4,12,.76),0 0 0 1px rgba(240,245,255,.09),0 28px 90px rgba(0,0,0,.68),0 0 100px rgba(159,185,212,.13)
}
.entrance-orb-inner{border-color:rgba(239,231,223,.48);box-shadow:inset 0 0 40px #090b14,0 0 18px #b7bac324}
.entrance-orb-glint{border-top-color:rgba(255,251,243,.69);border-left-color:rgba(197,222,246,.35)}
.entrance-shell .entrance-glass{
 border:1px solid rgba(242,246,252,.63);
 outline:1px solid rgba(217,227,241,.18);outline-offset:6px;
 background:
  radial-gradient(ellipse 105% 70% at 0% 0%,rgba(231,240,255,.17),transparent 65%),
  linear-gradient(145deg,rgba(214,228,246,.20) 0%,rgba(142,164,193,.11) 24%,rgba(27,34,49,.43) 55%,rgba(9,12,20,.78) 100%);
 box-shadow:
  inset 0 1px 0 rgba(255,255,255,.69),
  inset 1px 1px 9px rgba(255,255,255,.09),
  inset -1px -2px 10px rgba(8,10,17,.61),
  0 0 0 1px rgba(210,224,240,.11),
  0 38px 106px rgba(0,0,0,.69),
  0 0 108px rgba(138,171,208,.16);
 -webkit-backdrop-filter:blur(40px) saturate(158%);
 backdrop-filter:blur(40px) saturate(158%)
}
.entrance-shell .entrance-glass:before{
 z-index:0;inset:7px;border-radius:20px;pointer-events:none;
 border:1px solid rgba(235,244,255,.22);
 background:
  linear-gradient(127deg,rgba(255,255,255,.20),transparent 28%,transparent 73%,rgba(205,214,233,.07)),
  linear-gradient(180deg,rgba(255,255,255,.08),transparent 29%);
 box-shadow:inset 0 1px rgba(255,255,255,.22)
}
.entrance-shell .entrance-glass:after{
 z-index:0;pointer-events:none;
 position:absolute;top:-38%;left:-92%;right:auto;width:80%;height:170%;
 background:linear-gradient(90deg,transparent,rgba(243,247,255,.025) 28%,rgba(246,238,231,.095) 49%,rgba(225,233,249,.038) 62%,transparent 82%);
 filter:blur(19px);transform:rotate(15deg);
 animation:entranceGlassSweep 24s ease-in-out infinite
}
.entrance-shell .entrance-glass > *{position:relative;z-index:1}
.entrance-form input{
 background:linear-gradient(133deg,rgba(41,51,70,.65),rgba(10,13,22,.86));
 border-color:rgba(210,222,240,.40);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 1px 0 rgba(255,255,255,.035)
}
.entrance-form input:hover{border-color:rgba(230,235,245,.67)}
.entrance-form .entrance-enter{
 background:linear-gradient(112deg,#F4ECE1 0%,#E9D9C8 40%,#D3B9A0 75%,#F3E7D9 100%);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.91),inset 0 -1px 0 rgba(104,84,65,.23),0 12px 32px rgba(203,183,154,.18)
}
@keyframes entranceGlassSweep{
 0%,26%{transform:translateX(-18%) rotate(15deg);opacity:0}
 42%{opacity:.68}
 61%{transform:translateX(280%) rotate(15deg);opacity:.12}
 62%,100%{transform:translateX(280%) rotate(15deg);opacity:0}
}
@media(max-width:1120px) and (min-width:821px){
 .entrance-editorial{min-height:370px}
 .entrance-object{width:clamp(255px,29vw,370px)}
}
@media(max-width:820px){
 .entrance-editorial{min-height:0}
 .entrance-object{width:clamp(168px,29vw,242px)}
 .entrance-stage{gap:28px;padding-top:26px}
}
@media(max-width:520px){
 .entrance-object{width:clamp(126px,33vw,167px)}
 .entrance-stage{gap:19px;padding-top:17px}
 .entrance-shell .entrance-glass{-webkit-backdrop-filter:blur(25px) saturate(140%);backdrop-filter:blur(25px) saturate(140%)}
}
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){
 .entrance-shell .entrance-glass{background:linear-gradient(145deg,#303743,#151923)}
}
@media(prefers-reduced-motion:reduce){.entrance-shell .entrance-glass:after{animation:none;opacity:0}}


/* Private entrance refinement: only the original glass card remains. */
.entrance-shell .entrance-stage{
  width:min(100%,760px);
  grid-template-columns:minmax(0,1fr);
  justify-items:center;
  justify-content:center;
  align-content:center;
  padding:clamp(36px,7vh,85px) 24px;
  gap:0;
}
.entrance-shell .entrance-access{width:min(100%,580px);margin:auto;}
.entrance-shell .entrance-glass{width:min(100%,520px);}
@media(max-width:820px){
 .entrance-shell .entrance-stage{
  display:flex;flex-direction:column;align-items:center;
  width:min(100%,620px);
  padding:clamp(30px,6vh,60px) 20px;
 }
}
@media(max-width:520px){
 .entrance-shell .entrance-stage{padding:40px 15px 32px;}
}

/* ==== assets/glass-themes.css ==== */

/* OBSIDIAN GLASS themes for signed-in screens ONLY.
   The public login, signup, recovery, and consent pages remain unchanged. */
body[data-ambience="dark-glass"] .shell{
  color-scheme:dark;
  --bg:#0b0e15;--surface:#131c29;--raised:#1c2938;
  --line:rgba(199,218,240,.20);--line2:rgba(215,232,251,.44);
  --txt:#f4f0eb;--muted:#bac5d1;--gold:#d7b99a;--goldlight:#efdac0;
  --rose:#899db5;--blue:#a7baca;
  --og-glass:linear-gradient(145deg,rgba(158,185,216,.20),rgba(24,32,47,.65) 70%,rgba(11,16,26,.90));
  --og-soft:rgba(144,166,192,.10);--og-input:#0d1623da;--og-hl:rgba(255,255,255,.21);
  --og-border:rgba(220,235,255,.36);--og-shadow:rgba(0,0,0,.31);
  --og-primary:linear-gradient(115deg,#f3e7d8,#d6bba0);--og-primary-ink:#19202c;
  --og-chat:linear-gradient(150deg,#111c2b,#0b111c);
  --og-user:linear-gradient(125deg,#526781,#394e69);
  --og-ai:linear-gradient(125deg,#273649,#182538);
}
body[data-ambience="light-glass"] .shell{
  color-scheme:light;
  --bg:#e9eef3;--surface:#f4f7fbd9;--raised:#e5ebf2;
  --line:rgba(70,94,120,.25);--line2:rgba(68,95,123,.47);
  --txt:#1f2d3e;--muted:#4c5d70;--gold:#786047;--goldlight:#72573b;
  --rose:#8195a9;--blue:#748ca4;
  --og-glass:linear-gradient(145deg,rgba(255,255,255,.91),rgba(221,233,244,.79) 65%,rgba(203,217,233,.80));
  --og-soft:rgba(255,255,255,.54);--og-input:#fbfdfff0;--og-hl:rgba(255,255,255,.92);
  --og-border:rgba(88,115,145,.39);--og-shadow:rgba(49,74,100,.15);
  --og-primary:linear-gradient(120deg,#30445c,#1e3044);--og-primary-ink:#fffaf2;
  --og-chat:linear-gradient(150deg,#f5f8fc,#e8eef6);
  --og-user:linear-gradient(125deg,#344b65,#4e6680);
  --og-ai:linear-gradient(130deg,#ffffff,#dce7f2);
}
body[data-ambience="dark-glass"]:has(.shell){
  background:radial-gradient(ellipse 55% 54% at 7% 9%,#40587555,transparent 74%),radial-gradient(ellipse 50% 50% at 96% 80%,#775a6640,transparent 76%),#090d14;
  color:#f4f0eb;
}
body[data-ambience="light-glass"]:has(.shell){
  background:radial-gradient(ellipse 62% 60% at 6% 6%,#b0c2d6ab,transparent 70%),radial-gradient(ellipse 45% 65% at 93% 85%,#dbcabfac,transparent 78%),#e9eef3;
  color:#1f2d3e;
}
body[data-ambience="light-glass"]:has(.shell):before{opacity:.04;background:repeating-linear-gradient(0deg,transparent 0 7px,#445c70 7px 8px)}
body[data-ambience="dark-glass"]:has(.shell):before{opacity:.11}
body[data-ambience="dark-glass"] .shell,
body[data-ambience="light-glass"] .shell{color:var(--txt)}
body[data-ambience="dark-glass"] .shell :is(.muted,.hint,.minor),
body[data-ambience="light-glass"] .shell :is(.muted,.hint,.minor){color:var(--muted)}
body[data-ambience="dark-glass"] .shell :is(.card,.panel,.empty,.preview,.info-value,.lower,.cs-workspace),
body[data-ambience="light-glass"] .shell :is(.card,.panel,.empty,.preview,.info-value,.lower,.cs-workspace){
  background:var(--og-glass);
  border:1px solid var(--og-border);
  color:var(--txt);
  box-shadow:inset 0 1px 0 var(--og-hl),0 17px 50px var(--og-shadow);
  -webkit-backdrop-filter:blur(15px) saturate(120%);
  backdrop-filter:blur(15px) saturate(120%);
}
body[data-ambience="dark-glass"] .shell .hero{
  background:radial-gradient(ellipse at 87% 28%,#b9d0e12b,transparent 55%),linear-gradient(125deg,#263446,#141d2b 56%,#0f1520);
  border-color:var(--og-border);box-shadow:inset 0 1px #ffffff20,0 25px 62px #0006;
}
body[data-ambience="light-glass"] .shell .hero{
  background:radial-gradient(ellipse at 85% 28%,#fffaf5db,transparent 59%),linear-gradient(120deg,#d2dfeb,#ecf1f7 64%,#d8e3ed);
  border:1px solid var(--og-border);
  box-shadow:inset 0 1px #ffffffc9,0 23px 55px #415a7430;
}
body[data-ambience="dark-glass"] .shell .hero p{color:#d1dbe5}
body[data-ambience="light-glass"] .shell .hero p{color:#47596d}
body[data-ambience="dark-glass"] .shell .hero:before{border-color:#f0f5ff1c}
body[data-ambience="light-glass"] .shell .hero:before{border-color:#ffffffbd}
body[data-ambience="light-glass"] .shell .hero:after{color:#647f9822}
body[data-ambience="dark-glass"] .shell .card:before{border-color:#e9f5ff25}
body[data-ambience="light-glass"] .shell .card:before{border-color:#ffffffa1}
body[data-ambience="dark-glass"] .shell .card:hover,
body[data-ambience="light-glass"] .shell .card:hover{border-color:var(--line2);box-shadow:inset 0 1px var(--og-hl),0 22px 60px var(--og-shadow)}
body[data-ambience="dark-glass"] .shell :is(.card p,.lower p,.preview p),
body[data-ambience="light-glass"] .shell :is(.card p,.lower p,.preview p){color:var(--muted)}
body[data-ambience="dark-glass"] .shell :is(.top,.footer,.card .actions,.editor-bottom),
body[data-ambience="light-glass"] .shell :is(.top,.footer,.card .actions,.editor-bottom){border-color:var(--line)}
body[data-ambience="dark-glass"] .shell :is(.quiet,.small,.tab,.seg button,.cs-thread-tool,.cs-mini-action,.cs-story-recap-btn),
body[data-ambience="light-glass"] .shell :is(.quiet,.small,.tab,.seg button,.cs-thread-tool,.cs-mini-action,.cs-story-recap-btn){
  background:var(--og-soft);border:1px solid var(--line);color:var(--txt)
}
body[data-ambience="dark-glass"] .shell :is(.quiet,.small,.tab,.cs-thread-tool,.cs-mini-action,.cs-story-recap-btn):hover,
body[data-ambience="light-glass"] .shell :is(.quiet,.small,.tab,.cs-thread-tool,.cs-mini-action,.cs-story-recap-btn):hover{border-color:var(--line2);background:var(--raised)}
body[data-ambience="dark-glass"] .shell :is(.btn,.tab.active,.seg button.selected),
body[data-ambience="light-glass"] .shell :is(.btn,.tab.active,.seg button.selected){
  background:var(--og-primary);color:var(--og-primary-ink);border:1px solid var(--line2);box-shadow:inset 0 1px #ffffff42,0 8px 24px var(--og-shadow)
}
body[data-ambience="dark-glass"] .shell .btn.secondary,
body[data-ambience="light-glass"] .shell .btn.secondary{
 background:var(--og-soft);color:var(--txt);border:1px solid var(--line2);box-shadow:none
}
body[data-ambience="dark-glass"] .shell .seg,
body[data-ambience="light-glass"] .shell .seg{background:var(--og-soft);border-color:var(--line)}
body[data-ambience="dark-glass"] .shell :is(input,textarea,select),
body[data-ambience="light-glass"] .shell :is(input,textarea,select){
 background:var(--og-input);color:var(--txt);border:1px solid var(--line2);box-shadow:inset 0 1px var(--og-hl)
}
body[data-ambience="light-glass"] .shell :is(input,textarea,select)::placeholder{color:#657489}
body[data-ambience="dark-glass"] .shell :is(input,textarea,select)::placeholder{color:#aebbd0}
body[data-ambience="dark-glass"] .shell :is(.checkgrid .check,.slider-field,.cs-thread,.cs-note),
body[data-ambience="light-glass"] .shell :is(.checkgrid .check,.slider-field,.cs-thread,.cs-note){
 background:var(--og-soft);color:var(--txt);border-color:var(--line)
}
body[data-ambience="dark-glass"] .shell .checkgrid .check:has(input:checked),
body[data-ambience="light-glass"] .shell .checkgrid .check:has(input:checked){background:var(--raised);border-color:var(--line2)}
body[data-ambience="dark-glass"] .shell .avatar:not(:has(img)),
body[data-ambience="light-glass"] .shell .avatar:not(:has(img)){background:radial-gradient(circle at 24% 18%,#e8f0f8,#8b9eaf 50%,#36485d);color:#152133}
body[data-ambience="light-glass"] .shell .avatar:not(:has(img)){background:radial-gradient(circle at 25% 17%,#fff,#bccddb 52%,#829ab0)}
body[data-ambience="dark-glass"] .shell .cs-workspace,
body[data-ambience="light-glass"] .shell .cs-workspace{overflow:hidden}
body[data-ambience="dark-glass"] .shell .cs-side,
body[data-ambience="light-glass"] .shell .cs-side{
 background:linear-gradient(145deg,var(--og-soft),var(--surface));border-color:var(--line)
}
body[data-ambience="dark-glass"] .shell :is(.cs-chat,.cs-messages),
body[data-ambience="light-glass"] .shell :is(.cs-chat,.cs-messages){background:var(--og-chat)}
body[data-ambience="dark-glass"] .shell :is(.cs-header,.cs-composer,.cs-story-recap),
body[data-ambience="light-glass"] .shell :is(.cs-header,.cs-composer,.cs-story-recap){
 background:var(--og-glass);border-color:var(--line)
}
body[data-ambience="dark-glass"] .shell .cs-bubble.from-user,
body[data-ambience="light-glass"] .shell .cs-bubble.from-user{background:var(--og-user);border-color:#bed2e75e;color:#fff}
body[data-ambience="dark-glass"] .shell .cs-bubble.from-ai{background:var(--og-ai);border-color:var(--line2);color:#f1f4fa}
body[data-ambience="light-glass"] .shell .cs-bubble.from-ai{background:var(--og-ai);border-color:var(--line2);color:#233247}
body[data-ambience="dark-glass"] .shell .cs-bubble.from-user small,
body[data-ambience="light-glass"] .shell .cs-bubble.from-user small{color:#f4dfc2}
body[data-ambience="light-glass"] .shell .cs-bubble.from-ai small{color:#65503e}
body[data-ambience="light-glass"] .shell .cs-thread.active{background:rgba(112,143,172,.19);border-color:var(--line2)}
body[data-ambience="light-glass"] .shell .cs-note strong{color:#665039}
body[data-ambience="light-glass"] .shell .cs-badge{background:#ffffffb8;color:#4f5e6f}
body[data-ambience="light-glass"] .shell .cs-bubble.from-user .cs-mini-action{color:#fff;border-color:#f0f5ff6a}
body[data-ambience="dark-glass"] .shell .ambience-toggle,
body[data-ambience="light-glass"] .shell .ambience-toggle{min-height:40px;display:inline-flex;gap:9px;align-items:center}
body[data-ambience="dark-glass"] .shell .ambience-toggle .mood-icon,
body[data-ambience="light-glass"] .shell .ambience-toggle .mood-icon{font-size:17px}
body[data-ambience="light-glass"] .shell :is(.privacy-warning,.footer,.account-card){color:var(--muted)}
body[data-ambience="light-glass"] .shell .privacy-actions .danger-action{background:#fff1f1;color:#873d49;border-color:#a95b64}
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){
 body[data-ambience="dark-glass"] .shell :is(.card,.panel,.empty,.preview,.info-value,.lower,.cs-workspace){background:#1b2737}
 body[data-ambience="light-glass"] .shell :is(.card,.panel,.empty,.preview,.info-value,.lower,.cs-workspace){background:#edf3f8}
}
@media(max-width:720px){
 body[data-ambience="dark-glass"] .shell :is(.card,.panel,.cs-workspace),
 body[data-ambience="light-glass"] .shell :is(.card,.panel,.cs-workspace){
  -webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)
 }
 body[data-ambience="dark-glass"] .shell .editor-bottom,
 body[data-ambience="light-glass"] .shell .editor-bottom{background:var(--surface)}
}
@media(prefers-reduced-motion:reduce){
 body[data-ambience="dark-glass"] .shell *,body[data-ambience="light-glass"] .shell *{transition:none!important}
}

/* ==== assets/support.css ==== */

/* OBSIDIAN GLASS: optional-support information page. No checkout or payment data. */
.shell .support-page{max-width:1110px;margin:0 auto;padding:0 0 25px;color:var(--txt)}
.shell .support-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}
.shell .support-top .eyebrow{text-align:right}
.shell .support-hero{
 position:relative;isolation:isolate;overflow:hidden;padding:clamp(35px,6vw,79px);
 border-radius:28px;border:1px solid var(--og-border,var(--line2));
 background:radial-gradient(ellipse 54% 72% at 95% 0%,rgba(172,193,221,.18),transparent 85%),var(--og-glass,linear-gradient(135deg,#2c3442,#171d28));
 box-shadow:inset 0 1px var(--og-hl,#ffffff45),0 27px 70px var(--og-shadow,#0006);
 -webkit-backdrop-filter:blur(20px) saturate(125%);backdrop-filter:blur(20px) saturate(125%)
}
.shell .support-hero:after{content:"";position:absolute;right:-18%;top:-140px;width:62%;height:450px;border-radius:50%;z-index:-1;pointer-events:none;background:radial-gradient(circle,#aabed827,transparent 72%);filter:blur(35px)}
.shell .support-monogram{height:67px;width:67px;margin:0 0 25px;padding:9px;border-radius:50%;display:grid;place-items:center;color:var(--goldlight);border:1px solid var(--line2);box-shadow:inset 0 1px #ffffff5c,0 0 35px #b2bec723}
.shell .support-monogram svg{width:100%;height:100%}
.shell .support-hero h1{font:normal clamp(38px,5.1vw,66px)/1.14 Georgia,serif;letter-spacing:-.044em;color:var(--txt);margin:15px 0 19px}
.shell .support-hero h1 em{font-weight:400;color:var(--gold)}
.shell .support-hero>p{color:var(--muted);max-width:635px;font-size:15px;line-height:1.8}
.shell .support-state{display:flex;align-items:flex-start;gap:15px;margin:31px 0 0;padding:19px 23px;max-width:650px;border-radius:16px;background:var(--og-soft,rgba(255,255,255,.08));border:1px solid var(--line2)}
.shell .support-state strong{display:block;font-size:14px;color:var(--txt);margin-bottom:5px}
.shell .support-state p{font-size:12px;line-height:1.7;margin:0;color:var(--muted)}
.shell .support-dot{display:block;flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--gold);margin-top:5px;box-shadow:0 0 0 5px color-mix(in srgb,var(--gold) 12%,transparent)}
.shell .support-priorities{margin:38px 0 0}
.shell .support-heading h2{font:normal clamp(28px,3.2vw,39px) Georgia,serif;letter-spacing:-.032em;margin:11px 0 21px}
.shell .support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.shell .support-glass{padding:29px 25px;min-height:190px;background:var(--og-glass,var(--surface));border:1px solid var(--og-border,var(--line2));border-radius:20px;box-shadow:inset 0 1px var(--og-hl,#ffffff20),0 15px 38px var(--og-shadow,#0003)}
.shell .support-number{display:block;font-size:10px;letter-spacing:.18em;color:var(--gold);margin-bottom:23px}
.shell .support-glass h3{font:normal 24px Georgia,serif;margin:0 0 12px;line-height:1.2}
.shell .support-glass p{font-size:13px;line-height:1.75;color:var(--muted);margin:0}
.shell .support-note{max-width:770px;margin:26px 0 0;padding:0 4px}
.shell .support-note p{font-size:12px;line-height:1.7;color:var(--muted)}
.shell .support-close{margin:25px 0 0}
.shell .support-teaser{margin-top:22px}
.shell .support-teaser p{max-width:590px;line-height:1.7;color:var(--muted)}
.shell .support-teaser .btn{margin-top:6px}
@media(max-width:800px){.shell .support-grid{grid-template-columns:1fr}.shell .support-glass{min-height:0}.shell .support-top{align-items:flex-start}.shell .support-top .eyebrow{font-size:9px}.shell .support-hero{padding:30px 22px}.shell .support-state{padding:16px}.shell .support-priorities{margin-top:28px}}
@media(max-width:480px){.shell .support-top{flex-direction:column;gap:14px}.shell .support-top .eyebrow{text-align:left}.shell .support-hero h1{font-size:38px}.shell .support-state{padding:14px;gap:10px}}

/* ==== assets/member-header.css ==== */
/* Sorvessa compact authenticated navigation */
.top{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:14px;margin-bottom:25px;padding:18px 0 15px}
.top .brand{display:flex;align-items:center;gap:9px;flex:0 0 auto;min-width:0;font-size:clamp(20px,2.05vw,27px);letter-spacing:-.065em;line-height:1.05}
.top .brand-name{white-space:nowrap;font-size:1em;font-weight:600}
.top .brand .beta{display:inline-flex;align-items:center;white-space:nowrap;margin:0;padding:5px 8px;border-radius:999px;font:700 9px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.11em}
.top .header-actions{display:flex;flex:0 1 auto;align-items:center;flex-wrap:nowrap;justify-content:flex-end;gap:7px;min-width:0}
.top .header-actions .quiet{display:inline-flex;justify-content:center;align-items:center;min-height:38px;white-space:nowrap;font-size:12px;padding:8px 12px;border-radius:999px}
.top .header-actions .ambience-toggle{gap:6px}
.top .header-actions .ambience-toggle .mood-icon{font-size:17px;line-height:1}
.top .header-actions .ambience-name{font-size:12px;white-space:nowrap}
.top .header-actions .muted{display:none}
.top .cs-member-wallet{display:inline-flex;align-items:center;gap:5px;padding:9px 12px;min-height:38px;background:linear-gradient(115deg,#493147,#302339);color:#ffdfa6;border:1px solid #c6a076;border-radius:999px;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.1}
.top .cs-member-wallet strong{font-weight:800}
.top .cs-streak-badge{min-height:38px}
@media(max-width:1170px){
 .top .brand .beta{display:none}
 .top .brand{font-size:clamp(19px,2.05vw,24px)}
 .top .header-actions .ambience-name{display:none}
 .top .header-actions .quiet{padding:8px 11px}
}
@media(max-width:890px){
 .top{flex-wrap:wrap;align-items:flex-start;row-gap:12px}
 .top .brand{width:100%;font-size:25px}
 .top .brand .beta{display:inline-flex}
 .top .header-actions{width:100%;justify-content:flex-start;flex-wrap:wrap;gap:8px}
 .top .header-actions .ambience-name{display:inline}
}
@media(max-width:550px){
 .top{padding:16px 0 14px;margin-bottom:19px;row-gap:13px}
 .top .brand{flex-wrap:wrap;align-items:center;font-size:clamp(21px,6vw,25px);gap:7px}
 .top .brand .beta{font-size:8px;padding:5px 7px}
 .top .header-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .top .header-actions>.quiet,.top .header-actions>.cs-member-wallet,.top .header-actions>.cs-streak-badge{width:100%;min-width:0;min-height:39px;justify-content:center;text-align:center;padding:8px 5px}
 .top .header-actions .ambience-name{display:none}
 .top .cs-member-wallet,.top .cs-streak-badge{font-size:12px}
}

@media(max-width:550px){.top .header-actions #help-report{display:none}}
.footer .cs-footer-feedback{background:none;border:none;color:#dfbacc;text-decoration:underline;font:inherit;font-size:12px;cursor:pointer;padding:2px 5px;margin-left:5px}.footer .cs-footer-feedback:hover{color:#ffe6dd}.footer .cs-footer-feedback:focus-visible{outline:2px solid #e2aac7;outline-offset:2px}

/* ==== assets/member-streak.css ==== */
.top .cs-streak-badge{display:inline-flex;align-items:center;gap:5px;padding:9px 12px;border:1px solid #bd7b66;border-radius:999px;background:linear-gradient(120deg,#5b3035,#37273f);color:#ffe1c5;white-space:nowrap;font:inherit;font-size:13px;line-height:1.1;font-variant-numeric:tabular-nums;cursor:pointer}.top .cs-streak-badge:hover{background:#704047}.top .cs-streak-badge strong{font-weight:800}.cs-streak-dialog{border:1px solid #ae7b89;border-radius:20px;background:#211b2b;color:#f8eaf6;max-width:min(730px,calc(100vw - 26px));padding:24px;box-shadow:0 25px 70px #000b;box-sizing:border-box}.cs-streak-dialog::backdrop{background:#08070fbd}.cs-streak-dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.cs-streak-dialog-top h2{margin:6px 0;font-size:30px}.cs-streak-dialog-top p,.cs-streak-info{color:#d0bfce;line-height:1.55;font-size:13px}.cs-streak-kicker{font-size:11px;letter-spacing:1.7px;color:#e4bb9d;font-weight:800}.cs-streak-close,.cs-streak-reward button{padding:9px 12px;border:1px solid #9c7c9b;border-radius:9px;background:#48324e;color:#fff;cursor:pointer;font:inherit}.cs-streak-close:focus-visible,.cs-streak-reward button:focus-visible{outline:2px solid #e9c0a8;outline-offset:2px}.cs-streak-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:18px 0}.cs-streak-reward{border:1px solid #735974;border-radius:13px;background:linear-gradient(150deg,#30263a,#211c2c);padding:17px}.cs-streak-reward-title{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.cs-streak-reward-title strong{font-size:16px}.cs-streak-reward-title span{font-size:12px;color:#f2c6ac}.cs-streak-reward p{font-size:13px;color:#cfc0d5;line-height:1.5;min-height:55px}.cs-streak-track{background:#57415b;height:7px;border-radius:8px;overflow:hidden;margin:12px 0 8px}.cs-streak-track div{height:100%;background:linear-gradient(90deg,#dd8167,#f0c68e);border-radius:8px}.cs-streak-reward small{display:block;margin:8px 0 15px;color:#d2bfda}.cs-streak-reward button:disabled{cursor:default;opacity:.48}.cs-streak-status{min-height:20px;color:#f4c7a9;font-size:13px}@media(max-width:620px){.cs-streak-rewards{grid-template-columns:1fr}.cs-streak-dialog{padding:17px}.cs-streak-reward p{min-height:0}}
.cs-account-streak p{color:var(--muted,#cfc2d2);font-size:13px;line-height:1.55}.cs-account-streak p strong{color:var(--txt,#fff)}.cs-account-badge-row{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.cs-account-streak-badge{border:1px solid #b78e88;background:#473041;color:#ffe6ca;font-size:12px;border-radius:999px;padding:8px 11px}.cs-account-streak-badge.is-locked{border-color:#615b65;background:#2b2830;color:#a8a0a8;opacity:.75}.cs-streak-hint{font-size:12px!important}
/* ==== assets/companion-cinematic-production-v1.css ==== */
/* Sorvessa cinematic production visual candidate v0.4 - dark and light glass.
   The previous light-glass style is explicitly preserved as a working option.
   Presentation only; preserves existing portrait content and all member data behavior. */
body[data-ambience="dark-glass"],
body[data-ambience="dark-glass"] .shell{
  color-scheme: dark;
  --bg: #090811;
  --surface: #15111f;
  --raised: #211a2d;
  --line: rgba(199,165,242,.17);
  --line2: rgba(199,165,242,.42);
  --txt: #f7f1ff;
  --muted: #b6a9c9;
  --gold: #b994ff;
  --goldlight: #e0cbff;
  --rose: #b582d6;
  --blue: #8c73ca;
  --cin-ink: #f7f1ff;
  --cin-dim: #b2a5c1;
  --cin-hint: #927fa8;
  --cin-deep: #090811;
  --cin-surface: #14111e;
  --cin-panel: #1a1527;
  --cin-card: #211b30;
  --cin-line: rgba(205,174,247,.16);
  --cin-line-strong: rgba(206,163,255,.43);
  --cin-violet: #b994ff;
  --cin-lilac: #e3c9ff;
  --cin-primary: linear-gradient(122deg,#d1b0ff,#a57df2);
  --cin-shadow: 0 24px 68px rgba(2,0,12,.44);
  font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body[data-ambience="dark-glass"]{
  background: radial-gradient(ellipse 54% 36% at 80% -12%,rgba(116,63,175,.23),transparent 78%),
              radial-gradient(ellipse 40% 43% at -12% 46%,rgba(85,49,135,.14),transparent 82%),
              #090811;
  color:var(--cin-ink);
}

body[data-ambience="dark-glass"]:before{opacity:.09;background-size:100% 100%;}

body[data-ambience="dark-glass"] ::selection{background:#8660ba9e;color:#fff;}

body[data-ambience="dark-glass"] .shell button:focus-visible,
body[data-ambience="dark-glass"] .shell input:focus-visible,
body[data-ambience="dark-glass"] .shell select:focus-visible,
body[data-ambience="dark-glass"] .shell textarea:focus-visible,
body[data-ambience="dark-glass"] .shell a:focus-visible{
  outline:2px solid #d5b2ff;outline-offset:3px;
}

body[data-ambience="dark-glass"] .shell button,
body[data-ambience="dark-glass"] .shell input,
body[data-ambience="dark-glass"] .shell select,
body[data-ambience="dark-glass"] .shell textarea{font-family:inherit;}

body[data-ambience="dark-glass"] .shell input:not([type=checkbox]):not([type=range]),
body[data-ambience="dark-glass"] .shell textarea,
body[data-ambience="dark-glass"] .shell select{
  border-color:#745e9377;
  background:#110d1b;
  color:var(--cin-ink);
}

body[data-ambience="dark-glass"] .shell input:focus,
body[data-ambience="dark-glass"] .shell textarea:focus,
body[data-ambience="dark-glass"] .shell select:focus{border-color:#c099ff;box-shadow:0 0 0 3px #b994ff1b;}

body[data-ambience="dark-glass"] .shell input::placeholder,
body[data-ambience="dark-glass"] .shell textarea::placeholder{color:#a091ae;}

body[data-ambience="dark-glass"] .shell input[type=checkbox],
body[data-ambience="dark-glass"] .shell input[type=range]{accent-color:#b994ff;}

body[data-ambience="dark-glass"] .shell .muted,
body[data-ambience="dark-glass"] .shell .minor,
body[data-ambience="dark-glass"] .shell .hint{color:var(--cin-dim);}

body[data-ambience="dark-glass"] .shell .eyebrow,
body[data-ambience="dark-glass"] .shell .cs-up-top,
body[data-ambience="dark-glass"] .shell .cs-ret-kicker,
body[data-ambience="dark-glass"] .shell .mm-eyebrow{
  color:#c9a8ff;letter-spacing:.15em;
}

body[data-ambience="dark-glass"] .shell h1,
body[data-ambience="dark-glass"] .shell h2,
body[data-ambience="dark-glass"] .shell .brand,
body[data-ambience="dark-glass"] .shell .card h3,
body[data-ambience="dark-glass"] .shell .cs-titlebar h1,
body[data-ambience="dark-glass"] .shell .lower h3,
body[data-ambience="dark-glass"] .shell .cs-up-heading h1,
body[data-ambience="dark-glass"] .shell .cs-profile-head h1,
body[data-ambience="dark-glass"] .shell .cs-ret-gallery h1{color:var(--cin-ink);}

body[data-ambience="dark-glass"] .shell{max-width:1510px;padding:0 clamp(15px,3.2vw,48px) 34px;}

body[data-ambience="dark-glass"] .shell .top{
  margin:12px 0 29px;
  padding:19px 21px;
  border:1px solid var(--cin-line);
  border-radius:18px;
  background:linear-gradient(155deg,rgba(29,22,43,.94),rgba(15,12,25,.97));
  box-shadow:0 12px 46px #03000f3d;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

body[data-ambience="dark-glass"] .shell .top:after{bottom:-1px;left:20px;width:136px;background:linear-gradient(90deg,#c9a0ff,transparent);}

body[data-ambience="dark-glass"] .shell .top .brand{color:#f6efff;letter-spacing:-.05em;}

body[data-ambience="dark-glass"] .shell .top .brand .star{color:#d4b4ff;filter:drop-shadow(0 0 10px #9955ff44);}

body[data-ambience="dark-glass"] .shell .top .beta{border-color:#9671bc99;color:#dec8fa;background:#6b469033;}

body[data-ambience="dark-glass"] .shell .top .header-actions .quiet,
body[data-ambience="dark-glass"] .shell .top .ambience-toggle{
  background:#ffffff09;border:1px solid #d0adf729;color:#dfd1ed;border-radius:10px;
}

body[data-ambience="dark-glass"] .shell .top .header-actions .quiet:hover,
body[data-ambience="dark-glass"] .shell .top .ambience-toggle:hover{background:#74489a28;border-color:#c8a0ff80;}

body[data-ambience="dark-glass"] .shell .top .cs-member-wallet,
body[data-ambience="dark-glass"] .shell .top .cs-streak-badge{border-color:#c6a1ff47;background:#9b6ac017;}

body[data-ambience="dark-glass"] .shell .btn:not(.secondary),
body[data-ambience="dark-glass"] .shell .tab.active,
body[data-ambience="dark-glass"] .shell .seg button.selected{
  background:var(--cin-primary);color:#23142e;border:1px solid #d3b4ff99;
  box-shadow:0 7px 20px #7651ad30;
}

body[data-ambience="dark-glass"] .shell .btn:not(.secondary):hover,
body[data-ambience="dark-glass"] .shell .tab.active:hover{background:linear-gradient(122deg,#e4cdff,#b491ff);}

body[data-ambience="dark-glass"] .shell .btn.secondary,
body[data-ambience="dark-glass"] .shell .quiet,
body[data-ambience="dark-glass"] .shell .small,
body[data-ambience="dark-glass"] .shell .tab,
body[data-ambience="dark-glass"] .shell .seg button,
body[data-ambience="dark-glass"] .shell .cs-up-actions .small{
  border-color:#b996e043;background:#ffffff08;color:#e8d7f8;
}

body[data-ambience="dark-glass"] .shell .quiet:hover,
body[data-ambience="dark-glass"] .shell .small:hover,
body[data-ambience="dark-glass"] .shell .tab:hover,
body[data-ambience="dark-glass"] .shell .seg button:hover{border-color:#c1a2f187;background:#9b77c626;}

body[data-ambience="dark-glass"] .shell .seg,
body[data-ambience="dark-glass"] .shell .tabs{border-color:#70518466;}

body[data-ambience="dark-glass"] .shell .card,
body[data-ambience="dark-glass"] .shell .panel,
body[data-ambience="dark-glass"] .shell .lower,
body[data-ambience="dark-glass"] .shell .preview,
body[data-ambience="dark-glass"] .shell .empty,
body[data-ambience="dark-glass"] .shell .info-value,
body[data-ambience="dark-glass"] .shell .cs-up-card,
body[data-ambience="dark-glass"] .shell .cs-profile-panel,
body[data-ambience="dark-glass"] .shell .cs-pref-head,
body[data-ambience="dark-glass"] .shell .cs-bookmark-card{
  background:linear-gradient(145deg,rgba(40,30,57,.97),rgba(22,17,35,.96));
  border:1px solid var(--cin-line);
  box-shadow:0 14px 38px rgba(3,0,12,.24);
}

body[data-ambience="dark-glass"] .shell .card{position:relative;overflow:hidden;border-radius:19px;transition:transform .18s,border-color .18s,box-shadow .18s;}

body[data-ambience="dark-glass"] .shell .card:before{background:linear-gradient(120deg,#dfb1ff1e,transparent 52%);}

body[data-ambience="dark-glass"] .shell .card:hover{border-color:#ad84e59c;box-shadow:0 20px 48px #09021a77;transform:translateY(-2px);}

body[data-ambience="dark-glass"] .shell .card .avatar,
body[data-ambience="dark-glass"] .shell .avatar{
  border-color:#d4b0f25c;
  background:linear-gradient(138deg,#b995e8,#664992);
  box-shadow:0 9px 23px #1208216e;
}

body[data-ambience="dark-glass"] .shell .add-card{border-style:dashed;border-color:#9372b477;}

body[data-ambience="dark-glass"] .shell .panel{border-radius:19px;}

body[data-ambience="dark-glass"] .shell .progress>div,
body[data-ambience="dark-glass"] .shell .cs-streak-track div,
body[data-ambience="dark-glass"] .shell .mm-progress>div{background:linear-gradient(90deg,#8e5ad1,#cfafff);}

body[data-ambience="dark-glass"] .shell .notice,
body[data-ambience="dark-glass"] .shell .cs-status{border-color:#ad82e884;background:#51377452;color:#f1ddff;}

body[data-ambience="dark-glass"] .shell .hero{
  isolation:isolate;position:relative;
  min-height:238px;
  padding:35px clamp(23px,3.6vw,52px);
  border:1px solid #ae82e25b;
  border-radius:22px;
  background:radial-gradient(ellipse 56% 120% at 84% 16%,#b26ac456,transparent 69%),
             linear-gradient(112deg,#322044 0%,#21162f 54%,#140f24 100%);
  box-shadow:0 19px 56px #03000e72,inset 0 1px 0 #ffffff18;
  overflow:hidden;
}

body[data-ambience="dark-glass"] .shell .hero:before{opacity:.35;background:linear-gradient(90deg,transparent,#9069d120);pointer-events:none;}

body[data-ambience="dark-glass"] .shell .hero:after{
  content:"✦";position:absolute;right:7%;top:2%;font-family:Georgia,serif;
  font-size:clamp(120px,17vw,225px);font-weight:normal;line-height:1;
  color:#e2aef412;transform:rotate(-12deg);text-shadow:0 0 70px #b989ff29;
  pointer-events:none;
}

body[data-ambience="dark-glass"] .shell .hero>div{z-index:1;position:relative;}

body[data-ambience="dark-glass"] .shell .hero h1{font:normal clamp(36px,4.8vw,61px)/1.08 Georgia,"Times New Roman",serif;letter-spacing:-.052em;}

body[data-ambience="dark-glass"] .shell .hero p{color:#e0cfef;line-height:1.65;}

body[data-ambience="dark-glass"] .shell .hero .btn{border-radius:11px;}

body[data-ambience="dark-glass"] .shell .lower{border-radius:17px;padding:24px 28px;}

body[data-ambience="dark-glass"] .shell .editor-head{padding:11px 0 4px;}

body[data-ambience="dark-glass"] .shell .editor-head h1{font-size:clamp(36px,4.3vw,52px);letter-spacing:-.045em;}

body[data-ambience="dark-glass"] .shell .panel,
body[data-ambience="dark-glass"] .shell .cs-up-editor,
body[data-ambience="dark-glass"] .shell .cs-profile-panel{border-radius:20px;}

body[data-ambience="dark-glass"] .shell .step-head h2{font-family:Georgia,"Times New Roman",serif;color:#f3eaff;}

body[data-ambience="dark-glass"] .shell .checkgrid .check,
body[data-ambience="dark-glass"] .shell .cs-up-card,
body[data-ambience="dark-glass"] .shell .cs-up-summary p,
body[data-ambience="dark-glass"] .shell .cs-pf-check,
body[data-ambience="dark-glass"] .shell .cs-bookmark-card{border:1px solid #b78bde3b;background:#b78bde0e;border-radius:13px;}

body[data-ambience="dark-glass"] .shell .checkgrid .check:has(input:checked){border-color:#b994ffb8;background:#9f74ce32;}

body[data-ambience="dark-glass"] .shell .cs-up-card:hover,
body[data-ambience="dark-glass"] .shell .cs-bookmark-card:hover{border-color:#b994ff9e;}

body[data-ambience="dark-glass"] .shell .cs-up-card{padding:22px;}

body[data-ambience="dark-glass"] .shell .cs-up-form-status,
body[data-ambience="dark-glass"] .shell .cs-up-message{color:#d9c2f5;}

body[data-ambience="dark-glass"] .shell .cs-workspace{
  border-radius:22px;
  border:1px solid #bd93ee58;
  background:var(--cin-deep);
  box-shadow:var(--cin-shadow);
}

body[data-ambience="dark-glass"] .shell .cs-titlebar h1{font:normal clamp(36px,4.2vw,54px) Georgia,serif;letter-spacing:-.04em;}

body[data-ambience="dark-glass"] .shell .cs-side{
  background:linear-gradient(165deg,#1b1628,#110f1c);
  border-color:#d2b3ff20;
}

body[data-ambience="dark-glass"] .shell .cs-side-head strong,
body[data-ambience="dark-glass"] .shell .cs-character strong{color:#f2e6ff;}

body[data-ambience="dark-glass"] .shell .cs-thread{border-radius:12px;border-color:#ffffff12;background:#ffffff05;color:#e8daf7;}

body[data-ambience="dark-glass"] .shell .cs-thread.active{border-color:#9d7ad882;background:linear-gradient(90deg,#54396c91,#2f234661);box-shadow:inset 2px 0 0 #cfadff;}

body[data-ambience="dark-glass"] .shell .cs-chat{background:linear-gradient(180deg,#110f1b,#0b0a14);}

body[data-ambience="dark-glass"] .shell .cs-header{border-color:#ffffff12;background:#14101f;}

body[data-ambience="dark-glass"] .shell .cs-header-portrait,
body[data-ambience="dark-glass"] .shell .cs-avatar{background:linear-gradient(145deg,#d9b8e3,#8862b4);color:#2b173a;}

body[data-ambience="dark-glass"] .shell .cs-messages{background:radial-gradient(ellipse 62% 32% at 80% 0%,#63439120,transparent),#0e0c17;}

body[data-ambience="dark-glass"] .shell .cs-bubble.from-ai{background:linear-gradient(140deg,#2b2339,#211b2d);border-color:#a68dc136;color:#f1e7fa;}

body[data-ambience="dark-glass"] .shell .cs-bubble.from-user{background:linear-gradient(132deg,#6e4d94,#513773);border-color:#c39de261;color:#fff6ff;}

body[data-ambience="dark-glass"] .shell .cs-composer{background:linear-gradient(140deg,#21182d,#161121);border-color:#b18bdb54;}

body[data-ambience="dark-glass"] .shell .cs-note{background:#7759ae13;border-color:#9977cf32;color:#cbb8df;}

body[data-ambience="dark-glass"] .shell .cs-thread-tool,
body[data-ambience="dark-glass"] .shell .cs-mini-action{border-color:#b792dd47;color:#d4bae9;}

body[data-ambience="dark-glass"] .shell .cs-story-recap,
body[data-ambience="dark-glass"] .shell .cs-opening{border-color:#b792dd34;background:#694a8523;}

body[data-ambience="dark-glass"] .shell .cs-profile-panel,
body[data-ambience="dark-glass"] .shell .cs-preferences,
body[data-ambience="dark-glass"] .shell .cs-retention-hub,
body[data-ambience="dark-glass"] .shell .cs-ret-stat,
body[data-ambience="dark-glass"] .shell .cs-ret-tile,
body[data-ambience="dark-glass"] .shell .cs-ret-gallery,
body[data-ambience="dark-glass"] .shell .cs-ret-badge,
body[data-ambience="dark-glass"] .shell .mm-mission-card,
body[data-ambience="dark-glass"] .shell .mm-achievement{
  border-color:#bd93ee3c;
  background:linear-gradient(145deg,#261d35,#171324);
  box-shadow:0 12px 30px #05021131;
}

body[data-ambience="dark-glass"] .shell .cs-profile-avatar{border-color:#b68be38c;background:linear-gradient(140deg,#b690df,#624781);}

body[data-ambience="dark-glass"] .shell .cs-ret-head h2,
body[data-ambience="dark-glass"] .shell .cs-ret-gallery h1,
body[data-ambience="dark-glass"] .shell .cs-profile-head h1,
body[data-ambience="dark-glass"] .shell .cs-pref-head h1{font-family:Georgia,serif;letter-spacing:-.035em;}

body[data-ambience="dark-glass"] .shell .cs-ret-stat strong,
body[data-ambience="dark-glass"] .shell .cs-account-streak p strong{color:#e0c3ff;}

body[data-ambience="dark-glass"] .shell .cs-ret-tile button,
body[data-ambience="dark-glass"] .shell .cs-ret-small,
body[data-ambience="dark-glass"] .shell .cs-bookmark-card button,
body[data-ambience="dark-glass"] .shell .mm-mission-foot .ad-button{border-color:#af85da70;background:#51397570;color:#f2e3ff;}

body[data-ambience="dark-glass"] .shell .cs-pin{border-color:#a780c456;background:#6b48952b;}

body[data-ambience="dark-glass"] .shell .cs-pin:hover{border-color:#cfb1f7;}

body[data-ambience="dark-glass"] .cs-feedback-modal,
body[data-ambience="dark-glass"] .cs-streak-dialog{background:linear-gradient(146deg,#281f37,#15101f);border:1px solid #bd94ef74;color:#f1e9fc;}

body[data-ambience="dark-glass"] .shell #ad-arcade{--ad-purple:#c09aff;--ad-gold:#d2b1ff;color:#f1e8ff;}

body[data-ambience="dark-glass"] .shell #ad-arcade .ad-game,
body[data-ambience="dark-glass"] .shell #ad-arcade .ad-tile,
body[data-ambience="dark-glass"] .shell #ad-arcade .ad-arena,
body[data-ambience="dark-glass"] .shell #ad-arcade .ad-hud,
body[data-ambience="dark-glass"] .shell #ad-arcade .ad-intro{
  border-color:#c69af04b;
  background:linear-gradient(145deg,#292036,#171324);
}

body[data-ambience="dark-glass"] .shell #ad-arcade .ad-button,
body[data-ambience="dark-glass"] .shell #cs-chem .chem-btn{border-color:#ac84d569;background:#332641;color:#f4eaff;}

body[data-ambience="dark-glass"] .shell #ad-arcade .ad-primary,
body[data-ambience="dark-glass"] .shell #cs-chem .chem-primary{
  background:linear-gradient(135deg,#bf98f2,#9466d6);border-color:#e0b7ff;color:#22122b;
}

body[data-ambience="dark-glass"] .shell #cs-chem{--chem-gold:#d6b2ff;--chem-rose:#c38be2;color:#f4eaff;}

body[data-ambience="dark-glass"] .shell #cs-chem .chem-intro,
body[data-ambience="dark-glass"] .shell #cs-chem .chem-card,
body[data-ambience="dark-glass"] .shell #cs-chem .chem-question,
body[data-ambience="dark-glass"] .shell #cs-chem .chem-result{
  border-color:#c69af04a;
  background:linear-gradient(145deg,#30233e,#171324);
}

body[data-ambience="dark-glass"] .shell #cs-chem .chem-selected{border-color:#d6b2ff;background:#6d4d8e;}

body[data-ambience="dark-glass"] .consent-shell{background:radial-gradient(ellipse at 50% 0%,#5b35843e,transparent 60%),#090811;}

body[data-ambience="dark-glass"] .consent-page{background:linear-gradient(145deg,#211a2c,#120f1e);border-color:#a984d96c;box-shadow:var(--cin-shadow);}

body[data-ambience="dark-glass"] .login-shell.entrance-shell{
  --en-ivory:#f6efff;--en-silver:#c4b5d4;--en-champagne:#d4adff;--en-muted:#a99cb8;
  background:radial-gradient(ellipse 52% 63% at 25% 45%,#6b398552,transparent 72%),
             radial-gradient(ellipse 45% 47% at 85% 18%,#57427e42,transparent 74%),
             linear-gradient(140deg,#08070e,#100c1b 48%,#130f22 80%,#090710);
}

body[data-ambience="dark-glass"] .entrance-shell .entrance-glass{border-color:#c0a1ff51;background:linear-gradient(145deg,#261d35dd,#100c1dd9);}

body[data-ambience="dark-glass"] .entrance-shell .entrance-glass-mark,
body[data-ambience="dark-glass"] .entrance-brand-symbol{color:#ddbfff;}

body[data-ambience="dark-glass"] .entrance-form input{border-color:#af8bd458;color:#f7efff;background:#0c0919d9;}

body[data-ambience="dark-glass"] .entrance-form input:focus{border-color:#d8b7ff;box-shadow:0 0 0 3px #9e6bd333;}

body[data-ambience="dark-glass"] .entrance-form .entrance-enter{background:linear-gradient(120deg,#d6b4ff,#a782ed);color:#271333;border-color:#e3cbff;}

body[data-ambience="dark-glass"] .entrance-form .entrance-enter:hover:not(:disabled){background:linear-gradient(120deg,#e8d4ff,#bb9cfd);}

body[data-ambience="dark-glass"] .entrance-editorial h1 em{color:#d7b9ff;}

body[data-ambience="dark-glass"] .entrance-orb{filter:hue-rotate(19deg) saturate(1.1);}

@media(max-width:760px) {body[data-ambience="dark-glass"] .shell{padding:0 14px 23px;}

body[data-ambience="dark-glass"] .shell .top{margin-top:8px;padding:13px;border-radius:14px;}

body[data-ambience="dark-glass"] .shell .hero{min-height:0;padding:29px 21px;border-radius:18px;}

body[data-ambience="dark-glass"] .shell .hero h1{font-size:clamp(32px,8vw,45px);}

body[data-ambience="dark-glass"] .shell .hero:after{font-size:120px;right:-7%;top:12%;}

body[data-ambience="dark-glass"] .shell .panel{padding:20px 17px;}

body[data-ambience="dark-glass"] .shell .cs-workspace{border-radius:17px;}

body[data-ambience="dark-glass"] .shell .cs-up-card{padding:17px;}}

@media(prefers-reduced-motion:reduce) {body[data-ambience="dark-glass"] .shell .card,
body[data-ambience="dark-glass"] .shell button{transition-duration:.01ms!important;}}
/* Light Glass retains its own legible palette and gets violet accents. */
body[data-ambience="light-glass"] .shell {
  --gold:#8057b9; --goldlight:#6e439f; --rose:#9770c5; --blue:#8a6ac0;
  --line:rgba(94,62,135,.24);--line2:rgba(94,62,135,.44);
}
body[data-ambience="light-glass"] .shell .top,
body[data-ambience="light-glass"] .shell .card,
body[data-ambience="light-glass"] .shell .panel,
body[data-ambience="light-glass"] .shell .cs-workspace,
body[data-ambience="light-glass"] .shell .cs-up-card {
 border-color:rgba(111,76,167,.26);
 box-shadow:0 14px 42px rgba(57,34,94,.09);
}
body[data-ambience="light-glass"] .shell .hero {
 border-color:rgba(111,76,167,.28);
 background:radial-gradient(ellipse at 89% 5%,rgba(175,136,228,.23),transparent 68%),linear-gradient(130deg,#f8f4ff,#e8e0f6);
}
body[data-ambience="light-glass"] .shell .hero h1,
body[data-ambience="light-glass"] .shell .editor-head h1,
body[data-ambience="light-glass"] .shell .cs-titlebar h1{color:#302243;}
body[data-ambience="light-glass"] .shell .btn:not(.secondary),
body[data-ambience="light-glass"] .shell .tab.active,
body[data-ambience="light-glass"] .shell .seg button.selected{
 background:linear-gradient(120deg,#a578d6,#8154bf);color:#fff;border-color:#8c63c0;
}
body[data-ambience="light-glass"] .shell .eyebrow{color:#7747a8;}
body[data-ambience="light-glass"] .shell .cs-bubble.from-user{background:linear-gradient(120deg,#8259b6,#6e4e99);color:#fff;}
body[data-ambience="light-glass"] .shell .cs-bubble.from-ai{background:#eef0f9;color:#263149;}
body[data-ambience="light-glass"] .shell .cs-composer{background:#f4f3fa;color:#29354a;}
body[data-ambience="light-glass"] .shell .cs-composer :is(input,textarea){background:#fff;color:#28324a;}
body[data-ambience="light-glass"] .shell .cs-workspace{background:#eef1f9;}
body[data-ambience="light-glass"] .shell .cs-side{background:#e9eaf3;color:#29324a;}
body[data-ambience="light-glass"] .shell .cs-chat{background:#f6f6fb;color:#29324a;}
body[data-ambience="light-glass"] .shell .cs-messages{background:#f9f8fc;color:#29324a;}
body[data-ambience="light-glass"] .shell .cs-header{background:#f1eef9;color:#29324a;}
body[data-ambience="light-glass"] .shell .cs-thread{background:#fff;color:#29324a;}
body[data-ambience="light-glass"] .shell .cs-thread.active{background:#e4d8f4;border-color:#9866cb;}

/* ==== assets/cinematic-navigation-v03.css ==== */
/* Sorvessa cinematic navigation v0.3
   Additional responsive shell layer. No existing feature styles removed. */
.shell.cs-cinematic-shell{
  --cin-nav-bg: #100c1a;
  --cin-nav-panel: #1b1429;
  --cin-nav-text: #ede5fa;
  --cin-nav-muted: #a99dbb;
  --cin-nav-line: rgba(204,174,255,.16);
  --cin-nav-highlight: #c7a3ff;
  max-width: 1740px !important;
  margin: 0 auto;
  padding: 20px clamp(12px,2vw,32px) 42px !important;
  display: grid;
  grid-template-columns: 265px minmax(0,1fr);
  gap: clamp(16px,2vw,28px);
  align-items: start;
  position: relative;
}
body[data-ambience="light-glass"] .shell.cs-cinematic-shell{
  --cin-nav-bg: #f8f5ff;
  --cin-nav-panel: #efe7fa;
  --cin-nav-text: #332443;
  --cin-nav-muted: #756987;
  --cin-nav-line: rgba(92,58,143,.18);
  --cin-nav-highlight: #8151b7;
}
.cs-cinematic-main{min-width:0;width:100%;}
.cs-cinematic-main > :where(.hero,.toolbar,.cards,.panel,.cs-workspace,.cs-titlebar,.editor-head,.cs-up-page,.lower,.footer){max-width:100%;}
.cs-cin-sidebar{
  position:sticky;top:60px;
  background:linear-gradient(158deg,rgba(38,26,57,.98),var(--cin-nav-bg) 63%);
  border:1px solid var(--cin-nav-line);
  border-radius:22px;
  min-height:min(790px,calc(100dvh - 78px));
  max-height:calc(100dvh - 75px);
  display:flex;flex-direction:column;
  padding:22px 12px 13px;
  box-shadow:0 24px 66px rgba(4,0,17,.35);
  overflow:hidden;
  color:var(--cin-nav-text);
  isolation:isolate;
}
body[data-ambience="light-glass"] .cs-cin-sidebar{
  background:linear-gradient(155deg,#fffafd,#f3ebfa 68%,#eee6f9);
  box-shadow:0 16px 35px rgba(47,20,80,.1);
}
.cs-cin-brand{display:flex;gap:11px;align-items:center;padding:3px 12px 20px;border-bottom:1px solid var(--cin-nav-line);position:relative;}
.cs-cin-brand-mark{width:41px;height:41px;display:grid;place-items:center;flex-shrink:0;border-radius:13px;color:#f9f0ff;background:linear-gradient(135deg,#d2b5ff,#7650ba);box-shadow:0 0 24px #aa78ff55;font-size:23px;}
.cs-cin-brand strong{display:block;font-size:15px;line-height:1.1;letter-spacing:.08em;color:var(--cin-nav-text);}
.cs-cin-brand span{display:block;font-size:9px;letter-spacing:.2em;font-weight:750;color:var(--cin-nav-muted);margin-top:7px;}
.cs-cin-nav-scroller{overflow-y:auto;overflow-x:hidden;flex:1;scrollbar-width:thin;scrollbar-color:#8d70ad44 transparent;padding:10px 5px;}
.cs-cin-nav-group{margin-top:14px;}
.cs-cin-nav-heading{padding:12px 12px 8px;letter-spacing:.17em;font-size:10px;font-weight:800;color:var(--cin-nav-muted);}
.cs-cin-nav-item{
  width:100%;display:flex;gap:11px;align-items:center;text-align:left;
  padding:10px 12px;min-height:56px;margin:2px 0;
  border:1px solid transparent;border-radius:13px;
  color:var(--cin-nav-text);background:transparent;cursor:pointer;
  transition:background .16s ease,border-color .16s ease;
  box-shadow:none;transform:none;
}
.cs-cin-nav-icon{flex:0 0 20px;color:var(--cin-nav-muted);}
.cs-cin-nav-label{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0;}
.cs-cin-nav-label strong{font-size:12px;font-weight:680;line-height:1.25;letter-spacing:.015em;}
.cs-cin-nav-label small{font-size:10px;color:var(--cin-nav-muted);line-height:1.25;}
.cs-cin-nav-chevron{font-size:19px;color:var(--cin-nav-muted);opacity:0;transition:opacity .2s;}
.cs-cin-nav-item:hover,.cs-cin-nav-item:focus-visible{background:rgba(185,135,249,.10);border-color:var(--cin-nav-line);}
.cs-cin-nav-item:hover .cs-cin-nav-chevron{opacity:.85;}
.cs-cin-nav-item.is-active{
  background:linear-gradient(95deg,rgba(178,128,245,.2),rgba(116,71,169,.08));
  border-color:rgba(200,158,255,.38);
  box-shadow:inset 2px 0 var(--cin-nav-highlight);
}
.cs-cin-nav-item.is-active .cs-cin-nav-icon,.cs-cin-nav-item.is-active .cs-cin-nav-label strong{color:var(--cin-nav-highlight);}
body[data-ambience="light-glass"] .cs-cin-nav-item.is-active{background:linear-gradient(95deg,rgba(147,87,214,.16),rgba(171,131,220,.08));}
.cs-cin-feature{margin:12px 8px 15px;padding:14px 15px 16px;border-radius:15px;border:1px solid var(--cin-nav-line);background:linear-gradient(160deg,rgba(77,44,109,.38),rgba(38,21,60,.17));position:relative;overflow:hidden;}
body[data-ambience="light-glass"] .cs-cin-feature{background:linear-gradient(160deg,#e8d9f7,#f9f5ff);}
.cs-cin-feature-art{position:absolute;right:-24px;top:-29px;width:113px;height:113px;border-radius:50%;opacity:.7;background:radial-gradient(circle at 44% 47%,#cf9cfb7d,#8351c83b 39%,transparent 73%);pointer-events:none;}
.cs-cin-orbit{position:absolute;inset:12px;border:1px solid #d9c1ff99;border-radius:50%;transform:rotate(-23deg) scaleX(.75);}
.cs-cin-star{position:absolute;top:39px;right:46px;color:#e7d0ff;font-size:22px;}
.cs-cin-feature-kicker{display:block;position:relative;color:var(--cin-nav-highlight);font-size:9px;font-weight:760;letter-spacing:.13em;margin-bottom:9px;}
.cs-cin-feature strong{display:block;position:relative;font:normal 19px/1.17 Georgia,serif;color:var(--cin-nav-text);}
.cs-cin-feature p{position:relative;font-size:10px;line-height:1.6;color:var(--cin-nav-muted);margin:8px 0 0;}
.cs-cin-sidebar-foot{padding:12px 10px 1px;display:flex;align-items:center;gap:8px;font-size:10px;line-height:1.4;color:var(--cin-nav-muted);border-top:1px solid var(--cin-nav-line);}
.cs-cin-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b58bfa;box-shadow:0 0 9px #ae79f08c;}
.cs-cin-nav-close,.cs-cin-nav-shade,.cs-cin-menu-toggle{display:none;}
/* The existing account, appearance, currency, streak, home and support controls stay reachable. */
.shell.cs-cinematic-shell .cs-cinematic-main > .top{margin-top:0;min-width:0;gap:12px;}
.shell.cs-cinematic-shell .cs-cinematic-main > .top .brand{font-size:20px;}
.shell.cs-cinematic-shell .cs-cinematic-main > .top .header-actions{flex-wrap:wrap;justify-content:flex-end;row-gap:7px;}
.shell.cs-cinematic-shell .cs-cinematic-main > .top .header-actions button{white-space:nowrap;}
.shell.cs-cinematic-shell .cs-cinematic-main .cs-workspace{min-width:0;}
.shell.cs-cinematic-shell .cs-cinematic-main .cs-titlebar{flex-wrap:wrap;}
.shell.cs-cinematic-shell .cs-cinematic-main .hero{min-width:0;}
.shell.cs-cinematic-shell .cs-cinematic-main .hero h1{font-size:clamp(35px,3.2vw,56px);}
@media(min-width:1101px){
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .brand .beta{display:none;}
}
@media(max-width:1310px) and (min-width:1101px){
 .shell.cs-cinematic-shell{grid-template-columns:235px minmax(0,1fr);gap:14px;}
 .cs-cin-sidebar{padding-left:7px;padding-right:7px;}
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .header-actions .quiet{padding:8px 9px;font-size:11px;}
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .brand{font-size:18px;}
}
@media(max-width:1100px){
 .shell.cs-cinematic-shell{display:block;padding:8px clamp(12px,2.5vw,24px) 26px !important;}
 .cs-cin-sidebar{position:fixed;top:0;bottom:0;left:0;max-height:none;min-height:0;height:100dvh;width:min(325px,calc(100vw - 45px));border-radius:0 18px 18px 0;z-index:10003;transform:translateX(-110%);transition:transform .22s ease;visibility:hidden;box-shadow:20px 0 90px #000a;}
 .cs-cin-nav-shade{display:none;position:fixed;inset:0;z-index:10002;background:#05020bc9;border:0;}
 .cs-cin-open .cs-cin-nav-shade{display:block;}
 .cs-cin-open .cs-cin-sidebar{transform:translateX(0);visibility:visible;}
 .cs-cin-nav-close{margin-left:auto;display:grid;place-items:center;border:1px solid var(--cin-nav-line);color:var(--cin-nav-text);background:transparent;border-radius:8px;width:30px;height:30px;font-size:21px;}
 .cs-cin-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:39px;padding:8px 11px;color:var(--txt);background:var(--raised);border:1px solid var(--line2);border-radius:11px;}
 .shell.cs-cinematic-shell .cs-cinematic-main > .top{flex-wrap:wrap;}
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .header-actions{margin-left:auto;}
 body.cs-cin-nav-locked{overflow:hidden;}
}
@media(max-width:650px){
 .shell.cs-cinematic-shell .cs-cinematic-main > .top{padding:12px 11px;gap:8px;}
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .brand{font-size:17px;flex:1;}
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .header-actions{width:100%;justify-content:flex-start;gap:7px;flex-wrap:wrap;}
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .header-actions :is(.quiet,.ambience-toggle,.cs-member-wallet,.cs-streak-badge){display:inline-flex!important;min-height:34px;}
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .header-actions .quiet{font-size:11px;padding:7px 9px;}
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .header-actions .ambience-name{display:none;}
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .header-actions .cs-streak-badge,
 .shell.cs-cinematic-shell .cs-cinematic-main > .top .header-actions .cs-member-wallet{font-size:10px;}
 .shell.cs-cinematic-shell .cs-cinematic-main .hero h1{font-size:clamp(31px,9vw,41px);}
 .shell.cs-cinematic-shell .cs-cinematic-main .hero{padding:23px 17px;}
 .shell.cs-cinematic-shell .cs-cinematic-main .cs-workspace{border-radius:15px;}
}
@media(prefers-reduced-motion:reduce){.cs-cin-sidebar,.cs-cin-nav-item{transition:none!important;}}

/* ==== assets/studio-wow-experience-v1.css ==== */
/* COMPANION STUDIO // CINEMATIC EXPERIENCE v1
   Progressive enhancement only. All interactive core features remain owned by app.js.
   Supports dark/light themes, keyboard controls, narrow screens, and reduced motion. */
:root{--wow-purple:#b880f5;--wow-blush:#ecaeff;--wow-gold:#e9c4ff;--wow-panel:#190d29;--wow-line:#bb7ef641}
.cs-wow{color:#f7edff;display:block;min-width:0;isolation:isolate}
.cs-wow *{box-sizing:border-box}
.cs-wow button,.wow-dialog button{cursor:pointer}
.cs-wow :is(button,input):focus-visible,.wow-dialog :is(button,input):focus-visible,.wow-cinema-toggle:focus-visible{outline:2px solid #e9caff;outline-offset:3px}
.cs-wow .wow-overline,.wow-entrance-promo .wow-entry-eyebrow,.wow-dialog .wow-overline{margin:0;color:#dcb2ff;font-weight:800;letter-spacing:.21em;font-size:10px;line-height:1.6}
.cs-wow .wow-section{margin:34px 0 42px;scroll-margin-top:30px}
.cs-wow .wow-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}
.cs-wow .wow-section-head h2{font:normal clamp(27px,3.3vw,39px)/1.16 Georgia,"Times New Roman",serif;color:#f8eefe;letter-spacing:-.038em;margin:7px 0 7px}
.cs-wow .wow-section-head p:not(.wow-overline){font-size:13px;color:#bda9cc;line-height:1.6;margin:0}
.cs-wow .wow-text-button{width:auto;border:none;background:none;display:inline-flex;align-items:center;gap:8px;color:#e5adff;font-weight:700;font-size:12px;padding:8px 0;text-align:left;text-decoration:none}
.cs-wow .wow-text-button:hover{text-decoration:underline;text-underline-offset:5px;color:#fff}
.cs-wow .wow-button,.wow-dialog .wow-button{border-radius:999px;min-height:45px;display:inline-flex;align-items:center;justify-content:center;gap:13px;font-weight:740;font-size:12px;letter-spacing:.01em;padding:11px 22px;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}
.cs-wow .wow-button:hover,.wow-dialog .wow-button:hover{transform:translateY(-2px);filter:brightness(1.11)}
.cs-wow .wow-primary,.wow-dialog .wow-primary{border:1px solid #f3c3ff;background:linear-gradient(110deg,#8f42cc,#b760e2 53%,#7b37bd);color:#fff;box-shadow:inset 0 1px #ffddff77,0 8px 27px #a34bff70}
.cs-wow .wow-secondary,.wow-dialog .wow-secondary{border:1px solid #d79cff7a;background:#201034c9;color:#f0dafc;box-shadow:inset 0 1px #ffffff14}
.cs-wow .wow-hero{position:relative;min-height:345px;display:flex;align-items:center;overflow:hidden;border:1px solid #b675df82;border-radius:26px;padding:clamp(25px,3.8vw,52px);background:radial-gradient(ellipse 52% 80% at 78% 48%,#8a35d14b,transparent 73%),linear-gradient(105deg,#200b35 0%,#220d3b 45%,#170c26 80%,#0e0a1d 100%);box-shadow:inset 0 1px #ffddff35,0 20px 55px #03000bb7}
.cs-wow .wow-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 20% 10%,#f9e6ff18 1px,transparent 2px),radial-gradient(circle at 51% 48%,#f6dcff44 1px,transparent 2px),radial-gradient(circle at 66% 7%,#f3cdff52 1px,transparent 2px);background-size:190px 160px,250px 210px,340px 170px;opacity:.7}
.cs-wow .wow-hero-copy{position:relative;z-index:2;max-width:min(620px,63%);padding:1px 0}
.cs-wow .wow-hero h1{font:normal clamp(40px,4.5vw,66px)/1.04 Georgia,"Times New Roman",serif;color:#fff0ff;letter-spacing:-.056em;margin:13px 0 16px;text-shadow:0 4px 25px #12001da1}
.cs-wow .wow-hero h1 em{font-weight:normal;color:#e4adff;text-shadow:0 0 28px #b64bff78}
.cs-wow .wow-hero .wow-lead{font-size:clamp(13px,1.4vw,15px);color:#ddc9ee;line-height:1.66;max-width:475px;margin:0}
.cs-wow .wow-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.cs-wow .wow-hero-legal{font-size:9px;letter-spacing:.21em;color:#c8afd7;margin-top:30px}
.cs-wow .wow-hero-legal span{margin:0 5px;color:#b46bd6}
.cs-wow .wow-hero-art{position:absolute;inset:-20px -12px -15px 43%;background:linear-gradient(90deg,#1d0e31 0,transparent 28%),url('/assets/studio-portal-v1.svg') 65% 52%/contain no-repeat;opacity:.96;pointer-events:none}
.cs-wow .wow-hero-halo{position:absolute;right:11%;top:12%;width:41%;height:72%;border-radius:50%;background:#b95aff34;filter:blur(64px)}
.cs-wow .wow-hero-art-caption{position:absolute;right:5%;bottom:11%;font-size:9px;letter-spacing:.2em;color:#e7c3f4;white-space:nowrap;text-shadow:0 1px 12px #13001f}
.cs-wow .wow-experience-quick{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 19px}
.cs-wow .wow-experience-quick button{border:1px solid #b980de47;color:#dbc9ea;background:#241535;border-radius:999px;font-weight:680;font-size:11px;min-height:39px;padding:7px 14px}
.cs-wow .wow-experience-quick button:hover{border-color:#e0adffad;background:#53326b}
.cs-wow .wow-worlds{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.cs-wow .wow-world{position:relative;min-height:142px;overflow:hidden;text-align:left;padding:16px 12px;border:1px solid #b774e074;border-radius:17px;background:linear-gradient(149deg,#301744,#130b22 88%);color:#f7effe;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;isolation:isolate;transition:transform .19s,border-color .19s,box-shadow .19s}
.cs-wow .wow-world:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.85;background:radial-gradient(circle at 60% 23%,#e077fc64,transparent 36%),linear-gradient(140deg,#6a245176,#170c37a8 65%)}
.cs-wow .wow-world-romance:before{background:radial-gradient(circle at 62% 19%,#ff94ce83,transparent 46%),linear-gradient(140deg,#81335b,#1b092f 72%)}
.cs-wow .wow-world-mystery:before{background:radial-gradient(circle at 77% 23%,#865cd381,transparent 45%),linear-gradient(135deg,#302b65,#080d25 75%)}
.cs-wow .wow-world-adventure:before{background:radial-gradient(circle at 70% 20%,#64a6ff73,transparent 45%),linear-gradient(135deg,#27486a,#0d112a 75%)}
.cs-wow .wow-world-fantasy:before{background:radial-gradient(circle at 66% 23%,#cf89ff83,transparent 48%),linear-gradient(135deg,#584493,#150e3a 70%)}
.cs-wow .wow-world-rooms:before{background:radial-gradient(circle at 73% 20%,#e07cff74,transparent 45%),linear-gradient(135deg,#6a2357,#1b0e26 70%)}
.cs-wow .wow-world:hover{transform:translateY(-4px);border-color:#e9b2ff;box-shadow:0 13px 32px #a34bd741}
.cs-wow .wow-world.is-active{border-color:#f5c1ff;box-shadow:inset 0 0 0 1px #b97ff9,0 0 25px #c24dff47}
.cs-wow .wow-world-icon{font-family:Georgia,serif;font-size:36px;font-weight:normal;line-height:1;position:absolute;top:14px;right:17px;opacity:.75;color:#ffe2ff;text-shadow:0 0 19px #f2b6ff}
.cs-wow .wow-world strong{font-size:13px;margin-top:27px}
.cs-wow .wow-world small{font-size:10px;color:#e4cfea;line-height:1.45;margin-top:6px}
.cs-wow .wow-world .wow-coming{position:absolute;top:12px;left:11px;font-size:8px;letter-spacing:.1em;border:1px solid #e2b0fa70;padding:4px 5px;border-radius:6px;color:#e9d0fc;background:#24102d}
.cs-wow .wow-search-wrap{min-width:215px;position:relative;display:flex;align-items:center;margin:0}
.cs-wow .wow-search-wrap input{width:100%;min-height:44px;border-radius:22px!important;padding:10px 18px 10px 40px!important;background:#1e102fe0!important;border:1px solid #aa78dc80!important;font-size:12px;color:#f5eaff}
.cs-wow .wow-search-wrap .wow-search-icon{position:absolute;z-index:1;left:14px;font-size:23px;color:#dca9ff}
.cs-wow .wow-characters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cs-wow .wow-character{min-width:0;overflow:hidden;border:1px solid #a66bd060;border-radius:19px;background:linear-gradient(155deg,#291632,#150d23 80%);box-shadow:0 14px 38px #0500129c;transition:transform .2s,border-color .2s,box-shadow .2s}
.cs-wow .wow-character:hover{transform:translateY(-5px);border-color:#e4a8ff;box-shadow:0 20px 48px #49156a9a}
.cs-wow .wow-character-scene{height:clamp(150px,16vw,220px);overflow:hidden;position:relative;display:grid;place-items:center;isolation:isolate;background:radial-gradient(circle at 58% 17%,#bd66e19c,transparent 39%),linear-gradient(155deg,#662b74,#221029 68%,#0d0a20)}
.cs-wow .wow-character-1 .wow-character-scene{background:radial-gradient(circle at 57% 19%,#a476bbba,transparent 39%),linear-gradient(155deg,#533455,#1a142e)}
.cs-wow .wow-character-2 .wow-character-scene{background:radial-gradient(circle at 57% 19%,#e298bd9c,transparent 39%),linear-gradient(155deg,#8d3d63,#251330)}
.cs-wow .wow-character-3 .wow-character-scene{background:radial-gradient(circle at 57% 19%,#6498d69c,transparent 39%),linear-gradient(155deg,#263a70,#0d132c)}
.cs-wow .wow-character-4 .wow-character-scene{background:radial-gradient(circle at 57% 19%,#bb78a59c,transparent 39%),linear-gradient(155deg,#734466,#1d0a26)}
.cs-wow .wow-character-scene:before{content:"";position:absolute;inset:9% 16% -40%;border-radius:50% 50% 12% 12%;border:1px solid #f6aaf52e;background:linear-gradient(125deg,#e1aff31b,#2a103a55);transform:rotate(-8deg);z-index:-1}
.cs-wow .wow-card-orbit{position:absolute;width:85%;aspect-ratio:1;border:1px solid #edabff43;border-radius:50%;transform:rotate(26deg) scaleX(.8);z-index:0}
.cs-wow .wow-character-scene .avatar{width:62%;height:auto;max-width:154px;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;margin:10px auto 0;position:relative;font:normal clamp(70px,9vw,115px)/1 Georgia,serif;border:1px solid #f4d0ff6e;color:#f6e3ff;background:linear-gradient(140deg,#ffffff25,#734b9d5d);box-shadow:0 12px 50px #17072985,0 0 38px #da87ff40;overflow:hidden;z-index:1}
.cs-wow .wow-character-scene .avatar img{width:100%;height:100%;object-fit:cover;display:block}
.cs-wow .wow-character-scene:has(img) .avatar{width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;border-radius:0;box-shadow:none;border:none;margin:0;background:transparent}
.cs-wow .wow-character-scene:has(img) .avatar img{object-fit:cover;object-position:center 26%}
.cs-wow .wow-character-scene:has(img) .wow-card-orbit{display:none}
.cs-wow .wow-character-scene:after{content:"";position:absolute;inset:35% 0 0;pointer-events:none;background:linear-gradient(transparent 25%,#160b22c9 100%);z-index:2}
.cs-wow .wow-character-index{position:absolute;z-index:3;top:12px;left:13px;border:1px solid #ebcaff63;background:#1d0c29a8;border-radius:20px;padding:3px 9px;color:#f9dcff;font-size:9px;letter-spacing:.1em}
.cs-wow .wow-card-sparkle{position:absolute;z-index:3;right:15px;top:11px;color:#f6c2ff;font-size:21px}
.cs-wow .wow-character-detail{padding:17px 17px 18px}
.cs-wow .wow-character-type{font-size:9px;letter-spacing:.18em;color:#cca5e9;font-weight:700}
.cs-wow .wow-character-detail h3{font:normal 23px/1.2 Georgia,serif;margin:6px 0 6px;color:#fff3ff;overflow-wrap:anywhere}
.cs-wow .wow-character-detail p{font-size:11px;color:#ccb8d9;line-height:1.5;min-height:35px;margin:0 0 12px}
.cs-wow .wow-character-action{width:100%;min-height:37px;border-radius:999px;color:#fff;background:linear-gradient(112deg,#8b3eb9,#9f52d5,#7131a8);border:1px solid #d796f7a1;box-shadow:inset 0 1px #f3ddff63,0 7px 18px #5c1a874a;font-weight:730;font-size:11px;display:flex;justify-content:center;align-items:center;gap:10px}
.cs-wow .wow-character-action:hover{filter:brightness(1.16)}
.cs-wow .wow-empty-feature{grid-column:1/-1;min-height:240px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border:1px dashed #b978e16e;border-radius:18px;padding:35px 15px;background:radial-gradient(ellipse at 50% 10%,#854ac82b,transparent 62%),#1b102a}
.cs-wow .wow-empty-feature h3{font:normal 25px Georgia,serif;margin:10px 0}
.cs-wow .wow-empty-feature p{font-size:12px;color:#cfbdda;max-width:400px;line-height:1.5;margin:0 0 17px}
.cs-wow .wow-empty-glyph{font:normal 58px Georgia,serif;color:#ce8afa;text-shadow:0 0 34px #d974ff}
.cs-wow .wow-filter-empty{border:1px solid #a877bb86;background:#211229;border-radius:13px;padding:16px;font-size:12px}
.cs-wow .wow-discover-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:14px;color:#af95bb;font-size:11px}
.cs-wow .wow-journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.cs-wow .wow-journey-panel{position:relative;min-height:225px;padding:23px;border:1px solid #ae76ce7d;border-radius:19px;overflow:hidden;background:linear-gradient(135deg,#2a1744,#150e24 80%);box-shadow:0 12px 32px #0602118c}
.cs-wow .wow-journey-panel:before{content:"";position:absolute;right:-70px;top:-60px;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,#9558db58,transparent 68%);pointer-events:none}
.cs-wow .wow-journey-achievement{background:linear-gradient(135deg,#331a42,#190e26 85%)}
.cs-wow .wow-journey-rooms{background:linear-gradient(135deg,#2a1537,#160b23 82%)}
.cs-wow .wow-panel-icon{position:absolute;right:21px;top:14px;font:normal 47px Georgia,serif;opacity:.66;color:#e4acff;text-shadow:0 0 25px #df84ff}
.cs-wow .wow-journey-panel h3{font:normal clamp(20px,2vw,28px)/1.2 Georgia,serif;letter-spacing:-.03em;position:relative;color:#ffeefd;margin:14px 0 8px}
.cs-wow .wow-journey-panel p:not(.wow-overline){font-size:12px;line-height:1.55;color:#cfbadd;max-width:290px;position:relative;min-height:55px;margin:0 0 12px}
.cs-wow .wow-panel-actions{display:flex;gap:10px;flex-wrap:wrap}
/* Existing return hub, bookmarks and achievements retain their Wix data source. */
.cs-cinematic-main #cs-return-hub{margin-bottom:24px}
.cs-cinematic-main #cs-member-pins{margin:14px 0 22px}
.cs-cinematic-main .wow-journey + #cs-return-hub{margin-top:18px}
/* Character creator preview reflects unsaved draft state only. */
.cs-cinematic-main .wow-creator-preview{display:flex;align-items:center;gap:24px;min-height:190px;border:1px solid #bb82e38a;border-radius:22px;padding:20px 24px;margin:7px 0 23px;overflow:hidden;position:relative;background:radial-gradient(circle at 14% 37%,#8d43d24a,transparent 31%),linear-gradient(116deg,#2e1640,#190e2a 70%);box-shadow:inset 0 1px #ffffff15,0 15px 28px #0702147c;color:#f6edff}
.cs-cinematic-main .wow-preview-visual{flex:0 0 clamp(110px,12vw,165px);width:clamp(110px,12vw,165px);height:150px;position:relative;display:grid;place-items:center;background:radial-gradient(circle,#d590ff55,transparent 65%)}
.cs-cinematic-main .wow-preview-visual:before{content:"";position:absolute;inset:8px;border-radius:50%;border:1px solid #deacff6b;box-shadow:0 0 42px #b66cfc55}
.cs-cinematic-main .wow-preview-portrait{position:relative;z-index:1;display:grid;place-items:center;width:105px;height:105px;border-radius:50%;overflow:hidden;border:1px solid #f5c8ff8b;color:#f2dcff;background:#9c68cc66;font:normal 67px Georgia,serif}
.cs-cinematic-main .wow-preview-portrait img{display:block;width:100%;height:100%;object-fit:cover}
.cs-cinematic-main .wow-preview-information{position:relative;z-index:1;min-width:0}
.cs-cinematic-main .wow-preview-information h2{font:normal clamp(26px,3vw,39px) Georgia,serif;color:#fff1ff;letter-spacing:-.045em;margin:8px 0 5px;overflow-wrap:anywhere}
.cs-cinematic-main .wow-preview-information p{font-size:13px;color:#d7c1e9;margin:0 0 11px}
.cs-cinematic-main .wow-preview-setting{display:inline-block;border:1px solid #cb9ded65;border-radius:999px;padding:5px 12px;font-size:11px;color:#edd8fb;background:#7d40b02e}
.cs-cinematic-main .wow-preview-information small{display:block;margin-top:14px;font-size:10px;color:#bda6ce}
/* Optional cinematic conversation presentation. No messages or gateway behavior changed. */
.cs-cinematic-main .wow-cinema-toggle{border:1px solid #bf85e5a6;border-radius:999px;min-height:40px;padding:10px 17px;background:#41215bc7;color:#fbe3ff;font-size:12px;font-weight:760;letter-spacing:.02em}
.cs-cinematic-main .wow-cinema-toggle:hover{background:#75429a}
.cs-cinematic-main .cs-titlebar:has(.wow-cinema-toggle){display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.cs-cinematic-main .cs-header-portrait img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
body.cs-wow-cinema-on .cs-cinematic-main .cs-workspace{border-color:#d18effab!important;box-shadow:0 0 70px #4d1b92a8,0 24px 72px #03010cca!important}
body.cs-wow-cinema-on .cs-cinematic-main .cs-chat{background:radial-gradient(ellipse 120% 70% at 52% 0%,#4b2578ae,transparent 73%),linear-gradient(140deg,#130d26,#0b081c 70%)!important}
body.cs-wow-cinema-on .cs-cinematic-main .cs-messages{background:radial-gradient(ellipse 78% 52% at 50% 5%,#6d31865c,transparent),radial-gradient(circle at 78% 88%,#6648a33b,transparent 44%),#0d0919!important}
body.cs-wow-cinema-on .cs-cinematic-main .cs-messages:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.1;background-image:radial-gradient(circle at 20% 13%,white 1px,transparent 1.7px),radial-gradient(circle at 71% 56%,white 1px,transparent 1.7px);background-size:190px 230px}
body.cs-wow-cinema-on .cs-cinematic-main .cs-header{background:linear-gradient(100deg,#4b226f,#25143e)!important}
/* Safe dialog / guided first visit / rooms preview. */
.wow-dialog{border-radius:25px;max-width:min(92vw,570px);width:100%;max-height:88vh;overflow-y:auto;padding:28px;color:#f9efff;border:1px solid #d394f5c4;background:radial-gradient(circle at 88% 0,#884bbe59,transparent 45%),linear-gradient(142deg,#29133d,#130a24 87%);box-shadow:0 35px 120px #000e,0 0 60px #983ed74c}
.wow-dialog::backdrop{background:#080512c9;backdrop-filter:blur(8px)}
.wow-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.wow-dialog-close{width:34px;height:34px;background:#6c46836b;color:#f0dcff;border:1px solid #c48fea88;border-radius:50%;font-size:25px}
.wow-dialog h2{font:normal clamp(29px,4vw,44px)/1.13 Georgia,serif;letter-spacing:-.05em;margin:10px 0 14px;color:#fff1ff}
.wow-dialog-body p{color:#d5c2e2;font-size:14px;line-height:1.7;margin:0 0 12px}
.wow-dialog .wow-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:24px}
.wow-dialog .wow-preview-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0}
.wow-dialog .wow-preview-tiles span{border:1px solid #b47ad17a;border-radius:14px;padding:15px 10px;font-size:12px;text-align:center;line-height:1.65;background:#602f7938}
.wow-dialog .wow-preview-tiles small{font-size:10px;color:#be9ed5}
.wow-dialog .wow-dialog-disclosure{font-size:11px;color:#b59fcb}
.wow-dialog .wow-tour-progress{display:flex;align-items:center;justify-content:space-between;font-weight:760;font-size:11px;letter-spacing:.14em;color:#d39cf1;margin:0 0 18px}
.wow-dialog .wow-tour-dots{display:flex;gap:8px;margin-top:22px}
.wow-dialog .wow-tour-dots span{width:24px;height:5px;border-radius:999px;background:#624978}
.wow-dialog .wow-tour-dots span.active{background:#db9fff;box-shadow:0 0 10px #ca76ff}
/* Public cinematic entry: no auth changes, no third-party images. */
.login-shell.entrance-shell{background:radial-gradient(ellipse 50% 60% at 19% 38%,#7332b350,transparent 80%),radial-gradient(ellipse 35% 50% at 84% 23%,#682bb83b,transparent 78%),#090713!important}
.entrance-shell .entrance-light-one{background:linear-gradient(90deg,#56208c00,#cf88fd50,#8150d04d,#172b4700)!important}
.entrance-shell .entrance-light-two{background:radial-gradient(circle,#cb87fb42,transparent 65%)!important}
.entrance-shell .wow-entrance-promo{min-width:0;position:relative;isolation:isolate;color:#f8edff;text-align:left}
.entrance-shell .wow-entrance-promo:before{content:"";position:absolute;width:130%;height:83%;top:-10%;left:-25%;z-index:-1;border-radius:50%;background:radial-gradient(ellipse,#ad60f943,transparent 70%);filter:blur(45px)}
.entrance-shell .wow-entrance-promo h1{font:normal clamp(50px,5.8vw,86px)/1.04 Georgia,"Times New Roman",serif;letter-spacing:-.058em;margin:10px 0 17px;max-width:670px;color:#fff2ff;text-shadow:0 3px 34px #7b22bc65}
.entrance-shell .wow-entrance-promo h1 em{font-weight:normal;color:#d9a7ff}
.entrance-shell .wow-entrance-promo>p:not(.wow-entry-foot){max-width:480px;font-size:15px;line-height:1.64;color:#dac7e6;margin:0 0 18px}
.entrance-shell .wow-entry-visual{position:relative;width:100%;height:clamp(170px,24vh,275px);display:grid;place-items:center;isolation:isolate;background:url('/assets/studio-portal-v1.svg') 50% 45%/contain no-repeat;filter:drop-shadow(0 8px 45px #7c3ab48a)}
.entrance-shell .wow-entry-flare{position:absolute;inset:10% 25%;background:#a764fd30;border-radius:50%;filter:blur(37px);z-index:-1}
.entrance-shell .wow-entry-mark{position:absolute;right:11%;top:11%;font-size:45px;color:#e9bdff;text-shadow:0 0 30px #d97cff}
.entrance-shell .wow-entry-chips{display:flex;flex-wrap:wrap;gap:9px;margin:21px 0}
.entrance-shell .wow-entry-chips span{border:1px solid #ae78d382;border-radius:999px;padding:7px 13px;font-size:10px;letter-spacing:.16em;color:#f2d6ff;background:#6f369538}
.entrance-shell .wow-entry-cta{border:1px solid #ddb2ff;border-radius:999px;background:linear-gradient(105deg,#8b45c1,#bf70e7);box-shadow:0 12px 38px #a744ff68;color:#fff;padding:15px 27px;font-weight:750;min-height:49px}
.entrance-shell .wow-entry-cta:hover{filter:brightness(1.12);transform:translateY(-2px)}
.entrance-shell .wow-entry-foot{font-size:10px;letter-spacing:.17em;color:#c5a6d6;margin-top:20px}
.entrance-shell .entrance-glass{border-color:#d0a0f97d!important;background:linear-gradient(150deg,#ffffff18,#35214788 35%,#130c21ef 90%)!important;box-shadow:inset 0 1px #ffffff22,0 30px 110px #000a,0 0 70px #8b35c03c!important}
.entrance-shell .entrance-glass-mark{color:#ddaaff!important}
.entrance-shell .entrance-invitation{color:#d0b9dc!important}
.entrance-shell .entrance-form .entrance-enter{background:linear-gradient(118deg,#eabfff,#b879e2 60%,#8e47ca)!important;border-color:#eac2ff!important;color:#200b2d!important;box-shadow:0 9px 30px #ad4dec58!important}
.entrance-shell .entrance-form input:focus{outline-color:#db9bff!important}
/* Light glass remains usable, including inputs and the new cards. */
body[data-ambience="light-glass"] .cs-wow{color:#281631}
body[data-ambience="light-glass"] .cs-wow .wow-section-head h2{color:#432254}
body[data-ambience="light-glass"] .cs-wow .wow-section-head p:not(.wow-overline){color:#6d547b}
body[data-ambience="light-glass"] .cs-wow .wow-discover-footer{color:#705981}
body[data-ambience="light-glass"] .cs-wow .wow-overline{color:#7b2caa}
body[data-ambience="light-glass"] .cs-wow .wow-hero,body[data-ambience="light-glass"] .cs-wow .wow-character,body[data-ambience="light-glass"] .cs-wow .wow-world,body[data-ambience="light-glass"] .cs-wow .wow-journey-panel{color:#fff0ff}
body[data-ambience="light-glass"] .cs-wow .wow-hero .wow-overline,body[data-ambience="light-glass"] .cs-wow .wow-journey-panel .wow-overline{color:#e5b7ff}
body[data-ambience="light-glass"] .cs-wow .wow-experience-quick button{color:#59336d;background:#f3e9fc;border-color:#a776c5}
body[data-ambience="light-glass"] .cs-wow .wow-text-button{color:#7335a0}
body[data-ambience="light-glass"] .cs-wow .wow-journey-panel .wow-text-button{color:#eec8ff}
body[data-ambience="light-glass"] .cs-wow .wow-discover-footer .wow-text-button{color:#7335a0}
/* Responsive layout and reduced motion. */
@media(min-width:1680px){.cs-wow .wow-characters{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1300px){.cs-wow .wow-worlds{grid-template-columns:repeat(3,minmax(0,1fr))}.cs-wow .wow-characters{grid-template-columns:repeat(3,minmax(0,1fr))}.cs-wow .wow-hero-copy{max-width:67%}}
@media(max-width:1090px){.cs-wow .wow-journey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-wow .wow-journey-rooms{grid-column:1/-1}.cs-wow .wow-characters{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-wow .wow-hero-copy{max-width:70%}.cs-wow .wow-hero h1{font-size:clamp(36px,5vw,54px)}}
@media(max-width:820px){.cs-wow .wow-hero{min-height:380px}.cs-wow .wow-hero-copy{max-width:82%}.cs-wow .wow-hero-art{left:30%;opacity:.42}.cs-wow .wow-hero-art-caption{display:none}.cs-wow .wow-hero-legal{display:none}.entrance-shell .entrance-stage{gap:19px}.entrance-shell .wow-entrance-promo{text-align:center}.entrance-shell .wow-entrance-promo h1{font-size:clamp(38px,7vw,58px)}.entrance-shell .wow-entrance-promo>p:not(.wow-entry-foot){margin:0 auto 12px}.entrance-shell .wow-entry-visual{height:150px}.entrance-shell .wow-entry-chips{justify-content:center}.entrance-shell .wow-entry-foot{display:none}}
@media(max-width:600px){.cs-wow .wow-hero{padding:27px 21px 24px;min-height:385px;align-items:flex-start}.cs-wow .wow-hero-copy{max-width:100%}.cs-wow .wow-hero h1{font-size:clamp(35px,9vw,49px);max-width:95%}.cs-wow .wow-hero .wow-lead{max-width:92%;font-size:13px}.cs-wow .wow-hero-art{inset:18% -18% -2% 9%;opacity:.21}.cs-wow .wow-hero-art-caption{display:none}.cs-wow .wow-actions{margin-top:22px}.cs-wow .wow-actions .wow-button{flex:1 1 150px}.cs-wow .wow-worlds{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cs-wow .wow-world{min-height:135px}.cs-wow .wow-characters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cs-wow .wow-character-scene{height:160px}.cs-wow .wow-character-detail{padding:12px}.cs-wow .wow-character-detail h3{font-size:19px}.cs-wow .wow-character-detail p{font-size:10px}.cs-wow .wow-section-head{flex-direction:column;align-items:stretch}.cs-wow .wow-search-wrap{max-width:none}.cs-wow .wow-journey-grid{grid-template-columns:1fr}.cs-wow .wow-journey-rooms{grid-column:auto}.cs-wow .wow-journey-panel{min-height:196px}.cs-cinematic-main .wow-creator-preview{padding:16px;gap:13px}.cs-cinematic-main .wow-preview-visual{flex-basis:100px;width:100px;height:120px}.cs-cinematic-main .wow-preview-portrait{width:85px;height:85px;font-size:54px}.cs-cinematic-main .wow-preview-information h2{font-size:26px}.cs-cinematic-main .wow-preview-information p{font-size:11px}.entrance-shell .wow-entry-visual{height:112px}.entrance-shell .wow-entry-chips{margin:11px 0}.entrance-shell .wow-entry-chips span{font-size:9px;padding:4px 9px}.entrance-shell .wow-entry-cta{padding:10px 22px;min-height:43px}.entrance-shell .wow-entrance-promo>p:not(.wow-entry-foot){font-size:12px}.entrance-shell .wow-entrance-promo h1{margin:7px 0;font-size:clamp(32px,9vw,42px)}.wow-dialog{padding:21px}.wow-dialog .wow-preview-tiles{grid-template-columns:1fr}.wow-dialog .wow-dialog-actions .wow-button{flex:1 1 140px}}
@media(max-width:390px){.cs-wow .wow-characters{grid-template-columns:1fr}.cs-wow .wow-character-scene{height:235px}.cs-wow .wow-character-detail{padding:18px}.cs-wow .wow-hero{min-height:430px}.cs-wow .wow-world{padding:12px 9px}.cs-wow .wow-world strong{font-size:12px}.cs-wow .wow-world small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.cs-wow *, .cs-wow *:before,.cs-wow *:after,.wow-dialog *,.wow-entrance-promo *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Override the old single-card entrance constraint only for the new two-part entry. */
@media(min-width:1040px){
 .entrance-shell .entrance-stage:has(.wow-entrance-promo){
  width:min(100%,1480px);max-width:none;
  grid-template-columns:minmax(0,1.16fr) minmax(390px,.84fr);
  gap:clamp(32px,5vw,105px);align-content:center;align-items:center;justify-items:stretch;
  padding:32px clamp(28px,5vw,88px) 42px;
 }
 .entrance-shell .wow-entrance-promo{max-width:660px}
 .entrance-shell .wow-entry-visual{height:clamp(190px,29vh,285px)}
 .entrance-shell .entrance-access{width:100%}
}
@media(min-width:821px) and (max-width:1039px){
 .entrance-shell .entrance-stage:has(.wow-entrance-promo){width:min(100%,830px);grid-template-columns:1fr;gap:14px;padding:30px 24px}
 .entrance-shell .wow-entrance-promo{text-align:center}
 .entrance-shell .wow-entrance-promo>p:not(.wow-entry-foot){margin:0 auto 13px}
 .entrance-shell .wow-entry-chips{justify-content:center}
 .entrance-shell .wow-entry-visual{height:150px}
}
body.cs-wow-cinema-on .cs-cinematic-main .cs-messages{position:relative}

/* ==== assets/studio-luxury-v1.css ==== */
/* Progressive presentation controls. Does not change data, navigation or AI. */
.cs-luxury-nav .cs-luxury-nav-mark{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;color:#dcb2ff;font-size:20px}
.cs-luxury-dialog{box-sizing:border-box;max-width:min(530px,calc(100vw - 24px));width:100%;max-height:calc(100dvh - 32px);overflow-y:auto;margin:auto;border:1px solid #d08cf47a;border-radius:24px;padding:25px;background:linear-gradient(145deg,#241233,#120b20 70%);color:#f5eaff;box-shadow:0 22px 90px #000c,0 0 48px #9d4bec34}
.cs-luxury-dialog::backdrop{background:#05020bdc;backdrop-filter:blur(5px)}
.cs-luxury-head{display:flex;justify-content:space-between;gap:16px;align-items:start}
.cs-luxury-head h2{margin:7px 0;font:normal clamp(25px,4vw,36px)/1.15 Georgia,serif;color:#fff1ff}
.cs-luxury-head p{font-size:14px;line-height:1.6;color:#d9c6e7;margin:0 0 18px}
.cs-luxury-eyebrow{font-size:10px;font-weight:750;letter-spacing:.18em;color:#d99bff}
.cs-luxury-close{border:1px solid #c58bdf66;border-radius:50%;background:#3d224f;color:#fff;width:38px;height:38px;flex:0 0 38px;cursor:pointer;font-size:24px}
.cs-luxury-form{display:grid;grid-template-columns:1fr;gap:10px}
.cs-luxury-form>label:not(.cs-luxury-check){font-size:12px;font-weight:750;color:#e8d0fa;margin-top:9px}
.cs-luxury-form select{appearance:auto;box-sizing:border-box;width:100%;border:1px solid #bc84d35e;border-radius:12px;background:#30203e;color:#f8efff;padding:12px 13px;font:inherit;font-size:14px;min-height:44px}
.cs-luxury-check{display:flex;align-items:flex-start;gap:12px;margin-top:14px;font-size:14px;font-weight:700;color:#f6e6ff;cursor:pointer}
.cs-luxury-check input{width:19px;height:19px;margin:2px 0 0;accent-color:#b06de3}
.cs-luxury-check small{display:block;font-weight:400;color:#bfa6d3;font-size:12px;margin-top:4px;line-height:1.4}
.cs-luxury-note{margin:13px 0 0;color:#bca6ce;font-size:12px;line-height:1.5}
.cs-luxury-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px;flex-wrap:wrap}
.cs-luxury-actions button{border-radius:999px;border:1px solid #a66dc2a3;background:#352244;color:#f6e7ff;padding:10px 17px;min-height:40px;cursor:pointer;font:inherit;font-weight:680;font-size:13px}
.cs-luxury-actions .cs-luxury-done{background:linear-gradient(110deg,#7a38b8,#b371e9);color:#fff;border-color:#ca9af3}
.cs-luxury-dialog :is(button,select,input):focus-visible{outline:3px solid #eed0ff;outline-offset:3px}
body[data-cs-luxury-atmosphere="soft"] .cs-wow .wow-hero:before,
body[data-cs-luxury-atmosphere="soft"] .cs-wow .wow-world:before,
body[data-cs-luxury-atmosphere="soft"] .cs-cin-feature-art,
body[data-cs-luxury-atmosphere="soft"] .wow-entrance-promo:before{opacity:.35!important}
body[data-cs-luxury-reading="relaxed"] .cs-cinematic-main :is(p,.wow-lead,.hint,.cs-message-content,.cs-chat-bubble){line-height:1.75}
body[data-cs-luxury-motion="calm"] :is(.cs-cinematic-shell,.cs-wow,.wow-dialog,.entrance-shell) *,
body[data-cs-luxury-motion="calm"] :is(.cs-cinematic-shell,.cs-wow,.wow-dialog,.entrance-shell) *:before,
body[data-cs-luxury-motion="calm"] :is(.cs-cinematic-shell,.cs-wow,.wow-dialog,.entrance-shell) *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
@media (prefers-reduced-motion:reduce){.cs-luxury-dialog::backdrop{backdrop-filter:none}.cs-luxury-dialog *{animation:none!important;transition:none!important}}

/* ==== assets/studio-expansion-v1.css ==== */
/* Shared modal and discovery presentation for real Sorvessa experiences. */
.exp-dialog{position:fixed;inset:0;margin:auto;border:1px solid #ab80d891;border-radius:22px;padding:0;width:min(1240px,calc(100vw - 36px));max-width:none;max-height:92dvh;overflow:auto;color:#fff;background:#100a1c;box-shadow:0 35px 120px #000c,0 0 60px #a34cdd3a;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;z-index:50000}
.exp-dialog::backdrop{background:#06040dd9;backdrop-filter:blur(13px)}
.exp-dialog *{box-sizing:border-box}
.exp-dialog button{font-family:inherit}
.exp-dialog :is(button,input,select,summary):focus-visible,.exp-feature-deck button:focus-visible,.exp-creator-link:focus-visible{outline:2px solid #f2c3ff;outline-offset:3px}
.exp-dialog .exp-topbar{display:flex;justify-content:space-between;gap:12px;align-items:start}
.exp-dialog .exp-eyebrow,.exp-feature-deck .exp-eyebrow{font:800 10px/1.5 ui-sans-serif,system-ui,sans-serif;letter-spacing:.19em;color:#dcb0ff}
.exp-dialog .exp-close{border:1px solid #ad86d267;border-radius:50%;height:41px;width:41px;display:grid;place-items:center;flex:0 0 41px;background:#3f2453;color:#f4d4ff;cursor:pointer;font-size:25px;line-height:1}
.exp-dialog .exp-close:hover{background:#724692}
.exp-dialog .exp-button{border-radius:10px;border:1px solid #c18de582;font-size:12px;font-weight:780;cursor:pointer;letter-spacing:.01em}
.exp-dialog .exp-button-primary,.exp-feature-deck .exp-button-primary{color:#200c2c;background:linear-gradient(135deg,#f0c5ff,#b978ee 80%);border:1px solid #f5d9ff;box-shadow:0 5px 26px #c36ff645}
.exp-dialog .exp-button-primary:not(:disabled):hover,.exp-feature-deck .exp-button-primary:hover{filter:brightness(1.08)}
.exp-dialog .exp-button-ghost{background:#2c193f;color:#f1d8ff}
.exp-dialog .exp-button-ghost:hover{background:#4e2a68}
.exp-nav-link{position:relative}.exp-nav-link:after{content:'NEW';position:absolute;top:10px;right:6px;font-size:8px;letter-spacing:.07em;color:#ffc0ff;font-weight:850}
.exp-nav-link .cs-cin-nav-chevron{opacity:0}
.exp-creator-link{display:block;margin:10px 0;border:1px solid #bc85d883;border-radius:10px;background:#3f214f;color:#f4d9ff;padding:12px 13px;text-align:left;font-size:12px;font-weight:800;cursor:pointer}
.exp-creator-link:hover{background:#633476}
.exp-feature-deck{position:relative;margin:24px 0 36px;padding:5px 0 0;isolation:isolate;color:#fff0ff}
.exp-feature-top{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:0 0 22px}
.exp-feature-top h2{font:normal clamp(28px,3.3vw,40px)/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.035em;color:#fff0ff;margin:8px 0}
.exp-feature-top h2 em{color:#d1a0fe;font-weight:normal}
.exp-feature-top p{font-size:12px;color:#b8a1cf;margin:5px 0}
.exp-feature-live{color:#dda8ff;letter-spacing:.15em;font-size:10px;font-weight:820;white-space:nowrap;border:1px solid #a879c580;border-radius:999px;padding:9px 12px}
.exp-feature-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.exp-feature-card{display:grid;grid-template-columns:minmax(120px,43%) minmax(0,1fr);min-height:258px;overflow:hidden;border:1px solid #b881d57a;border-radius:21px;box-shadow:0 15px 38px #0006;position:relative}
.exp-feature-atelier{background:radial-gradient(circle at 21% 46%,#744390,#231038 58%,#140b21 100%)}
.exp-feature-vault{background:radial-gradient(circle at 25% 38%,#40346c,#211030 60%,#11091b 100%)}
.exp-feature-illustration{position:relative;overflow:hidden;display:grid;place-items:center;min-height:235px}
.exp-feature-illustration:before{content:'';position:absolute;inset:-20%;background:radial-gradient(circle,#d78aff35,transparent 65%);filter:blur(5px)}
.exp-feature-orb{width:145px;height:188px;z-index:1;transform:rotate(-13deg);border:4px solid #e6b0ffab;border-radius:50% 50% 44% 44%;box-shadow:0 0 25px #e1a6ff,0 0 63px #e1a6ff66,inset 0 0 48px #e1b4ff55;position:relative;background:radial-gradient(ellipse at 44% 36%,#ecd1ff77,#431f5c88 68%,#231037)}
.exp-feature-orb:after{content:'';position:absolute;inset:14px;border:1px solid #fee9ff8a;border-radius:inherit}
.exp-feature-diamond{position:absolute;z-index:2;color:#fde6ff;font:normal 73px Georgia,serif;text-shadow:0 0 35px #eab7ff}
.exp-feature-arch{height:190px;width:140px;z-index:2;border:5px solid #d7acf4;border-bottom:8px solid #d7acf4;border-radius:75px 75px 0 0;box-shadow:0 0 38px #c679ff,inset 0 0 37px #b66dfc;background:radial-gradient(circle at 50% 40%,#9c7db977,#160d28 69%);display:grid;place-items:center}
.exp-feature-door{font-size:68px;color:#f9d1ff;text-shadow:0 0 28px #e6bbff}
.exp-feature-copy{padding:23px 21px 24px 8px;display:flex;flex-direction:column;align-items:start;justify-content:center;position:relative;z-index:3;min-width:0}
.exp-feature-copy h3{font:normal clamp(24px,2.1vw,35px) Georgia,serif;letter-spacing:-.02em;margin:8px 0;color:#fff0ff}
.exp-feature-copy p{color:#d1bee0;font-size:12px;line-height:1.6;margin:5px 0 17px}
.exp-feature-copy .exp-button{border-radius:10px;padding:11px 14px;border:1px solid #e8c4ff;font-size:11px;font-weight:850;cursor:pointer}
.exp-feature-caption{font-size:10px;color:#9f8bb4;margin:12px 2px 0}
@media (max-width:1020px){.exp-feature-card{grid-template-columns:32% 68%}.exp-feature-copy{padding:20px 15px 20px 0}.exp-feature-arch{height:148px;width:100px}.exp-feature-orb{width:105px;height:148px}}
@media (max-width:710px){.exp-feature-row{grid-template-columns:1fr}.exp-feature-card{min-height:205px;grid-template-columns:36% 64%}.exp-feature-copy{padding-right:16px}.exp-feature-top{align-items:start}.exp-feature-live{font-size:8px}.exp-dialog{width:calc(100vw - 12px);max-height:96dvh;border-radius:16px}}
@media (max-width:450px){.exp-feature-live{display:none}.exp-feature-card{grid-template-columns:33% 67%}.exp-feature-copy h3{font-size:23px}.exp-feature-copy p{font-size:11px}.exp-feature-orb{width:70px;height:105px}.exp-feature-arch{height:112px;width:77px}.exp-feature-diamond{font-size:47px}}
@media (prefers-reduced-motion:reduce){.exp-dialog::backdrop{backdrop-filter:none}}

/* ==== assets/studio-atelier-v1.css ==== */
/* Character Atelier: the portrait editor is its own layer; existing creator untouched. */
.exp-atelier{--at-line:#be8af83d;--at-cream:#fff1ff;--at-muted:#c4acd4}
.exp-atelier .atelier-shell{min-height:min(800px,89dvh);display:flex;flex-direction:column}
.exp-atelier .exp-topbar{padding:25px 31px 22px;border-bottom:1px solid var(--at-line)}
.exp-atelier .exp-topbar h2{font:normal clamp(31px,3vw,46px)/1.08 Georgia,'Times New Roman',serif;margin:7px 0;color:var(--at-cream);letter-spacing:-.045em}
.exp-atelier .exp-topbar h2 em{color:#cf9dff;font-weight:normal}
.exp-atelier .exp-topbar p{margin:8px 0 0;color:var(--at-muted);font-size:13px}
.atelier-grid{display:grid;grid-template-columns:minmax(295px,345px) minmax(0,1fr);min-height:0;flex:1}
.atelier-editor{padding:22px 24px;background:linear-gradient(160deg,#21102f,#110b20 70%);border-right:1px solid var(--at-line);overflow-y:auto;max-height:calc(89dvh - 113px);scrollbar-color:#82509b #191026}
.atelier-editor-top{display:flex;justify-content:space-between;gap:7px;align-items:center;margin-bottom:17px}
.atelier-editor .exp-step{color:#9984ab;font-size:10px;letter-spacing:.10em;font-weight:700}
.atelier-label{display:block;color:#e1cdef;font-size:11px;font-weight:760;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px}
.atelier-character{appearance:auto;width:100%;background:#261739;color:#f6e9ff;padding:12px;border:1px solid #9d6ec563;border-radius:12px;font-size:13px;margin-bottom:10px}
.atelier-upload-line{margin-bottom:19px}.atelier-upload-line .exp-button{width:100%;padding:11px}
.atelier-accordion{border-top:1px solid #b68dea30;padding:3px 0 12px}
.atelier-accordion>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:15px 0;color:#ecd6fc;font-size:12px;font-weight:780;letter-spacing:.06em}
.atelier-accordion>summary::-webkit-details-marker{display:none}
.atelier-accordion>summary span{font-size:18px;font-weight:300;color:#ca9bf2}
.atelier-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
.atelier-swatch{border:1px solid #b886d748;border-radius:12px;background:#251635;padding:7px 4px 9px;display:flex;flex-direction:column;gap:6px;align-items:center;color:#dac4e7;font:inherit;cursor:pointer}
.atelier-swatch:hover,.atelier-swatch[aria-pressed="true"]{background:#46245a;border-color:#e3bcff;box-shadow:0 0 0 2px #a86de72a}
.atelier-swatch-art{height:43px;width:48px;border-radius:8px;background:linear-gradient(135deg,#cf8dff,#422b69 60%,#17102b);box-shadow:inset 0 0 0 1px #ffffff30}
.atelier-filter-noir{filter:grayscale(1) contrast(1.45)}.atelier-filter-moonlit{filter:hue-rotate(52deg) brightness(.9)}
.atelier-filter-rose{filter:hue-rotate(-44deg) saturate(1.2)}.atelier-filter-original{filter:brightness(1.13)}.atelier-filter-cinematic{filter:contrast(1.55) saturate(.8)}
.atelier-swatch small{font-size:10px;font-weight:700}
.atelier-controls{padding-bottom:10px}.atelier-slider{margin:10px 0 17px}
.atelier-slider label{display:flex;justify-content:space-between;gap:12px;color:#f0ddff;font-size:12px;font-weight:660;margin-bottom:8px}
.atelier-slider small{display:block;color:#9e8bac;font-size:10px;font-weight:normal;margin-top:2px}
.atelier-slider output{font:700 12px ui-monospace,monospace;color:#e9b7ff}
.atelier-slider input[type=range]{width:100%;cursor:pointer;accent-color:#bf7bff;height:5px}
.atelier-frame-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:12px}
.atelier-frame{border:1px solid #996caf58;border-radius:10px;min-height:67px;padding:7px 3px;background:#25152f;color:#e9d6f5;cursor:pointer;font-size:10px;font-weight:650}
.atelier-frame[aria-pressed=true]{border-color:#efc4ff;background:#46225c}
.atelier-frame-icon{display:block;margin:0 auto 5px;display:grid;place-items:center;width:25px;height:25px;color:#d4a2f9;border:2px solid #c499ef;border-radius:4px}
.atelier-frame-gold{border-color:#ffd17c;color:#ffe2a7}.atelier-frame-moon{border-color:#93bff4;color:#d7eeff}.atelier-frame-eclipse{border-color:#603477;color:#a56cdd}.atelier-frame-none{border:1px dashed #8e749d}
.atelier-check{display:flex;align-items:center;gap:8px;color:#cfbce1;font-size:11px;padding-bottom:8px}.atelier-check input{accent-color:#c17af0}
.atelier-editor-actions{display:flex;justify-content:space-between;gap:9px;margin-top:17px}
.atelier-editor-actions button{border:0;background:transparent;color:#d4b1e9;font-size:11px;text-decoration:underline;cursor:pointer}
.atelier-editor-actions button.atelier-delete{color:#bbaac7}
.atelier-workbench{padding:22px clamp(20px,4vw,49px) 27px;background:radial-gradient(ellipse at 50% 10%,#30163d 0,#110a1f 68%,#0a0712 100%);display:flex;flex-direction:column;min-width:0;align-items:center;overflow-y:auto;max-height:calc(89dvh - 113px)}
.atelier-workbench-head{width:min(100%,510px);display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
.atelier-workbench-head h3{margin:4px 0 0;color:#f8e9ff;font:normal 25px Georgia,serif;overflow-wrap:anywhere}
.atelier-size{font-size:10px;white-space:nowrap;color:#baa4c9;letter-spacing:.08em}
.atelier-stage{position:relative;width:min(100%,min(49dvh,515px));min-width:210px;aspect-ratio:1;display:grid;place-items:center;box-shadow:0 32px 75px #0008;border-radius:9px;isolation:isolate}
.atelier-stage canvas{width:100%;height:100%;object-fit:contain;display:block;touch-action:none;border-radius:8px;cursor:grab;box-shadow:0 0 0 1px #b48ce477;z-index:1}
.atelier-stage canvas.dragging{cursor:grabbing}
.atelier-stage-orbit{position:absolute;inset:-25px;border-radius:50%;background:radial-gradient(closest-side,#bc57f738,transparent 80%);filter:blur(18px);pointer-events:none}
.atelier-stage.is-dropping:after{content:'DROP PHOTO TO LOAD';position:absolute;inset:6px;z-index:3;border:3px dashed #e6baff;background:#180f2bbd;display:grid;place-items:center;color:#fff;font-weight:800}
.atelier-upload-floating{position:absolute;z-index:2;bottom:24px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#21132bea;border:1px solid #e3b6fc;border-radius:999px;color:#ffe3ff;padding:10px 18px;font-size:12px;font-weight:750;cursor:pointer;box-shadow:0 8px 24px #0008}
.atelier-stage.has-image .atelier-upload-floating{top:12px;right:12px;bottom:auto;left:auto;transform:none;opacity:.82;padding:8px 12px;background:#120a1bbd;font-size:10px}
.atelier-stage.has-image .atelier-upload-floating:hover,.atelier-stage.has-image .atelier-upload-floating:focus-visible{opacity:1}
.atelier-hint{color:#baa2c7;font-size:11px;margin:16px 0 9px;text-align:center;min-height:16px}
.atelier-workbench-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:16px}
.atelier-workbench-tools button{cursor:pointer;background:#231332;border:1px solid #b384d053;border-radius:999px;color:#ead2f6;padding:8px 11px;font-size:11px}
.atelier-workbench-tools button:disabled{opacity:.4;cursor:not-allowed}
.atelier-workbench-tools button:not(:disabled):hover{background:#48255e;border-color:#d7a5ff}
.atelier-end-actions{display:flex;justify-content:center;gap:11px;flex-wrap:wrap;width:min(100%,510px)}
.atelier-end-actions .exp-button{flex:1;min-width:155px;padding:13px 16px}
.atelier-end-actions button:disabled{opacity:.4;cursor:not-allowed}
.atelier-privacy{max-width:520px;text-align:center;font-size:10px;line-height:1.6;color:#bca5cc;margin:14px 0 0}
.atelier-status{max-width:520px;margin:12px 0 0;text-align:center;color:#dac3e8;font-size:12px;line-height:1.45;min-height:18px}
.atelier-status[data-kind="success"]{color:#b8f6d0}.atelier-status[data-kind="error"]{color:#ffa8c3}
@media (max-width:810px){.atelier-grid{grid-template-columns:1fr}.atelier-editor{order:2;max-height:none;border-right:0;border-top:1px solid var(--at-line)}.atelier-workbench{order:1;max-height:none;padding:19px 17px}.atelier-stage{width:min(100%,min(49dvh,470px))}.atelier-preset-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.atelier-frame-row{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:510px){.exp-atelier .exp-topbar{padding:18px 16px}.atelier-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.atelier-frame-row{grid-template-columns:repeat(3,minmax(0,1fr))}.atelier-workbench-head h3{font-size:21px}.atelier-size{font-size:9px}.atelier-editor{padding:20px 18px}.atelier-stage{width:min(100%,370px)}.atelier-upload-floating{bottom:12px;font-size:11px}}
@media (prefers-reduced-motion:reduce){.atelier-stage-orbit{filter:none}}

/* ==== assets/studio-vault-v1.css ==== */
/* The Vault — an authored four-chapter escape-room game, never a fake coin game. */
.exp-vault{--vault-line:#bd88ea44;color:#f9ecff}
.exp-vault .vault-shell{min-height:min(820px,90dvh);display:flex;flex-direction:column;background:#0d0919}
.exp-vault .exp-topbar{border-bottom:1px solid var(--vault-line);padding:22px 28px;background:linear-gradient(95deg,#2c1437,#0d0a1b)}
.exp-vault .exp-topbar h2{font:normal clamp(34px,3.5vw,52px)/1.03 Georgia,serif;margin:6px 0 4px;letter-spacing:-.048em;color:#f9e7ff}
.exp-vault .exp-topbar h2 em{font-weight:normal;color:#d6a1fb}
.exp-vault .exp-topbar p{font-size:12px;color:#bbaaCA;margin:7px 0}
.vault-body{display:grid;grid-template-columns:minmax(0,1fr) 278px;flex:1;min-height:0}
.vault-main{min-width:0;display:flex;flex-direction:column;overflow-y:auto;max-height:calc(90dvh - 114px)}
.vault-statusbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 24px;background:#170e25}
.vault-steps{display:flex;gap:8px;flex-wrap:wrap}
.vault-steps button{display:flex;align-items:center;gap:6px;background:transparent;color:#a693b6;border:1px solid transparent;border-radius:20px;padding:5px 9px;font-size:10px;cursor:pointer}
.vault-steps button span{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid #a981ca;color:#e8d3fd}
.vault-steps button.current{background:#61367566;color:#fce6ff;border-color:#ae81cd80}
.vault-steps button.locked{opacity:.45;cursor:not-allowed}
.vault-steps button.open:hover{border-color:#dec2f3}
.vault-progress{font-size:10px;color:#dbb9fa;white-space:nowrap;font-weight:800;letter-spacing:.07em}
.vault-scene{position:relative;isolation:isolate;overflow:hidden;width:100%;min-height:290px;aspect-ratio:1.96;background:radial-gradient(circle at 50% 30%,#5b2874,#090816 70%)}
.vault-scenery,.vault-scene-vignette,.vault-scenery svg{position:absolute;inset:0;width:100%;height:100%}
.vault-art{display:block;filter:drop-shadow(0 0 45px #ab5afd33)}
.vault-scene-vignette{background:linear-gradient(0deg,#050411e6 0,transparent 24%),radial-gradient(ellipse,transparent 43%,#07071377 85%);pointer-events:none}
.vault-scene-conservatory{background:radial-gradient(circle at 50% 30%,#277a74,#071423 78%)}
.vault-scene-archive{background:radial-gradient(circle at 50% 30%,#34427a,#100a1c 78%)}
.vault-scene-gate{background:radial-gradient(circle at 50% 30%,#8c4983,#10081c 78%)}
.vault-hotspot{position:absolute;left:var(--hot-x);top:var(--hot-y);transform:translate(-50%,-50%);width:48px;height:48px;border:1px solid #ffe2ffb8;border-radius:50%;background:radial-gradient(circle,#c888f37e,#411553d1);color:#fff2ff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 0 0 7px #b46dea23,0 0 24px #d890faad;z-index:1;transition:box-shadow .2s,transform .2s}
.vault-hotspot:hover,.vault-hotspot:focus-visible{box-shadow:0 0 0 12px #bd76ec33,0 0 45px #f7c1ffcc;transform:translate(-50%,-50%) scale(1.1)}
.vault-hotspot-glyph{font:normal 25px Georgia,serif;text-shadow:0 0 8px #d5a0f9}
.vault-hotspot small{position:absolute;top:100%;margin-top:13px;left:50%;transform:translateX(-50%);padding:5px 8px;border-radius:5px;background:#0f091dcc;color:#ffe2ff;font-size:10px;font-weight:800;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .2s}
.vault-hotspot:hover small,.vault-hotspot:focus-visible small{opacity:1}
.vault-scene-label{position:absolute;bottom:15px;left:22px;z-index:2;display:flex;flex-direction:column;gap:6px;pointer-events:none;text-shadow:0 3px 10px #000}
.vault-scene-label span{font-size:10px;letter-spacing:.18em;font-weight:800;color:#dfadfc}
.vault-scene-label strong{font:normal clamp(22px,2.9vw,38px) Georgia,serif;color:#fff0ff}
.vault-lower{padding:25px 27px 32px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:26px;flex:1;background:linear-gradient(160deg,#1b102c,#0f0b1c)}
.vault-narrative{border-right:1px solid #b587e22d;padding:5px 24px 5px 0}
.vault-narrative>p:not(.vault-feedback){font:normal 18px/1.46 Georgia,serif;color:#f7e9ff;margin:15px 0 17px}
.vault-feedback{font-size:12px;line-height:1.5;color:#dab6f4;padding:12px 13px;border-left:2px solid #c787f2;background:#ab6ae510;min-height:38px}
.vault-save{margin-top:18px;font-size:10px;color:#8eb9a4}
.vault-challenge{padding:6px 0;min-width:0}
.vault-challenge h3{font:normal clamp(20px,2.2vw,28px) Georgia,serif;margin:11px 0 12px;color:#fff1ff;letter-spacing:-.03em}
.vault-challenge>p{color:#c4afd1;font-size:12px;line-height:1.65;margin:0 0 17px}
.vault-challenge>p.vault-aux{font-size:11px;color:#ae94c4}
.vault-challenge form{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
.vault-challenge form label{flex-basis:100%;font-size:11px;color:#d2b6e9;font-weight:750}
.vault-challenge form input{min-width:120px;flex:1;padding:13px 14px;border-radius:11px;border:1px solid #a575ca;background:#120b21;color:#f9e8ff;letter-spacing:.18em;font:700 17px monospace;text-transform:uppercase}
.vault-challenge form .exp-button{padding:14px 16px}
.vault-back{display:block;border:0;background:none;color:#cf9ff4;text-decoration:underline;font-size:11px;cursor:pointer;margin-top:18px;padding:5px 0}
.vault-mirror-row{display:flex;gap:10px;margin:14px 0 10px}
.vault-mirror-row button{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;align-items:center;border:1px solid #a67cce83;border-radius:14px;background:linear-gradient(#47245a,#1a122e);color:#e6d4ff;padding:12px 4px;cursor:pointer}
.vault-mirror-row button:hover:not(:disabled){border-color:#f0bafa;background:#65377a}
.vault-mirror-row button:disabled{opacity:.75;cursor:not-allowed}
.vault-mirror-row button span{font-size:8px;letter-spacing:.04em}
.vault-mirror-row button strong{font:normal 38px Georgia,serif;color:#ffe7ff}
.vault-mirror-row button small{font-size:9px;color:#e1bbe7}
.vault-solved{color:#b4f6d2!important}
.vault-gate-checks{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}
.vault-gate-checks span{padding:8px;border-radius:7px;border:1px solid #826891;color:#a99ab8;font-size:10px}
.vault-gate-checks .done{border-color:#92d8b4;color:#b9f4cf}
.vault-fate-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.vault-fate-grid button{padding:18px 15px;text-align:left;border:1px solid #e0b9ed72;background:linear-gradient(140deg,#663d75,#24122f);border-radius:15px;color:#fff0ff;cursor:pointer;min-height:130px}
.vault-fate-grid button:nth-child(2){background:linear-gradient(140deg,#324061,#151229)}
.vault-fate-grid button:hover{border-color:#ffd8ff;box-shadow:0 0 25px #e5a6ff40}
.vault-fate-grid strong{font:normal 20px Georgia,serif;display:block;margin-bottom:8px}
.vault-fate-grid small{line-height:1.5;color:#e0cde9}
.vault-ending{text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
.vault-ending-glyph{font-size:66px;color:#e1adff;filter:drop-shadow(0 0 25px #cf77ff)}
.vault-ending h3{font:normal 31px Georgia,serif;margin:0;color:#fff1ff}
.vault-ending p{font:normal 15px/1.55 Georgia,serif;color:#e6d1ec;margin:3px 0}
.vault-ending .vault-second-end{font:normal 11px sans-serif;color:#bba8cb}
.vault-ending .exp-button{margin-top:9px}
.vault-rail{display:flex;flex-direction:column;background:linear-gradient(180deg,#1c112c,#110b20);border-left:1px solid var(--vault-line);padding:23px 19px;min-width:0;overflow-y:auto;max-height:calc(90dvh - 114px)}
.vault-rail-top h3{font:normal 23px Georgia,serif;letter-spacing:-.025em;color:#f4e5ff;margin:8px 0 7px}
.vault-rail-top p{color:#ae9abf;font-size:11px;line-height:1.6;margin:0 0 16px}
.vault-inventory,.vault-journal{border-top:1px solid #ab7ab638;padding:15px 0}
.vault-inventory h4,.vault-journal h4{display:flex;align-items:center;justify-content:space-between;color:#d8c2eb;font-size:10px;letter-spacing:.16em;margin:0 0 12px}
.vault-inventory h4 span,.vault-journal h4 span{font-size:11px;color:#ac80d9;letter-spacing:0}
.vault-item{display:flex;gap:10px;align-items:center;margin:9px 0;padding:8px;border-radius:9px;background:#24153285;border:1px solid #8d659842;min-height:49px}
.vault-item-glyph{flex:0 0 37px;display:grid;place-items:center;height:37px;border-radius:8px;background:#573269;color:#edc8ff;font-size:24px}
.vault-item strong{display:block;color:#eedbfc;font-size:11px;margin-bottom:3px}
.vault-item small{display:block;color:#a993bd;font-size:9px;line-height:1.35}
.vault-item.is-hidden{opacity:.47}.vault-item.is-hidden .vault-item-glyph{background:#2d2037}
.vault-journal p{margin:0 0 10px;border-left:2px solid #a675c9;padding:6px 0 6px 10px;color:#cbb4d9;font:normal 11px/1.5 Georgia,serif}
.vault-rail-foot{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding-top:13px;border-top:1px solid #ac85cb3a}
.vault-rail-foot span{color:#c0a4d7;font-size:11px}
.vault-rail-foot button{background:transparent;border:1px solid #b184d880;border-radius:10px;color:#efdbff;padding:10px;cursor:pointer;font-size:11px}
.vault-rail-foot button:hover{background:#49265b}
@media (max-width:1000px){.vault-body{grid-template-columns:minmax(0,1fr) 230px}.vault-main{max-height:calc(92dvh - 110px)}.vault-rail{max-height:calc(92dvh - 110px)}.vault-lower{padding:22px 19px;gap:15px}.vault-narrative{padding-right:15px}}
@media (max-width:760px){.vault-body{grid-template-columns:1fr}.vault-main,.vault-rail{max-height:none;overflow:visible}.vault-rail{border-left:0;border-top:1px solid #b78de055;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px}.vault-rail-top,.vault-rail-foot{grid-column:1/-1}.vault-scene{min-height:230px}.vault-statusbar{padding:11px 12px}.vault-steps{gap:3px}.vault-steps button{font-size:9px;padding:4px 6px}.vault-progress{font-size:9px}.vault-lower{grid-template-columns:1fr}.vault-narrative{border-right:0;border-bottom:1px solid #ad88ce37;padding:0 0 13px}.vault-rail-top h3{font-size:19px}.vault-rail-top p{margin-bottom:4px}}
@media (max-width:480px){.exp-vault .exp-topbar{padding:17px}.vault-statusbar{display:block}.vault-steps button{font-size:0;padding:5px}.vault-steps button span{font-size:10px}.vault-progress{display:block;padding:9px 4px 0}.vault-scene{min-height:240px;aspect-ratio:1.35}.vault-hotspot{width:38px;height:38px}.vault-hotspot-glyph{font-size:20px}.vault-scene-label strong{font-size:24px}.vault-rail{grid-template-columns:1fr}.vault-fate-grid{grid-template-columns:1fr}.vault-mirror-row{gap:5px}.vault-mirror-row button{padding:8px 2px}.vault-mirror-row button span{font-size:7px}.vault-mirror-row button strong{font-size:31px}}
@media (prefers-reduced-motion:reduce){.vault-hotspot{transition:none}}

/* ==== assets/studio-next-v1.css ==== */
/* Sorvessa / shared interface for the three next-gen real experiences */
.nx-dialog{position:fixed;inset:0;margin:auto;padding:0;border:1px solid #b887da8e;border-radius:23px;box-shadow:0 35px 120px #000c,0 0 65px #a867db35;background:#120a20;color:#f8eaff;width:min(1310px,calc(100vw - 26px));max-width:none;max-height:92dvh;overflow:auto;z-index:70000;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.nx-dialog::backdrop{background:#05020cdb;backdrop-filter:blur(12px)}
.nx-ui,.nx-ui *{box-sizing:border-box}
.nx-ui button{font-family:inherit}
.nx-ui :is(button,input,select,textarea,summary):focus-visible,.nx-feature-deck button:focus-visible,.nx-nav-link:focus-visible{outline:2px solid #f2c9ff;outline-offset:3px}
.nx-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.nx-top h2{font:normal clamp(37px,3.8vw,53px)/1.05 Georgia,'Times New Roman',serif;letter-spacing:-.04em;color:#f9eeff;margin:8px 0 5px}
.nx-top h2 em{font-weight:normal;color:#d7a0fd}
.nx-top p{color:#bca8cf;line-height:1.5;font-size:12px;margin:9px 0}
.nx-kicker,.nx-ui .nx-subheading,.nx-feature-deck .nx-kicker{color:#dbabff;font-size:10px;font-weight:860;line-height:1.5;letter-spacing:.16em;text-transform:uppercase}
.nx-close{flex:0 0 39px;width:39px;height:39px;border:1px solid #a97ac17b;color:#e6c5f7;background:#382246;border-radius:50%;font-size:25px;line-height:1;display:grid;place-items:center;cursor:pointer}
.nx-close:hover{background:#59346b}
.nx-inline-status{font-size:11px;line-height:1.5;color:#bd9ccd;margin:16px 2px 9px}
.nx-inline-status[data-kind=success]{color:#c3f6d2}.nx-inline-status[data-kind=error]{color:#ffb2c4}
.nx-nav-link{position:relative}.nx-nav-link:after{content:'NEW';position:absolute;right:9px;top:7px;color:#e7b4ff;font-size:8px;letter-spacing:.1em;font-weight:850}
.nx-nav-link .cs-cin-nav-chevron{opacity:0}
.nx-feature-deck{margin:26px 0 36px;position:relative;isolation:isolate;color:#f9e8ff}
.nx-deck-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:21px}
.nx-deck-heading h2{font:normal clamp(28px,3.1vw,40px)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.04em;margin:8px 0;color:#fbecff}
.nx-deck-heading h2 em{font-weight:normal;color:#d9a6ff}
.nx-deck-heading p{font-size:12px;margin:0;color:#b49fc5}
.nx-deck-count{border:1px solid #aa77c16c;border-radius:100px;padding:9px 12px;white-space:nowrap;font-size:9px;font-weight:830;letter-spacing:.13em;color:#cf9dff}
.nx-deck-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.nx-deck-card{position:relative;overflow:hidden;min-height:345px;border:1px solid #b482d077;border-radius:20px;background:linear-gradient(145deg,#281234,#160b23);box-shadow:0 15px 32px #0006}
.nx-deck-art{height:164px;position:relative;overflow:hidden;display:grid;place-items:center;background:radial-gradient(circle at 59% 54%,#ad81dd6e,transparent 48%),linear-gradient(120deg,#221331,#604073)}
.nx-deck-art:after{content:'';position:absolute;inset:0;background-image:radial-gradient(circle,#fff 0 1px,transparent 2px),radial-gradient(circle,#c6b3ffbb 0 1px,transparent 2px);background-size:55px 75px,97px 64px;opacity:.44}
.nx-deck-scenes .nx-deck-art{background:radial-gradient(circle at 62% 41%,#c1a3feaf,transparent 36%),linear-gradient(120deg,#151b42,#61366d)}
.nx-deck-story .nx-deck-art{background:radial-gradient(circle at 59% 51%,#c568ba8f,transparent 39%),linear-gradient(120deg,#20102c,#713957)}
.nx-deck-forge .nx-deck-art{background:radial-gradient(circle at 55% 51%,#e4b3e594,transparent 44%),linear-gradient(120deg,#2a163d,#6b3c7e)}
.nx-deck-portal{display:block;position:absolute;z-index:1;width:100px;height:135px;border:5px solid #f5d4ff;border-bottom:8px solid #f5d4ff;border-radius:55px 55px 0 0;box-shadow:0 0 35px #e8acff,inset 0 0 35px #e8acff8a}
.nx-deck-book{position:absolute;z-index:1;width:117px;height:93px;transform:rotate(-10deg);border:5px solid #edc0ff;border-radius:5px 15px 15px 5px;box-shadow:0 0 24px #f9bfff,inset 0 0 28px #d59ada7b;background:linear-gradient(135deg,#a76eae8f,#291033)}
.nx-deck-book:before{content:'';position:absolute;inset:5px 11px;border:1px solid #ffebff8b}
.nx-deck-diamond{position:absolute;z-index:1;width:112px;height:112px;transform:rotate(45deg);border:5px solid #f1ccff;box-shadow:0 0 34px #ecc8ff,inset 0 0 29px #dfb7ff77;background:linear-gradient(135deg,#ecaeff77,#4b2970)}
.nx-deck-art-star{position:relative;z-index:2;color:#ffebff;font:normal 61px Georgia,serif;text-shadow:0 0 20px #fff2ff,0 0 35px #f3b7ff}
.nx-deck-copy{padding:20px 19px 21px}.nx-deck-copy small{color:#d9adfb;font-size:10px;letter-spacing:.13em;font-weight:800}
.nx-deck-copy h3{font:normal 29px Georgia,serif;color:#ffe9ff;margin:9px 0}
.nx-deck-copy p{font-size:11px;line-height:1.7;color:#c6b0d8;min-height:60px;margin:7px 0 15px}
.nx-deck-copy button{width:100%;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(130deg,#edc6ff,#b67fe1);color:#271134;border:1px solid #ffdeff;border-radius:11px;padding:11px 14px;font-weight:850;font-size:11px;cursor:pointer}
.nx-deck-copy button:hover{filter:brightness(1.1)}.nx-deck-copy button span{font-size:17px}
.nx-deck-disclaimer{font-size:10px;color:#a18caf;margin:12px 2px}
@media(max-width:940px){.nx-deck-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-deck-card:last-child{grid-column:1/-1}.nx-deck-card{min-height:325px}}
@media(max-width:600px){.nx-dialog{width:calc(100vw - 12px);max-height:96dvh;border-radius:16px}.nx-deck-cards{grid-template-columns:1fr}.nx-deck-card:last-child{grid-column:auto}.nx-deck-card{min-height:0}.nx-deck-art{height:150px}.nx-deck-heading{align-items:start}.nx-deck-count{display:none}.nx-top h2{font-size:36px}}
@media(prefers-reduced-motion:reduce){.nx-dialog::backdrop{backdrop-filter:none}}

/* ==== assets/studio-scenes-v1.css ==== */
/* Scene Studio — cinematic, responsive, keyboard accessible */
.nx-scenes{width:min(1370px,calc(100vw - 28px))}
.nx-scene-shell{padding:29px 30px 24px;background:radial-gradient(circle at 22% 0%,#61347846,transparent 34%),#120b21}
.nx-scene-grid{display:grid;grid-template-columns:214px minmax(0,1fr);gap:27px;margin-top:25px}
.nx-scene-rail{border:1px solid #a877cd51;background:linear-gradient(155deg,#231232,#170e25);border-radius:17px;padding:17px 12px 13px;align-self:start;display:flex;flex-direction:column;gap:11px;min-height:460px}
.nx-mini-title{color:#e9beff;font-size:10px;letter-spacing:.12em;font-weight:800;margin:5px 9px}
.nx-scene-slots{display:grid;gap:7px}
.nx-scene-slot{display:flex;align-items:center;gap:9px;min-width:0;text-align:left;background:#241431;border:1px solid #8d5db54d;border-radius:12px;padding:10px;color:#f8e9ff;cursor:pointer}
.nx-scene-slot:hover,.nx-scene-slot.selected{background:#48265b;border-color:#dfabff}
.nx-scene-slot strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:125px}
.nx-scene-slot small{display:block;color:#bda5d2;font-size:9px;margin-top:4px;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nx-slot-dot{width:18px;height:18px;flex:0 0 18px;background:radial-gradient(circle,#fff6,var(--swatch));border-radius:50%;box-shadow:0 0 12px var(--swatch)}
.nx-scene-slot>span:last-child{margin-left:auto;color:#be9ed3}
.nx-rail-button{border:1px solid #a870bd70;color:#ebcfff;padding:11px;background:#342042;border-radius:10px;font-weight:700;cursor:pointer;text-align:left;font-size:11px}
.nx-rail-button:hover{background:#4c2b61}
.nx-rail-bottom{margin-top:auto;border-top:1px solid #ae83c839;padding:14px 6px 0;display:grid;gap:8px;color:#a78dbd;font-size:9px;line-height:1.5}
.nx-empty-tiny{font-size:11px;color:#9f88b5;line-height:1.5;padding:12px}
.nx-scene-main{min-width:0}
.nx-design-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.nx-design-head strong{display:block;margin-top:5px;font:normal 24px Georgia,serif;color:#f7dfff}
.nx-status-pill{font-size:9px;color:#d9b3ff;border:1px solid #ab7ed370;border-radius:30px;padding:7px 10px;font-weight:800;letter-spacing:.1em}
.nx-scene-stage{height:clamp(280px,36vw,435px);width:100%;border:1px solid #b78cd6bd;border-radius:17px;overflow:hidden;position:relative;isolation:isolate;background:#170c24;box-shadow:inset 0 0 90px #12052096,0 15px 45px #06020b80}
.nx-scene-stage:before{content:'';position:absolute;inset:0;z-index:-1;filter:brightness(var(--nx-light,1)) saturate(var(--nx-sat,1.1));background:radial-gradient(circle at 76% 18%,#dcb0ff64,transparent 30%),linear-gradient(160deg,#130e2d,#492653 50%,#170b25);opacity:.9}
.nx-theme-moon:before{background:radial-gradient(circle at 69% 21%,#efd9ffb5 0 4%,#a083d755 7%,transparent 15%),radial-gradient(ellipse at 28% 66%,#9c4c9299,transparent 48%),linear-gradient(#0e173a 7%,#3c285c 65%,#21182d)}
.nx-theme-velvet:before{background:radial-gradient(ellipse at 52% 73%,#a43e698a,transparent 42%),radial-gradient(ellipse at 65% 25%,#de8a9875,transparent 20%),linear-gradient(140deg,#180c23,#592045 52%,#170d2b)}
.nx-theme-neon:before{background:radial-gradient(circle at 78% 28%,#ed75acaa,transparent 31%),linear-gradient(145deg,#091a3e,#3e2b74 61%,#190b34)}
.nx-theme-celestial:before{background:radial-gradient(circle at 50% 38%,#cac5ffad,transparent 14%),radial-gradient(ellipse at 50% 48%,#6b54bba8,transparent 52%),linear-gradient(140deg,#080e32,#2c2462 64%,#0d0932)}
.nx-theme-forest:before{background:radial-gradient(ellipse at 57% 47%,#b1d8b793,transparent 25%),linear-gradient(135deg,#091b2f,#1f454c 45%,#201237 90%)}
.nx-scene-stage:after{content:'';position:absolute;inset:0;z-index:4;pointer-events:none;box-shadow:inset 0 0 80px #04010fc7,inset 0 -36px 85px #050210ad;border-radius:inherit}
.nx-scene-stars{position:absolute;z-index:0;inset:4% 0 10%;pointer-events:none;opacity:calc(var(--nx-glow,.6) * .9);background-image:radial-gradient(circle at 11% 24%,#fff 0 1px,transparent 2px),radial-gradient(circle at 42% 38%,#fff8 0 1px,transparent 2px),radial-gradient(circle at 74% 14%,#fff 0 1px,transparent 2px),radial-gradient(circle at 82% 47%,#eac3ff 0 2px,transparent 3px),radial-gradient(circle at 31% 13%,#b7e0ff 0 1px,transparent 2px),radial-gradient(circle at 60% 23%,#f8efff 0 2px,transparent 3px);background-size:210px 150px,140px 150px,310px 190px,190px 200px,230px 170px,260px 150px}
.nx-theme-velvet .nx-scene-stars{opacity:.1}
.nx-scene-orb{position:absolute;z-index:1;left:55%;top:9%;height:29%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 39% 31%,#fff9,#cdb8fc 52%,#6b4a9477 68%,transparent 72%);box-shadow:0 0 42px #efcaffb4,0 0 100px #b188f766;opacity:calc(var(--nx-glow,.6) + .24)}
.nx-theme-moon .nx-scene-orb{left:68%;top:11%;height:32%}
.nx-theme-velvet .nx-scene-orb{left:40%;top:1%;width:140px;height:140px;opacity:.8;background:radial-gradient(circle at 50% 10%,#ffefbb,#ba7e8899 33%,transparent 72%);filter:blur(8px)}
.nx-theme-neon .nx-scene-orb{left:74%;top:18%;height:27%;background:radial-gradient(circle,#ff8cc0,#db519778 46%,transparent 71%);filter:blur(12px)}
.nx-theme-celestial .nx-scene-orb{left:41%;top:18%;height:48%;border:2px solid #d5c3ff79;background:radial-gradient(circle at 50% 50%,#d4c8ff95,#4d3d8d82 47%,transparent 68%);box-shadow:0 0 45px #b4a6ff,0 0 110px #9c93ff77}
.nx-theme-celestial .nx-scene-orb:after{content:'';position:absolute;inset:-24%;border:1px solid #b9affc77;border-radius:50%;transform:rotateX(58deg) rotateZ(-25deg);box-shadow:0 0 20px #b9affc}
.nx-theme-forest .nx-scene-orb{left:52%;top:23%;height:37%;filter:blur(6px);background:radial-gradient(circle,#c5ffe0b9,#82b9b878 43%,transparent 73%)}
.nx-scene-architecture{position:absolute;inset:5% 11% 17%;z-index:2;pointer-events:none;display:flex;gap:8%;align-items:stretch;justify-content:center;filter:drop-shadow(0 8px 17px #0007)}
.nx-scene-architecture>span{flex:1;max-width:21%;border:16px solid #5a416fbb;border-bottom:0;border-radius:60% 60% 0 0 / 35% 35% 0 0;box-shadow:inset 0 0 15px #ffffff30,12px 0 0 #1e1734aa;opacity:.76}
.nx-theme-moon .nx-scene-architecture{inset:0 7% 10%}.nx-theme-moon .nx-scene-architecture>span{border-color:#70608a99}
.nx-theme-velvet .nx-scene-architecture{inset:0 0 5%;justify-content:space-between;gap:7%}.nx-theme-velvet .nx-scene-architecture>span{border:0;border-radius:0;max-width:25%;background:linear-gradient(90deg,#25091c,#8f284e75,#2b0b2b);opacity:.85;clip-path:polygon(0 0,100% 0,90% 48%,100% 100%,0 100%,9% 40%)}
.nx-theme-neon .nx-scene-architecture{display:none}
.nx-theme-celestial .nx-scene-architecture>span{border:5px solid #b5a7ec75;border-bottom:0;max-width:30%;border-radius:50% 50% 0 0}
.nx-theme-forest .nx-scene-architecture>span{border:18px solid #497070b0;box-shadow:inset 0 0 12px #8be7af6c,14px 0 0 #19372b99}
.nx-scene-skyline{position:absolute;bottom:13%;left:0;right:0;height:35%;z-index:1;pointer-events:none;background:linear-gradient(0deg,#170d28c9,transparent);clip-path:polygon(0 91%,9% 91%,9% 49%,15% 49%,15% 73%,21% 73%,21% 33%,26% 33%,26% 70%,33% 70%,33% 57%,39% 57%,39% 26%,48% 26%,48% 68%,52% 68%,52% 41%,62% 41%,62% 58%,68% 58%,68% 18%,74% 18%,74% 65%,82% 65%,82% 45%,91% 45%,91% 78%,100% 78%,100% 100%,0 100%)}
.nx-theme-velvet .nx-scene-skyline,.nx-theme-forest .nx-scene-skyline{display:none}
.nx-theme-neon .nx-scene-skyline{bottom:10%;height:68%;background:repeating-linear-gradient(90deg,transparent 0 18px,#ee86c36b 20px 21px,transparent 23px 37px),linear-gradient(0deg,#0f1131,#1e184da6);filter:drop-shadow(0 0 13px #f65cac)}
.nx-theme-moon .nx-scene-skyline{bottom:13%;height:35%;background:linear-gradient(0deg,#190b30c7,#47345755)}
.nx-scene-ground{position:absolute;bottom:-3%;left:-3%;width:106%;height:28%;z-index:2;background:linear-gradient(0deg,#0b0615,#24132a 55%,#66406e4f);border-top:2px solid #d6a8e277;transform:perspective(400px) rotateX(17deg)}
.nx-theme-neon .nx-scene-ground{background:repeating-linear-gradient(150deg,#2f1e4eac 0 13px,#ed7eb350 15px 16px),linear-gradient(#302451,#0b1029);box-shadow:0 -8px 25px #f28ab53d}
.nx-theme-forest .nx-scene-ground{background:radial-gradient(ellipse at 50% 20%,#588c7d8a,transparent 60%),linear-gradient(#1d332e,#0b1021)}
.nx-scene-weather{position:absolute;z-index:3;inset:0;pointer-events:none;opacity:.55}
.nx-weather-rain .nx-scene-weather{background:repeating-linear-gradient(105deg,transparent 0 25px,#cdb9ff33 26px 27px,transparent 28px 45px);animation:nx-rain 2s linear infinite}
.nx-weather-mist .nx-scene-weather{background:radial-gradient(ellipse at 55% 65%,#c8bded66,transparent 58%);filter:blur(16px);animation:nx-fog 7s ease-in-out infinite alternate}
.nx-weather-stars .nx-scene-weather{background-image:radial-gradient(circle,#fff8 0 1px,transparent 2px),radial-gradient(circle,#dbb9ffbb 0 1px,transparent 2px);background-size:53px 79px,91px 67px;animation:nx-twinkle 5s linear infinite alternate}
.nx-scene-props{position:absolute;inset:0;z-index:5;pointer-events:none}
.nx-scene-prop{position:absolute;transform:translate(-50%,-50%);width:59px;height:59px;display:grid;place-items:center;border:1px solid #ffffff7b;box-shadow:0 0 20px #e4adff55,0 10px 20px #0006,inset 0 0 18px #ffe7ff4b;border-radius:50%;color:#ffecff;background:radial-gradient(circle,#9a6eb293,#3d205e86);text-shadow:0 0 11px #f8d2ff;font-size:29px;cursor:grab;touch-action:none;pointer-events:auto;user-select:none}
.nx-scene-prop:active{cursor:grabbing}.nx-prop-flowers{color:#f9bedc;background:radial-gradient(circle,#a3487777,#311537aa)}.nx-prop-books{font-size:25px;color:#f1ce9a}.nx-prop-orb{color:#d7e2ff;box-shadow:0 0 26px #e2ceff99,0 0 50px #d1a7fa65}
.nx-scene-caption{position:absolute;z-index:6;bottom:21px;left:24px;right:22px;pointer-events:none;text-shadow:0 3px 14px #000e}
.nx-scene-caption span{display:block;color:#e6cbff;font-weight:850;letter-spacing:.2em;font-size:10px}
.nx-scene-caption strong{display:block;color:#fff1ff;font:normal clamp(25px,3.1vw,40px) Georgia,serif;letter-spacing:-.04em;margin:5px 0}
.nx-scene-caption small{font-size:12px;color:#dbc5f2}
.nx-control-hint{margin:11px 0 17px;color:#bfaad1;font-size:11px}
.nx-theme-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:8px 0 23px}
.nx-theme-choice{border:1px solid #a079bf76;background:#23112e;padding:7px;border-radius:12px;color:#e8daee;cursor:pointer;min-width:0;text-align:left}
.nx-theme-choice:hover,.nx-theme-choice.on{border-color:#ebc2ff;background:#49245a;box-shadow:0 0 16px #a96ae040}
.nx-theme-thumb{display:block;height:49px;border-radius:7px;background:radial-gradient(circle at 73% 21%,#ddd0ff9e,transparent 30%),linear-gradient(125deg,#181634,#693c76)}
.nx-theme-choice-velvet .nx-theme-thumb{background:radial-gradient(circle at 75% 19%,#edb28c,transparent 32%),linear-gradient(125deg,#291124,#9e3e62)}
.nx-theme-choice-neon .nx-theme-thumb{background:radial-gradient(circle at 80% 19%,#ed85be,transparent 39%),linear-gradient(125deg,#111f4c,#613da0)}
.nx-theme-choice-celestial .nx-theme-thumb{background:radial-gradient(circle at 49% 34%,#d7d5ff,transparent 41%),linear-gradient(125deg,#101d5b,#393081)}
.nx-theme-choice-forest .nx-theme-thumb{background:radial-gradient(circle at 49% 34%,#b9edce,transparent 41%),linear-gradient(125deg,#162f30,#336354)}
.nx-theme-choice strong{display:block;font-size:9px;line-height:1.3;margin:7px 2px 1px}
.nx-scene-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 21px;background:linear-gradient(125deg,#241432a1,#1c1029);border:1px solid #8f60b356;padding:21px;border-radius:16px}
.nx-scene-config label{color:#e8d6f3;font-size:11px;font-weight:760;min-width:0}
.nx-scene-config :is(input[type=text],select){display:block;width:100%;padding:10px 11px;margin-top:8px;border:1px solid #b98ada80;background:#1b1028;color:#f9eaff;border-radius:9px;font-size:12px}
.nx-scene-config .nx-wide-field{grid-column:1/-1}
.nx-slider-field>span{display:flex;align-items:center;gap:9px;margin-top:9px}
.nx-slider-field input[type=range]{width:100%;min-width:0;accent-color:#dfa5ff}
.nx-slider-field output{font-size:11px;color:#ddb7ef;min-width:33px;text-align:right}
.nx-prop-controls{grid-column:1/-1;border:1px solid #9e70b35c;border-radius:12px;display:flex;gap:8px 16px;flex-wrap:wrap;padding:12px}
.nx-prop-controls legend{font-size:10px;font-weight:800;color:#edd4ff;padding:0 6px}
.nx-prop-controls label{font-size:10px;display:flex;align-items:center;gap:6px;cursor:pointer}.nx-prop-controls input{accent-color:#c985ff}
.nx-scenes-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.nx-scenes-actions button{padding:11px 15px;font-size:11px;border-radius:10px;font-weight:800;cursor:pointer}
.nx-scenes-actions .nx-main-btn{background:#673885;border:1px solid #a87cce;color:#fff0ff}.nx-scenes-actions .nx-apply{background:linear-gradient(125deg,#f3cbff,#a96ee0);color:#271233;border-color:#f6d9ff}
.nx-scenes-actions .nx-soft-btn{background:#271932;border:1px solid #7f648e;color:#dec4f0}.nx-scenes-actions .nx-delete-btn{margin-left:auto;background:#382032;color:#ffcad8;border:1px solid #a66e7e}
.nx-privacy-foot{font-size:10px;color:#a58fb9;line-height:1.6}
.nx-chat-scene{background-image:var(--nx-scene-chat-bg)!important;background-size:cover!important;background-attachment:local!important;position:relative}
.nx-chat-scene>.cs-bubble,.nx-chat-scene>.cs-empty{position:relative;z-index:1;backdrop-filter:blur(6px)}
.nx-chat-scene>.cs-bubble{box-shadow:0 6px 20px #0007}
.nx-chat-scene-chip{font-size:10px;padding:7px 9px;border-radius:50px;color:#efd0ff;border:1px solid #a76fb980;background:#4b2961bb;cursor:pointer;white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}
@keyframes nx-rain{from{background-position:0 0}to{background-position:-55px 96px}}
@keyframes nx-fog{from{transform:translateX(-4%);opacity:.31}to{transform:translateX(3%);opacity:.65}}
@keyframes nx-twinkle{from{opacity:.3}to{opacity:.8}}
@media(max-width:960px){.nx-scene-grid{grid-template-columns:1fr;gap:15px}.nx-scene-rail{min-height:0;display:block}.nx-scene-slots{display:flex;gap:8px;overflow-x:auto;margin:10px 0}.nx-scene-slot{min-width:170px}.nx-rail-button{display:inline-block;margin-right:6px}.nx-rail-bottom{display:none}}
@media(max-width:670px){.nx-scene-shell{padding:19px 12px}.nx-theme-strip{grid-template-columns:repeat(3,1fr)}.nx-scene-stage{height:330px}.nx-scene-caption{left:15px;bottom:14px}.nx-scene-caption strong{font-size:27px}.nx-scene-config{grid-template-columns:1fr;padding:13px}.nx-scene-config .nx-wide-field,.nx-prop-controls{grid-column:1}.nx-scenes-actions button{flex:1 0 39%}.nx-scenes-actions .nx-delete-btn{margin-left:0}.nx-scene-prop{width:44px;height:44px;font-size:24px}.nx-scene-architecture>span{border-width:10px}}
@media(prefers-reduced-motion:reduce){.nx-scene-weather,.nx-scene-orb{animation:none!important}}
body[data-nx-motion="off"] .nx-scene-weather{animation:none!important}

/* ==== assets/studio-story-v1.css ==== */
/* Story Director — playable narrative with fully authored branching paths */
.nx-story{width:min(1330px,calc(100vw - 28px))}
.nx-story-shell{background:radial-gradient(circle at 80% 0%,#66428746,transparent 40%),#110b1c;min-height:520px;padding:28px 31px 29px}
.nx-story-library-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(310px,1fr);gap:25px;margin-top:29px}
.nx-story-library-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.nx-story-card{display:flex;flex-direction:column;text-align:left;overflow:hidden;border:1px solid #ae75b66b;border-radius:17px;padding:0;color:#fff;min-width:0;cursor:pointer;background:#22132c;transition:transform .2s,border-color .2s,box-shadow .2s}
.nx-story-card:hover,.nx-story-card.selected{transform:translateY(-3px);border-color:#f3c3ff;box-shadow:0 8px 28px #bc6cea33}
.nx-story-cover{position:relative;overflow:hidden;display:grid;place-items:center;height:165px;background:radial-gradient(circle at 67% 26%,#b779d0ab,transparent 27%),linear-gradient(140deg,#3c1b3d,#7f3765 61%,#160b27)}
.nx-story-train .nx-story-cover{background:radial-gradient(circle at 72% 30%,#fa78b38a,transparent 30%),linear-gradient(120deg,#101d44,#583076 63%,#100b24)}
.nx-story-garden .nx-story-cover{background:radial-gradient(circle at 50% 49%,#b5e7ca80,transparent 25%),linear-gradient(130deg,#122c31,#3b6265 70%,#120c2a)}
.nx-story-cover:before{content:'';position:absolute;inset:10% 26% -35%;border:4px solid #f1c6ff66;border-bottom:0;border-radius:55% 55% 0 0;box-shadow:0 0 45px #efb5ff66,inset 0 0 35px #e3b3ff3d}
.nx-story-cover:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 25% 34%,#fff 0 1px,transparent 2px),radial-gradient(circle at 77% 19%,#fff 0 1px,transparent 2px);background-size:58px 56px,81px 92px;opacity:.75}
.nx-story-emblem{font:normal 55px Georgia,serif;color:#ffefff;z-index:1;text-shadow:0 0 26px #f2c8ff;position:relative}
.nx-story-cover-number{position:absolute;z-index:1;bottom:8px;right:11px;color:#ffe4ff;letter-spacing:.12em;font-size:10px}
.nx-story-card-copy{display:grid;gap:9px;padding:17px 14px 18px}
.nx-story-card-copy small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#e1b9ff}
.nx-story-card-copy strong{font:normal 23px/1.05 Georgia,serif;letter-spacing:-.03em;min-height:51px;color:#fceaff}
.nx-story-card-copy em{font-style:normal;font-size:11px;line-height:1.55;color:#c6b5d5}
.nx-story-launch{background:linear-gradient(135deg,#31183f,#1c102b);padding:24px;border:1px solid #b580df6b;border-radius:18px}
.nx-story-launch h3{font:normal 30px Georgia,serif;margin:12px 0;color:#f9e7ff}
.nx-story-launch>p{color:#c7b1d8;font-size:12px;line-height:1.7}
.nx-story-launch label{display:block;margin:17px 0;color:#e7d4f4;font-size:11px;font-weight:750}
.nx-story-launch select{width:100%;display:block;margin-top:8px;background:#180d25;color:#f7e5ff;border:1px solid #ae81cb81;border-radius:10px;padding:12px 9px;font-size:12px}
.nx-story-launch .nx-story-game-note{font-size:10px;border-top:1px solid #b38bca4d;padding-top:15px}
.nx-start-story{display:flex;justify-content:space-between;gap:12px;align-items:center;width:100%;padding:13px 17px;color:#261032;background:linear-gradient(125deg,#f2ccff,#b77bdf);border:1px solid #fbe4ff;border-radius:12px;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 8px 24px #9d5ac449}
.nx-start-story:hover{filter:brightness(1.08)}.nx-start-story:disabled{opacity:.45;cursor:not-allowed}
.nx-start-story span{font-size:19px}
.nx-story-saves{margin-top:30px;padding-top:23px;border-top:1px solid #a47abc4b}
.nx-section-header h3{font:normal 26px Georgia,serif;margin:8px 0 14px;color:#efd7ff}
.nx-section-header h3 small{font:700 12px ui-sans-serif,system-ui;color:#bca0cc}
.nx-story-save-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.nx-story-saved{display:flex;align-items:center;gap:10px;border:1px solid #9e6cb258;background:#221430;padding:12px 15px;border-radius:12px;min-width:0}
.nx-story-saved>span:nth-child(2){flex:1;min-width:0}
.nx-story-saved strong{display:block;color:#f5dfff;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx-story-saved small{display:block;color:#ac92c3;font-size:10px;margin-top:5px}
.nx-saved-dot{width:12px;height:12px;border-radius:50%;background:#c88edd;box-shadow:0 0 12px #d9a4ff}
.nx-saved-train{background:#9a8ae7}.nx-saved-garden{background:#84b99c}
.nx-story-saved button{color:#ead6f8;border:1px solid #a17abd66;background:#3d2651;border-radius:8px;padding:8px;cursor:pointer;font-size:10px;flex:0 0 auto}
.nx-story-saved .nx-saved-delete{font-size:16px;padding:6px 9px}
.nx-story-empty{font-size:12px;color:#ad96c4}
.nx-story-inplay{padding-bottom:21px}
.nx-story-top-actions{display:flex;align-items:center;gap:12px}
.nx-soft-control{color:#f2dfff;background:#342145;border:1px solid #ac80be8f;border-radius:11px;padding:10px;cursor:pointer;font-size:11px;font-weight:700}
.nx-story-play-grid{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:20px;margin-top:25px}
.nx-story-play-main{min-width:0;border:1px solid #a16fbd69;border-radius:19px;overflow:hidden;background:#1c1029}
.nx-story-visual{height:292px;overflow:hidden;position:relative;background:radial-gradient(circle at 63% 30%,#ae85d37f,transparent 34%),linear-gradient(135deg,#180f30,#69325f 68%,#1b1026)}
.nx-art-neon{background:radial-gradient(circle at 78% 25%,#ff92c1aa,transparent 33%),linear-gradient(145deg,#0a1e48,#573b86 56%,#160b32)}
.nx-art-moon{background:radial-gradient(circle at 64% 27%,#d1b8e7a8,transparent 36%),linear-gradient(130deg,#101b40,#503d70 62%,#100a24)}
.nx-art-celestial{background:radial-gradient(circle at 48% 36%,#dbd1ffad,transparent 27%),linear-gradient(135deg,#101036,#494185 55%,#0f0b28)}
.nx-art-forest{background:radial-gradient(ellipse at 52% 48%,#c3f1d6a3,transparent 29%),linear-gradient(135deg,#10242d,#31574f 55%,#100a28)}
.nx-novel-moon{position:absolute;width:160px;height:160px;left:55%;top:12%;border-radius:50%;background:radial-gradient(circle at 38% 30%,#fff9,#d7c0fb9e 55%,transparent 75%);box-shadow:0 0 80px #d5b9ff99}
.nx-art-neon .nx-novel-moon{background:radial-gradient(circle at 50% 40%,#f89acb9e,transparent 70%);filter:blur(15px)}
.nx-art-forest .nx-novel-moon{background:radial-gradient(circle,#bcffcf8c,transparent 70%);filter:blur(16px)}
.nx-novel-horizon{position:absolute;inset:51% 0 0;background:linear-gradient(0deg,#100c24,#2814302e);clip-path:polygon(0 60%,10% 50%,10% 36%,17% 36%,17% 70%,25% 70%,25% 25%,34% 25%,34% 65%,42% 65%,42% 40%,48% 40%,48% 70%,56% 70%,56% 14%,63% 14%,63% 76%,72% 76%,72% 26%,82% 26%,82% 75%,92% 75%,92% 51%,100% 51%,100% 100%,0 100%)}
.nx-art-velvet .nx-novel-horizon,.nx-art-forest .nx-novel-horizon{display:none}
.nx-novel-arch{position:absolute;inset:5% 24% -15%;border:17px solid #d6ade560;border-bottom:0;border-radius:50% 50% 0 0 / 40% 40% 0 0;box-shadow:inset 0 0 30px #fff3,0 0 28px #f3b2f354}
.nx-art-neon .nx-novel-arch{border-color:#e08ccf99}.nx-art-forest .nx-novel-arch{border-color:#85bb9b92}.nx-art-celestial .nx-novel-arch{border-color:#a3b1ff99}
.nx-novel-orbs{position:absolute;inset:0;background-image:radial-gradient(circle,#fff 0 1px,transparent 2px),radial-gradient(circle,#d9bbff 0 2px,transparent 3px);background-size:84px 87px,121px 103px;opacity:.38}
.nx-story-visual-copy{position:absolute;inset:auto 0 0;z-index:2;padding:37px 25px 20px;background:linear-gradient(transparent,#110917f5);text-shadow:0 3px 12px #000a}
.nx-story-visual-copy small{display:block;color:#efc8ff;font-size:10px;font-weight:850;letter-spacing:.2em}
.nx-story-visual-copy strong{display:block;color:#fff2ff;font:normal clamp(28px,3.1vw,39px) Georgia,serif;margin-top:7px}
.nx-novel-prose{padding:24px 27px 14px}
.nx-novel-prose h3{font:normal 30px Georgia,serif;color:#f8e5ff;margin:9px 0}
.nx-novel-prose>p{font:normal 15px/1.9 Georgia,serif;color:#ddcbe4;max-width:750px;margin:11px 0 20px}
.nx-novel-prose blockquote{display:flex;align-items:center;gap:13px;min-height:77px;border:1px solid #a579c267;background:#301b40;border-radius:14px;padding:13px 15px;margin:0}
.nx-novel-prose blockquote>span:last-child{font-size:13px;line-height:1.6;font-style:italic;color:#f4dbf9}
.nx-portrait-wrap{flex:0 0 46px;display:grid;place-items:center}
.nx-portrait-wrap .avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#6d428b;color:#fff;font-size:24px}
.nx-portrait-wrap .avatar img{width:100%;height:100%;object-fit:cover}
.nx-story-choices{padding:15px 27px 27px;display:grid;gap:10px}
.nx-story-choice{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:14px 17px;border:1px solid #aa7fc470;border-radius:13px;background:#2f1b3f;color:#f8e6ff;cursor:pointer;min-height:65px}
.nx-story-choice:hover:not(:disabled){background:#56306c;border-color:#eccaff;transform:translateY(-1px)}
.nx-story-choice:disabled{cursor:not-allowed;opacity:.47}
.nx-story-choice>span:nth-child(2){flex:1;font:normal 15px Georgia,serif}
.nx-story-choice small{display:block;font:normal 10px ui-sans-serif,sans-serif;color:#ddb4e7;margin-top:6px}
.nx-choice-num{font-size:12px;font-weight:850;color:#deaaff;flex:0 0 24px}
.nx-story-feedback{font-size:10px;color:#9f8db4;padding:0 27px 19px}
.nx-story-finale{padding:20px 27px 30px;color:#efdfff}
.nx-story-finale>span{font-size:10px;color:#e6b7ff;letter-spacing:.2em}
.nx-story-finale h3{font:normal 29px Georgia,serif;margin:10px 0;color:#f9deff}
.nx-story-finale p{font-size:12px;line-height:1.7;color:#cdb7dd}
.nx-story-finale .nx-start-story{width:auto}
.nx-story-journal{align-self:start;position:sticky;top:0;background:linear-gradient(150deg,#2b1938,#1b1027);border:1px solid #aa7cc461;border-radius:18px;padding:22px 18px;max-height:82dvh;overflow-y:auto}
.nx-journal-top strong{display:block;font:normal 22px Georgia,serif;color:#f8e3ff;margin-top:7px}
.nx-story-companion{display:flex;align-items:center;gap:10px;padding:17px 0;border-bottom:1px solid #ad87bf5a}
.nx-story-companion .avatar{width:41px;height:41px;display:grid;place-items:center;border-radius:50%;background:#76518f;overflow:hidden}
.nx-story-companion .avatar img{width:100%;height:100%;object-fit:cover}
.nx-story-companion strong{display:block;color:#f4e3fa;font-size:12px}.nx-story-companion small{display:block;margin-top:5px;color:#ae92c0;font-size:10px}
.nx-story-score{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:15px 0}
.nx-score-chip{display:grid;gap:5px;text-align:center;border:1px solid #9e69b76b;border-radius:12px;background:#3a2349;padding:11px 3px}
.nx-score-chip small{font-size:9px;color:#d1b2e5;overflow:hidden;text-overflow:ellipsis}.nx-score-chip strong{font:normal 24px Georgia,serif;color:#f7d7ff}
.nx-story-timeline{margin-top:18px}.nx-story-timeline ol{list-style:none;padding:0;margin:13px 0;display:grid;gap:12px}
.nx-story-timeline li{display:flex;gap:11px;align-items:start;color:#eed5f8}
.nx-story-timeline li>span:first-child{flex:0 0 26px;width:26px;height:26px;display:grid;place-items:center;border:1px solid #a57ac0;border-radius:50%;font-size:10px}
.nx-story-timeline li>div{min-width:0}.nx-story-timeline strong{display:block;font-size:11px}.nx-story-timeline small{display:block;color:#aa93bf;margin-top:4px;font-size:10px;line-height:1.4}
.nx-story-timeline .nx-empty-entry{font-size:11px;color:#b29ac1;line-height:1.5}
.nx-story-tools{display:grid;gap:8px;margin-top:22px}
.nx-story-tools button{border:1px solid #ab7eca75;color:#ebd3f8;background:#412951;border-radius:10px;padding:11px;font-size:11px;font-weight:750;text-align:left;cursor:pointer}
.nx-story-tools button:hover:not(:disabled){background:#623775}.nx-story-tools button:disabled{opacity:.35;cursor:not-allowed}
.nx-journal-footer{font-size:10px;color:#9f8eb2;line-height:1.7;border-top:1px solid #a477be4b;padding-top:15px}
@media(max-width:1050px){.nx-story-library-grid{grid-template-columns:1fr}.nx-story-play-grid{grid-template-columns:minmax(0,1fr) 245px}.nx-story-library-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.nx-story-shell{padding:19px 13px}.nx-story-library-cards{grid-template-columns:1fr;gap:10px}.nx-story-card{flex-direction:row}.nx-story-cover{height:118px;flex:0 0 110px}.nx-story-card-copy{gap:5px;padding:13px}.nx-story-card-copy strong{font-size:20px;min-height:0}.nx-story-save-list{grid-template-columns:1fr}.nx-story-play-grid{grid-template-columns:1fr;gap:14px}.nx-story-journal{position:static;max-height:none}.nx-story-visual{height:255px}.nx-story-visual-copy{padding:22px 15px}.nx-novel-prose{padding:17px}.nx-novel-prose>p{font-size:14px}.nx-story-choices{padding:15px}.nx-story-feedback{padding:0 15px 15px}}
@media(max-width:430px){.nx-story-card-copy strong{font-size:18px}.nx-story-card-copy em{font-size:10px}.nx-story-cover{width:90px;flex-basis:90px}.nx-story-top-actions{gap:5px}.nx-soft-control{padding:8px}}
@media(prefers-reduced-motion:reduce){.nx-story-card,.nx-story-choice{transition:none}.nx-story-card:hover,.nx-story-choice:hover{transform:none}}

/* ==== assets/studio-forge-v1.css ==== */
/* Character Forge — an actual editable Wix character workbench */
.nx-forge{width:min(1350px,calc(100vw - 28px))}
.nx-forge-shell{padding:28px 31px 23px;background:radial-gradient(ellipse at 75% 0%,#6236785b,transparent 44%),#110b1d}
.nx-forge-target{display:flex;justify-content:space-between;align-items:end;gap:13px;margin:26px 0 15px}
.nx-forge-target label{font-size:10px;letter-spacing:.15em;font-weight:850;color:#dcb4f5}
.nx-forge-target select{display:block;font-size:12px;color:#fff0ff;background:#2d183d;border:1px solid #b38cce;padding:11px 17px;border-radius:10px;min-width:240px;max-width:100%;margin-top:9px}
#nx-forge-dirty{font-size:10px;color:#a98bba;letter-spacing:.06em;text-align:right}
#nx-forge-dirty.nx-dirty{color:#f2c5ff}
.nx-forge-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);gap:20px}
.nx-forge-workbench{background:linear-gradient(145deg,#291733,#1c1029);border:1px solid #ab77c469;border-radius:19px;padding:19px;min-width:0}
.nx-forge-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:4px;background:#160c23;border:1px solid #9566b159;border-radius:12px}
.nx-forge-tabs button{border:0;color:#c5a9d8;background:transparent;padding:10px 3px;border-radius:8px;font-size:11px;font-weight:800;cursor:pointer}
.nx-forge-tabs button.on,.nx-forge-tabs button:hover{background:linear-gradient(120deg,#7d4b9b,#57316d);color:#fff}
.nx-forge-tab-content{min-height:390px;margin-top:23px}
.nx-forge-help{font-size:11px;line-height:1.65;color:#bba7d0;max-width:560px}
.nx-forge-looks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:20px 0}
.nx-forge-look{display:flex;flex-direction:column;min-width:0;border:1px solid #a980bb70;border-radius:10px;padding:5px;background:#2e1c38;color:#fff0ff;cursor:pointer;text-align:left;overflow:hidden}
.nx-forge-look.selected,.nx-forge-look:hover{border-color:#edc4ff;background:#4e2d5d}
.nx-forge-look-art{display:grid;place-items:center;height:63px;font:normal 37px Georgia,serif;text-shadow:0 0 20px #f5e0ff;background:radial-gradient(circle at 60% 20%,#d8b9ec99,transparent 53%),linear-gradient(125deg,#36203f,#783970);border-radius:7px;margin-bottom:9px}
.nx-forge-look-lunar .nx-forge-look-art{background:radial-gradient(circle at 60% 20%,#e5e3ffcc,transparent 53%),linear-gradient(125deg,#1d214a,#464b8c)}
.nx-forge-look-neon .nx-forge-look-art{background:radial-gradient(circle at 70% 20%,#fa98c0bb,transparent 53%),linear-gradient(125deg,#1c2256,#a23d83)}
.nx-forge-look-nature .nx-forge-look-art{background:radial-gradient(circle at 60% 20%,#ccf2d4bb,transparent 53%),linear-gradient(125deg,#15373b,#4c8668)}
.nx-forge-look-everyday .nx-forge-look-art{background:radial-gradient(circle at 60% 20%,#f4dfb9bb,transparent 53%),linear-gradient(125deg,#4a2936,#a48063)}
.nx-forge-look strong{font-size:9px;line-height:1.4;white-space:normal;min-height:29px;padding:0 4px}
.nx-forge-look small{color:#b8a6c1;font-size:8px;padding:0 4px 8px}
.nx-forge-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:16px 0 17px}
.nx-forge-field{display:block;color:#dfc9ef;font-size:11px;font-weight:730;min-width:0}
.nx-forge-field input,.nx-forge-field textarea,.nx-forge-field select{display:block;margin-top:8px;color:#fff3ff;background:#140d23;border:1px solid #a078b36d;border-radius:10px;width:100%;font:normal 12px/1.5 ui-sans-serif,system-ui;padding:11px;outline-offset:3px}
.nx-forge-field textarea{min-height:74px;resize:vertical}
.nx-forge-field:has(textarea){grid-column:1/-1}
.nx-forge-field input:focus,.nx-forge-field textarea:focus,.nx-forge-field select:focus{border-color:#eac8ff}
.nx-forge-field small{display:block;margin-top:8px;color:#927aab;font-size:9px;line-height:1.5}
.nx-forge-atelier-link{border:1px solid #cc94ef;color:#efd4ff;background:#502d64;border-radius:11px;padding:12px 14px;cursor:pointer;font-size:12px;text-align:left;font-weight:750}
.nx-forge-atelier-link:hover{background:#6d4380}
.nx-forge-moods{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0}
.nx-forge-moods button{border:1px solid #8e70b77b;color:#dcc4f0;background:#302142;padding:9px 12px;font-size:10px;font-weight:780;border-radius:100px;cursor:pointer}
.nx-forge-moods button:hover,.nx-forge-moods button.selected{background:#785195;border-color:#e2b4ff;color:#fff}
.nx-forge-sliders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 20px;padding:16px;border:1px solid #916ab168;background:#1b112a;border-radius:14px;margin-bottom:23px}
.nx-forge-sliders label{font-size:11px;color:#e0c9ec}
.nx-forge-sliders label span{display:flex;gap:9px;align-items:center;margin-top:9px}
.nx-forge-sliders input{width:100%;min-width:0;accent-color:#c58ff0}
.nx-forge-sliders output{color:#e5b6fc;min-width:37px;text-align:right;font-size:10px}
.nx-forge-traits{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}
.nx-forge-traits label{font-size:10px;cursor:pointer;user-select:none}
.nx-forge-traits label span{display:block;padding:8px 10px;border:1px solid #8e64a975;border-radius:100px;background:#2b1a38;color:#e4cdeb}
.nx-forge-traits label.on span{border-color:#dfadff;background:#694186;color:#fff}
.nx-forge-traits input{position:absolute;opacity:0;width:1px;height:1px}
.nx-forge-traits label:focus-within span{outline:2px solid #edb7ff;outline-offset:2px}
.nx-forge-actions{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 11px}
.nx-forge-actions button{padding:11px 13px;font-size:11px;border-radius:10px;cursor:pointer;font-weight:800}
.nx-forge-save{border:1px solid #efd0ff;background:linear-gradient(125deg,#eac3ff,#a774dc);color:#230e31}
.nx-forge-secondary{border:1px solid #a376bd73;background:#352149;color:#e8d0f7}
.nx-forge-actions button:hover:not(:disabled){filter:brightness(1.15)}
.nx-forge-status{font-size:10px;color:#bda2d1;padding:11px 12px;border:1px solid #9c78b954;background:#23152f;border-radius:10px;line-height:1.5}
.nx-forge-status[data-kind=success]{color:#ccffd8;border-color:#75c99a88}.nx-forge-status[data-kind=error]{color:#ffc2d2;border-color:#ed849f88}
.nx-forge-diff{background:#1d1128;border:1px solid #bc93c96e;border-radius:13px;padding:15px;max-height:280px;overflow:auto}
.nx-forge-diff>div{display:flex;justify-content:space-between;color:#f9deff}.nx-forge-diff>div button{background:none;border:0;color:#f1ccff;font-size:23px;cursor:pointer}
.nx-forge-diff ol{margin:8px 0;padding-left:19px}.nx-forge-diff li{padding:9px;border-bottom:1px solid #9f79b64d;font-size:11px}.nx-forge-diff li small{display:block;color:#b99dcb;line-height:1.5;margin-top:4px;word-break:break-word}
.nx-forge-history{margin:14px 0;border:1px solid #9870ae64;padding:11px;border-radius:12px;color:#e5c8fa;font-size:11px}
.nx-forge-history summary{cursor:pointer;font-weight:760}.nx-forge-history summary small{color:#a88ebd}
.nx-forge-history p{color:#b9a0c5;line-height:1.5}.nx-forge-history button{display:block;padding:7px 9px;background:#382044;color:#eed9fa;border:1px solid #9e77b5;border-radius:8px;margin:7px 0;cursor:pointer;font-size:10px}
.nx-forge-preview{position:sticky;top:0;align-self:start;min-width:0}
.nx-forge-dossier{border:1px solid #bf8be2;border-radius:19px;overflow:hidden;background:linear-gradient(#291536,#170e27);box-shadow:0 20px 50px #03010766}
.nx-forge-portrait-art{height:370px;position:relative;overflow:hidden;display:grid;place-items:center;background:radial-gradient(circle at 49% 39%,#e2aeeca9,transparent 39%),linear-gradient(130deg,#20102d,#753b73 55%,#210b30)}
.nx-forge-look-lunar{background:radial-gradient(circle at 49% 39%,#d4d0ffa9,transparent 39%),linear-gradient(130deg,#151f42,#54578f 55%,#161031)}
.nx-forge-look-neon{background:radial-gradient(circle at 49% 39%,#ffa8e1a9,transparent 39%),linear-gradient(130deg,#171d40,#733b91 55%,#180d34)}
.nx-forge-look-nature{background:radial-gradient(circle at 49% 39%,#c1f4bfa9,transparent 39%),linear-gradient(130deg,#133035,#49765d 55%,#131b30)}
.nx-forge-look-everyday{background:radial-gradient(circle at 49% 39%,#f4e2bfa9,transparent 39%),linear-gradient(130deg,#38202f,#846359 55%,#201126)}
.nx-forge-portrait-glow{position:absolute;inset:12% 15%;border-radius:50%;background:radial-gradient(circle,#e9a8ff85,transparent 66%);filter:blur(22px)}
.nx-forge-portrait-arch{position:absolute;inset:6% 18% -10%;border-radius:55% 55% 0 0/35% 35% 0 0;border:9px solid #f5d7ff82;border-bottom:0;box-shadow:0 0 45px #d7b1fa77,inset 0 0 48px #efc4ff37}
.nx-forge-avatar{position:relative;display:grid;place-items:center;z-index:1;width:min(53%,235px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 39% 30%,#efdaff,#9a5abb 65%,#35204c);border:3px solid #f2cfff;box-shadow:0 0 25px #e3b5ff,0 0 65px #bb87f997;color:#2d1737;font:normal 108px Georgia,serif;overflow:hidden}
.nx-forge-avatar img{width:100%;height:100%;object-fit:cover}
.nx-forge-portrait-bottom{position:absolute;z-index:2;left:0;right:0;bottom:0;background:linear-gradient(transparent,#0e071cd9 40%,#0e071cf5);padding:43px 25px 17px;color:#fff2ff;text-align:left}
.nx-forge-portrait-bottom small{font-size:9px;letter-spacing:.15em;font-weight:850;color:#e2bfff}
.nx-forge-portrait-bottom h3{font:normal 35px Georgia,serif;margin:8px 0 3px;text-shadow:0 4px 18px #000}
.nx-forge-portrait-bottom p{font-size:11px;color:#d7bcea;margin:0}
.nx-forge-dossier-info{padding:20px 22px}
.nx-forge-dossier-info>p{font-size:12px;color:#c7b3d7;line-height:1.8;min-height:40px;overflow-wrap:anywhere}
.nx-forge-trait-tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 21px}
.nx-forge-trait-tags span{background:#4a2a61;border:1px solid #a97bb771;color:#efdcfc;border-radius:100px;font-size:9px;padding:6px 8px}
.nx-forge-dossier-bars{display:grid;gap:10px}
.nx-forge-dossier-bars>div>span{display:flex;justify-content:space-between;font-size:10px;color:#d7bde6;margin-bottom:6px}
.nx-forge-dossier-bars em{font-style:normal;color:#eac8ff}
.nx-forge-dossier-bars i{display:block;width:100%;height:6px;border-radius:30px;background:linear-gradient(90deg,#c585ef var(--nx-bar),#4c2e60 var(--nx-bar))}
.nx-forge-live-name{margin:16px 0 0;color:#b99bc9;font-size:10px;border-top:1px solid #9879aa60;padding-top:12px}.nx-forge-live-name span{padding:0 5px;color:#e8c7ff}
.nx-forge-safety{border:1px solid #956ab256;border-radius:14px;padding:15px 18px;background:#271633;margin-top:14px}
.nx-forge-safety strong{font-size:12px;color:#f3ddff}.nx-forge-safety p{font-size:10px;color:#ac98bd;line-height:1.7;margin-bottom:0}
.nx-loading-forge,.nx-error-panel,.nx-forge-empty{text-align:center;padding:70px 20px;color:#f9e4ff}
.nx-forge-empty h3{font:normal 31px Georgia,serif}
@media(max-width:1000px){.nx-forge-layout{grid-template-columns:minmax(0,1fr) 340px}.nx-forge-looks{grid-template-columns:repeat(3,minmax(0,1fr))}.nx-forge-workbench{padding:14px}.nx-forge-portrait-art{height:300px}}
@media(max-width:760px){.nx-forge-shell{padding:19px 12px}.nx-forge-layout{grid-template-columns:1fr}.nx-forge-preview{position:static;order:-1}.nx-forge-portrait-art{height:225px}.nx-forge-avatar{width:130px;font-size:62px}.nx-forge-portrait-bottom{padding:34px 16px 11px}.nx-forge-portrait-bottom h3{font-size:27px}.nx-forge-dossier-info{padding:12px}.nx-forge-dossier-info>p{min-height:0}.nx-forge-dossier-bars{grid-template-columns:1fr 1fr}.nx-forge-looks{grid-template-columns:repeat(5,minmax(0,1fr))}.nx-forge-look-art{height:48px}.nx-forge-look strong{font-size:8px}.nx-forge-target{align-items:start}.nx-forge-target select{min-width:180px}}
@media(max-width:470px){.nx-forge-form-grid{grid-template-columns:1fr}.nx-forge-tab-content{min-height:0}.nx-forge-tabs button{font-size:10px}.nx-forge-looks{grid-template-columns:repeat(3,minmax(0,1fr))}.nx-forge-sliders{grid-template-columns:1fr}.nx-forge-target{display:block}.nx-forge-target #nx-forge-dirty{display:block;text-align:left;margin-top:10px}.nx-forge-dossier-bars{grid-template-columns:1fr}}

/* ==== assets/studio-creative-release-v1.css ==== */
/* Additive cinematic dashboard deck for the private Creative Edition. */
.cr-feature-deck{color:#f9ecff;margin:44px 0 30px;padding:5px 0 10px}
.cr-feature-deck *{box-sizing:border-box}
.cr-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.cr-head>div>span,.cr-card small{font:800 10px system-ui,sans-serif;letter-spacing:.19em;color:#e1adff}
.cr-head h2{font:400 clamp(30px,4.7vw,48px)/1.1 Georgia,serif;letter-spacing:-.045em;margin:7px 0;color:#fff}
.cr-head h2 em{color:#e5a4ef}.cr-head p{color:#c6b0d2;font-size:13px;max-width:700px;margin:8px 0}
.cr-head-count{color:#ad88c4;font-size:11px;letter-spacing:.1em;white-space:nowrap}
.cr-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.cr-card{border-radius:20px;overflow:hidden;border:1px solid #ad72cb9e;background:#1a102a;box-shadow:0 10px 35px #0005;position:relative;min-width:0}
.cr-art{height:159px;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#c27add7d,transparent 43%),linear-gradient(145deg,#3c1f58,#130e26)}
.cr-chemistry .cr-art{background:radial-gradient(ellipse at 50% 45%,#f36ca77d,transparent 43%),linear-gradient(135deg,#561b4a,#190c2a)}
.cr-collection .cr-art{background:radial-gradient(ellipse at 50% 45%,#a17eeb7d,transparent 43%),linear-gradient(135deg,#28265f,#190c2a)}
.cr-art>i{font:90px Georgia,serif;color:#ffdbff;text-shadow:0 0 35px #cf84f9;z-index:1}
.cr-orbit{position:absolute;inset:auto;width:185px;height:185px;top:10px;border:1px solid #e3b9ff99;transform:rotate(42deg);border-radius:30%;box-shadow:0 0 45px #d28af944}
.cr-copy{padding:17px 19px 20px}.cr-copy h3{font:400 28px Georgia,serif;margin:9px 0 7px;color:#fff}.cr-copy p{color:#c5add0;font-size:12px;line-height:1.55;margin:0 0 16px;min-height:58px}
.cr-copy button{width:100%;background:linear-gradient(110deg,#69338a,#a644b8);color:#fff;border:1px solid #df96fb;border-radius:12px;padding:12px;font-size:12px;font-weight:780;cursor:pointer}
.cr-copy button:hover{background:linear-gradient(110deg,#8845a6,#c05ac9)}.cr-copy button:focus-visible{outline:2px solid #f0c1ff;outline-offset:3px}
.cr-note{color:#987bad;font-size:10px;margin:12px 0}
@media(max-width:900px){.cr-cards{grid-template-columns:1fr}.cr-card{display:grid;grid-template-columns:170px minmax(0,1fr)}.cr-art{height:100%;min-height:204px}.cr-art>i{font-size:63px}.cr-orbit{width:130px;height:130px}.cr-copy p{min-height:auto}}
@media(max-width:580px){.cr-card{display:block}.cr-art{height:135px;min-height:unset}.cr-card h3{font-size:25px}.cr-head-count{display:none}}
@media(prefers-reduced-motion:reduce){.cr-feature-deck *{animation:none!important;transition:none!important}}

/* ==== assets/studio-persona-forge-v1.css ==== */
/* Persona Forge — private cinematic editor. Isolated dialog-only selectors. */
.pf-dialog{border:1px solid #bf92ed7d;background:#130b20;color:#fff;border-radius:23px;width:min(1300px,calc(100vw - 30px));max-width:1300px;max-height:min(94vh,1050px);padding:0;overflow:auto;box-shadow:0 30px 140px #000c,0 0 55px #853d9e45;font:14px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}
.pf-dialog::backdrop{background:#050310e8;backdrop-filter:blur(7px)}
.pf-dialog *{box-sizing:border-box}
.pf-dialog button{font:inherit;cursor:pointer}
.pf-dialog :is(input,textarea,select,button):focus-visible{outline:2px solid #e8b9ff;outline-offset:3px}
.pf-shell{min-height:280px;background:radial-gradient(ellipse at 90% 0,#72388549,transparent 45%),#120a1d;padding:28px 32px 36px}
.pf-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:30px}
.pf-kicker,.pf-section-name,.pf-topline{font-size:10px;color:#d8a5f5;letter-spacing:.18em;text-transform:uppercase;font-weight:800}
.pf-header h2{font:400 clamp(34px,5vw,65px)/1 Georgia,serif;letter-spacing:-.055em;margin:9px 0;color:#fcf0ff}.pf-header h2 em{color:#d1a0fa}
.pf-header p{color:#bca8ce;margin:10px 0 0;font-size:14px}
.pf-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #bc80d377;border-radius:50%;background:#3a1e48;color:#fff;font-size:25px!important}
.pf-grid{display:grid;grid-template-columns:235px minmax(0,1fr);gap:24px;align-items:start}
.pf-rail{background:#180e26;border:1px solid #8a5b9955;padding:18px;border-radius:21px;position:sticky;top:8px;max-height:calc(94vh - 75px);overflow:auto}
.pf-section-name{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.pf-section-name span{letter-spacing:0;color:#fff;background:#6a328085;border-radius:99px;padding:2px 8px}
.pf-rail select{width:100%;background:#251431;border:1px solid #955cafa6;color:#f7e8ff;border-radius:10px;padding:12px;min-height:43px}
.pf-add{margin:12px 0;width:100%;padding:12px;border:1px solid #b56cdaa8;background:#56306b86;border-radius:12px;color:#fce8ff;font-weight:700!important}
.pf-divider{height:1px;background:#995cad55;margin:15px 0 19px}
.pf-palette{display:grid;gap:8px}
.pf-preset{text-align:left;width:100%;border:1px solid #9b62ab54;background:#23132f;padding:11px;border-radius:12px;color:#f6eaff;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px}
.pf-preset.on,.pf-preset:hover{background:#452355;border-color:#d18bf1;box-shadow:0 0 18px #ad67df35}
.pf-preset-icon{grid-row:span 2;display:grid;place-items:center;font:28px Georgia,serif;background:radial-gradient(circle,var(--pf-tone),#291334 66%);border-radius:11px;color:#fff}
.pf-preset strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pf-preset small{font-size:9px;line-height:1.3;color:#bda8c8}
.pf-note{color:#9b8aa9;font-size:10px;line-height:1.55;margin:20px 4px 0}
.pf-main{min-width:0}.pf-topline{display:flex;justify-content:space-between;gap:12px;margin:0 0 13px;font-size:10px}
.pf-preview{position:relative;isolation:isolate;display:flex;align-items:center;gap:25px;min-height:265px;padding:23px 28px 45px;overflow:hidden;background:radial-gradient(circle at 24% 45%,color-mix(in srgb,var(--pf-tone),transparent 50%),transparent 33%),linear-gradient(125deg,#251330,#3d214b 56%,#110e29);border:1px solid color-mix(in srgb,var(--pf-tone),transparent 35%);border-radius:19px;box-shadow:inset 0 0 50px #0004,0 18px 45px #0004}
.pf-preview:before{content:'';position:absolute;inset:13px;z-index:-1;border:1px solid #dcc4ff35;border-radius:11px}
.pf-card-stars{position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle at 15% 23%,#fff9 1px,transparent 2px),radial-gradient(circle at 78% 61%,#f9c0f3aa 1px,transparent 2px),radial-gradient(circle at 61% 19%,#fff7 1px,transparent 2px);opacity:.85}
.pf-portrait{flex:0 0 172px;width:172px;height:172px;display:grid;place-items:center;background:radial-gradient(circle,#daacf9aa,#4b2566 65%,#190d2c);color:#fff;border-radius:50%;border:2px solid color-mix(in srgb,var(--pf-tone),#eee 35%);box-shadow:0 0 55px #c786f384,inset 0 0 30px #1118;font:85px/1 Georgia,serif;overflow:hidden}
.pf-portrait img{width:100%;height:100%;object-fit:cover}
.pf-preview-copy{min-width:0;position:relative}.pf-preview-copy>span{color:#ebd3ff;letter-spacing:.22em;font-size:10px;font-weight:800}
.pf-preview-copy h3{font:400 clamp(31px,4vw,51px)/1.05 Georgia,serif;letter-spacing:-.05em;color:#fff;margin:9px 0 5px;overflow-wrap:anywhere}
.pf-preview-copy>p{color:#e0c8e9;margin:0 0 14px;font:italic 16px Georgia,serif}
.pf-chips{display:flex;gap:8px;flex-wrap:wrap}.pf-chips span{background:#301a48ae;padding:6px 10px;border:1px solid #d1a5e777;color:#f1dafa;border-radius:40px;font-size:11px;max-width:100%;overflow-wrap:anywhere}
.pf-preview-footer{position:absolute;bottom:17px;left:28px;right:28px;display:flex;justify-content:space-between;gap:12px;color:#dcbff1;font-size:10px;letter-spacing:.16em}
.pf-preview-footer strong{font-family:Georgia,serif;font-size:11px}
.pf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:25px 0}
.pf-field{display:grid;gap:7px;color:#ead5f4;font-size:12px;font-weight:650}
.pf-field :is(input,select,textarea){width:100%;min-width:0;color:#f9ecff;border-radius:11px;padding:12px 13px;background:#251533;border:1px solid #9b6aaf79;font:13px/1.55 inherit;outline:none}
.pf-field textarea{resize:vertical;min-height:80px}
.pf-field :is(input,select,textarea):focus{border-color:#d6a1fb;box-shadow:0 0 0 2px #af74db2e}
.pf-wide,.pf-form-title{grid-column:1/-1}
.pf-form-title{color:#d4a4ee;font:700 11px system-ui,sans-serif;letter-spacing:.2em;padding:15px 0 7px;border-bottom:1px solid #8f52a65b}
.pf-status{min-height:38px;color:#d7bde6;border:1px solid #9d68b157;background:#281734;padding:10px 14px;border-radius:10px;font-size:12px}
.pf-status[data-kind=error]{color:#ffd3d9;border-color:#f18e9c88}.pf-status[data-kind=success]{color:#d5f4e3;border-color:#77d9a08a}
.pf-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.pf-actions button{padding:11px 17px;border:1px solid #b178d4a0;background:#331d42;color:#f7e5ff;border-radius:11px;font-weight:700!important}
.pf-actions .pf-primary{background:linear-gradient(110deg,#842caf,#ba4ed0);color:#fff;border-color:#df97fa;box-shadow:0 7px 25px #a038e955}
.pf-actions button:disabled{opacity:.55;cursor:wait}
.pf-fineprint{color:#a791b7;font-size:11px;line-height:1.6;margin-top:17px}
.pf-error{padding:40px}
@media(max-width:790px){.pf-dialog{width:calc(100vw - 12px);max-height:96dvh}.pf-shell{padding:20px 15px 26px}.pf-grid{grid-template-columns:1fr}.pf-rail{position:static;max-height:none}.pf-palette{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-preset{grid-template-columns:30px minmax(0,1fr);padding:9px}.pf-preset-icon{font-size:23px}.pf-preview{min-height:245px;padding:18px 16px 45px;gap:14px}.pf-portrait{width:112px;height:112px;flex-basis:112px;font-size:55px}.pf-preview-footer{left:18px;right:18px}.pf-form-grid{grid-template-columns:1fr}.pf-topline{font-size:9px}}
@media(max-width:430px){.pf-header h2{font-size:39px}.pf-preview{align-items:flex-start;flex-direction:column}.pf-preview-copy h3{font-size:33px}.pf-preview{padding-bottom:50px}.pf-portrait{height:99px;width:99px;flex-basis:auto}.pf-palette{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.pf-dialog *{animation:none!important;transition:none!important}}

/* ==== assets/studio-chemistry-odyssey-v1.css ==== */
/* Chemistry Lab / Secret Signals — private pass-and-play, screen-local only. */
.co-dialog{width:min(860px,calc(100vw - 20px));max-height:94dvh;overflow:auto;padding:0;border:1px solid #ac79e7a1;border-radius:24px;color:#f5ecff;background:#130b24;box-shadow:0 25px 110px #000c,0 0 60px #a045d74b;font:14px/1.5 system-ui,sans-serif}
.co-dialog::backdrop{background:#070411ea;backdrop-filter:blur(7px)}
.co-dialog *{box-sizing:border-box}.co-dialog button{cursor:pointer;font:inherit}
.co-dialog :is(button,input):focus-visible{outline:2px solid #eec0ff;outline-offset:3px}
.co-shell{padding:28px;background:radial-gradient(circle at 87% 5%,#833c9450,transparent 50%),radial-gradient(circle at 20% 70%,#43146750,transparent 45%),#12091f}
.co-header{display:flex;justify-content:space-between;align-items:start;gap:20px;padding-bottom:18px;border-bottom:1px solid #b17fd159}
.co-overline,.co-progress{font-size:10px;color:#d7a2f3;letter-spacing:.19em;font-weight:800;text-transform:uppercase}
.co-header h2{font:400 clamp(34px,5vw,56px)/1 Georgia,serif;letter-spacing:-.05em;color:#fff;margin:7px 0}
.co-header h2 em{color:#e1a6ef}.co-header p{color:#bd9ccc;margin:0}
.co-close{width:39px;height:39px;border-radius:50%;border:1px solid #dbb0ff85;background:#3e2756;color:white;font-size:25px!important}
.co-content{text-align:center;padding:27px 15px 5px;min-height:320px;max-width:710px;margin:0 auto}
.co-orb{height:120px;display:flex;align-items:center;justify-content:center;gap:28px;margin:6px auto 17px}
.co-orb>b{font:68px Georgia,serif;color:#f7c3f7;text-shadow:0 0 45px #c063de,0 0 20px #ffdbff}
.co-orb i{width:45px;height:45px;border:1px solid #a578c4;border-radius:50%;box-shadow:0 0 30px #a95ee799}
.co-content h3{font:400 clamp(26px,3.8vw,40px)/1.16 Georgia,serif;color:#f6e6ff;margin:13px auto 10px;letter-spacing:-.03em}
.co-content>p{color:#cbb2d8;max-width:590px;margin:11px auto 20px}
.co-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px auto;max-width:550px}
.co-tiles>span{display:grid;gap:4px;padding:14px;border:1px solid #ac72d16b;border-radius:15px;background:#29183e80}
.co-tiles strong{font:31px Georgia,serif;color:#f8d2ff}.co-tiles small{font-size:11px;color:#cbb8db}
.co-actions{display:flex;justify-content:center;gap:11px;flex-wrap:wrap;margin:24px 0}
.co-actions button,.co-main{padding:12px 18px;border:1px solid #bd8ae07f;background:#302046;color:#f8eaff;border-radius:12px;font-weight:700!important}
.co-actions .co-main,.co-main{background:linear-gradient(110deg,#8336b8,#b353cd);border-color:#e3a6fc;box-shadow:0 7px 24px #b354c56e}
.co-fine{font-size:11px!important;color:#977eaa!important;line-height:1.65}
.co-progress{display:flex;justify-content:space-between;gap:12px;font-size:10px}
.co-meter{height:5px;background:#2d1746;border-radius:20px;overflow:hidden;margin:15px 0 38px}
.co-meter i{display:block;background:linear-gradient(90deg,#ac62ed,#f5aaf6);height:100%;transition:width .3s}
.co-question small{color:#dd9af2;letter-spacing:.2em;font-size:10px;font-weight:800}
.co-question h3{font-size:clamp(28px,4vw,42px)}.co-question p{color:#bfa6cf}
.co-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:26px 0 19px}
.co-options button{text-align:left;display:flex;align-items:center;gap:14px;padding:19px 15px;border:1px solid #aa78d07c;border-radius:16px;color:#f3e3fb;background:linear-gradient(125deg,#3d2259,#251532);min-height:79px;transition:transform .15s,border-color .15s}
.co-options button:hover{border-color:#edb5ff;transform:translateY(-2px);background:linear-gradient(125deg,#5a3376,#2e1746)}
.co-options span{color:#da9ef7;font:22px Georgia,serif}.co-options strong{font-weight:650;font-size:14px}
.co-handoff{padding:55px 12px 20px}.co-lock{font:88px Georgia,serif;color:#f8cdfa;text-shadow:0 0 44px #db6bd4}
.co-handoff .co-main,.co-reveal .co-main{margin-top:15px}
.co-result-glyph{font:95px Georgia,serif;color:#edb5fa;text-shadow:0 0 45px #9c47d7}
.co-compare{display:grid;grid-template-columns:1fr 1fr;gap:15px;max-width:600px;margin:24px auto}
.co-compare>div{padding:20px 13px;display:grid;gap:9px;border:1px solid #b57ed877;border-radius:15px;background:#2a1b3bc4;min-height:100px}
.co-compare small{font-size:10px;letter-spacing:.15em;color:#dda6f3}
.co-compare strong{font-size:16px;color:#fff;overflow-wrap:anywhere}
.co-score{color:#dda9f2!important}.co-big-score{font:112px/.9 Georgia,serif;color:#f9d5ff;text-shadow:0 0 42px #d46ddd;margin:45px auto 15px}.co-big-score small{font-size:35px;color:#cba7e2}
.co-deck-card{max-width:560px;margin:30px auto;padding:40px 24px;border-radius:23px;border:1px solid #d7a4e1b0;background:radial-gradient(circle at 45% 10%,#6e34748e,transparent 60%),linear-gradient(140deg,#2c204a,#190e2b);box-shadow:0 20px 50px #0008}
.co-deck-card>span{color:#d7aff5;font-size:10px;letter-spacing:.2em;font-weight:800}
.co-deck-card h3{font-size:36px}.co-deck-card p{color:#d5c1df;font-size:13px}
.co-status{border-top:1px solid #75478d7a;color:#a994b9;padding-top:13px;margin:21px 0 0;font-size:11px;min-height:27px}
.co-status[data-kind=error]{color:#ffb2c1}
@media(max-width:600px){.co-dialog{width:calc(100vw - 10px);max-height:96dvh}.co-shell{padding:17px 13px}.co-header h2{font-size:37px}.co-options{grid-template-columns:1fr}.co-options button{min-height:67px}.co-compare{grid-template-columns:1fr}.co-tiles{gap:7px}.co-tiles>span{padding:12px 7px}.co-tiles strong{font-size:25px}.co-content{padding:20px 3px}.co-progress{font-size:9px}.co-deck-card{padding:30px 16px}}
@media(prefers-reduced-motion:reduce){.co-dialog *{animation:none!important;transition:none!important}}

/* ==== assets/studio-collection-v1.css ==== */
/* The Collection, a non-transactional gallery of actual user accomplishments. */
.cl-dialog{width:min(1190px,calc(100vw - 22px));max-height:95dvh;overflow:auto;border-radius:24px;border:1px solid #b579e2a3;padding:0;background:#120a1d;color:#f6eafd;box-shadow:0 32px 120px #000d;font:14px/1.5 system-ui,sans-serif}
.cl-dialog::backdrop{background:#050311e8;backdrop-filter:blur(8px)}
.cl-dialog *{box-sizing:border-box}.cl-dialog button{cursor:pointer;font:inherit}
.cl-dialog button:focus-visible{outline:2px solid #e5a8ff;outline-offset:3px}
.cl-shell{padding:27px 30px 34px;background:radial-gradient(ellipse at 85% 0,#5e2f844d,transparent 49%),#130b20}
.cl-header{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:22px}
.cl-overline,.cl-badge-state{color:#d4a4ed;font-size:10px;letter-spacing:.17em;font-weight:800;text-transform:uppercase}
.cl-header h2{font:400 clamp(34px,5vw,59px)/1 Georgia,serif;letter-spacing:-.055em;color:#fff;margin:8px 0}.cl-header h2 em{color:#e4a3ff}
.cl-header p{color:#cbb4d9;margin:8px 0}
.cl-close{width:38px;height:38px;border:1px solid #bd8cdf96;background:#402651;color:#fff;border-radius:50%;font-size:26px!important;flex-shrink:0}
.cl-hero{display:flex;align-items:center;gap:22px;position:relative;border:1px solid #b281cf8c;border-radius:23px;padding:23px 26px;background:radial-gradient(circle at 22% 45%,#b15de275,transparent 24%),linear-gradient(110deg,#42204f,#1e1534 65%,#26113d);min-height:200px;overflow:hidden}
.cl-hero:before{content:'';position:absolute;inset:9px;border:1px solid #f0c9ff27;border-radius:14px;pointer-events:none}
.cl-hero-mark{width:150px;height:150px;flex:0 0 150px;display:grid;place-items:center;font:90px Georgia,serif;color:#f9ccff;text-shadow:0 0 39px #ffabff;filter:drop-shadow(0 8px 9px #0008)}
.cl-hero h3{font:400 clamp(26px,3.3vw,42px)/1.12 Georgia,serif;letter-spacing:-.04em;color:#fff;margin:10px 0 8px}.cl-hero p{color:#dbcae8;margin:0}
.cl-hero-stat{margin-left:auto;border:1px solid #c484d090;border-radius:16px;background:#2a143d;padding:15px 18px;display:grid;min-width:135px;text-align:center}
.cl-hero-stat strong{font:40px Georgia,serif;color:#fff}.cl-hero-stat small{font:19px Georgia,serif;color:#d1a6ed}.cl-hero-stat span{color:#caaed8;font-size:11px}
.cl-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:18px 0 25px}
.cl-facts>span{display:grid;gap:2px;padding:14px;border-radius:15px;border:1px solid #9660b173;background:#251432}.cl-facts strong{font:29px Georgia,serif;color:#fce9ff}.cl-facts small{font-size:11px;color:#c5a4d5}
.cl-tabs{display:flex;gap:9px;flex-wrap:wrap;padding-bottom:15px;border-bottom:1px solid #a16ab857}
.cl-tabs button{border:1px solid #8e5a9d;background:#29183b;color:#dbc2e7;border-radius:99px;padding:11px 18px;font-weight:720!important}
.cl-tabs button[aria-selected=true]{background:linear-gradient(120deg,#702c91,#a047a8);color:#fff;border-color:#e4a3f5}
.cl-main{padding:22px 0}.cl-sectiontop{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:19px}
.cl-sectiontop h3{font:400 clamp(23px,3vw,33px) Georgia,serif;margin:7px 0;color:#ffefff}.cl-sectiontop>small{color:#a78cb4;max-width:200px;text-align:right;font-size:11px}
.cl-badges{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.cl-badge{min-height:203px;padding:17px 12px;text-align:center;border:1px solid #765786;background:#20172e;border-radius:18px;position:relative;filter:saturate(.7)}
.cl-badge.unlocked{background:radial-gradient(ellipse at 50% 0,#a348b24f,transparent 57%),#291b3d;border-color:#cd91f09c;filter:none;box-shadow:inset 0 0 24px #8a3d8d1b}
.cl-medal{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 10px;background:linear-gradient(150deg,#2e1a47,#160d29);border:2px solid #75538a;border-radius:22px;transform:rotate(-7deg);box-shadow:0 10px 20px #0006}
.cl-badge.unlocked .cl-medal{border-color:#e1a6fd;box-shadow:0 0 23px #b26ce978,0 10px 20px #0006}
.cl-medal b{font:38px Georgia,serif;color:#967d9e;transform:rotate(7deg)}.cl-badge.unlocked .cl-medal b{color:#f6cfff;text-shadow:0 0 25px #fcafff}
.cl-badge h3{font:18px Georgia,serif;color:#eedff7;margin:8px 0 4px}.cl-badge p{color:#ad97bb;font-size:11px;line-height:1.4;margin:6px 0}.cl-badge-state{font-size:9px;color:#a38ea9}.cl-badge.unlocked .cl-badge-state{color:#e8a6ff}
.cl-saved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.cl-saved{display:flex;gap:16px;align-items:center;min-height:135px;border:1px solid #955cb575;border-radius:18px;padding:14px;background:linear-gradient(110deg,#352047,#1a112c)}
.cl-saved-cover{display:grid;place-items:center;flex:0 0 93px;height:104px;border:1px solid #d6acf994;border-radius:12px;background:radial-gradient(circle,#ad6ce87d,transparent 62%),linear-gradient(150deg,#321948,#1e1633);font:50px Georgia,serif;color:#ffdaff}
.cl-saved-neon .cl-saved-cover{background:radial-gradient(circle,#ed64bb83,transparent 62%),linear-gradient(130deg,#26205d,#241136)}
.cl-saved-forest .cl-saved-cover{background:radial-gradient(circle,#6ec5ab83,transparent 62%),linear-gradient(130deg,#182d30,#241136)}
.cl-saved-celestial .cl-saved-cover{background:radial-gradient(circle,#8599ed83,transparent 62%),linear-gradient(130deg,#181f5b,#241136)}
.cl-saved>div:nth-child(2){flex:1;min-width:0}.cl-saved small{font-size:10px;color:#d4a3e6;letter-spacing:.1em}.cl-saved h3{font:23px Georgia,serif;color:#fff;margin:5px 0}.cl-saved p{font-size:11px;color:#bda5ca;margin:4px 0}
.cl-saved button{padding:9px 12px;flex:0 0 auto;border:1px solid #bb7bdb;border-radius:10px;background:#4e2e62;color:#fff;font-weight:650!important}
.cl-empty{padding:22px;border:1px dashed #9665a8;border-radius:15px;color:#c1a7d0}
.cl-journey-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.cl-journey-links button{display:grid;text-align:left;gap:12px;padding:20px;border-radius:15px;background:linear-gradient(130deg,#412354,#261837);border:1px solid #a76bcc;color:#f3e1ff;font:23px Georgia,serif!important}
.cl-journey-links span{font:12px system-ui,sans-serif;color:#dfb0fb}.cl-journey-links button:hover{border-color:#f0bfff;background:#603473}
.cl-foot{color:#a88fb8;line-height:1.65;font-size:11px;margin:8px 0}
.cl-message{color:#cfafd9;font-size:11px}
@media(max-width:1060px){.cl-badges{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:790px){.cl-dialog{width:calc(100vw - 10px);max-height:96dvh}.cl-shell{padding:19px 15px}.cl-hero-mark{width:100px;height:100px;flex-basis:100px;font-size:55px}.cl-hero-stat{min-width:94px;padding:12px}.cl-hero-stat strong{font-size:30px}.cl-badges{grid-template-columns:repeat(3,minmax(0,1fr))}.cl-saved-grid{grid-template-columns:1fr}.cl-hero{gap:12px;padding:19px}.cl-sectiontop>small{display:none}}
@media(max-width:520px){.cl-badges{grid-template-columns:repeat(2,minmax(0,1fr))}.cl-hero{flex-wrap:wrap}.cl-hero-mark{flex:0 0 65px;width:65px;height:65px;font-size:47px}.cl-hero>div:nth-child(2){flex:1 1 160px}.cl-hero-stat{flex:1 1 100%;text-align:left;display:flex;align-items:center;justify-content:space-between}.cl-facts{grid-template-columns:repeat(2,1fr)}.cl-journey-links{grid-template-columns:1fr}.cl-saved{gap:8px}.cl-saved-cover{flex-basis:65px;height:85px;font-size:38px}.cl-saved h3{font-size:18px}.cl-saved button{padding:8px}}
@media(prefers-reduced-motion:reduce){.cl-dialog *{animation:none!important;transition:none!important}}

/* ==== assets/studio-creative-sync-v1.css ==== */
/* Explicit privacy-aware creative backup/synchronization interface. */
.sy-dialog{width:min(930px,calc(100vw - 20px));max-height:94dvh;overflow:auto;padding:0;background:#130b20;color:#fff;border-radius:22px;border:1px solid #c78be29a;box-shadow:0 28px 100px #000c;font:14px/1.55 system-ui,sans-serif}
.sy-dialog::backdrop{background:#050410e9;backdrop-filter:blur(7px)}
.sy-dialog *{box-sizing:border-box}.sy-dialog button{cursor:pointer;font:inherit}.sy-dialog button:focus-visible{outline:2px solid #ddb4f2;outline-offset:3px}
.sy-shell{padding:28px 31px 33px;background:radial-gradient(circle at 80% 0%,#653b8f52,transparent 44%),#130b20}
.sy-head{display:flex;justify-content:space-between;align-items:start;gap:13px;margin-bottom:22px}
.sy-kicker{font:800 10px/1.5 system-ui,sans-serif;letter-spacing:.2em;color:#d9a6f8}
.sy-head h2{font:400 clamp(33px,5vw,60px)/1 Georgia,serif;letter-spacing:-.05em;color:#f9edff;margin:9px 0}.sy-head h2 em{color:#dea8ff}
.sy-head p{margin:0;color:#bda6cb}.sy-close{width:40px;height:40px;border-radius:50%;border:1px solid #cf9ee488;color:#fff;background:#382048;font-size:25px!important}
.sy-hero{display:flex;align-items:center;gap:22px;border:1px solid #b57bd4a1;border-radius:19px;padding:20px 24px;background:radial-gradient(circle at 12% 50%,#8845a86d,transparent 27%),linear-gradient(110deg,#36174a,#231734);margin-bottom:21px}
.sy-symbol{flex:0 0 116px;width:116px;height:116px;border:2px solid #d9a4ff8c;border-radius:50%;display:grid;place-items:center;color:#f2cbfc;font:77px Georgia,serif;box-shadow:inset 0 0 34px #9747c66e,0 0 20px #8946b44c}
.sy-hero h3{font:400 30px Georgia,serif;color:#fff;margin:8px 0}.sy-hero p{color:#c8b2d6;margin:0}
.sy-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.sy-grid>section{border:1px solid #77538c9b;border-radius:16px;padding:16px;background:#1c112b}
.sy-grid h3{font:24px Georgia,serif;margin:3px 0 16px;color:#fff}
.sy-feature{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid #8e62a251}.sy-feature>span{color:#e3b4ff;font-size:23px}.sy-feature>div{flex:1;min-width:0}.sy-feature strong{display:block;font-size:12px}.sy-feature small{display:block;color:#b198c0;font-size:10px}.sy-feature>b{color:#cea2e1;font-size:10px}
.sy-small{font-size:11px;color:#a98eb9;line-height:1.5}
.sy-cloud{text-align:center;background:#28183b;border:1px solid #a66ac2ad;border-radius:14px;padding:17px}.sy-cloud-symbol{font:60px Georgia,serif;color:#efbfff;text-shadow:0 0 25px #d07cff}.sy-cloud strong{display:block;font:23px Georgia,serif;margin:0 0 6px}.sy-cloud p{color:#bfa6cc;margin:0;font-size:11px;overflow-wrap:anywhere}
.sy-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.sy-actions button{padding:11px 16px;border-radius:11px;border:1px solid #b27fd0b0;background:#30203f;color:#f9edff;font-weight:700!important}
.sy-actions .sy-primary{background:linear-gradient(115deg,#8735b0,#b151c6);border-color:#e8b2ff}
.sy-actions button:disabled{opacity:.45;cursor:wait}
.sy-status{padding:13px 16px;background:#2b1a3c;border:1px solid #956aaf87;border-radius:11px;min-height:46px;font-size:12px;color:#e0bce9}
.sy-status[data-kind=success]{border-color:#78c8a5;color:#c1f1d3}.sy-status[data-kind=error]{border-color:#dc748d;color:#ffd4e0}
.sy-foot{font-size:11px;color:#a791b4;line-height:1.6}
@media(max-width:650px){.sy-dialog{width:calc(100vw - 10px);max-height:96dvh}.sy-shell{padding:19px 15px}.sy-grid{grid-template-columns:1fr}.sy-symbol{width:77px;height:77px;flex-basis:77px;font-size:47px}.sy-hero{padding:16px;gap:12px}.sy-hero h3{font-size:23px}.sy-actions{display:grid;grid-template-columns:1fr}.sy-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.sy-dialog *{animation:none!important;transition:none!important}}

/* ==== assets/studio-media-apply-v1.css ==== */
/* Optional Wix Media Manager upload; original export button remains. */
.atelier-end-actions .atelier-media-apply{background:linear-gradient(115deg,#7b3aa4,#ac4cc8);color:#fff;border:1px solid #e5b2ff;border-radius:12px;padding:12px 14px;font:700 12px system-ui,sans-serif;cursor:pointer}
.atelier-end-actions .atelier-media-apply:disabled{opacity:.45;cursor:wait}
.atelier-media-status{border:1px solid #a578ba66;background:#23122d;color:#e0b7f4;border-radius:10px;padding:11px 14px;margin:10px 0 0;font:12px/1.5 system-ui,sans-serif}
.atelier-media-status[data-kind=success]{border-color:#5dad89;color:#b9f0d3}
.atelier-media-status[data-kind=error]{border-color:#d6849a;color:#ffccd8}
.atelier-media-apply:focus-visible{outline:2px solid #e3a1f5;outline-offset:3px}

/* ==== assets/studio-rooms-v1.css ==== */
/* ENSEMBLE ROOMS / cinematic private edition */
.room-dialog{color:#f8ebff;background:linear-gradient(152deg,#150c24,#0a0714);border:1px solid #ae7cdd77;border-radius:24px;width:min(1300px,calc(100vw - 32px));max-width:1300px;max-height:calc(100dvh - 32px);height:min(850px,calc(100dvh - 32px));padding:0;overflow:hidden;box-shadow:0 30px 110px #05020ddd;font-family:Inter,ui-sans-serif,system-ui,sans-serif}
.room-dialog::backdrop{background:#05020de8;backdrop-filter:blur(11px)}.room-dialog *{box-sizing:border-box}.room-dialog button,.room-dialog input,.room-dialog select,.room-dialog textarea{font:inherit}.room-dialog button{cursor:pointer}.room-dialog button:focus-visible,.room-dialog textarea:focus-visible,.room-dialog input:focus-visible,.room-dialog select:focus-visible{outline:2px solid #e6b0ff;outline-offset:3px}.room-dialog button:disabled{opacity:.5;cursor:not-allowed}.room-shell{height:100%;min-height:0;display:flex;flex-direction:column}.room-head{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 34px 20px;gap:14px;border-bottom:1px solid #b783f337;background:linear-gradient(100deg,#201032dd,#100a21)}.room-kicker{font-size:10px;font-weight:750;letter-spacing:.2em;color:#dbb7fc}.room-head h2{font:normal clamp(29px,3vw,44px)/1.1 Georgia,serif;margin:7px 0;color:#fff4ff;letter-spacing:-.05em}.room-head h2 em{color:#d9a2fa;font-weight:normal}.room-head p{margin:7px 0 0;color:#c7b8d5;font-size:12px}.room-head>button{border:1px solid #be8bf24d;border-radius:50%;background:#2b1944;color:#fff;font-size:23px;height:37px;width:37px;flex:0 0 auto}.room-body{display:grid;grid-template-columns:280px minmax(0,1fr);flex:1;min-height:0}.room-rail{background:#0f0a1c;border-right:1px solid #9c6dd233;display:flex;flex-direction:column;min-height:0;padding:20px 16px;gap:16px}.room-rail-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.room-rail-header h3{font-size:13px;margin:0}.room-rail-header button,.room-list-item,.room-gateway-status button{border:1px solid #a87bd346;background:#2c1843;color:#ecd0ff;border-radius:11px;padding:9px 11px;font-size:11px}.room-list{display:grid;align-content:start;gap:8px;overflow-y:auto;min-height:0;flex:1}.room-list-item{text-align:left;display:flex;align-items:center;gap:11px;padding:12px 10px;background:#21132c99;color:#f6e6ff}.room-list-item.active{border-color:#d9a0ff;background:#4b2664}.room-list-item>span{font-size:22px;color:#e8b6fb}.room-list-item strong{font-weight:700;font-size:12px;overflow-wrap:anywhere}.room-list-item small,.room-small{display:block;color:#ac9bbd;font-size:10px;line-height:1.4;margin-top:5px}.room-gateway-status{display:flex;gap:7px;align-items:center;border:1px solid #aa79d144;background:#1d1129;border-radius:13px;padding:10px}.room-gateway-status>span{color:#e4a36e}.room-gateway-status[data-ready=yes]>span{color:#76ddb8}.room-gateway-status p{font-size:10px;line-height:1.35;margin:0;flex:1}.room-gateway-status p small{display:block;color:#bcacce;margin-top:3px}.room-gateway-status button{padding:5px 7px}.room-main{overflow:auto;min-width:0;min-height:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 80% 0%,#612e7e44,transparent 55%),#160e25}.room-first{text-align:center;margin:auto;padding:30px}.room-first>span{font-size:66px;color:#e5b3ff}.room-first h3{font:normal 35px Georgia,serif;margin:12px 0}.room-first p{max-width:410px;color:#c4b4d3;line-height:1.5;font-size:14px}.room-first button,.room-edit-actions button,.room-compose button[type=submit]{background:linear-gradient(115deg,#9f54d3,#cc86e7);color:#160a24;font-weight:750;border:1px solid #edbdff;border-radius:11px;padding:12px 19px}.room-edit{padding:25px 30px 34px;overflow-y:auto;min-height:0}.room-edit h3,.room-chat-top h3{font:normal 30px Georgia,serif;margin:9px 0}.room-edit>p{color:#cdbbdc;line-height:1.55;font-size:13px}.room-edit h4{font-size:12px;margin:22px 0 10px;color:#ebd5fc}.room-edit h4 small{color:#bca1cd;font-weight:normal}.room-name-field{display:grid;gap:8px;margin-top:22px;font-size:12px;font-weight:bold}.room-name-field input{color:#fbecff;border:1px solid #b581d355;border-radius:10px;background:#160e23;padding:12px}.room-cast-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.room-cast-choice{display:flex;align-items:center;gap:10px;background:#29163b;border:1px solid #af78d366;border-radius:12px;padding:11px;cursor:pointer}.room-cast-choice.chosen{border-color:#e6b1ff;background:#4c2368}.room-cast-choice input{position:absolute;opacity:0;pointer-events:none}.room-portrait,.room-strip-portrait{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;overflow:hidden;background:linear-gradient(140deg,#bc72df,#502b70);color:#fff}.room-portrait img,.room-strip-portrait img{width:100%;height:100%;object-fit:cover}.room-choice-name{font-weight:700;font-size:12px;min-width:0;overflow-wrap:anywhere}.room-choice-name small{display:block;font-weight:normal;color:#cdbad7;margin-top:5px;font-size:10px}.room-check{color:#e4c5f6;margin-left:auto}.room-scene-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:9px}.room-preset{border:1px solid #ad7bc155;border-radius:14px;background:linear-gradient(140deg,#402055,#1a112b);color:#eee0fb;padding:15px 11px;min-height:78px;text-align:left}.room-preset.chosen{border-color:#eac0ff;box-shadow:inset 0 0 0 1px #eac0ff3b}.room-preset strong,.room-preset small{display:block}.room-preset strong{font-size:12px}.room-preset small{font-size:10px;color:#baabd0;margin-top:6px}.room-edit-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.room-edit-actions button:nth-child(2){color:#f4dcff;background:#321944;border-color:#855b9c}.room-chat-top{display:flex;justify-content:space-between;gap:15px;padding:20px 24px 10px;align-items:start}.room-chat-top h3{font-size:26px}.room-chat-top p{font-size:11px;color:#c4b3d3;margin:0}.room-chat-top button{background:#34204b;border:1px solid #9e70bc;color:#ecdcf8;padding:9px 13px;border-radius:9px;font-size:11px}.room-scene{height:95px;flex:0 0 auto;margin:8px 24px;border:1px solid #dcbcff55;border-radius:16px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 67% 40%,#9c7cf0aa,transparent 25%),linear-gradient(115deg,#2c1d4b,#120b2e)}.room-scene-observatory{background:radial-gradient(circle at 72% 28%,#f9b7fccc,transparent 12%),linear-gradient(135deg,#1a3267,#160d37)}.room-scene-rain{background:radial-gradient(ellipse at 27% 70%,#e352c0b0,transparent 45%),linear-gradient(135deg,#12425e,#0d1325)}.room-scene-library{background:radial-gradient(ellipse at 40% 40%,#ad697d77,transparent 43%),linear-gradient(130deg,#3f2137,#1a101a)}.room-scene-forest{background:radial-gradient(ellipse at 70% 50%,#91d1b460,transparent 30%),linear-gradient(130deg,#104045,#111b32)}.room-scene>span{position:absolute;top:20%;left:48%;font-size:40px;color:#f7d6ffbb}.room-scene-orbit{position:absolute;inset:-90px 28% auto;border-radius:50%;height:200px;border:1px solid #ecb5ff44}.room-cast-strip{display:flex;gap:15px;padding:9px 27px;border-bottom:1px solid #a979d033}.room-cast-strip>div{display:flex;gap:8px;align-items:center;font-size:12px}.room-strip-portrait{width:28px;height:28px}.room-timeline{flex:1;min-height:130px;overflow:auto;padding:18px 25px;display:flex;flex-direction:column;gap:12px}.room-message{max-width:min(85%,580px);display:flex;gap:9px;align-items:flex-start}.room-message-user{align-self:flex-end;flex-direction:row-reverse}.room-message-avatar{background:#63388a;border-radius:50%;width:31px;height:31px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden}.room-message-avatar img{width:100%;height:100%;object-fit:cover}.room-message-content{border:1px solid #9d6dc844;padding:11px 14px;border-radius:13px;background:#241533}.room-message-user .room-message-content{background:#503067}.room-message-content small{font-size:10px;color:#e7b4ff;font-weight:700}.room-message-content p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;font-size:13px;line-height:1.6}.room-empty-thread{margin:auto;text-align:center;color:#c7b5d5}.room-empty-thread>span{font-size:47px}.room-empty-thread h4{font:normal 23px Georgia,serif;margin:7px}.room-empty-thread p{font-size:12px;max-width:400px}.room-compose{padding:8px 25px;flex:none}.room-compose>label{font-size:11px;color:#ecd4ff}.room-compose textarea{width:100%;margin:6px 0;resize:vertical;min-height:60px;max-height:120px;border:1px solid #9c70be77;border-radius:11px;background:#120d20;color:#f9e9ff;padding:12px;font-size:13px}.room-compose textarea:disabled{opacity:.65}.room-compose-bar{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap}.room-compose-bar label{font-size:11px;color:#cfbfe1}.room-compose-bar select{margin-left:8px;color:#ebd9f7;border:1px solid #976bb1;background:#2c173e;border-radius:8px;padding:8px;font-size:11px}.room-compose button[type=submit]{font-size:12px;padding:10px 16px}.room-foot{font-size:10px!important;color:#b7a6c8!important;line-height:1.5!important;margin:10px 25px 14px!important}.room-status{min-height:38px;max-height:75px;overflow:auto;border-top:1px solid #986cc544;padding:10px 23px;margin:0;font-size:11px;color:#c4afd5;background:#170f26}.room-status[data-kind=error]{color:#f4bac0}.room-status[data-kind=success]{color:#a9e6c9}.room-loading,.room-load-error{padding:35px;text-align:center}.room-load-error button{padding:10px 18px;background:#743b93;color:white;border:0;border-radius:9px}
@media(max-width:780px){.room-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:15px}.room-head{padding:15px 17px}.room-head h2{font-size:27px}.room-head p{font-size:11px}.room-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.room-rail{border-right:0;border-bottom:1px solid #a884c244;padding:10px 13px;gap:7px;max-height:180px}.room-rail-header{gap:7px}.room-rail-header h3{font-size:11px}.room-list{display:flex;overflow-x:auto;overflow-y:hidden;min-height:52px;flex:none;gap:6px}.room-list-item{min-width:145px;padding:8px}.room-list-item strong{font-size:11px}.room-gateway-status{padding:6px}.room-gateway-status p{font-size:10px}.room-rail>.room-small{display:none}.room-main{min-height:0}.room-edit{padding:15px}.room-scene{height:65px;margin:5px 14px}.room-cast-strip{padding:7px 14px}.room-timeline{padding:12px;gap:9px}.room-compose{padding:7px 13px}.room-foot{margin:6px 13px!important}.room-chat-top{padding:12px 14px}.room-status{padding:6px 13px;min-height:31px;font-size:10px}.room-edit h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){.room-dialog *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* ==== assets/studio-first-impression-v2.css ==== */
/* Sorvessa | The Grand Entrance + Guided Tour v2 */
.cs-wow .cs-hero-v2 {
  isolation:isolate;
  min-height:490px;
  padding:clamp(26px,4.7vw,66px);
  border-radius:30px;
  border:1px solid #dc9bff87;
  background:
    radial-gradient(ellipse 43% 93% at 76% 47%,#b14bdf46 0%,transparent 77%),
    radial-gradient(ellipse 36% 58% at 4% 5%,#b364bb31,transparent 80%),
    linear-gradient(113deg,#240d34 0%,#180b2d 49%,#080912 100%);
  box-shadow:inset 0 1px #ffd7ff5c,inset 0 -1px #441655,0 29px 78px #03000ac9,0 0 0 5px #7e27ba0b;
}
.cs-wow .cs-hero-v2:before{
  z-index:-1;opacity:.88;
  background-image:radial-gradient(circle at 9% 20%,#fbdaffb8 1px,transparent 1.7px),radial-gradient(circle at 34% 71%,#d492ffbe 1px,transparent 1.8px),radial-gradient(circle at 77% 48%,#dbafff81 1px,transparent 1.7px);
  background-size:250px 200px,345px 270px,175px 160px;
}
.cs-wow .cs-hero-v2:after{content:"";position:absolute;inset:12px;border:1px solid #ffffff10;border-radius:23px;pointer-events:none;z-index:0}
.cs-wow .cs-hero-v2 .wow-hero-copy{max-width:56%;z-index:3;position:relative;padding-right:22px}
.cs-wow .cs-hero-v2 .wow-overline{font-size:10px;letter-spacing:.27em;color:#edbdff;text-shadow:0 0 16px #e28bff75;font-weight:760}
.cs-wow .cs-hero-v2 h1{font-size:clamp(48px,5.35vw,79px);line-height:1.015;letter-spacing:-.062em;max-width:740px;margin:23px 0 19px;color:#fff5ff}
.cs-wow .cs-hero-v2 h1 em{color:#e3b1ff;text-shadow:0 1px 35px #b853f88c;font-style:italic}
.cs-wow .cs-hero-v2 .wow-lead{font-size:clamp(14px,1.26vw,17px);line-height:1.68;color:#e3cee9;max-width:490px}
.cs-wow .cs-hero-v2 .wow-actions{margin-top:31px;align-items:center;gap:9px}
.cs-wow .cs-hero-v2 .wow-button{min-height:49px;border-radius:13px;font-size:12px;padding:12px 19px;font-weight:730}
.cs-wow .cs-hero-v2 .wow-primary{background:linear-gradient(125deg,#b958e1 0%,#a041d2 53%,#7126b6 100%);box-shadow:inset 0 1px #ffe4ff7a,0 13px 30px #b151e64c}
.cs-wow .cs-hero-v2 .cs-v2-explore{min-height:42px;border:0;background:none;color:#e4bded;font-size:12px;font-weight:710;padding:7px 3px;cursor:pointer}
.cs-wow .cs-hero-v2 .cs-v2-explore:hover{color:#fff}
.cs-wow .cs-hero-v2 .wow-hero-legal{margin-top:34px;color:#ae96c3;font-size:9px;letter-spacing:.17em}
.cs-v2-hero-metadata{display:flex;align-items:center;gap:10px;color:#e2c7e8;font-size:11px;font-weight:670;margin-top:20px}
.cs-v2-metadata-dot{width:8px;height:8px;background:#c78dff;box-shadow:0 0 16px #cf7aff;border-radius:50%;flex:none}
.cs-wow .cs-hero-v2 .wow-hero-art{z-index:1;inset:1% -3% -1% 42%;opacity:1;pointer-events:none;background:radial-gradient(ellipse 48% 63% at 62% 47%,#d770e83c,transparent 71%)}
.cs-wow .cs-hero-v2 .wow-hero-halo{top:12%;right:8%;background:#a147e73d;filter:blur(70px)}
.cs-v2-starfield{position:absolute;inset:0;background:radial-gradient(circle at 52% 16%,#fff 1px,transparent 1.5px),radial-gradient(circle at 84% 27%,#efb9ff 1px,transparent 2px),radial-gradient(circle at 24% 78%,#e4b9ff 1px,transparent 2px);background-size:130px 150px,260px 210px,310px 260px;opacity:.8}
.cs-v2-gateway{position:absolute;width:min(68%,450px);height:73%;top:8%;right:6%;border-radius:50% 50% 16% 16% / 55% 55% 13% 13%;border:1px solid #f2bafa7b;background:radial-gradient(ellipse at 50% 46%,#c76bff83 0%,#8e3ec47d 17%,#4e216ca3 35%,#180b30ea 62%,#100619eb 75%);box-shadow:0 0 42px #b24bfa58,0 0 90px #9e36e758,inset 0 0 35px #dc8cff86,inset 0 0 95px #b33cea4d;transform:perspective(900px) rotateY(-15deg) rotateZ(4deg);overflow:hidden}
.cs-v2-gateway:before{content:"";position:absolute;inset:7%;border:1px solid #f4c6ff6e;border-radius:inherit;box-shadow:0 0 40px #bc7eff4b,inset 0 0 55px #ecb6ff36}
.cs-v2-gateway:after{content:"";position:absolute;inset:0;background:linear-gradient(98deg,transparent 37%,#fff0ff42 49%,transparent 62%);opacity:.35;transform:translateX(-50%);animation:csV2Shimmer 12s ease-in-out infinite}
.cs-v2-orbit{position:absolute;display:block;left:8%;top:18%;width:90%;height:62%;border:1px solid #f4c6ff56;border-radius:50%;transform:rotate(-26deg)}
.cs-v2-orbit-two{transform:rotate(40deg);height:75%;top:11%;left:7%;opacity:.65}
.cs-v2-portal-core{display:block;position:absolute;left:39%;top:25%;height:47%;width:25%;border-radius:50%;background:#ffe7ffb8;filter:blur(31px);opacity:.59;animation:csV2Pulse 6s ease-in-out infinite}
.cs-v2-spotlight{position:absolute;right:0;bottom:6%;width:min(62%,310px);border:1px solid #edb9ff75;border-radius:20px;padding:17px 18px;background:linear-gradient(140deg,#382044e8,#171027ed 83%);backdrop-filter:blur(18px);box-shadow:0 18px 55px #03000bb8,inset 0 1px #ffffff33;pointer-events:auto;color:#fff3ff;transform:translateZ(0)}
.cs-v2-spotlight-label{font-size:9px;letter-spacing:.18em;font-weight:760;color:#deb2f1}
.cs-v2-spotlight-row{display:flex;align-items:center;gap:13px;margin:13px 0 7px;min-width:0}
.cs-v2-spotlight-row .cs-v2-spotlight-avatar{width:56px!important;height:56px!important;border-radius:12px!important;overflow:hidden!important;box-shadow:0 0 0 1px #f4c6ff67,0 4px 17px #0b0417a1!important;flex:none;margin:0!important;aspect-ratio:1!important}
.cs-v2-spotlight-avatar img{width:100%;height:100%;object-fit:cover}
.cs-v2-spotlight-symbol{display:grid;place-items:center;width:56px;height:56px;flex:none;border-radius:12px;background:#a458ca52;color:#f1cbff;font-size:38px}
.cs-v2-spotlight-info{display:grid;gap:5px;min-width:0}
.cs-v2-spotlight-info strong{font:normal 20px/1.06 Georgia,serif;overflow-wrap:anywhere}
.cs-v2-spotlight-info span{font-size:10px;color:#cebad8;line-height:1.4}
.cs-v2-spotlight-link{color:#f0c6ff;background:transparent;border:0;padding:8px 0 0;cursor:pointer;font-size:11px;font-weight:730;text-decoration:none;text-align:left}
.cs-v2-spotlight-link:hover{color:#fff}
.cs-wow .cs-hero-v2~.wow-experience-quick{padding:7px 0 9px;gap:8px}
.cs-wow .cs-hero-v2~.wow-experience-quick button{border-radius:13px;min-height:43px;background:linear-gradient(145deg,#281635,#1a1126);border-color:#c88ce052}
.cs-wow .cs-hero-v2~.wow-experience-quick button:hover{border-color:#eab3ff;background:#402551;transform:translateY(-2px)}
@keyframes csV2Shimmer{0%,100%{transform:translateX(-45%);opacity:.2}50%{transform:translateX(75%);opacity:.47}}
@keyframes csV2Pulse{0%,100%{opacity:.35;transform:scale(.88)}50%{opacity:.7;transform:scale(1.18)}}

/* Live, accessible in-page walkthrough */
.cs-tour-backdrop{position:fixed;inset:0;z-index:20980;background:#080612ba;backdrop-filter:blur(1.5px)}
.cs-tour-active .cs-tour-target{position:relative!important;z-index:20981!important;isolation:isolate!important;box-shadow:0 0 0 5px #e3a6ffc7,0 0 0 9px #a153c45c,0 12px 65px #e3a6ff40!important;border-radius:18px;transition:box-shadow .2s ease}
.cs-tour-panel{position:fixed;z-index:20983;border:1px solid #d6a3fbab;border-radius:23px;background:linear-gradient(157d