:root {
  --accent: #E2401F;
  --accent-text: #C2361A;
  --ink: #131517;
  --muted: #5F636A;
  --line: #EAEAEC;
  --line-soft: #F1F1F3;
  --soft: #F4F4F5;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #FAFAFA;
  --line-strong: #E4E4E7;
  --on-ink: #FFFFFF;
  --glass: 255,255,255;
  --shadow-rgb: 19,21,23;
  --radius: 16px;
  --font: "Geist", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
.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; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 32px; border-bottom: 1px solid var(--line);
}
.header-left { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.header-right { display: flex; align-items: center; gap: 10px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; }
.main-nav a:hover { color: var(--ink); background: var(--soft); }
.main-nav a.is-active { color: var(--ink); background: var(--soft); font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: none; font-weight: 600; font-size: 14px; text-decoration: none; }
.btn-dark { background: var(--ink); color: var(--on-ink); }
.btn-dark:hover { background: #2A2D31; color: var(--on-ink); }
.btn-lg { height: 48px; padding: 0 18px; }
.btn-grow { flex: 1 1 auto; }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; }
.btn-outline.btn-lg { height: 48px; border-radius: 999px; padding: 0 18px; font-size: 14px; }
.btn-outline:hover { background: var(--soft); }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--soft); }
.icon-btn-soft { border: none; background: var(--soft); }
.avatar-btn { width: 40px; height: 40px; border-radius: 999px; border: none; background: #E7E3F6; color: #3B2F7A; font-weight: 700; font-size: 14px; }

/* ---------- Page ---------- */
.page { padding: 28px 32px 48px; display: flex; flex-direction: column; gap: 18px; max-width: 1680px; margin: 0 auto; }
.page-title { margin: 0; font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }

/* Search row */
.search-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.search-box {
  flex: 999 1 560px; min-width: 0; display: flex; align-items: center; flex-wrap: wrap;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(var(--shadow-rgb),.04);
}
.search-box:focus-within { border-color: var(--line-strong); }
.search-field { flex: 999 1 260px; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 54px; color: var(--muted); }
.search-field input { flex: 1 1 auto; min-width: 0; border: none; outline: none; background: transparent; color: var(--ink); font-size: 15px; }
.divider { width: 1px; height: 28px; background: var(--line); }
.search-btn { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 16px; border: none; background: transparent; font-size: 14px; font-weight: 500; white-space: nowrap; border-radius: 12px; }
.search-btn:hover { background: var(--surface-2); }
.filters-btn { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 18px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 600; }
.filters-btn:hover { background: var(--surface-2); }
.badge[hidden] { display: none; }
#useMyLocation { white-space: nowrap; flex: none; }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.view-toggle { display: inline-flex; gap: 2px; padding: 4px; height: 56px; border-radius: var(--radius); background: var(--soft); }
.view-toggle button { display: inline-flex; align-items: center; gap: 7px; height: 48px; padding: 0 14px; border-radius: 12px; border: none; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.view-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(var(--shadow-rgb),.12); }

/* Category bar — scrollable, zonder zichtbare scrollbar */
.cat-bar { position: relative; display: flex; align-items: center; }
.cat-scroller { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 2px 0; }
.cat-scroller::-webkit-scrollbar { display: none; }
.cat-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(var(--shadow-rgb),.08);
}
.cat-arrow[hidden] { display: none; }
.cat-arrow-left { left: 0; }
.cat-arrow-right { right: 0; }
.cat-bar::before, .cat-bar::after { content: ""; position: absolute; top: 0; bottom: 0; width: 64px; pointer-events: none; z-index: 1; }
.cat-bar::before { left: 0; background: linear-gradient(90deg, var(--bg) 40%, rgba(var(--glass),0)); opacity: var(--fade-left, 0); }
.cat-bar::after { right: 0; background: linear-gradient(270deg, var(--bg) 40%, rgba(var(--glass),0)); opacity: var(--fade-right, 1); }

.pill {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.pill:hover { border-color: var(--line-strong); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.pill-sm { height: 36px; padding: 0 12px; font-size: 13px; gap: 7px; }

/* Results bar */
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 2px; }
.results-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 12px; border-radius: 999px; border: none; background: var(--soft); font-size: 13px; font-weight: 500; }
.chip:hover { background: var(--line); }
.link-btn { border: none; background: none; color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: underline; padding: 4px; }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.f-label input { height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 14px; }
.select {
  -webkit-appearance: none; appearance: none;
  height: 40px; padding: 0 38px 0 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235F636A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center;
  color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.select:hover { border-color: var(--line-strong); }
.select:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(var(--shadow-rgb),.08); }
.select::-ms-expand { display: none; }

