/* The preserved portrait district occupies half of a new 4:3 atlas: exactly 2x area. */
.regional-canvas{position:relative;aspect-ratio:4/3;background:#d5d3a3}
.map-frame .regional-backdrop{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:fill;pointer-events:none}
.town-core{position:absolute;left:25%;top:0;width:50%;height:100%;isolation:isolate}
.town-core>.map-art-link{position:absolute;inset:0;z-index:-1}
.town-core>.map-art-link>img{width:100%;height:100%;object-fit:fill}
.regional-stop{position:absolute;z-index:9;width:3.75%;display:grid;justify-items:center;text-align:center;text-decoration:none;color:#382b20;font:700 clamp(.75rem,1.1vw,.95rem)/1.15 Georgia,serif}
.map-frame .regional-stop img{width:100%;height:auto;filter:drop-shadow(0 3px 3px #44362144);pointer-events:none}
.regional-stop span{max-width:150%;width:max-content;padding:.3em .5em;background:#f9e7bb;border:3px double #735a3e;border-radius:.35rem}
.regional-stop:hover span,.regional-stop:focus-visible span{background:#eff6b6}.regional-stop:focus-visible{outline:3px solid #38492c;outline-offset:4px}
.regional-hairway{left:10.5%;top:48%}.regional-golf{left:84%;top:37%}
.region-label{position:absolute;z-index:3;display:grid;justify-items:center;padding:.45em .8em;border:3px double #806441;border-radius:40% 13% 38% 10%/12% 35% 15% 28%;background:#f8e7badb;color:#3d3825;font:700 clamp(1rem,2.1vw,2.1rem)/1.1 Georgia,serif;box-shadow:0 2px 5px #4f42272b;text-align:center}
.region-label small{font:italic clamp(.7rem,1vw,1rem)/1.5 Georgia,serif;margin-top:.3em}
.region-belair{left:80%;top:13%}.region-perry{left:6%;top:73%}.region-middle{left:80%;top:78%}.region-towson{left:5.5%;top:36%}
.region-tools{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem}.region-tools button{font:700 .95rem Arial,sans-serif;min-height:44px;padding:.7rem 1rem;border:1px solid #817958;background:#faf3df;color:#303b28;cursor:pointer}.region-tools button:hover,.region-tools button[aria-pressed=true]{background:#344732;color:#fff7df}.region-tools button:focus-visible{outline:3px solid #a75536;outline-offset:3px}
/* One continuous dusk layer treats the original district, countryside and icons alike. */
.regional-canvas{isolation:isolate}
.regional-canvas::after{content:"";position:absolute;inset:0;z-index:30;pointer-events:none;background:#0b234b;mix-blend-mode:multiply;opacity:0;transition:opacity 1.4s ease}
.after-dark .regional-canvas::after{opacity:.68}
@media(prefers-reduced-motion:reduce){.regional-canvas::after{transition:none}}
@media(max-width:650px){.regional-stop{font-size:.75rem}.region-label{font-size:1rem}.region-label small{display:none}.region-tools button{padding:.65rem .8rem}.region-belair{left:79%}.region-perry{left:3%}.region-middle{left:77%}.region-towson{left:3%}}
/* Labels scale with their own district, so the overview never enlarges captions relative to icons. */
.regional-canvas,.town-core{container-type:inline-size}
.regional-stop,.town-core .main-leisure-marker,.town-core .main-five-marker{grid-template-columns:minmax(0,1fr)}
.map-frame .regional-stop img,.map-frame .town-core .main-leisure-marker img,.map-frame .town-core .main-five-marker img{min-width:0;max-width:100%}
.regional-stop{font-size:clamp(.5rem,.625cqw,.95rem)}
.town-core :is(.main-leisure-marker,.main-five-marker,.new-stop-marker,.pay-phone-marker,.citation-map-marker,.warehouse-map-marker,.history-map-marker,.wjz-map-marker),.town-core :is(.main-leisure-marker,.main-five-marker,.new-stop-marker,.pay-phone-marker,.citation-map-marker,.warehouse-map-marker,.history-map-marker,.wjz-map-marker) span,.town-core .resized-shop-caption{font-size:clamp(.45rem,1.25cqw,1.3rem)!important}

/* Requested map-only relocations; preserve each marker’s existing size and artwork. */
.town-core #deep-creek-map-marker{left:-45.6%;top:2.2%;right:auto}
.town-core #the-couch-map-marker{left:106%;top:3%;right:auto}
.town-core #toy-store-map-marker{left:120%;top:3%;right:auto}
.town-core #the-yard-map-marker{left:134%;top:3%;right:auto}
.town-core #sissy-bar-map-marker{left:106%;top:24%;right:auto}
.town-core #dinner-table-map-marker{left:120%;top:24%;right:auto}
.town-core #ktgifly-map-marker{left:134%;top:27%;right:auto}

.regional-rattler{left:13%;top:58%;width:4.75%}

/* Emissive story pins sit above the night tint without blocking other map links. */
.regional-canvas > #after-dark-lights{position:absolute;left:25%;top:0;width:50%;height:100%;z-index:40;pointer-events:none}
.regional-canvas > #after-dark-lights .after-dark-light{pointer-events:auto}
