/* USAGI v1: independent mascot and pastel skin. All calculator selectors and IDs retained. */
:root{color-scheme:light}body{font-family:system-ui,-apple-system,'Noto Sans JP',sans-serif!important}
body[data-theme=leaf]{--theme-accent:#f78e44;--theme-ink:#264963;--theme-panel:#fffef8;--theme-border:#f7cbaf;--theme-bg:#fff6ed;--theme-text:#2a4255;--theme-muted:#7d7b7a;--theme-soft:#fff1e4;--theme-top:#ffefe0;--theme-field:#fff;--theme-hero:#fff3df;--lux-gold:#ffbf9b;--lux-outer:#e8a47f;--lux-glow:#ffd7ac;--lux-paper:#fffdf8;--lux-ink:#26465d;--frame-light:#ffc8a4;--frame-deep:#e4a78f;--frame-sheen:#fff1df;--v46-edge:#ffd6ac;--v46-glow:#ffe7cc}
body[data-theme=akatsuki]{--theme-accent:#668ecb;--theme-ink:#34517b;--theme-panel:#f9fcff;--theme-border:#b9cee9;--theme-bg:#e6f2ff;--theme-text:#23405e;--theme-muted:#6883a6;--theme-soft:#eff6ff;--theme-top:#e3efff;--theme-field:#fff;--theme-hero:#d3e5ff;--lux-gold:#b2d7ff;--lux-outer:#789fcf;--lux-glow:#bddbff;--lux-paper:#f6fbff;--lux-ink:#2e4d77;--frame-light:#bddcfd;--frame-deep:#719fcd;--frame-sheen:#eaf6ff;--v46-edge:#b9d7f6;--v46-glow:#cfe9ff}
body[data-theme=chibi]{--theme-accent:#e587a5;--theme-ink:#734a63;--theme-panel:#fff9fc;--theme-border:#f4c5dc;--theme-bg:#fff0f6;--theme-text:#603e55;--theme-muted:#9d7287;--theme-soft:#ffeaf3;--theme-top:#ffe2ee;--theme-field:#fff;--theme-hero:#ffe0ee;--lux-gold:#ffc5d8;--lux-outer:#d98cae;--lux-glow:#ffcadf;--lux-paper:#fffafd;--lux-ink:#724358;--frame-light:#ffc6dd;--frame-deep:#d68caa;--frame-sheen:#fff4fa;--v46-edge:#f5c0d5;--v46-glow:#ffe1ed}
body[data-theme=hokage]{--theme-accent:#dca142;--theme-ink:#74502f;--theme-panel:#fffaf0;--theme-border:#eed39e;--theme-bg:#fff6df;--theme-text:#614827;--theme-muted:#987c4e;--theme-soft:#ffedc6;--theme-top:#fff0ce;--theme-field:#fff;--theme-hero:#ffe5aa;--lux-gold:#f8db9c;--lux-outer:#ceab64;--lux-glow:#ffe4a4;--lux-paper:#fffaf0;--lux-ink:#72532d;--frame-light:#ffe0a0;--frame-deep:#cfa976;--frame-sheen:#fff3d4;--v46-edge:#f4d59b;--v46-glow:#ffe4a7}
body .topbar{background:var(--theme-top)!important;border-bottom:3px solid var(--theme-accent)!important;color:var(--theme-text)!important}
body .brand,body .subbrand,body .topbar label,body .topbar .theme-control label,body .topbar .language-control label{color:var(--theme-text)!important}
body .ninja-mark{background:#fff!important;color:var(--theme-text)!important;box-shadow:0 0 0 3px var(--theme-border)!important;font-size:25px!important}
body .ultimate-selector{background:#fff!important;color:var(--theme-text)!important;border:2px solid var(--theme-border)!important}
body .hero{background:var(--theme-hero)!important;box-shadow:0 5px 18px #b08a6b20!important;outline:2px solid var(--theme-border)!important}
body .hero-art{left:0!important;right:0!important;top:0!important;width:100%!important;height:100%!important;background-size:cover!important;background-position:center!important;animation:none!important;filter:none!important}
body[data-theme=leaf] .hero-art{background-image:url('./art/leaf.svg')!important}
body[data-theme=akatsuki] .hero-art{background-image:url('./art/akatsuki.svg')!important}
body[data-theme=chibi] .hero-art{background-image:url('./art/chibi.svg')!important}
body[data-theme=hokage] .hero-art{background-image:url('./art/hokage.svg')!important}
body .hero:after{display:none!important}body .hero:before{background:none!important}
body .panel:not(.result-panel){background-color:var(--theme-panel)!important}
body[data-theme=leaf] .panel:not(.result-panel){background-image:radial-gradient(ellipse at 90% 0%,#ffe7c0aa,transparent 36%),url('./art/wallpaper-leaf.svg')!important}
body[data-theme=akatsuki] .panel:not(.result-panel){background-image:radial-gradient(ellipse at 90% 0%,#d4e8ffab,transparent 36%),url('./art/wallpaper-akatsuki.svg')!important}
body[data-theme=chibi] .panel:not(.result-panel){background-image:radial-gradient(ellipse at 90% 0%,#ffe0f0aa,transparent 36%),url('./art/wallpaper-chibi.svg')!important}
body[data-theme=hokage] .panel:not(.result-panel){background-image:radial-gradient(ellipse at 90% 0%,#fff0b4aa,transparent 36%),url('./art/wallpaper-hokage.svg')!important}
body .result-panel{background:#fff9f4!important;color:var(--theme-text)!important}
body .result-panel .section-head h2{color:var(--theme-text)!important}
body .btn-primary{color:#fff!important;background:var(--theme-accent)!important}
body .quick-tabs a.selected{background:var(--theme-soft)!important;color:var(--theme-text)!important}
body .main-result{background:var(--theme-soft)!important;color:var(--theme-text)!important}
body .chart-bar.sales{background:var(--theme-accent)!important}
body .cost-analysis{background:linear-gradient(145deg,#fffefd,var(--theme-soft))!important;color:var(--theme-text)!important}
body .analysis-heading{color:var(--theme-text)!important}
body .login-panel{max-width:520px;margin:28px auto!important;text-align:center;border-radius:28px!important}
body .usagi-login-art{margin:auto auto 10px;width:148px;max-width:50vw}
body .usagi-login-art img{width:100%;height:auto;display:block;filter:drop-shadow(0 8px 14px #bb8b6822)}
body .login-panel form{text-align:left}
body #setupNotice{max-width:560px;margin:34px auto!important}
body #setupNotice h2:before{content:'🌷 '}
body .usagi-setup-form{display:grid;gap:12px;margin-top:18px}body .usagi-setup-form label{display:block;text-align:left}
body .usagi-setup-form input{width:100%;margin-top:6px}
body .ninja-splash{background:radial-gradient(ellipse at 50% 35%,#fffdfa 0%,#ffe7dc 55%,#e4f6fa 100%)!important;color:#29455d!important}
body .ninja-splash:before{background:conic-gradient(from 0deg,#ffcfb045,transparent,#c7eff359,transparent,#ffd7e154)!important;opacity:.55!important}
body .splash-orb-a{background:#ffd9ae77!important}body .splash-orb-b{background:#afdbef77!important}
body .splash-art{border-radius:25%!important;box-shadow:0 6px 24px #b18c8135!important}
body .splash-title{color:#28465d!important;text-shadow:none!important;letter-spacing:.03em!important;text-align:center!important}
body .splash-subtitle{color:#a67b77!important;letter-spacing:.18em!important;text-align:center!important}
body .splash-progress{background:#f3d9d8!important;box-shadow:none!important}
body .splash-progress span{background:linear-gradient(90deg,#ffac6e,#f2a1c0,#9bbedf)!important;box-shadow:none!important}
body .splash-embers i{background:#eda4be!important;box-shadow:none!important}
body footer{color:#9b8191!important}
@media(max-width:560px){body .hero{min-height:205px!important;height:220px!important}body .brand{font-size:17px!important}}
@media(prefers-reduced-motion:reduce){body .ninja-splash:before,body .splash-art{animation:none!important}}
