/* Shared Liquid Data identity around the preserved immersive House. */
:root{--bg:#000;--surface:#000;--fg:#f2f2f2;--muted:#aaa;--mint:#97fce4;--positive:#97fce4;--negative:#f28bb3;--accent-2:#c4c7c2;--accent-3:#b6b0d2;--soft:#171717;--line:transparent;--strong-line:transparent;--grid-line:transparent;--tint:#97fce408;--instrument-panel:transparent;--instrument-modal:#0b0b0b;--instrument-background:none;--font-editorial:'Inter Display',sans-serif;--font-interface:'Geist Mono',monospace;--research-gutter:3%;--research-frame:100%;--research-page-title:clamp(48px,8vw,124px)}
:root[data-theme=light]{--bg:#fff;--surface:#fff;--fg:#141414;--muted:#5e5e5e;--mint:#126653;--positive:#126653;--negative:#a32e60;--soft:#ebebea;--instrument-modal:#fff;--tint:#12665309}
:root[data-theme=liquid]{--bg:#030809;--surface:#030809;--fg:#edf9f6;--muted:#a8bfbb;--soft:#172628;--instrument-modal:#071214}
:root[data-theme] body{background:var(--bg);color:var(--fg);font-family:'Inter Display',sans-serif}
:root[data-theme] body>header{background:linear-gradient(#000c,transparent);color:#fff;border:0;backdrop-filter:none;padding:22px 3%}
:root[data-theme] .brand,:root[data-theme] .house-menu-head>a{font:800 34px/1 'Liquid Sans','Inter Display',sans-serif;letter-spacing:-.055em;text-transform:lowercase}
:root[data-theme] body>header :is(.brand,a,button,.edition,.edition i){color:#fff}
:root[data-theme] #houseMenuButton{background:transparent;color:#fff;border:0;border-radius:0;min-height:44px;min-width:44px;padding:12px}
:root[data-theme] :is(.house-site-menu,.house-menu-head,#roomPanel,#settings,#about){background:var(--instrument-modal);color:var(--fg);border:0;border-radius:0;box-shadow:none}
:root[data-theme] :is(button,select,.edition,.research-shortcut,.house-site-menu nav,.hotspot span){font-family:'Geist Mono',monospace}
:root[data-theme] :is(.tools button,.research-shortcut,.hotspot span){background:transparent;border:0;border-radius:0;color:var(--fg);min-height:44px}
:root[data-theme] body :is(h1,h2,h3){font-family:'Inter Display',sans-serif!important;font-weight:400!important;letter-spacing:-.035em!important}
:root[data-theme] :is(#roomPanel,#settings,#about) p{font:16px/1.7 'Inter Display',sans-serif}
:root[data-theme] .intro h1{letter-spacing:-.045em!important}
:root[data-theme] footer{background:linear-gradient(transparent,var(--bg));border:0}
:root[data-theme] :is(button,a,select):focus-visible{outline:2px solid var(--mint);outline-offset:4px}
:root[data-theme] body>header :is(button,a):focus-visible{outline-color:#97fce4}
@media(max-width:700px){:root[data-theme] body>header{padding:18px 5%}:root[data-theme] .brand{font-size:28px}:root[data-theme] select{font-size:16px}}
/* Scene materials follow the semantic palette directly; never invert the glass. */
:root[data-theme] #scene,:root[data-theme] #fallback{filter:none;mix-blend-mode:normal}
:root[data-theme=light] body:not(.still)>header{background:linear-gradient(#fffd,transparent);color:var(--fg)}
:root[data-theme=light] body:not(.still)>header :is(.brand,a,button,.edition,.edition i){color:var(--fg)}
