/* ========================================================================
   Op pad met Serge — Wildeburg 2026
   Bosfestival-sfeer: donkergroen, warm zand/crème, koraal accent.
   Mobile-first, geen externe fonts/dependencies.
   ======================================================================== */

:root {
  /* Basis */
  --green-900: #142b1e;
  --green-800: #1d3a2a;
  --green-700: #274d38;
  --green-600: #326049;
  --sand-50:  #fbf6ea;
  --sand-100: #f5edd8;
  --sand-200: #ece0c2;
  --sand-300: #ddcda2;
  --ink:      #22301f;
  --ink-soft: #4a5a45;

  /* Accent (hartjes / actief) */
  --coral:      #ff6f4d;
  --coral-dark: #e2542f;
  --gold:       #f2b544;

  /* UI */
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 2px 8px rgba(20, 43, 30, 0.12);
  --shadow-lg:  0 6px 20px rgba(20, 43, 30, 0.18);

  --header-h: 64px;
  --tabbar-h: 66px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

/* Podium-kleuren (herkenbaar in schema én op kaarten) */
:root {
  --stage-wildlive:   #e8623a;
  --stage-strand:     #2aa6c4;
  --stage-helling:    #7b5cd6;
  --stage-budx:       #c8447e;
  --stage-bamboebos:  #3f9e56;
  --stage-duinpan:    #d99b28;
  --stage-studio:     #b0863a;
  --stage-achtertuin: #d8a83c;
  --stage-kas:        #5c9a6f;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--green-800);
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}

/* ---------- Header ---------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  color: var(--sand-50);
  padding: max(env(safe-area-inset-top), 8px) 16px 10px;
  box-shadow: var(--shadow);
}
.app-header__inner { max-width: 900px; margin: 0 auto; }
.app-header__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.2;
}
/* Iets kleiner op smalle toestellen zodat de langere titel netjes wrapt */
@media (max-width: 380px) {
  .app-header__title { font-size: 18px; }
}
.app-header__subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--sand-200);
  font-weight: 500;
}

/* ---------- View / layout ---------- */
.view {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 14px calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 20px);
  background: var(--green-800);
  min-height: calc(100vh - var(--header-h));
}

.section-title {
  color: var(--sand-100);
  font-size: 17px;
  font-weight: 700;
  margin: 18px 4px 8px;
}
.muted { color: var(--sand-300); }

/* ---------- Bottom tabbar ---------- */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  background: var(--green-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
}
.tabbar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 9px 4px 8px;
  min-height: var(--tabbar-h);
  text-decoration: none;
  color: var(--sand-300);
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 12px;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.tabbar__icon { display: block; line-height: 0; }
.tabbar__icon svg { display: block; width: 24px; height: 24px; }

.tabbar__btn.is-active {
  color: var(--coral);
  box-shadow: inset 0 2px 0 var(--coral); /* accent-streep bovenaan de actieve tab */
}
.tabbar__btn.is-active .tabbar__icon { transform: translateY(-1px); }
.tabbar__btn.is-active .tab-ico-heart path { fill: currentColor; } /* hart vult zich */

/* Hover alleen voor muis/trackpad, zodat telefoons geen "plakkende" hover
   houden na een tik. Duidelijk anders dan de actieve tab (pill i.p.v. streep). */
@media (hover: hover) {
  .tabbar__btn:hover {
    color: var(--coral);
    background-color: rgba(255, 111, 77, 0.14);
    transform: translateY(-1px);
  }
}

/* Nette toetsenbord-focus */
.tabbar__btn:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -3px;
}

