/* =========================================================================
   Countrylife Festival – festivalguide
   Färger och former är hämtade ur kartan och headern så att appen känns som
   samma familj som det tryckta materialet.
   ========================================================================= */

:root {
  /* Varumärkesfärger */
  --cream:      #F7EDE0;
  --cream-deep: #F0E0CD;
  --card:       #FFFBF4;
  --ink:        #2B322E;
  --ink-soft:   #6C6259;
  --green:      #1D4D39;
  --green-dark: #143528;
  --sun:        #E2703A;
  --sun-soft:   #F3A96A;
  --line:       #E1D0BA;
  --line-soft:  #EDE0CE;

  --bg:         var(--cream);
  --surface:    var(--card);
  --text:       var(--ink);
  --text-soft:  var(--ink-soft);
  --accent:     var(--green);
  --accent-ink: #FFFBF4;
  --brand-ink:  var(--green);   /* ordmärket i toppraden */
  --link:       var(--green);   /* textlänkar i kort */
  --tab-on:     var(--green);   /* aktiv flik i bottenraden */

  --radius:     16px;
  --radius-sm:  11px;
  --shadow:     0 1px 2px rgba(43,50,46,.06), 0 8px 24px -12px rgba(43,50,46,.22);
  --shadow-lg:  0 -8px 40px -12px rgba(43,50,46,.35);

  --veil:       rgba(43, 33, 24, .55);   /* tonar ner kartan runt markerad plats */
  --page:       #EFE2D0;                 /* bakgrund utanför appkolumnen (dator) */

  --serif: 'Iowan Old Style', 'Hoefler Text', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --tabbar-h: calc(60px + env(safe-area-inset-bottom));
  --topbar-h: calc(52px + env(safe-area-inset-top));
}

/* Kvällsläge. Två block med samma värden: ett som följer systemets inställning
   (om läsaren inte uttryckligen valt ljust) och ett som följer ett aktivt val. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #191410;
    --surface:   #241D18;
    --text:      #F3E8DA;
    --text-soft: #B3A491;
    --line:      #3A3027;
    --line-soft: #2E251E;
    --cream-deep:#2E251E;
    --accent:    #3E8A63;
    --accent-ink:#0E1A14;
    --brand-ink: #F3E8DA;
    --link:      #F3A96A;
    --tab-on:    #F3A96A;
    --veil:      rgba(16, 12, 9, .72);
    --page:      #120E0B;
    --shadow:    0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
    --shadow-lg: 0 -8px 40px -12px rgba(0,0,0,.8);
  }
}

:root[data-theme="dark"] {
  --bg:        #191410;
  --surface:   #241D18;
  --text:      #F3E8DA;
  --text-soft: #B3A491;
  --line:      #3A3027;
  --line-soft: #2E251E;
  --cream-deep:#2E251E;
  --accent:    #3E8A63;
  --accent-ink:#0E1A14;
  --brand-ink: #F3E8DA;
  --link:      #F3A96A;
  --tab-on:    #F3A96A;
  --veil:      rgba(16, 12, 9, .72);
  --page:      #120E0B;
  --shadow:    0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
  --shadow-lg: 0 -8px 40px -12px rgba(0,0,0,.8);
}

* { box-sizing: border-box; }

/* Klassers display får inte vinna över hidden-attributet */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  padding-bottom: var(--tabbar-h);
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

button { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:where(button, a, [tabindex]):focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------------------------------------------------------------- Toppbar */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  padding-top: env(safe-area-inset-top);
}
.topbar-inner {
  display: flex; align-items: center; gap: 12px;
  max-width: 620px; margin: 0 auto; padding: 8px 16px;
  min-height: 52px;
}
.topbar-brand {
  appearance: none; border: 0; background: none; padding: 0; text-align: left; cursor: pointer;
  display: grid; gap: 1px;
}
.topbar-title {
  font-family: var(--serif); font-size: clamp(16px, 4.6vw, 19px); font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; color: var(--brand-ink);
  line-height: 1.1; white-space: nowrap;
}
.topbar-sub { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--text-soft); }

.live-dot {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sun);
}
.live-dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sun);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }

/* ------------------------------------------------------------------- Vyer */
.view { display: none; animation: fade .22s ease both; }
.view.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wrap { max-width: 620px; margin: 0 auto; padding: 0 16px 32px; }

/* Genvägar som rullar hit ska inte hamna under den fasta toppraden */
#activityBlock, #faqList details { scroll-margin-top: calc(var(--topbar-h) + 14px); }

.view-title {
  font-family: var(--serif); font-size: 30px; line-height: 1.1; margin: 22px 0 6px;
}
.section-title {
  font-family: var(--serif); font-size: 21px; margin: 30px 0 4px;
}
.section-lead { margin: 0 0 14px; color: var(--text-soft); font-size: 14px; }

