:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #FFFFFF;
  --ink: #161616;
  --muted: #555;
  --line: #e5e5e5;
  --accent: #5b5b5b;
  --accent-dark: #222;
  --guide-accent: #735eb1;
  --selection-tint: #eee8fa;
  --selection-ink: #4e3a82;
  --light: #f1f1f1;
  --field: #f7f7f7;
  --primary: #171717;
  --on-primary: #FFFFFF;
  --marker: #5b5b5b;
  --shadow: 0 6px 20px #0000000d, 0 2px 5px #00000007;
  --map-surface: #ececec;
  --radius: 18px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 112px; }
body { margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; line-height: 1.5; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
:where(a, button, input, select, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { opacity: .6; cursor: wait; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.047em; }
p { color: var(--muted); }
.container { width: min(100% - 64px, 1312px); margin-inline: auto; }
.icon { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: middle; }
.skip-link { position: fixed; z-index: 2000; left: 16px; top: -90px; background: var(--surface); padding: 10px 16px; }
.skip-link:focus { top: 8px; }
.header { position: sticky; top: 0; z-index: 1500; flex: none; background: color-mix(in srgb, var(--surface) 90%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); }
.header-inner { min-height: 74px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 26px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 9px; text-decoration: none; font-size: 26px; }
.brand img { flex: none; border-radius: 9px; }
.brand-wordmark { color: var(--ink); font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif; font-weight: 900; line-height: 1.1; letter-spacing: -.06em; white-space: nowrap; }
.brand-pal { color: #7256ac; }
.site-nav { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; }
.site-nav a { padding: 9px 13px; text-decoration: none; color: inherit; border-radius: 999px; display: flex; align-items: center; gap: 7px; font-weight: 650; font-size: 14px; white-space: nowrap; }
.site-nav a:not([aria-current]):hover { background: #ffffff27; }
.site-nav a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: 0 1px 5px #00000014; }
.site-nav a:focus-visible { outline-color: #fff; outline-offset: -2px; }
.site-nav a[aria-current]:focus-visible { outline-color: var(--ink); }
.page { flex: 1; padding-block: 35px 74px; }
.search-field { display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; background: var(--field); color: var(--muted); font-weight: 400; }
.search-field input { border: 0; background: transparent; min-width: 0; width: 100%; outline-offset: -1px; padding: 10px 0; color: inherit; }
.section { margin-top: 48px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.section-heading h2, .journey-banner h2 { font-size: clamp(27px, 3.5vw, 38px); font-weight: 730; }
.section-heading p, .journey-banner p { margin-top: 7px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 720; color: var(--accent-dark); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.button {
  display: inline-flex;
  min-height: 42px;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}
.primary { background: var(--primary); color: var(--on-primary); }
.primary:hover { background: #383838; color: #fff; }
.secondary { color: var(--accent-dark); background: var(--surface); border-color: var(--line); }
.secondary:hover { background: var(--light); }
.status { font-size: 14px; min-height: 0; margin-block: 10px 14px; }
.status:empty { display: none; }
.status[data-error=true] { color: #9e2d31; }
.spot-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.spot-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); overflow: hidden; isolation: isolate; box-shadow: var(--shadow); }
.spot-card:hover { border-color: #bdbdbd; }
.spot-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--field); }
.card-body { display: grid; gap: 6px; padding: 17px 49px 18px 17px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 730; text-transform: uppercase; letter-spacing: .065em; }
.spot-card h3 { font-size: 23px; }
.spot-card h3 a, .list-card h3 a { text-decoration: none; }
.spot-card h3 a::after { content: ''; position: absolute; inset: 0; }
.spot-card h3 a:focus-visible::after { outline: 3px solid var(--accent); outline-offset: -3px; }
.spot-card p { font-size: 13px; }
.save-button { display: grid; width: 39px; height: 39px; flex: none; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--accent-dark); }
.spot-card .save-button { position: absolute; top: 11px; right: 11px; z-index: 1; }
.save-button:hover, .save-button[aria-pressed=true] { background: var(--light); }
.save-button[aria-pressed=true] .icon { fill: var(--accent); }
.footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 23px; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; }
.footer .brand { color: var(--ink); font-size: 20px; }
.footer img { width: 29px; height: 29px; }
.page-heading { margin-bottom: 26px; }
.page-heading h1, .detail-heading h1 { font-size: clamp(38px, 5vw, 65px); font-weight: 750; }
.page-heading p, .detail-heading p { margin-top: 9px; }
.map-list, .panel { padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.filters, .field-group { display: grid; gap: 11px; }
.filter-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.filter-row label, .form-stack label { display: grid; gap: 5px; color: var(--muted); font-size: 13px; font-weight: 650; }
.filter-row select, .form-stack input, .form-stack select {
  width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-weight: 500; font-size: 14px;
}
.map-panel { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--line); border-radius: 21px; background: var(--map-surface); box-shadow: var(--shadow); }
.map-canvas { height: clamp(430px,69vh,760px); background: var(--map-surface); }
.map-message { position: absolute; z-index: 700; left: 12px; bottom: 22px; padding: 7px 9px; border-radius: 6px; box-shadow: 0 2px 8px #00000017; background: var(--surface); font-size: 12px; }
.observation-marker { display: grid; width: 100%; height: 100%; place-items: center; border: 2px solid white; border-radius: 50%; background: #476980; color: white; box-shadow: 0 1px 6px #342a5255; }
.observation-marker .icon { width: 17px; height: 17px; }
.observation-marker-hut { background: #8B4836; border-radius: 8px; }
.route-endpoint { position: relative; display: grid; width: 31px; height: 31px; place-items: center; border: 2px solid white; border-radius: 9px; background: #6750a1; color: white; font-size: 18px; font-weight: 750; box-shadow: 0 1px 6px #342a5255; }
.route-endpoint::after { content: ''; position: absolute; top: calc(100% + 1px); left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top: 6px solid white; border-bottom: 0; }
.route-endpoint .icon { width: 17px; height: 17px; }
.route-endpoint-parking { background: #285484; }
.route-endpoint-journey-start { background: #255A85; }
.route-endpoint-goal, .route-endpoint-journey-goal { background: #1c6654; }
.list-items { display: grid; gap: 8px; }
.list-card { border: 1px solid var(--line); border-radius: 10px; padding: 9px; display: flex; align-items: center; gap: 9px; background: var(--surface); }
.list-card img, .list-card-placeholder { width: 58px; height: 58px; border-radius: 7px; }
.list-card img { object-fit: cover; }
.list-card-media { position: relative; flex: none; }
.list-card h3 { font-size: 17px; }
.list-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.list-card p { margin-top: 4px; font-size: 12px; }
.map-focus { margin-left: auto; width: 34px; height: 34px; }
.form-stack { display: grid; gap: 14px; }
.field-title { color: var(--muted); font-size: 13px; font-weight: 650; }
.journey-result-heading { margin: 22px 0 14px; }
.journey-result-heading h2 { font-size: 24px; }
.segment { display: inline-flex; gap: 3px; background: var(--light); padding: 4px; border-radius: 10px; width: max-content; max-width: 100%; }
.segment button { font-weight: 700; font-size: 13px; border: 0; background: transparent; border-radius: 7px; padding: 8px 12px; color: var(--muted); }
.segment button[aria-pressed=true] { background: var(--surface); color: var(--accent-dark); box-shadow: 0 1px 3px #00000018; }
.account-panel { max-width: 450px; padding: 22px; }
.page-suggest { max-width: 740px; }
.suggestion-panel { padding: clamp(18px,4vw,32px); }
.suggestion-panel textarea { width: 100%; min-height: 115px; resize: vertical; padding: 10px; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.suggestion-progress { display: grid; gap: 6px; font-size: .85rem; font-weight: 650; }
.suggestion-progress p { color: var(--selection-ink); }
.suggestion-progress progress { width: 100%; height: 8px; accent-color: var(--guide-accent); }
.suggestion-step h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); scroll-margin-top: 16px; }
.suggestion-optional { margin-top: 5px; font-size: .875rem; }
.suggestion-fields { display: grid; gap: 13px; margin-top: 16px; }
.suggestion-fields label small { font-weight: 400; color: var(--muted); }
.suggestion-position, .suggestion-periods, .suggestion-species { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.suggestion-position legend, .suggestion-periods legend { padding: 0 4px; font-size: .9rem; font-weight: 700; }
.suggestion-position .suggestion-optional, .suggestion-periods .suggestion-optional { margin: 0; }
.suggestion-map { height: clamp(200px, 34vw, 310px); border-radius: 12px; }
.suggestion-marker { border: 3px solid #fff; border-radius: 50%; background: var(--guide-accent); box-shadow: 0 1px 5px #0006; }
.suggestion-editor-actions, .suggestion-species-list { display: flex; flex-wrap: wrap; gap: 6px; }
.suggestion-editor-actions:empty, .suggestion-species-list:empty, #suggestion-periods:empty { display: none; }
.suggestion-editor-actions .button, .suggestion-periods .button, .suggestion-species-list .button { min-height: 34px; padding-block: 5px; }
.suggestion-species-list .button { background: var(--selection-tint); color: var(--selection-ink); }
.suggestion-position .status, .suggestion-species .status { margin: 0; }
.suggestion-place-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px; }
.suggestion-place-search .button { min-height: 42px; }
.suggestion-place-search :is(.journey-place-options, .status) { grid-column: 1 / -1; }
.suggestion-place-search .status { margin: 0; }
#suggestion-periods { display: grid; gap: 10px; }
.suggestion-period { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.suggestion-moderation { margin-top: 16px; font-size: .875rem; }
.suggestion-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.suggestion-actions .button { min-width: 105px; }
#suggestion-sign-in .button { margin-top: 10px; }
@media (max-width: 480px) {
  .suggestion-fields .filter-row { grid-template-columns: minmax(0, 1fr); }
  .suggestion-period .filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .suggestion-period { grid-template-columns: minmax(0, 1fr); }
}
#account p { margin: 9px 0 17px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--muted); font-size: 14px; }
.detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px 24px; margin-bottom: 20px; }
.detail-heading h1 { overflow-wrap: anywhere; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.credit { font-size: 12px; margin-top: 6px; color: var(--muted); }
.credit a { margin-inline-start: 6px; }
.detail-layout { display: grid; gap: clamp(20px,4vw,60px); align-items: start; margin-top: clamp(22px,3vw,38px); }
.detail-layout-split { grid-template-columns: minmax(0,1fr) minmax(275px,35%); }
.detail-story { max-width: 72ch; padding-inline: 2px; }
.detail-story h2, .trail-section h2 { font-size: 24px; margin-bottom: 12px; }
.detail-story p + h2 { margin-top: 24px; }
.detail-sidebar { display: grid; gap: 12px; }
.detail-layout:not(.detail-layout-split) .detail-sidebar { grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); align-items: start; }
.detail-visit-card { padding: 16px 18px; }
.detail-visit-card h2, .detail-nature h2 { font-size: 19px; margin-bottom: 8px; }
.detail-visit-card h2 { display: flex; align-items: center; gap: 8px; }
.detail-visit-card .icon { color: var(--accent-dark); }
.detail-visit-card :is(p + p, dl + p, p + a, dl + a) { margin-top: 8px; }
.detail-visit-card p strong { color: var(--ink); }
.detail-story p, .detail-visit-card p, .detail-visit-card dd, .detail-nature p { white-space: pre-line; overflow-wrap: anywhere; }
.detail-visit-card dl { display: grid; gap: 8px; margin: 0; }
.detail-visit-card dt { font-size: .8125rem; font-weight: 700; }
.detail-visit-card dd { margin: 0; color: var(--muted); }
.detail-nature { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 15px 18px; }
.detail-nature > .icon { font-size: 20px; }
.detail-nature p { color: var(--ink); }
.detail-species { margin-top: 28px; }
.detail-species-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 18px; }
.detail-species-heading h2 { font-size: 24px; }
.detail-species-heading p { margin-top: 4px; font-size: .875rem; }
.detail-species-search { width: min(100%, 275px); }
.detail-species-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); align-items: start; gap: 10px; list-style: none; margin: 0; padding: 0; }
.species-card { min-width: 0; display: flex; flex-direction: column; align-self: stretch; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface); overflow-wrap: anywhere; }
.species-card-heading { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 10px; }
.species-avatar { position: relative; display: grid; place-items: center; width: 54px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--light); color: var(--accent-dark); }
.species-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.species-avatar.has-photo img { opacity: 1; }
.species-avatar.has-photo svg { visibility: hidden; }
.species-card h3 { font-size: 1.125rem; letter-spacing: -.02em; }
.species-season { display: flex; align-items: flex-start; gap: 7px; margin-top: 5px; font-size: .875rem; }
.species-photo-credit { margin-top: -4px; color: var(--muted); font-size: .75rem; }
.species-season .icon { color: var(--accent-dark); margin-top: .12em; }
.species-sighting { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; margin-top: auto; color: var(--muted); font-size: .8125rem; }
.species-chance { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 650; }
.species-chance:not([data-frequency="card"]) { color: var(--accent-dark); background: var(--light); }
.species-dots { display: inline-flex; gap: 3px; }
.species-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .25; }
.species-dots .filled { opacity: 1; }
.species-notes { border-top: 1px solid var(--line); }
.species-notes summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding-block: 6px; cursor: pointer; color: var(--accent-dark); font-size: .875rem; font-weight: 650; }
.species-notes summary::-webkit-details-marker { display: none; }
.species-chevron { width: 7px; height: 7px; margin-right: 4px; flex: none; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.species-notes[open] .species-chevron { transform: rotate(225deg); }
.species-notes p { font-size: .875rem; white-space: pre-line; }
.detail-species-empty:not(:empty) { margin-top: 12px; }
.trail-section { margin-top: 30px; }
.trail-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 7px 12px; margin-bottom: 11px; }
.trail-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.trail-download { margin-left: auto; }
.trail-picker button[aria-pressed=true] { background: var(--light); border-color: #bdbdbd; }
.trail-info { margin-bottom: 11px; }
.trail-restrictions { padding-left: 22px; color: var(--muted); }
@media (max-width: 950px) {
  .header-inner { gap: 11px; }
  .site-nav { gap: 2px; }
  .site-nav a { padding-inline: 8px; }
  .site-nav a .icon { display: none; }
}
@media (max-width: 850px) {
  .container { width: min(100% - 36px, 1312px); }
  .spot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 132px; }
  .header-inner { grid-template-columns: minmax(0, 1fr); gap: 7px; padding-block: 9px; }
  .site-nav { width: 100%; justify-content: space-between; }
  .site-nav a { flex-direction: column; flex: 1; gap: 3px; font-size: min(2.7vw, 12px); padding: 5px 2px; }
  .site-nav a .icon { display: inline-block; width: 18px; height: 18px; }
  .brand { font-size: 22px; }
  .brand img { width: 30px; height: 30px; }
}
@media (max-width: 625px) {
  .page { padding-block: 20px 38px; }
  .section { margin-top: 32px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .spot-grid, .detail-layout-split { grid-template-columns: minmax(0, 1fr); }
  .map-canvas { height: 430px; }
  .footer .container { align-items: flex-start; flex-direction: column; }
}
.card-media { margin: 0; }
.card-media .credit { padding-inline: 10px; margin-bottom: 1px; }
.card-media .credit a { position: relative; z-index: 1; margin: 0; }
.photo-empty { display: grid; place-items: center; color: var(--accent); }
.photo-empty .icon { width: 42px; height: 42px; }
.list-credit { color: var(--muted); font-size: 11px; margin-top: 3px; }
.list-credit summary { cursor: pointer; text-underline-offset: 2px; }
.list-credit figure { margin: 0; }

.footer-links { display: flex; gap: 17px; flex-wrap: wrap; }
.footer-links a { text-underline-offset: 4px; }
.analytics-choice {
  position: fixed;
  z-index: 1900;
  inset: auto 16px max(16px, env(safe-area-inset-bottom)) auto;
  width: min(400px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.analytics-choice h2 { margin-bottom: 6px; font-size: 1.125rem; }
.analytics-choice p { font-size: .875rem; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.analytics-actions .button { flex: 1; }
.legal { max-width: 800px; padding: clamp(20px, 5vw, 46px); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.legal h2 { font-size: 23px; margin-block: 25px 9px; }
.legal h3 { font-size: 18px; margin-block: 20px 7px; }
.legal h4 { font-size: 15px; margin-block: 12px 6px; }
.legal p + p { margin-top: 10px; }
.legal address { font-style: normal; overflow-wrap: anywhere; }
.spot-search-wrap { position: relative; }
.spot-search-form {
  --search-accent: var(--accent-dark);
  --search-tint: var(--light);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
}
.spot-search-form:focus-within { outline: 2px solid var(--search-accent); outline-offset: 1px; }
.spot-search-form .search-field { flex: 1; gap: 8px; padding: 0 0 0 3px; border: 0; background: transparent; color: inherit; }
.spot-search-form input { font-size: 1rem; }
.spot-search-form input:focus-visible { outline: 0; }
.spot-search-form input::placeholder { color: var(--search-hint, var(--muted)); opacity: 1; }
.spot-search-icon { display: grid; flex: none; place-items: center; width: 29px; height: 29px; color: var(--search-accent); }
.spot-search-icon .icon { width: 21px; height: 21px; }
.spot-search-submit { min-height: 42px; min-width: 42px; flex: none; padding: 6px 12px; }
.spot-search-submit .icon { width: 16px; height: 16px; }
.map-list .spot-search-form { background: var(--field); }
.map-list .spot-search-submit { color: var(--search-accent); background: var(--surface); border-color: var(--line); }
.map-list .spot-search-submit:hover { background: var(--search-tint); border-color: var(--search-tint); }
.search-popup {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(360px, 54vh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 6px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 8px 24px #00000020;
}
.search-group + .search-group { margin-top: 6px; padding-top: 3px; border-top: 1px solid var(--line); }
.search-group-title { color: var(--muted); font-size: .8125rem; font-weight: 680; padding: 7px 9px 5px; }
.search-option { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 9px; border-radius: 8px; cursor: pointer; }
.search-option:hover, .search-option[aria-selected=true] { background: var(--light); }
.search-option[aria-selected=true] { box-shadow: inset 3px 0 var(--accent-dark); }
.search-option-icon { display: grid; flex: none; place-items: center; width: 29px; height: 29px; border-radius: 7px; color: var(--accent-dark); background: var(--field); }
.search-option-icon .icon { width: 16px; height: 16px; }
.search-option strong, .search-option small { display: block; overflow-wrap: anywhere; }
.search-option strong { font-size: 14px; }
.search-option small { color: var(--muted); font-size: .8125rem; }
.search-popup .search-status { margin: 0; padding: 7px 9px; font-size: 13px; color: var(--muted); }
.search-status:empty { display: none; }
.search-area { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 5px 7px 5px 11px; border-radius: 12px; background: var(--light); font-size: 13px; overflow-wrap: anywhere; }
.search-area .button { min-height: 32px; padding: 4px 7px; flex: none; font-size: 12px; }
@media (max-width: 625px) {
  .search-popup { max-height: min(320px, 43vh); }
}

.map-page-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: var(--field);
}
.map-page-shell > .header { flex: none; border-bottom: 0; }
.map-page-shell .header-inner { width: min(calc(100% - clamp(28px, 4.8vw, 64px)), 1500px); }
.map-page-shell > .page {
  display: flex;
  width: 100%;
  min-height: 0;
  padding: 0;
}
.map-layout {
  position: relative;
  display: grid;
  flex: 1;
  min-width: 0;
  grid-template-columns: clamp(300px, 28vw, 400px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}
.map-layout .map-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 15px 15px;
  border: 0;
  border-inline-end: 1px solid var(--line);
  border-radius: 0;
}
.map-sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; }
.map-sidebar-heading h1 { font-size: clamp(23px, 2.4vw, 31px); font-weight: 650; overflow-wrap: anywhere; }
.map-sidebar-footer { margin-top: auto; padding-top: 22px; color: var(--muted); font-size: 12px; }
.map-sidebar-toggle, .map-sidebar-close { display: none; }
.map-layout > .map-panel { min-width: 0; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
.map-layout > .map-panel > .map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-canvas[data-loading] { visibility: hidden; opacity: 0; }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 20px; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .map-canvas:has(+ .map-loading) { transition: opacity 200ms ease-out; }
}
.map-controls { display: grid; gap: 10px; }
.map-controls .spot-search-form { border-radius: 999px; background: var(--surface); --search-accent: var(--guide-accent); --search-tint: var(--selection-tint); }
.map-layout .list-card { border-radius: 14px; }
.map-layout .list-card img, .map-layout .list-card-placeholder { border-radius: 9px; }
.map-results-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 10px; margin: 15px 0 9px; }
.map-results-heading h2 { font-size: 19px; }
.map-results-heading .status { font-size: 12px; margin: 0; }
.map-results .list-card { position: relative; isolation: isolate; }
.list-card-placeholder { flex: none; }
.map-results .list-card-content { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.map-results .list-card .guide-row:not(:empty) { display: grid; justify-items: start; gap: 5px; }
.list-card-placeholder { background: var(--light); }
.list-card-placeholder .icon { width: 25px; height: 25px; }
.map-results .list-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }
.map-results .list-card h3 a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.map-results .list-card .map-focus { position: relative; z-index: 1; width: 30px; height: 30px; margin: 0; padding: 0; }
.map-results .map-list-credit { position: relative; z-index: 1; }
.map-list-credit summary { width: fit-content; min-height: 24px; line-height: 24px; }
.map-list-credit summary:hover { text-decoration: underline; }
.map-list-credit p { margin: 0 0 4px; }
.map-filters { background: var(--field); border: 1px solid var(--line); border-radius: 14px; }
.map-filters summary { display: flex; align-items: center; gap: 8px; min-height: 43px; padding: 7px 11px; cursor: pointer; font-size: 14px; font-weight: 690; list-style: none; }
.map-filters summary::-webkit-details-marker { display: none; }
.map-filters summary > .icon { color: var(--guide-accent); }
.map-filters summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -3px 2px 0 auto; }
.map-filters[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.filter-count { display: inline-grid; place-items: center; border-radius: 999px; min-width: 22px; height: 22px; padding: 0 5px; background: var(--guide-accent); color: #fff; font-size: 12px; }
.filter-panel { display: grid; gap: 13px; padding: 2px 11px 11px; }
.filter-panel fieldset { display: grid; gap: 7px; border: 0; min-width: 0; padding: 0; margin: 0; }
.filter-panel legend { padding: 0 0 6px; font-weight: 690; font-size: 13px; }
.filter-panel .search-field { background: var(--surface); }
.filter-panel .search-field input { font-size: 13px; padding-block: 7px; }
.month-options, .rating-options { display: grid; gap: 4px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.month-options > :first-child { grid-column: 1 / -1; }
.rating-options { grid-template-columns: repeat(3,minmax(0,1fr)); }
.filter-option { position: relative; display: flex; min-width: 0; }
.filter-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.month-reset, .filter-option > span { color: var(--ink); display: flex; flex: 1; justify-content: center; align-items: center; gap: 3px; min-height: 34px; text-align: center; padding: 3px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; background: var(--surface); cursor: pointer; }
.month-reset[aria-pressed=true], .filter-option input:checked + span { background: var(--light); border-color: var(--accent); color: var(--accent-dark); font-weight: 700; }
.filter-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.map-filters .filter-option input:checked:not([value=""]) + span { background: var(--selection-tint); border-color: var(--guide-accent); color: var(--selection-ink); }
.map-filters :focus-visible, .map-filters .filter-option input:focus-visible + span { outline: 2px solid var(--guide-accent); outline-offset: 2px; }
.species-selection button, .species-option { border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; background: var(--surface); color: var(--ink); font: inherit; font-size: 12px; text-align: left; }
.species-selection button { background: var(--selection-tint); border-color: var(--guide-accent); color: var(--selection-ink); font-weight: 650; }
.species-options { display: flex; flex-wrap: wrap; gap: 4px; }
.species-options:empty { display: none; }
.species-option:hover, .species-option[aria-pressed=true] { background: var(--selection-tint); color: var(--selection-ink); }
.filter-empty { font-size: 12px; }
.radius-control { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.radius-control output { color: var(--accent-dark); background: var(--light); padding: 2px 7px; border-radius: 7px; font-weight: 700; min-width: 50px; text-align: center; }
.radius-control output[data-active=true] { color: var(--selection-ink); background: var(--selection-tint); }
.radius-control input { width: 100%; grid-column: 1/-1; margin: 0; accent-color: var(--guide-accent); min-height: 26px; }
.radius-scale { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); white-space: nowrap; }
.filter-panel .status { font-size: 12px; margin: 0; }
#reset-map-filters { min-height: 33px; font-size: 12px; }
.map-panel .leaflet-control-zoom { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; box-shadow: var(--shadow); }
.map-panel .leaflet-control-zoom a { background: var(--surface); border-color: var(--line); color: var(--ink); }
.map-panel .leaflet-control-zoom a:hover { background: var(--light); }
.map-layout .leaflet-control-zoom a { background: transparent; color: inherit; }
.map-layout .leaflet-control-zoom a:hover { background: var(--selection-tint); color: var(--selection-ink); }
.map-layout .leaflet-control-zoom a.leaflet-disabled { color: var(--muted); }
.map-panel .map-preview-popup .leaflet-popup-content-wrapper { padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); color: var(--ink); box-shadow: 0 12px 30px #00000029; }
.map-preview-popup .leaflet-popup-content { margin: 0; min-width: 0; }
.map-panel .map-preview-popup .leaflet-popup-tip { background: var(--surface); }
.map-panel .map-preview-popup a.leaflet-popup-close-button { display: grid; place-items: center; width: 29px; height: 29px; top: 8px; right: 8px; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px #00000024; font-size: 20px; }
.map-preview-popup a.leaflet-popup-close-button { z-index: 1; }
.map-spot-preview { position: relative; isolation: isolate; }
.map-spot-preview .map-preview-action::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 17px; }
.map-spot-preview .map-preview-action:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -3px; }
.map-spot-preview :is(.guide-info-button, .list-credit summary, .list-credit a) { position: relative; z-index: 2; }
.map-spot-preview .list-credit summary { width: fit-content; }
.map-preview-photo, .map-preview-placeholder { height: clamp(72px,18vh,145px); width: 100%; background: var(--field); }
.map-preview-photo { object-fit: cover; }
.map-preview-placeholder { display: grid; place-items: center; color: var(--accent); }
.map-preview-placeholder .icon { font-size: 27px; }
.map-preview-body { display: grid; gap: 5px; padding: 10px 12px 12px; }
.map-preview-body h3 { font-size: 20px; }
.map-preview-body p { margin: 0; line-height: 1.3; }
.map-preview-location { font-size: 12px; color: var(--accent-dark); font-weight: 650; }
.map-preview-species { font-size: 12px; }
.map-preview-meta { display: flex; gap: 4px; flex-wrap: wrap; }
.map-preview-meta span { background: var(--light); color: var(--ink); padding: 3px 6px; border-radius: 7px; font-size: 11px; }
.map-preview-meta:empty { display: none; }
.map-panel .map-preview-action { color: var(--on-primary); min-height: 33px; margin-top: 3px; padding-block: 5px; }
.map-panel .map-preview-action:hover { color: #fff; }
.map-preview-body .credit a { color: var(--accent-dark); }

@media (max-width: 700px) {
  .map-page-shell .header-inner { width: calc(100% - 24px); }
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .map-sidebar-toggle {
    position: absolute;
    display: inline-flex;
    z-index: 2;
    left: 50%;
    bottom: max(22px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    min-height: 44px;
  }
  .map-sidebar-toggle[aria-expanded=true] { display: none; }
  .map-layout .map-list {
    display: none;
    position: absolute;
    z-index: 3;
    inset: auto 5px 5px;
    max-height: 78%;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 8px 32px #0003;
  }
  .map-sidebar-toggle[aria-expanded=true] ~ .map-list { display: flex; }
  .map-sidebar-close { display: grid; }
  .map-layout .map-message { bottom: 74px; }
  .map-layout .journey-location-status { bottom: 108px; }
}

.page-home .card-media { position: relative; }
.photo-credit { position: absolute; right: 8px; bottom: 8px; z-index: 2; }
.photo-credit > summary {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  list-style: none;
  cursor: pointer;
}
.photo-credit > summary::-webkit-details-marker { display: none; }
.photo-credit > summary span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #222;
  font: 730 13px/1 system-ui, sans-serif;
  box-shadow: 0 2px 6px #00000032;
}
.photo-credit > summary:hover span, .photo-credit[open] > summary span { background: #f1f1f1; }
.photo-credit-content {
  position: absolute;
  right: 0;
  bottom: calc(100% + 3px);
  width: min(240px, calc(100vw - 92px));
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow), 0 4px 15px #00000021;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.photo-credit-content p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.photo-credit-content a { text-underline-offset: 2px; }
.card-media .photo-credit-content { max-height: 96px; overflow: auto; }
.list-photo-credit { inset: auto auto 0 0; }
.list-photo-credit > summary { width: 29px; height: 29px; }
.list-photo-credit > summary span { width: 22px; height: 22px; }
.list-photo-credit > summary .icon { width: 13px; height: 13px; }
.list-photo-credit .photo-credit-content {
  inset: calc(100% + 5px) auto auto 0;
  width: min(230px, calc(100vw - 70px));
  max-height: min(145px, 28vh);
  overflow: auto;
}

/* One Scoutd recommendation design for cards, filters and the legend. */
.guide-row, .guide-rating { display: flex; align-items: center; gap: 5px; }
.guide-row { flex-wrap: wrap; }
.guide-rating { flex: none; }
.guide-row:empty { display: none; }
.detail-guide-row { color: var(--muted); margin-bottom: 8px; }
.guide-badge {
  display: inline-flex;
  flex: none;
  gap: 4px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--rating-color, var(--guide-accent));
  color: #fff;
  line-height: 1;
  vertical-align: middle;
}
.guide-badge .icon { width: 15px; height: 15px; }
.guide-info-button {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font: 650 10px/1 system-ui, sans-serif;
}
.guide-info-button::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #0004;
  border-radius: 50%;
  pointer-events: none;
}
.guide-info-button:hover { background: var(--light); color: var(--ink); }
.rating-options .filter-option > span { flex-wrap: wrap; }
.rating-options .guide-badge { padding: 3px 5px; gap: 2px; }
.rating-options .guide-badge .icon { width: 12px; height: 12px; }
.list-card .guide-row p { margin: 0; }
.list-card .guide-row { margin-top: 4px; }
.guide-info-dialog {
  width: min(390px, calc(100% - 40px));
  max-height: calc(100% - 40px);
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow), 0 18px 54px #00000032;
}
.guide-info-dialog::backdrop { background: #00000059; backdrop-filter: blur(3px); }
.guide-info-content { padding: 15px 17px; }
.guide-info-content header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.guide-info-content h2 { line-height: 1.15; font-size: 20px; }
.guide-info-close { width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--field); color: var(--accent-dark); font: 22px/1 system-ui, sans-serif; }
.guide-info-content ul { padding: 0; margin: 10px 0 0; list-style: none; }
.guide-info-content li + li { border-top: 1px solid var(--line); margin-top: 7px; padding-top: 7px; }
.guide-info-content p { margin: 5px 0 0; font-size: 13px; }
.guide-info-level { display: flex; align-items: center; gap: 7px; font-size: 14px; }

.map-recommendation-marker { display: grid; place-items: center; }
:is([data-map-level="1"], .guide-badge[data-guide-level="1"]) { --rating-color: #246987; }
:is([data-map-level="2"], .guide-badge[data-guide-level="2"]) { --rating-color: #6B51AE; }
:is([data-map-level="3"], .guide-badge[data-guide-level="3"]) { --rating-color: #A44732; }
.map-marker-symbol {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 5px #00000040;
}
.map-marker-rated {
  background: var(--rating-color);
  color: #fff;
  font: 750 14px/1 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.map-marker-unrated { background: #fff; border-color: #ddd; }
.map-marker-unrated::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #767676;
}
.map-recommendation-marker:is(.has-preview, :focus-visible) .map-marker-symbol {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}
.map-guide-key {
  position: absolute;
  z-index: 650;
  top: 10px;
  right: 10px;
  max-width: calc(100% - 70px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 12px;
}
.map-layout :is(.map-guide-key, .journey-map-location, .leaflet-control-zoom, .map-sidebar-toggle) {
  color: var(--ink);
  background: linear-gradient(145deg, #fffc, #fff5), #f7f7f7c9;
  border-color: #ffffffd9;
  box-shadow: inset 0 1px 1px #fff, 0 4px 16px #0002;
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}
.map-layout .journey-map-location, .map-layout .map-sidebar-toggle > .icon { color: var(--selection-ink); }
.map-layout :is(.journey-map-location, .map-sidebar-toggle):hover { background: var(--surface); }
.map-guide-key:not([open]) { border-radius: 999px; }
.map-guide-key summary { cursor: pointer; padding: 7px 10px; font-weight: 700; }
.map-guide-key ul { display: grid; gap: 6px; margin: 0; padding: 2px 10px 9px; list-style: none; }
.map-guide-key li { display: grid; grid-template-columns: 23px 1fr auto; align-items: center; gap: 6px; }
.map-guide-key .map-marker-symbol { width: 22px; height: 22px; font-size: 12px; box-shadow: none; }
.map-guide-key .guide-badge { padding: 3px 5px; gap: 2px; }
.map-guide-key .guide-badge .icon { width: 11px; height: 11px; }

#journey-form { gap: 15px; }
.journey-places { display: grid; gap: 13px; padding: 10px 11px 11px; border: 1px solid var(--line); border-radius: 17px; background: var(--field); }
.journey-place { position: relative; display: grid; gap: 5px; padding-left: 20px; min-width: 0; }
.journey-place::before { content: ''; position: absolute; width: 8px; height: 8px; left: 2px; top: 6px; border-radius: 50%; border: 2px solid var(--guide-accent); background: var(--surface); }
.journey-place + .journey-place::before { background: var(--guide-accent); }
.journey-place > label { color: var(--ink); }
.journey-place input { min-height: 39px; border-radius: 12px; }
.journey-place #locate { min-height: 32px; padding: 4px 9px; font-size: 12px; }
.journey-place-options { display: grid; gap: 3px; max-height: 210px; overflow: auto; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.journey-place-options:empty { display: none; }
.journey-place-option { display: grid; gap: 2px; width: 100%; min-height: 35px; padding: 5px 7px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); text-align: left; font-size: 13px; }
.journey-place-option:hover, .journey-place-option:focus-visible { background: var(--selection-tint); color: var(--selection-ink); }
.journey-place-option small, .journey-no-targets { color: var(--muted); font-size: 11px; }
.journey-no-targets { padding: 5px 7px; }
.journey-field { min-width: 0; padding: 0; margin: 0; border: 0; }
.journey-field legend { padding: 0; margin-bottom: 6px; color: var(--ink); font-size: 13px; font-weight: 700; }
.journey-season { margin-bottom: 9px; }
#season-dates { display: flex; flex-wrap: wrap; gap: 4px; max-height: 126px; margin-top: 4px; overflow: auto; }
.journey-season-chip { min-height: 28px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--field); color: var(--ink); font-size: 12px; }
.journey-season-chip:hover, .journey-season-chip[aria-pressed=true] { background: var(--selection-tint); border-color: var(--guide-accent); color: var(--selection-ink); }
.journey-presets, .journey-route-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.journey-walking { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 445px; }
.journey-option { position: relative; min-width: 0; }
.journey-option input, .form-stack .journey-option input { position: absolute; left: 0; width: 1px; min-height: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; }
.journey-option > span { display: grid; place-items: center; min-height: 36px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--field); color: var(--ink); text-align: center; font-size: 12px; font-weight: 650; cursor: pointer; }
.journey-option input:checked + span { color: var(--selection-ink); background: var(--selection-tint); border-color: var(--guide-accent); }
.journey-option input:focus-visible + span { outline: 2px solid var(--guide-accent); outline-offset: 2px; }
.journey-option small { color: var(--muted); font-weight: 500; }
.journey-detour-limits { display: grid; gap: 6px; padding: 9px 10px; margin: 7px 0 0; border: 1px solid var(--line); border-radius: 10px; font-size: .8125rem; }
.journey-detour-limits > div, .journey-detour-limits dt { display: flex; align-items: center; gap: 6px; }
.journey-detour-limits > div { justify-content: space-between; }
.journey-detour-limits dd { margin: 0; white-space: nowrap; font-weight: 650; }
.journey-detour-limits .guide-badge { padding: 3px 5px; gap: 2px; }
.journey-detour-limits .guide-badge .icon { width: 12px; height: 12px; }
.journey-submit { width: 100%; justify-content: space-between; }
.journey-filter-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.journey-filter-heading h3 { font-size: 18px; }
.journey-filter-heading .segment, .journey-filter-heading .segment button { border-radius: 999px; }
.journey-filter-heading .segment button[aria-pressed=true] { color: var(--selection-ink); }
.journey-variants { margin: 0 0 13px; padding: 8px 11px 11px; border: 1px solid var(--line); }
.journey-variants legend { padding: 0 4px; margin-left: -4px; }
.journey-route-choices { grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); }
.journey-route-choices .journey-option > span { min-height: 47px; }
.journey-stop-filters { padding: 11px 13px; }
#destination-filter { margin-top: 10px; }

.journey-calendar-trigger { width: 100%; justify-content: flex-start; }
.journey-calendar-trigger[aria-expanded=true] { background: var(--selection-tint); border-color: var(--guide-accent); color: var(--selection-ink); }
.journey-calendar {
  padding: 8px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
}
.journey-calendar-header { display: grid; grid-template-columns: 30px 1fr 30px; gap: 4px; align-items: center; text-align: center; font-size: 13px; }
.journey-calendar-header button { height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); font-size: 20px; line-height: 1; color: var(--accent-dark); }
.journey-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 2px; text-align: center; }
.journey-calendar-weekdays { font-size: 11px; color: var(--muted); margin: 6px 0 3px; }
.journey-calendar-day { min-width: 0; min-height: 28px; padding: 0; border: 1px solid transparent; border-radius: 6px; color: var(--ink); background: transparent; font-size: 12px; }
.journey-calendar-day:hover, .journey-calendar-day.is-in-range { background: var(--selection-tint); color: var(--selection-ink); }
.journey-calendar-day[aria-current=date] { border-color: var(--guide-accent); }
.journey-calendar-day[aria-pressed=true] { background: var(--guide-accent); border-color: var(--guide-accent); color: #fff; font-weight: 700; }
.journey-calendar-footer { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-top: 6px; font-size: 11px; }
.journey-calendar-footer button { background: transparent; border: 0; font-size: 11px; }
.journey-calendar-footer button:disabled { cursor: default; }
.journey-map-location { position: absolute; z-index: 650; top: 10px; right: 10px; width: 38px; min-height: 38px; padding: 0; }
.journey-map-location .icon { width: 20px; height: 20px; }
.journey-location-status { bottom: 35px; }

.map-observation-preview .map-preview-body, .map-route-endpoint-preview .map-preview-body { padding-right: 46px; }
.map-observation-marker:is(.has-preview, :focus-visible) .observation-marker {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}
.journey-map .map-guide-key { right: 56px; max-width: calc(100% - 106px); }

.glass {
  color: #fff;
  background: linear-gradient(148deg, #fff3, #ffffff08 58%, #ffffff17), #09090962;
  border: 1px solid #ffffff75;
  box-shadow: inset 0 1px 1px #ffffff70, inset 0 -1px 2px #ffffff24, 0 4px 18px #0003;
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}
.home-shell > .header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  color: #fff;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.home-shell .header-inner {
  width: min(1180px, calc(100% - 112px));
  min-height: 88px;
}
.home-shell .header .brand { padding: 3px 10px 3px 4px; border-radius: 999px; background: #171717cd; }
.site-nav.glass { background-color: #171717cd; }
.hero-plan:hover { background: #ffffff27; color: #fff; }
.home-shell .header .brand:focus-visible, .home-shell .hero :focus-visible { outline-color: #fff; }
.hero-discover { color: #171717; background: #fff; box-shadow: 0 2px 10px #0002; }
.hero-discover:hover { background: #eee; }
.page-home { width: min(1430px, calc(100% - 48px)); padding-top: 20px; padding-bottom: clamp(52px, 7vw, 100px); }
.home-content { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 50vw, 740px);
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background: #242424;
}
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0007, transparent 25%), linear-gradient(90deg, #0006, #0002 44%, transparent 66%); }
.hero-content { width: min(1180px, calc(100% - 56px)); margin-inline: auto; padding-block: 124px 72px; }
.hero h1 { font-size: clamp(3.3rem, 7.4vw, 7.05rem); font-weight: 650; letter-spacing: -.065em; line-height: 1.04; }
.hero-content p { margin-top: 18px; max-width: 410px; color: #fff; font-size: 1.09rem; }
.hero-links { display: inline-flex; flex-wrap: wrap; gap: 5px; padding: 5px; margin-top: 26px; border-radius: 999px; }
.hero-links .button { min-height: 46px; }
.hero-plan { color: #fff; background: transparent; }
.hero-credit { top: auto; right: 20px; bottom: 17px; }
.hero-credit > summary { width: auto; height: auto; padding: 6px 12px; border-radius: 999px; font-size: .83rem; }
.hero-credit .photo-credit-content { bottom: calc(100% + 6px); }
.page-home .section { margin-top: clamp(64px, 8vw, 118px); }
.page-home .section h2 { font-size: clamp(2rem, 4.2vw, 3.85rem); font-weight: 650; }
.popular-actions, .popular-controls { display: flex; align-items: center; gap: 6px; }
.popular-actions { flex-wrap: wrap; gap: 8px 16px; }
.popular-controls .save-button { width: 36px; height: 36px; }
.popular-controls button[aria-disabled=true] { opacity: .42; cursor: default; }
.popular-controls button[aria-disabled=true]:hover { background: var(--surface); }
.page-home #popular-spots {
  --spot-gap: 18px;
  position: relative;
  display: flex;
  gap: var(--spot-gap);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.page-home #popular-spots::-webkit-scrollbar { display: none; }
.page-home #popular-spots .spot-card {
  flex: 0 0 calc((100% - 2 * var(--spot-gap)) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
@media (prefers-reduced-motion: no-preference) {
  .page-home #popular-spots { scroll-behavior: smooth; }
}
.page-home .spot-card { box-shadow: none; transition: transform .2s, box-shadow .2s; }
.page-home .spot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.page-home .spot-photo { aspect-ratio: 1.55; }
.page-home .spot-card .save-button { color: #fff; background: #0007; border-color: #ffffff75; backdrop-filter: blur(12px); }
.page-home .spot-card .save-button[aria-pressed=true] { color: #171717; background: #fff; }
.page-home .spot-card .save-button[aria-pressed=true] .icon { fill: currentColor; }
.journey-banner, .home-ethics { display: grid; gap: clamp(18px, 3vw, 42px); align-items: center; border: 1px solid var(--line); border-radius: 22px; }
.journey-banner { grid-template-columns: 1fr 1fr; padding: clamp(24px, 4.1vw, 56px); }
.journey-banner .button { margin-top: 20px; }
.home-plan-steps, .home-ethics ul { margin-block: 0; }
.home-plan-steps { padding: 0; list-style: none; }
.home-plan-steps li { display: flex; align-items: start; gap: 13px; padding-block: 13px; }
.home-plan-steps li + li { border-top: 1px solid var(--line); }
.home-plan-steps .icon { width: 38px; height: 38px; padding: 9px; border: 1px solid var(--line); border-radius: 50%; }
.home-plan-steps p { margin: 3px 0 0; font-size: .94rem; }
.home-ethics { grid-template-columns: .85fr 1.15fr; align-items: stretch; gap: 0; overflow: hidden; }
.home-ethics img { height: 100%; min-height: 350px; width: 100%; object-fit: cover; object-position: 75% 50%; }
.home-ethics > div { align-self: center; padding: clamp(23px, 4vw, 56px); }
.home-ethics p { margin-top: 12px; }
.home-ethics ul { padding-left: 21px; margin-top: 13px; }
.home-ethics li + li { margin-top: 6px; }
.home-faq { max-width: 775px; margin-inline: auto; }
.home-faq h2 { margin-bottom: 24px; text-align: center; }
.home-faq details { border: 1px solid var(--line); border-radius: 12px; }
.home-faq details + details { margin-top: 8px; }
.home-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 17px; list-style: none; cursor: pointer; font-weight: 650; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after {
  content: '';
  flex: none;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) center / 11px 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 11px no-repeat;
}
.home-faq details[open] summary::after {
  color: var(--surface);
  border-color: var(--ink);
  background-color: var(--ink);
  background-size: 11px 1px, 0 0;
}
.home-faq details p { padding: 0 44px 16px 17px; }

.detail-heading .detail-actions { align-self: center; }
.detail-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; align-items: start; }
.detail-gallery-pair { grid-template-columns: minmax(0, 1.46fr) minmax(0, 1fr); }
.detail-gallery-photo { min-width: 0; margin: 0; }
.detail-gallery-photo a[data-gallery-photo] { display: block; position: relative; overflow: hidden; border-radius: 13px; background: var(--field); }
.detail-gallery-photo a[data-gallery-photo]:focus-visible { outline-offset: -4px; }
.detail-gallery-photo img { width: 100%; height: clamp(300px, 38vw, 500px); object-fit: cover; transition: transform .25s; }
.detail-gallery-photo a[data-gallery-photo]:hover img { transform: scale(1.03); }
.detail-gallery-more .detail-gallery-photo img { height: auto; aspect-ratio: 1.55; }
.gallery-label { position: absolute; right: 12px; bottom: 12px; padding: 6px 11px; color: #fff; border-radius: 999px; font-size: .85rem; font-weight: 650; }
.detail-plan { padding: clamp(16px, 2vw, 24px); box-shadow: var(--shadow); }
.detail-plan h2 { font-size: 1.65rem; }
.detail-plan dl { gap: 0; margin-bottom: 12px; }
.detail-plan dl div { padding-block: 9px; border-bottom: 1px solid var(--line); }
.detail-plan dd { color: var(--ink); font-weight: 650; }
.detail-directions-text summary { display: list-item; width: fit-content; margin-block: 5px; cursor: pointer; }
.detail-directions-text .directions-less,
.detail-directions-text details[open] .directions-more,
.detail-directions-text:has(details[open]) .detail-directions-preview { display: none; }
.detail-directions-text details[open] .directions-less { display: inline; }
.detail-plan-actions { display: grid; gap: 7px; margin-top: 13px; }
.detail-plan-actions .button { width: 100%; }
.detail-lightbox { width: min(1100px, calc(100% - 24px)); max-height: 92vh; padding: 4px; border: 0; color: #fff; background: transparent; }
.detail-lightbox::backdrop { background: #000d; backdrop-filter: blur(8px); }
.detail-lightbox-header, .detail-lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.detail-lightbox-header { margin-bottom: 8px; }
.detail-lightbox-header h2 { font-size: 1.25rem; }
.detail-lightbox img { width: 100%; height: auto; max-height: 68vh; object-fit: contain; }
.detail-lightbox-controls { margin-top: 8px; font-size: .85rem; }
.detail-lightbox-actions { position: relative; display: flex; align-items: center; gap: 8px; }
.detail-lightbox-credit > summary { display: grid; place-items: center; width: 34px; min-height: 34px; padding: 0; list-style: none; color: var(--muted); cursor: pointer; }
.detail-lightbox-credit > summary::-webkit-details-marker { display: none; }
.detail-lightbox-credit > summary .icon { width: 15px; height: 15px; }
.detail-lightbox-credit-text { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1; width: min(320px, calc(100vw - 40px)); padding: 10px 12px; border-radius: 10px; background: #171717ed; font-size: 12px; overflow-wrap: anywhere; }
.detail-lightbox-credit-text a { text-underline-offset: 2px; }

@media (max-width: 950px) {
  .home-shell .header-inner { width: calc(100% - 78px); }
}
@media (max-width: 780px) {
  .home-shell .header-inner { width: calc(100% - 46px); min-height: 66px; gap: 5px; }
}
@media (max-width: 625px) {
  .page-home { width: calc(100% - 22px); padding-top: 11px; }
  .home-shell > .header { top: 11px; }
  .hero { min-height: 570px; align-items: end; border-radius: 17px; }
  .hero-content { width: calc(100% - 40px); padding-block: 235px 52px; }
  .hero-image { object-position: 74% 24%; }
  .hero::after { background: linear-gradient(180deg, #0008, transparent 28%), linear-gradient(0deg, #000d, #0008 28%, transparent 65%); }
  .hero h1 { font-size: clamp(2.75rem, 10vw, 4.45rem); }
  .hero-content p { margin-top: 12px; font-size: 1rem; }
  .hero-links { margin-top: 15px; border-radius: 20px; }
  .hero-links .button { min-height: 42px; gap: 5px; padding-inline: 9px; font-size: .85rem; }
  .hero-credit { right: 10px; bottom: 10px; }
  .home-content { width: calc(100% - 12px); }
  .popular-actions { width: 100%; justify-content: space-between; }
  .page-home #popular-spots { --spot-gap: 11px; padding: 3px 3px 9px; scroll-padding-inline: 3px; }
  .page-home #popular-spots .spot-card { flex-basis: min(82%, 275px); }
  .journey-banner, .home-ethics { grid-template-columns: minmax(0, 1fr); }
  .home-ethics img { min-height: 0; height: 220px; }
  .home-faq h2 { text-align: left; }
  .detail-heading .detail-actions { align-self: start; }
  .detail-layout-split .detail-sidebar { grid-row: 1; }
  .detail-gallery { gap: 5px; }
  .detail-gallery-photo img { height: clamp(190px, 49vw, 325px); }
  .gallery-label { right: 5px; bottom: 5px; padding: 4px 7px; font-size: .71rem; }
}
@media (max-width: 350px) {
  .hero-links .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .spot-card, .detail-gallery-photo img { transition: none; }
}

/* Travel editorial layout */
:root {
  --display-face: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ink: #222820;
  --ease-out: cubic-bezier(.2,.72,.24,1);
}
.home-shell > .header, .header {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: #fffffff5;
  border-bottom: 1px solid var(--line);
}
.home-shell .header-inner, .header-inner {
  width: min(94%, 1480px);
  min-height: 72px;
}
.home-shell .header .brand { background: transparent; padding: 0; }
.site-nav.glass {
  background: var(--field);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
}
.site-nav a:not([aria-current]):hover { background: var(--light); }
.site-nav a:focus-visible, .home-shell .header .brand:focus-visible { outline-color: var(--ink); }
.page-home { width: 100%; padding-top: 0; }
.hero {
  border-radius: 0;
  min-height: clamp(520px, 71svh, 790px);
}
.hero-content, .home-content { width: min(88%, 1350px); }
.hero-content { padding-block: 70px 100px; }
.hero::after { background: linear-gradient(90deg, #102018ad, #10201836 57%, transparent 78%), linear-gradient(0deg,#10191173,transparent 23%); }
.hero h1, .page-home .section h2, .page-heading h1, .detail-heading h1, .map-sidebar-heading h1, .legal h2, .detail-plan h2 {
  font-family: var(--display-face);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.hero h1 { font-size: clamp(4.5rem, 8.7vw, 9.5rem); }
.hero h1 em { font-weight: inherit; }
.hero-content p { max-width: 37ch; text-wrap: pretty; }
.hero-links { gap: 10px; padding: 0; }
.hero-links .button { padding-inline: 20px; }
.hero-plan { border-color: #ffffff9e; background: #18251d66; }
.hero-index {
  position: absolute;
  bottom: 20px;
  left: max(6%, calc((100% - 1350px) / 2));
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-index::before { content: ''; width: 32px; height: 1px; background: #ffffff9e; }
.hero-index a { padding-block: 5px; font-size: .79rem; text-decoration: none; }
.hero-index a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-content > .section { margin-top: clamp(54px, 6vw, 96px); }
.page-home .section h2 { font-size: clamp(2.5rem, 4.5vw, 4.8rem); }
.page-home #popular-spots .spot-card {
  flex-basis: calc((100% - 3 * var(--spot-gap)) / 4);
  border: 0;
  border-radius: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.page-home .spot-card:hover { transform: none; box-shadow: none; }
.page-home .card-media, .page-home .photo-empty { overflow: hidden; border-radius: 12px; }
.page-home .spot-photo { aspect-ratio: 1.16; }
.page-home .card-body { padding: 14px 3px 4px; gap: 8px; }
.page-home .spot-card h3 { font: 400 clamp(1.45rem, 2vw, 2rem)/1.08 var(--display-face); }
.page-home .spot-card:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; }
.journey-banner { background: var(--field); border: 0; border-radius: 8px; }
.home-ethics { grid-template-columns: 1.1fr 1fr; border: 0; border-radius: 0; }
.home-ethics img { border-radius: 8px; }
.home-ethics ul { list-style: none; padding: 0; margin-top: 24px; }
.home-ethics li { padding-block: 10px; border-top: 1px solid var(--line); }
.home-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 25px; max-width: none; }
.home-faq h2 { text-align: left; }
.home-faq details { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.home-faq details:last-child { border-bottom: 1px solid var(--line); }
.home-faq details + details { margin: 0; }
.home-faq summary { padding: 17px 0; }
.home-faq details p { padding-left: 0; }
.map-layout .map-list { background: var(--field); padding-inline: clamp(14px, 1.5vw, 25px); }
.map-sidebar-heading { padding-block: 4px 14px; border-bottom: 1px solid var(--line); }
.map-sidebar-heading h1 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); }
.detail-heading { padding-block: clamp(8px,2vw,30px); border-bottom: 1px solid var(--line); }
.detail-plan { background: var(--field); box-shadow: none; }
.legal { margin: auto; border: 0; box-shadow: none; line-height: 1.7; }
.legal .page-heading { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 1.85rem; }
.footer { background: var(--field); }
@media (max-width: 960px) {
  .page-home #popular-spots .spot-card { flex-basis: calc((100% - 2 * var(--spot-gap)) / 3); }
}
@media (max-width: 780px) {
  .home-shell .header-inner, .header-inner { min-height: auto; }
  .hero-content, .home-content { width: 91%; }
  .home-faq, .home-ethics { grid-template-columns: minmax(0, 1fr); }
  .home-ethics > div { padding: 26px 0 0; }
}
@media (max-width: 625px) {
  .hero { min-height: 520px; align-items: end; }
  .hero-image { object-position: 79% 24%; }
  .hero::after { background: linear-gradient(0deg, #101911f0, #101911a6 37%, transparent 75%); }
  .hero-content { padding-block: 190px 70px; }
  .hero h1 { font-size: clamp(3.55rem, 13vw, 5.2rem); }
  .hero-links .button { padding-inline: 13px; }
  .hero-index { left: 4.5%; bottom: 15px; gap: 12px; }
  .hero-index::before { width: 16px; }
  .page-home #popular-spots .spot-card { flex-basis: min(77%, 310px); }
  .home-faq { gap: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: editorial-enter .62s var(--ease-out) backwards; }
  .hero-content p { animation-delay: 65ms; }
  .hero-content .hero-links { animation-delay: 110ms; }
  .site-nav a, .button { transition: background-color .18s ease, box-shadow .18s ease; }
  .page-home .spot-photo { transition: transform .48s var(--ease-out); }
  .home-faq details[open] p { animation: editorial-enter .22s var(--ease-out); }
  @media (hover: hover) {
    .page-home .spot-card:hover img.spot-photo { transform: scale(1.035); }
  }
  @media (max-width: 700px) {
    .map-sidebar-toggle[aria-expanded=true] ~ .map-list { animation: editorial-enter .24s var(--ease-out); }
  }
}
@keyframes editorial-enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.language-switch {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.language-switch button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  font: 650 .77rem/1 system-ui, sans-serif;
  letter-spacing: .04em;
}
.language-switch button[aria-pressed=true] { color: white; background: var(--ink); }
@media (max-width: 780px) {
  .header .language-switch { grid-column: 1; grid-row: 1; }
  .header .brand { grid-column: 1; grid-row: 1; }
  .header .site-nav { grid-row: 2; }
}

#language-status { margin: 0; padding: 6px 3%; background: var(--field); color: var(--muted); font-size: .85rem; }

@media (max-width: 700px) {
  .map-page-shell .header-inner { padding-block: 5px; gap: 4px; }

  .map-layout .map-panel {
    --map-bottom-inset: max(8px, env(safe-area-inset-bottom));
  }
  .map-layout .leaflet-bottom { bottom: var(--map-bottom-inset); }
  .map-layout .leaflet-control-attribution {
    padding-inline: 5px;
    background: #fffffff2;
    color: var(--ink);
  }

  .map-layout :is(.map-guide-key, .journey-map-location, .leaflet-control-zoom, .map-sidebar-toggle) {
    background: var(--surface);
    border-color: var(--line);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .map-layout .map-sidebar-toggle {
    bottom: calc(max(8px, env(safe-area-inset-bottom)) + 23px);
    padding-inline: 16px;
  }
  .map-layout .map-sidebar-close,
  .map-layout .journey-map-location,
  .map-layout .leaflet-control-zoom a,
  .map-layout .map-preview-popup a.leaflet-popup-close-button {
    width: 44px;
    height: 44px;
  }
  .map-layout .leaflet-control-zoom a { line-height: 44px; }
  .map-layout .map-guide-key summary {
    display: list-item;
    min-height: 44px;
    padding: 11px 12px;
    font-size: 13px;
  }
  .map-layout .map-preview-body {
    max-height: 42dvh;
    overflow-y: auto;
  }
  .map-layout .map-preview-action { min-height: 44px; }
  .map-layout .map-recommendation-marker .map-marker-symbol {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
}