/* ---------- Zoek / filter ---------- */
.searchbar {
  position: relative;
  margin: 4px 0 12px;
}
.searchbar input {
  width: 100%;
  font-size: 16px;
  font-family: inherit;
  padding: 13px 14px 13px 42px;
  border: none;
  border-radius: var(--radius);
  background: var(--sand-50);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.searchbar input::placeholder { color: #8a8570; }
.searchbar__icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  pointer-events: none;
  opacity: 0.6;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.toggle-chip {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--green-700);
  color: var(--sand-100);
  box-shadow: var(--shadow);
}
.toggle-chip.is-active {
  background: var(--coral);
  color: #fff;
}

.genre-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 6px 0 4px;
}
.genre-chip {
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--sand-200);
  transition: background 0.12s;
}
.genre-chip.is-active {
  background: var(--sand-100);
  color: var(--green-800);
  border-color: var(--sand-100);
}
.genre-more {
  background: none;
  border: none;
  color: var(--coral);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 4px;
}

.result-count {
  color: var(--sand-300);
  font-size: 12.5px;
  margin: 8px 4px 4px;
}

/* ---------- Artiestenkaarten ---------- */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.artist-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: var(--sand-50);
  border-radius: var(--radius);
  padding: 13px 52px 13px 14px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--stage-color, var(--green-600));
  color: var(--ink);
  transition: transform 0.08s ease;
}
.artist-card:active { transform: scale(0.99); }

.artist-card__name {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tip-badge {
  color: var(--gold);
  font-size: 15px;
}
.artist-card__genres,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 4px 0 6px;
}
.mini-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sand-200);
  color: var(--ink-soft);
}
.artist-card__slots {
  font-size: 12.5px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.slot-line-mini { display: flex; gap: 6px; flex-wrap: wrap; }
.slot-line-mini .dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  align-self: center;
  background: var(--stage-color, var(--green-600));
}
.slot-none {
  font-size: 12px;
  font-style: italic;
  color: #9a9075;
}

/* ---------- SVG-hart (zelfde vorm als in de tabbar) ----------
   Outline gedempt wanneer niet-favoriet; koraal gevuld zodra een ouder-element
   .is-fav heeft, of met de altijd-aan variant .heart-ico--on. */
.heart-ico {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.16em;
  color: #b9ad8d; /* gedempte outline op crème kaarten */
  transition: color 0.15s ease;
}
.heart-ico path {
  fill: transparent;
  transition: fill 0.15s ease;
}
.is-fav .heart-ico,
.heart-ico--on { color: var(--coral); }
.is-fav .heart-ico path,
.heart-ico--on path { fill: currentColor; }

