@font-face {
  font-family: Barlow Condensed;
  src: url(assets/fonts/barlow-condensed-800.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(assets/fonts/dm-sans.woff2) format("woff2");
  font-weight: 400 750;
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url(assets/fonts/instrument-serif.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url(assets/fonts/plex-mono.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #111412;
  --rail: #0c0f0e;
  --surface: #1b1f1c;
  --raised: #242a25;
  --line: #353c36;
  --edge: #505950;
  --white: #f5f6ed;
  --muted: #afb7ac;
  --accent: #d8ff30;
  --on-accent: #151a0c;
  --headline: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: DM, "Segoe UI", sans-serif;
  --mono: Plex, Consolas, monospace;
  --nav: 225px;
  --space: clamp(22px, 2.35vw, 46px);
  font: 14px/1.45 var(--sans);
  font-synthesis: none;
  color: var(--white);
  background: var(--canvas);
  accent-color: var(--accent);
}
* { box-sizing: border-box }
body { margin: 0; height: 100dvh; overflow: hidden; display: flex }
button, input, textarea, select { font: inherit; color: inherit }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; outline-offset: 4px }
button { border: 0; background: transparent; cursor: pointer }
a { color: var(--accent) }
img { display: block; max-width: 100% }
:focus-visible { outline: 2px solid var(--accent) }
::selection { color: var(--on-accent); background: var(--accent) }
[hidden] { display: none !important }
.i { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.skip { position: fixed; left: 15px; top: -70px; z-index: 12; padding: 9px 14px; color: var(--on-accent); background: var(--accent) }
.skip:focus { top: 6px }

/* The atlas spine and window controls */
#rail { flex: 0 0 var(--nav); width: var(--nav); background: var(--rail); border-right: 1px solid #303630; display: flex; flex-direction: column; height: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #465044 var(--rail); z-index: 5 }
.brand { display: flex; align-items: center; gap: 10px; margin: 24px 21px 22px }
.brand img { width: 43px; height: 43px }
.brandword { font: 800 33px/.90 var(--headline); letter-spacing: -.02em; color: var(--white) }
.brandtype { display: block; font: 500 8px/1.3 var(--mono); color: var(--accent); letter-spacing: 2.8px; margin: 7px 0 0 1px }
.switcher { display: flex; align-items: center; gap: 10px; width: calc(100% - 32px); margin: 0 16px 18px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 5px; background: #181c19; text-align: left }
.switcher:hover { border-color: var(--edge); background: var(--raised) }
.switcher .i:last-child { margin-left: auto; width: 14px; color: var(--muted) }
.switch-thumb { width: 34px; height: 34px; border-radius: 3px; object-fit: cover }
.switch-initial { background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 800 24px var(--headline) }
.switcher strong { display: block; font-size: 13px; line-height: 1.25; font-weight: 750 }
.switcher small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px }
.navgroup { display: grid; gap: 2px; padding: 0 13px }
.navlabel { margin: 20px 24px 8px; color: #a3ad9e; font: 500 9px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 1.8px }
.navrow { display: flex; align-items: center; gap: 11px; min-height: 31px; padding: 6px 11px; border-radius: 4px; width: 100%; text-align: left; color: #d4d9d1; font-size: 12px; line-height: 1.3 }
.navrow .i { width: 16px; height: 16px; color: #acb5a9 }
.navrow .nav-fit { flex: 1; min-width: 0; white-space: nowrap }
.navrow:hover { background: var(--raised); color: white }
.navrow.active { color: var(--on-accent); font-weight: 750; background: var(--accent) }
.navrow.active .i { color: var(--on-accent); stroke-width: 2 }
.navcount { margin-left: auto; color: inherit; opacity: .78; font: 500 10px var(--mono) }
.navmain .navrow { min-height: 35px }
.railfoot { margin-top: auto; padding: 23px 16px 17px }
.fieldtrip { display: block; width: 100%; position: relative; isolation: isolate; overflow: hidden; min-height: 85px; padding: 13px; text-align: left; color: white; border: 1px solid var(--line); border-radius: 5px; background: var(--surface) }
.fieldtrip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2 }
.fieldtrip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(79deg,#07100ee6,#0a100c4a); z-index: -1 }
.fieldtrip span { display: block; font: 500 8px var(--mono); text-transform: uppercase; letter-spacing: 1.6px; color: var(--accent) }
.fieldtrip b { display: flex; align-items: center; gap: 6px; font: 800 25px/1 var(--headline); text-transform: uppercase; margin-top: 5px }
.fieldtrip b .i { width: 15px }
.fieldtrip:hover, .railnew:hover { border-color: var(--accent) }
.railnew { border: 1px solid var(--line); width: 100%; justify-content: center }
.shell { display: flex; flex-direction: column; height: 100%; flex: 1; min-width: 0 }
#topbar { height: 56px; flex: 0 0 56px; display: flex; align-items: center; gap: 18px; padding: 0 var(--space); border-bottom: 1px solid #2c322d; -webkit-app-region: drag; user-select: none; background: var(--canvas) }
.native #topbar { padding-right: calc(var(--space) + 134px) }
#topbar button { -webkit-app-region: no-drag }
.crumb { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--muted); font-size: 12px; white-space: nowrap }
.crumb .i { width: 15px; height: 15px; color: var(--accent) }
.crumb strong { color: var(--white); font-weight: 700; overflow: hidden; text-overflow: ellipsis }
.crumb .slash { color: #737d70 }
.toolsearch { display: flex; align-items: center; gap: 8px; margin-left: auto; min-width: 182px; min-height: 32px; padding: 5px 8px; color: var(--muted); background: #191d1a; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; text-align: left }
.toolsearch:hover { border-color: var(--edge); color: var(--white) }
.toolsearch .i, .localclock .i { width: 14px; height: 14px }
.key { margin-left: auto; padding: 2px 5px; border: 1px solid #434b42; border-radius: 3px; white-space: nowrap; font: 9px var(--mono); color: #b5bbae }
.localclock { display: flex; align-items: center; gap: 6px; font: 10px var(--mono); color: var(--muted); white-space: nowrap }
main { overflow: auto; scrollbar-width: thin; scrollbar-color: #495347 transparent; flex: 1; padding: 22px var(--space) 48px; outline: none !important }
.content { max-width: 1660px; margin: 0 auto }

/* Photographic covers */
.hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 6px; height: clamp(280px, 23.6vw, 378px); color: white; background: #252d29 }
.hero-photo, .photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3 }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #070c0de6 0%, #0a0e10a3 31%, #0e10131c 65%, transparent 84%), linear-gradient(0deg,#03060978,transparent 42%) }
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; max-width: 85%; padding: 22px clamp(23px,3vw,52px) 27px }
.overline { display: flex; align-items: center; gap: 8px; color: var(--accent); font: 500 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 1.8px }
.overline .i { width: 13px; height: 13px }
.hero h1, .simple-heading h1, .profile h1 { font-family: var(--headline); font-weight: 800; text-transform: uppercase; overflow-wrap: anywhere }
.hero h1 { font-size: clamp(85px, 8.55vw, 144px); line-height: .86; letter-spacing: -.018em; margin: 8px 0 14px; color: #fbfbf2 }
.hero p { font-size: clamp(13px,1.04vw,16px); line-height: 1.46; max-width: 440px; margin: 0 0 19px; color: #f1f1e9; text-wrap: pretty }
.hero-cta, .primary, .secondary, .quiet { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 4px; font-size: 12px; font-weight: 750; line-height: 1.2; min-height: 35px; padding: 9px 14px }
.hero-cta, .primary { background: var(--accent); color: var(--on-accent) }
.hero-cta:hover, .primary:hover { background: #e3ff88 }
.hero-cta .i, .primary .i, .secondary .i, .quiet .i { width: 15px; height: 15px }
.secondary { border: 1px solid var(--edge); color: var(--white); background: var(--surface) }
.secondary:hover, .quiet:hover { background: var(--raised); border-color: #82917b }
.secondary[aria-pressed="true"] { border-color: #798c47; color: var(--accent) }
.quiet { color: var(--white) }
.hero-credit { position: absolute; bottom: 18px; right: 18px; display: flex; align-items: center; gap: 11px }
.hero-caption { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #fff; text-shadow: 0 1px 5px #050905 }
.hero-caption .i { width: 13px; height: 13px }
.slide-controls { display: flex; align-items: center; gap: 6px }
.circlebtn, .savebtn { display: inline-grid; place-items: center; border-radius: 50%; padding: 0 }
.circlebtn { width: 30px; height: 30px; border: 1px solid #ffffff69; background: #101512a6; color: white; backdrop-filter: blur(5px) }
.circlebtn:hover { background: #1b2418; border-color: var(--accent); color: var(--accent) }
.circlebtn .i { width: 15px; height: 15px }
.slide-readout { color: white; font: 9px var(--mono) }
.photo-open { position: absolute; right: 15px; top: 15px; z-index: 2 }
.photo-open .i { width: 14px }
.collection-hero { height: clamp(206px,17.6vw,280px) }
.collection-hero h1 { font-size: clamp(53px,5.7vw,98px); line-height: .94; margin: 5px 0 10px }
.collection-hero p { margin: 0; max-width: 555px }
.collection-hero .hero-inner { max-width: 88% }
.collection-hero::before { background: linear-gradient(90deg,#090c0def,#0b0e10b0 44%,#1114151c 87%),linear-gradient(0deg,#06080756,transparent) }

/* Collection and place grids */
.block { margin-top: 28px }
.sectionhead { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 15px }
.sectionhead h2, .results-heading { margin: 0; font: 750 clamp(26px,2.15vw,36px)/1.08 var(--sans); letter-spacing: -.055em }
.linklike { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 11px; font-weight: 700; border-bottom: 1px solid transparent; padding: 5px 0; white-space: nowrap }
.linklike:hover { border-bottom-color: currentColor }
.linklike .i { width: 14px; height: 14px }
.catgrid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(10px,1.1vw,18px) }
.cat-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; height: clamp(137px,11.8vw,190px); border: 1px solid #343c36; border-radius: 5px; padding: 14px 15px; color: white; text-align: left; background: var(--surface) }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#080b0cf2 0%,#090c0b77 41%,transparent 88%) }
.cat-tile img, .card-trigger img.cover-photo { transition: transform .35s ease }
.cat-tile:hover { border-color: #83914f }
.cat-tile:hover img, .card-trigger:hover img.cover-photo { transform: scale(1.035) }
.cat-tile strong { display:block; width:100%; min-width:0; font:800 clamp(24px,2.05vw,35px)/1.04 var(--headline); text-transform:uppercase; color:#fbfcf3; white-space:nowrap }
.cat-tile small { margin-top: 6px; font: 500 9px/1.25 var(--mono); color: #dbdfd2 }
.tile-icon { display: grid; place-items: center; position: absolute; top: 12px; left: 13px; height: 27px; width: 27px; color: #f6f8ee; background: #111411a6; backdrop-filter: blur(5px); border: 1px solid #ffffff66; border-radius: 50% }
.tile-icon .i { width: 14px; height: 14px }
.section-rule { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 27px }
.placegrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px 17px }
.placecard { min-width: 0; position: relative; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: var(--surface); transition: border-color .15s }
.placecard:hover { border-color: #75805c }
.card-trigger { display: block; width: 100%; height: 100%; text-align: left; padding: 0; color: inherit }
.card-trigger:focus-visible { outline-offset: -3px }
.card-art { display: block; height: clamp(147px,13vw,227px); position: relative; overflow: hidden; background: #2a312c }
.cover-photo { width: 100%; height: 100%; object-fit: cover }
.mark { display: flex; align-items: center; justify-content: center; background: #f4f1e7; border: 1px solid #ffffff50; overflow: hidden }
.mark.dark { background: #26332b }
.mark img { max-width: 100%; max-height: 100%; object-fit: contain }
.card-art .mark { position: absolute; left: 11px; bottom: 10px; width: 55px; height: 34px; border-radius: 3px; box-shadow: 0 2px 9px #080b0960; padding: 5px 6px }
.card-body { display: block; padding: 14px 15px 16px }
.card-kicker { display: block; margin-bottom: 6px; font: 500 9px/1.4 var(--mono); letter-spacing: 1.25px; text-transform: uppercase; color: var(--accent) }
.card-title { display: block; font: 750 clamp(21px,1.64vw,29px)/1.13 var(--sans); letter-spacing: -.045em; overflow-wrap: anywhere }
.card-sub { display: flex; align-items: center; gap: 5px; line-height: 1.4; color: var(--muted); font-size: 11px; margin-top: 8px }
.card-sub .i { width: 12px; height: 12px }
.savebtn { position: absolute; right: 10px; top: 10px; width: 31px; height: 31px; background: #0d110edb; color: #fafaf3; border: 1px solid #ffffff61; backdrop-filter: blur(5px) }
.savebtn:hover, .savebtn.chosen { background: var(--accent); color: var(--on-accent); border-color: var(--accent) }
.savebtn .i { width: 15px; height: 15px }
.savebtn.chosen .i { fill: var(--on-accent) }

/* Lists, place profiles and source information */
.collection-index { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px }
.crumbback { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; padding: 3px 0 }
.crumbback:hover { color: var(--accent) }
.crumbback .i { width: 15px; height: 15px }
.simple-heading { padding: 10px 0 19px }
.simple-heading h1 { font-size: clamp(48px,5.3vw,82px); line-height: .98; margin: 6px 0 10px; letter-spacing: -.018em }
.simple-heading p { color: var(--muted); margin: 0 }
.filters { display: flex; align-items: center; gap: 8px; margin: 23px 0 15px; flex-wrap: wrap }
.results-count { margin-right: auto; white-space: nowrap; font: 500 11px var(--mono); color: var(--muted) }
.filters select { appearance: none; cursor: pointer; background: transparent; border: 0; max-width: 200px; min-height: 31px; padding: 4px 23px 4px 10px; font-size: 11px }
.selectwrap { position: relative; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--surface) }
.selectwrap option, .formgrid option { background: var(--surface); color: var(--white) }
.selectwrap .i { pointer-events: none; position: absolute; right: 6px; width: 12px; height: 12px }
.filters .secondary { min-height: 32px; padding: 5px 10px; font-size: 11px }
.blank { padding: 42px max(24px,6%); border: 1px dashed #4a5548; border-radius: 5px; background: var(--surface) }
.blank > .i { width: 31px; height: 31px; color: var(--accent) }
.blank h2 { font: 750 30px/1.15 var(--sans); letter-spacing: -.045em; margin: 10px 0 }
.blank p { color: var(--muted); margin: 0 0 16px; max-width: 470px }
.no-photo { background: linear-gradient(125deg,#1b2923,#354738 66%,#58663a); display: grid; place-items: center }
.no-photo > .i { height: 52px; width: 52px; color: #dbe7c0; opacity: .72 }
.hero-noimg { background: repeating-radial-gradient(ellipse at 95% 95%,#58694f 0 2px,transparent 3px 16px),linear-gradient(110deg,#18251e,#3b4c3c); z-index: -3; position: absolute; inset: 0 }
.profile { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden }
.profile-visual { height: clamp(224px,23vw,375px); position: relative; overflow: hidden; background: #28342b }
.profile-visual > .cover-photo { object-position: center 47% }
.profile-visual::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent,#09100c6b); pointer-events: none }
.credit { position: absolute; right: 14px; bottom: 10px; background: #0d110ed4; color: white; border-radius: 3px; font: 10px var(--sans); padding: 4px 7px; z-index: 1; text-decoration: none }
.credit:hover { text-decoration: underline }
.profile-content { padding: 24px clamp(22px,2.5vw,44px) 32px }
.profile-top { display: flex; justify-content: space-between; align-items: center; gap: 20px }
.profile-top .mark { width: 92px; height: 51px; border-radius: 4px; padding: 7px 9px }
.profile h1 { font-size: clamp(51px,5.35vw,90px); line-height: .98; margin: 7px 0 12px; letter-spacing: -.02em }
.profile-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px }
.profile-meta .i { width: 15px; height: 15px }
.profile-columns { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(275px,1fr); gap: clamp(25px,4vw,66px); margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line) }
.profile-story { font: 400 clamp(24px,1.85vw,31px)/1.23 Instrument,Georgia,serif; margin: 1px 0 14px; color: #eef0e5; max-width: 625px; text-wrap: pretty }
.distinction { display: flex; align-items: center; gap: 7px; color: #e1cb8f; font-size: 11px; padding: 9px 0; text-decoration: none }
.distinction:hover { text-decoration: underline }
.distinction .i { width: 14px; height: 14px }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 }
.infoitem { display: grid; grid-template-columns: 22px 1fr; gap: 7px; margin-bottom: 16px }
.infoitem > .i { width: 17px; height: 17px; margin-top: 2px; color: #bfcba9 }
.infoitem b { display: block; font-size: 12px; margin-bottom: 3px }
.infoitem p { margin: 0; font-size: 13px; color: #c4cbc0 }
.infoitem a { display: block; overflow-wrap: anywhere; text-decoration: none; color: var(--accent) }
.infoitem a:hover, .profilefoot a:hover { text-decoration: underline }
.profilefoot { border-top: 1px solid var(--line); margin-top: 19px; padding-top: 13px; display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 10px }
.profilefoot a { text-decoration: none }

/* City switcher, search, and personal guide forms */
dialog { position: fixed; max-height: min(86dvh,820px); width: min(548px,calc(100vw - 32px)); padding: 0; border: 1px solid var(--edge); border-radius: 8px; color: var(--white); background: var(--surface); box-shadow: 0 22px 100px #0009; overflow: auto; scrollbar-width: thin }
dialog::backdrop { background: #030705bd; backdrop-filter: blur(4px) }
.dialogpad { padding: 24px }
.dialoghead { display: flex; justify-content: space-between; align-items: center; gap: 12px }
.dialoghead h2 { font: 800 39px/1.05 var(--headline); letter-spacing: -.012em; text-transform: uppercase; margin: 0 }
.dialogintro { color: var(--muted); font-size: 12px; margin: 6px 0 18px }
.iconbtn { display: inline-grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; background: var(--raised) }
.iconbtn:hover { border-color: var(--edge); color: var(--accent) }
.iconbtn .i { width: 15px; height: 15px }
.iconbtn.rail-toggle { display: none }
.switchlist { display: grid; gap: 5px; margin: 13px 0 }
.destrow, .hit { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border-radius: 4px; padding: 7px }
.destrow:hover, .hit:hover, .hit.keyfocus { background: #2c352b }
.destrow img, .hit img, .destrow .no-photo, .hit .no-photo { width: 48px; height: 39px; border-radius: 3px; object-fit: cover; flex-shrink: 0 }
.destrow .no-photo .i, .hit .no-photo .i { width: 17px; height: 17px }
.destrow strong, .hit strong { display: block; font-weight: 750; font-size: 13px }
.destrow small, .hit small { display: block; color: var(--muted); font-size: 11px }
.destrow > .i, .hit > .i { margin-left: auto; width: 15px; height: 15px; color: var(--accent) }
.switchtools { padding-top: 13px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px }
.findfield { display: flex; align-items: center; border: 1px solid var(--edge); padding: 8px 11px; gap: 8px; margin: 15px 0 9px; background: var(--rail); border-radius: 4px }
.findfield .i { color: var(--accent) }
.findfield input { width: 100%; border: 0; min-height: 27px; outline: none; background: transparent }
.findfield:focus-within { outline: 2px solid var(--accent) }
.find-list { max-height: 43dvh; overflow: auto }
.find-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 9px; font-size: 11px; color: var(--muted) }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 13px; margin: 18px 0 }
.formgrid label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 650 }
.wide { grid-column: 1/-1 }
.formgrid input, .formgrid textarea, .formgrid select { background: var(--rail); border: 1px solid #485045; border-radius: 4px; padding: 8px 9px; width: 100%; font-size: 13px; font-weight: 400 }
.formgrid textarea { min-height: 62px; resize: vertical }
.formgrid input[type=file] { font-size: 11px }
.formgrid input::file-selector-button { padding: 4px 7px; color: var(--white); background: var(--raised); border: 1px solid var(--edge); border-radius: 3px }
.formactions { display: flex; justify-content: flex-end; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px }
.danger { margin-right: auto; color: #ff9e8c }
.formerror { color: #ff9e8c; font-size: 12px; line-height: 1.4 }
.dialog-img { width: auto; max-width: min(92vw,1460px); background: #101311 }
.fullphoto { display: block; margin: 0 auto; max-width: 100%; max-height: 72vh; object-fit: contain }
.photobar { padding: 12px 16px; display: flex; align-items: center; gap: 15px }
.photobar span { flex: 1 }
.photobar a { font-size: 11px }
.plainmsg { color: var(--muted); padding: 12px 3px; font-size: 13px }
#toast { position: fixed; bottom: 19px; left: calc(var(--nav) + 20px); max-width: calc(100vw - var(--nav) - 40px); color: var(--on-accent); background: var(--accent); padding: 9px 15px; border-radius: 4px; box-shadow: 0 4px 15px #0006; z-index: 9; font-size: 12px; font-weight: 650; pointer-events: none; opacity: 0; transition: opacity .15s }
#toast.visible { opacity: 1 }

@media (min-width: 1660px) { .placegrid { grid-template-columns: repeat(4,minmax(0,1fr)) } }
@media (max-width: 1200px) {
  :root { --nav: 201px; --space: 23px }
  .brand { margin-left: 17px }
  .toolsearch { min-width: 146px }
  .native #topbar { padding-right: 145px }
  .card-art { height: 145px }
  .cat-tile { padding: 12px }
  .localclock { display: none }
}
@media (max-width: 980px) {
  :root { --nav: 180px; --space: 18px }
  .navrow { font-size: 11px; gap: 9px }
  .brandword { font-size: 27px }
  .brand { margin-left: 14px }
  .switcher { margin-left: 12px; width: calc(100% - 24px) }
  .catgrid { gap: 9px }
  .cat-tile { height: 130px; padding: 10px }
  .cat-tile strong { font-size: 24px }
  .card-art { height: 130px }
  .placegrid { gap: 12px }
  .hero { height: 260px }
  .hero h1 { font-size: 88px }
  .collection-hero { height: 202px }
  .collection-hero h1 { font-size: 55px }
  .hero-caption { display: none }
  .profile-columns { gap: 24px; grid-template-columns: 1fr 1fr }
  .toolsearch { min-width: auto }
  .navgroup { padding: 0 9px }
  .navlabel { margin-left: 20px }
}
@media (max-width: 790px) {
  :root { --nav: 0px; --space: 17px }
  #rail { position: fixed; inset: 0 auto 0 0; width: 224px; transform: translateX(-104%); transition: transform .16s ease; box-shadow: 8px 0 26px #0008 }
  .rail-open #rail { transform: translateX(0) }
  .rail-open .shell::after { content: ""; position: fixed; inset: 0; background: #07090780; z-index: 4 }
  .iconbtn.rail-toggle { display: inline-grid }
  .native #topbar { padding-right: 143px }
  #topbar { gap: 10px }
  .hero h1 { font-size: 80px }
  .collection-hero h1 { font-size: 55px }
  .hero-inner { padding: 22px; max-width: 90% }
  .railfoot { padding-top: 22px }
  .sectionhead h2 { font-size: 27px }
  .navrow { font-size: 13px; min-height: 32px }
  .hero-credit { bottom: 13px; right: 14px }
}
@media (max-width: 570px) {
  .placegrid, .catgrid { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .hero { height: 256px }
  .hero-inner { max-width: 100%; padding: 20px }
  .hero p { max-width: 85%; font-size: 13px }
  .hero h1 { font-size: 72px }
  .collection-hero { height: 205px }
  .collection-hero h1 { font-size: 49px }
  .collection-hero p { max-width: 100% }
  .localclock, .toolsearch .key, .toolsearch span, .crumb .trail { display: none }
  .toolsearch { padding: 8px }
  .profile-columns { grid-template-columns: 1fr; gap: 10px }
  .card-title { font-size: 20px }
  .card-body { padding: 10px }
  .formgrid { grid-template-columns: 1fr }
  .hero .photo-open { display: none }
  .card-art { height: 120px }
  .results-count { width: 100% }
  .profile-visual { height: 185px }
  .profile-content { padding: 16px }
  .dialogpad { padding: 17px }
  .sectionhead { gap: 8px }
  .cat-tile { height: 135px }
  .native #topbar { padding-right: 130px }
  .filters { gap: 5px }
  .profile-top .overline { font-size: 9px }
}
@media (max-height: 790px) and (min-width: 791px) {
  .brand { margin-top: 15px; margin-bottom: 14px }
  .switcher { margin-bottom: 10px; padding-block: 7px }
  .navlabel { margin-top: 12px; margin-bottom: 6px }
  .navrow { min-height: 27px; padding-block: 5px }
  .navgroup { gap: 1px }
  .railfoot { padding-top: 14px; padding-bottom: 12px }
  .fieldtrip { min-height: 70px }
  .navmain .navrow { min-height: 30px }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important }
}

