/* SPARKBR IMMERSION STUDIO — 12 complete visual worlds; CSS-only presentation layer. */
:root{
 --w-paper:#f8f3eb;--w-side:#fffaf3;--w-top:#fffaf5;--w-card:#fffdf9;--w-ink:#312820;--w-muted:#88796f;--w-line:#e8dcd0;
 --w-accent:#b94d41;--w-accent-strong:#7d2936;--w-accent-soft:#f7e6dd;--w-accent-ink:#fffaf5;
 --w-hero:linear-gradient(128deg,#42242b 0%,#783743 54%,#b85643 100%);--w-shadow:0 18px 55px rgba(72,42,35,.09);
 --w-glow:radial-gradient(circle at 84% 12%,rgba(219,154,100,.18),transparent 29%),radial-gradient(circle at 7% 85%,rgba(157,81,69,.08),transparent 27%);
 --w-pattern:radial-gradient(rgba(117,65,45,.07) .8px,transparent .8px);
 --w-radius:22px;--w-title:var(--heading);--w-card-border:1px solid var(--w-line);
}
html[data-world]{color-scheme:light}
html[data-world='neo-tokyo'],html[data-world='obsidiana'],html[data-world='aurora']{color-scheme:dark}
html[data-theme='dark'][data-world]{color-scheme:dark}
html[data-theme='light'][data-world]{color-scheme:light}
html[data-world="neo-tokyo"],html[data-world="obsidiana"],html[data-world="aurora"]{color-scheme:dark}
html[data-theme="dark"][data-world]{color-scheme:dark}
html[data-theme="light"][data-world]{color-scheme:light}
html[data-world] body{background:var(--w-paper)!important;color:var(--w-ink)!important;transition:background .35s ease,color .35s ease}
html[data-world] body:before{content:"";pointer-events:none;position:fixed;inset:0;z-index:0;background:var(--w-glow);opacity:1}
html[data-world] .app-shell{position:relative;z-index:1}
html[data-world] .sidebar,html[data-world] .topbar,html[data-world] .tab-strip,html[data-world] .bottom-nav{background:var(--w-side)!important;border-color:var(--w-line)!important}
html[data-world] .main-column{background:transparent}
html[data-world] .brand,html[data-world] .brand span,html[data-world] .section-head h2,html[data-world] .quick-card strong,html[data-world] .app-card h3,html[data-world] .care-banner h2,html[data-world] .workspace-label #workTitle{color:var(--w-ink)!important}
html[data-world] .brand strong,html[data-world] .section-kicker,html[data-world] .text-link,html[data-world] .footer-brand,html[data-world] .app-tag{color:var(--w-accent)!important}
html[data-world] .side-link.current,html[data-world] .side-link:hover{background:var(--w-accent-soft)!important;color:var(--w-accent-strong)!important}
html[data-world] .side-link.current svg{color:var(--w-accent)!important}
html[data-world] .side-note{background:linear-gradient(145deg,var(--w-card),var(--w-accent-soft))!important;border-color:var(--w-line)!important}
html[data-world] .note-icon{color:var(--w-accent)!important}
html[data-world] .topbar{box-shadow:0 3px 24px rgba(44,30,20,.025)}
html[data-world] .icon-btn:hover{background:var(--w-accent-soft)!important;color:var(--w-accent-strong)!important}
html[data-world] .address-form,html[data-world] .app-search{background:var(--w-card)!important;border-color:var(--w-line)!important}
html[data-world] .address-form input,html[data-world] .app-search input{color:var(--w-ink)!important}
html[data-world] .address-go,html[data-world] .top-ai,html[data-world] .web-hint button{background:var(--w-accent-strong)!important;color:var(--w-accent-ink)!important}
html[data-world] .top-ai svg{color:#ffd894!important}
html[data-world] .hero{background:var(--w-hero)!important;border:1px solid rgba(255,255,255,.13);border-radius:var(--w-radius)!important;box-shadow:var(--w-shadow)!important}
html[data-world] .hero-copy{position:relative}
html[data-world] .hero h1{letter-spacing:-2.5px}
html[data-world] .hero h1 em,html[data-world] .hero .eye-glyph{color:var(--w-highlight,#ffd58c)!important}
html[data-world] .primary-cta{background:var(--w-highlight,#ffd58c)!important;border-color:var(--w-highlight,#ffd58c)!important;color:var(--w-hero-ink,#312820)!important}
html[data-world] .secondary-cta{border-color:#ffffff44!important;background:#ffffff0d!important}
html[data-world] .hero-art:before{border-color:var(--w-ring,rgba(255,255,255,.28))!important}
html[data-world] .center-emblem{border-radius:31px;box-shadow:0 25px 70px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.45)}
html[data-world] .quick-card,html[data-world] .app-card,html[data-world] .empty-state{background:var(--w-card)!important;border:var(--w-card-border)!important;border-radius:17px!important;box-shadow:var(--w-card-shadow,0 9px 28px rgba(55,39,26,.045))!important}
html[data-world] .quick-card:after{background:var(--w-accent-soft)!important;opacity:.9!important}
html[data-world] .quick-card:hover,html[data-world] .app-card:hover{border-color:var(--w-accent)!important;box-shadow:var(--w-shadow)!important}
html[data-world] .app-icon{background:var(--w-accent-soft)!important;border-color:var(--w-line)!important}
html[data-world] .app-arrow{background:var(--w-accent-soft)!important;color:var(--w-accent-strong)!important}
html[data-world] .filter{border-color:var(--w-line)!important;color:var(--w-muted)!important}
html[data-world] .filter.active{background:var(--w-accent-strong)!important;border-color:var(--w-accent-strong)!important;color:var(--w-accent-ink)!important}
html[data-world] .care-banner{background:linear-gradient(120deg,var(--w-accent-soft),var(--w-card))!important;border-color:var(--w-line)!important;border-radius:var(--w-radius)!important}
html[data-world] .care-emoji{background:var(--w-card)!important}
html[data-world] .care-banner button{background:var(--w-accent-strong)!important;color:var(--w-accent-ink)!important}
html[data-world] .footer{border-color:var(--w-line)!important}
html[data-world] .tab{background:var(--w-accent-soft)!important;border-color:var(--w-line)!important;color:var(--w-muted)!important}
html[data-world] .tab.active{background:var(--w-card)!important;color:var(--w-accent-strong)!important;border-color:var(--w-accent)!important}
html[data-world] .web-surface,html[data-world] .secondary-small,html[data-world] .settings-dialog,html[data-world] .assistant-panel{background:var(--w-card)!important;border-color:var(--w-line)!important;color:var(--w-ink)!important}
html[data-world] .web-surface iframe,html[data-world] .web-surface webview{background:var(--w-card)}
html[data-world] .workspace-label small,html[data-world] .section-head p,html[data-world] .quick-card small,html[data-world] .app-card .app-desc{color:var(--w-muted)!important}
html[data-world] .assistant-panel .ai-panel-header{background:var(--w-side)!important;border-color:var(--w-line)!important}
html[data-world] .ai-avatar{background:var(--w-accent-strong)!important}
html[data-world] .msg.bot{background:var(--w-accent-soft)!important;color:var(--w-ink)!important}
html[data-world] .ai-input-form,html[data-world] .ai-suggestions button{border-color:var(--w-line)!important}
html[data-world] .ai-input-form button{background:var(--w-accent-strong)!important}
html[data-world] .settings-info{background:var(--w-accent-soft)!important;border-color:var(--w-line)!important}
html[data-world] .toast{border:1px solid var(--w-line)!important;box-shadow:var(--w-shadow)!important}
/* Identity 01 — editorial paper */
html[data-world="editorial"]{--w-paper:#f8f3eb;--w-side:#fffaf3;--w-top:#fffaf5;--w-card:#fffdf9;--w-ink:#312820;--w-muted:#88796f;--w-line:#e8dcd0;--w-accent:#b94d41;--w-accent-strong:#7d2936;--w-accent-soft:#f7e6dd;--w-accent-ink:#fffaf5;--w-hero:linear-gradient(128deg,#42242b,#783743 54%,#b85643);--w-highlight:#ffd58c;--w-shadow:0 18px 55px rgba(72,42,35,.09);--w-glow:radial-gradient(circle at 84% 12%,rgba(219,154,100,.18),transparent 29%),radial-gradient(circle at 7% 85%,rgba(157,81,69,.08),transparent 27%)}
/* Identity 02 — solar luxury */
html[data-world="solara"]{--w-paper:#fbf6e8;--w-side:#fffaf0;--w-card:#fffdf6;--w-ink:#342819;--w-muted:#89785e;--w-line:#eee0bc;--w-accent:#ba801b;--w-accent-strong:#65401d;--w-accent-soft:#f9edc9;--w-accent-ink:#fff9e8;--w-hero:linear-gradient(125deg,#34251c,#74491e 58%,#c18a2b);--w-highlight:#ffdb81;--w-shadow:0 20px 55px rgba(117,77,23,.11);--w-glow:radial-gradient(circle at 78% 12%,#f3c95e2c,transparent 29%),radial-gradient(circle at 7% 75%,#c18a2b16,transparent 27%)}
/* Identity 03 — sakura editorial */
html[data-world="sakura"]{--w-paper:#fcf2f6;--w-side:#fff8fa;--w-card:#fffdfd;--w-ink:#392735;--w-muted:#967e91;--w-line:#f0dce8;--w-accent:#c44d82;--w-accent-strong:#743257;--w-accent-soft:#f9e3ee;--w-accent-ink:#fff7fb;--w-hero:linear-gradient(130deg,#3f2038,#853d68 56%,#cf7198);--w-highlight:#ffd0df;--w-shadow:0 20px 58px rgba(126,47,88,.11);--w-glow:radial-gradient(circle at 80% 12%,#eaa7c633,transparent 30%),radial-gradient(circle at 8% 84%,#b95d9417,transparent 25%)}
/* Identity 04 — neon city */
html[data-world="neo-tokyo"]{--w-paper:#171321;--w-side:#100d19;--w-top:#100d19;--w-card:#211a2d;--w-ink:#f7efff;--w-muted:#b1a2c5;--w-line:#3e3153;--w-accent:#54efe1;--w-accent-strong:#4b2e89;--w-accent-soft:#2b2440;--w-accent-ink:#fff;--w-hero:linear-gradient(130deg,#20132f,#542b88 55%,#126b73);--w-highlight:#66f2e4;--w-shadow:0 18px 62px rgba(0,0,0,.34);--w-glow:radial-gradient(circle at 85% 5%,#7f42d52c,transparent 30%),radial-gradient(circle at 8% 80%,#00cdbd21,transparent 24%);--w-card-border:1px solid #403351}
html[data-world="neo-tokyo"] .hero .hero-copy>p,html[data-world="neo-tokyo"] .hero .hero-trust,html[data-world="neo-tokyo"] .hero .hero-trust strong{color:#e3d7f0!important}
html[data-world="neo-tokyo"] .illustration-card{background:#fdf8ff!important;color:#22152e!important}
/* Identity 05 — obsidian gold */
html[data-world="obsidiana"]{--w-paper:#141311;--w-side:#0f0e0c;--w-top:#0f0e0c;--w-card:#211f1b;--w-ink:#f7f0df;--w-muted:#b6ad99;--w-line:#3e382b;--w-accent:#d8b565;--w-accent-strong:#80672f;--w-accent-soft:#30291b;--w-accent-ink:#fff8e5;--w-hero:linear-gradient(130deg,#141311,#342c1e 58%,#5a4727);--w-highlight:#f0d28c;--w-shadow:0 20px 65px rgba(0,0,0,.38);--w-glow:radial-gradient(circle at 77% 10%,#d3aa4b1c,transparent 30%),radial-gradient(circle at 10% 84%,#8d71301c,transparent 28%);--w-card-border:1px solid #393328}
html[data-world="obsidiana"] .hero .hero-copy>p,html[data-world="obsidiana"] .hero .hero-trust{color:#e6dcc2!important}
html[data-world="obsidiana"] .illustration-card{background:#f9f0d9!important;color:#2a2110!important}
/* Identity 06 — botanical calm */
html[data-world="botanica"]{--w-paper:#f1f1e7;--w-side:#fafaf2;--w-top:#fafaf2;--w-card:#fffef7;--w-ink:#25372c;--w-muted:#71816f;--w-line:#dce2ce;--w-accent:#63844c;--w-accent-strong:#2f503b;--w-accent-soft:#e5edda;--w-accent-ink:#fbfff6;--w-hero:linear-gradient(130deg,#203a30,#365f46 54%,#799257);--w-highlight:#d7ec9d;--w-shadow:0 18px 55px rgba(43,76,48,.10);--w-glow:radial-gradient(circle at 82% 10%,#b4c8772c,transparent 28%),radial-gradient(circle at 7% 78%,#628b5715,transparent 27%)}
/* Identity 07 — Mediterranean plaster */
html[data-world="mediterraneo"]{--w-paper:#f8f4ea;--w-side:#fffaf1;--w-top:#fffaf1;--w-card:#fffdf6;--w-ink:#2f342c;--w-muted:#7e887b;--w-line:#e7decf;--w-accent:#c86b4c;--w-accent-strong:#764536;--w-accent-soft:#f5e3d4;--w-accent-ink:#fff9f1;--w-hero:linear-gradient(130deg,#354940,#6f7260 56%,#c67b57);--w-highlight:#f4cd8b;--w-shadow:0 18px 52px rgba(81,77,55,.09);--w-glow:radial-gradient(circle at 78% 10%,#e7b88e2c,transparent 28%),radial-gradient(circle at 7% 80%,#69857917,transparent 28%)}
/* Identity 08 — citrus pop */
html[data-world="citron"]{--w-paper:#faf5d9;--w-side:#fffbe8;--w-top:#fffbe8;--w-card:#fffef1;--w-ink:#292818;--w-muted:#7f7c57;--w-line:#e5e0bb;--w-accent:#ec6937;--w-accent-strong:#2f4726;--w-accent-soft:#e9f2b9;--w-accent-ink:#fffff0;--w-hero:linear-gradient(130deg,#25291a,#58682a 57%,#df772d);--w-highlight:#d8f16c;--w-shadow:0 19px 52px rgba(73,81,28,.11);--w-glow:radial-gradient(circle at 81% 11%,#e7d65c38,transparent 28%),radial-gradient(circle at 8% 84%,#f18a3518,transparent 25%)}
/* Identity 09 — terracotta craft */
html[data-world="terracota"]{--w-paper:#f4e9df;--w-side:#fbf3eb;--w-top:#fbf3eb;--w-card:#fffaf4;--w-ink:#3e2d26;--w-muted:#92796e;--w-line:#e6d1c3;--w-accent:#bd6045;--w-accent-strong:#713a2c;--w-accent-soft:#f3ded0;--w-accent-ink:#fff8f0;--w-hero:linear-gradient(130deg,#332722,#774233 57%,#c56b4e);--w-highlight:#ffd1a4;--w-shadow:0 18px 55px rgba(91,47,31,.10);--w-glow:radial-gradient(circle at 80% 11%,#d9906b2d,transparent 28%),radial-gradient(circle at 7% 80%,#85422a17,transparent 25%)}
/* Identity 10 — lavender studio */
html[data-world="lavanda"]{--w-paper:#f5f1fb;--w-side:#fcf9ff;--w-top:#fcf9ff;--w-card:#fffdfd;--w-ink:#332b43;--w-muted:#887d9c;--w-line:#e4dcef;--w-accent:#8b6bc4;--w-accent-strong:#554078;--w-accent-soft:#eee5fa;--w-accent-ink:#fffbff;--w-hero:linear-gradient(130deg,#30253e,#614686 55%,#a17bca);--w-highlight:#efccff;--w-shadow:0 19px 55px rgba(92,63,133,.11);--w-glow:radial-gradient(circle at 82% 10%,#b5a1eb32,transparent 29%),radial-gradient(circle at 7% 82%,#9870c21a,transparent 25%)}
/* Identity 11 — high-contrast Swiss print */
html[data-world="monocromo"]{--w-paper:#f4f4f1;--w-side:#fff;--w-top:#fff;--w-card:#fff;--w-ink:#171717;--w-muted:#6e6e6b;--w-line:#d8d8d4;--w-accent:#c83232;--w-accent-strong:#181818;--w-accent-soft:#eeeeeb;--w-accent-ink:#fff;--w-hero:linear-gradient(125deg,#151515,#30302e 72%,#8e3030);--w-highlight:#ff6464;--w-shadow:0 16px 45px rgba(0,0,0,.07);--w-glow:linear-gradient(135deg,#ffffff00,#17171704)}
/* Identity 12 — aurora night */
html[data-world="aurora"]{--w-paper:#0c1715;--w-side:#09110f;--w-top:#09110f;--w-card:#142521;--w-ink:#eff8eb;--w-muted:#a0b9ad;--w-line:#2a4037;--w-accent:#c7ef75;--w-accent-strong:#1c5e4c;--w-accent-soft:#1d342a;--w-accent-ink:#f5ffe6;--w-hero:linear-gradient(130deg,#0b211b,#155649 57%,#538345);--w-highlight:#e1ff83;--w-shadow:0 20px 65px rgba(0,0,0,.35);--w-glow:radial-gradient(circle at 80% 8%,#73dfa322,transparent 29%),radial-gradient(circle at 8% 82%,#b8ef5214,transparent 27%);--w-card-border:1px solid #2b4337}
html[data-world="aurora"] .hero .hero-copy>p,html[data-world="aurora"] .hero .hero-trust{color:#d3ead9!important}
html[data-world="aurora"] .illustration-card{background:#f8fff0!important;color:#18352a!important}
/* The light/dark toggle stays independent and creates a coherent alternative palette. */
html[data-theme="dark"][data-world]:not([data-world="neo-tokyo"]):not([data-world="obsidiana"]):not([data-world="aurora"]){--w-paper:#171715;--w-side:#111210;--w-top:#111210;--w-card:#22221e;--w-ink:#f6f1e7;--w-muted:#aaa397;--w-line:#3a3932;--w-accent-soft:#302923;--w-accent-ink:#fff7ec;--w-shadow:0 18px 55px rgba(0,0,0,.35);--w-card-border:1px solid #3a3932}
html[data-theme="dark"][data-world] .side-note,html[data-theme="dark"][data-world] .care-banner{background:linear-gradient(135deg,var(--w-card),var(--w-accent-soft))!important}
html[data-theme="dark"][data-world] .home-pill,html[data-theme="dark"][data-world] .app-total{background:var(--w-card)!important;border-color:var(--w-line)!important;color:var(--w-accent)!important}
html[data-theme="dark"][data-world] .illustration-card{box-shadow:0 18px 38px #0007}
html[data-theme="dark"][data-world] .bottom-nav button{color:var(--w-muted)!important}
html[data-theme="dark"][data-world] .bottom-nav button.bottom-current{color:var(--w-accent)!important}
/* Immersion Studio control */
.world-picker-trigger{height:38px;flex:none;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--w-line);border-radius:12px;background:var(--w-card);color:var(--w-ink);font-size:11px;font-weight:800;box-shadow:0 4px 16px rgba(0,0,0,.035);transition:transform .2s,border-color .2s,box-shadow .2s}
.world-picker-trigger:hover{transform:translateY(-2px);border-color:var(--w-accent);box-shadow:0 8px 24px color-mix(in srgb,var(--w-accent),transparent 84%)}
.world-trigger-glyph{display:grid;place-items:center;width:22px;height:22px;border-radius:8px;background:var(--w-accent-soft);color:var(--w-accent);font-size:17px}
.world-trigger-dot{width:9px;height:9px;border-radius:50%;background:var(--w-accent);box-shadow:0 0 0 3px var(--w-accent-soft)}
.spark-world-panel{position:fixed;z-index:1000;top:70px;right:clamp(12px,2.6vw,42px);width:min(620px,calc(100vw - 24px));max-height:min(790px,calc(100dvh - 84px));overflow:auto;background:var(--w-side);color:var(--w-ink);border:1px solid var(--w-line);border-radius:24px;padding:19px;box-shadow:0 28px 100px rgba(24,21,18,.24),0 4px 20px rgba(24,21,18,.08);backdrop-filter:blur(24px);animation:world-panel-in .22s cubic-bezier(.2,.8,.2,1)}
.spark-world-panel[hidden]{display:none!important}
@keyframes world-panel-in{from{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.world-panel-head{display:flex;align-items:center;gap:14px;padding:4px 3px 19px;border-bottom:1px solid var(--w-line)}
.world-head-mark{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:16px;background:var(--w-hero);color:var(--w-highlight,#fff);font-size:26px;box-shadow:0 9px 22px color-mix(in srgb,var(--w-accent),transparent 76%)}
.world-head-copy{min-width:0;flex:1}
.world-kicker{display:block;font-size:8px;letter-spacing:1.7px;font-weight:900;color:var(--w-accent);margin-bottom:5px}
.world-head-copy h2{font:800 21px/1.15 var(--heading);letter-spacing:-.7px;margin:0;color:var(--w-ink)}
.world-head-copy p{font-size:11px;color:var(--w-muted);margin:5px 0 0}
.world-close{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--w-line);border-radius:11px;background:var(--w-card);color:var(--w-muted);font-size:23px}
.world-panel-rail{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--w-muted);font-size:8px;font-weight:900;letter-spacing:1.3px;padding:16px 3px 12px}
#sparkWorldCount{font-weight:700;letter-spacing:0}
.spark-world-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.spark-world-option{min-width:0;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid var(--w-line);border-radius:14px;background:var(--w-card);color:var(--w-ink);padding:9px;transition:transform .18s,border-color .18s,box-shadow .18s}
.spark-world-option:hover{transform:translateY(-2px);border-color:var(--w-accent);box-shadow:0 9px 22px rgba(0,0,0,.06)}
.spark-world-option.selected{border-color:var(--w-accent);box-shadow:inset 0 0 0 1px var(--w-accent),0 7px 20px color-mix(in srgb,var(--w-accent),transparent 89%)}
.world-swatch{height:44px;width:44px;flex:none;display:grid;place-items:center;position:relative;overflow:hidden;border-radius:11px;background:#b94d41;color:white;font:800 18px var(--heading);text-shadow:0 1px 5px #0005}
.spark-world-option[data-world="editorial"] .world-swatch{background:linear-gradient(135deg,#fff9ee 0%,#dfb8a5 46%,#8f3342 100%)}
.spark-world-option[data-world="solara"] .world-swatch{background:linear-gradient(135deg,#fff8dc 0%,#f5bd46 50%,#603b25 100%)}
.spark-world-option[data-world="sakura"] .world-swatch{background:linear-gradient(135deg,#fff5f8 0%,#f4abc7 50%,#7a315f 100%)}
.spark-world-option[data-world="neo-tokyo"] .world-swatch{background:linear-gradient(135deg,#120d20 0%,#5d2ba5 54%,#2be8dd 100%)}
.spark-world-option[data-world="obsidiana"] .world-swatch{background:linear-gradient(135deg,#0d0d0c 0%,#343027 54%,#d7b65d 100%)}
.spark-world-option[data-world="botanica"] .world-swatch{background:linear-gradient(135deg,#f4f3e8 0%,#b9c9a7 50%,#31513d 100%)}
.spark-world-option[data-world="mediterraneo"] .world-swatch{background:linear-gradient(135deg,#fffaf0 0%,#f2c9a8 48%,#507b72 100%)}
.spark-world-option[data-world="citron"] .world-swatch{background:linear-gradient(135deg,#fff5c5 0%,#b9df48 45%,#f16c37 100%)}
.spark-world-option[data-world="terracota"] .world-swatch{background:linear-gradient(135deg,#f8eee2 0%,#d48663 52%,#59362e 100%)}
.spark-world-option[data-world="lavanda"] .world-swatch{background:linear-gradient(135deg,#faf5ff 0%,#c3b6f2 52%,#61469e 100%)}
.spark-world-option[data-world="monocromo"] .world-swatch{background:linear-gradient(135deg,#fff 0%,#d8d8d8 49%,#171717 50%,#b93434 100%)}
.spark-world-option[data-world="aurora"] .world-swatch{background:linear-gradient(135deg,#071a18 0%,#145e54 52%,#d8fa74 100%)}
.world-swatch i{position:absolute;right:4px;bottom:4px;width:14px;height:14px;border-radius:50%;display:none;place-items:center;background:#fff;color:#1b6e45;font:900 9px var(--body);font-style:normal}
.spark-world-option.selected .world-swatch i{display:grid}
.world-option-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.world-option-copy strong{font:800 10px/1.2 var(--heading);white-space:normal}
.world-option-copy small{font-size:8px;line-height:1.3;color:var(--w-muted)}
.world-panel-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--w-line);margin-top:17px;padding:14px 2px 2px}
.world-foot-note{font-size:9px;color:var(--w-muted)}
.immersion-toggle{border:1px solid var(--w-line);border-radius:999px;background:var(--w-accent-soft);color:var(--w-accent-strong);padding:9px 12px;font-size:9px;font-weight:900;white-space:nowrap}
html[data-world="neo-tokyo"] .world-picker-trigger,html[data-world="obsidiana"] .world-picker-trigger,html[data-world="aurora"] .world-picker-trigger{background:var(--w-card);color:var(--w-ink)}
html[data-immersion="off"] *,html[data-immersion="off"] *:before,html[data-immersion="off"] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:1050px){.world-picker-trigger{padding:0 9px}.world-trigger-label{display:none}.spark-world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.world-picker-trigger{width:35px;height:35px;justify-content:center;padding:0;gap:0;border-radius:11px}.world-trigger-label{display:none}.world-trigger-dot{display:none}.spark-world-panel{top:62px;right:8px;width:calc(100vw - 16px);max-height:calc(100dvh - 72px);padding:14px;border-radius:20px}.world-panel-head{gap:10px}.world-head-mark{width:40px;height:40px}.world-head-copy h2{font-size:18px}.spark-world-grid{gap:7px}.spark-world-option{gap:7px;padding:7px}.world-swatch{width:35px;height:38px}.world-option-copy strong{font-size:9px}.world-option-copy small{font-size:7px}.world-foot-note{max-width:46%;line-height:1.4}.world-panel-foot{align-items:flex-start}}
@media(max-width:390px){.spark-world-grid{grid-template-columns:1fr}.spark-world-option{padding:8px}.world-swatch{height:40px;width:42px}.world-option-copy strong{font-size:11px}.world-option-copy small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.spark-world-panel,.world-picker-trigger,.spark-world-option{animation:none!important;transition:none!important}}

/* Final universal polish: every shell surface follows the selected world. */
html[data-world] .side-link{color:var(--w-muted)!important}
html[data-world] .side-foot,html[data-world] .nav-cap,html[data-world] .welcome-line,html[data-world] .welcome-line span:first-child{color:var(--w-muted)!important}
html[data-world] .home-pill,html[data-world] .app-total{background:var(--w-accent-soft)!important;border-color:var(--w-line)!important;color:var(--w-accent-strong)!important}
html[data-world] .bottom-nav button{color:var(--w-muted)!important}
html[data-world] .bottom-nav button.bottom-current{color:var(--w-accent-strong)!important}
html[data-world] .settings-dialog h2,html[data-world] .settings-dialog strong,html[data-world] .setting-line strong,html[data-world] .assistant-welcome h2{color:var(--w-ink)!important}
html[data-world] .assistant-welcome p,html[data-world] .setting-line small,html[data-world] .settings-info p,html[data-world] .ai-disclosure{color:var(--w-muted)!important}
html[data-world] .setting-line,html[data-world] .settings-top{border-color:var(--w-line)!important}
html[data-world] .app-card,html[data-world] .quick-card{transition:transform .24s cubic-bezier(.2,.8,.2,1),border-color .24s,box-shadow .24s,background .3s}
html[data-world] .quick-card:focus-visible,html[data-world] .app-card:focus-within{outline:3px solid var(--w-accent)!important;outline-offset:3px}
html[data-world] .primary-cta,html[data-world] .secondary-cta,html[data-world] .care-banner button,html[data-world] .top-ai{transition:transform .2s,box-shadow .2s,background .25s}
html[data-world] .primary-cta:hover,html[data-world] .secondary-cta:hover,html[data-world] .care-banner button:hover,html[data-world] .top-ai:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.12)}
html[data-world] .app-card .fav-btn{color:var(--w-muted)!important}
html[data-world] .app-card .fav-btn[aria-pressed="true"] svg{fill:var(--w-highlight,var(--w-accent))!important;stroke:var(--w-accent)!important}
html[data-world] .online-dot{background:var(--w-accent)!important}
html[data-world] .online-dot.off{background:#df765b!important}
html[data-world] .address-form:focus-within{border-color:var(--w-accent)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--w-accent),transparent 85%)!important}
html[data-world] button:focus-visible,html[data-world] a:focus-visible,html[data-world] input:focus-visible,html[data-world] textarea:focus-visible,html[data-world] select:focus-visible{outline-color:var(--w-accent)!important}
html[data-world] .filter:focus-visible,html[data-world] .spark-world-option:focus-visible{outline-color:var(--w-accent)!important}
html[data-world="neo-tokyo"] .settings-dialog,html[data-world="obsidiana"] .settings-dialog,html[data-world="aurora"] .settings-dialog{color:var(--w-ink)!important}
html[data-theme="dark"][data-world] .world-panel-head,html[data-theme="dark"][data-world] .world-panel-foot{border-color:var(--w-line)!important}