/* Context-correcties (na de generieke regels, zodat ze winnen) */
.detail__fav .heart-ico { color: var(--sand-200); }
.detail__fav.is-fav .heart-ico { color: #fff; }
.toggle-chip .heart-ico { color: currentColor; }
.toggle-chip .heart-ico path { fill: transparent; }
.toggle-chip.is-active .heart-ico path { fill: currentColor; }
.route-import__btn--primary .heart-ico { color: #fff; }
.fav-corner .heart-ico { color: #fff; }
.fav-corner .heart-ico path { fill: currentColor; }
.schedule-hint .heart-ico--on { vertical-align: -0.2em; }
.empty-state__emoji .heart-ico { width: 46px; height: 46px; }
.heart-inline .heart-ico { color: var(--coral); }

/* Hartje op de kaart (favoriet) */
.fav-btn {
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  border-radius: 50%;
  font-size: 22px;
  transition: transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.fav-btn:active { transform: scale(1.25); }
.fav-btn .heart-ico { display: block; }

.artist-card .fav-btn {
  position: absolute;
  top: 8px; right: 8px;
}

/* ---------- Artiestdetail ---------- */
.detail {
  background: var(--sand-50);
  border-radius: var(--radius);
  padding: 18px 16px 20px;
  box-shadow: var(--shadow-lg);
  border-top: 8px solid var(--stage-color, var(--green-600));
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-700);
  color: var(--sand-100);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.detail__name {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--green-800);
  line-height: 1.15;
}
.detail__tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold), #e9a11f);
  color: #4a3406;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.detail__desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 12px 0 4px;
}
.detail__desc.is-empty { font-style: italic; color: #8a8163; }

.detail__slots {
  margin: 16px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.slot-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--sand-100);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  border-left: 5px solid var(--stage-color, var(--green-600));
}
.slot-line__day {
  font-weight: 700;
  color: var(--green-800);
  min-width: 82px;
}
.slot-line__body { flex: 1; font-size: 14px; }
.slot-line__time { font-weight: 700; }
.slot-line__stage { color: var(--ink-soft); }
.tag-live, .tag-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.tag-live  { background: var(--coral); color: #fff; }
.tag-label { background: var(--green-600); color: var(--sand-50); font-weight: 700; }

.detail__fav {
  margin-top: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
  border-radius: var(--radius);
  background: var(--green-700);
  color: var(--sand-50);
  box-shadow: var(--shadow);
}
.detail__fav.is-fav { background: var(--coral); color: #fff; }
.detail__fav .big-heart { font-size: 20px; }

/* ---------- Blokkenschema ---------- */
.day-switcher {
  display: flex;
  gap: 8px;
  margin: 2px 0 14px;
}
.day-switcher button {
  flex: 1;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 8px;
  border-radius: var(--radius-sm);
  background: var(--green-700);
  color: var(--sand-200);
  box-shadow: var(--shadow);
}
.day-switcher button small { display: block; font-weight: 500; font-size: 11px; opacity: 0.85; }
.day-switcher button.is-active {
  background: var(--sand-100);
  color: var(--green-800);
}

/* Grid: sticky podiumkolom + horizontaal scrollende tijd-as */
.schedule-scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  background: var(--green-900);
  box-shadow: var(--shadow);
}
.schedule-grid {
  display: grid;
  position: relative;
}
.sched-cell { position: relative; }

/* Dag-band (bovenste kop-rij, sticky) — markeert vr/za/zo op de doorlopende as */
.day-band {
  position: sticky;
  top: 0;
  z-index: 22;
  display: flex;
  align-items: center;
  height: 22px;
  background: var(--green-900);
  overflow: hidden;
}
.day-band.is-boundary { border-left: 2px solid var(--gold); }
.day-band__txt {
  position: sticky;
  left: 120px; /* net voorbij de sticky podium-kolom, zodat het label in beeld blijft */
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--sand-100);
  white-space: nowrap;
  padding-left: 4px;
}

/* Tijd-as (tweede kop-rij, sticky onder de dag-band) */
.time-head {
  position: sticky;
  top: 22px;
  z-index: 20;
  background: var(--green-900);
  color: var(--sand-300);
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  padding: 6px 0 6px 4px;
  border-left: 1px solid rgba(255,255,255,0.06);
  height: 30px;
}
.time-head.is-boundary {
  border-left: 2px solid var(--gold);
  color: var(--sand-100);
  font-weight: 800;
}
.time-head.corner {
  top: 0;
  z-index: 30;
  left: 0;
  background: var(--green-900);
  border-left: none;
}

/* Verticale scheidslijn op dag-grenzen, over de volle hoogte van het grid */
.day-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  opacity: 0.55;
  z-index: 12;
  pointer-events: none;
}

