/* Standalone /house has no React shell: retain the same three interface palettes. */
:root {
 --bg:#000000;--surface:#000000;--fg:#F4F5F3;--muted:#A8B3AD;--line:rgba(255,255,255,.5);--strong-line:rgba(255,255,255,.65);
 --mint:#97FCE4;--accent-2:#81BFE8;--accent-3:#A493FF;--soft:#101715;--tint:#080E0B;--tint-faint:#000;
 --grid-line:#142019;--on-accent:#000;--positive:#97FCE4;--negative:#FF6B88;
}
:root[data-theme=light] {
 color-scheme:light;--bg:#FFFFFF;--surface:#FFFFFF;--fg:#151827;--muted:#596174;--line:#DCE1EB;--strong-line:#858FA5;
 --mint:#2457FF;--accent-2:#C414C9;--accent-3:#6E3DFF;--soft:#EDF1FF;--tint:#F5F7FF;--tint-faint:#FFFFFF;
 --grid-line:#E5E9F2;--on-accent:#FFF;--positive:#008A82;--negative:#C32652;
 --house-filter:grayscale(1) invert(1);--house-blend:multiply;
}
:root[data-theme=liquid] {
 color-scheme:dark;--bg:#02070E;--surface:#06111F;--fg:#E6F7FF;--muted:#8EAAC4;--line:#23435E;--strong-line:#628BAD;
 --mint:#86EFFF;--accent-2:#729AFF;--accent-3:#BBDFFF;--soft:#10263A;--tint:#081727;--tint-faint:#02070E;
 --grid-line:#173047;--on-accent:#02070E;--positive:#86EFFF;--negative:#FF85AC;
 --house-filter:grayscale(1) sepia(.3) hue-rotate(150deg) saturate(1.6);--house-blend:screen;--art-filter:none;
}
html,body { background:var(--bg); color:var(--fg); }
#scene,#fallback { filter:none; mix-blend-mode:normal; }
header { background:linear-gradient(var(--bg),transparent); }
footer { background:linear-gradient(transparent,var(--bg) 25%); }
button:hover,a:hover { color:var(--fg); }
:is(button,a,select,input):focus-visible { outline-color:var(--fg); }
.tools button,.research-shortcut,.hotspot span { background:color-mix(in srgb,var(--bg) 90%,transparent); border-color:var(--line); color:var(--fg); }
.hotspot { text-shadow:none; }
.hotspot:before { border-color:var(--fg); }
.hotspot:hover:before,.hotspot[aria-pressed=true]:before { background:var(--fg); }
.room-panel,dialog,.house-site-menu,.room-paging,.loading { background:var(--bg); color:var(--fg); border-color:var(--line); }
dialog::backdrop,.house-site-menu::backdrop { background:color-mix(in srgb,var(--bg) 75%,transparent); }
dialog select { background:var(--surface); color:var(--fg); border-color:var(--strong-line); }
:is(.intro p,.eyebrow,.caption,.footnote,.muted,.room-panel p,.destination-heading,.destination-note,.destination-hint,.room-paging span,dialog p,dialog li,.house-menu-head>span,.house-menu-row small,.house-menu-panel small,.house-menu-panel>p,.house-menu-row button,.edition i) { color:var(--muted); }
.room-location { color:var(--muted)!important; }
:is(.destination-title,.destination-arrow,.done,.footnote button) { color:var(--fg); }
:is(nav,.visit,.destinations,.destination,.room-paging,.house-menu-head,.house-menu-row,.house-menu-panel>a,.house-menu-foot) { border-color:var(--line); }
nav button,nav button span { color:var(--muted); }
nav button:hover,nav button[aria-pressed=true],.house-menu-row button[aria-expanded=true] { color:var(--fg); background:var(--soft); }
nav button[aria-pressed=true]:before { background:var(--fg); }
.tools button[aria-pressed=true],.skip { background:var(--fg); color:var(--bg); }
input { accent-color:var(--fg); }
.loader { border-color:var(--line); border-top-color:var(--fg); }
.house-theme { display:flex; align-items:center; gap:12px; margin-left:auto; }
.house-theme>span { color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.house-theme>div { display:flex; gap:4px; }
.house-theme button { width:44px; min-height:44px; justify-content:center; border:1px solid transparent; color:var(--muted); }
.house-theme button[aria-pressed=true] { border-color:var(--strong-line); background:var(--soft); color:var(--fg); }
.house-menu-foot { flex-wrap:wrap; }
nav { scrollbar-color:var(--muted) var(--bg); }

:is(div,section,article,button,a,dialog,input,select){border-radius:0!important}

:root[data-theme=dark] :is(.room-panel,dialog,.house-site-menu,.room-paging,.tools button,.research-shortcut,.hotspot span){border-width:.5px}