/* ---------- Content layouts ---------- */
.content { display: grid; gap: 24px; align-items: start; }
.content[data-view="split"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.content[data-view="list"] { grid-template-columns: minmax(0, 1fr); }
.content[data-view="list"] .map-wrap { display: none; }
.content[data-view="map"] { grid-template-columns: minmax(0, 1fr); }
.content[data-view="map"] .results { display: none; }

.results { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.day-group h2 { margin: 0 0 12px; font-size: 16px; font-weight: 600; display: flex; gap: 8px; align-items: baseline; }
.day-group h2 span { font-weight: 400; color: var(--muted); }
.grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content[data-view="list"] .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Event card */
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; border-radius: 18px; padding: 8px; margin: -8px; transition: background .15s; }
.card { position: relative; }
.card.is-active { background: var(--surface-2); }
.card > .save-btn { position: absolute; top: 18px; right: 18px; z-index: 2; }
.cover { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.cover-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .35s ease; }
.card:hover .cover img, .card:hover .cover-art { transform: scale(1.03); }
.cover-pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-icon { position: relative; width: 26%; height: auto; }
.cover-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { padding: 3px 8px; border-radius: 8px; background: var(--surface); font-size: 12px; font-weight: 700; color: #1F4FA8; }
.tag-adult { background: var(--ink); color: var(--on-ink); }
.save-btn { width: 36px; height: 36px; border-radius: 999px; border: none; background: rgba(var(--glass),.95); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.save-btn[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.cover-bottom { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; gap: 8px; }
.cover-chip { padding: 5px 10px; border-radius: 999px; background: rgba(var(--glass),.95); font-size: 12px; font-weight: 600; white-space: nowrap; }
.cover-chip-date { color: var(--accent-text); }

.card-body { display: flex; flex-direction: column; gap: 4px; padding: 0 2px; min-width: 0; }
.card-title { margin: 0 0 2px; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-line { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; min-width: 0; }
.card-line > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-line svg { flex: none; }
.card-note { color: #A23A12; font-weight: 600; }
.avatars { display: inline-flex; flex: none; }
.avatars span { width: 22px; height: 22px; margin-right: -6px; border-radius: 999px; border: 2px solid var(--surface); font-size: 9px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.avatars + span { padding-left: 6px; }
.org-avatar { width: 22px; height: 22px; border-radius: 6px; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.card-org strong { color: var(--ink); font-weight: 600; }

.empty { grid-column: 1 / -1; padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }

/* ---------- Map ---------- */
.map-wrap { position: sticky; top: 16px; height: calc(100vh - 32px); min-height: 520px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.content[data-view="map"] .map-wrap { position: relative; top: 0; height: calc(100vh - 260px); min-height: 560px; }
#map { position: absolute; inset: 0; }
.leaflet-container { font-family: var(--font); background: var(--line); }
.tiles-gray { filter: grayscale(1) brightness(1.06) contrast(.88); }
/* Gekleurde kaart, alleen zichtbaar binnen de straal (clip-path wordt in app.js gezet) */
.leaflet-color-pane { transition: opacity .15s; }
.leaflet-color-pane.is-hidden { opacity: 0; }
.leaflet-control-attribution { font-size: 10px; background: rgba(var(--glass),.8) !important; }
/* Uitgezoomd: compacte stippen, label alleen bij hover/selectie */
.is-compact .pin-inner { gap: 0; padding: 0 2px; height: 28px; font-size: 0; }
.is-compact .pin-dot { width: 20px; height: 20px; }
.is-compact .pin.is-active .pin-inner { gap: 6px; padding: 0 10px 0 5px; height: 32px; font-size: 12px; }
.leaflet-control-zoom { border: none !important; box-shadow: 0 2px 10px rgba(var(--shadow-rgb),.12) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 40px !important; color: var(--ink) !important; border-bottom-color: var(--line-soft) !important; }

.pin { background: none; border: none; }
.pin-inner {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 5px; border-radius: 999px;
  border: 2px solid var(--surface); background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(var(--shadow-rgb),.2); transform: translate(-50%, -100%); position: absolute; left: 0; top: 0;
  transition: background .15s, transform .15s;
}
.pin-dot { width: 20px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.pin.is-active .pin-inner { background: var(--accent); transform: translate(-50%, -100%) scale(1.08); }
.pin.is-active { z-index: 1000 !important; }
.me-dot { width: 16px; height: 16px; border-radius: 999px; background: #2F6BEA; border: 3px solid var(--surface); box-shadow: 0 0 0 6px rgba(47,107,234,.18); }

.map-search-area { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 500; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: none; background: var(--surface); font-size: 13px; font-weight: 600; box-shadow: 0 2px 10px rgba(var(--shadow-rgb),.14); white-space: nowrap; }
.map-search-area[hidden] { display: none; }
.map-note { position: absolute; left: 16px; bottom: 16px; z-index: 500; padding: 8px 12px; border-radius: 12px; background: var(--surface); font-size: 12px; font-weight: 500; color: #4A4E55; box-shadow: 0 2px 10px rgba(var(--shadow-rgb),.1); }
.content[data-view="map"] .map-note { bottom: auto; top: 16px; }
.map-strip { display: none; }
.content[data-view="map"] .map-strip { display: flex; position: absolute; left: 0; right: 0; bottom: 0; z-index: 500; gap: 12px; padding: 16px; overflow-x: auto; scrollbar-width: none; }
.map-strip::-webkit-scrollbar { display: none; }
.strip-card { flex: none; width: 300px; display: flex; gap: 12px; padding: 10px; border-radius: 16px; background: var(--surface); border: 2px solid transparent; box-shadow: 0 6px 20px rgba(var(--shadow-rgb),.14); text-decoration: none; }
.strip-card.is-active { border-color: var(--accent); }
.strip-thumb { position: relative; width: 72px; height: 72px; flex: none; border-radius: 12px; overflow: hidden; }
.strip-thumb .cover-icon { width: 40%; }
.strip-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.strip-body .d { font-size: 12px; font-weight: 600; color: var(--accent-text); }
.strip-body .t { font-size: 14px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip-body .m { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: 0 10px 30px rgba(var(--shadow-rgb),.18); padding: 0; }
.leaflet-popup-content { margin: 10px; width: 280px !important; }
.leaflet-popup-content .strip-card { box-shadow: none; width: 100%; padding: 0; border: none; }
.leaflet-popup-tip { box-shadow: none; }

/* ---------- Drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(var(--shadow-rgb),.32); z-index: 1500; }
.drawer-backdrop[hidden] { display: none; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100%; z-index: 1600;
  background: var(--surface); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(var(--shadow-rgb),.14);
  transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.drawer-body { flex: 1 1 auto; overflow-y: auto; padding: 0 24px 24px; }
.drawer-foot { display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line); }
.f-section { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.f-last { border-bottom: none; }
.f-section h3 { margin: 0; font-size: 15px; font-weight: 600; }
.pill-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.f-label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 500; }
.f-label select, .f-label input { width: 100%; height: 40px; }
.place-row { display: flex; gap: 8px; }
.place-input { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--muted); }
.place-input input { flex: 1 1 auto; min-width: 0; border: none; outline: none; color: var(--ink); font-size: 14px; }
.btn-outline#useMyLocation { color: #1F4FA8; }
.range { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.range input { width: 100%; accent-color: var(--ink); }
.range-head, .range-foot { display: flex; justify-content: space-between; }
.range-foot { font-size: 12px; color: var(--muted); }
.f-hint { margin: 0; font-size: 13px; color: var(--muted); }
.seg-group { display: flex; flex-direction: column; gap: 8px; }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--soft); }
.seg button { flex: 1 1 0; height: 36px; border-radius: 10px; border: none; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(var(--shadow-rgb),.12); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- Mobile ---------- */
.mobile-map-toggle { display: none; }

@media (max-width: 1100px) {
  .content[data-view="split"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .content[data-view="split"] .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .site-header { padding: 12px 16px; }
  .main-nav { display: none; }
  .header-right .btn span { display: none; }
  .header-right .btn { width: 40px; padding: 0; }
  .page { padding: 20px 16px 96px; gap: 14px; }
  .page-title { font-size: 26px; }
  .view-toggle { display: none; }
  .filters-btn { height: 50px; }
  .search-field { height: 50px; }
  .search-btn { height: 46px; }
  .content[data-view="split"] { grid-template-columns: minmax(0, 1fr); }
  .content[data-view="split"] .map-wrap { display: none; }
  .content[data-view="split"] .grid,
  .content[data-view="list"] .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .content[data-view="map"] .map-wrap { height: calc(100vh - 230px); min-height: 420px; }
  .cat-arrow { display: none !important; }
  .cat-bar::before, .cat-bar::after { display: none; }
  .mobile-map-toggle {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1200;
    height: 48px; padding: 0 20px; border-radius: 999px; border: none; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 600;
    box-shadow: 0 8px 24px rgba(var(--shadow-rgb),.25);
  }
}

/* =================== Eventpagina =================== */
.ev-page { max-width: 1120px; margin: 0 auto; padding: 24px 32px 72px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.back-link:hover { color: var(--ink); }

.ev-layout {
  display: grid; gap: 24px 48px;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-areas: "cover main" "side main";
  grid-template-rows: auto 1fr;
  align-items: start;
}
.ev-cover-col { grid-area: cover; }
.ev-main { grid-area: main; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ev-side { grid-area: side; display: flex; flex-direction: column; gap: 24px; }

.ev-cover { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(var(--shadow-rgb),.06); }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; }
.ev-cover .cover-icon { width: 30%; }

.ev-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ev-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink); }
a.ev-tag:hover { background: var(--line); }
.ev-tag-dark { background: var(--ink); color: var(--on-ink); font-weight: 700; }
.ev-tag-blue { background: #E6EEFB; color: #1F4FA8; }
.ev-main > .ev-tags { margin-bottom: -12px; }
.ev-title { margin: 0; font-size: 44px; line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; }

.ev-facts { display: flex; flex-direction: column; gap: 14px; }
.fact { display: flex; align-items: center; gap: 14px; }
.fact > div { display: flex; flex-direction: column; min-width: 0; }
.fact strong { font-size: 16px; font-weight: 600; }
.fact span { color: var(--muted); font-size: 14px; }
.date-tile { width: 48px; height: 48px; flex: none; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; text-align: center; }
.date-tile span { display: block; background: var(--soft); color: var(--muted) !important; font-size: 10px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 0; }
.date-tile strong { font-size: 18px !important; line-height: 1.5; }
.fact-icon { width: 48px; height: 48px; flex: none; border-radius: 12px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink) !important; }

.reg-card { border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); box-shadow: 0 1px 2px rgba(var(--shadow-rgb),.04); }
.reg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.reg-head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.reg-badge { padding: 4px 10px; border-radius: 999px; background: #FDEDE6; color: #A23A12; font-size: 12px; font-weight: 700; }
.reg-going { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
#regBody { display: flex; flex-direction: column; gap: 14px; }
.reg-text { margin: 0; color: var(--muted); }
.reg-small { margin: -4px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.reg-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 14px; }
.reg-notice svg { flex: none; margin-top: 2px; }
.reg-notice-blue { background: #EEF3FC; color: #1F3F7A; }
.btn-block { width: 100%; }
.btn:disabled { background: var(--line-strong); color: #fff; cursor: not-allowed; }
.tickets { display: flex; flex-direction: column; gap: 10px; }
.ticket { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.ticket-info { display: flex; flex-direction: column; min-width: 0; }
.ticket-info span { font-size: 13px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.stepper button { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; }
.stepper button:hover:not(:disabled) { background: var(--soft); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 24px; text-align: center; font-weight: 600; }
.reg-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.reg-total strong { font-size: 18px; }
.reg-done { display: flex; gap: 14px; align-items: flex-start; }
.reg-done h3 { margin: 2px 0 4px; font-size: 17px; }
.reg-done p { margin: 0 0 6px; color: var(--muted); }
.reg-check { width: 40px; height: 40px; flex: none; border-radius: 999px; background: #E3F1DE; color: #2F6B22; display: inline-flex; align-items: center; justify-content: center; }

.ev-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -8px; }
.btn-pill { height: 40px; border-radius: 999px; padding: 0 14px; text-decoration: none; color: var(--ink); gap: 8px; }
.btn-pill[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.btn-sm { height: 34px; padding: 0 12px; }
[data-follow][aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

.ev-section { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.ev-section h2 { margin: 12px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.ev-desc p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: #2B2E33; max-width: 68ch; }
.ev-map { position: relative; height: 280px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.ev-address { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ev-address > div { display: flex; flex-direction: column; }
.ev-address span { color: var(--muted); font-size: 14px; }

.side-block { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.side-block h2 { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.host { display: flex; align-items: center; gap: 12px; }
.host-avatar { width: 44px; height: 44px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.host-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.host-info span { font-size: 13px; color: var(--muted); }
.people { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.person { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.p-av { width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.side-more { font-size: 13px; color: var(--muted); }
.report-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-decoration: none; }
.report-link:hover { color: var(--ink); }

.ev-similar { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-soft); }
.ev-similar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.ev-similar-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.ev-similar-head a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; text-decoration: none; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ev-notfound { text-align: center; padding: 96px 16px; }
.ev-notfound p { color: var(--muted); margin-bottom: 24px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2000; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(var(--shadow-rgb),.25); }
.toast[hidden] { display: none; }

@media (max-width: 900px) {
  .ev-page { padding: 16px 16px 56px; }
  .ev-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "cover" "main" "side"; grid-template-rows: auto; }
  .ev-cover { aspect-ratio: 16 / 11; }
  .ev-title { font-size: 32px; }
  .grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

/* =================== App-shell ontdekpagina: alles op één scherm =================== */
body.discover { height: 100vh; height: 100dvh; overflow: hidden; }
.discover .page { height: 100%; max-width: none; padding: 16px 24px 0; gap: 14px; }
.topbar { align-items: center; flex-wrap: nowrap; }
.topbar .logo { flex: none; margin-right: 10px; }
.topbar .search-box { flex: 1 1 auto; }
.discover .content { flex: 1 1 auto; min-height: 0; padding-bottom: 16px; grid-template-rows: minmax(0, 1fr); }
.discover .results { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 10px 14px 40px 10px; margin: 0 -10px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.discover .map-wrap,
.discover .content[data-view="map"] .map-wrap { position: relative; top: 0; height: 100%; min-height: 0; }

/* Menu (hamburger) */
.menu-wrap { position: relative; flex: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 16px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface); transition: box-shadow .15s; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { box-shadow: 0 2px 12px rgba(var(--shadow-rgb),.12); }
.menu-avatar { width: 38px; height: 38px; border-radius: 999px; background: #E7E3F6; color: #3B2F7A; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1700; width: 260px; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(var(--shadow-rgb),.16); display: flex; flex-direction: column; gap: 6px; }
.menu[hidden] { display: none; }
.menu-cta { width: 100%; height: 44px; margin-bottom: 4px; }
.menu-list { display: flex; flex-direction: column; }
.menu-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.menu-list a:hover { background: var(--soft); }
.menu-list a[aria-current="page"] { background: var(--soft); font-weight: 600; }
.menu-list-small a { font-size: 14px; color: var(--muted); padding: 8px 12px; }
.menu-sep { height: 1px; background: var(--line-soft); margin: 2px 4px; }

/* Topbar eventpagina */
.ev-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 32px; border-bottom: 1px solid var(--line); }
.ev-topbar .menu-btn { height: 50px; }

@media (max-width: 1320px) {
  .view-toggle button span { display: none; }
  .view-toggle button { padding: 0 13px; }
}
@media (max-width: 1100px) {
  .topbar { flex-wrap: wrap; }
  .topbar .search-box { order: 5; flex: 1 1 100%; }
  .topbar .logo { margin-right: auto; }
}
@media (max-width: 900px) {
  .discover .page { padding: 12px 16px 0; gap: 12px; }
  .menu-btn { height: 50px; padding: 0 6px 0 12px; }
  .menu-avatar { width: 34px; height: 34px; }
  .discover .content { padding-bottom: 12px; }
  .discover .results { padding-bottom: 96px; }
  .ev-topbar { padding: 10px 16px; }
}

/* Plaatsen zoeken (wereldwijd) */
.place-row { position: relative; }
.place-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(var(--shadow-rgb),.14); max-height: 320px; overflow-y: auto; }
.place-list[hidden] { display: none; }
.place-list li[role="option"] { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; color: var(--muted); }
.place-list li[role="option"] span { display: flex; flex-direction: column; min-width: 0; }
.place-list li strong { color: var(--ink); font-weight: 600; font-size: 14px; }
.place-list li small { font-size: 12px; color: var(--muted); }
.place-list li[aria-selected="true"], .place-list li[role="option"]:hover { background: var(--soft); }
.pl-empty { padding: 10px; font-size: 13px; color: var(--muted); }
.empty-actions { margin-top: 16px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tz-note { font-size: 12px; color: var(--muted); }

/* =================================================================
   Algemene componenten voor alle pagina's
   ================================================================= */
.shell-title { font-weight: 600; color: var(--muted); padding-left: 14px; margin-left: 4px; border-left: 1px solid var(--line); }
.shell-spacer { flex: 1 1 auto; }
.ev-topbar { position: sticky; top: 0; z-index: 1000; background: rgba(var(--glass),.92); backdrop-filter: saturate(1.4) blur(10px); }
.menu-btn { position: relative; }
.menu-avatar { overflow: hidden; }
.menu-avatar img { width: 100%; height: 100%; object-fit: cover; }
.menu-dot { position: absolute; top: 10px; right: 8px; width: 10px; height: 10px; border-radius: 999px; background: var(--accent); border: 2px solid var(--surface); }
.menu-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 10px; }
.menu-user > div { display: flex; flex-direction: column; }
.menu-user a { font-size: 13px; color: var(--muted); }
.menu-avatar-lg { width: 44px; height: 44px; font-size: 15px; }
.menu-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.menu { width: 280px; }
.card-org a { text-decoration: none; }
.card-org a:hover strong { text-decoration: underline; }

.app-page { max-width: 1120px; margin: 0 auto; padding: 32px 32px 80px; }
.app-page.narrow { max-width: 760px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { margin: 0; font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-danger { background: #B42318; color: #fff; }
.btn-danger:hover { background: #912018; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
a.btn-outline { text-decoration: none; color: var(--ink); }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: none; background: none; font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.tab-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--soft); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }

/* Boxen en secties */
.box { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: var(--surface); }
.box + .box { margin-top: 16px; }
.box h2 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.01em; }
.box-sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.box-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.box-head h2 { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.split-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }

/* Formulieren */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field-hint { font-size: 12px; color: var(--muted); }
.field-error { font-size: 12px; color: #B42318; font-weight: 500; }
.input, .textarea {
  width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink);
  font-size: 15px; padding: 0 14px; height: 44px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.input:hover, .textarea:hover { border-color: var(--line-strong); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(var(--shadow-rgb),.08); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #B42318; }
.select.full { width: 100%; height: 44px; font-size: 15px; }
.input-group { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
.input-group:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(var(--shadow-rgb),.08); }
.input-group .input { border: none; box-shadow: none !important; }
.input-addon { padding: 0 12px; color: var(--muted); font-size: 14px; white-space: nowrap; }

/* Schakelaar */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.switch-row:last-child { border-bottom: none; }
.switch-row > div { display: flex; flex-direction: column; min-width: 0; }
.switch-row strong { font-size: 15px; font-weight: 600; }
.switch-row span { font-size: 13px; color: var(--muted); }
.switch { position: relative; flex: none; width: 46px; height: 28px; -webkit-appearance: none; appearance: none; margin: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch:checked { background: var(--ink); }
.switch:checked::after { transform: translateX(18px); }
.switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Status-badges */
.status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.st-published, .st-going, .st-checked { background: #E3F1DE; color: #2F6B22; }
.st-draft, .st-past { background: var(--soft); color: #4A4E55; }
.st-cancelled, .st-declined { background: #FDECEA; color: #B42318; }
.st-pending { background: #FDF0DE; color: #8A4B00; }
.st-waitlist { background: #E6EEFB; color: #1F4FA8; }
.st-private { background: #EEE9FA; color: #4B2FA0; }

/* Statistieken */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.stat-value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: 12px; color: var(--muted); }
.progress { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--ink); border-radius: 999px; }

/* Grafiek */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 8px; }
.bars .bar { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.bars .bar span { width: 100%; max-width: 28px; border-radius: 6px 6px 2px 2px; background: #2A2D31; min-height: 2px; }
.bars .bar:hover span { background: var(--accent); }
.bars .bar small { font-size: 11px; color: var(--muted); }
.bars-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Tabel */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--surface-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cell-event { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.cell-thumb { position: relative; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex: none; }
.cell-thumb .cover-icon { width: 46%; }
.cell-event a { font-weight: 600; text-decoration: none; }
.cell-event a:hover { text-decoration: underline; }
.cell-event small { display: block; color: var(--muted); font-size: 12px; }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; }
.icon-btn-sm { width: 34px; height: 34px; }
.person-cell { display: flex; align-items: center; gap: 10px; }
.person-cell small { display: block; color: var(--muted); font-size: 12px; }
.av { width: 32px; height: 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar .search-input { flex: 1 1 260px; }

/* Lege staat */
.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: 20px; color: var(--muted); }
.empty-state svg { color: #A9ACB2; margin-bottom: 10px; }
.empty-state h3 { margin: 0 0 6px; color: var(--ink); font-size: 17px; }
.empty-state p { margin: 0 0 18px; }

/* Modal */
body.has-modal { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 3000; background: rgba(var(--shadow-rgb),.4); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fadeIn .15s ease; }
.modal { width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border-radius: 22px; box-shadow: 0 24px 60px rgba(var(--shadow-rgb),.25); animation: popIn .18s ease; }
.modal-wide { max-width: 640px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 0; }
.modal-head h2 { margin: 0; font-size: 18px; }
.modal-body { padding: 16px 22px 22px; }
.modal-text { margin: 0 0 20px; color: #2B2E33; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* Eigenaar- en statusbalk op eventpagina */
.owner-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 20px; border-radius: 16px; background: #F4F2FC; color: #2E2368; }
.owner-bar > div:first-child { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.owner-actions { display: flex; gap: 8px; }
.owner-actions .btn-pill { background: var(--surface); }
.status-banner { display: flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: 20px; border-radius: 12px; background: var(--soft); font-size: 14px; font-weight: 500; }
.status-banner-red { background: #FDECEA; color: #B42318; }
.reg-questions { display: flex; flex-direction: column; gap: 12px; }
.host-info a { text-decoration: none; }
.host-info a:hover strong { text-decoration: underline; }

/* Lijst-items (meldingen e.d.) */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 4px; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); }
.list-item:last-child { border-bottom: none; }
.list-icon { width: 40px; height: 40px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); }

@media (max-width: 900px) {
  .app-page { padding: 20px 16px 64px; }
  .page-head h1 { font-size: 28px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-cols { grid-template-columns: minmax(0, 1fr); }
  .split-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .shell-title { display: none; }
}

/* =================== Event maken =================== */
.create-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
.create-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
.cover-upload { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; }
.cover-upload-preview { position: absolute; inset: 0; }
.cover-upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.cover-upload-preview .cover-icon { width: 30%; }
.cover-upload-actions { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.cover-upload-actions .btn-pill { background: var(--surface); }
.cover-upload-btn { cursor: pointer; }
.cover-upload-btn:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.preview-block { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.preview-block .card { margin: 0; pointer-events: none; }
.create-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.create-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.create-org .select { min-width: 240px; }
.seg-inline { display: inline-flex; }
.seg-inline button { flex: none; padding: 0 16px; }
.title-input { width: 100%; border: none; outline: none; resize: none; overflow: hidden; padding: 4px 0; background: transparent; font-size: 40px; line-height: 1.12; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.title-input::placeholder { color: #B9BBC0; }
.title-input[aria-invalid="true"] { box-shadow: inset 0 -2px 0 #B42318; }
.create-box h2 { margin-bottom: 14px; }
.create-box .box-head h2 { margin: 0; }
.when-grid { display: grid; grid-template-columns: 64px minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px 10px; align-items: center; }
.when-label { font-size: 14px; color: var(--muted); font-weight: 500; }
.loc-chosen { display: flex; flex-direction: column; gap: 14px; }
.loc-map { position: relative; height: 200px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.ticket-rows { display: flex; flex-direction: column; gap: 10px; }
.ticket-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.ticket-row .icon-btn { margin-bottom: 4px; }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.q-row { display: flex; gap: 8px; align-items: center; }
.q-row .field { flex: 1 1 auto; }
.switch-sub { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 16px; border-bottom: 1px solid var(--line-soft); }
.create-actions { position: sticky; bottom: 0; z-index: 10; display: flex; gap: 10px; align-items: center; padding: 14px 0 16px; background: linear-gradient(0deg, var(--bg) 75%, rgba(var(--glass),0)); }

@media (max-width: 900px) {
  .create-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .create-side { position: static; }
  .cover-upload { aspect-ratio: 16 / 10; }
  .preview-block { display: none; }
  .title-input { font-size: 30px; }
  .when-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .when-label { grid-column: 1 / -1; margin-top: 4px; }
  .ticket-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .ticket-row .field:first-child { grid-column: 1 / -1; }
  .create-actions { flex-wrap: wrap; }
  .create-actions .btn-lg { flex: 1 1 auto; }
  .create-actions .shell-spacer { display: none; }
}

/* Altijd respecteren: verborgen is verborgen */
[hidden] { display: none !important; }
textarea { font-family: inherit; }

/* =================== Mijn events =================== */
.ticket-list { display: flex; flex-direction: column; gap: 10px; }
.ticket-item { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.ticket-item:hover { border-color: var(--line-strong); }
.ti-date { width: 52px; flex: none; text-align: center; text-decoration: none; display: flex; flex-direction: column; }
.ti-date span { font-size: 11px; text-transform: uppercase; font-weight: 700; color: var(--accent-text); letter-spacing: .06em; }
.ti-date strong { font-size: 24px; line-height: 1.1; }
.ti-thumb { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex: none; }
.ti-thumb .cover-icon { width: 44%; }
.ti-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ti-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 500; }
.ti-body h3 { margin: 0; font-size: 16px; font-weight: 600; }
.ti-body h3 a { text-decoration: none; }
.ti-body h3 a:hover { text-decoration: underline; }
.ti-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); min-width: 0; }
.ti-actions { display: flex; gap: 8px; flex: none; }
.ticket-card { display: flex; flex-direction: column; gap: 16px; }
.tc-head { display: flex; gap: 12px; align-items: center; }
.tc-head > div { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.tc-head strong { color: var(--ink); font-size: 16px; }
.tc-thumb { position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: none; }
.tc-thumb .cover-icon { width: 44%; }
.tc-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 16px; text-align: center; }
.tc-qr code { font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.tc-qr small { color: var(--muted); font-size: 12px; }
.tc-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.tc-details dt { font-size: 12px; color: var(--muted); }
.tc-details dd { margin: 0; font-weight: 600; }
@media (max-width: 700px) {
  .ticket-item { flex-wrap: wrap; }
  .ti-thumb { display: none; }
  .ti-actions { width: 100%; }
  .ti-actions > * { flex: 1 1 auto; justify-content: center; }
}
.bar { position: relative; outline: none; }
.bar-tip { position: absolute; bottom: calc(100% - 18px); left: 50%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; padding: 6px 10px; border-radius: 10px; background: var(--ink); color: var(--on-ink); font-style: normal; font-size: 12px; white-space: nowrap; z-index: 5; pointer-events: none; }
.bar-tip b { font-weight: 600; }
.bar:hover .bar-tip, .bar:focus-visible .bar-tip { display: flex; }
.bar:focus-visible span { outline: 2px solid var(--ink); outline-offset: 2px; }
.bars .bar span { max-width: 22px; border-radius: 4px 4px 0 0; }

/* =================== Dashboard =================== */
.app-page-wide { max-width: 1240px; }
.org-switch .select { height: 34px; font-size: 13px; margin-bottom: 8px; background-color: var(--soft); border-color: transparent; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.dash-grid .box + .box { margin-top: 0; }
.stat-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.upcoming-list { display: flex; flex-direction: column; }
.upcoming { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); border-radius: 12px; }
.upcoming:last-child { border-bottom: none; }
.upcoming:hover { background: var(--surface-2); }
.up-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.up-body span { font-size: 13px; color: var(--muted); }
.up-cap { width: 160px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.list-item .av { width: 36px; height: 36px; }
@media (max-width: 900px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .up-cap { display: none; }
}

/* =================== Event beheren =================== */
.manage-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.mh-thumb { position: relative; width: 84px; height: 84px; border-radius: 18px; overflow: hidden; flex: none; }
.mh-thumb .cover-icon { width: 44%; }
.mh-body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mh-body h1 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -0.03em; }
.stat-of { font-size: 16px; color: var(--muted); font-weight: 500; }
.checkin-head { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 16px; }
.checkin-head > div { display: flex; flex-direction: column; }
.checkin-list { display: flex; flex-direction: column; gap: 8px; }
.ci-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; }
.ci-row.is-in { background: #F6FBF4; border-color: #D3E8CC; }
.ci-name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ci-name small { color: var(--muted); font-size: 13px; }
.ci-row .btn-sm { min-width: 120px; justify-content: center; }
.msg-preview { margin: 4px 0 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.danger-zone { border-color: #F3CFCB; }
@media (max-width: 900px) {
  .checkin-head { grid-template-columns: minmax(0, 1fr); }
  .mh-body h1 { font-size: 24px; }
}

/* =================== Groepen =================== */
.section-title { margin: 0 0 14px; font-size: 20px; letter-spacing: -0.02em; }
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.group-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.group-card:hover { border-color: var(--line-strong); }
.gc-banner { position: relative; height: 72px; display: block; }
.gc-banner .cover-pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.gc-icon { position: absolute; left: 16px; bottom: -22px; width: 48px; height: 48px; border-radius: 14px; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(var(--shadow-rgb),.1); }
.gc-body { padding: 30px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.gc-body h3 { margin: 0 0 2px; font-size: 16px; }
.gc-body h3 a { text-decoration: none; }
.gc-body h3 a:hover { text-decoration: underline; }
.gc-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-decoration: none; }
.gc-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; }
.gc-foot .btn-sm { margin-left: auto; }
.group-hero { position: relative; height: 160px; border-radius: 22px; overflow: hidden; }
.group-hero .cover-pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.group-head { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin: -44px 24px 32px; position: relative; }
.group-avatar { width: 96px; height: 96px; border-radius: 24px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(var(--shadow-rgb),.12); flex: none; }
.group-title { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.group-title h1 { margin: 0; font-size: 32px; letter-spacing: -0.03em; line-height: 1.1; }
.group-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.group-main { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.group-side { display: flex; flex-direction: column; gap: 22px; }
.group-about { margin: 0; line-height: 1.6; color: #2B2E33; }
@media (max-width: 900px) {
  .group-layout { grid-template-columns: minmax(0, 1fr); }
  .group-head { margin: -40px 8px 24px; }
  .group-hero { height: 120px; }
  .group-title h1 { font-size: 26px; }
}

/* =================== Profiel, instellingen, meldingen, help, inloggen =================== */
.profile-head { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 28px; }
.profile-avatar { width: 112px; height: 112px; border-radius: 999px; background: #E7E3F6; color: #3B2F7A; font-size: 38px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-sm { width: 72px; height: 72px; font-size: 24px; }
.profile-info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.profile-info h1 { margin: 0; font-size: 32px; letter-spacing: -0.03em; }
.profile-info p { margin: 8px 0 0; max-width: 60ch; }
.profile-stats { display: flex; gap: 20px; margin-top: 12px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.profile-stats strong { color: var(--ink); }
.avatar-edit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.side-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.side-nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; }
.side-nav a:hover { background: var(--soft); color: var(--ink); }
.box[id] { scroll-margin-top: 96px; }
.notif { position: relative; padding: 16px 12px; border-radius: 14px; border-bottom: none; }
.notif:hover { background: var(--surface-2); }
.notif.is-unread { background: #FBFAFF; }
.notif-text { font-size: 15px; line-height: 1.45; }
.notif-text b { font-weight: 600; }
.unread-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); flex: none; margin-top: 6px; }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: #2B2E33; line-height: 1.6; }
.auth-body { background: var(--surface-2); }
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 32px 16px; }
.auth-logo { font-size: 20px; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 8px 30px rgba(var(--shadow-rgb),.06); }
.auth-card h1 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.auth-sub { margin: 0 0 6px; color: var(--muted); }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-fine { margin: 4px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.code-input { font-size: 24px; letter-spacing: .4em; text-align: center; height: 56px; }
.btn-outline.btn-block { justify-content: center; }
.group-mini-list { display: flex; flex-direction: column; }
@media (max-width: 900px) { .side-nav { position: static; flex-direction: row; overflow-x: auto; } .side-nav a { flex: none; } }
.table-wrap, .tabs, .cat-scroller, .map-strip { position: relative; }
.dash-grid { align-items: start; }
.tab-count:empty { display: none; }
.stack > .box + .box { margin-top: 0; }

/* =================== Eigen uitklapmenu (dropdown) =================== */
.dd { position: relative; display: inline-block; max-width: 100%; vertical-align: middle; }
.dd-full { display: block; width: 100%; }
.dd-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dd-btn { display: inline-flex; align-items: center; text-align: left; max-width: 100%; }
.dd-full .dd-btn { width: 100%; }
.dd-value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-btn:disabled { opacity: .5; cursor: not-allowed; }
.dd.is-open .dd-btn { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(var(--shadow-rgb),.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23131517' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E"); }
.dd-list {
  position: fixed; z-index: 4000; max-width: calc(100vw - 16px); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; outline: none;
  box-shadow: 0 16px 40px rgba(var(--shadow-rgb),.16), 0 2px 6px rgba(var(--shadow-rgb),.06);
  font-family: var(--font); animation: ddIn .12s ease; scrollbar-width: thin;
}
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px); } }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.dd-opt.is-active { background: var(--soft); }
.dd-opt[aria-selected="true"] { font-weight: 600; }
.dd-opt svg { flex: none; color: var(--ink); }
.dd-opt[aria-disabled="true"] { color: #A9ACB2; cursor: not-allowed; }
.dd-group { padding: 10px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dd-group:not(:first-child) { margin-top: 4px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.org-switch .dd-btn { height: 34px; }
@media (max-width: 600px) { .dd-opt { min-height: 44px; } }
.f-label .dd { display: block; width: 100%; }
.f-label .dd-btn { width: 100%; height: 44px; font-size: 15px; }

/* =================== Gastenlijst (openbaar) =================== */
#peopleBlock { display: flex; flex-direction: column; gap: 12px; }
#peopleBlock h2 { margin: 0; }
.link-plain { border: none; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.link-plain:hover { text-decoration: underline; color: var(--ink); }
.p-av-anon { background: var(--soft); color: #8A8D93; }
.person small { color: var(--muted); font-size: 12px; }
.guest-modal-list { display: flex; flex-direction: column; max-height: 60vh; overflow-y: auto; margin: 0 -6px; }
.person-row { padding: 8px 6px; border-radius: 10px; }
.person-row:hover { background: var(--surface-2); }
.anon-check { align-items: flex-start; font-size: 14px; }
.anon-check input { margin-top: 2px; }
.anon-check span { display: flex; flex-direction: column; }
.anon-check small { font-size: 12px; color: var(--muted); }

/* =================== Scanner =================== */
.scan-page { max-width: 560px; margin: 0 auto; padding: 20px 16px 64px; display: flex; flex-direction: column; gap: 14px; }
.scan-page .back-link { margin-bottom: 0; }
.scan-head { display: flex; gap: 14px; align-items: center; }
.scan-head .mh-thumb { width: 56px; height: 56px; border-radius: 14px; }
.scan-head > div { display: flex; flex-direction: column; min-width: 0; }
.scan-head h1 { margin: 0; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.scan-stats { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 4px 22px; align-items: end; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; }
.scan-stats > div:not(.scan-progress) { display: flex; flex-direction: column; }
.scan-stats .stat-value { font-size: 26px; }
.scan-progress { padding-bottom: 10px; }
.scanner { position: relative; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; inset: 18%; pointer-events: none; opacity: 0; transition: opacity .2s; }
.scanner.is-live .scan-frame { opacity: 1; }
.scan-frame span { position: absolute; width: 34px; height: 34px; border: 4px solid var(--surface); }
.scan-frame span:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 12px 0 0 0; }
.scan-frame span:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 12px 0 0; }
.scan-frame span:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 12px; }
.scan-frame span:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 12px 0; }
.scan-idle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: #D7D8DB; }
.scan-idle p { margin: 0 0 6px; max-width: 260px; }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--line); color: var(--ink); }
.scan-msg { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FDF0DE; color: #8A4B00; font-size: 14px; }
.scan-controls { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.scan-manual h2, .scan-page .box h2 { font-size: 16px; margin-bottom: 12px; }
.scan-results { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.scan-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--surface); text-align: left; width: 100%; }
.scan-row > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.scan-row span:not(.av):not(.scan-dot) { font-size: 13px; color: var(--muted); }
.scan-pick:hover { background: var(--surface-2); }
.scan-dot { width: 10px; height: 10px; border-radius: 999px; flex: none; }
.scan-ok .scan-dot { background: #2F8A3B; }
.scan-warn .scan-dot { background: #D98A00; }
.scan-bad .scan-dot { background: #B42318; }
.scan-sheet-backdrop { position: fixed; inset: 0; z-index: 3500; background: rgba(var(--shadow-rgb),.45); display: flex; align-items: flex-end; justify-content: center; padding: 12px; animation: fadeIn .12s ease; }
.scan-sheet { width: 100%; max-width: 520px; background: var(--surface); border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(var(--shadow-rgb),.3); animation: popIn .18s ease; }
.sheet-status { display: flex; align-items: center; gap: 12px; padding: 22px 22px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.sheet-ok .sheet-status { background: #2F8A3B; }
.sheet-warn .sheet-status { background: #C77C00; }
.sheet-bad .sheet-status { background: #B42318; }
.sheet-body { padding: 20px 22px 6px; }
.sheet-body p { margin: 12px 0 0; color: #2B2E33; }
.sheet-person { display: flex; gap: 16px; align-items: center; }
.sheet-person > div { display: flex; flex-direction: column; min-width: 0; }
.sheet-person strong { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.sheet-person span { color: var(--muted); }
.sheet-code { font-size: 13px; font-variant-numeric: tabular-nums; }
.av-xl { width: 64px; height: 64px; font-size: 22px; }
.sheet-actions { display: flex; gap: 8px; padding: 18px 22px 22px; flex-wrap: wrap; }
.sheet-actions .btn-lg { flex: 1 1 auto; }

/* Persoonlijke code */
.my-code { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.my-code .qr-box { padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.my-code code { font-size: 20px; font-weight: 700; letter-spacing: .1em; }
.my-code p { margin: 0; color: var(--muted); font-size: 14px; max-width: 340px; }
.access-box { margin-bottom: 16px; }
.access-delegates { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.access-delegates h3 { margin: 0; font-size: 15px; }
#scannerList { display: flex; flex-direction: column; gap: 8px; }
.visibility-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.vis-field { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; flex-wrap: wrap; }
.visibility-bar .seg-inline button { padding: 0 12px; }
.member-avatars { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.member-avatars:hover .p-av { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--line-strong); }
.member-row { display: flex; align-items: center; gap: 10px; }
.member-name { flex: 1 1 auto; display: flex; flex-direction: column; }
.member-name small { font-size: 12px; color: var(--muted); }
.report-link.link-plain { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.radio-list { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.radio-list .check input { width: 18px; height: 18px; accent-color: var(--ink); }
.legal h2 { font-size: 18px; margin: 28px 0 8px; }
.legal p, .legal li { line-height: 1.65; color: #2B2E33; }
.legal ul { padding-left: 20px; }

/* =================================================================
   Knoppen: één systeem voor de hele site
   Varianten: .btn-dark (hoofdactie), .btn-outline (secundair), .btn-ghost, .btn-danger, .btn-light
   Maten: standaard 40px, .btn-sm 34px, .btn-lg 48px. .btn-pill is alleen nog een alias.
   ================================================================= */
.btn, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
  box-sizing: border-box;
}
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--soft); border-color: var(--line-strong); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn-dark:hover { background: #2A2D31; border-color: #2A2D31; color: var(--on-ink); }
.btn-danger { background: #B42318; border-color: #B42318; color: #fff; }
.btn-danger:hover { background: #912018; border-color: #912018; color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
.btn-light { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.btn svg, .btn-outline svg { flex: none; }
.btn-sm, .btn-outline.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; gap: 6px; }
.btn-lg, .btn-outline.btn-lg { height: 48px; padding: 0 20px; font-size: 15px; }
.btn:disabled, .btn-outline:disabled { background: var(--line-strong); border-color: var(--line-strong); color: #8A8D93; cursor: not-allowed; }
.btn-block { width: 100%; }
/* Rijen met knoppen krijgen dezelfde maat */
.page-actions .btn, .page-actions .btn-outline { height: 44px; padding: 0 18px; font-size: 14px; }
.owner-actions .btn, .owner-actions .btn-outline,
.ti-actions .btn, .ti-actions .btn-outline,
.row-actions .btn, .row-actions .btn-outline,
.gc-foot .btn, .gc-foot .btn-outline { height: 34px; padding: 0 12px; font-size: 13px; }
.ev-actions .btn, .ev-actions .btn-outline { height: 40px; padding: 0 16px; font-size: 14px; }
.modal-actions .btn, .modal-actions .btn-outline,
.sheet-actions .btn, .sheet-actions .btn-outline,
.create-actions .btn, .create-actions .btn-outline,
.drawer-foot .btn, .drawer-foot .btn-outline,
.empty-state .btn, .empty-state .btn-outline,
.empty-actions .btn, .empty-actions .btn-outline { height: 48px; padding: 0 20px; font-size: 15px; }
.owner-actions .btn-outline, .cover-upload-actions .btn-outline { background: var(--surface); }
.icon-btn { flex: none; }
.icon-btn-sm { width: 34px; height: 34px; }
/* Uitzondering: knop naast een invoerveld volgt de vorm van het veld */
#useMyLocation { height: 40px; border-radius: 12px; padding: 0 12px; font-size: 13px; }
.page-actions .icon-btn { width: 44px; height: 44px; }
/* Werkbalken: zoekveld, keuzelijst en knoppen even hoog (44px) */
.input-group .input { height: 42px; }
.toolbar .dd-btn, .toolbar .btn, .toolbar .btn-outline { height: 44px; }

/* =================== Kaartpins met afbeelding van het event =================== */
.pin-photo-card { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); transform-origin: 50% 100%; transition: transform .15s ease; cursor: pointer; }
.pin-photo { position: relative; display: block; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; border: 3px solid var(--surface); background: var(--line); box-shadow: 0 4px 14px rgba(var(--shadow-rgb),.28); transition: border-color .15s, width .15s, height .15s; }
.pin-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pin-photo .cover-art { position: absolute; inset: 0; }
.pin-photo .cover-icon { width: 48%; }
.pin-price { margin-top: -9px; position: relative; padding: 2px 7px; border-radius: 999px; background: var(--ink); color: var(--on-ink); border: 2px solid var(--surface); font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap; box-shadow: 0 2px 6px rgba(var(--shadow-rgb),.2); transition: background .15s; }
.pin-photo-card::after { content: ""; width: 6px; height: 6px; margin-top: 2px; border-radius: 999px; background: var(--ink); border: 2px solid var(--surface); box-shadow: 0 1px 3px rgba(var(--shadow-rgb),.3); }
.pin.is-active .pin-photo-card { transform: translate(-50%, -100%) scale(1.18); }
.pin.is-active .pin-photo { border-color: var(--accent); }
.pin.is-active .pin-price, .pin.is-active .pin-photo-card::after { background: var(--accent); }
/* Uitgezoomd: kleinere fotootjes zonder prijs; prijs alleen bij hover of selectie */
.is-compact .pin-photo { width: 36px; height: 36px; border-radius: 10px; border-width: 2px; }
.is-compact .pin-price { display: none; }
.is-compact .pin.is-active .pin-price { display: inline-block; }
.map-follow { position: absolute; left: 16px; top: 16px; z-index: 500; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; box-shadow: 0 2px 10px rgba(var(--shadow-rgb),.14); cursor: pointer; }
.map-follow input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }
.content[data-view="map"] .map-follow { top: 16px; }
button.map-note { border: none; cursor: pointer; font-family: inherit; text-align: left; }
button.map-note:hover { background: var(--soft); }
.content[data-view="map"] .map-note { top: 64px; }
.map-search-area { top: 64px; }
@media (max-width: 900px) { .map-follow { font-size: 12px; height: 34px; } }

/* =================== Groepjes pins en vensters op de kaart =================== */
.pin-stack { position: relative; display: block; width: 62px; height: 58px; }
.pin-stack .pin-photo { position: absolute; }
.pin-stack .pin-stack-0 { left: 0; top: 6px; z-index: 3; }
.pin-stack .pin-stack-1 { left: 6px; top: 3px; z-index: 2; transform: rotate(6deg); opacity: .95; }
.pin-stack .pin-stack-2 { left: 10px; top: 0; z-index: 1; transform: rotate(12deg); opacity: .9; }
.pin-count { position: absolute; right: -4px; top: -4px; z-index: 4; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--on-ink); border: 2px solid var(--surface); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(var(--shadow-rgb),.25); }
.pin-cluster .pin-price { margin-top: -6px; }
.pin-cluster.is-active .pin-count { background: var(--accent); }
.pin-cluster.is-active .pin-stack-0 { border-color: var(--accent); }
.is-compact .pin-stack { width: 46px; height: 42px; }
.is-compact .pin-cluster .pin-price { display: none; }

.ev-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(var(--shadow-rgb),.22); }
.ev-popup .leaflet-popup-content { margin: 0; width: auto !important; min-width: 260px; }
.ev-popup .leaflet-popup-close-button { top: 8px !important; right: 8px !important; width: 28px !important; height: 28px !important; border-radius: 999px; background: rgba(var(--glass),.95) !important; color: var(--ink) !important; font: 18px/28px var(--font) !important; text-align: center; z-index: 2; box-shadow: 0 1px 4px rgba(var(--shadow-rgb),.2); }
.map-pop { display: flex; flex-direction: column; width: 260px; text-decoration: none; color: var(--ink) !important; }
.mp-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.mp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-img .cover-art { position: absolute; inset: 0; }
.mp-img .cover-icon { width: 22%; }
.mp-tag { position: absolute; left: 10px; top: 10px; }
.mp-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; font-family: var(--font); }
.mp-body strong { font-size: 15px; line-height: 1.3; }
.map-pop:hover strong { text-decoration: underline; }
.mp-date { font-size: 12px; font-weight: 600; color: var(--accent-text); }
.mp-line { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.mp-line b { color: var(--ink); }
.mp-org { font-size: 12px; color: var(--muted); }
.map-pop-list { width: 300px; max-height: 340px; overflow-y: auto; font-family: var(--font); padding: 6px; }
.mpl-head { padding: 10px 40px 8px 8px; font-size: 13px; font-weight: 700; }
.mpl-row { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--ink) !important; }
.mpl-row:hover { background: var(--soft); }
.mpl-thumb { position: relative; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; flex: none; }
.mpl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mpl-thumb .cover-art { position: absolute; inset: 0; }
.mpl-thumb .cover-icon { width: 46%; }
.mpl-body { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.mpl-body strong { font-size: 14px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-popup .leaflet-popup-content-wrapper { background: var(--surface); }
.pin-stack .pin-stack-1 { left: 8px; top: 2px; transform: rotate(8deg); }
.pin-stack .pin-stack-2 { left: 14px; top: -2px; transform: rotate(16deg); }
.pin-stack { width: 70px; }
.content[data-view="map"] .map-note { top: 16px; }

/* Venstertje bij een groepje: wisselen met pijltjes */
.pop-carousel { position: relative; }
.pc-arrow { position: absolute; top: 56px; z-index: 3; width: 34px; height: 34px; border-radius: 999px; border: none; background: rgba(var(--glass),.95); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(var(--shadow-rgb),.22); cursor: pointer; }
.pc-arrow:hover { background: var(--surface); transform: scale(1.06); }
.pc-prev { left: 10px; }
.pc-next { right: 10px; }
.pc-count { position: absolute; left: 10px; top: 10px; z-index: 3; padding: 3px 9px; border-radius: 999px; background: rgba(var(--shadow-rgb),.75); color: #fff; font: 600 12px/1.4 var(--font); }
.pc-dots { position: absolute; left: 0; right: 0; top: 130px; z-index: 3; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.pc-dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(var(--glass),.6); box-shadow: 0 0 2px rgba(0,0,0,.3); }
.pc-dots span.on { background: var(--surface); width: 16px; }
.pop-carousel .mp-tag { left: auto; right: 48px; }

/* Kaartvenster: altijd dezelfde maat (280 × 300), geen sluitknop; buiten het vak klikken sluit het */
.ev-popup .leaflet-popup-content { width: 280px !important; min-width: 280px; }
.ev-popup .leaflet-popup-close-button { display: none !important; }
.map-pop { width: 280px; height: 300px; overflow: hidden; }
.mp-img { flex: none; height: 158px; aspect-ratio: auto; }
.mp-body { flex: 1 1 auto; min-height: 0; gap: 4px; padding: 12px 14px; }
.mp-body strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 0; }
.mp-line, .mp-org { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mp-line svg { vertical-align: -2px; margin-right: 4px; }
.mp-body > :last-child { margin-top: auto; }
.pc-arrow { top: 62px; }
.pc-dots { top: 140px; }

/* Groepjes zien er altijd hetzelfde uit (ook uitgezoomd): stapel fotootjes + "x events" */
.is-compact .pin-cluster .pin-photo { width: 52px; height: 52px; border-radius: 14px; border-width: 3px; }
.is-compact .pin-cluster .pin-stack { width: 70px; height: 58px; }
.is-compact .pin-cluster .pin-price { display: inline-block; }


/* =================== Kaart: rustige groepjes (geen overlap) =================== */
.pin-stack, .is-compact .pin-cluster .pin-stack { width: 68px; height: 64px; }
.pin-stack .pin-stack-0 { left: 0; top: 6px; z-index: 3; transform: none; }
.pin-edge { position: absolute; width: 58px; height: 58px; border-radius: 14px; border: 3px solid var(--surface); background: #C9CBD1; box-shadow: 0 2px 6px rgba(var(--shadow-rgb),.18); }
.pin-edge-1 { left: 5px; top: 3px; z-index: 2; }
.pin-edge-2 { left: 10px; top: 0; z-index: 1; background: #DDDEE2; }
.pin-count { right: -6px; top: -6px; }

/* =================== Mobiel: filterbalk, schermvullend menu en filter =================== */
.filter-bar { display: none; }
.fpop, .fpop-backdrop { display: none; }
.menu-close { display: none; margin-left: auto; flex: none; }
.menu-user { display: flex; align-items: center; }
@media (max-width: 900px) {
  .discover .cat-bar { display: none; }
  .discover .topbar .filters-btn { display: none; }
  .discover .search-box .search-btn, .discover .search-box .divider { display: none; }
  .filter-bar { display: flex; flex: none; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px; margin: 0 -16px; position: relative; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar .pill { flex: none; }
  .fbtn-main { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
  .fbtn-main .badge { background: var(--surface); color: var(--ink); }
  .fbtn svg:last-child { margin-left: -2px; opacity: .6; transition: transform .15s; }
  .fbtn[aria-expanded="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
  .fbtn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
  .fbtn.is-on { background: var(--soft); border-color: var(--ink); font-weight: 600; }
  .fpop-backdrop { display: block; position: fixed; left: 0; right: 0; bottom: 0; background: rgba(var(--shadow-rgb),.28); z-index: 1400; }
  .fpop { display: block; position: fixed; left: 12px; right: 12px; z-index: 1450; overflow-y: auto; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(var(--shadow-rgb),.2); }
  .fpop[hidden], .fpop-backdrop[hidden] { display: none; }
  .fpop .f-section { padding: 0; border: 0; }
  .drawer { width: 100%; left: 0; box-shadow: none; }
}
@media (max-width: 700px) {
  .menu { position: fixed; inset: 0; width: auto; z-index: 1900; border: 0; border-radius: 0; box-shadow: none; padding: 16px; gap: 8px; overflow-y: auto; }
  .menu-close { display: inline-flex; }
  .menu-user { padding: 4px 4px 10px; }
  .menu-cta { height: 50px; }
  .menu-list a { padding: 14px 12px; font-size: 17px; }
  .menu-list-small a { padding: 12px; font-size: 16px; }
  html.menu-open, html.menu-open body { overflow: hidden; }
}

/* Kaart blijft onder vaste balken en menu's (eigen stapelvolgorde) */
.leaflet-container { z-index: 0; }

/* =================== Afmelden =================== */
.reg-policy { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.reg-policy svg { flex: none; margin-top: 2px; }
.reg-notice-warn { background: #FDF0DE; color: #8A4B00; margin: 0 0 14px; }
.cancel-reasons { border: 0; margin: 14px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cancel-reasons legend { margin-bottom: 6px; padding: 0; }
.cancel-reasons .input { margin-top: 6px; }
.cancel-reason { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.person-cell .status { margin-left: 4px; }
.select-compact, .dd:has(.select-compact) { width: 190px; flex: none; }
@media (max-width: 600px) { .switch-row:has(.select-compact) { flex-direction: column; align-items: stretch; } .select-compact, .dd:has(.select-compact) { width: 100%; } }
.stat-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .stat-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .stat-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =================== Kaart: zelf een gebied tekenen =================== */
.map-tools { position: absolute; left: 16px; top: 16px; z-index: 720; display: flex; gap: 8px; }
.map-tool { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 10px rgba(var(--shadow-rgb),.12); }
.map-tool:hover { background: var(--soft); }
.map-tool[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.map-tool-icon { width: 40px; padding: 0; justify-content: center; }
.map-tool[hidden] { display: none; }
.draw-layer { position: absolute; inset: 0; z-index: 710; cursor: crosshair; touch-action: none; }
.draw-hint { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); z-index: 730; display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 500; box-shadow: 0 6px 20px rgba(var(--shadow-rgb),.25); white-space: nowrap; max-width: calc(100% - 32px); }
.draw-hint span { overflow: hidden; text-overflow: ellipsis; }
.content[data-view="map"] .map-note { top: 68px; }
@media (max-width: 600px) { .draw-hint { top: 64px; font-size: 13px; white-space: normal; } }

/* =================== Startpagina (landing) =================== */
.landing { background: var(--surface); }
.landing-top { position: absolute; top: 0; left: 0; right: 0; z-index: 30; border-bottom: 0; background: transparent; }
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: #E9E9EA; isolation: isolate; }
.hero-map { position: absolute; inset: -6%; z-index: 0; animation: heroDrift 70s ease-in-out infinite alternate; }
.hero-map .leaflet-control-attribution { font-size: 10px; background: rgba(var(--glass),.6); }
.tiles-bw { filter: grayscale(1) contrast(1.15) brightness(1.04); }
@keyframes heroDrift { from { transform: translate3d(-2%, -1%, 0) scale(1.02); } to { transform: translate3d(2%, 1.5%, 0) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .hero-map { animation: none; } }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 62% 58% at 50% 50%, rgba(var(--glass),.94) 0%, rgba(var(--glass),.82) 45%, rgba(var(--glass),.35) 80%, rgba(var(--glass),.15) 100%),
              linear-gradient(to bottom, rgba(var(--glass),.75) 0%, rgba(var(--glass),0) 18%, rgba(var(--glass),0) 82%, var(--bg) 100%); }
.hero-pin { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--surface); box-shadow: 0 0 0 1px rgba(var(--shadow-rgb),.25); }
.hero-inner { position: relative; z-index: 2; width: min(860px, 100% - 32px); text-align: center; padding: 120px 0 80px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--muted); box-shadow: 0 2px 8px rgba(var(--shadow-rgb),.06); }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(226,64,31,.15); }
.hero h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.hero-sub { margin: 18px auto 32px; max-width: 560px; font-size: 18px; line-height: 1.5; color: #43474D; text-wrap: pretty; }
.hero-search { display: flex; align-items: center; gap: 4px; padding: 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(var(--shadow-rgb),.14), 0 2px 6px rgba(var(--shadow-rgb),.06); text-align: left; }
.hs-field { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 18px; height: 52px; color: var(--muted); cursor: text; }
.hs-what { flex: 1.4; min-width: 0; }
.hs-where { flex: 1; min-width: 0; }
.hs-field svg { flex: none; }
.hs-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); height: 100%; }
.hs-field input::placeholder { color: #8A8E95; }
.hs-field input::-webkit-search-cancel-button { display: none; }
.hs-field:focus-within { color: var(--ink); }
.hs-divider { width: 1px; height: 28px; background: var(--line); flex: none; }
.hs-submit { border-radius: 999px; height: 52px; padding: 0 28px; flex: none; }
.hero-place-list { top: calc(100% + 14px); left: 0; right: -120px; min-width: 300px; text-align: left; }
.hero-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(var(--glass),.92); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; backdrop-filter: blur(6px); }
.hero-chip:hover { border-color: var(--ink); }
.home-section { width: min(1240px, 100% - 64px); margin: 0 auto; padding: 56px 0 8px; }
.home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.home-head h2, .home-cta h2 { margin: 0; font-size: 28px; letter-spacing: -0.02em; }
.home-more { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.home-more:hover { text-decoration: underline; }
.home-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.home-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.home-cat { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.home-cat:hover { border-color: #CFCFD3; box-shadow: 0 4px 14px rgba(var(--shadow-rgb),.06); }
.home-cat-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.home-cat > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.home-cat strong { font-weight: 600; font-size: 15px; }
.home-cat small { color: var(--muted); font-size: 13px; }
.home-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; border-radius: 24px; background: var(--ink); color: var(--on-ink); margin-bottom: 40px; }
.home-cta p { margin: 10px 0 0; max-width: 560px; color: rgba(var(--glass),.72); font-size: 16px; }
.home-cta-actions { display: flex; gap: 10px; flex: none; }
.home-cta .btn-dark { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.home-cta .btn-dark:hover { background: var(--line); color: var(--ink); }
.home-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(var(--glass),.35); }
.home-cta .btn-outline:hover { border-color: var(--surface); color: #fff; background: transparent; }
.home-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; width: min(1240px, 100% - 64px); margin: 0 auto; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.home-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.home-footer a { color: var(--muted); text-decoration: none; }
.home-footer a:hover { color: var(--ink); }
@media (max-width: 1100px) { .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 104px 0 48px; }
  .hero-sub { font-size: 16px; margin-bottom: 24px; }
  .hero-search { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 6px; gap: 0; }
  .hs-divider { width: auto; height: 1px; margin: 0 12px; }
  .hs-submit { margin-top: 6px; border-radius: 16px; }
  .hero-place-list { right: 0; min-width: 0; top: calc(100% + 4px); }
  .home-section, .home-footer { width: calc(100% - 32px); }
  .home-section { padding-top: 40px; }
  .home-head h2, .home-cta h2 { font-size: 22px; }
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .home-cta-actions { flex-direction: column; align-self: stretch; }
}
@media (max-width: 640px) {
  .hs-what, .hs-where { flex: none; }
  .hero-quick { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 18px -16px 0; padding: 0 16px; }
  .hero-quick::-webkit-scrollbar { display: none; }
  .hero-chip { flex: none; }
  .home-grid .card:nth-child(n+5) { display: none; }
}

/* =================== Startpagina v2: kaart in kleur, glazen paneel =================== */
.hero { background: #EEF0EC; }
.tiles-color { filter: saturate(1.15) contrast(1.02); }
.hero-shade {
  background: radial-gradient(ellipse 55% 50% at 50% 52%, rgba(var(--glass),.35) 0%, rgba(var(--glass),0) 70%),
              linear-gradient(to bottom, rgba(var(--glass),.85) 0%, rgba(var(--glass),0) 16%, rgba(var(--glass),0) 80%, var(--bg) 100%);
}
.hero-pin { display: block; width: 46px; height: 46px; border-radius: 14px; overflow: hidden; border: 3px solid var(--surface); background: var(--surface);
  box-shadow: 0 8px 20px rgba(var(--shadow-rgb),.22); transform: rotate(var(--tilt, 0deg)); animation: heroFloat 5s ease-in-out var(--d, 0s) infinite alternate; }
.hero-pin .cover-art, .hero-pin > * { width: 100%; height: 100%; }
@keyframes heroFloat { from { transform: rotate(var(--tilt, 0deg)) translateY(0); } to { transform: rotate(var(--tilt, 0deg)) translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .hero-pin { animation: none; } }
.hero-inner { width: min(820px, 100% - 32px); padding: 44px 48px 34px; margin: 120px 0 72px;
  background: rgba(var(--glass),.74); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(var(--glass),.75); border-radius: 36px; box-shadow: 0 30px 80px rgba(var(--shadow-rgb),.18), inset 0 1px 0 rgba(var(--glass),.9); }
.hero-kicker { background: rgba(var(--glass),.9); }
.hero-dot { animation: heroPulse 2s ease-out infinite; }
@keyframes heroPulse { 0% { box-shadow: 0 0 0 0 rgba(226,64,31,.45); } 100% { box-shadow: 0 0 0 9px rgba(226,64,31,0); } }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.045em; }
.hero-rotator { position: relative; display: block; height: 1.12em; overflow: hidden; }
.hr-word { position: absolute; left: 0; right: 0; top: 0; color: var(--accent); background: linear-gradient(90deg, #E2401F, #F07A2B 55%, #E2401F); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hr-in { animation: hrIn .55s cubic-bezier(.2,.8,.2,1) both; }
.hr-out { animation: hrOut .5s cubic-bezier(.4,0,.6,1) both; }
@keyframes hrIn { from { transform: translateY(70%); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes hrOut { to { transform: translateY(-70%); opacity: 0; filter: blur(4px); } }
.hero-sub { margin: 14px auto 26px; font-size: 17px; color: #43474D; }
.hero-search { box-shadow: 0 10px 30px rgba(var(--shadow-rgb),.12), 0 1px 3px rgba(var(--shadow-rgb),.06); }
.hero-chip { background: rgba(var(--glass),.85); }
@media (max-width: 640px) {
  .hero-inner { margin: 88px 0 32px; padding: 28px 16px 22px; border-radius: 28px; width: calc(100% - 24px); }
  .hero-quick { margin: 18px -16px 0; }
}
.hero-pin .cover-art { display: flex; align-items: center; justify-content: center; }
.hero-pin .cover-icon { width: 22px; height: 22px; position: static; }
.hero-pin img { object-fit: cover; }
.hero-inner { width: min(900px, 100% - 32px); } @media (max-width: 640px) { .hero-inner { width: calc(100% - 24px); } }

/* =================== Startpagina v3: modernere koptekst =================== */
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); font-weight: 600; line-height: .98; letter-spacing: -0.055em; }
.hero h1 > span[aria-hidden] { display: block; }
.hero-rotator { height: 1.14em; margin-top: .02em; }
.hr-word { padding-bottom: .1em; background: linear-gradient(90deg, #A63BEB 0%, #E8337E 42%, #F5732A 72%, #F2A71B 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #E8337E; }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: #8B8F96; font-weight: 400; letter-spacing: -0.01em; max-width: 600px; margin: 22px auto 30px; }
.hero-u { color: #6F737A; text-decoration: underline wavy rgba(var(--shadow-rgb),.22); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-kicker { margin-bottom: 22px; }
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); letter-spacing: -0.05em; }
  .hero-sub { margin: 16px auto 22px; }
}

/* =================== Startpagina v4: minimalistisch, tekst op wit, kaart als horizon =================== */
.hero { min-height: max(680px, 100vh); align-items: flex-start; background: var(--surface); }
.hero-map { inset: 0; animation: none; }
.hero-shade { background:
  linear-gradient(to bottom, var(--bg) 0%, var(--bg) 34%, rgba(var(--glass),.88) 46%, rgba(var(--glass),.35) 62%, rgba(var(--glass),0) 76%, rgba(var(--glass),0) 88%, var(--bg) 100%); }
.hero-inner { width: min(980px, 100% - 32px); margin: 0; padding: clamp(110px, 16vh, 170px) 0 0; background: none; border: 0; box-shadow: none; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-kicker { background: var(--surface); box-shadow: none; }
.hero h1 { margin-bottom: 34px; }
.hero-search { max-width: 760px; margin: 0 auto; }
.hero-quick { flex-wrap: nowrap; gap: 6px; margin-top: 18px; }
.hero-chip { height: 34px; padding: 0 13px; font-size: 13.5px; background: var(--surface); white-space: nowrap; }
.hero-pin { width: 54px; height: 54px; border-radius: 16px; }
.hero-pin .cover-icon { width: 24px; height: 24px; }
@media (max-width: 640px) {
  .hero { min-height: 640px; }
  .hero-inner { padding-top: 96px; width: calc(100% - 32px); }
  .hero h1 { margin-bottom: 24px; }
  .hero-shade { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 58%, rgba(var(--glass),.6) 70%, rgba(var(--glass),0) 84%, var(--bg) 100%); }
}
/* Hero net iets korter dan het scherm: de volgende sectie piept eronder uit */
.hero { min-height: max(620px, calc(100vh - 130px)); min-height: max(620px, calc(100svh - 130px)); }
.hero + .home-section { padding-top: 40px; }
@media (max-width: 640px) { .hero { min-height: max(560px, calc(100svh - 100px)); } }
.hero { min-height: max(620px, calc(100vh - 60px)); min-height: max(620px, calc(100svh - 60px)); }
.hero + .home-section { padding-top: 22px; }
@media (max-width: 640px) { .hero { min-height: max(560px, calc(100svh - 52px)); } .hero + .home-section { padding-top: 18px; } }

/* Snelfilters: één scrollbare rij, ook op de computer */
.hero-quick-wrap { position: relative; max-width: 760px; margin: 18px auto 0; }
.hero-quick-wrap .hero-quick { margin: 0; padding: 2px 0; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.hero-quick-wrap .hero-quick::-webkit-scrollbar { display: none; }
.hero-quick-wrap .hero-chip { flex: none; }
.hero-quick-wrap.fade-r .hero-quick { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
.hero-quick-wrap.fade-l .hero-quick { -webkit-mask-image: linear-gradient(to right, transparent, #000 15%); mask-image: linear-gradient(to right, transparent, #000 15%); }
.hero-quick-wrap.fade-l.fade-r .hero-quick { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.hq-sep { flex: none; width: 1px; height: 20px; margin: 0 6px; align-self: center; background: var(--line); }
.hq-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(var(--shadow-rgb),.1); }
.hq-arrow:hover { border-color: var(--ink); }
.hq-arrow[hidden] { display: none; }
.hq-prev { left: -44px; }
.hq-next { right: -44px; }
@media (max-width: 900px) { .hq-arrow { display: none !important; } }
@media (max-width: 640px) {
  .hero-quick-wrap { margin: 18px -16px 0; max-width: none; }
  .hero-quick-wrap .hero-quick { padding: 2px 16px; }
}

.hero-chip-filters { font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.hero-chip-filters:hover { background: #2A2D31; border-color: #2A2D31; }

.hf-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 2px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 700; }

/* Chiprij precies zo breed als de zoekbalk */
.hero-quick { width: fit-content; max-width: 760px; margin-left: auto; margin-right: auto; flex-wrap: nowrap; overflow: hidden; justify-content: center; }
.hero-chip[hidden] { display: none; }
@media (max-width: 640px) { .hero-quick { max-width: 100%; margin: 16px auto 0; padding: 0; overflow: hidden; } }
/* Chiprij precies even breed als de zoekbalk: de zichtbare chips rekken mee */
.hero-quick { width: 100%; max-width: 760px; }
.hero-quick .hero-chip { flex: 1 1 auto; justify-content: center; }
@media (max-width: 640px) { .hero-quick { max-width: 100%; } }
.hero-quick.is-measuring .hero-chip { flex: none; }
/* Wisselend woord: eigen merkkleur (rood-oranje), geen regenboog */
.hr-word { background: linear-gradient(100deg, #B8301A 0%, #E2401F 45%, #FF7A59 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--accent); }
/* Koptekst rustiger: kleiner en dunner, in verhouding met de zoekbalk */
.hero h1 { font-size: clamp(36px, 4.6vw, 62px); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 30px; }
.hero-rotator { height: 1.16em; }
.hero-kicker { margin-bottom: 20px; }
@media (max-width: 640px) { .hero h1 { font-size: clamp(34px, 9.4vw, 44px); letter-spacing: -0.035em; margin-bottom: 22px; } }
/* Koptekst: weer zoals eerder, maar iets kleiner */
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -0.05em; margin-bottom: 32px; }
.hero-rotator { height: 1.14em; }
@media (max-width: 640px) { .hero h1 { font-size: clamp(38px, 10.5vw, 52px); letter-spacing: -0.045em; margin-bottom: 24px; } }
/* Koptekst: weer de grote letters; wisselend woord in een zachtere tint */
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); font-weight: 600; line-height: .98; letter-spacing: -0.055em; margin-bottom: 34px; }
.hero-rotator { height: 1.14em; }
.hr-word { background: linear-gradient(100deg, #E0603F 0%, #EC7D5E 50%, #F39B80 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #E8704F; }
@media (max-width: 640px) { .hero h1 { font-size: clamp(40px, 11.5vw, 56px); letter-spacing: -0.05em; margin-bottom: 24px; } }
/* Wisselend woord: per woord een eigen, zacht bewegend kleurverloop */
.hr-word { --g1: #FF7A50; --g2: #FF4D8D; color: var(--g1); background: linear-gradient(100deg, var(--g1) 0%, var(--g2) 50%, var(--g1) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: hrShift 6s linear infinite; }
.hr-word.hr-in { animation: hrIn .55s cubic-bezier(.2,.8,.2,1) both, hrShift 6s linear infinite; }
.hr-word.hr-out { animation: hrOut .5s cubic-bezier(.4,0,.6,1) both; }
@keyframes hrShift { from { background-position: 0% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .hr-word { animation: none; } }
.hr-word { width: fit-content; margin: 0 auto; white-space: nowrap; }
.hero h1 { font-weight: 500; }
/* Schermvullend menu: de wazige bovenbalk mag het menu niet "vangen" (backdrop-filter maakt anders een eigen kader) */
@media (max-width: 700px) {
  html.menu-open .ev-topbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); z-index: 1900; }
  html.menu-open .landing-top { z-index: 1900; }
}

/* =================== Privégroepen =================== */
.ev-locked { text-align: center; }
.lock-badge { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 18px; background: #EEE9FA; color: #4B2FA0; margin-bottom: 8px; }
.private-tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: #EEE9FA; color: #4B2FA0; font-size: 12px; font-weight: 600; vertical-align: middle; white-space: nowrap; }
.group-title h1 .private-tag { margin-left: 10px; position: relative; top: -4px; }
.locked-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 44px 24px; border: 1px dashed var(--line-strong); border-radius: 20px; background: var(--surface-2); }
.locked-box h3 { margin: 4px 0 0; font-size: 18px; }
.locked-box p { margin: 0; max-width: 420px; color: var(--muted); }
.req-list { display: flex; flex-direction: column; gap: 8px; }
.req-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
.req-row .member-name { flex: 1; min-width: 0; }
.req-row .btn-sm, .req-row .btn-outline { flex: none; }
.vis-choice { display: flex; flex-direction: column; gap: 6px; }

/* Eventkaartjes rondom de zoekbalk */
.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-deco-item { position: absolute; pointer-events: auto; border-radius: 16px; transition: box-shadow .2s; }
.hero-deco-item:hover { box-shadow: 0 12px 28px rgba(var(--shadow-rgb),.28); }
/* Eventkaartjes vervagen aan de bovenkant mee, net als de kaart */
.hero-deco { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 30%, rgba(0,0,0,.15) 44%, rgba(0,0,0,.65) 60%, #000 74%); mask-image: linear-gradient(to bottom, transparent 0%, transparent 30%, rgba(0,0,0,.15) 44%, rgba(0,0,0,.65) 60%, #000 74%); }
@media (max-width: 640px) { .hero-deco { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 56%, rgba(0,0,0,.4) 68%, #000 82%); mask-image: linear-gradient(to bottom, transparent 0%, transparent 56%, rgba(0,0,0,.4) 68%, #000 82%); } }

/* Verborgen categorieën (instellingen) */
.code-row { display: flex; gap: 10px; max-width: 460px; margin-top: 4px; }
.code-row .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.code-row .input::placeholder { text-transform: none; letter-spacing: 0; }
.unlock-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; max-width: 460px; }
.unlock-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
.unlock-name { flex: 1; display: flex; flex-direction: column; }
.unlock-name small { color: var(--muted); font-size: 12px; }
.code-row .input { text-transform: none; letter-spacing: .02em; }

/* Gast (niet ingelogd) */
.menu-wrap { display: flex; align-items: center; gap: 8px; }
.guest-login { height: 44px; }
.menu-btn-guest { padding: 0 14px; }
.menu-guest > div { display: flex; flex-direction: column; gap: 2px; }
.menu-guest span { color: var(--muted); font-size: 13px; line-height: 1.4; }
@media (max-width: 480px) { .guest-login { display: none; } }
/* Inlogpagina's */
.auth-tabs { margin-bottom: 4px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form[hidden] { display: none; }
.auth-link { align-self: flex-start; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.auth-link-center { align-self: center; }
.auth-msg { margin: 0; padding: 10px 12px; border-radius: 12px; background: #FDECEA; color: #8F1D12; font-size: 14px; line-height: 1.45; }
.auth-msg.is-ok { background: #E8F5EC; color: #1B5E33; }
.auth-msg a { color: inherit; font-weight: 600; }
.auth-terms { font-size: 13px; color: var(--muted); align-items: flex-start; }
.pw-wrap { position: relative; display: block; }
.pw-wrap .input { padding-right: 76px; width: 100%; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn.is-busy { opacity: .7; cursor: progress; }

.input-static { display: flex; align-items: center; background: var(--soft); color: var(--ink); }
.pw-change { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pw-change h3 { margin: 0; font-size: 15px; }
.pw-change .btn { align-self: flex-start; }

/* Melding online events op de kaart: kort op de telefoon */
.map-note .mn-short { display: none; }
@media (max-width: 640px) {
  .map-note .mn-long { display: none; }
  .map-note .mn-short { display: inline; }
  .map-note { padding: 7px 11px; border-radius: 999px; }
}
/* Profiel: per event instellen wie het ziet */
.going-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.going-vis { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.going-vis span { flex: none; }
.going-vis .dd, .going-vis .select { flex: 1; min-width: 0; width: auto; }
.going-vis-anon { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--muted); }

/* =================== Uitnodigingen per e-mail =================== */
.inv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.inv-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.inv-side .box { display: flex; flex-direction: column; gap: 14px; }
.inv-side .switch-row { padding: 0; border: 0; }
.inv-add { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 10px; align-items: end; }
.inv-bulk-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.inv-bulk-actions .btn { margin-left: auto; }
.file-btn { cursor: pointer; }
.verify-box { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px; margin-bottom: 16px; border: 1px dashed var(--line-strong); border-radius: 16px; background: var(--surface-2); }
.verify-box p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.verify-box .btn { justify-self: start; }
.dev-links { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #FFF8E6; border: 1px solid #F1E2B5; font-size: 14px; }
.dev-links ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow: auto; }
.dev-links li { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.dev-links li span { flex: 1; min-width: 160px; color: var(--muted); }
.dev-links a { color: var(--ink); font-weight: 600; }
.box-head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.box-head-row h2 { margin: 0; }
.inv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.inv-stats div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; }
.inv-stats strong { font-size: 22px; letter-spacing: -0.02em; }
.inv-stats span { font-size: 12.5px; color: var(--muted); }
.inv-person { display: flex; flex-direction: column; min-width: 0; }
.inv-person small, .inv-when { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.inv-row-actions { white-space: nowrap; text-align: right; }
.inv-row-actions > * + * { margin-left: 6px; }
@media (max-width: 1000px) { .inv-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .inv-add { grid-template-columns: 1fr; } .inv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Uitnodigingspagina voor gasten */
.invite-page { min-height: calc(100vh - 72px); display: flex; justify-content: center; padding: 40px 16px 64px; }
.invite-card { width: 100%; max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 8px 30px rgba(var(--shadow-rgb),.06); align-self: flex-start; }
.invite-card h1 { margin: 0; font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.inv-org { margin: 0; font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.inv-facts { display: flex; flex-direction: column; gap: 6px; color: #43474D; }
.inv-facts span { display: flex; align-items: center; gap: 8px; }
.inv-facts span::first-letter { text-transform: uppercase; }
.inv-msg { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--soft); white-space: pre-line; color: #43474D; }
.inv-form { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.inv-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.inv-buttons .btn, .inv-buttons .btn-outline { flex: 1; min-width: 140px; justify-content: center; }
.inv-fine { margin: 0; text-align: center; }
.inv-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-top: 6px; }
.inv-done p { margin: 0; color: #43474D; }
.inv-badge { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: #E8F5EC; color: #1B5E33; font-weight: 600; }
.inv-badge-off { background: var(--soft); color: var(--ink); }
.inv-qr { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.inv-qr strong { font-size: 18px; letter-spacing: .08em; margin-top: 6px; }
.inv-qr small { color: var(--muted); }
.inv-account { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-top: 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.inv-account > div { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.inv-account span { color: var(--muted); font-size: 13px; }
@media (max-width: 520px) { .invite-card { padding: 22px; } .inv-account { flex-direction: column; align-items: stretch; } }
.admin-filter { margin: 4px 0 18px; }
.sheet-person { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.sheet-person strong { font-size: 20px; }
.sheet-person small { color: var(--muted); }

/* Gastknoppen in de kop: Inloggen en menu dezelfde vorm (pil, zelfde hoogte en rand) */
.menu-wrap .guest-login, .menu-wrap .menu-btn-guest { height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); box-sizing: border-box; }
.menu-wrap .guest-login { padding: 0 18px; font-size: 14px; }
.menu-wrap .menu-btn-guest { padding: 0 16px; gap: 0; }

/* Melding: account staat op de lijst om verwijderd te worden */
.delete-notice { position: fixed; left: 16px; bottom: 16px; z-index: 2100; max-width: 380px; display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 18px; background: var(--surface); border: 1px solid #F1D4D4; border-radius: 16px; box-shadow: 0 8px 30px rgba(var(--shadow-rgb),.14); }
.delete-notice > div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.delete-notice strong { color: #B42318; font-size: 14px; }
.delete-notice .btn { flex: none; }
@media (max-width: 600px) { .delete-notice { left: 12px; right: 12px; max-width: none; bottom: 12px; } }
.danger-zone .status-banner { margin-bottom: 14px; }
.status-warn { background: #FEF3F2; color: #7A271A; }

/* Profiel: event van profiel halen */
.going-ctl { display: flex; flex-direction: column; gap: 8px; }
.going-hide { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.going-hide:hover { color: #B42318; }
.hidden-events { margin-top: 20px; border: 1px solid var(--line-soft, var(--line)); border-radius: 14px; padding: 12px 16px; }
.hidden-events summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.hidden-events summary::-webkit-details-marker { display: none; }
.hidden-events ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hidden-events li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.hidden-events .field-hint { margin: 8px 0 0; }

/* Uitnodigingen: plekken en waarschuwing */
.cap-note { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; font-size: 13.5px; }
.cap-note.is-warn { background: #FFFAEB; border-color: #F5DFA6; }
.cap-note p { margin: 8px 0 0; color: var(--ink); line-height: 1.5; }
.cap-note .cap-tips { color: var(--muted); }
.cap-head { display: flex; justify-content: space-between; gap: 12px; }
.cap-head span { color: var(--muted); }
.cap-bar { height: 6px; border-radius: 99px; background: var(--line); margin-top: 8px; overflow: hidden; }
.cap-bar span { display: block; height: 100%; border-radius: 99px; background: var(--ink); }
.check.is-disabled { opacity: .5; }

/* Popup na het publiceren */
.pub-modal { max-width: 560px; }
.pub-modal .modal-text { margin-top: 0; }
.pub-share { display: flex; flex-direction: column; gap: 10px; }
.pub-url { display: flex; gap: 8px; }
.pub-url .input { flex: 1; min-width: 0; font-size: 13px; }
.pub-url .btn { flex: none; }
.pub-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-buttons .btn-pill { height: 36px; font-size: 13px; }
.pub-h { margin: 22px 0 8px; font-size: 15px; }
.pub-links { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pub-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line-soft, var(--line)); }
.pub-link:first-child { border-top: 0; }
.pub-link:hover { background: var(--soft); }
.pub-link > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pub-link strong { font-size: 14px; }
.pub-link small { font-size: 12.5px; color: var(--muted); }
.pub-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pub-tip { margin: 12px 0 0; }
@media (max-width: 480px) { .pub-url { flex-direction: column; } }
@media (max-width: 480px) { .pub-url .input { flex: none; height: 44px; } }

/* Wachtlijst bij uitnodigingen */
.inv-badge-wait { background: #FFFAEB; color: #7A4B00; }
.inv-promoted { margin: 4px 0 0; font-size: 14px; color: #067647; }

/* Uitnodigen: opstelvenster met adressen als chips */
.composer { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.chip-input { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 52px; max-height: 260px; overflow-y: auto; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); cursor: text; }
.chip-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(var(--shadow-rgb),.06); }
.chip-input input { flex: 1; min-width: 200px; border: 0; outline: 0; font: inherit; font-size: 14px; padding: 6px 4px; background: transparent; }
.mchip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 4px 4px 4px 10px; border-radius: 999px; background: var(--soft); font-size: 13px; }
.mchip strong { font-weight: 600; }
.mchip > span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mchip button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); }
.mchip button:hover { background: var(--line-strong); color: var(--ink); }
.composer-err { margin: 0; font-size: 13px; color: #B42318; }
.composer-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.composer-tools .link-plain { margin-left: auto; font-size: 13px; }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.composer-foot .btn { margin-left: auto; gap: 8px; }
.contact-panel { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.contact-empty { border: 1px dashed var(--line); border-radius: 14px; padding: 14px; font-size: 13.5px; color: var(--muted); }
.contact-groups { display: flex; flex-direction: column; gap: 6px; }
.contact-group { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font: inherit; }
.contact-group:hover { background: var(--soft); }
.contact-group > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.contact-group strong { font-size: 14px; }
.contact-group small { font-size: 12.5px; color: var(--muted); }
.contact-add { font-size: 13px; font-weight: 600; white-space: nowrap; }
.contact-search { display: flex; gap: 8px; }
.contact-search .input { flex: 1; min-width: 0; height: 36px; font-size: 13.5px; }
.contact-list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.contact-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 2px; border-top: 1px solid var(--line-soft, var(--line)); }
.contact-list li:first-child { border-top: 0; }
.contact-list li > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.contact-list strong { font-size: 13.5px; }
.contact-list small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.contact-in { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: #067647; }
@media (max-width: 480px) { .chip-input input { min-width: 140px; } .contact-search { flex-direction: column; } }

/* Beheren: plekken komen van het event */
.cap-from-event { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13.5px; }
.cap-from-event svg { flex: none; margin-top: 2px; }
.cap-from-event > span { display: flex; flex-direction: column; gap: 2px; }
.cap-from-event small { color: var(--muted); font-size: 12.5px; }
.cap-from-event a { color: var(--ink); }

/* Minimumleeftijd: vrij invulveld */
.age-input { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.age-input .input { width: 120px; height: 40px; text-align: center; }
.age-input span { font-size: 13px; color: var(--muted); }

/* Voor wie (gender) */
.aud-field { display: flex; flex-direction: column; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft, var(--line)); }
.aud-field > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.aud-field > div:first-child span { font-size: 13px; color: var(--muted); }
.aud-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.aud-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 12px 6px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--surface); font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.aud-opt:hover { border-color: var(--line-strong); }
.aud-opt[aria-pressed="true"] { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.aud-figs { display: flex; align-items: flex-end; height: 32px; }
.aud-ico { display: block; flex: none; }
.tag-aud { display: inline-flex; align-items: center; gap: 1px; background: var(--surface); padding: 0 6px; }
.ev-tag-aud { gap: 4px; }
.ev-tag-aud .aud-ico:last-of-type { margin-right: 2px; }
@media (max-width: 520px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.switch-row > .age-input { flex-direction: row; align-items: center; gap: 8px; }

/* Aanmelden: sluitingstijd */
.tag-closed { background: var(--surface); color: #B42318; }
.reg-closed { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #FEF3F2; color: #7A271A; }
.reg-closed svg { flex: none; margin-top: 1px; }
.reg-closed > div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.reg-closed strong { font-size: 15px; }
.reg-policy.reg-soon { color: #B54708; font-weight: 600; }
.reg-close-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 4px; border-radius: 12px; background: var(--soft); }
.reg-close-status { display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.inv-deadline { display: flex; align-items: center; gap: 6px; margin: 0; }
.aud-field[hidden] { display: none; }
@media (max-width: 600px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ev-tag-aud { gap: 8px; padding: 0 12px; }
.ev-tag-aud .aud-ico:last-of-type { margin-right: 0; }
.load-more { display: flex; justify-content: center; padding: 20px 0 8px; }

/* Online events: gebied en taal */
.seg-wrap { flex-wrap: wrap; }
.reach-row { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.reach-row[hidden] { display: none; }
.reach-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.reach-add .input { max-width: 320px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.field-optional { font-weight: 400; color: var(--muted); }
.reach-add { position: relative; max-width: 360px; }
.reach-add .input { max-width: none; }
.reach-add .place-list { max-height: 280px; }

/* Hero-titel op één regel: het wisselende woord staat naast "Zoek je volgende" (breedte via landing.js) */
@media (min-width: 641px) {
  .hero h1.hero-one > span[aria-hidden] { display: block; white-space: nowrap; }
  .hero h1.hero-one .hero-rotator { display: inline-block; vertical-align: top; width: var(--rotw, 5.2em); height: 1.14em; text-align: left; }
  .hero h1.hero-one .hr-word { margin: 0; right: auto; }
}
.hero-measure { position: absolute; visibility: hidden; white-space: nowrap; left: -9999px; top: 0; }
@media (min-width: 641px) {
  .hero h1.hero-one .hero-rotator { width: auto; transition: width .5s cubic-bezier(.2,.8,.2,1); }
}
/* "Zoek je volgende" staat vast en begint op dezelfde lijn als de zoekbalk; alleen het woord wisselt (rechts mag het uitlopen) */
@media (min-width: 641px) {
  .hero h1.hero-one > span[aria-hidden] { width: 100%; max-width: 760px; margin: 0 auto; text-align: left; }
  .hero h1.hero-one .hero-rotator { transition: none; }
}

/* Hero met stippen-wereldbol */
.hero-globe { background: var(--surface); }
.hero-globe .hero-map { inset: 0; animation: none; background: none; }
.globe-canvas { position: absolute; inset: 0; display: block; }
.hero-globe .hero-shade { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 30%, rgba(var(--glass),.75) 42%, rgba(var(--glass),0) 58%, rgba(var(--glass),0) 86%, var(--bg) 100%); }
.hero-globe .hero-deco { display: none; }
.globe-tags { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.globe-tag { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; background: rgba(var(--glass),.94); border: 1px solid rgba(var(--shadow-rgb),.06); border-radius: 12px; box-shadow: 0 6px 20px rgba(60,40,120,.12); font-size: 13px; white-space: nowrap; animation: globeTagIn .4s ease both; will-change: transform; }
.globe-tag-ico { width: 30px; height: 30px; border-radius: 8px; overflow: hidden; flex: none; display: block; }
.globe-tag-ico > * { width: 100%; height: 100%; }
.globe-tag-ico .cover-icon { width: 16px; height: 16px; }
.globe-tag > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.globe-tag strong { font-weight: 600; color: var(--ink); }
.globe-tag small { color: var(--muted); font-size: 12px; }
@keyframes globeTagIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) { .globe-tag { font-size: 12px; padding: 5px 10px 5px 5px; } .globe-tag-ico { width: 24px; height: 24px; } }
.globe-tag-ico { position: relative; }
.hero-globe .hero-shade { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 26%, rgba(var(--glass),.8) 40%, rgba(var(--glass),0) 54%, rgba(var(--glass),0) 84%, var(--bg) 100%); }
.hero-globe .hero-shade { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 22%, rgba(var(--glass),.7) 36%, rgba(var(--glass),.15) 50%, rgba(var(--glass),0) 60%, rgba(var(--glass),0) 86%, var(--bg) 100%); }
@media (max-width: 640px) { .hero-globe .hero-shade { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 50%, rgba(var(--glass),0) 66%, rgba(var(--glass),0) 86%, var(--bg) 100%); } }
/* Bol hoger: wit alleen helemaal bovenin, achter titel en zoekbalk een lichte waas zodat de tekst leesbaar blijft */
.hero-globe .hero-shade { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 14%, rgba(var(--glass),.82) 26%, rgba(var(--glass),.6) 44%, rgba(var(--glass),.1) 62%, rgba(var(--glass),0) 70%, rgba(var(--glass),0) 86%, var(--bg) 100%); }
@media (max-width: 640px) { .hero-globe .hero-shade { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 30%, rgba(var(--glass),.7) 44%, rgba(var(--glass),.55) 60%, rgba(var(--glass),0) 74%, rgba(var(--glass),0) 86%, var(--bg) 100%); } }
@media (max-width: 640px) { .hero-globe .hero-shade { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 50%, rgba(var(--glass),0) 66%, rgba(var(--glass),0) 86%, var(--bg) 100%); } }

/* Zoekbalk: knop met tekst (desktop) of alleen een vergrootglas (telefoon) */
.hs-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.hs-submit-ico { display: none; }
@media (max-width: 640px) {
  /* Alles op één horizontale regel: wat | waar | zoekknop */
  .hero-search { position: relative; flex-direction: row; align-items: center; border-radius: 999px; padding: 5px; gap: 0; }
  .hs-field { height: 46px; gap: 6px; }
  .hs-what { flex: 1.1; padding: 0 6px 0 16px; }
  .hs-what > svg { display: none; }
  .hs-where { flex: 1; padding: 0 6px 0 10px; position: static; }
  .hs-where > svg { width: 17px; height: 17px; }
  .hs-divider { width: 1px; height: 24px; margin: 0; }
  .hs-submit { width: 46px; height: 46px; padding: 0; margin: 0; border-radius: 50%; flex: none; }
  .hs-submit-ico { display: block; }
  .hs-submit-text { display: none; }
  /* Suggesties onder de hele zoekbalk */
  .hero-place-list { left: 0; right: 0; top: calc(100% + 8px); min-width: 0; }
}
@media (max-width: 640px) {
  /* Zoekveld langer, locatie compacter */
  .hs-what { flex: 1.6; }
  .hs-where { flex: 1; max-width: 132px; padding: 0 4px 0 10px; }
  .hs-where input { text-overflow: ellipsis; }
}
@media (max-width: 640px) { .hs-where { flex: 0 0 142px; max-width: none; } }
@media (max-width: 360px) { .hs-where { flex-basis: 124px; } }

/* Hero-titel: "Zoek je volgende" en het wisselende woord in gewicht 400 */
.hero h1, .hero h1 .hero-rotator, .hero h1 .hr-word { font-weight: 400; }

/* Teller boven de titel ("33 events in 13 landen en online"): zonder rand */
.hero .hero-kicker { border: 0; box-shadow: none; background: transparent; backdrop-filter: none; }

/* Event maken: organiseren als (persoonlijk of groep, of nieuwe groep) */
.org-pick { position: relative; }
.org-btn { display: flex; align-items: center; gap: 10px; min-width: 260px; height: 52px; padding: 0 14px 0 8px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.org-btn:hover { border-color: var(--line-strong); }
.org-btn[aria-expanded="true"] { border-color: var(--ink); }
.org-btn > svg { margin-left: auto; color: var(--muted); flex: none; }
.org-btn-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.org-btn-text small { font-size: 11.5px; color: var(--muted); }
.org-btn-text strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.org-av-me, .org-av-g { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.org-av-me { background: var(--ink); color: var(--on-ink); font-weight: 600; font-size: 14px; border-radius: 50%; }
.org-menu { position: absolute; left: 0; top: calc(100% + 6px); z-index: 60; width: max(100%, 320px); max-height: 380px; overflow-y: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(var(--shadow-rgb),.14); }
.org-sec { padding: 10px 10px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.org-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.org-opt:hover, .org-opt:focus-visible { background: var(--soft); outline: none; }
.org-opt[aria-selected="true"] { background: var(--surface-2); }
.org-opt > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.org-opt strong { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-opt small { font-size: 12.5px; color: var(--muted); }
.org-opt > svg { flex: none; }
.org-empty { margin: 2px 10px 6px; font-size: 13px; color: var(--muted); }
.org-new { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; padding: 10px; border: 0; border-top: 1px solid var(--line-soft, var(--line)); border-radius: 0 0 10px 10px; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; }
.org-new:hover, .org-new:focus-visible { background: var(--soft); outline: none; }
@media (max-width: 640px) { .org-btn { min-width: 0; width: 100%; } .org-menu { width: 100%; } }

/* Groepskaart: onderste regel netjes laten afbreken */
.gc-foot { flex-wrap: wrap; row-gap: 8px; }
.gc-foot .ev-tag, .gc-foot .gc-meta, .gc-foot .btn, .gc-foot .btn-outline { white-space: nowrap; }
.gc-foot .ev-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.org-pick select[hidden] { display: none !important; }

/* Titel "Zoek je een …?": het vraagteken in gewone tekstkleur, niet in het kleurverloop */
.hr-q { -webkit-text-fill-color: var(--ink); color: var(--ink); background: none; }

/* Hero-inhoud (teller, titel, zoekbalk, knoppen) iets lager */
.hero-inner { padding-top: clamp(140px, 22vh, 230px); }
@media (max-width: 640px) { .hero-inner { padding-top: 124px; } }

/* Vertalen: pagina even verbergen tot de tekst vertaald is (i18n.js) */
html.i18n-wait body { visibility: hidden; }
/* Taalkeuze rechts van het menu */
.hdr-right { display: inline-flex; align-items: center; gap: 8px; }
.lang-wrap { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.lang-btn:hover { border-color: var(--line-strong); }
.lang-btn[aria-expanded="true"] { border-color: var(--ink); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 2000; min-width: 180px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(var(--shadow-rgb),.14); }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; text-align: left; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--soft); outline: none; }
.lang-menu button[aria-checked="true"] { font-weight: 600; }
@media (max-width: 480px) { .lang-btn { padding: 0 11px; } }

/* Taalknop: zelfde vorm als de menuknop ernaast */
.lang-btn { height: 50px; border-radius: 16px; padding: 0 16px; }
.hdr-right:has(.menu-btn-guest) .lang-btn { height: 44px; border-radius: 999px; padding: 0 14px; }
@media (max-width: 480px) { .lang-btn { padding: 0 12px; } }

/* Hero-titel op de telefoon naar verhouding iets kleiner (zelfde verhouding als op de laptop) */
@media (max-width: 640px) { .hero h1.hero-one { font-size: clamp(36px, 10.3vw, 50px); } }

/* Telefoon: "Vind jouw" en het wisselende woord op één regel, links gelijk met de zoekbalk (grootte via landing.js) */
@media (max-width: 640px) {
  .hero h1.hero-one > span[aria-hidden] { display: block; white-space: nowrap; width: 100%; text-align: left; }
  .hero h1.hero-one .hero-rotator { display: inline-block; vertical-align: top; height: 1.14em; text-align: left; transition: none; }
  .hero h1.hero-one .hr-word { margin: 0; right: auto; }
}

/* Woordwissel zonder overlap: het oude woord schuift eerst helemaal omhoog weg, daarna komt het nieuwe van onderen in beeld */
.hero-rotator { overflow: hidden; }
.hr-word.hr-in { animation: hrIn2 .5s cubic-bezier(.2,.8,.2,1) .34s both, hrShift 6s linear .34s infinite; }
.hr-word.hr-out, .hr-word.hr-in.hr-out { animation: hrOut2 .28s cubic-bezier(.55,0,.8,.4) both; }
@keyframes hrOut2 { 0% { transform: none; opacity: 1; } 70% { opacity: 0; } 100% { transform: translateY(-110%); opacity: 0; } }
@keyframes hrIn2 { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Telefoon: titel iets naar rechts, zodat hij optisch beter onder de zoekbalk staat */
@media (max-width: 640px) { .hero h1.hero-one > span[aria-hidden] { padding-left: 10px; box-sizing: border-box; } }

/* ===== Hero-achtergrond: bewegende kleurvlekken met blur (HERO_BG = 'blur' in landing.js) =====
   Losse vlekken met wit ertussen, die zichtbaar rondzweven */
.hero-blur .hero-map { inset: 0; animation: none; background: none; }
.hero-blur .hero-deco { display: none; }
.hero-blur .hero-shade { background: linear-gradient(to bottom, rgba(var(--glass),0) 0%, rgba(var(--glass),0) 86%, var(--bg) 100%); }
.blur-bg { position: absolute; inset: 0; overflow: hidden; background: var(--surface); }
.blur-bg .bb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; will-change: transform; }
.bb-1 { width: 26vw; height: 26vw; left: 4%;  top: 8%;  background: #FF8A5B; animation: bb1 11s ease-in-out infinite alternate; }
.bb-2 { width: 24vw; height: 24vw; right: 5%; top: 4%;  background: #A855F7; animation: bb2 13s ease-in-out infinite alternate; }
.bb-3 { width: 22vw; height: 22vw; left: 40%; top: 58%; background: #F0508C; animation: bb3 10s ease-in-out infinite alternate; }
.bb-4 { width: 20vw; height: 20vw; left: 8%;  top: 62%; background: #4F7BFF; animation: bb4 14s ease-in-out infinite alternate; }
.bb-5 { width: 20vw; height: 20vw; right: 8%; top: 56%; background: #2EC4B6; animation: bb5 12s ease-in-out infinite alternate; opacity: .6; }
@keyframes bb1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(10vw, 12vh) scale(1.15); } 100% { transform: translate(3vw, 26vh) scale(.9); } }
@keyframes bb2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-12vw, 14vh) scale(.9); } 100% { transform: translate(-4vw, 28vh) scale(1.1); } }
@keyframes bb3 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-14vw, -10vh) scale(1.2); } 100% { transform: translate(10vw, -6vh) scale(.95); } }
@keyframes bb4 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(12vw, -18vh) scale(1.1); } 100% { transform: translate(20vw, 4vh) scale(.9); } }
@keyframes bb5 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-10vw, -16vh) scale(1.15); } 100% { transform: translate(-18vw, 6vh) scale(1); } }
@media (max-width: 640px) {
  .blur-bg .bb { filter: blur(40px); }
  .bb-1, .bb-2 { width: 52vw; height: 52vw; }
  .bb-3, .bb-4, .bb-5 { width: 44vw; height: 44vw; }
}
@media (prefers-reduced-motion: reduce) { .blur-bg .bb { animation: none; } }

/* Kleurvlekken: eerst samen in het midden, dan uitwaaieren (translate/scale staan los van de transform-lus) */
.blur-bg .bb { opacity: 0; }
.blur-bg.go .bb { opacity: .7; }
.blur-bg.go .bb-5 { opacity: .6; }
.blur-bg.go .bb-1 { animation: bbIn 2.6s cubic-bezier(.2,.7,.2,1) both, bb1 7s ease-in-out 2.6s infinite alternate; }
.blur-bg.go .bb-2 { animation: bbIn 2.6s cubic-bezier(.2,.7,.2,1) .08s both, bb2 8s ease-in-out 2.68s infinite alternate; }
.blur-bg.go .bb-3 { animation: bbIn 2.6s cubic-bezier(.2,.7,.2,1) .16s both, bb3 6.5s ease-in-out 2.76s infinite alternate; }
.blur-bg.go .bb-4 { animation: bbIn 2.6s cubic-bezier(.2,.7,.2,1) .24s both, bb4 8.5s ease-in-out 2.84s infinite alternate; }
.blur-bg.go .bb-5 { animation: bbIn 2.6s cubic-bezier(.2,.7,.2,1) .32s both, bb5 7.5s ease-in-out 2.92s infinite alternate; }
@keyframes bbIn { from { translate: var(--fx, 0) var(--fy, 0); scale: .45; opacity: 0; } 35% { opacity: .75; } }
@media (prefers-reduced-motion: reduce) { .blur-bg.go .bb { animation: none; } }


/* Kleurvlekken dichter bij het midden, en minder ver naar de randen bewegen */
.bb-1 { left: 20%; top: 10%; }
.bb-2 { left: auto; right: 20%; top: 6%; }
.bb-3 { left: 39%; top: 50%; }
.bb-4 { left: 24%; top: 56%; }
.bb-5 { left: auto; right: 22%; top: 50%; }
@keyframes bb1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(7vw, 10vh) scale(1.15); } 100% { transform: translate(2vw, 20vh) scale(.9); } }
@keyframes bb2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-8vw, 12vh) scale(.9); } 100% { transform: translate(-3vw, 22vh) scale(1.1); } }
@keyframes bb3 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-9vw, -8vh) scale(1.2); } 100% { transform: translate(7vw, -5vh) scale(.95); } }
@keyframes bb4 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, -14vh) scale(1.1); } 100% { transform: translate(10vw, 3vh) scale(.9); } }
@keyframes bb5 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6vw, -12vh) scale(1.15); } 100% { transform: translate(-10vw, 4vh) scale(1); } }
@media (max-width: 640px) {
  .bb-1 { left: -4%; } .bb-2 { right: -4%; } .bb-3 { left: 26%; } .bb-4 { left: 0; } .bb-5 { right: 0; }
}

/* Events die scherp uit de kleurvlekken poppen */
.blur-pops { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.blur-pop { pointer-events: auto; text-decoration: none; color: inherit; animation: blurPopIn .55s cubic-bezier(.2,1.4,.4,1) both; transition: opacity .5s ease, transform .5s ease, filter .5s ease; }
.blur-pop:hover { box-shadow: 0 10px 28px rgba(60,40,120,.2); }
.blur-pop.out { opacity: 0; transform: scale(.92); filter: blur(6px); }
@keyframes blurPopIn { from { opacity: 0; transform: scale(.7); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
/* Pop-ups wat zachter: half doorzichtig glas, lichtere schaduw, iets gedempt */
.blur-pop { background: rgba(var(--glass),.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: rgba(var(--glass),.5); box-shadow: 0 4px 14px rgba(60,40,120,.07); }
.blur-pop:not(.out) { opacity: .82; }
.blur-pop .globe-tag-ico { opacity: .85; }
.blur-pop strong { color: rgba(var(--shadow-rgb),.8); }
.blur-pop:hover { opacity: 1; background: rgba(var(--glass),.85); }
@keyframes blurPopIn { from { opacity: 0; transform: scale(.7); filter: blur(10px); } to { opacity: .82; transform: none; filter: none; } }


.anon-locked { display: flex; align-items: center; gap: 6px; margin: 4px 0; font-size: 13px; color: var(--muted); }
/* Startpunt: één grote, samenhangende kleurwolk achter de titel en zoekbalk, die daarna rustig uiteen drijft */
@keyframes bbIn {
  0%   { translate: calc(var(--fx, 0px) * .5) calc(var(--fy, 0px) * .5); scale: 1.6; opacity: .8; }
  25%  { translate: calc(var(--fx, 0px) * .5) calc(var(--fy, 0px) * .5); scale: 1.6; opacity: .8; }
  100% { translate: 0 0; scale: 1; }
}
.blur-bg.go .bb-1 { animation: bbIn 3.6s cubic-bezier(.45,0,.2,1) both, bb1 7s ease-in-out 3.6s infinite alternate; }
.blur-bg.go .bb-2 { animation: bbIn 3.6s cubic-bezier(.45,0,.2,1) both, bb2 8s ease-in-out 3.6s infinite alternate; }
.blur-bg.go .bb-3 { animation: bbIn 3.6s cubic-bezier(.45,0,.2,1) both, bb3 6.5s ease-in-out 3.6s infinite alternate; }
.blur-bg.go .bb-4 { animation: bbIn 3.6s cubic-bezier(.45,0,.2,1) both, bb4 8.5s ease-in-out 3.6s infinite alternate; }
.blur-bg.go .bb-5 { animation: bbIn 3.6s cubic-bezier(.45,0,.2,1) both, bb5 7.5s ease-in-out 3.6s infinite alternate; }
/* Bovenrand van de kleurwolk zacht laten verlopen (geen harde lijn onder de bovenbalk) */
.blur-bg { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 140px); mask-image: linear-gradient(to bottom, transparent 0, #000 140px); }

/* Kleurwolk zonder aparte intro: de vlekken staan bij het laden als één zachte wolk dicht bij elkaar
   (zoals op de printscreen) en drijven vanaf daar vloeiend uit elkaar en weer terug. Geen sprongen. */
.blur-bg .bb, .blur-bg.go .bb, .blur-bg.go .bb-5 { opacity: .6; filter: blur(70px); width: 30vw; height: 30vw; }
.bb-1 { left: 22%; right: auto; top: 0; }       /* oranje, linksboven */
.bb-2 { left: auto; right: 18%; top: 6%; }      /* paars, rechts */
.bb-3 { left: 37%; right: auto; top: 30%; }     /* roze, midden */
.bb-4 { left: 28%; right: auto; top: 46%; }     /* blauw, onder */
.bb-5 { left: auto; right: 26%; top: 44%; }     /* turquoise, onder */
.blur-bg.go .bb-1 { animation: bbOut1 9s ease-in-out infinite alternate; }
.blur-bg.go .bb-2 { animation: bbOut2 10s ease-in-out infinite alternate; }
.blur-bg.go .bb-3 { animation: bbOut3 8.5s ease-in-out infinite alternate; }
.blur-bg.go .bb-4 { animation: bbOut4 11s ease-in-out infinite alternate; }
.blur-bg.go .bb-5 { animation: bbOut5 9.5s ease-in-out infinite alternate; }
@keyframes bbOut1 { from { transform: none; } 50% { transform: translate(-8vw, 6vh) scale(1.08); } to { transform: translate(-4vw, 16vh) scale(.95); } }
@keyframes bbOut2 { from { transform: none; } 50% { transform: translate(8vw, 8vh) scale(.95); } to { transform: translate(3vw, 18vh) scale(1.08); } }
@keyframes bbOut3 { from { transform: none; } 50% { transform: translate(-6vw, -10vh) scale(1.1); } to { transform: translate(6vw, -4vh) scale(.95); } }
@keyframes bbOut4 { from { transform: none; } 50% { transform: translate(-9vw, 4vh) scale(1.05); } to { transform: translate(4vw, 10vh) scale(.92); } }
@keyframes bbOut5 { from { transform: none; } 50% { transform: translate(8vw, -6vh) scale(1.1); } to { transform: translate(10vw, 8vh) scale(1); } }
@media (max-width: 640px) { .blur-bg .bb, .blur-bg.go .bb, .blur-bg.go .bb-5 { width: 60vw; height: 60vw; filter: blur(45px); } }
@media (prefers-reduced-motion: reduce) { .blur-bg.go .bb { animation: none; } }

/* Beweging om de beurt: steeds één vlek drijft naar een hoek en komt terug, de rest blijft in de wolk.
   Eén ronde duurt 20 s (5 vlekken x 4 s). */
.bb-1 { --cx: -22vw; --cy: -10vh; }   /* naar linksboven */
.bb-2 { --cx: 17vw;  --cy: -10vh; }   /* naar rechtsboven */
.bb-3 { --cx: 26vw;  --cy: -22vh; }   /* naar rechtsboven (via het midden) */
.bb-4 { --cx: -27vw; --cy: 22vh; }    /* naar linksonder */
.bb-5 { --cx: 25vw;  --cy: 22vh; }    /* naar rechtsonder */
.blur-bg.go .bb-1, .blur-bg.go .bb-2, .blur-bg.go .bb-3, .blur-bg.go .bb-4, .blur-bg.go .bb-5 { animation: bbCorner 20s ease-in-out infinite; }
.blur-bg.go .bb-1 { animation-delay: .5s; }
.blur-bg.go .bb-4 { animation-delay: 4.5s; }
.blur-bg.go .bb-2 { animation-delay: 8.5s; }
.blur-bg.go .bb-5 { animation-delay: 12.5s; }
.blur-bg.go .bb-3 { animation-delay: 16.5s; }
@keyframes bbCorner {
  0%, 2%    { transform: none; }
  10%       { transform: translate(var(--cx), var(--cy)) scale(.85); }
  13%       { transform: translate(var(--cx), var(--cy)) scale(.85); }
  21%, 100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .blur-bg.go .bb { animation: none; } }

/* Daarnaast drijven alle vlekken steeds een klein beetje heen en weer (eigen 'translate', telt op bij de hoekbeweging) */
.blur-bg.go .bb-1 { animation: bbCorner 20s ease-in-out .5s infinite, bbIdle1 7s ease-in-out infinite alternate; }
.blur-bg.go .bb-4 { animation: bbCorner 20s ease-in-out 4.5s infinite, bbIdle2 8s ease-in-out infinite alternate; }
.blur-bg.go .bb-2 { animation: bbCorner 20s ease-in-out 8.5s infinite, bbIdle3 6.5s ease-in-out infinite alternate; }
.blur-bg.go .bb-5 { animation: bbCorner 20s ease-in-out 12.5s infinite, bbIdle4 7.5s ease-in-out infinite alternate; }
.blur-bg.go .bb-3 { animation: bbCorner 20s ease-in-out 16.5s infinite, bbIdle5 9s ease-in-out infinite alternate; }
@keyframes bbIdle1 { from { translate: 0 0; } 50% { translate: 3vw 3vh; } to { translate: -2vw 5vh; } }
@keyframes bbIdle2 { from { translate: 0 0; } 50% { translate: 3vw -3vh; } to { translate: 5vw 1vh; } }
@keyframes bbIdle3 { from { translate: 0 0; } 50% { translate: -3vw 4vh; } to { translate: 2vw 6vh; } }
@keyframes bbIdle4 { from { translate: 0 0; } 50% { translate: -4vw -2vh; } to { translate: -1vw -5vh; } }
@keyframes bbIdle5 { from { translate: 0 0; } 50% { translate: 4vw 3vh; } to { translate: -3vw -3vh; } }
@media (prefers-reduced-motion: reduce) { .blur-bg.go .bb { animation: none; } }

/* Meer en snellere eigen beweging, en de vorm verandert mee (ongelijk uitrekken) */
.blur-bg.go .bb-1 { animation: bbCorner 20s ease-in-out .5s infinite, bbIdle1 4.5s ease-in-out infinite alternate; }
.blur-bg.go .bb-4 { animation: bbCorner 20s ease-in-out 4.5s infinite, bbIdle2 5.5s ease-in-out infinite alternate; }
.blur-bg.go .bb-2 { animation: bbCorner 20s ease-in-out 8.5s infinite, bbIdle3 4s ease-in-out infinite alternate; }
.blur-bg.go .bb-5 { animation: bbCorner 20s ease-in-out 12.5s infinite, bbIdle4 5s ease-in-out infinite alternate; }
.blur-bg.go .bb-3 { animation: bbCorner 20s ease-in-out 16.5s infinite, bbIdle5 6s ease-in-out infinite alternate; }
@keyframes bbIdle1 { 0% { translate: 0 0; scale: 1 1; } 33% { translate: 6vw 6vh; scale: 1.25 .85; } 66% { translate: -4vw 9vh; scale: .9 1.2; } 100% { translate: 3vw -3vh; scale: 1.15 1; } }
@keyframes bbIdle2 { 0% { translate: 0 0; scale: 1 1; } 33% { translate: 7vw -6vh; scale: .85 1.25; } 66% { translate: 10vw 3vh; scale: 1.3 .9; } 100% { translate: -3vw -4vh; scale: 1 1.15; } }
@keyframes bbIdle3 { 0% { translate: 0 0; scale: 1 1; } 33% { translate: -6vw 7vh; scale: 1.2 .9; } 66% { translate: 3vw 10vh; scale: .9 1.25; } 100% { translate: -5vw 2vh; scale: 1.1 1.1; } }
@keyframes bbIdle4 { 0% { translate: 0 0; scale: 1 1; } 33% { translate: -8vw -4vh; scale: 1.3 .85; } 66% { translate: -2vw -9vh; scale: .85 1.2; } 100% { translate: 4vw -2vh; scale: 1.1 1; } }
@keyframes bbIdle5 { 0% { translate: 0 0; scale: 1 1; } 33% { translate: 7vw 5vh; scale: .85 1.3; } 66% { translate: -6vw -6vh; scale: 1.25 .9; } 100% { translate: 2vw 7vh; scale: 1 1.1; } }
@media (prefers-reduced-motion: reduce) { .blur-bg.go .bb { animation: none; } }

/* Hoekbeweging langzamer: ronde van 30 s, per vlek ~3 s heen, even blijven, ~3 s terug */
.blur-bg.go .bb-1 { animation: bbCorner2 30s ease-in-out .5s infinite, bbIdle1 4.5s ease-in-out infinite alternate; }
.blur-bg.go .bb-4 { animation: bbCorner2 30s ease-in-out 6.5s infinite, bbIdle2 5.5s ease-in-out infinite alternate; }
.blur-bg.go .bb-2 { animation: bbCorner2 30s ease-in-out 12.5s infinite, bbIdle3 4s ease-in-out infinite alternate; }
.blur-bg.go .bb-5 { animation: bbCorner2 30s ease-in-out 18.5s infinite, bbIdle4 5s ease-in-out infinite alternate; }
.blur-bg.go .bb-3 { animation: bbCorner2 30s ease-in-out 24.5s infinite, bbIdle5 6s ease-in-out infinite alternate; }
@keyframes bbCorner2 {
  0%, 1%   { transform: none; }
  11%      { transform: translate(var(--cx), var(--cy)) scale(.85); }
  14%      { transform: translate(var(--cx), var(--cy)) scale(.85); }
  24%, 100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .blur-bg.go .bb { animation: none; } }


/* Matglas-vlak óm de zoekbalk en snelkeuzeknoppen heen (de balk en knoppen zelf blijven zoals ze zijn) */
.search-glass { position: absolute; z-index: 1; pointer-events: none; border-radius: 36px;
  background: rgba(var(--glass),.22); -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4);
  border: 1px solid rgba(var(--glass),.55); box-shadow: 0 20px 60px rgba(60,40,120,.10), inset 0 1px 0 rgba(var(--glass),.6); }
.hero-blur .hero-search, .hero-blur .hero-quick, .hero-blur #heroQuick { position: relative; z-index: 2; }
/* Geen witte rand om het glasvlak */
.search-glass { border: 0; box-shadow: 0 20px 60px rgba(60,40,120,.08); }

/* Wereldbol of kaart met blur (?bg=globeblur / ?bg=mapblur); de eventlabels blijven scherp */
.hero-globeblur .globe-canvas { filter: blur(4px) saturate(1.2); }
.hero-mapblur .hero-map > :not(.hero-deco) { filter: blur(7px) saturate(1.25); }
.hero-mapblur .hero-map { overflow: hidden; }

/* ===== Hero in de stijl van de eventkaarten zonder foto (?bg=cover) ===== */
.hero-cover .hero-map { inset: 0; animation: none; background: none; overflow: hidden; }
.hero-cover .hero-deco { display: none; }
.hero-cover .hero-shade { background: linear-gradient(to bottom, rgba(var(--glass),0) 0%, rgba(var(--glass),0) 80%, var(--bg) 100%); }
.cover-bg { --cv-bg: #F6E4F0; --cv-ink: #8A2766; position: absolute; inset: 0; background: var(--cv-bg); color: var(--cv-ink); transition: background-color 1.2s ease, color 1.2s ease; }
/* Cirkels vanuit rechtsboven en linksonder, die langzaam "ademen" */
.cv-rings { position: absolute; width: 900px; height: 900px; opacity: .2; overflow: visible; }
.cv-rings circle { stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.cv-tr { right: -450px; top: -450px; animation: cvPulse 9s ease-in-out infinite alternate; }
.cv-bl { left: -450px; bottom: -450px; animation: cvPulse 11s ease-in-out infinite alternate-reverse; opacity: .1; }
.cv-tr circle { transform: translate(450px, 450px); } .cv-bl circle { transform: translate(450px, 450px); }
@keyframes cvPulse { from { transform: scale(.92); } to { transform: scale(1.08); } }
/* Grote lijnicoontjes links en rechts van de zoekbalk */
.cv-icon { position: absolute; width: 190px; height: 190px; opacity: .55; transition: opacity .35s ease, transform .35s ease; }
.cv-i1 { right: 6%; top: 46%; transform: rotate(-8deg); }
.cv-i2 { left: 5%; top: 18%; width: 120px; height: 120px; opacity: .35; transform: rotate(10deg); }
.cv-icon.swap { opacity: 0; transform: scale(.85); }
@media (max-width: 900px) { .cv-i1 { width: 130px; height: 130px; right: 3%; top: 64%; } .cv-i2 { width: 80px; height: 80px; } }
@media (prefers-reduced-motion: reduce) { .cv-rings { animation: none; } }
/* Kaart-stijl: rustigere overgangen en het wisselende woord in zwart */
.cover-bg { transition: background-color 2.2s ease, color 2.2s ease; }
.cv-icon { transition: opacity .7s ease, transform .7s ease; }
.cv-tr { animation-duration: 14s; } .cv-bl { animation-duration: 17s; }
.hero-cover .hr-word { background: none; -webkit-text-fill-color: var(--ink); color: var(--ink); }
.cover-bg { transition: background-color 1.6s ease, color 1.6s ease; }
.cv-icon { transition: opacity .55s ease, transform .55s ease; }
/* Telefoon: het wisselende woord in zwart, net als "Vind jouw" */
@media (max-width: 640px) { .hero .hr-word { background: none; -webkit-text-fill-color: var(--ink); color: var(--ink); } }
/* Telefoon: het kleine icoon linksboven weg (het viel over de tekst) */
@media (max-width: 640px) { .cv-i2 { display: none; } }
/* Het wisselende woord overal in zwart, net als "Vind jouw" */
.hero .hr-word { background: none; -webkit-text-fill-color: var(--ink); color: var(--ink); }
/* Titel, zoekbalk en knoppen iets lager in de hero */
.hero-inner { padding-top: clamp(175px, 26vh, 275px); }
@media (max-width: 640px) { .hero-inner { padding-top: 150px; } }

/* Suggesties bij "Wat zoek je?" */
.hs-what { position: relative; }
.what-list { left: -14px; right: auto; width: min(440px, calc(100vw - 32px)); min-width: 0; max-height: 420px; z-index: 30; }
.what-list .wl-head { padding: 10px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.what-list .wl-head:first-child { padding-top: 4px; }
.what-list .wl-cat, .what-list .wl-ico, .what-list .wl-ev { width: 32px; height: 32px; border-radius: 9px; flex: none; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.what-list .wl-ico { background: var(--soft); color: var(--ink); }
.what-list .wl-ev .cover-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.what-list .wl-ev .cover-icon { width: 16px; height: 16px; position: static; }
.what-list .wl-ev img { width: 100%; height: 100%; object-fit: cover; }
.what-list li strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .what-list { left: -12px; width: calc(100vw - 32px); } }
/* Suggestielijsten boven de snelkeuzeknoppen */
.hero-search, .hero-blur .hero-search { position: relative; z-index: 6; }
/* De suggestielijsten mogen buiten de hero vallen (over de sectie eronder heen);
   de achtergrond zelf blijft binnen de hero */
.hero { overflow: visible; z-index: 3; }
.hero-map, .hero-deco, .blur-pops { overflow: hidden; }

/* ===== Mooiere suggestielijsten in de hero (Wat zoek je? en Waar?) ===== */
.hero .hero-place-list {
  border-radius: 22px; padding: 8px;
  background: rgba(var(--glass),.92); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(var(--shadow-rgb),.06);
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb),.04), 0 12px 24px -6px rgba(60,40,120,.12), 0 32px 64px -16px rgba(60,40,120,.18);
  transform-origin: top left; animation: listIn .18s cubic-bezier(.2,.8,.2,1);
  scrollbar-width: thin; scrollbar-color: rgba(var(--shadow-rgb),.15) transparent;
}
@keyframes listIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.hero .hero-place-list li[role="option"] { padding: 9px 12px 9px 9px; border-radius: 14px; gap: 12px; transition: background-color .12s ease; }
.hero .hero-place-list li[role="option"]:hover { background: rgba(var(--shadow-rgb),.04); }
.hero .hero-place-list li[aria-selected="true"] { background: rgba(var(--shadow-rgb),.06); }
.hero .hero-place-list li strong { font-size: 14.5px; }
.hero .hero-place-list li small { font-size: 12.5px; margin-top: 1px; }
.what-list .wl-head { padding: 12px 12px 6px; font-size: 11px; letter-spacing: .08em; color: #8B8B93; display: flex; align-items: center; gap: 10px; }
.what-list .wl-head::after { content: ""; flex: 1; height: 1px; background: rgba(var(--shadow-rgb),.07); }
.what-list .wl-cat, .what-list .wl-ico, .what-list .wl-ev { width: 36px; height: 36px; border-radius: 11px; box-shadow: inset 0 0 0 1px rgba(var(--shadow-rgb),.05); }
.what-list .wl-ico { background: #F3F3F5; }
/* "Zoek op …" als duidelijke eerste rij */
.what-list li[role="option"]:first-child { background: linear-gradient(100deg, rgba(255,138,91,.10), rgba(168,85,247,.10)); margin-bottom: 2px; }
.what-list li[role="option"]:first-child[aria-selected="true"], .what-list li[role="option"]:first-child:hover { background: linear-gradient(100deg, rgba(255,138,91,.18), rgba(168,85,247,.18)); }
.what-list li[role="option"]:first-child .wl-ico { background: var(--surface); }
/* Pijltje rechts bij de actieve rij */
.what-list li[role="option"] { position: relative; }
.what-list li[role="option"]::after { content: "↵"; position: absolute; right: 12px; font-size: 13px; color: #8B8B93; opacity: 0; transition: opacity .12s ease; }
.what-list li[aria-selected="true"]::after { opacity: 1; }
.what-list li[role="option"] > span:last-of-type { padding-right: 18px; }
@media (prefers-reduced-motion: reduce) { .hero .hero-place-list { animation: none; } }
/* Gekleurde wereldbol rechts: geen witte waas over de bol, alleen onderaan overgaan in wit */
@media (min-width: 641px) { .hero-globecat .hero-shade { background: linear-gradient(to bottom, rgba(var(--glass),0) 0%, rgba(var(--glass),0) 86%, var(--bg) 100%); } }

/* ---------- Hero als afgeronde kaart ('panel') ---------- */
.hero-panel { margin: 74px 16px 0; min-height: max(560px, calc(100vh - 110px)); min-height: max(560px, calc(100svh - 110px)); background: transparent; }
.hero-panel .hero-map { inset: 0; border-radius: 10px; overflow: hidden; }
.hero-panel .hero-shade { display: none; }
.hero-panel .cover-bg { border-radius: 10px; }
.hero-panel .cv-i2 { display: none; }
.hero-panel .cv-i1 { left: 5%; right: auto; top: auto; bottom: 7%; width: 170px; height: 170px; transform: rotate(-8deg); opacity: .45; }
.hero-panel .cv-icon.swap { opacity: 0; transform: rotate(-8deg) scale(.85); }
.hero-panel .hero-inner { padding-top: clamp(90px, 15vh, 150px); }
.pn-stack { position: absolute; right: 3.5%; top: 50%; width: 214px; height: 300px; transform: translateY(-40%); }
.pn-set { position: absolute; inset: 0; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.pn-set.pn-enter { opacity: 0; transform: translateY(18px); }
.pn-set.pn-leave { opacity: 0; transform: translateY(-14px); }
.pn-card { position: absolute; width: 186px; background: var(--surface); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,20,30,.06), 0 14px 34px -12px rgba(20,20,30,.22); color: var(--ink); text-decoration: none; display: block; }
.pn-c0 { left: 26px; top: 0; transform: rotate(5deg); z-index: 2; }
.pn-c1 { left: 0; top: 104px; transform: rotate(-6deg); z-index: 1; }
.pn-img { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pn-img > * { width: 100%; height: 100%; object-fit: cover; display: block; }

.pn-txt { display: grid; gap: 2px; padding: 10px 12px 12px; font-size: 12.5px; line-height: 1.3; }
.pn-txt small { font-size: 11.5px; color: var(--muted, #6b6b76); text-transform: capitalize; }
.pn-txt strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-txt span { color: var(--muted, #6b6b76); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1360px) { .pn-stack { display: none; } .hero-panel .cv-i1 { left: auto; right: 5%; } }
@media (max-width: 640px) { .hero-panel { margin: 64px 10px 0; min-height: max(500px, calc(100svh - 90px)); } .hero-panel .hero-inner { padding-top: 70px; } .hero-panel .cv-i1 { width: 110px; height: 110px; bottom: 5%; } }
@media (prefers-reduced-motion: reduce) { .pn-set { transition: none; } }

/* ---------- 'wall': schuine wand van eventtegels in de afgeronde hero ---------- */
.hero-wall .hero-map { background: #F3F1EC; }
.wall { position: absolute; inset: 0; overflow: hidden; }
.wall-grid { position: absolute; left: 50%; top: 50%; width: 1700px; height: 1500px; display: flex; gap: 18px; transform: translate(-50%, -50%) rotate(-11deg); }
.wall-col { flex: 0 0 190px; overflow: visible; }
.wall-track { display: flex; flex-direction: column; gap: 18px; animation: wallUp var(--d, 50s) linear infinite; }
.wc-down .wall-track { animation-name: wallDown; }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 9px)); } }
@keyframes wallDown { from { transform: translateY(calc(-50% - 9px)); } to { transform: translateY(0); } }
.wt { display: block; background: var(--surface); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,20,30,.05), 0 10px 24px -14px rgba(20,20,30,.25); opacity: .72; filter: saturate(.85); transition: opacity .9s ease, filter .9s ease, transform .9s ease; }
.wt.on { opacity: 1; filter: none; transform: scale(1.04); }
.wt-img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.wt-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wt-t { display: block; padding: 9px 11px 11px; font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall-veil { position: absolute; inset: 0; background: radial-gradient(ellipse 42% 46% at 50% 44%, rgba(243,241,236,.96) 0%, rgba(243,241,236,.86) 45%, rgba(243,241,236,.25) 80%, rgba(243,241,236,0) 100%); }
@media (max-width: 640px) { .wall-grid { width: 1000px; height: 1100px; gap: 12px; } .wall-col { flex-basis: 120px; } .wall-track { gap: 12px; } .wt-t { font-size: 11px; padding: 6px 8px 8px; } .wall-veil { background: radial-gradient(ellipse 70% 40% at 50% 34%, rgba(243,241,236,.97) 0%, rgba(243,241,236,.88) 55%, rgba(243,241,236,.2) 100%); } }
@media (prefers-reduced-motion: reduce) { .wall-track { animation: none; } }

/* Rustigere wand: minder tegels, geen titels, meer ruimte, zachter, grote lege ruimte in het midden */
.wall-grid { width: 1900px; height: 1500px; gap: 44px; transform: translate(-50%, -50%) rotate(-11deg); }
.wall-col { flex-basis: 150px; }
.wall-track { gap: 44px; }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 22px)); } }
@keyframes wallDown { from { transform: translateY(calc(-50% - 22px)); } to { transform: translateY(0); } }
.wt { box-shadow: none; opacity: .45; filter: saturate(.7); border-radius: 10px; }
.wt.on { opacity: .8; filter: none; transform: none; }
.wt-img { aspect-ratio: 1 / 1; }
.wt .cover-pattern { display: none; }
.wall-veil { background: radial-gradient(ellipse 50% 58% at 50% 44%, rgba(243,241,236,1) 0%, rgba(243,241,236,.96) 50%, rgba(243,241,236,.55) 80%, rgba(243,241,236,.2) 100%); }
@media (max-width: 640px) { .wall-grid { width: 1100px; gap: 26px; } .wall-col { flex-basis: 96px; } .wall-track { gap: 26px; } .wall-veil { background: radial-gradient(ellipse 80% 45% at 50% 32%, rgba(243,241,236,1) 0%, rgba(243,241,236,.94) 60%, rgba(243,241,236,.4) 100%); } }

/* ---------- 'illu': tekst links, bewegende illustratie rechts ---------- */
.hero-illu { justify-content: center; background: var(--surface); }
.hero-illu .hero-shade, .hero-illu .hero-deco { display: none; }
.hero-illu .hero-map { inset: 0; background: none; overflow: hidden; animation: none; }
.hero-illu .hero-inner { width: min(1240px, 100% - 64px); text-align: left; padding-top: clamp(120px, 20vh, 200px); }
.hero-illu #heroTitle { font-size: clamp(44px, 5.6vw, 84px) !important; line-height: 1.04; max-width: 620px; margin-left: 0; }
.hero-illu .hero-rotator { display: block !important; width: auto !important; }
.hero-illu .hero-search { max-width: 600px; margin: 0; }
.hero-illu .hero-quick { max-width: 600px; margin-left: 0; margin-right: 0; }
.illu { position: absolute; top: 50%; right: max(24px, calc((100% - 1240px) / 2 - 20px)); width: min(46vw, 640px); aspect-ratio: 640 / 600; transform: translateY(-44%); pointer-events: none; }
.illu object { width: 100%; height: 100%; display: block; pointer-events: none; }
@media (max-width: 1100px) { .illu { width: 40vw; opacity: .9; } .hero-illu .hero-search, .hero-illu .hero-quick { max-width: 52vw; } }
@media (max-width: 860px) {
  .hero-illu { flex-direction: column; align-items: center; justify-content: flex-start; min-height: 0; }
  .hero-illu .hero-inner { order: 1; text-align: left; padding-top: 96px; width: calc(100% - 32px); }
  .hero-illu .hero-search, .hero-illu .hero-quick { max-width: none; }
  .hero-illu .hero-map { order: 2; position: relative; inset: auto; width: 100%; overflow: visible; }
  .illu { position: relative; top: auto; right: auto; transform: none; width: min(100% - 32px, 480px); margin: 28px auto 8px; opacity: 1; }
}

/* Wisselend woord in de kleuren van de illustratie */
.hero-illu .hr-word { background: none; -webkit-text-fill-color: var(--ic, #E07A5F); color: var(--ic, #E07A5F); }

/* Logo: alleen de naam */
.logo span { font-size: 20px; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.auth-logo span { font-size: 26px; }

/* Logo E: "Late" + koraal blokje met "door" */
.logo .logo-word { font-size: 20px; font-weight: 800; letter-spacing: -0.045em; color: var(--ink); line-height: 1; display: inline-flex; align-items: baseline; }
.logo .logo-box { font-size: inherit; display: inline-block; margin-left: .06em; padding: .04em .16em .12em; border-radius: .16em; background: #E07A5F; color: #fff; letter-spacing: -0.035em; line-height: 1; }
.auth-logo .logo-word { font-size: 28px; }
/* Logo 01: "latedoor." met koraal punt (alle pagina's behalve de startpagina) */
.logo .logo-01 { letter-spacing: -0.055em; }
.logo .logo-dot { color: #E07A5F; }
.logo .logo-01 { font-size: 21px; font-weight: 800; letter-spacing: -0.055em; }
.auth-logo .logo-01 { font-size: 30px; }
.logo .logo-01 { font-size: 24px; }
.auth-logo .logo-01 { font-size: 34px; }


/* --- Donker: automatisch afgeleid van vaste kleuren hierboven --- */
html[data-theme="dark"] .avatar-btn { background: color-mix(in srgb, #E7E3F6 13%, var(--surface)); color: color-mix(in srgb, #3B2F7A 45%, #FFFFFF); }
html[data-theme="dark"] .tag { color: color-mix(in srgb, #1F4FA8 45%, #FFFFFF); }
html[data-theme="dark"] .card-note { color: color-mix(in srgb, #A23A12 45%, #FFFFFF); }
html[data-theme="dark"] .map-note { color: var(--muted); }
html[data-theme="dark"] .btn-outline#useMyLocation { color: color-mix(in srgb, #1F4FA8 45%, #FFFFFF); }
html[data-theme="dark"] .ev-tag-blue { background: color-mix(in srgb, #E6EEFB 13%, var(--surface)); color: color-mix(in srgb, #1F4FA8 45%, #FFFFFF); }
html[data-theme="dark"] .reg-badge { background: color-mix(in srgb, #FDEDE6 13%, var(--surface)); color: color-mix(in srgb, #A23A12 45%, #FFFFFF); }
html[data-theme="dark"] .reg-notice-blue { background: color-mix(in srgb, #EEF3FC 13%, var(--surface)); color: color-mix(in srgb, #1F3F7A 45%, #FFFFFF); }
html[data-theme="dark"] .reg-check { background: color-mix(in srgb, #E3F1DE 13%, var(--surface)); color: color-mix(in srgb, #2F6B22 45%, #FFFFFF); }
html[data-theme="dark"] .ev-desc p { color: var(--muted); }
html[data-theme="dark"] .menu-avatar { background: color-mix(in srgb, #E7E3F6 13%, var(--surface)); color: color-mix(in srgb, #3B2F7A 45%, #FFFFFF); }
html[data-theme="dark"] .field-error { color: color-mix(in srgb, #B42318 45%, #FFFFFF); }
html[data-theme="dark"] .st-published, html[data-theme="dark"] .st-going, html[data-theme="dark"] .st-checked { background: color-mix(in srgb, #E3F1DE 13%, var(--surface)); color: color-mix(in srgb, #2F6B22 45%, #FFFFFF); }
html[data-theme="dark"] .st-draft, html[data-theme="dark"] .st-past { color: var(--muted); }
html[data-theme="dark"] .st-cancelled, html[data-theme="dark"] .st-declined { background: color-mix(in srgb, #FDECEA 13%, var(--surface)); color: color-mix(in srgb, #B42318 45%, #FFFFFF); }
html[data-theme="dark"] .st-pending { background: color-mix(in srgb, #FDF0DE 13%, var(--surface)); color: color-mix(in srgb, #8A4B00 45%, #FFFFFF); }
html[data-theme="dark"] .st-waitlist { background: color-mix(in srgb, #E6EEFB 13%, var(--surface)); color: color-mix(in srgb, #1F4FA8 45%, #FFFFFF); }
html[data-theme="dark"] .st-private { background: color-mix(in srgb, #EEE9FA 13%, var(--surface)); color: color-mix(in srgb, #4B2FA0 45%, #FFFFFF); }
html[data-theme="dark"] .modal-text { color: var(--muted); }
html[data-theme="dark"] /* Eigenaar- en statusbalk op eventpagina */
.owner-bar { background: color-mix(in srgb, #F4F2FC 13%, var(--surface)); color: color-mix(in srgb, #2E2368 45%, #FFFFFF); }
html[data-theme="dark"] .status-banner-red { background: color-mix(in srgb, #FDECEA 13%, var(--surface)); color: color-mix(in srgb, #B42318 45%, #FFFFFF); }
html[data-theme="dark"] .ci-row.is-in { background: color-mix(in srgb, #F6FBF4 13%, var(--surface)); border-color: color-mix(in srgb, #D3E8CC 25%, var(--line)); }
html[data-theme="dark"] .group-about { color: var(--muted); }
html[data-theme="dark"] .profile-avatar { background: color-mix(in srgb, #E7E3F6 13%, var(--surface)); color: color-mix(in srgb, #3B2F7A 45%, #FFFFFF); }
html[data-theme="dark"] .notif.is-unread { background: color-mix(in srgb, #FBFAFF 13%, var(--surface)); }
html[data-theme="dark"] .faq details p { color: var(--muted); }
html[data-theme="dark"] .scan-msg { background: color-mix(in srgb, #FDF0DE 13%, var(--surface)); color: color-mix(in srgb, #8A4B00 45%, #FFFFFF); }
html[data-theme="dark"] .sheet-body p { color: var(--muted); }
html[data-theme="dark"] .legal p, html[data-theme="dark"] .legal li { color: var(--muted); }
html[data-theme="dark"] .pin-edge { background: color-mix(in srgb, #C9CBD1 13%, var(--surface)); }
html[data-theme="dark"] .pin-edge-2 { background: color-mix(in srgb, #DDDEE2 13%, var(--surface)); }
html[data-theme="dark"] .reg-notice-warn { background: color-mix(in srgb, #FDF0DE 13%, var(--surface)); color: color-mix(in srgb, #8A4B00 45%, #FFFFFF); }
html[data-theme="dark"] .hero { background: color-mix(in srgb, #E9E9EA 13%, var(--surface)); }
html[data-theme="dark"] .hero-sub { color: var(--muted); }
html[data-theme="dark"] /* =================== Startpagina v2: kaart in kleur, html[data-theme="dark"] glazen paneel =================== */
.hero { background: color-mix(in srgb, #EEF0EC 13%, var(--surface)); }
html[data-theme="dark"] .hero-sub { color: var(--muted); }
html[data-theme="dark"] .lock-badge { background: color-mix(in srgb, #EEE9FA 13%, var(--surface)); color: color-mix(in srgb, #4B2FA0 45%, #FFFFFF); }
html[data-theme="dark"] .private-tag { background: color-mix(in srgb, #EEE9FA 13%, var(--surface)); color: color-mix(in srgb, #4B2FA0 45%, #FFFFFF); }
html[data-theme="dark"] .auth-msg { background: color-mix(in srgb, #FDECEA 13%, var(--surface)); color: color-mix(in srgb, #8F1D12 45%, #FFFFFF); }
html[data-theme="dark"] .auth-msg.is-ok { background: color-mix(in srgb, #E8F5EC 13%, var(--surface)); color: color-mix(in srgb, #1B5E33 45%, #FFFFFF); }
html[data-theme="dark"] .dev-links { background: color-mix(in srgb, #FFF8E6 13%, var(--surface)); border-color: color-mix(in srgb, #F1E2B5 25%, var(--line)); }
html[data-theme="dark"] .inv-facts { color: var(--muted); }
html[data-theme="dark"] .inv-msg { color: var(--muted); }
html[data-theme="dark"] .inv-done p { color: var(--muted); }
html[data-theme="dark"] .inv-badge { background: color-mix(in srgb, #E8F5EC 13%, var(--surface)); color: color-mix(in srgb, #1B5E33 45%, #FFFFFF); }
html[data-theme="dark"] .delete-notice strong { color: color-mix(in srgb, #B42318 45%, #FFFFFF); }
html[data-theme="dark"] .status-warn { background: color-mix(in srgb, #FEF3F2 13%, var(--surface)); color: color-mix(in srgb, #7A271A 45%, #FFFFFF); }
html[data-theme="dark"] .going-hide:hover { color: color-mix(in srgb, #B42318 45%, #FFFFFF); }
html[data-theme="dark"] .cap-note.is-warn { background: color-mix(in srgb, #FFFAEB 13%, var(--surface)); border-color: color-mix(in srgb, #F5DFA6 25%, var(--line)); }
html[data-theme="dark"] /* Wachtlijst bij uitnodigingen */
.inv-badge-wait { background: color-mix(in srgb, #FFFAEB 13%, var(--surface)); color: color-mix(in srgb, #7A4B00 45%, #FFFFFF); }
html[data-theme="dark"] .composer-err { color: color-mix(in srgb, #B42318 45%, #FFFFFF); }
html[data-theme="dark"] /* Aanmelden: sluitingstijd */
.tag-closed { color: color-mix(in srgb, #B42318 45%, #FFFFFF); }
html[data-theme="dark"] .reg-closed { background: color-mix(in srgb, #FEF3F2 13%, var(--surface)); color: color-mix(in srgb, #7A271A 45%, #FFFFFF); }
html[data-theme="dark"] .what-list .wl-ico { background: color-mix(in srgb, #F3F3F5 13%, var(--surface)); }
html[data-theme="dark"] /* ---------- 'wall': schuine wand van eventtegels in de afgeronde hero ---------- */
.hero-wall .hero-map { background: color-mix(in srgb, #F3F1EC 13%, var(--surface)); }
/* ================= Donkere modus =================
   html[data-theme="dark"] wordt gezet door i18n.js (keuze in het menu, standaard: volgt het systeem). */
html[data-theme="dark"] {
  color-scheme: dark;
  --accent: #FF6A45;
  --accent-text: #FF8A6B;
  --ink: #F1F1F3;
  --muted: #A3A7AF;
  --line: #2A2D33;
  --line-soft: #212429;
  --line-strong: #363A41;
  --soft: #1F2226;
  --bg: #0E0F11;
  --surface: #17191C;
  --surface-2: #1C1F23;
  --on-ink: #131517;
  --glass: 23,25,28;
  --shadow-rgb: 0,0,0;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] .site-header { border-bottom-color: var(--line); }
html[data-theme="dark"] .hero, html[data-theme="dark"] .hero-illu { background: var(--bg); }
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { background-color: var(--surface); color: var(--ink); border-color: var(--line-strong); }
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: #7D828A; }
html[data-theme="dark"] .cover-art, html[data-theme="dark"] .cell-thumb { filter: brightness(.86) saturate(.9); }
html[data-theme="dark"] img { filter: brightness(.94); }
html[data-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9); }
html[data-theme="dark"] .leaflet-container { background: #1a1c1f; }
html[data-theme="dark"] .illu object { filter: brightness(.92); }
html[data-theme="dark"] .status-banner { background: var(--surface-2); color: var(--ink); }
html[data-theme="dark"] ::selection { background: rgba(255,106,69,.35); }

/* Keuze voor de weergave in het menu */
.theme-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 4px; font-size: 14px; color: var(--muted); }
.theme-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--soft); }
.theme-seg button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 30px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); }
.theme-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(var(--shadow-rgb),.15); }
html[data-theme="dark"] .status-banner[style*="#FDF0DE"] { background: rgba(255,166,64,.12) !important; color: #F5B971 !important; }
html[data-theme="dark"] .bar span { background: #6A6F78; }
html[data-theme="dark"] .bar:hover span, html[data-theme="dark"] .bar:focus span { background: var(--ink); }
html[data-theme="dark"] .group-avatar[style*="#fff"] { background: var(--surface) !important; }