/* Podium-labels (links, sticky) */
.stage-label {
  position: sticky;
  left: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--green-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  min-height: 50px;
}
.stage-label__swatch {
  width: 4px;
  align-self: stretch;
  border-radius: 2px;
  margin-right: 8px;
  background: var(--stage-color, var(--green-600));
}
/* Klikbaar podium-label -> podiumpagina (onderstreept + pijltje bij hover) */
.stage-label--link {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.stage-label__txt {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 2px;
}
.stage-label--link::after {
  content: "›";
  margin-left: 4px;
  color: var(--sand-300);
  font-weight: 800;
}
@media (hover: hover) {
  .stage-label--link:hover { background: var(--green-800); }
  .stage-label--link:hover .stage-label__txt { text-decoration-color: var(--coral); }
}

.stage-row-bg {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-left: 1px solid rgba(255,255,255,0.05);
}

/* Blokken in het grid */
.sched-block {
  position: absolute;
  top: 4px;
  bottom: 4px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
  padding: 4px 6px;
  overflow: hidden;
  text-align: left;
  color: #fff;
  background: var(--stage-color, var(--green-600));
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.sched-block__name {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.15;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sched-block__time {
  font-size: 9.5px;
  opacity: 0.9;
  margin-top: 1px;
  white-space: nowrap;
}
.sched-block.is-tip::after {
  content: "★";
  position: absolute;
  top: 2px; right: 3px;
  font-size: 10px;
  color: var(--gold);
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.sched-block.is-fav {
  outline: 3px solid var(--coral);
  outline-offset: -3px;
  box-shadow: 0 0 0 2px rgba(255,111,77,0.4), 0 2px 6px rgba(0,0,0,0.4);
}
.sched-block.is-fav .fav-corner {
  position: absolute;
  bottom: 2px; right: 3px;
  font-size: 11px;
}

/* "Verder deze dag" (slots zonder tijd) */
.no-time-section { margin-top: 16px; }
.no-time-stage { margin-bottom: 10px; }
.no-time-stage__head {
  font-size: 13px;
  font-weight: 700;
  color: var(--sand-100);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.no-time-stage__head .swatch {
  width: 11px; height: 11px; border-radius: 3px;
  background: var(--stage-color, var(--green-600));
}
.no-time-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.no-time-chip {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--sand-100);
  color: var(--green-800);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.no-time-chip.is-fav { background: var(--coral); color: #fff; }

.schedule-hint {
  font-size: 12px;
  color: var(--sand-300);
  margin: 10px 4px 0;
}

/* ---------- Mijn schema ---------- */
.myday { margin-bottom: 20px; }
.myday__head {
  color: var(--sand-100);
  font-size: 16px;
  font-weight: 800;
  margin: 0 4px 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tl-item {
  display: flex;
  gap: 12px;
  background: var(--sand-50);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--stage-color, var(--green-600));
  cursor: pointer;
  text-align: left;
  border-top: none; border-right: none; border-bottom: none;
  font-family: inherit;
  width: 100%;
}
.tl-item__time {
  font-weight: 800;
  color: var(--green-800);
  font-size: 14px;
  min-width: 96px;
  white-space: nowrap;
}
.tl-item__body { flex: 1; }
.tl-item__name {
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tl-item__stage { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.tl-overlap {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--coral-dark);
  background: #ffe7df;
  border-radius: 8px;
  padding: 5px 9px;
}
.tl-heart {
  align-self: center;
  font-size: 17px;
}

.no-time-fav-section {
  margin-top: 8px;
}
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--sand-200);
}
.empty-state__emoji { font-size: 48px; }
.empty-state h2 { margin: 14px 0 6px; color: var(--sand-50); font-size: 20px; }
.empty-state p { margin: 6px auto; max-width: 320px; font-size: 14.5px; line-height: 1.5; }
.empty-state .heart-inline { color: var(--coral); font-weight: 700; }

.no-results {
  text-align: center;
  color: var(--sand-200);
  padding: 30px 16px;
  font-size: 14.5px;
}

/* ---------- Home ---------- */
.home { display: block; }

.home-hero {
  background: var(--sand-50);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--coral);
  margin-bottom: 6px;
}
.home-hero__title {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 800;
  color: var(--green-800);
}
.home-hero__intro {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}

.home-block { margin-top: 4px; }

/* "Nu op Wildeburg" */
.home-now {
  background: var(--green-900);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.home-now__count {
  font-size: 20px;
  font-weight: 800;
  color: var(--sand-50);
  line-height: 1.25;
}
.home-now__sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--sand-300);
}
.home-now__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.home-now__act {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  text-decoration: none;
  background: var(--sand-50);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--stage-color, var(--green-600));
  color: var(--ink);
  transition: transform 0.08s ease;
}
.home-now__act:active { transform: scale(0.99); }
.home-now__dot {
  flex: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  background: var(--stage-color, var(--green-600));
}
.home-now__info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.home-now__stage {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ink-soft);
}
.home-now__name {
  font-size: 16px;
  font-weight: 800;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.home-now__star { color: var(--gold); font-size: 14px; }
.home-now__heart { font-size: 13px; }
.home-now__till {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--coral-dark);
  margin-top: 1px;
}
.home-now__next {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* Stat-tegels */
.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 14px 0 4px;
}
.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: var(--green-700);
  color: var(--sand-100);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, background-color 0.15s ease;
}
.home-stat:active { transform: scale(0.98); }
.home-stat__num {
  font-size: 22px;
  font-weight: 800;
  color: var(--sand-50);
  line-height: 1.1;
}
.home-stat__label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sand-300);
}
@media (hover: hover) {
  .home-stat:hover { background-color: var(--green-600); }
}
.home-stat:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