/* ------------------------------------------------------------------- Hero */
.hero { background: var(--cream-deep); line-height: 0; }
.hero img { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------ Statuskort */
.status-card {
  margin-top: 18px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  box-shadow: var(--shadow);
}
.status-card .status-kicker {
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  opacity: .75; display: block; margin-bottom: 4px;
}
.status-card .status-main { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.status-card .status-sub { font-size: 13.5px; opacity: .85; margin-top: 4px; }
.status-card .status-link {
  appearance: none; border: 1px solid color-mix(in srgb, var(--accent-ink) 45%, transparent);
  background: transparent; color: inherit; border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; margin-top: 12px; cursor: pointer;
}

/* --------------------------------------------------------- Senaste nytt */
.news { display: grid; gap: 9px; }
.newsitem {
  display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: start;
  padding: 13px 15px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--sun) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--sun) 38%, transparent);
}
.newsitem time {
  font-weight: 800; font-size: 13.5px; color: var(--sun);
  font-variant-numeric: tabular-nums; padding-top: 1px;
}
.newsitem b { display: block; font-size: 15px; line-height: 1.3; }
.newsitem p { margin: 3px 0 0; font-size: 13.5px; color: var(--text-soft); }

/* --------------------------------------------------------- Snabbnavigering */
.quicknav { display: grid; gap: 10px; margin-top: 8px; }
.quick {
  appearance: none; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); padding: 14px 16px; cursor: pointer;
  display: grid; grid-template-columns: 40px 1fr 16px; align-items: center; gap: 12px;
  text-align: left; box-shadow: var(--shadow); transition: transform .12s ease;
}
.quick:active { transform: scale(.985); }
.quick-ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: 19px;
}
.quick-txt b { display: block; font-size: 16px; }
.quick-txt small { color: var(--text-soft); font-size: 12.5px; }
.quick-arr { color: var(--text-soft); font-size: 20px; text-align: right; }

/* ------------------------------------------------------- Hitta på området */
.findgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.find {
  appearance: none; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius-sm); padding: 12px 8px 10px; cursor: pointer;
  display: grid; justify-items: center; gap: 7px; text-align: center;
  font-size: 12.5px; font-weight: 600; line-height: 1.25;
  transition: transform .12s ease;
}
.find:active { transform: scale(.96); }
.find img { width: 34px; height: 34px; display: block; }
.find .find-badge {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: #2F3A38; color: #F0E3CB; font-size: 13px; font-weight: 800; letter-spacing: .04em;
}

/* --------------------------------------------------------------- Schema */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.chip {
  appearance: none; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); border-radius: 999px; padding: 8px 15px; font-size: 13.5px;
  font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.schedule { display: grid; gap: 9px; }
.gig {
  display: grid; grid-template-columns: 62px 1fr 42px; align-items: center; gap: 10px;
  padding: 13px 8px 13px 14px; background: var(--surface);
  border: 1px solid var(--line); border-left: 4px solid var(--line);
  border-radius: var(--radius-sm);
}
.gig--coastline { border-left-color: var(--sun); }
.gig--saloon { border-left-color: var(--accent); }
/* Aktiviteter är lugnare i uttrycket än konserterna */
.gig--aktivitet {
  border-left-style: dashed; border-left-color: var(--text-soft);
  background: color-mix(in srgb, var(--surface) 88%, var(--cream-deep));
}
.gig--aktivitet b { font-weight: 650; }
.gig time { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.gig .gig-end { display: block; font-size: 11px; font-weight: 500; color: var(--text-soft); }
.gig .gig-approx {
  display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-soft); line-height: 1.4;
}
.gig b { display: block; font-size: 15.5px; line-height: 1.25; }
.gig span.gig-stage { font-size: 12px; color: var(--text-soft); }
.gig.is-now {
  border-color: var(--sun); background: color-mix(in srgb, var(--sun) 10%, var(--surface));
  position: relative; overflow: hidden;
}
/* Tunn linje längst ner som visar hur långt in i spelningen vi är */
.gig.is-now::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px;
  width: var(--played, 0%); background: var(--sun); transition: width 30s linear;
}
.gig.is-next { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.gig.is-past { opacity: .5; }
.now-badge, .next-badge {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  vertical-align: 1px; white-space: nowrap;
}
.now-badge { background: var(--sun); color: #fff; }
.next-badge { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--link); }
.fav {
  appearance: none; border: 0; background: none; cursor: pointer; font-size: 21px;
  line-height: 1; color: var(--line); padding: 6px; justify-self: end;
}
.fav[aria-pressed="true"] { color: var(--sun); }

.empty { padding: 26px 16px; text-align: center; color: var(--text-soft); font-size: 14px; }

/* ----------------------------------------------------------------- Karta */
.view--map.is-active { display: flex; flex-direction: column; height: calc(100dvh - var(--topbar-h) - var(--tabbar-h)); }
.map-shell { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.map-viewport {
  position: relative; flex: 1; min-height: 0; overflow: hidden;
  background: var(--cream-deep); touch-action: none; cursor: grab;
  contain: layout paint;          /* håll omritningen innanför kartrutan */
}

/* Medan kartan är framme har topp- och bottenraden ingen bakgrundsoskärpa –
   den tvingar mobilen att räkna om hela ytan varje gång kartan flyttas. */
body.map-open .topbar,
body.map-open .tabbar { backdrop-filter: none; background: var(--bg); }
.map-viewport.is-panning { cursor: grabbing; }
.map-canvas { position: absolute; top: 0; left: 0; transform-origin: 0 0; will-change: transform; }
.map-canvas.is-animating { transition: transform .45s cubic-bezier(.22,.68,.32,1); }
.map-img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }

/* Spotlight – kartan dimmas och de valda platserna lyser igenom hålen.
   Hålen ritas av JS i #spotHoles (koordinater i kartbildens egna pixlar).   */
.map-spot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0; transition: opacity .38s ease;
}
.map-spot.is-on { opacity: 1; }
.map-spot .veil { fill: var(--veil); }

