:root{color-scheme:dark;--ink:#eaf1e7;--muted:#b4c8c4;--panel:#102d37ec;--gold:#ebce98;--line:#9dbdb14d}*{box-sizing:border-box}body{margin:0;background:#081d29;color:var(--ink);font:16px/1.55 ui-sans-serif,system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;overflow:hidden}button,a,input,select{font:inherit}button{border:1px solid var(--line);border-radius:30px;min-height:44px;padding:10px 17px;background:#153741bd;color:var(--ink);cursor:pointer;backdrop-filter:blur(8px)}button:hover{background:#356469;transform:translateY(-1px)}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #f2dba4;outline-offset:4px}button:disabled{opacity:.35;cursor:default}.primary,button.active{background:#dec594;color:#1b343b;border-color:#eed6a8}#stage,#spaceStage,#labels,.vignette{position:fixed;inset:0}#stage canvas{width:100%;height:100%;touch-action:none;display:block}#spaceStage{background:#071323}#labels{pointer-events:none}.world-label{position:absolute;left:0;top:0;padding:7px 13px;min-height:40px;font-size:14px;max-width:245px;background:#102a36cb;white-space:normal;pointer-events:auto;border-color:#a8c7bd80;box-shadow:0 4px 14px #0002}.world-label:before{content:'◉';color:#edce93;font-size:12px;margin-right:8px}.world-label.selected{border-color:#edce93;color:#f5e3bf;background:#254951}.world-label:hover{background:#315d62}.vignette{pointer-events:none;background:linear-gradient(0deg,#071821ed 0,transparent 27%,transparent 78%,#06162190 100%)}header{position:fixed;top:22px;left:28px;right:28px;display:flex;justify-content:space-between;align-items:center;gap:20px;pointer-events:none;z-index:5}header button{pointer-events:auto}header nav{display:flex;gap:8px}.brand{border:0;background:none;font-size:32px;display:flex;align-items:center;gap:9px;backdrop-filter:none;padding:0;color:#e7cf9c;line-height:1.1}.brand span{font:20px/1.2 Georgia,serif;letter-spacing:.03em;text-align:left;color:#eff4eb}.brand small{display:block;font:11px/1.5 system-ui;color:var(--muted);letter-spacing:.16em;margin-top:4px}#heading{position:fixed;top:115px;left:4.1%;max-width:470px;pointer-events:none;z-index:2;text-shadow:0 2px 12px #0009}#heading h1{font:500 clamp(25px,2.8vw,43px)/1.35 system-ui;letter-spacing:.02em;margin:10px 0 15px}#heading p{color:#c2d6d1;margin:0}.eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin:0 0 6px}#heading .eyebrow{color:var(--gold)}#hint{font-size:15px;max-width:350px}body.inspecting #heading{max-width:330px}body.inspecting #heading h1{font-size:26px}body:not(.home) #heading{top:103px;max-width:390px}body:not(.home) #hint{font-size:13px}footer{position:fixed;bottom:16px;left:25px;right:25px;z-index:6;pointer-events:none}footer button,footer input,footer #ticks{pointer-events:auto}.tools{display:flex;justify-content:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}.tools button{font-size:14px;padding:8px 17px;min-height:44px;background:#15343cdc}.tools .active{color:#f4d6a1;border-color:#f4d6a1}.bottomline{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:12px;font-size:11px;color:#9db3b1}#provenance{max-width:46%;line-height:1.6}.view-actions{display:flex;gap:5px}.view-actions button{font-size:12px;padding:8px 12px;min-height:42px;background:#102932de}.view-actions button:nth-child(-n+4){font-size:17px;padding:4px 12px}#timeline{width:min(690px,65vw);margin:auto;background:#0d2934ec;border:1px solid #779a8b55;border-radius:18px;padding:12px 23px 9px;backdrop-filter:blur(15px)}.timeline-head{display:flex;justify-content:space-between;color:#cee0d9;font-size:13px}.timeline-head output{color:var(--gold)}#time{width:100%;height:26px;margin:0;accent-color:var(--gold);cursor:ew-resize}#axisNote{font-size:10px;color:#a1b9b4;margin:0;text-align:center}#ticks{display:flex;justify-content:space-between;margin-top:5px}#ticks button{border:none;border-radius:2px;background:none;color:#c0d1c7;font-size:10px;padding:0 4px;min-height:24px}#inspect{position:fixed;right:28px;top:113px;width:min(365px,29vw);max-height:calc(100vh - 355px);overflow-y:auto;border:1px solid #749a8a6b;border-radius:24px;padding:25px 23px;background:var(--panel);backdrop-filter:blur(20px);z-index:7;box-shadow:0 14px 55px #0004}#inspect h2{font-size:23px;line-height:1.45;font-weight:500;margin:8px 0 13px}#inspect p{font-size:14px;margin:10px 0;color:#c7d6cf}#inspect details{font-size:12px;color:#a9bcb4}#inspect details p{font-size:12px}#inspect .eyebrow{font-size:11px;color:var(--gold)}#inspect .close{position:absolute;top:7px;right:7px}.close{min-width:38px;min-height:38px;padding:0;border:0;background:transparent;font-size:23px;float:right}.actions{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.actions button,#next button{font-size:12px;padding:7px 12px;min-height:39px}#next{display:flex;flex-direction:column;gap:7px}#next button{text-align:left;background:none;border-color:#8199894d}.next-label{margin-top:18px!important}#notice{position:fixed;top:82px;left:50%;transform:translateX(-50%);background:#26454bd9;color:#eddbb7;border-radius:18px;padding:7px 20px;max-width:70vw;font-size:13px;pointer-events:none;z-index:20;opacity:0;transition:opacity .2s}#notice.show{opacity:1}dialog{color:var(--ink);background:linear-gradient(135deg,#183e46,#10232e);border:1px solid #71948670;border-radius:26px;max-height:86vh;width:min(860px,93vw);padding:28px;box-shadow:0 30px 160px #0009;overflow:auto}dialog::backdrop{background:#05141cbb;backdrop-filter:blur(8px)}dialog h2{font-size:28px;line-height:1.4;font-weight:500;margin:12px 0 18px}dialog p{color:#c4d6cc;line-height:1.8}.stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stack button{text-align:left;border-radius:16px;min-height:60px}#mapQuestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#mapQuestions button{padding:24px;text-align:left;border-radius:20px;background:linear-gradient(130deg,#275259,#12313b)}#mapQuestions small{display:block;color:#aac0b9}.note{font-size:12px;color:#a6beb5}#evidenceContent{max-height:52vh;overflow:auto}#evidenceContent img{display:block;max-width:100%;max-height:none;margin:auto;background:#12272b;border-radius:10px}#evidenceContent table{border-collapse:collapse;width:100%;font-size:13px}#evidenceContent th,#evidenceContent td{padding:10px;border-bottom:1px solid #52716b;text-align:left}a{color:#ddc493}input[type=file]{max-width:100%;margin:12px 0}select{background:#183b40;color:#eee;padding:8px;border-radius:8px}pre{white-space:pre-wrap;font-size:11px}#stopDialog{width:min(500px,90vw);text-align:center}#stopDialog button{margin:8px}#error{position:fixed;z-index:30;left:50%;top:35%;transform:translateX(-50%);max-width:560px;width:90vw;border:1px solid #d7ab76;background:#342d2af2;padding:28px;border-radius:24px}#error h2{margin:0}#error p{font-size:14px}#error button{margin:5px}#transition{position:fixed;z-index:10;inset:0;display:flex;align-items:center;justify-content:center;background:#071c28a3;backdrop-filter:blur(4px);pointer-events:none}#transition span{color:#e9dbb9;border-bottom:1px solid #c1b48c60;padding:20px;font-size:19px}.file-label{display:block;padding-top:15px}#importPreview{border:1px solid #b19e6a66;padding:17px;border-radius:15px;margin:10px 0}body.fallback #stage,body.fallback #labels{opacity:.15}[hidden]{display:none!important}@media(max-width:900px){header{left:16px;right:16px;top:13px}header nav{gap:4px}header nav button{padding:8px 11px;font-size:12px}.brand span{font-size:17px}.brand small{display:none}#heading{top:85px;left:22px;max-width:300px}body:not(.home) #heading{top:80px;left:22px;max-width:250px}#heading h1{font-size:27px}body.inspecting #heading h1{font-size:20px}#inspect{right:15px;top:86px;width:270px;max-height:calc(100vh - 295px);padding:20px 16px}#inspect h2{font-size:20px}#inspect p{font-size:12px}#hint{font-size:12px}footer{left:12px;right:12px}.bottomline{gap:10px}#provenance{max-width:32%;font-size:9px}.view-actions{flex-wrap:wrap;justify-content:flex-end}.view-actions button{font-size:11px;min-height:38px;padding:6px 9px}#timeline{width:min(600px,75vw)}.world-label{font-size:12px;max-width:185px}}@media(max-width:600px){header nav #atlas{display:none}header nav button{font-size:11px;padding:7px}.brand{font-size:25px}.brand span{font-size:15px}#heading,body:not(.home) #heading{top:78px;max-width:83vw}#heading h1,body:not(.home) #heading h1{font-size:23px}#hint{display:none}#inspect{top:auto;bottom:210px;right:12px;left:12px;width:auto;max-height:37vh;border-radius:18px;padding:15px}#inspect h2{font-size:18px;margin:5px 0}.world-label{font-size:11px;padding:6px 9px;max-width:160px;min-height:38px}#timeline{width:100%;padding:8px 13px}.tools{gap:5px;margin-bottom:6px}.tools button{font-size:12px;padding:6px 11px;min-height:40px}.bottomline{display:block}#provenance{display:block;max-width:100%;font-size:9px;line-height:1.4;margin-bottom:7px}.view-actions{justify-content:center;gap:3px}footer{bottom:7px}.view-actions button{font-size:10px;padding:5px 8px;min-height:36px}.view-actions button:nth-child(-n+4){font-size:16px;padding:2px 10px}dialog{padding:21px}dialog h2{font-size:24px}#mapQuestions,.stack{grid-template-columns:1fr}#notice{top:64px;max-width:90vw;font-size:11px}.actions{margin:9px 0}#inspect .actions button,#next button{min-height:36px}.next-label{display:none}#next{flex-direction:row;flex-wrap:wrap;margin-top:10px}#next button{flex:1}#axisNote{font-size:9px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}button:hover{transform:none}}
