:root{color-scheme:dark;font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;color:#f0e8d8;background:#171b19;font-size:16px;line-height:1.55;--ink:#f0e8d8;--dim:#b8b4a4;--amber:#e5b66e;--line:#424239;--panel:#242822;--quiet:#b9b6a6}
*{box-sizing:border-box}
body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 50% 0,#2b2c24,#151917 70%);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
button,input,select{font:inherit}
button{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;gap:.5rem;color:inherit;background:#2d3028;border:1px solid #48483c;border-radius:6px;padding:.55rem .85rem;cursor:pointer;line-height:1.3}
button:hover:not(:disabled){background:#393b2f;border-color:#827453}
button:disabled{cursor:default;opacity:.59}
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #ffe1a5;outline-offset:3px}
input,select{max-width:100%;min-height:44px;color:var(--ink);border:1px solid #696653;border-radius:6px;background:#1b211c;padding:.4rem .65rem}
input[type=checkbox]{width:23px;min-height:23px;accent-color:#d3a568}
input[type=range]{padding:0;accent-color:#d3a568}
label{display:block;margin:.28rem 0 .4rem}
h1,h2,h3,p,blockquote{margin:0}
h2{font-size:1.45rem;line-height:1.25}
h3{font-size:1.05rem}
p{margin:.55rem 0 .7rem;overflow-wrap:anywhere}
select{width:100%}
svg{flex:none;vertical-align:middle}
.app{max-width:1590px;margin:auto;padding:0 clamp(12px,4vw,65px)}
.header{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #3d4035;margin-bottom:23px}
.identity,.header-actions,.header-center{display:flex;align-items:center;gap:.7rem}
.identity strong{display:block;font-family:serif;font-size:1.4rem;letter-spacing:.11em;font-weight:800;white-space:nowrap}
.identity small{display:block;font-size:.65rem;letter-spacing:.17em;color:#d2b580;white-space:nowrap}
.logo{width:43px;height:43px;display:grid;place-items:center;border:1px solid #94754a;background:#392f22;border-radius:7px;color:var(--amber)}
.header-center{color:var(--dim);letter-spacing:.11em;font-size:.88rem}
.live-dot,.kicker span{display:inline-block;width:7px;height:7px;border-radius:100%;background:#e0b475;box-shadow:0 0 10px #e1a95270;flex:none}
.header-divider{width:1px;height:16px;background:#69614d;margin:0 3px}
.icon-btn{background:transparent;font-size:.9rem}
.stage-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(265px,25vw,350px);gap:16px;align-items:start}
.scene-column{min-width:0}
.scene{position:relative;isolation:isolate;aspect-ratio:1000/580;min-height:320px;border:1px solid #69604b;border-radius:10px 10px 0 0;overflow:hidden;background:#292c23}
.art,.art svg{position:absolute;inset:0;width:100%;height:100%}
.scene-head{position:absolute;top:15px;left:16px;right:16px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;z-index:3}
.location,.clock{display:flex;gap:.45rem;align-items:center;background:#171b17df;border:1px solid #a08d6558;color:#e9d7b6;border-radius:5px;padding:.45rem .65rem;font-size:.87rem}
.clock{font-variant-numeric:tabular-nums;letter-spacing:.1em}
.hero{position:absolute;inset:auto 0 0;padding:clamp(20px,4.5vw,68px) clamp(19px,4vw,62px);background:linear-gradient(0deg,#121613f5 4%,#1418139c 45%,transparent);text-shadow:0 2px 20px #111;padding-top:95px}
.hero-en{font-size:clamp(.73rem,1.2vw,1rem);letter-spacing:.24em;font-weight:700;color:#e3ba7b}
.hero h1{font-family:serif;font-weight:900;font-size:clamp(2.8rem,7vw,7.4rem);line-height:1.13;letter-spacing:.04em;color:#f4e1b9}
.hero h1 span{color:#d49858}
.hero-sub{display:flex;align-items:center;gap:.75rem;color:#ded1b0;font-size:clamp(.85rem,1.4vw,1.05rem);letter-spacing:.15em;margin-top:10px}
.hero-sub i{width:30px;height:1px;background:#baa16e}
.scene-bottom{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;gap:9px;align-items:center;padding:8px 12px 8px 16px;background:#181c17ed;border-top:1px solid #665e485c;color:#e2d9c3;font-size:.84rem;z-index:3}
.spot-btn{background:transparent;color:#e1bc82;font-size:.83rem;flex:none;padding-inline:.5rem}
.hotspot{position:absolute;top:min(var(--y),calc(100% - 75px));left:var(--x);transform:translate(-50%,-50%);z-index:2;width:44px;height:44px;padding:0;border:1px solid #f4d493;border-radius:50%;background:#201d13e8;box-shadow:0 0 0 4px #dbb36c38;color:#ffe0a4;font-size:1.25rem}
.hotspot.seen{border-color:#9cb198;color:#d4e1c9;background:#263529e8}
.nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#222620;border:1px solid #46483a;border-top:0;border-radius:0 0 9px 9px;overflow:hidden}
.nav-btn{min-width:0;min-height:55px;background:transparent;border:0;border-right:1px solid #434638;border-radius:0;padding:.45rem .3rem;font-size:.9rem;position:relative}
.nav-btn:last-child{border-right:0}
.nav-btn.active{background:#353125;color:#edc385;box-shadow:inset 0 -3px #d7a761}
.sidebar{background:linear-gradient(145deg,#2b2c23,#232720 82%);border:1px solid #504d3d;border-radius:9px;padding:clamp(14px,2vw,27px);min-height:345px}
.kicker{display:flex;align-items:center;gap:.5rem;text-transform:uppercase;letter-spacing:.12em;color:#e0ba80;font-weight:650;font-size:.83rem;margin-bottom:.8rem}
.sidebar h2{font-family:serif;font-size:1.85rem;font-weight:800}
.blurb{font-size:1.12rem;line-height:1.75}
.muted,.quiet-copy{color:var(--dim)}
.quiet-copy{font-size:.87rem}
.rule{height:1px;margin:20px 0;background:#615641}
.wide{width:100%;margin-top:.55rem}
.primary{background:#e1ad65;color:#211c13;font-weight:750;border-color:#e4b671}
.primary:hover:not(:disabled){background:#f4c784;border-color:#ffda9c}
.secondary{background:#292d24}
.quiet{color:#dbcbac;background:transparent;border-color:transparent}
.inline{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;margin:.45rem 0}
.stack{display:grid;gap:7px;margin:.5rem 0}
.smalllabel{font-size:.85rem;color:#d6c6a7;margin-top:.9rem;margin-bottom:.2rem}
.row-btn{width:100%;justify-content:space-between;text-align:left;font-size:.92rem}
.row-btn small{color:#c6b99f;text-align:right;white-space:nowrap}
.row-btn strong,.till-total strong{font-variant-numeric:tabular-nums}
.till-total{display:flex;justify-content:space-between;border-top:1px solid #62563b;margin-top:.7rem;padding-top:.7rem}
.till-total strong{color:var(--amber)}
blockquote{border-left:2px solid #b88d54;padding-left:.75rem;margin:.7rem 0;color:#f0e1c4;min-height:52px}
.chip{font-size:.87rem}
.chosen{border-color:#e7b46c!important;background:#57432b!important;color:#ffdb9a}
.tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding:9px 10px;border:1px solid #3e4237;border-radius:8px;background:#222620}
.tools-group{display:flex;gap:6px}
.tool-btn{background:#282c24;font-size:.92rem;color:#e6dac0}
.tool-btn svg{color:#d9a966}
.autosave{color:var(--dim);font-size:.82rem;text-align:right}
footer{display:flex;justify-content:space-between;gap:10px;color:#aaa795;font-size:.78rem;padding:19px 2px;letter-spacing:.04em}
.status,.fact,.toast{padding:.55rem .7rem;border-left:3px solid #bc9258;background:#393322;color:#eed9aa}
.status{border-color:#8fa582;background:#2d3828;color:#e1e9d5}
.toast{margin:.55rem 0 .1rem}
dialog{color:var(--ink);width:min(calc(100% - 24px),728px);max-height:min(85dvh,830px);padding:0;background:#252a22;border:1px solid #70664d;border-radius:10px;box-shadow:0 24px 70px #0009;overflow:auto;overscroll-behavior:contain}
dialog::backdrop{background:#101412bb}
.dialog-head{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:.58rem 1.05rem;background:#2c3026;border-bottom:1px solid #55513d}
.dialog-body{padding:1rem 1.15rem 1.2rem}
.card{padding:.7rem .8rem;border:1px solid #514b3b;border-radius:7px;background:#20251f;min-width:0}
.card p{margin:.35rem 0}
.evidence-list{margin:1rem 0}
.object-image{position:relative;display:grid;place-items:center;min-height:140px;border-radius:7px;background:radial-gradient(ellipse,#5f5940,#202720 72%);overflow:hidden}
.object-image svg{width:min(100%,280px);max-height:160px;transition:transform .16s}
.object-image.zoom svg{transform:scale(1.32)}
.object-image.lit{background:radial-gradient(ellipse,#897245,#272a21 75%)}
.compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.slot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.settings{border-top:1px solid #514b3b;margin-top:1rem;padding-top:.4rem}
.settings label{display:flex;align-items:center;min-height:44px;gap:10px;width:max-content;max-width:100%}
summary{cursor:pointer;min-height:44px;padding:.5rem 0;color:#e8c58d}
ol{padding-left:1.5rem}
.end-title{font-family:serif;font-size:2.8rem;color:#e9c187}
.observe-art svg{width:100%;height:auto}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.text-enter{animation:reveal .3s ease-out}
@keyframes reveal{from{opacity:.25;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:850px){.header-center{display:none}.stage-layout{grid-template-columns:minmax(0,1fr) 260px}.scene{min-height:305px}.scene-bottom>span{display:none}.scene-bottom{justify-content:flex-end;padding-block:4px}.sidebar{padding:15px}}
@media(max-width:680px){.app{padding-inline:10px}.header{min-height:65px;margin-bottom:12px}.header-actions{gap:5px}.header-actions button{padding-inline:.5rem}.logo{width:38px;height:38px}.stage-layout{grid-template-columns:minmax(0,1fr);gap:10px}.scene{aspect-ratio:1000/630;min-height:225px}.hero{padding:40px 17px 19px}.hero h1{font-size:clamp(2.7rem,10vw,5rem)}.scene-head{top:8px;left:8px;right:8px}.sidebar{min-height:0}.nav-btn{flex-direction:column;gap:.16rem;font-size:.76rem}.nav-btn svg{width:17px;height:17px}.scene-bottom{padding:2px 6px}.spot-btn{font-size:.75rem}.tools{flex-wrap:wrap;padding:6px}.tools-group{gap:4px}.tool-btn{padding-inline:.55rem}.autosave{text-align:left;margin-left:.35rem}.dialog-body{padding:.7rem .85rem 1rem}footer{font-size:.72rem;padding:12px 1px}.compare .card{padding:.4rem}.compare .object-image{min-height:90px}}
@media(max-height:480px) and (min-width:681px){.header{min-height:54px;margin-bottom:9px}.scene{min-height:270px;max-height:73dvh}.hero{padding-block:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.letter{animation:show-letter .01s linear var(--delay) both}
@keyframes show-letter{from{opacity:0}to{opacity:1}}
