html,body{height:100%;margin:0;overflow:hidden}
body{display:flex;flex-direction:column;--gutter:clamp(16px,3vw,60px);--starlight:#e2c891}
.atlas-page>.site-header{flex:none}
@media(max-width:699px){
 html:has(.atlas-page){scrollbar-gutter:auto}
 .atlas-page .header-inner{justify-content:center}
 .atlas-page .header-inner>nav{display:none}
}
.symbols{position:absolute;width:0;height:0;overflow:hidden}
#observatory{color:#e2eaf2}
#observatory button{background:transparent;color:inherit;border:0;font:inherit;cursor:pointer}
#observatory button:focus-visible,#viewport:focus-visible{outline:2px solid #f3dba9;outline-offset:2px}
#observatory button:disabled{opacity:.4}
#observatory svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.dock,.dock button,.selection-top{display:flex;align-items:center}
#observatory [hidden]{display:none!important}
.switch{position:relative;width:28px;height:15px;border-radius:20px;border:1px solid #66706b;background:#303b3c}
.switch::before{content:"";position:absolute;top:2px;left:2px;width:9px;height:9px;background:#adb3a8;border-radius:50%;transition:transform .2s}
[aria-pressed=true] .switch{background:#9d885b;border-color:#ac9567}
[aria-pressed=true] .switch::before{transform:translateX(12px);background:#f7eccc}
#observatory{flex:1;min-height:0;position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 46%,#142329 0,#0e191e 37%,#0b1217 72%,#0a1015 100%);overflow:hidden}
#sky,#globe,#mapLabels{position:absolute;inset:0;width:100%;height:100%;display:block}
#sky,#mapLabels{pointer-events:none}
#viewport{position:absolute;inset:0;outline:none;touch-action:none;cursor:grab;user-select:none}
#viewport.drag{cursor:grabbing}
#loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#e1d7c2;font-size:14px;text-align:center;padding:10px 16px;background:#0c151be3;border:1px solid #b9a98248;border-radius:4px}
.dock{position:absolute;z-index:1;bottom:16px;left:50%;transform:translateX(-50%);background:#16283df2;border:1px solid #aeb6a633;box-shadow:0 5px 20px #0003;border-radius:6px;height:45px;padding:0 6px;gap:1px;white-space:nowrap}
.dock button{height:35px;min-width:35px;justify-content:center;color:#e1e9f2;border-radius:3px;padding:0 7px}
.dock button:hover{background:#ffffff08}
#playback{color:var(--starlight)}
.time-rate{min-width:4em;font:600 14px var(--sans);color:#ebd9b3;text-align:center;border-right:1px solid var(--line);padding:3px 7px}
#labelsToggle{gap:7px;margin-left:5px;border-left:1px solid var(--line);border-radius:0;font-size:13px;padding:0 9px}
#labelsToggle svg{width:16px}
#mapLabels{overflow:clip}
#mapLabels .map-label-anchor{position:absolute;width:0;height:0;display:grid;place-content:center;pointer-events:none}
#mapLabels .map-label{position:relative;width:max-content;padding:2px 3px;white-space:nowrap;pointer-events:auto;color:#fff;font:600 var(--atlas-label-size,14px)/1.2 Pretendard,"Malgun Gothic",sans-serif;text-shadow:-1px 0 #15202b,1px 0 #15202b,0 -1px #15202b,0 1px #15202b}
#mapLabels .map-label.major-label{font-size:calc(var(--atlas-label-size,14px) + 1px)}
@supports (paint-order:stroke fill){#mapLabels .map-label{paint-order:stroke fill;-webkit-text-stroke:2px #15202b;text-shadow:none}}
#mapLabels .map-label-ink{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#mapLabels .map-label.outlined-name{color:transparent;-webkit-text-stroke:0;text-shadow:none}
@media(forced-colors:active){#mapLabels .map-label-ink{display:none}#mapLabels .map-label.outlined-name{color:ButtonText}}
.map-label:focus-visible{outline:none;opacity:1!important}
.map-label:focus-visible::after{content:"";position:absolute;inset:auto 3px 0;height:1px;background:#fffdf4;box-shadow:0 1px #111820;pointer-events:none}
#selection{position:absolute;left:var(--gutter);bottom:26px;z-index:2;width:clamp(216px,20vw,300px);background:#15263af5;border:1px solid #aebca638;border-left:2px solid #bba275;border-radius:3px;padding:12px 15px}
.selection-top{justify-content:space-between}
#selectedType{font-size:12px;color:var(--starlight)}
#selectedName{display:block;font:700 20px/1.4 var(--story-title);letter-spacing:-.055em;margin-top:2px}
#selectedNote{color:#e0e9f3;font-size:13px;line-height:1.65;margin-top:6px;word-break:keep-all}
#closeSelection{display:grid;place-items:center;color:#a4afaa;padding:3px}
#closeSelection svg{width:15px;height:15px}
@media(min-width:761px) and (max-width:1024px){#selection{bottom:72px}}
@media(max-width:760px){:root{--gutter:16px}#observatory{background:radial-gradient(ellipse at 50% 47%,#20344a,#111d30 74%)}.dock{bottom:15px}#selection{left:14px;bottom:72px;width:min(260px,calc(100% - 28px));padding:8px 12px}#selectedName{font-size:17px}#selectedNote{font-size:12px;line-height:1.45;margin-top:1px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:760px){.dock{gap:0;padding:0 4px}.dock button{min-width:39px;padding:0 5px}#labelsToggle{padding:0 8px}}
