:root {
  color-scheme: light;
  --bg: #F6F7F8;
  --surface: #FFFFFF;
  --ink: #16151C;
  --muted: #565D64;
  --line: #E0E4E8;
  --accent: #7560B3;
  --accent-dark: #624D9C;
  --light: #EEEAFB;
  --field: #F0F2F4;
  --primary: #111115;
  --on-primary: #FFFFFF;
  --marker: #7560B3;
  --shadow: 0 6px 20px #19212B10, 0 2px 5px #19212B06;
  --map-surface: #E8ECEE;
  --nature-accent: #D5EFEC;
  --hero-paper: #FAFBFC;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
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: -.035em; }
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 { 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: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 9px; text-decoration: none; font-size: 26px; font-weight: 780; letter-spacing: -.07em; }
.brand img { flex: none; border-radius: 9px; }
.brand-dot { color: var(--accent); }
nav { display: flex; align-items: center; gap: 4px; padding: 4px; background: var(--field); border: 1px solid var(--line); border-radius: 999px; }
nav a { padding: 9px 13px; text-decoration: none; color: var(--muted); border-radius: 999px; display: flex; align-items: center; gap: 7px; font-weight: 650; font-size: 14px; white-space: nowrap; }
nav a:hover, nav a[aria-current] { color: var(--accent-dark); background: var(--light); }
nav a[aria-current] { box-shadow: 0 2px 7px #342a5212; }
.page { flex: 1; padding-block: 35px 74px; }
.hero {
  min-height: clamp(408px, 43vw, 550px);
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg,var(--hero-paper) 0%,color-mix(in srgb,var(--hero-paper) 88%,transparent) 30%,color-mix(in srgb,var(--hero-paper) 50%,transparent) 47%,transparent 63%), url('/assets/basstoelpel.webp');
  background-position: center, center 55%;
  background-size: cover;
  background-color: var(--field);
  border: 1px solid #fff9;
  border-radius: 27px;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: #16151c;
}
.hero-content { padding: 46px clamp(29px, 5.7vw, 81px); max-width: 645px; }
.hero h1 { font-size: clamp(44px, 5.5vw, 76px); font-weight: 730; letter-spacing: -.068em; line-height: 1.01; max-width: 530px; }
.hero p { color: #454D52; margin-top: 18px; max-width: 360px; font-size: 16px; line-height: 1.55; }
.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; }
.hero-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; font-size: 14px; font-weight: 680; color: #4c3c76; text-underline-offset: 3px; }
.hero-links { display: flex; flex-wrap: wrap; column-gap: 20px; }
.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: 9px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}
.primary { background: var(--primary); color: var(--on-primary); }
.primary:hover { background: var(--accent-dark); 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: #C7BAE9; }
.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); }
.journey-banner { margin-top: 46px; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(21px,4vw,39px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--surface); }
.journey-banner > div > .icon { box-sizing: content-box; padding: 8px; border-radius: 9px; background: var(--light); color: var(--accent-dark); }
.journey-banner h2 { margin-top: 8px; }
.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 #102b1817; 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 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 #342a5218; }
.account-panel { max-width: 450px; padding: 22px; }
.suggestion-panel { max-width: 640px; padding: clamp(18px,3vw,30px); }
.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-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.suggestion-section { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); }
.suggestion-section summary { cursor: pointer; font-size: .875rem; font-weight: 650; }
.suggestion-fields { display: grid; gap: 11px; margin-top: 12px; }
.suggestion-fields label small { font-weight: 400; color: var(--muted); }
.suggestion-fields .suggestion-months > :first-child { grid-column: auto; }
#suggestion-sign-in .button { margin-top: 10px; }
#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; }
.detail-season { display: flex; align-items: flex-start; gap: 7px; width: fit-content; max-width: 100%; margin-top: 10px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: .875rem; }
.detail-season > .icon { margin-top: .14em; color: var(--accent-dark); }
.detail-season p { margin: 0; }
.detail-season strong { margin-inline-start: 4px; color: var(--ink); font-weight: 650; }
.detail-media { margin: 0; max-width: 100%; }
.detail-media > img { border-radius: var(--radius); width: 100%; height: clamp(240px,43vw,505px); object-fit: cover; background: var(--field); }
.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; background: color-mix(in srgb, var(--surface) 58%, var(--nature-accent)); }
.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: #C7BAE9; }
.trail-info { margin-bottom: 11px; }
.trail-restrictions { padding-left: 22px; color: var(--muted); }
@media (max-width: 850px) {
  .container { width: min(100% - 36px, 1312px); }
  .header-inner { gap: 11px; }
  nav { gap: 2px; }
  nav a { padding-inline: 8px; }
  nav a .icon { display: none; }
  .spot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 625px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 7px; padding-block: 9px; }
  nav { width: 100%; justify-content: space-between; }
  nav a { flex-direction: column; flex: 1; gap: 3px; font-size: min(2.7vw, 12px); padding: 5px 2px; }
  nav a .icon { display: inline-block; width: 18px; height: 18px; }
  .brand { font-size: 22px; }
  .brand img { width: 30px; height: 30px; }
  .page { padding-block: 20px 38px; }
  .hero { min-height: auto; padding-top: clamp(169px, 54vw, 330px); background: var(--surface); position: relative; }
  .hero::before { position: absolute; inset: 0 0 auto; height: clamp(169px, 54vw, 330px); content: ''; background: url('/assets/basstoelpel.webp') 71% 47% / cover; }
  .hero-content { position: relative; }
  .hero h1 { color: var(--ink); }
  .hero p { color: var(--muted); }
  .hero-link { color: var(--accent-dark); }
  .hero-content { padding: 24px 17px; }
  .hero h1 { font-size: clamp(36px, 10vw, 55px); }
  .hero p { font-size: 15px; margin-top: 10px; }
  .section { margin-top: 32px; }
  .section-heading, .journey-banner, .detail-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; }
