.topbar .brand>span{white-space:nowrap}
.topbar #about{display:flex;min-height:36px;padding:5px 9px;border:1px solid #424050;gap:7px}
.topbar #about b{display:block;font:650 10px var(--mono);text-transform:uppercase;letter-spacing:.7px}
.topbar #about i{margin:0}
.edition-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:8px 0 18px}
.edition-links a{border:1px solid #444452;color:#c9c5d2;border-radius:7px;display:flex;align-items:center;gap:10px;padding:12px;text-decoration:none}
.edition-links a[aria-current=page]{background:#253331;border-color:#486e66;color:var(--aqua)}
.edition-links b,.edition-links small{display:block}.edition-links small{margin-top:3px;color:#aba9b8;font-size:10px}
.mobile-install{border-top:1px solid var(--line);margin-top:15px;padding-top:3px}.mobile-install button,.watch-actions button{background:#293b3c;border:1px solid #486d6c;border-radius:5px;padding:8px 12px;color:var(--aqua)}
.checking-online main>*,.launch-watch main>:not(#online-watch),.launch-watch .topbar nav,.checking-online .topbar nav{display:none!important}
#online-watch{width:100%;height:100%;display:grid;place-items:center;padding:20px;overflow:auto;background:linear-gradient(115deg,rgba(15,18,31,.96) 9%,rgba(20,22,35,.88) 48%,rgba(29,20,37,.45)),url(coast.webp) center/cover}
.watch-card{width:min(700px,100%);margin:auto}.watch-card .eyebrow{color:var(--coral);letter-spacing:2.4px}.watch-card h1{font:italic 700 clamp(51px,9vw,102px)/.98 Display,Impact,sans-serif;margin:16px 0;color:#fff0e4;letter-spacing:-1px}.watch-card p{color:#d7cdd8;font-size:clamp(15px,2vw,19px);line-height:1.6;max-width:38ch}
.watch-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:26px}.watch-actions a{display:inline-flex;align-items:center;gap:7px;font-size:13px}.watch-actions .watch-primary{border-radius:6px;background:#ffaa99;color:#251b26;font-weight:700;padding:12px 17px;text-decoration:none}
@media(max-width:760px){.topbar #about{min-height:32px;padding:3px 6px;gap:2px;margin-left:2px}.topbar #about b{font-size:9px}.mode-suffix{display:none}.topbar .brand>span{font-size:20px}.topbar .brand small{font-size:6px;letter-spacing:1px}.topbar .brand img{width:28px;height:28px}}
@media(max-width:395px){.topbar{padding-inline:6px}.topbar .brand{gap:3px}.topbar .brand img{width:22px;height:22px}.topbar .brand>span{font-size:17px}.topbar nav .nav{padding-inline:5px}.topbar #about{padding:3px;border-color:transparent}}
@media(max-width:359px){.topbar nav .nav{padding-inline:4px}.topbar nav .nav i{display:none}}
@media(display-mode:standalone){.topbar{padding-top:env(safe-area-inset-top);height:calc(var(--top) + env(safe-area-inset-top))}main{height:calc(100vh - var(--top) - env(safe-area-inset-top, 0px))}
@supports (height: 100dvh) { main { height:calc(100dvh - var(--top) - env(safe-area-inset-top, 0px)); } }
.progress-card{padding-bottom:max(14px,env(safe-area-inset-bottom))}}
#poster-index{color:var(--aqua);font:600 10px var(--mono);min-height:25px;border-right:1px solid var(--line);padding:2px 8px 2px 2px}
#poster-dialog{width:min(520px,94vw);max-height:88vh;overflow:auto}
@supports (height: 100dvh) { #poster-dialog { max-height:88dvh; } }
.poster-places{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;margin:15px 0}.poster-places button{display:flex;gap:9px;text-align:left;align-items:center;min-height:40px;padding:7px 9px;border:1px solid #383c4c;border-radius:5px;background:#202330;color:#e7e3ed;font-size:12px}.poster-places button:hover{background:#2a303c}.poster-places b{font:650 11px var(--mono);color:var(--aqua);white-space:nowrap}.poster-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:10px 0 0}.poster-links a{font-size:12px}
@media(max-width:760px){.map-readout{bottom:39px}#poster-index{font-size:9px}}
@media(max-width:390px){.poster-places{grid-template-columns:1fr}.poster-places button{min-height:44px}}

/* The atlas chrome follows the dark enamel, peach and sea glass of a coastal sign. */
:root {
  --ink: #101e24;
  --panel: #17282e;
  --line: #35484c;
  --txt: #f5efe5;
  --muted: #b0bfbb;
  --coral: #ffab91;
  --aqua: #92e0cb;
  --mango: #ffd292;
  --enamel: #102b32;
}
.topbar {
  background: linear-gradient(90deg, #143a40, var(--enamel) 50%, #102b32eb 73%, #102b326e),
              var(--enamel) url(coast.webp) right 52% / auto 158px no-repeat;
  border-bottom-color: #65817d;
  box-shadow: inset 0 2px #59938c;
}
.topbar .wordmark { font: inherit; white-space: nowrap; }
.topbar .wordmark em { color: #ffc4a1; font: inherit; }
.topbar .brand small { color: #abd1c4; }
.topbar .nav { color: #c4d1cb; }
.topbar .nav:hover { background: #254247; color: #fff6e5; }
.topbar .nav.active { color: #ffd6ad; }
.topbar .nav.active::after { background: var(--coral); }
.topbar #about {
  color: #cfe2d7;
  background: #153239;
  border-color: #4b686b;
}
.topbar #about:hover { background: #224348; border-color: #86b6a9; }

#sidebar { background: var(--panel); }
.postcard {
  background-color: #4b5e59;
  background-position: 62% 47%;
  border-bottom-color: #b99575;
}
.postcard::before {
  background: linear-gradient(90deg, #102a31ce, #15333281 45%, transparent 90%),
              linear-gradient(0deg, #11282fc4, transparent 66%);
}
.postcard::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  pointer-events: none;
  --rule: linear-gradient(#f8d5a6, #f8d5a6);
  background: var(--rule) left top / 31px 1px, var(--rule) left top / 1px 22px,
              var(--rule) 4px 4px / 17px 1px, var(--rule) 4px 4px / 1px 10px,
              var(--rule) right bottom / 31px 1px, var(--rule) right bottom / 1px 22px;
  background-repeat: no-repeat;
  opacity: .82;
}
.postcard h1 {
  color: #fff4dc;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.055em;
  text-shadow: 1px 2px #b97558, 2px 4px #15393b;
}
.postcard .eyebrow { color: #ffd69c; }
.postline { color: #ffefe0; }
.sidebar-body { scrollbar-color: #426064 transparent; }
.searchbox, .region-select, .mode-switch {
  background: #11232a;
  border-color: #3a5155;
}
.searchbox { color: #a1d1c6; }
.searchbox:focus-within, .region-select:focus-within { border-color: var(--aqua); }
.searchbox input::placeholder, .searchbox kbd { color: #aabdbb; }
.searchbox kbd { border-color: #446065; }
.region-select select { color: #e5eae0; }
.region-select option { background: #182c32; }
.mode-switch button { color: #b3c4c0; }
.mode-switch button.active {
  color: #ffdbc0;
  background: #304448;
  box-shadow: inset 0 -2px #e5a98b;
}
#sidebar .downtown-jump {
  background: linear-gradient(100deg, #3d4944, #233c40);
  border-color: #657368;
  color: #ffe3bf;
}
#sidebar .downtown-jump:hover { border-color: #e2bf91; }
.placement-tools button { color: #d1dcd4; border-color: #40575b; }
.placement-tools button:hover { background: #284247; }
.section-row h2 {
  color: #f4d8b9;
  font: 700 11px/1.4 AtlasSans, Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-row .bulk button { color: #bdd5cb; text-decoration-color: #65877e; }
.layer-line .cat-row:hover, .result-item:hover { background: #24393e; }
.layer-line .cat-row[aria-pressed=true] { background: #263a3d; }
.cat-name small, .cat-count, .result-item small { color: #adbfbe; }
.progress-card {
  background: #193239;
  border-top-color: #4d6968;
}
.progress-card:hover { background: #203d42; }
.prog-head { color: #e2eadd; }
.prog-nums { color: #b1c6bf; }
.prog-rail { background: #385254; }
.prog-rail i { background: linear-gradient(90deg, #80c6b4, #ffce92); }

#map-panel .map-status, #map-panel .filter-trigger, #map-panel .tool-group,
#map-panel .map-foot, #map-panel .map-readout {
  background: #122c32f5;
  border-color: #537270;
}
#map-panel .tool-group button { background: #18333a; color: #f3eada; }
#map-panel .tool-group button + button { border-color: #456064; }
#map-panel .tool-group button:hover { background: #305156; }

#detail, dialog {
  background: var(--panel);
  border-color: #55706d;
}
#detail { box-shadow: 0 12px 40px #0e202966; }
.detail-shell { border-top: 3px solid var(--cat, var(--coral)); }
.detail-shell h2, .dialog-head h2, .ap-heading h1 { color: #fff0d9; }
.detail-shell h3 { color: #b9c9bd; }
.detail-meta { color: #bdcec3; }
.glyph-btn, .detail-actions button:not(.primary-btn) { background: #293d42; border-color: #486064; }
.glyph-btn:hover { background: #385056; }
.ap-feature {
  background: linear-gradient(110deg, #3d342e 5%, #393f36 56%, #214448);
  border-color: #786b56;
}
.ap-feature .ap-kicker, .ap-feature .ap-sub { color: #faccaa; }
.ap-feature h2 { color: #fff1d6; }
.ap-feature-inner p { color: #e8decb; }
.ap-summary {
  background: linear-gradient(110deg, #1e3d41, #1b2d34);
  border-color: #476964;
}
.ap-page .ap-tab { background: #182b31; border-color: #3e5557; color: #c6d7cd; }
.ap-page .ap-tab.is-active { background: #32433f; border-color: #8e9d83; color: #ffddb3; }

@media (max-width: 760px) {
  .topbar {
    background: linear-gradient(90deg, #143a40 2%, #102b32e8 49%, #102b3282),
                var(--enamel) url(coast.webp) right 46% / auto 116px no-repeat;
  }
}
@media (max-width: 395px) {
  .topbar #about { background: transparent; border-color: transparent; }
}
.topbar .guide-directory-link { text-decoration: none; }
.detail-shell .guide-page-link { display: inline-block; margin: 8px 0; text-underline-offset: 3px; }

/* When scripting is disabled, put the readable guides within reach of the map entry point. */
body:has(.map-guide-fallback) { height: auto; min-height: 100%; overflow: auto; }
body:has(.map-guide-fallback) main { display: block; height: auto; }
body:has(.map-guide-fallback) :is(main > :not(noscript), .topbar button) { display: none !important; }
.map-guide-fallback { max-width: 38rem; margin: 2rem auto; padding: 0 1.5rem; line-height: 1.6; }
.map-guide-fallback h1 { line-height: 1.2; }

@media (max-width: 560px) {
  .topbar:has(.guide-directory-link) .brand { flex-shrink: 0; }
  .topbar:has(.guide-directory-link) nav .nav { padding-inline: 5px; gap: 0; }
  .topbar:has(.guide-directory-link) nav .wide-nav, .topbar:has(.guide-directory-link) nav .nav i { display: none; }
  .topbar:has(.guide-directory-link) nav .compact-nav { display: inline; }
}
@media (max-width: 359px) {
  .topbar:has(.guide-directory-link) .brand img { display: none; }
  .topbar:has(.guide-directory-link) nav .nav { padding-inline: 4px; }
}