/* Vraag het Serge */
.home-ask {
  background: var(--sand-50);
  border-radius: var(--radius);
  padding: 14px 16px 16px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--coral);
}
.home-ask__q {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--green-800);
  line-height: 1.3;
}
.home-ask__btn,
.home-ask__again {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, background-color 0.15s ease;
}
.home-ask__btn:active,
.home-ask__again:active { transform: scale(0.98); }
@media (hover: hover) {
  .home-ask__btn:hover,
  .home-ask__again:hover { background: var(--coral-dark); }
}
.home-ask__again {
  margin-top: 12px;
  background: var(--green-700);
  font-size: 14px;
  padding: 10px 15px;
}
@media (hover: hover) {
  .home-ask__again:hover { background: var(--green-600); }
}
.home-ask__rec {
  border-top: 1px solid rgba(20, 43, 30, 0.1);
  padding-top: 12px;
}
.home-ask__line { margin-bottom: 2px; }
.home-ask__name {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-800);
  text-decoration: none;
}
.home-ask__name:active { opacity: 0.7; }
.home-ask__star { color: var(--gold); font-size: 14px; }
.home-ask__meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.home-ask__stage {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.home-ask__lead {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.home-ask__quote {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sand-100);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.home-ask__says {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--coral-dark);
  margin-bottom: 2px;
}
.home-ask__when {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Twee keuzeknoppen naast elkaar (wrappen op smal scherm) */
.home-ask__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.home-ask__btns .home-ask__btn { flex: 1 1 auto; }
.home-ask__btn--alt { background: var(--green-700); }
@media (hover: hover) {
  .home-ask__btn--alt:hover { background: var(--green-600); }
}
.home-ask__sub {
  margin: -4px 0 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* "Ik hou van…" — blok onder de aanbevelingen */
.home-ask__love {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 43, 30, 0.1);
}
.love-ac { position: relative; }
.love-ac__input {
  width: 100%;
  font-size: 16px;
  font-family: inherit;
  padding: 11px 13px;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}
.love-ac__input::placeholder { color: #8a8570; }
.love-ac__input:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -1px;
}
/* Suggestielijstje onder het veld */
.love-ac__list {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 4px);
  z-index: 35;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  max-height: 250px;
}
.love-ac__item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--sand-100);
}
.love-ac__item:last-child { border-bottom: none; }
@media (hover: hover) {
  .love-ac__item:hover { background: var(--sand-100); }
}

/* Lijkt-op-suggestiekaartjes */
.love-sim {
  margin-top: 10px;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-sm);
}
.love-sim .home-ask__when { margin: 4px 0 8px; }
.love-sim .home-ask__quote { margin-top: 0; }
.love-sim__chips { margin: 5px 0 2px; }
#loveResult.home-ask__result {
  border-top: none;
  padding-top: 0;
  margin-top: 10px;
}