.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; }
.discover-section .section-heading p:empty { display: none; }
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #181A1D; --surface: #232629; --ink: #F1F2F3; --muted: #BEC3C7; --line: #3A3F44;
    --accent: #B7A2F1; --accent-dark: #C7B7F6; --light: #3C335B; --field: #202326;
    --primary: #F1F2F3; --on-primary: #17191B; --shadow: 0 6px 20px #00000030, 0 2px 5px #00000020;
    --map-surface: #282D31; --nature-accent: #263F40;
  }
  .status[data-error=true] { color: #f4a6ab; }
  .primary:hover { color: #16151C; }
  .save-button[aria-pressed=true] .icon { fill: var(--accent-dark); }
}

.hero { overflow: visible; }
.spot-search-wrap { position: relative; }
.hero .spot-search-wrap { margin-top: 24px; max-width: 446px; }
.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); }
.hero-search {
  --search-accent: #624d9c;
  --search-tint: #eeeafb;
  --search-hint: #56505e;
  color-scheme: light;
  min-height: 58px;
  background: #fff;
  color: #211b2a;
  border-color: #ded9e6;
  box-shadow: 0 4px 15px #20213517;
}
.hero-search .spot-search-submit { background: var(--search-accent); color: #fff; padding-inline: 17px; }
.hero-search .spot-search-submit:hover { background: #503c83; }
.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 #20183226;
}
.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, .hero .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) {
  .hero::before { border-radius: 26px 26px 0 0; }
  .hero .spot-search-wrap { margin-top: 17px; }
  .hero-search .spot-search-submit { padding-inline: 10px; }
  .hero-search .spot-search-icon { width: 21px; }
  .hero-search .search-field { gap: 5px; }
  .search-popup { max-height: min(320px, 43vh); }
}

