*{box-sizing:border-box}body{margin:0;background:#f4f5f3;color:#262a2a;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}header,main,footer{width:min(1360px,calc(100% - 80px));margin:auto}header{height:100px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:23px;letter-spacing:-1px;font-weight:650}.back{font-size:13px;color:#727975}.heading{display:flex;align-items:end;justify-content:space-between;margin:42px 0 30px}.eyebrow{font-size:10px;letter-spacing:3px;color:#7e8781;margin:0 0 13px}h1{font-size:42px;letter-spacing:-2px;font-weight:500;margin:0}h1 span{font-size:14px;letter-spacing:0;margin-left:18px;color:#7e8781}.note{font-size:12px;color:#828984;margin-bottom:7px}.atlas{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px}.map{position:relative;min-width:0;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 8px 40px #24302a04}.map-inner{position:relative;aspect-ratio:1000/720;overflow:hidden;background:radial-gradient(ellipse at 45% 40%,#fff,#fafbf9)}.map-inner img,.map-inner svg{position:absolute;width:100%;height:100%;inset:0}.marker{fill:#7c8e83;stroke:#fff;stroke-width:2.4;cursor:pointer;outline:none;transition:fill .2s,stroke-width .2s}.marker:hover,.marker:focus-visible,.marker.selected{fill:#353f39;stroke:#c6d4b8;stroke-width:6}.marker.is-hidden{display:none}.map-caption{display:flex;align-items:center;gap:10px;padding:22px 28px;font-size:13px;min-height:68px;background:#fff}.dot{width:6px;height:6px;border-radius:50%;background:#708578}#reset{margin-left:auto;border:0;background:#f4f6f2;border-radius:16px;padding:8px 12px;color:#6e776e;font-size:11px}.attribution{position:absolute;bottom:76px;left:22px;font-size:9px;color:#a2a9a2}.directory{background:#fff;border-radius:28px;padding:26px 20px;display:flex;flex-direction:column;min-height:0;max-height:740px}.directory label{font-size:16px;margin-bottom:18px}input{background:#f5f6f3;border:0;border-radius:12px;padding:12px 14px;width:100%;outline-offset:3px;font-size:13px;color:#303630}.filters{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.filters button{font-size:11px;border:0;background:#f5f6f3;border-radius:20px;padding:7px 11px;color:#8a928b}.filters button[aria-pressed=true]{background:#e7ece3;color:#354536}#load-status{font-size:12px;color:#8a928b;margin:0 0 8px}ul{list-style:none;padding:0;margin:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#e2e5df transparent;min-height:150px;max-height:440px}li button{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;border-radius:10px;padding:13px 10px;color:#454d46;text-align:left;font-size:13px}li button span{font-size:10px;color:#a1a7a1;margin-left:10px;flex-shrink:0}li button:hover,li button[aria-pressed=true]{background:#f1f4ed;color:#283c2c}footer{padding:30px 0;font-size:10px;color:#a1a7a0}:focus-visible{outline:2px solid #7b8d79;outline-offset:4px}@media(min-width:1500px){main{margin-top:3vh}.directory{max-height:770px}ul{max-height:500px}}@media(max-width:850px){header,main,footer{width:calc(100% - 40px)}header{height:78px}.heading{margin-top:24px}.atlas{grid-template-columns:1fr}.directory{max-height:400px}.note{max-width:130px;line-height:1.7}h1{font-size:34px}ul{max-height:230px}.directory{padding:22px}.map-caption{padding:18px}.attribution{bottom:68px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Interactive globe: render on demand, no continuous animation. */
.map-inner{background:radial-gradient(ellipse at 50% 42%,#f8faf7,#fff 75%)}#globe{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-5px}#globe.dragging{cursor:grabbing}.globe-hint{position:absolute;left:28px;bottom:12px;color:#929e95;font-size:11px;pointer-events:none}.globe-tools{position:absolute;right:24px;bottom:24px;display:flex;gap:6px}.globe-tools button{height:34px;min-width:34px;border:0;border-radius:12px;background:#edf1ec;color:#617265;font-size:16px}.globe-tools button:last-child{font-size:11px;padding:0 12px}.globe-marker{cursor:pointer;outline:none}.marker-hit{fill:transparent;r:15}.globe-marker .marker{fill:#6e8876;stroke:#fff;stroke-width:1.8;transition:none}.globe-marker.selected .marker,.globe-marker:focus-visible .marker{fill:#344e3e;stroke:#c0cfad;stroke-width:6}.attribution{bottom:74px}.map-inner svg{overflow:hidden}@media(max-width:850px){.map-inner{aspect-ratio:1}.globe-hint{left:18px;bottom:10px;font-size:10px}.globe-tools{right:16px;bottom:20px}.globe-tools button{min-width:32px;height:32px}.marker-hit{r:23}.attribution{bottom:70px}}

.globe-borders{pointer-events:none;fill:none;stroke-linejoin:round;stroke-linecap:round}#country-borders{stroke:#7f9487;stroke-width:.85;stroke-opacity:.8;vector-effect:non-scaling-stroke}#province-borders{stroke:#96a99c;stroke-width:.55;stroke-opacity:.75;vector-effect:non-scaling-stroke}

/* Night globe, white directory. Static stars and gradient atmosphere avoid filters. */
.map{background:#060d1c;box-shadow:0 18px 50px #07172b16}.map-inner{background:radial-gradient(ellipse at 44% 40%,#122943 0%,#091526 48%,#050b18 85%)}.map-caption{background:#070f20;color:#bdcce0}.map-caption .dot{background:#f2c878;box-shadow:0 0 10px #e7b45f66}#reset{background:#15243a;color:#adc0d8}.globe-hint{color:#8ba0bc}.globe-tools button{background:#14273e;color:#bbd0e5}.globe-tools button:hover{background:#203c59}.globe-tools button:disabled{opacity:.35}.attribution{color:#667d9b}#country-borders{stroke:#7f9ebb;stroke-opacity:.6}#province-borders{stroke:#6688a7;stroke-opacity:.5}.globe-marker .marker{fill:#f4cc83;stroke:#523f25;stroke-width:.9}.globe-marker.selected .marker,.globe-marker:focus-visible .marker{fill:#fff0be;stroke:#e9b75c;stroke-width:2}.city-halo{fill:url(#city-glow);pointer-events:none}.city-ring{fill:none;stroke:#ffd18b;stroke-width:1;opacity:0;pointer-events:none;transform-box:fill-box;transform-origin:center}.globe-marker.selected .city-ring{opacity:.75;animation:cityPulse 1.7s ease-out 2}.globe-location{position:absolute;top:30px;left:30px;pointer-events:none;display:flex;flex-direction:column;gap:8px}.globe-location[hidden]{display:none}.globe-location span{font-size:11px;color:#adbbcf;letter-spacing:2px}.globe-location strong{font-size:26px;color:#f2e7d0;font-weight:500;letter-spacing:-.5px;max-width:360px}.stars{pointer-events:none}@keyframes cityPulse{from{r:8;opacity:.85}to{r:23;opacity:0}}@media(max-width:850px){.globe-location{top:20px;left:20px;gap:5px}.globe-location strong{font-size:20px;max-width:260px}.globe-location span{font-size:10px}.globe-hint{max-width:170px;font-size:9px}}@media(prefers-reduced-motion:reduce){.globe-marker.selected .city-ring{animation:none}}

.city-guide{background:#f5f6f3;border-radius:14px;padding:17px;margin:8px 0 18px;flex-shrink:0}.city-guide[hidden]{display:none}.guide-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.guide-heading h2{font-size:16px;letter-spacing:-.3px;font-weight:550;margin:0}.guide-heading button{border:0;background:none;color:#8e968e;font-size:22px;padding:0 2px;line-height:1}#city-guide-text{font-size:12px;line-height:1.9;color:#727c73;margin:12px 0;max-height:180px;overflow:auto;white-space:pre-line}#city-guide-source,#city-guide-retry{font-size:11px;color:#677d68}#city-guide-retry{border:0;padding:0;background:none}.guide-credit{font-size:9px;color:#9ba39a;margin:10px 0 0;line-height:1.6}.guide-credit a{text-decoration:underline}.directory{overflow:auto}#city-list{flex:1;flex-shrink:0;min-height:160px}.directory:has(.city-guide:not([hidden])) #city-list{min-height:120px}@media(max-width:850px){.directory{max-height:none}#city-list{max-height:230px}.city-guide{margin-bottom:16px}#city-guide-text{max-height:190px}}

/* Unified with the light homepage surfaces. */
body{background:#f1f1f6;color:#292a32}.map{background:#fff;box-shadow:0 8px 28px #55556a12}.map-inner{background:radial-gradient(ellipse at 45% 40%,#f8f8fc,#ededf5 80%)}.stars{display:none}.map-caption{background:#fff;color:#737587}.map-caption .dot{background:#a18abd;box-shadow:0 0 8px #b4a2cd40}#reset{background:#f1eff7;color:#8b7ca7}.globe-tools button{background:#ffffffde;color:#837398;box-shadow:0 3px 12px #77718b0d}.globe-tools button:hover{background:#eee9f7}#country-borders{stroke:#929bb1;stroke-opacity:.7}#province-borders{stroke:#a1aac0;stroke-opacity:.65}.globe-marker .marker{fill:#a38bc3;stroke:#f9f7fd;stroke-width:1.4}.globe-marker.selected .marker,.globe-marker:focus-visible .marker{fill:#796195;stroke:#dacde9;stroke-width:3}.city-ring{stroke:#a18bbf}.globe-location span{color:#9494a7}.globe-location strong{color:#5c536d}.directory{background:#fff;box-shadow:0 8px 28px #55556a08}input{background:#f3f2f8;color:#656174}.filters button{background:#f4f3f8;color:#9b96a8}.filters button[aria-pressed=true]{background:#eae4f3;color:#89769f}li button{color:#696373}li button:hover,li button[aria-pressed=true]{background:#f1edf7;color:#7c6796}.city-guide{background:#f4f1f8}#city-guide-text{color:#80798b}#city-guide-source,#city-guide-retry{color:#9480ad}.guide-credit{color:#a8a0b4}.dot{background:#a18abd}

/* Pointer focus must not draw the browser's black SVG outline. */
#globe:focus:not(:focus-visible){outline:none}
#globe:focus-visible{outline:2px solid #b8a7cd;outline-offset:-4px;border-radius:28px}

/* Selected city label follows its projected point. */
#city-callout{pointer-events:none}#city-leader{fill:none;stroke:#9a86b5;stroke-width:1.2;stroke-dasharray:4 4;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}#city-label-bg{fill:#ffffffed;stroke:#e3dcea;stroke-width:1;vector-effect:non-scaling-stroke}#city-label-text{fill:#78618f;font-family:inherit;font-weight:500;letter-spacing:.2px}