/* Over Serge — inklapbare accordion onderaan home */
.home-serge {
  margin-top: 14px;
  background: var(--sand-50);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 6px solid var(--coral);
  overflow: hidden;
}
.home-serge__summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 8px;
  -webkit-tap-highlight-color: transparent;
}
.home-serge__summary::-webkit-details-marker { display: none; }
/* Eigen pijltje dat meedraait bij open/dicht */
.home-serge__summary::after {
  content: "▾";
  margin-left: auto;
  font-size: 14px;
  color: var(--coral);
  transition: transform 0.2s ease;
}
.home-serge[open] .home-serge__summary::after { transform: rotate(180deg); }
@media (hover: hover) {
  .home-serge__summary:hover { color: var(--coral-dark); }
}
.home-serge__panel { padding: 0 16px 14px; }
.home-serge__figure {
  margin: 0 0 12px;
  text-align: center;
}
.home-serge__img {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.home-serge__caption {
  margin: 8px auto 0;
  max-width: 240px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--ink-soft);
}
.home-serge__text p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.home-serge__text p:last-child { margin-bottom: 0; }

/* "Bekijk de code op GitHub"-knop in de Over-deze-app-accordion */
.app-github-btn {
  display: block;
  text-align: center;
  margin: 14px 0 2px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--green-700);
  color: var(--sand-50);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, background-color 0.15s ease;
}
.app-github-btn:active { transform: scale(0.985); }
@media (hover: hover) {
  .app-github-btn:hover { background: var(--green-600); }
}

/* ---------- Kaart ---------- */
.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green-900);
}
.map-scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 72vh;
  background: #f4efe3;
}
.map-inner {
  position: relative;
  width: 100%;
  transition: width 0.18s ease;
}
.map-img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Markers */
.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
}
.map-marker--stage {
  width: 22px;
  height: 22px;
  background: var(--stage-color, var(--green-600));
}
.map-marker--info {
  width: 16px;
  height: 16px;
  background: #8a8778;
  z-index: 4;
}
.map-marker:active { transform: translate(-50%, -50%) scale(1.15); }
.map-marker:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}
.map-marker.is-pulse {
  animation: markerPulse 1s ease-out 3;
  z-index: 8;
}
@keyframes markerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 111, 77, 0.7), 0 1px 4px rgba(0,0,0,0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(255, 111, 77, 0), 0 1px 4px rgba(0,0,0,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(255, 111, 77, 0), 0 1px 4px rgba(0,0,0,0.45); }
}

/* Zoom-knoppen */
.map-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.map-zoom__btn {
  width: 38px;
  height: 38px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  border-radius: 10px;
  background: var(--green-800);
  color: var(--sand-50);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-zoom__btn:active { transform: scale(0.94); }
@media (hover: hover) {
  .map-zoom__btn:hover { background: var(--green-700); }
}
.map-zoom__btn:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.map-source {
  font-size: 12px;
  color: var(--sand-300);
  margin: 8px 4px 0;
}
.map-source a { color: var(--sand-100); }

/* Backdrop achter een geopende popup (tik-buiten-sluit) */
.map-pop-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 60;
  background: rgba(20, 43, 30, 0.28);
}