.map-page-shell { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
.map-page-shell > .header { flex: none; }
.map-page-shell > .page { display: flex; width: 100%; min-height: 0; padding: 0; }
.map-layout { position: relative; display: grid; flex: 1; width: 100%; min-width: 0; grid-template-columns: clamp(300px, 27vw, 390px) 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: 18px 14px; 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 15px; }
.map-sidebar-heading h1 { font-size: clamp(22px, 2.2vw, 28px); }
.map-sidebar-footer { margin-top: auto; padding-top: 18px; 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-controls { display: grid; gap: 10px; }
.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; }
.map-results .list-card > img, .list-card-placeholder { flex: none; }
.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: 10px; }
.map-results .list-card h3 a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.map-results .list-card :is(.map-focus, .list-credit summary, .list-credit a) { position: relative; z-index: 1; }
.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(--accent-dark); }
.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(--light); color: var(--accent-dark); 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; }
.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(--light); color: var(--accent-dark); 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(--light); }
.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 input { width: 100%; grid-column: 1/-1; margin: 0; accent-color: var(--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-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 #241a4a35; }
.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 #201b2e32; font-size: 20px; }
.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-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%); border-radius: 999px; box-shadow: var(--shadow); }
  .map-layout .map-list { display: none; position: absolute; z-index: 3; inset: auto 0 0; max-height: 76%; padding-bottom: max(18px, env(safe-area-inset-bottom)); border: 1px solid var(--line); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 32px #211a3626; }
  .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 :is(.hero, .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 #ECE9F2;
  background: #fff;
  color: #7555B7;
  font: 730 13px/1 system-ui, sans-serif;
  box-shadow: 0 2px 6px #201b2e4a;
}
.photo-credit > summary:hover span, .photo-credit[open] > summary span { background: #EEEAFB; }
.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 #211b3230;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.photo-credit-content p, .hero .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; }
.hero-credit { right: 12px; top: 12px; bottom: auto; }
.hero-credit .photo-credit-content { top: calc(100% + 3px); bottom: 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-top: 9px; }
.guide-badge {
  display: inline-flex;
  flex: none;
  gap: 4px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #735EB1;
  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: 23px;
  height: 23px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #735EB1;
  color: #fff;
  font: 730 12px/1 system-ui, sans-serif;
}
.guide-info-button:hover { background: #604A9A; }
.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 #241a4a40;
}
.guide-info-dialog::backdrop { background: #20163559; 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; }
.map-panel [data-map-level="1"] { --map-rating-color: #246987; }
.map-panel [data-map-level="2"] { --map-rating-color: #6B51AE; }
.map-panel [data-map-level="3"] { --map-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 #2d234c59;
}
.map-marker-rated {
  background: var(--map-rating-color);
  color: #fff;
  font: 750 14px/1 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.map-marker-unrated { background: #fff; border-color: #d9d4e3; }
.map-marker-unrated::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #797286;
}
.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-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; background: var(--map-rating-color); }
.map-guide-key .guide-badge .icon { width: 11px; height: 11px; }

#journey-form { gap: 12px; }
.journey-places { display: grid; gap: 13px; padding: 10px 11px 11px; border: 1px solid var(--line); border-radius: 14px; 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(--accent); background: var(--surface); }
.journey-place + .journey-place::before { background: var(--accent); }
.journey-place > label { color: var(--ink); }
.journey-place input { min-height: 39px; }
.journey-place #locate { min-height: 32px; padding: 4px 7px; border-radius: 8px; 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(--light); }
.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(--light); border-color: var(--accent); color: var(--accent-dark); }
.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(--accent-dark); background: var(--light); border-color: var(--accent); }
.journey-option input:focus-visible + span { outline: 2px solid var(--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-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(--light); border-color: var(--accent); }
.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(--light); color: var(--accent-dark); }
.journey-calendar-day[aria-current=date] { border-color: var(--accent); }
.journey-calendar-day[aria-pressed=true] { background: #735EB1; border-color: #735EB1; 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; color: #256BD2; box-shadow: var(--shadow); }
.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); }
