:root{--paper:#f8f5f0;--ink:#39303f;--muted:#786b7b;--soft:#8a738e;--line:#e2d8e2;--accent:#826399;--blue:#73518b;--surface:#fffdf9;--surface-soft:#f0e9f1;--primary:#7b5c91;--primary-hover:#68487e;--primary-soft:#eee4f3;--hero-glow:#fffefa;--viewer-glow:#fffefa;--viewer-edge:#f2edf2;--callout:#fffdf9ed;--callout-shadow:#49334f12;--footer:#f0eaf0}
:root[data-theme=dark]{--paper:#1b1622;--ink:#f3eaf6;--muted:#c1b1c7;--soft:#bea5c7;--line:#45364e;--accent:#d2b8e2;--blue:#dfc9ec;--surface:#2b2233;--surface-soft:#261e2e;--primary:#88639f;--primary-hover:#9873ad;--primary-soft:#493452;--hero-glow:#302239;--viewer-glow:#34283f;--viewer-edge:#211a29;--callout:#2b2233f2;--callout-shadow:#0003;--footer:#211a29}
.brand-label{letter-spacing:.12em;white-space:nowrap}.intro h1{font-size:clamp(28px,3vw,45px)}.character-name{color:var(--accent)}
.entry-controls{display:flex;justify-content:center;gap:10px;margin-bottom:10px}.entry-controls button{background:var(--surface);color:var(--blue);border:1px solid var(--line);border-radius:30px;padding:8px 16px;font-size:10px;cursor:pointer}.entry-controls button[aria-pressed=true]{border-color:var(--accent);background:var(--primary-soft)}.entry-controls button:disabled{opacity:.4;cursor:wait}
.progress{justify-content:center}.sayo-character-values{padding:40px 34px;background:var(--surface-soft);border:1px solid var(--line);border-radius:6px}.sayo-emblem{font-size:66px;color:var(--accent);margin:25px 0}.sayo-character-values h3{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:27px;font-weight:500;line-height:1.8;letter-spacing:.06em}.sayo-character-values .profile{margin-bottom:0}.sayo-character-values .body-copy{max-width:34em}.welcome-portrait svg{max-height:480px}.hero-caption .character-name{font-size:62px}
@media(max-width:1100px){.header-actions{gap:14px}nav{gap:15px}.site-header{gap:14px}.brand-wordmark{width:100px}}
@media(max-width:900px) and (min-width:761px){nav a:nth-child(4),nav a:nth-child(5){display:none}}
@media(max-width:760px){.site-header{width:calc(100% - 32px);gap:8px}.brand{gap:7px}.brand-symbol{width:26px;height:26px}.brand-wordmark{width:84px}.brand-label{font-size:8px;padding-left:8px;margin-left:0}.header-actions{gap:10px}nav{gap:12px}nav a{font-size:9px}nav a:nth-child(n+3){display:none}.theme-switch{padding:2px}.theme-switch button{width:25px;height:25px}.intro h1{font-size:25px;line-height:1.7;padding:0 15px}.intro h1 span{display:block}.intro-copy{font-size:9px;padding:0 20px}.intro{top:58px}#stage{inset:270px 0 155px}#hello[data-interactive=true] #stage{top:270px;height:350px}#bubble{top:48%;font-size:9px;width:105px}.sayo-character-values{padding:30px 25px}.sayo-character-values h3{font-size:25px}.controls{bottom:50px}.hero[data-interactive=true] .controls{bottom:40px}.hero-inspector-menu{top:640px}.hero-model-actions{margin-top:4px}.hero-detail-card{top:880px}.hero[data-interactive=true]{min-height:960px}#hello[data-inspecting=true]{min-height:1570px}}
@media(max-width:360px){.brand-label{display:none}.intro h1{font-size:23px}.theme-switch button{width:23px;height:23px}}
.personality-status{display:flex;align-items:center;gap:12px;margin:0 0 14px;color:var(--accent);font:9px/1.8 Arial,sans-serif;letter-spacing:.16em}.personality-status span{border:1px solid var(--line);border-radius:4px;padding:3px 10px;background:var(--primary-soft);color:var(--blue);font:10px/1.8 'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;letter-spacing:.05em}
.intro ruby{ruby-align:space-around}.intro rt{position:relative;top:-.65em;font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;font-size:.28em;font-weight:400;letter-spacing:0;color:var(--muted)}