/* Pins ligger osynliga ovanpå kartans egna symboler – ingen dubblering av
   grafiken. De tänds när man filtrerar eller väljer en plats.
   --inv sätts av JS så att träffytan håller samma storlek oavsett zoom.      */
.pins { position: absolute; inset: 0; --inv: 1; }
.pin {
  position: absolute; width: 34px; height: 34px; padding: 0;
  transform: translate(-50%, -50%) scale(var(--inv));
  appearance: none; border: 0; background: none; cursor: pointer;
  transition: opacity .25s ease;
}
.pin-hit {
  display: block; width: 100%; height: 100%; border-radius: 10px;
  border: 2px solid transparent; transition: background .2s ease, border-color .2s ease;
}
.pin.is-marked .pin-hit {
  border-color: var(--sun);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sun) 20%, transparent),
              0 2px 10px rgba(0,0,0,.18);
}
.pin.is-active .pin-hit {
  border-color: var(--sun); border-width: 3px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--sun) 28%, transparent),
              0 3px 14px rgba(0,0,0,.28);
}
.pin::after {
  content: ''; position: absolute; inset: -8px; border-radius: 16px;
  border: 2px solid var(--sun); opacity: 0; pointer-events: none;
}
.pin.is-active::after { animation: ping 1.7s cubic-bezier(.2,.7,.3,1) 3; }
@keyframes ping {
  0%   { opacity: .95; transform: scale(.7); }
  70%  { opacity: 0;   transform: scale(1.45); }
  100% { opacity: 0;   transform: scale(1.45); }
}
.pin.is-dim { opacity: .12; pointer-events: none; }

.pin-tag {
  display: none; position: absolute; bottom: calc(100% + 7px); left: 50%;
  transform: translateX(-50%); white-space: nowrap;
  background: var(--ink); color: #F7EDE0; font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.pin.is-active .pin-tag,
.pin.is-marked.show-tag .pin-tag { display: block; }
.pin.is-marked:not(.is-active) .pin-tag { background: color-mix(in srgb, var(--ink) 88%, transparent); }

.map-tools {
  position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; z-index: 3;
}
.mtool {
  width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--text);
  font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.map-hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  margin: 0; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--ink) 78%, transparent); color: #F7EDE0;
  font-size: 11.5px; letter-spacing: .04em; pointer-events: none;
  transition: opacity .4s ease;
}
.map-hint.is-hidden { opacity: 0; }

.map-filters {
  border-top: 1px solid var(--line-soft); background: var(--bg);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom) / 2);
}
.chips--map { flex-wrap: nowrap; overflow-x: auto; margin: 0; padding-bottom: 2px; scrollbar-width: none; }
.chips--map::-webkit-scrollbar { display: none; }
.chips--map .chip { flex: 0 0 auto; }

