.atlas-widget { --chart-gold:#edc58b; --card-ink:#f3eddf }
.atlas-page { padding-bottom:1.4rem }
.atlas-widget [hidden] { display:none !important }
.atlas-heading { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:.7rem 2.4rem; margin:clamp(1.15rem,2.7vw,2.8rem) 0 clamp(1.4rem,2.6vw,2.45rem) }
.atlas-heading .page-title { font-size:clamp(2.8rem,5.2vw,5.25rem) }
.atlas-heading p { max-width:34rem; margin:0; color:var(--muted); font-size:1.04rem }
.atlas-layout { display:grid; grid-template-columns:minmax(0,2.1fr) minmax(14.6rem,1fr); align-items:start; gap:clamp(1.1rem,2.9vw,2.8rem) }
.atlas-frame { min-width:0; border:1px solid #63736b; border-radius:.25rem; overflow:hidden; background:#17272d }
.atlas-controls { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem 1rem; padding:.65rem clamp(.7rem,1.45vw,1.2rem); border-bottom:1px solid #627368 }
.atlas-tiers,.zoom-tools,.ward-index { display:flex; align-items:center; flex-wrap:wrap; gap:.25rem }
.atlas-tiers>span { margin-right:.4rem; color:var(--muted); font-size:.89rem }
.tier-link,.zoom-tools button,.ward-index a { display:inline-flex; justify-content:center; align-items:center; min-height:2.6rem; border:1px solid transparent; border-radius:.2rem; padding:.45rem .7rem; text-decoration:none; color:var(--ink); font-weight:600; font-size:.94rem }
.tier-link[aria-current],.tier-link:hover,.tier-link:focus-visible { color:#19262a; background:var(--chart-gold) }
.zoom-tools { flex-wrap:nowrap; gap:.2rem }
.zoom-tools button { min-width:2.45rem; min-height:2.45rem; padding:.1rem; border-color:#596d6d; background:#1d3035; font-size:1.3rem; cursor:pointer; line-height:1 }
.zoom-tools button:hover { border-color:var(--chart-gold) }
.zoom-tools button:disabled { opacity:.43; cursor:default }
.zoom-tools output { min-width:3.2rem; text-align:center; color:var(--muted); font-size:.9rem; font-variant-numeric:tabular-nums }
.atlas-viewport { position:relative; width:100%; aspect-ratio:1400 / 950; overflow:auto; overscroll-behavior:contain; scrollbar-color:#7b7b5c #16272b; background:#152527 }
.atlas-viewport:focus-visible { outline-offset:-3px }
.atlas-plane { position:relative; width:100%; aspect-ratio:1400 / 950; isolation:isolate; user-select:none }
.atlas-viewport[data-zoom="1"] .atlas-plane { width:150% }
.atlas-viewport[data-zoom="2"] .atlas-plane { width:220% }
.atlas-viewport:not([data-zoom="0"]) { cursor:grab }
.atlas-viewport.dragging { cursor:grabbing }
.atlas-base { position:absolute; inset:0; height:100%; width:100%; object-fit:fill; pointer-events:none }
.map-north,.map-river { position:absolute; pointer-events:none; color:#eee0ad; text-shadow:0 1px 3px #0a1418; user-select:none }
.map-north { right:3%; top:3%; display:grid; justify-items:center; gap:.2rem; font:600 .95rem/1 var(--display) }
.map-north i { width:.9rem; height:1.5rem; background:linear-gradient(90deg,#f1d19c 50%,#698585 50%); clip-path:polygon(50% 0,100% 100%,50% 75%,0 100%) }
.map-river { top:46%; left:5.2%; writing-mode:vertical-rl; transform:rotate(180deg); color:#b4d1c7; font:italic clamp(.85rem,1.4vw,1rem)/1 Georgia,serif; letter-spacing:.07em }
.atlas-directory { padding:0 clamp(.75rem,1.4vw,1.2rem); border-top:1px solid #627368 }
.atlas-directory summary,.atlas-about summary { padding:.7rem 0; font-weight:620; cursor:pointer; width:fit-content }
.atlas-directory summary:hover,.atlas-about summary:hover { color:var(--accent) }
.ward-index { gap:.3rem .55rem; padding-bottom:.8rem }
.ward-index a { min-height:2.25rem; padding:.25rem .5rem; border-color:#536467; font-size:.92rem; font-weight:500 }
.ward-index a[aria-current],.ward-index a:hover { color:var(--accent); border-color:var(--accent) }
.atlas-dossier { min-width:0; border-top:3px solid var(--chart-gold); padding:clamp(1.15rem,2.2vw,1.85rem); background:var(--surface); color:var(--card-ink); scroll-margin-top:1rem }
.place-location { margin:0 0 .75rem; color:var(--chart-gold); font:650 .875rem/1.35 var(--sans) }
.place-card [data-place-title] { margin:0; font:680 clamp(1.75rem,3vw,2.8rem)/1.08 var(--display); letter-spacing:-.035em; overflow-wrap:break-word }
.place-feature { margin:1rem 0 .4rem; font-weight:650 }
.place-description { margin:0; line-height:1.63; color:#d8e1db }
.place-description p { margin:.45rem 0 0 }
.place-links { display:grid; justify-items:start; gap:.45rem; margin-top:1.35rem; border-top:1px solid var(--line); padding-top:1rem }
.atlas-about { margin-top:1.5rem; border-block:1px solid var(--line); color:var(--muted) }
.atlas-about summary { color:var(--ink) }
.atlas-about p { max-width:70ch; margin:.6rem 0 1rem }
@media(max-width:950px) {
  .atlas-layout { grid-template-columns:minmax(0,1.85fr) minmax(13rem,1fr); gap:1rem }
}
@media(max-width:760px) {
  .atlas-layout { grid-template-columns:minmax(0,1fr) }
  .atlas-heading { display:block }
  .atlas-heading p { margin:.7rem 0 0 }
  .atlas-controls { row-gap:.35rem }
  .tier-link { min-height:2.75rem }
  .zoom-tools button { min-width:2.75rem; min-height:2.75rem }
  .atlas-dossier { padding:1.15rem }
}
@media(max-width:520px) {
  .atlas-page { width:min(calc(100% - 1.25rem),82rem) }
  .atlas-page .breadcrumbs,.atlas-heading { margin-inline:.375rem }
  .atlas-controls { padding:.45rem .4rem; gap:.18rem; justify-content:space-between }
  .atlas-tiers,.zoom-tools { gap:0 }
  .atlas-tiers>span { display:none }
  .tier-link { padding:.36rem .46rem; font-size:.9rem }
  .zoom-tools button { font-size:1.15rem }
  .zoom-tools output { min-width:2.65rem; font-size:.84rem }
  .map-north { font-size:.8rem }
  .map-north i { width:.65rem; height:1.05rem }
}
.map-stage { position:relative; isolation:isolate }
.atlas-geometry,.map-lettering { position:absolute; inset:0; width:100%; height:100% }
.map-lettering { pointer-events:none; color:#fff3d1; font:650 clamp(.87rem,1.25vw,1.15rem)/1.1 var(--display); text-shadow:0 1px 2px #061017,1px 0 3px #0b1719,-1px 0 3px #091517; letter-spacing:.015em }
.map-lettering .ward-label { position:absolute; transform:translate(-50%,-50%); padding:.17em .5em .21em; white-space:nowrap; border-radius:.13em; background:#102326d9; outline:1px solid #a8a38876; box-shadow:0 1px 5px #112022a8 }
.letter-dura { left:31.5%; top:44% }
.letter-north { left:55.5%; top:23.5% }
.letter-central { left:55.5%; top:41.1% }
.letter-menthis { left:54.5%; top:77.8% }
.letter-tavick { left:80.5%; top:48% }
.ward-hit,.tower-hit,.city-roofs use { cursor:pointer; outline:none }
.ward-hit use { fill:transparent; stroke:transparent; stroke-width:1.7; vector-effect:non-scaling-stroke }
.ward-hit[aria-current] use { fill:#e6bd7020; stroke:#e4bd7cd1 }
.ward-hit.is-hovered use,.ward-hit:focus-visible use { fill:#f4d58636; stroke:#ffe3a5; stroke-width:2.5; stroke-linejoin:round }
.city-roofs use { fill:transparent; stroke:transparent }
.city-roofs use.is-hovered,.city-roofs use.is-selected { fill:#ffe6a3b8; stroke:#ffeac0; stroke-width:.22; paint-order:stroke fill }
.tower-hit .tower-footprint { fill:#f4c77529; stroke:#e7c68c99; vector-effect:non-scaling-stroke; stroke-width:1.3; stroke-linejoin:round }
.tower-hit .pin-target { fill:transparent; stroke:transparent; stroke-width:13px; vector-effect:non-scaling-stroke }
.tower-hit svg { overflow:visible; pointer-events:none }
.tower-hit .pin-face,.tower-hit .pin-icon { transform:scale(1.18) }
.pin-face { fill:#192d31; stroke:#ffe3a4; stroke-width:1.25; filter:drop-shadow(0 1px .9px #051415) }
.pin-icon { fill:none; stroke:#ffe3a4; stroke-width:1.1; stroke-linejoin:round; stroke-linecap:round }
.station-hit .pin-face { fill:#ebba76; stroke:#1b2928; stroke-width:1.2 }
.station-hit .pin-icon { stroke:#18292a; stroke-width:1.05 }
.tower-hit.is-hovered .tower-footprint,.tower-hit:focus-visible .tower-footprint,.tower-hit[aria-current] .tower-footprint { fill:#ffd27f69; stroke:#ffe9b4; stroke-width:2 }
.tower-hit[aria-current] .pin-face,.tower-hit.is-hovered .pin-face,.tower-hit:focus-visible .pin-face { fill:#ffdaa0; stroke:#1a282b }
.tower-hit[aria-current] .pin-icon,.tower-hit.is-hovered .pin-icon,.tower-hit:focus-visible .pin-icon { stroke:#18292b }
.atlas-viewport.dragging,.atlas-viewport.dragging * { cursor:grabbing }
.atlas-popover { pointer-events:none; position:absolute; z-index:3; width:max-content; max-width:min(18.8rem,calc(100% - 14px)); padding:.7rem .88rem .77rem; border:1px solid #bba67e; border-left:3px solid #f0c98a; border-radius:.22rem; background:#102429; color:#f6f0e2; box-shadow:0 5px 24px #07111485 }
.hint-meta,.hint-title { display:block }
.hint-meta { color:#e6c388; font:570 .81rem/1.24 var(--sans) }
.hint-title { margin:.2rem 0 .26rem; font:640 1.1rem/1.18 var(--display); overflow-wrap:anywhere }
.hint-copy { margin:0; color:#e1e7dd; font:420 .94rem/1.4 var(--sans) }
.atlas-popover[data-pinned] { pointer-events:auto; padding-right:2.55rem }
.hint-close { position:absolute; top:.1rem; right:.1rem; padding:.15rem .5rem; min-width:2.1rem; min-height:2.1rem; border:0; background:transparent; color:#edd19b; font-size:1.4rem; line-height:1; cursor:pointer }
.map-key { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem 1.2rem; padding:.6rem clamp(.75rem,1.45vw,1.2rem); border-top:1px solid #627368; color:#d4ddd5; font-size:.88rem }
.map-key span { display:inline-flex; align-items:center; gap:.42rem }
.map-key i { display:inline-block; flex:none }
.key-ward { width:1.05rem; height:.7rem; transform:skew(-18deg); border:1px solid #c0b28c; background:#8b98764f }
.key-tower { width:.84rem; height:.84rem; border:2px solid #edce90; border-radius:50%; background:#182c30 }
.key-season { width:.64rem; height:.64rem; transform:rotate(45deg); background:#edbf80 }
.home-atlas { scroll-margin-top:.7rem }
@media(max-width:760px) {
  .tower-hit .pin-face,.tower-hit .pin-icon { transform:scale(1.4) }
  .hint-close { min-width:2.75rem; min-height:2.75rem }
  .atlas-popover[data-pinned] { padding-right:3rem }
}
@media(max-width:520px) {
  .map-lettering { font-size:clamp(.68rem,2.8vw,.87rem); letter-spacing:0 }
  .map-lettering .ward-label { padding:.11em .25em .16em }
  .letter-central { top:39.6% }
  .tower-hit .pin-face,.tower-hit .pin-icon { transform:scale(1.92) }
  .tower-hit .pin-target { stroke-width:17px }
  .map-key { gap:.45rem .85rem; font-size:.84rem }
  .atlas-popover { max-width:min(18rem,calc(100% - 14px)); padding:.47rem .63rem .56rem }
  .hint-title { font-size:1rem }
  .hint-copy { font-size:.88rem; line-height:1.32 }
}

.map-lettering .ward-label { color:inherit; text-decoration:none; pointer-events:auto; cursor:pointer }
.map-lettering .ward-label.is-hovered,.map-lettering .ward-label[aria-current] { color:#fff5d6; outline-color:#ffdd9e; background:#293833 }
.home-atlas:focus { outline:none }
.home-atlas:focus-visible .section-heading h2 { text-decoration:underline; text-decoration-color:#987d54; text-decoration-thickness:2px; text-underline-offset:.17em }

.skyway-tier { position:relative; margin-left:.32rem; border-color:#919b8d; border-radius:1.4rem; }
.skyway-sheet { position:absolute; z-index:1; top:0; left:50%; height:100%; width:auto; aspect-ratio:400 / 467; transform:translateX(-50%); max-width:100%; background:#343d39 }
.skyway-map { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none }
.skyway-hit { position:absolute; inset:0; clip-path:polygon(49% 34%,61% 36%,70% 42%,65% 53%,66% 62%,69% 73%,62% 80%,42% 78%,36% 73%,34% 62%,38% 50%); cursor:pointer }
.skyway-hit:is(:hover,:focus-visible,.is-hovered) { background:#fff5b82a; box-shadow:inset 0 0 0 5px #ffe4a6 }
.skyway-map-caption { display:grid; grid-template-columns:minmax(0,1fr); gap:.1rem; padding:.75rem 1.05rem; border-top:1px solid #627368; color:var(--muted); font-size:.88rem; line-height:1.45 }
.skyway-map-caption strong { display:flex; align-items:center; gap:.6rem; color:var(--ink); font-size:1rem }
.skyway-map-caption i { width:1rem; height:.75rem; flex:none; border:1px solid #ecc77b; background:#ce9649 }
.skyway-map-caption a { width:fit-content; text-underline-offset:.18em }
.atlas-widget[data-atlas-level="skyway"] :is(.atlas-base,.atlas-geometry,.map-lettering,.map-river,.map-north,.map-key) { display:none }
.atlas-widget[data-atlas-level="skyway"] .atlas-frame { background:#1f3235 }
.atlas-widget[data-atlas-level="skyway"] .atlas-viewport { background:#203437 }
.atlas-widget[data-atlas-level="skyway"] .atlas-plane { background:radial-gradient(ellipse at center,#52605b,#1c3236 80%); }
.skyway-addresses { margin:1.15rem 0; border-block:1px solid var(--line) }
.skyway-addresses summary { padding:.65rem 0; font-weight:600; cursor:pointer }
.skyway-addresses dl { margin:.15rem 0 1rem; color:var(--muted) }
.skyway-addresses dt { margin:.7rem 0 .15rem; font-weight:650; color:var(--ink) }
.skyway-addresses dd { margin:0 }
.skyway-coach { margin:1rem 0 0; max-width:27rem }
.skyway-coach img { display:block; width:100%; height:auto; border-radius:.15rem }
.skyway-coach figcaption { margin-top:.45rem; color:var(--muted); font-size:.88rem; line-height:1.45 }
@media(min-width:761px) {
  .atlas-widget[data-atlas-level="skyway"] .atlas-layout { grid-template-columns:minmax(0,1.25fr) minmax(15rem,1fr) }
  .atlas-widget[data-atlas-level="skyway"] :is(.atlas-plane,.atlas-viewport) { aspect-ratio:1.25 }
}
@media(max-width:760px) {
  .atlas-widget[data-atlas-level="skyway"] :is(.atlas-plane,.atlas-viewport) { aspect-ratio:1.14 }
}