/* Popup-kaartje (onderaan gefixeerd) */
.mk-pop {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px);
  z-index: 61;
  max-width: 460px;
  margin: 0 auto;
  background: var(--sand-50);
  border-radius: var(--radius);
  padding: 14px 16px 16px;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--coral);
}
.mk-pop__close {
  position: absolute;
  top: 6px; right: 8px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: var(--ink-soft);
  padding: 4px 8px;
}
.mk-pop__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding-right: 24px;
}
.mk-pop__dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  flex: none;
  background: var(--green-600);
}
.mk-pop__dot--info { background: #8a8778; }
.mk-pop__line {
  font-size: 14px;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.4;
}
.mk-pop__t { color: var(--ink-soft); font-size: 13px; }
.mk-pop__act {
  color: var(--coral-dark);
  font-weight: 700;
  text-decoration: none;
}
.mk-pop__act:active { opacity: 0.7; }

/* Klikbare podium-regel in het artiestdetail */
.slot-line__stage--link {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* "Alle acts op dit podium →" in de kaart-popup */
.mk-pop__all {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--coral-dark);
  text-decoration: none;
}
.mk-pop__all:active { opacity: 0.7; }

/* ---------- Podiumpagina (#podium/<slug>) ---------- */
.stage-page {
  background: var(--sand-50);
  border-radius: var(--radius);
  padding: 16px 16px 20px;
  box-shadow: var(--shadow-lg);
  border-top: 8px solid var(--stage-color, var(--green-600));
}
.stage-page__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.stage-page__name {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: var(--green-800);
  line-height: 1.15;
  border-left: 6px solid var(--stage-color, var(--green-600));
  padding-left: 10px;
}
.stage-page__maplink {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--sand-50);
  background: var(--green-700);
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.stage-page__maplink:active { transform: scale(0.97); }

.stage-day { margin-top: 16px; }
.stage-day__head {
  font-size: 15px;
  font-weight: 800;
  color: var(--green-800);
  margin: 0 2px 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(20, 43, 30, 0.12);
}
.stage-day__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.stage-set {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--sand-100);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  border-left: 6px solid var(--stage-color, var(--green-600));
  cursor: pointer;
  transition: transform 0.08s ease;
}
.stage-set:active { transform: scale(0.99); }
.stage-set.is-fav {
  outline: 2px solid var(--coral);
  outline-offset: -2px;
}
.stage-set__time {
  font-weight: 800;
  color: var(--green-800);
  font-size: 14px;
  min-width: 92px;
  white-space: nowrap;
}
.stage-set__body { flex: 1; min-width: 0; }
.stage-set__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.stage-set__heart {
  align-self: center;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  font-size: 20px;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s;
}
.stage-set__heart:active { transform: scale(1.25); }
.stage-day__chips { margin-top: 9px; }

/* ---------- Route delen & importeren ---------- */
.share-row { margin: 2px 0 16px; }
.share-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, background-color 0.15s ease;
}
.share-btn:active { transform: scale(0.985); }
@media (hover: hover) {
  .share-btn:hover { background: var(--coral-dark); }
}
.share-btn:focus-visible {
  outline: 2px solid var(--sand-100);
  outline-offset: 2px;
}
.share-feedback {
  margin-top: 8px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sand-100);
  background: var(--green-700);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  box-shadow: var(--shadow);
  word-break: break-word;
}

/* Drie deelknoppen naast elkaar (Deel / WhatsApp / Kopieer link) */
.share-intro {
  color: var(--sand-100);
  font-size: 14px;
  font-weight: 600;
  margin: 0 4px 10px;
}
.share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-btns .share-btn {
  flex: 1 1 0;
  min-width: 110px;
  font-size: 14px;
  padding: 13px 10px;
}
/* display:flex op .share-btn overschrijft het hidden-attribuut anders, waardoor
   de "Deel"-knop zonder navigator.share toch zichtbaar zou blijven. */
