:root{color-scheme:light;--bg:#f6f3eb;--ink:#292c29;--muted:#666c66;--line:#dcd8ce;--accent:#826237;--panel:#fffcf5;font-family:system-ui,-apple-system,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0}.map-theme{color-scheme:dark;--bg:#111a1d;--ink:#eeeade;--muted:#b3bdb8;--line:#344348;--accent:#d6b779;--panel:#1b292d}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button,input{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:28px;padding:25px 5vw;display:flex}.brand{letter-spacing:3px;white-space:nowrap;align-items:center;gap:12px;font-size:23px;font-weight:650;display:flex}.brand-mark{color:var(--accent);font-size:32px}.brand small{letter-spacing:2px;margin-top:5px;font-size:9px;display:block}.header nav,.account{gap:24px;font-size:14px;display:flex}.account{color:var(--muted);gap:16px;font-size:12px}nav a[aria-current]{color:var(--accent);border-bottom:2px solid var(--accent);padding-bottom:8px}.intro{max-width:1100px;padding:56px 6vw 28px}.eyebrow{letter-spacing:3px;color:var(--accent);font-size:11px}h1{margin:14px 0;font-family:Georgia,Songti SC,serif;font-size:clamp(34px,5vw,58px);font-weight:500}p{line-height:1.8}.intro>p:last-child{color:var(--muted)}.workspace{margin:0 6vw 60px}.toolbar{background:var(--panel);border:1px solid var(--line);border-radius:8px;align-items:end;gap:20px;padding:22px;display:flex}.toolbar label span{color:var(--muted);margin-bottom:8px;font-size:12px;display:block}.search-label{flex:1}input{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:4px;width:100%;padding:12px}button{color:var(--bg);background:var(--accent);border:0;border-radius:4px;padding:12px 20px}button:disabled{opacity:.5}#status{color:var(--muted);font-size:13px}#atlas{border:1px solid var(--line);background:#1d3035;border-radius:8px;height:52vh;min-height:320px}.cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin-top:28px;display:grid}.card{background:var(--panel);border:1px solid var(--line);padding:28px}.card small{color:var(--accent)}.card h2{font-family:Georgia,Songti SC,serif;font-size:25px}.card p{color:var(--muted)}footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding:24px 6vw;font-size:12px;display:flex}.skip{background:var(--panel);z-index:1000;padding:16px;position:absolute;top:-100px}.skip:focus{top:0}@media (width<=800px){.header{flex-wrap:wrap;gap:20px;padding:20px}.header nav{order:3;justify-content:space-between;gap:10px;width:100%}.brand{font-size:19px}.account{margin-left:auto}.intro{padding-top:32px}.toolbar{flex-wrap:wrap;gap:12px;padding:16px}.search-label{flex-basis:100%}.toolbar label:not(.search-label){flex:1}.workspace{margin:0 20px 40px}.cards{grid-template-columns:1fr}}.brand-mark{filter:drop-shadow(0 0 7px #d6b779b8);flex:0 0 18px;width:18px;height:28px;font-size:0;position:relative}.brand-mark:before,.brand-mark:after{content:"";background:var(--accent);border-radius:1px;position:absolute}.brand-mark:before{width:3px;height:28px;top:0;left:7px}.brand-mark:after{width:18px;height:3px;top:8px;left:0}.map-theme{background:#090d11;min-height:100vh;overflow:hidden}.map-theme:before{content:"";z-index:470;background:#05090de0;border-right:1px solid #d6b77933;width:430px;transition:transform .32s;position:fixed;top:72px;bottom:0;left:0}.map-theme .header{z-index:700;backdrop-filter:blur(3px);background:linear-gradient(#05080cf0,#05080c94 68%,#0000);border:0;padding:18px 28px;position:fixed;top:0;left:0;right:0}.map-theme main{height:100vh}.map-theme .map-intro{z-index:500;backdrop-filter:blur(18px)saturate(145%);background:#0c1218c7;border:1px solid #d6b77947;border-radius:14px;width:min(390px,100vw - 56px);padding:22px 24px;transition:transform .32s,opacity .2s;position:fixed;top:92px;left:28px;box-shadow:0 18px 48px #0000006b}.map-theme .map-intro h1{margin:8px 0;font-size:clamp(30px,4vw,48px)}.map-theme .map-intro p{margin:0}.map-theme .map-workspace{height:100vh;margin:0;position:relative}.map-theme #atlas{border:0;border-left:1px solid #d6b77938;border-radius:0;width:auto;height:auto;min-height:0;transition:left .32s;position:absolute;inset:72px 0 0 430px}.map-theme .leaflet-tile-pane{filter:grayscale(.82)sepia(.28)brightness(.62)contrast(1.15)}.map-theme .leaflet-control-zoom{box-shadow:none;border:1px solid #d6b77959;margin-top:94px}.map-theme .leaflet-control-zoom a{color:#ead39b;background:#0c1218db;border-color:#d6b7793d}.map-theme .toolbar{z-index:510;backdrop-filter:blur(18px);background:#0c1218c7;border-color:#d6b77947;border-radius:14px;width:min(390px,100vw - 56px);padding:14px;transition:transform .32s,opacity .2s;position:fixed;top:292px;left:28px}.map-theme .toolbar button{padding-inline:14px}.map-theme #status{z-index:510;color:#ead39b;backdrop-filter:blur(12px);background:#0c1218c7;border:1px solid #d6b7793d;border-radius:999px;margin:0;padding:5px 10px;transition:transform .32s,opacity .2s;position:fixed;bottom:calc(min(34vh,330px) + 36px);left:52px}.map-theme .map-results{z-index:500;backdrop-filter:blur(18px);background:#0c1218b8;border:1px solid #d6b7793d;border-radius:14px;width:min(390px,100vw - 56px);max-height:min(34vh,330px);margin:0;transition:transform .32s,opacity .2s;display:block;position:fixed;bottom:24px;left:28px;overflow:auto;box-shadow:0 18px 48px #0006}.map-theme .map-results .card{background:0 0;border:0;border-bottom:1px solid #d6b77924;padding:16px 20px}.map-theme .map-results .card:last-child{border-bottom:0}.map-theme .map-results .card h2{margin:7px 0;font-size:18px}.map-theme .map-results .card p{margin:4px 0;font-size:13px}.map-theme .map-results .card p:nth-of-type(2){display:none}.map-theme .map-results .card a{color:#ead39b;margin-top:6px;font-size:12px;display:inline-block}.map-theme footer{display:none}.map-theme .leaflet-top,.map-theme .leaflet-bottom{z-index:450}#map-drawer-toggle{z-index:540;color:#f5d78e;background:#0c1218eb;border:1px solid #d6b77966;border-radius:0 14px 14px 0;width:42px;height:64px;padding:0;font-size:30px;line-height:1;transition:left .32s;position:fixed;top:50%;left:402px;transform:translateY(-50%);box-shadow:8px 0 24px #0000004d}.map-theme.map-drawer-closed:before,.map-theme.map-drawer-closed .map-intro,.map-theme.map-drawer-closed .toolbar,.map-theme.map-drawer-closed #status,.map-theme.map-drawer-closed .map-results{opacity:0;transform:translate(-430px)}.map-theme.map-drawer-closed #atlas,.map-theme.map-drawer-closed #map-drawer-toggle{left:0}.atlas-marker{background:0 0;border:0}.atlas-pulse{width:44px;height:44px;transition:opacity .6s,transform .6s;display:block;position:relative}.atlas-pulse>i{border:1px solid #f5d78ebf;border-radius:50%;animation:2.6s ease-out infinite atlas-ripple;position:absolute;inset:0}.atlas-pulse>i:nth-child(2){animation-delay:1.3s}.atlas-pulse.approximate{opacity:.72}.atlas-cross{filter:drop-shadow(0 0 8px #f5d78ef2);width:20px;height:32px;animation:1.1s cubic-bezier(.175,.885,.32,1.275) atlas-born;display:block;position:absolute;top:6px;left:12px}.atlas-cross:before,.atlas-cross:after{content:"";background:linear-gradient(#f5d78e,#b98b45);border-radius:2px;position:absolute}.atlas-cross:before{width:4px;height:32px;left:8px}.atlas-cross:after{width:20px;height:4px;top:9px;left:0}@keyframes atlas-ripple{0%{opacity:.9;transform:scale(.25)}to{opacity:0;transform:scale(1.7)}}@keyframes atlas-born{0%{transform:scale(.2)}55%{transform:scale(1.55)}to{transform:scale(1)}}.country-boundary{stroke-dasharray:7 9;transition:stroke-width .25s,fill-opacity .25s,stroke-opacity .25s;animation:18s linear infinite country-flow}@keyframes country-flow{to{stroke-dashoffset:-320px}}#timeline-toggle{z-index:520;color:#ead39b;backdrop-filter:blur(14px);background:#0c1218db;border:1px solid #d6b7795c;border-radius:999px;position:fixed;bottom:24px;right:22px;box-shadow:0 8px 28px #00000059}#timeline{z-index:650;color:#eeeade;backdrop-filter:blur(22px);background:#0c1218eb;border:1px solid #d6b7794d;border-bottom:0;border-radius:18px 18px 0 0;width:min(920px,100vw);padding:14px 18px 18px;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -12px 40px #0009}#timeline[hidden]{display:none}.timeline-head,.timeline-track{align-items:center;gap:12px;display:flex}.timeline-head{justify-content:space-between}.timeline-head p{text-align:center;margin:0;display:grid}.timeline-head strong{color:#f5d78e;font-size:20px}.timeline-head span{color:#b3bdb8;font-size:11px}.timeline-head button{border-radius:50%;width:34px;height:34px;padding:0}.timeline-head #timeline-close{color:#eeeade;background:0 0}.timeline-track input{accent-color:#d6b779;flex:1;padding:0}.timeline-track>span{color:#b3bdb8;font-size:10px}.timeline-eras{gap:6px;margin-top:10px;display:flex;overflow-x:auto}.timeline-eras button{white-space:nowrap;color:#b3bdb8;background:#ffffff0d;border:1px solid #d6b77933;border-radius:999px;padding:4px 9px;font-size:10px}.timeline-eras button.active{color:#111;background:#d6b779}@media (prefers-reduced-motion:reduce){.atlas-pulse>i,.atlas-cross,.country-boundary{animation:none}.map-theme:before,.map-theme .map-intro,.map-theme .toolbar,.map-theme #status,.map-theme .map-results,.map-theme #atlas,#map-drawer-toggle{transition:none}}@media (width<=800px){.map-theme{overflow:auto}.map-theme .header{padding:14px 16px}.map-theme .header nav{display:none}.map-theme main{height:auto;padding-top:65px}.map-theme .map-intro{width:auto;box-shadow:none;border-width:0 0 1px;border-radius:0;margin:0;padding:18px 20px;position:relative;top:auto;left:auto}.map-theme .map-intro h1{font-size:28px}.map-theme .map-intro p:last-child{font-size:13px}.map-theme .map-workspace{flex-direction:column;height:auto;display:flex}.map-theme #atlas{border:0;border-bottom:1px solid #d6b77938;order:0;width:100%;height:66vh;min-height:460px;position:relative;inset:auto}.map-theme .toolbar{order:1;width:auto;margin:14px;padding:14px;position:relative;top:auto;left:auto}.map-theme #status{order:2;align-self:flex-start;margin:0 20px 12px;position:relative;top:auto;bottom:auto;left:auto}.map-theme .map-results{order:3;width:auto;max-height:none;margin:0 14px 14px;position:relative;bottom:auto;left:auto}.map-theme .leaflet-control-zoom{margin-top:10px}#map-drawer-toggle{display:none}#timeline-toggle{position:absolute;top:calc(7px + 66vh);bottom:auto;right:14px}#timeline{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.map-theme footer{display:flex}}