/* ------------------------------------------------------------ Bottenpanel */
.sheet {
  position: fixed; left: 0; right: 0; bottom: var(--tabbar-h); z-index: 25;
  background: var(--surface); border-top: 1px solid var(--line);
  border-radius: 20px 20px 0 0; padding: 8px 18px 20px;
  box-shadow: var(--shadow-lg);
  max-width: 620px; margin: 0 auto;
  animation: sheet-up .26s cubic-bezier(.22,.68,.32,1) both;
  max-height: 62dvh; overflow-y: auto;
}
@keyframes sheet-up { from { transform: translateY(102%); } to { transform: none; } }
.sheet-grip { width: 40px; height: 4px; border-radius: 999px; background: var(--line); margin: 0 auto 12px; }
.sheet-head { display: grid; grid-template-columns: 44px 1fr 32px; gap: 12px; align-items: start; }
.sheet-icon img, .sheet-icon .pin-label {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: #2F3A38; color: #F0E3CB; font-size: 15px; font-weight: 800;
}
.sheet-title { font-family: var(--serif); font-size: 21px; margin: 0; line-height: 1.15; }
.sheet-cat { margin: 2px 0 0; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.sheet-close {
  appearance: none; border: 0; background: var(--cream-deep); color: var(--text);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px;
}
.sheet-desc { margin: 12px 0 0; font-size: 14.5px; color: var(--text); }
.sheet-extra { margin-top: 12px; display: grid; gap: 8px; }
.sheet-extra .gig { grid-template-columns: 62px 1fr; }

/* ----------------------------------------------------------------- Kort */
.cards { display: grid; gap: 10px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px;
}
.card-tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--sun); margin-bottom: 5px;
}
.card b { font-family: var(--serif); font-size: 18px; font-weight: 700; display: block; }
.card p { margin: 4px 0 0; font-size: 14px; color: var(--text-soft); }
.card-link {
  appearance: none; border: 0; background: none; padding: 10px 0 0; cursor: pointer;
  color: var(--link); font-size: 13.5px; font-weight: 700;
}
.card-link::after { content: ' ›'; }
.card a.tel { color: var(--link); font-weight: 700; text-decoration: none; font-size: 20px; }

/* ------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 8px; margin-top: 6px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 16px;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 14px 0; font-weight: 650; font-size: 15.5px;
  display: flex; align-items: center; gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; margin-left: auto; font-size: 19px; color: var(--text-soft); font-weight: 400;
}
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 14px; font-size: 14.5px; color: var(--text-soft); }

.offline-note {
  margin-top: 26px; padding: 15px 16px; border-radius: var(--radius);
  border: 1px dashed var(--line); display: grid; gap: 3px;
}
.offline-note b { font-size: 14.5px; }
.offline-note span { font-size: 13.5px; color: var(--text-soft); }

.foot {
  margin: 34px 0 0; text-align: center; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-soft);
}

/* ------------------------------------------------------------- Tabbar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line-soft);
  padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  appearance: none; border: 0; background: none; cursor: pointer;
  display: grid; justify-items: center; gap: 3px; padding: 7px 2px 8px;
  font-size: 10.5px; font-weight: 600; color: var(--text-soft); letter-spacing: .02em;
}
.tab-ico {
  font-size: 17px; line-height: 1; width: 40px; height: 26px; border-radius: 999px;
  display: grid; place-items: center; transition: background .18s ease, color .18s ease;
}
.tab.is-active { color: var(--tab-on); }
.tab.is-active .tab-ico { background: color-mix(in srgb, var(--tab-on) 16%, transparent); }

/* Hemknappen är alltid markerad så man snabbt hittar tillbaka */
.tab[data-go="hem"] .tab-ico {
  background: color-mix(in srgb, var(--tab-on) 14%, transparent); color: var(--tab-on);
}
.tab[data-go="hem"].is-active .tab-ico { background: var(--accent); color: var(--accent-ink); }

/* --------------------------------------------------------- Större skärmar */
/* På dator visas appen som en centrerad kolumn – den är byggd för mobilen och
   ska se ut som en app även på en stor skärm, inte som en utsträckt webbsida. */
@media (min-width: 700px) {
  body { background: var(--page); }

  .topbar {
    max-width: 620px; margin: 22px auto 0; border-radius: 20px 20px 0 0;
    border: 1px solid var(--line); border-bottom-color: var(--line-soft);
    background: var(--bg);
  }
  main {
    max-width: 620px; margin: 0 auto; background: var(--bg);
    border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px;
    overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0,0,0,.45);
    min-height: 60dvh;
  }
  .tabbar {
    max-width: 620px; margin: 0 auto; border-radius: 18px 18px 0 0;
    border: 1px solid var(--line); border-bottom: 0;
    background: var(--bg);
  }
  .hero img { max-width: none; }
  .view--map.is-active { height: calc(100dvh - var(--topbar-h) - var(--tabbar-h) - 24px); }
  .map-filters { display: flex; justify-content: center; }
  .chips--map { flex-wrap: wrap; justify-content: center; max-width: 620px; }
  .sheet { border-radius: 20px 20px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