.share-btn[hidden] { display: none; }
.share-btn--wa { background: #25d366; color: #063d1c; }
@media (hover: hover) {
  .share-btn--wa:hover { background: #1fb757; }
}
.share-btn--copy { background: var(--green-700); }
@media (hover: hover) {
  .share-btn--copy:hover { background: var(--green-600); }
}

/* Import-kaartje (ontvangen route-link) */
.route-import {
  background: var(--sand-50);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  box-shadow: var(--shadow-lg);
  border-top: 8px solid var(--coral);
  text-align: center;
  max-width: 460px;
  margin: 10px auto 0;
}
.route-import__emoji { font-size: 44px; line-height: 1; }
.route-import__title {
  margin: 12px 0 4px;
  font-size: 19px;
  font-weight: 800;
  color: var(--green-800);
  line-height: 1.3;
}
.route-import__sub {
  margin: 4px 0 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.route-import__list {
  list-style: none;
  margin: 12px 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.route-import__list li {
  background: var(--sand-100);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.route-import__list li.route-import__more {
  background: none;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-soft);
}
.route-import__btn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  border-radius: var(--radius);
  background: var(--sand-200);
  color: var(--ink);
  box-shadow: var(--shadow);
  margin-top: 9px;
  transition: transform 0.08s ease;
}
.route-import__btn:active { transform: scale(0.985); }
.route-import__btn--primary {
  background: var(--coral);
  color: #fff;
}
.route-import__btn:focus-visible {
  outline: 2px solid var(--coral-dark);
  outline-offset: 2px;
}

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .card-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .app-header__title { font-size: 26px; }
  .app-header__subtitle { font-size: 14px; }
  .detail__name { font-size: 30px; }
}

/* ========================================================================
   ZINE-SKIN — override-laag voor een eigenzinniger, minder "app-template"
   gevoel. Geïnspireerd op Wildeburgs handgetekende zwart-wit plattegrond:
   festivalposter-kapitalen, harde "gestempelde" schaduwen, en accenten die
   nét niet recht staan (alsof ze met de hand geplakt zijn).
   ======================================================================== */
:root {
  --font-display: "Avenir Next Condensed", "Futura-CondensedExtraBold",
                  "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
  --stamp: 4px 4px 0 rgba(10, 22, 15, 0.5);      /* harde offset-schaduw */
  --stamp-sm: 3px 3px 0 rgba(10, 22, 15, 0.5);
}

/* --- Header als posterkop --- */
.app-header {
  background: var(--green-900);
  box-shadow: 0 3px 0 var(--coral);
}
.app-header__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.8px;
  white-space: nowrap;
}
@media (max-width: 430px) { .app-header__title { font-size: 21px; letter-spacing: 0.4px; } }
@media (max-width: 370px) { .app-header__title { font-size: 19px; } }
.app-header__subtitle {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 10.5px;
  color: var(--gold);
}

/* --- Sectiekoppen: marker-streep, tikje scheef --- */
.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 1.2px;
  display: inline-block;
  transform: rotate(-1.1deg);
  border-bottom: 3px solid var(--coral);
  padding: 0 8px 1px 2px;
}

/* --- Kaarten: gestempeld i.p.v. zwevend --- */
.artist-card, .detail, .home-hero, .home-now, .home-ask,
.route-import, .myday, .stage-page__head {
  border: 2px solid var(--green-900);
  box-shadow: var(--stamp);
}
.home-hero { transform: rotate(-0.5deg); }
.home-hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: 0.8px;
  line-height: 1.05;
}
.detail__name, .home-now__count {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* --- Knoppen & chips: stevige rand, ingedrukt-effect --- */
.home-ask__btn, .detail__fav, .share-btn, .route-import button,
.no-time-chip, .day-btn {
  border: 2px solid var(--green-900);
  box-shadow: var(--stamp-sm);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.home-ask__btn:active, .detail__fav:active, .share-btn:active, .day-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(10, 22, 15, 0.5);
}
.toggle-chip, .genre-chip {
  border: 1.5px solid rgba(251, 246, 234, 0.45);
}
.toggle-chip.is-active, .genre-chip.is-active {
  border-color: var(--green-900);
  box-shadow: var(--stamp-sm);
}

/* --- Tabbar: poster-letters --- */
.tabbar__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
}

/* --- Dag-koppen (Mijn schema/podiumpagina) in dezelfde stijl --- */
.myday__head {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Zoekveld: rustiger, past bij de stempels --- */
.searchbar input {
  border: 2px solid var(--green-900);
  box-shadow: var(--stamp-sm);
}
