:root, html[data-theme="dark"] {
  --bg: #121212;
  --bg2: #1a1a1a;
  --card: #242424;
  --line: rgba(255,255,255,.16);
  --ink: #ffffff;
  --muted: #d0d0d0;
  --gold: #e85d4c;
  --gold2: #f17868;
  --wine: #8b2e3a;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0,0,0,.45);
  --top: #0b0b0b;
  --overlay: rgba(8,5,6,.72);
  --ad: linear-gradient(180deg, #1a1013, #120c0e);
  --meta: rgba(14,9,10,.72);
  --close: rgba(0,0,0,.45);
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}
html[data-theme="light"] {
  --bg: #f7f4ef;
  --bg2: #fff;
  --card: #ffffff;
  --line: rgba(20, 12, 14, 0.18);
  --ink: #141414;
  --muted: #3f3f3f;
  --gold: #d24b3c;
  --gold2: #c4a574;
  --wine: #8b2e3a;
  --shadow: 0 24px 50px rgba(58,16,22,.10);
  --top: rgba(244,238,230,.90);
  --overlay: rgba(244,238,230,.78);
  --ad: linear-gradient(180deg, #efe6db, #e7dccf);
  --meta: rgba(255,250,244,.82);
  --close: rgba(255,250,244,.8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
}
.brand .mark { width: 28px; height: 28px; color: var(--gold); flex: 0 0 auto; }
.brand-lg { font-size: 2rem; justify-content: center; }
.brand-lg .mark { width: 40px; height: 40px; }

.btn {
  border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; font-weight: 500;
  transition: .2s ease;
}
.btn-gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1a0f12; }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.sm { padding: 8px 14px; font-size: .9rem; }
.icon-btn {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
}

.gate {
  position: fixed; inset: 0; z-index: 80;
  background: var(--overlay);
  backdrop-filter: blur(16px);
  display: grid; place-items: center; padding: 24px;
}
.gate-card {
  width: min(440px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.gate-card h1 { font-family: var(--serif); font-size: 2.2rem; margin: 18px 0 10px; font-weight: 600; }
.gate-card p, .gate-card small { color: var(--muted); }
.gate-actions { display: flex; gap: 10px; justify-content: center; margin: 22px 0 14px; }
.gate[hidden] { display: none; }

.top {
  position: sticky; top: 0; z-index: 40;
  background: var(--top);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav { display: flex; gap: 6px; margin-right: auto; }
.nav button, .foot button {
  background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px 10px;
}
.nav button:hover, .foot button:hover { color: var(--ink); }
.top-cta { display: flex; align-items: center; gap: 8px; }

.hero { padding: 64px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  color: var(--gold); letter-spacing: .04em; text-transform: none;
  font-size: .72rem; font-weight: 600; margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: .95; letter-spacing: -.02em;
}
.hero h1 em { font-style: italic; color: var(--gold2); }
.lead { margin: 18px 0 26px; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }

.search {
  display: grid;
  grid-template-columns: 170px 150px 1fr auto;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 18px;
}
.search select, .search input {
  background: transparent; border: 0; padding: 12px 12px; outline: none;
}
.search select { border-right: 1px solid var(--line); }
.stats { display: flex; gap: 28px; margin-top: 22px; color: var(--muted); }
.stats strong { display: block; color: var(--ink); font-size: 1.05rem; }

.hero-card {
  position: relative; border-radius: 28px; overflow: hidden;
  min-height: 460px; box-shadow: var(--shadow);
}
.hero-card img { width: 100%; height: 460px; object-fit: cover; }
.hero-card-meta {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: var(--meta); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.pill {
  display: inline-block; font-size: .72rem; letter-spacing: 0; text-transform: none;
  color: #1a0f12; background: var(--gold); padding: 3px 8px; border-radius: 999px; font-weight: 600;
}

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 18px 0 10px; }
.cat {
  display: grid; grid-template-rows: 220px auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; cursor: pointer;
  transition: .2s ease;
}
.cat:hover { transform: translateY(-3px); border-color: rgba(196,165,116,.4); }
.cat img { width: 100%; height: 220px; object-fit: cover; }
.cat div { padding: 16px 18px 18px; }
.cat h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }
.cat p { color: var(--muted); margin: 4px 0 10px; }
.cat span { color: var(--gold); font-size: .9rem; }

.browse { padding: 56px 0 20px; }
.browse-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.browse h2 { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
}
.chip.on, .chip:hover { border-color: var(--gold); color: var(--ink); }
.city-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.city-row button {
  background: var(--bg2); border: 1px solid var(--line); color: var(--muted);
  padding: 6px 11px; border-radius: 999px; cursor: pointer; font-size: .88rem;
}
.city-row button.on { color: var(--ink); border-color: var(--gold); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; cursor: pointer; text-align: left; color: inherit;
  display: block; width: 100%;
}
.card:hover { border-color: rgba(196,165,116,.45); }
.card img { width: 100%; height: 280px; object-fit: cover; }
.card-body { padding: 14px 16px 16px; }
.card-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.card h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.price { color: var(--gold); font-weight: 500; }
.meta { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: .75rem; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.empty { color: var(--muted); padding: 40px 0; }

.how { padding: 64px 0; }
.how h2 { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; margin-bottom: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps article {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
}
.steps span { color: var(--gold); font-family: var(--serif); font-size: 1.4rem; }
.steps h3 { margin: 8px 0 8px; font-size: 1.15rem; }
.steps p { color: var(--muted); }

.ad-band { background: var(--ad); border-block: 1px solid var(--line); padding: 64px 0; }
.ad-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ad-band h2 { font-family: var(--serif); font-size: 2.5rem; line-height: 1.05; font-weight: 600; margin: 8px 0 12px; }
.ad-band p { color: var(--muted); }
.waitlist { display: grid; gap: 10px; }
.waitlist input, .waitlist select {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none;
}
.form-note { color: var(--gold) !important; }

.foot { padding: 48px 0 24px; border-top: 1px solid var(--line); color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr 1.1fr; gap: 24px; }
.foot h3 { color: var(--ink); font-size: .9rem; margin-bottom: 10px; }
.foot button, .foot a { display: block; text-align: left; text-decoration: none; padding: 3px 0; }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; }

.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.drawer-card {
  position: absolute; right: 0; top: 0; height: 100%; width: min(560px, 100%);
  background: var(--bg2); border-left: 1px solid var(--line);
  overflow: auto; box-shadow: var(--shadow);
}
.drawer-card img.cover { width: 100%; height: 360px; object-fit: cover; }
.drawer-body { padding: 22px 24px 40px; }
.drawer-body h2 { font-family: var(--serif); font-size: 2.3rem; }
.close-x {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--close);
  color: var(--ink); cursor: pointer;
}

@media (max-width: 900px) {
  .hero-grid, .cats, .grid, .steps, .ad-inner, .foot-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .icon-btn { display: inline-flex; align-items: center; justify-content: center; }
  .search { grid-template-columns: 1fr; }
  .search select { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-card { display: none; }
  .browse-head { flex-direction: column; align-items: start; }
  .top-inner { gap: 12px; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 16px;
  }
}

.who-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 8px 0 10px; }
.who-cats .cat { grid-template-rows: 180px auto; }
.who-cats .cat img { height: 180px; }
.who-cats h2 { font-size: 1.45rem; }
@media (max-width: 900px) {
  .who-cats { grid-template-columns: 1fr 1fr; }
}

.section-kicker { margin: 28px 0 14px; }
.section-kicker h2 { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.more-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 0 18px; }
.more-cats .cat { grid-template-rows: 160px auto; }
.more-cats .cat img { height: 160px; }
.more-cats h2 { font-size: 1.4rem; }
.filters-2 { margin-top: 10px; }
.browse-head { flex-wrap: wrap; }
@media (max-width: 900px) {
  .more-cats { grid-template-columns: 1fr 1fr; }
}

.theme-btn {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.theme-btn:hover { border-color: var(--gold); color: var(--gold); }
html[data-theme="light"] .theme-btn .sun { display: none; }
html[data-theme="dark"] .theme-btn .moon { display: none; }
html[data-theme="light"] .hero-card-meta { color: var(--ink); }
html[data-theme="light"] .gate-card { box-shadow: var(--shadow); }
body { transition: background .25s ease, color .25s ease; }

/* Redlights-achtige marktplaats */
.top { border-bottom: 0; }
.top-inner { height: 64px; }
.brand { font-family: var(--font); font-weight: 700; letter-spacing: 0; text-transform: none; font-size: 1.05rem; }
.brand .mark { color: var(--gold); }
.nav button { color: #ddd; font-size: .92rem; padding: 8px 12px; }
.nav button:hover { color: #fff; }
.btn-gold { background: var(--gold); color: #fff; border-radius: 10px; font-weight: 600; letter-spacing: 0; text-transform: none; font-size: .92rem; }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { border-radius: 6px; }

.gate { background: rgba(0,0,0,.72); }
.gate-card {
  background: #fff; color: #222; border: 0; border-radius: 8px; max-width: 560px;
}
.gate-card .brand { color: #111; justify-content: center; }
.gate-card .mark { color: var(--gold); }
.gate-lead { font-size: 1.05rem; margin: 14px 0 10px; }
.gate-card p { color: #444; }
.gate-actions { display: grid; gap: 10px; }
.gate-actions .btn { width: 100%; border-radius: 6px; }
.gate-actions .btn-ghost { color: #222; border-color: #222; }

.featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--card); border-radius: 10px; overflow: hidden; margin: 22px auto 16px;
  min-height: 340px;
}
.featured img { width: 100%; height: 360px; object-fit: cover; }
.featured-copy { padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.featured-copy h1 { font-family: var(--font); font-size: 2rem; font-weight: 650; }
.featured-copy .phone { color: var(--gold); font-weight: 600; margin: 8px 0 16px; }
.hero-tools { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.hero-tools .search { flex: 1; border-radius: 8px; }
.view-toggle { display: flex; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.view-toggle button { background: transparent; border: 0; color: var(--muted); padding: 10px 14px; cursor: pointer; }
.view-toggle button.on { background: var(--card); color: var(--ink); }

.cats, .who-cats, .more-cats { gap: 10px; }
.cat { border-radius: 10px; grid-template-rows: 140px auto; }
.cat img { height: 140px; }
.cat h2 { font-family: var(--font); font-size: 1.15rem; font-weight: 650; }
.who-cats .cat, .more-cats .cat { grid-template-rows: 120px auto; }
.who-cats .cat img, .more-cats .cat img { height: 120px; }

.browse h2 { font-family: var(--font); font-size: 1.5rem; }
.grid { gap: 12px; grid-template-columns: repeat(5, 1fr); }
.card { border-radius: 8px; background: var(--bg2); }
.card img { height: 220px; }
.card-body { padding: 10px 10px 12px; }
.card h3 { font-family: var(--font); font-size: 1rem; font-weight: 650; }
.card .age { color: var(--muted); font-weight: 500; }
.card-top { align-items: center; }
.price { font-size: .85rem; }
.meta { font-size: .8rem; }
.card .phone { color: var(--gold); font-size: .85rem; margin-top: 6px; }
.pic-count {
  position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.55);
  color: #fff; font-size: .72rem; padding: 3px 7px; border-radius: 4px;
}
.card { position: relative; }
.card .pic-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #1a1214; }
.card .pic-wrap img, .card .pic-wrap picture img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.card-media { aspect-ratio: 3/4; overflow: hidden; background: #1a1214; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.grid.list { grid-template-columns: 1fr; }
.grid.list .card { display: grid; grid-template-columns: 160px 1fr; text-align: left; }
.grid.list .card img { height: 120px; width: 160px; }
.how h2, .ad-band h2, .section-kicker h2 { font-family: var(--font); }

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured img { height: 240px; }
  .hero-tools { flex-direction: column; align-items: stretch; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.list .card { grid-template-columns: 1fr; }
  .grid.list .card img { width: 100%; height: 200px; }
}


/* ===== Mobiel ===== */
html, body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
.featured img, .card img, .cat img, .drawer-card img.cover { height: auto; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav button { padding: 8px 8px; font-size: .84rem; }
}

@media (max-width: 900px) {
  .wrap { width: min(1180px, calc(100% - 24px)); }
  .top { position: sticky; top: 0; }
  .top-inner { height: 56px; gap: 8px; }
  .brand { font-size: .92rem; gap: 7px; }
  .brand .mark { width: 22px; height: 22px; }
  .top-cta .btn.sm { display: none; }
  .icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; }
  .theme-btn { width: 40px; height: 40px; flex: 0 0 auto; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 56px; left: 0; right: 0;
    background: #0b0b0b; border-bottom: 1px solid var(--line);
    padding: 8px 12px 14px; z-index: 50;
  }
  html[data-theme="light"] .nav.open { background: var(--top); }
  .nav.open button {
    width: 100%; text-align: left; padding: 14px 10px;
    border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink);
  }

  .hero { padding: 14px 0 8px; }
  .featured { min-height: 0; margin: 10px auto 12px; border-radius: 8px; }
  .featured img { height: 210px; object-fit: cover; }
  .featured-copy { padding: 16px 16px 18px; }
  .featured-copy h1 { font-size: 1.35rem; }
  .featured-copy .btn { width: 100%; }

  .search { grid-template-columns: 1fr; border-radius: 8px; padding: 6px; }
  .search select, .search input { padding: 12px 10px; font-size: 16px; }
  .search .btn { width: 100%; padding: 14px; }
  .hero-tools { gap: 8px; }
  .view-toggle { width: 100%; }
  .view-toggle button { flex: 1; padding: 12px; }

  .cats, .who-cats, .more-cats { grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 0; }
  .cat { grid-template-rows: 100px auto; }
  .cat img, .who-cats .cat img, .more-cats .cat img { height: 100px; }
  .cat div { padding: 10px 10px 12px; }
  .cat h2, .who-cats h2, .more-cats h2 { font-size: .95rem; line-height: 1.2; }
  .cat p { font-size: .78rem; margin: 2px 0 6px; }
  .cat span { font-size: .75rem; }

  .section-kicker { margin: 18px 0 10px; }
  .section-kicker h2 { font-size: 1.25rem; }

  .browse { padding: 28px 0 12px; }
  .browse h2 { font-size: 1.25rem; }
  .browse-head { flex-direction: column; align-items: stretch; gap: 10px; }
  .filters, .city-row {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 -12px; padding: 2px 12px 8px;
  }
  .filters::-webkit-scrollbar, .city-row::-webkit-scrollbar { display: none; }
  .chip, .city-row button { flex: 0 0 auto; white-space: nowrap; padding: 10px 12px; }

  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card img { height: 180px; object-fit: cover; }
  .card-body { padding: 8px; }
  .card h3 { font-size: .92rem; }
  .card .meta, .card .phone, .card .price { font-size: .75rem; }
  .grid.list .card { grid-template-columns: 110px 1fr; }
  .grid.list .card img { width: 110px; height: 110px; }

  .how { padding: 32px 0; }
  .how h2, .ad-band h2 { font-size: 1.4rem; }
  .steps, .ad-inner, .foot-grid { grid-template-columns: 1fr; }
  .ad-band { padding: 32px 0; }
  .foot { padding: 28px 0 20px; }
  .gate { padding: 16px; align-items: end; }
  .gate-card { width: 100%; max-width: none; padding: 22px 18px 20px; border-radius: 12px 12px 0 0; }
  .drawer-card { width: 100%; }
  .drawer-card img.cover { height: 240px; object-fit: cover; }
  .drawer-body { padding: 16px 16px 32px; }
  .drawer-body h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 16px); }
  .featured img { height: 190px; }
  .cat p { display: none; }
  .card img { height: 160px; }
  .grid.list .card { grid-template-columns: 92px 1fr; }
  .grid.list .card img { width: 92px; height: 92px; }
}

@media (max-width: 360px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .brand span { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}


/* Leesbaar menu + klikbare profielen */
.top { z-index: 60; }
.nav button {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 12px;
  white-space: nowrap;
}
.nav button:hover { color: var(--gold) !important; }
.brand { color: var(--ink); }

.card, .cat, .featured { cursor: pointer; }
.card:focus-visible, .cat:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
.card .phone-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 6px;
}
.featured { cursor: pointer; }
.featured-copy .btn { pointer-events: none; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .icon-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 56px; left: 0; right: 0;
    background: var(--top); color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 6px 8px 12px; z-index: 70;
    box-shadow: var(--shadow);
  }
  .nav.open button {
    width: 100%; text-align: left;
    padding: 14px 16px;
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--ink) !important;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }
}

.drawer { z-index: 80; }
.gate { z-index: 90; }

/* Compacte kijker */
.featured {
  min-height: 0;
  margin: 12px auto 12px;
  grid-template-columns: 220px 1fr;
}
.featured img { height: 160px; object-fit: cover; }
.featured-copy { padding: 14px 18px; }
.featured-copy h1 { font-size: 1.25rem; margin: 0 0 4px; }
.featured-copy p { margin: 0; font-size: .92rem; }
.featured-copy .phone { margin: 6px 0 10px; font-size: .92rem; }
.featured-copy .btn { padding: 8px 14px; width: auto; }
.hero { padding-top: 16px; }

@media (max-width: 900px) {
  .featured { grid-template-columns: 140px 1fr; }
  .featured img { height: 120px; }
  .featured-copy { padding: 10px 12px; }
  .featured-copy h1 { font-size: 1.05rem; }
  .featured-copy .btn { padding: 7px 12px; }
}
@media (max-width: 480px) {
  .featured { grid-template-columns: 110px 1fr; }
  .featured img { height: 108px; }
}

.ad-form { grid-template-columns: 1fr 1fr; }
.ad-form textarea, .ad-form .file-lab, .ad-form .check, .ad-form .btn, .ad-form .form-note { grid-column: 1 / -1; }
.ad-form textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; outline: none; min-height: 110px; resize: vertical;
}
.ad-form .file-lab, .ad-form .check { color: var(--muted); font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.ad-form .hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.ad-form { position: relative; }
@media (max-width: 900px) { .ad-form { grid-template-columns: 1fr; } }

.wanted { padding: 48px 0 20px; }
.lead-sm { color: var(--muted); max-width: 52ch; margin-top: 6px; }
.wanted-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 24px; align-items: start; margin-top: 16px; }
.wanted-list { display: grid; gap: 10px; margin-top: 12px; }
.wanted-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; text-align: left; color: inherit; width: 100%; cursor: default;
}
.wanted-card h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 4px; }
.wanted-card .w-meta { color: var(--muted); font-size: .82rem; margin-bottom: 8px; }
.wanted-card p { font-size: .92rem; }
.wanted-card .w-contact { color: var(--gold); margin-top: 8px; font-weight: 600; font-size: .9rem; text-decoration: none; display: inline-block; }
.wanted-form h3 { grid-column: 1 / -1; font-size: 1.1rem; }
.wanted-form { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
@media (max-width: 900px) { .wanted-grid { grid-template-columns: 1fr; } }

.chat-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 55;
  background: var(--gold); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 18px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow);
}
.chat-panel {
  position: fixed; right: 16px; bottom: 70px; z-index: 56;
  width: min(380px, calc(100vw - 24px)); height: min(520px, calc(100vh - 100px));
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.chat-head button { background: none; border: 0; color: var(--ink); cursor: pointer; font-size: 1.1rem; }
.chat-rooms { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.chat-rooms button { flex: 0 0 auto; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 6px 10px; cursor: pointer; font-size: .8rem; }
.chat-rooms button.on { color: var(--ink); border-color: var(--gold); }
.chat-log { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.chat-bubble { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.chat-bubble .who { color: var(--gold); font-size: .75rem; font-weight: 700; }
.chat-bubble .when { color: var(--muted); font-size: .7rem; float: right; }
.chat-form { display: grid; grid-template-columns: 90px 1fr auto; gap: 6px; padding: 8px; border-top: 1px solid var(--line); }
.chat-form input { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 8px; outline: none; }
@media (max-width: 600px) {
  .chat-panel { right: 8px; left: 8px; width: auto; bottom: 64px; }
  .chat-form { grid-template-columns: 1fr 1fr; }
  .chat-form button { grid-column: 1 / -1; }
}

.chat-head { gap: 8px; }
.chat-push { margin-left: auto; margin-right: 8px; background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 4px 10px; cursor: pointer; font-size: .78rem; }
.chat-push.on { border-color: var(--gold); color: var(--gold); }

.profile-page { padding: 28px 0 60px; }
.profile-layout { display: grid; grid-template-columns: min(420px, 40%) 1fr; gap: 28px; align-items: start; }
.profile-photo img { width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: 12px; }
.profile-body h1 { font-size: 2rem; margin: 8px 0 8px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 12px; }
@media (max-width: 800px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-photo img { max-height: 380px; }
}

.auth-box { display: flex; align-items: center; gap: 6px; }
.auth-name { font-size: .88rem; color: var(--ink); padding: 0 6px; }
.auth-page { padding: 48px 0 80px; display: grid; place-items: start center; }
.auth-card {
  width: min(420px, 100%); background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 24px; display: grid; gap: 10px;
}
.auth-card h1 { font-size: 1.6rem; }
.auth-card input {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; outline: none;
}
.auth-error { color: var(--gold); }
@media (max-width: 900px) {
  .auth-box .btn-gold { display: none; }
}

.ad-page { padding: 18px 0 70px; }
.crumbs { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.ad-layout { display: grid; grid-template-columns: minmax(340px, 54%) 1fr; gap: 28px; align-items: start; }
.ad-media > picture, .ad-media > img { display:block; width:100%; }
.ad-media > picture img, .ad-media > img {
  width: 100%; height: min(78vh, 720px); object-fit: cover; object-position: center top;
  border-radius: 12px; background: #111;
}
.ad-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.ad-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; opacity: .9; }
.ad-copy h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 650; margin: 0 0 10px; }
.ad-phone {
  display: inline-block; font-size: 1.7rem; font-weight: 700; color: var(--gold);
  text-decoration: none; letter-spacing: .02em; margin: 0 0 8px;
}
.ad-by, .ad-facts { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.ad-text { margin: 16px 0 20px; line-height: 1.65; color: var(--ink); }
.ad-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-report { margin-top: 16px; font-size: .85rem; }
.ad-report a { color: var(--muted); }
.ad-more { margin-top: 36px; }
.ad-more h2 { font-size: 1.15rem; margin-bottom: 12px; }
.ad-more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ad-more-card { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px; text-decoration: none; color: inherit; }
.ad-more-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.ad-more-card span { display: block; color: var(--muted); font-size: .8rem; }
@media (max-width: 800px) {
  .ad-layout { grid-template-columns: 1fr; }
  .ad-media > picture img, .ad-media > img { height: min(70vh, 560px); }
  .ad-phone { font-size: 1.35rem; }
  .ad-more-grid { grid-template-columns: 1fr 1fr; }
}

.dash { display:grid; grid-template-columns: 230px 1fr; gap: 28px; padding: 24px 0 70px; }
.dash-nav { display:flex; flex-direction:column; gap:4px; }
.dash-nav a { padding:10px 12px; border-radius:8px; text-decoration:none; color:var(--muted); }
.dash-nav a.on, .dash-nav a:hover { background:var(--card); color:var(--ink); }
.dash-main h1 { font-size:1.8rem; margin-bottom:8px; }
.dash-main h2 { font-size:1.15rem; margin:24px 0 10px; }
.dash-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:18px 0; }
.dash-cards a { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:16px; text-decoration:none; color:inherit; }
.dash-cards strong { display:block; font-size:1.4rem; }
.dash-actions { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 20px; }
.dash-list a { display:block; padding:8px 0; color:var(--ink); }
.dash-form { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.dash-form label { display:flex; flex-direction:column; gap:6px; color:var(--muted); font-size:.88rem; }
.dash-form input, .dash-form select, .dash-form textarea {
  background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:10px 12px; color:var(--ink);
}
.dash-form .full { grid-column:1/-1; }
.dash-form .check { flex-direction:row; align-items:center; gap:8px; }
.media-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:16px; }
.media-grid img, .media-grid video { width:100%; height:160px; object-fit:cover; border-radius:8px; }
.auth-card-lg label { display:flex; flex-direction:column; gap:6px; text-align:left; color:var(--muted); font-size:.88rem; }
@media (max-width: 900px) {
  .dash { grid-template-columns:1fr; }
  .dash-cards, .dash-form, .media-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px) {
  .dash-cards, .dash-form, .media-grid { grid-template-columns:1fr; }
}

.login-needed { display:grid; gap:10px; }
.acc-menu { position: relative; }
.acc-drop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 80;
  min-width: 220px; background: var(--bg2); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px; box-shadow: var(--shadow);
}
.acc-drop a, .acc-drop .auth-name { display:block; padding:8px 10px; color:var(--ink); text-decoration:none; }
.acc-drop a:hover { background: var(--card); }

.ad-specs { display:grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 16px 0; border-top: 1px solid var(--line); }
.ad-specs > div { display:grid; grid-template-columns: 140px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ad-specs dt { color: var(--muted); }
.ad-specs dd { color: var(--ink); margin: 0; }
@media (max-width: 700px) { .ad-specs { grid-template-columns: 1fr; } }

.dienst-box { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.dienst-box section { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:12px; }
.dienst-box h3, .ad-diensten h3, .ad-prijzen h3 { font-size:.95rem; margin-bottom:8px; }
.dienst-box .check { font-size:.86rem; }
.ad-diensten { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:18px 0; }
.ad-diensten ul { margin:0; padding-left:18px; color:var(--ink); }
.ad-prijzen { margin:12px 0 18px; }
.ad-prijzen ul { list-style:none; padding:0; border-top:1px solid var(--line); }
.ad-prijzen li { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); }
@media (max-width:700px){ .dienst-box,.ad-diensten{grid-template-columns:1fr;} }

.chatbox { display:grid; grid-template-columns: 240px 1fr; gap: 0; min-height: calc(100vh - 88px); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 16px auto 24px; background: var(--bg2); }
.chat-online { border-right: 1px solid var(--line); padding: 14px; overflow: auto; }
.chat-online h2 { font-size: .9rem; margin-bottom: 10px; }
.c-user, .c-msg { display:flex; gap:10px; align-items:center; text-decoration:none; color:inherit; padding:6px 0; }
.c-ava, .c-user img, .c-ava img, .c-user .ph, .c-ava .ph {
  width:36px; height:36px; border-radius:50%; object-fit:cover; background:var(--card); display:grid; place-items:center; font-weight:700;
}
.chat-main { display:flex; flex-direction:column; min-height: 520px; }
.chat-main-head { display:flex; justify-content:space-between; padding:12px 14px; border-bottom:1px solid var(--line); }
.chat-page .chat-log { flex:1; padding:14px; overflow:auto; }
.c-msg { align-items:flex-start; }
.c-meta { display:flex; gap:8px; font-size:.8rem; color:var(--muted); }
.c-meta strong { color:var(--ink); }
.chat-compose { display:flex; gap:8px; padding:10px; border-top:1px solid var(--line); }
.chat-compose input { flex:1; background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:12px; }
@media (max-width: 800px){ .chatbox { grid-template-columns: 1fr; } .chat-online { border-right:0; border-bottom:1px solid var(--line); max-height: 140px; } }

.ad-editor { display:grid; gap:18px; max-width: 980px; }
.ad-sec { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; }
.ad-sec > header { display:flex; gap:12px; align-items:flex-start; margin-bottom:14px; }
.ad-sec > header span {
  width:28px; height:28px; border-radius:50%; background:var(--gold); color:#fff;
  display:grid; place-items:center; font-weight:700; flex: 0 0 28px;
}
.ad-sec h2 { font-size:1.15rem; color:var(--ink); }
.ad-sec header p, .sec-note { color:var(--muted); font-size:.9rem; }
.ad-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px 14px; }
.ad-editor label { display:flex; flex-direction:column; gap:6px; color:var(--ink); font-size:.92rem; font-weight:600; }
.ad-editor input, .ad-editor select, .ad-editor textarea {
  background: var(--bg); color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; font-size: 1rem; font-weight: 400;
}
.ad-editor .full { display:flex; flex-direction:column; gap:6px; }
.ad-checks { display:flex; flex-wrap:wrap; gap:12px 18px; margin-top:12px; }
.ad-editor .check { flex-direction:row; align-items:center; font-weight:500; }
.dienst-acc details { border-top:1px solid var(--line); padding:8px 0; }
.dienst-acc summary { cursor:pointer; font-weight:700; color:var(--ink); padding:8px 0; }
.dienst-cols { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; padding:8px 0 4px; }
.ad-submit { position:sticky; bottom:0; background:var(--bg); padding:12px 0 20px; }
.dash-form label { color: var(--ink); }
.dash-nav a { color: var(--ink); }
@media (max-width: 720px) {
  .ad-grid, .dienst-cols { grid-template-columns: 1fr; }
}

.cb-page { padding: 20px 0 60px; }
.cb { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.cb-head { display:flex; gap:12px; align-items:center; margin-bottom:16px; flex-wrap:wrap; }
.cb-head h1 { font-size:1.6rem; }
.cb-status { font-size:.8rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.cb-status.on { color:#3ddc84; }
.cb-status.off { color:#c45b5b; }
.cb-grid { display:grid; grid-template-columns: 280px 1fr; gap:18px; }
.cb-photo img { width:100%; aspect-ratio: 1; object-fit:cover; border-radius:8px; background:#111; }
.cb-empty { aspect-ratio:1; display:grid; place-items:center; background:var(--bg); border-radius:8px; color:var(--muted); }
.cb-score { margin-top:8px; }
.cb-table { width:100%; border-collapse:collapse; font-size:.95rem; }
.cb-table th { width:160px; text-align:left; background:var(--bg); color:var(--muted); font-weight:600; padding:8px 10px; border:1px solid var(--line); }
.cb-table td { padding:8px 10px; border:1px solid var(--line); }
.cb-about { margin-top:14px; }
.cb-album { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin:10px 0 20px; }
.cb-album img { width:100%; height:110px; object-fit:cover; border-radius:6px; }
.cb-gb { margin-top:10px; }
.cb-gb-form textarea { width:100%; min-height:80px; background:var(--bg); color:var(--ink); border:1px solid var(--line); border-radius:8px; padding:10px; margin:8px 0; }
.cb-gb-item { padding:10px 0; border-bottom:1px solid var(--line); }
.cb-vote { display:flex; gap:8px; align-items:end; margin:12px 0; }
@media (max-width:800px){ .cb-grid,.cb-album{grid-template-columns:1fr 1fr;} .cb-grid{grid-template-columns:1fr;} }

.pop-cities { margin: 8px 0 14px; }
.pop-cities h3 { font-size: 1rem; margin-bottom: 8px; color: var(--ink); }
.pop-cities .city-row { display:flex; flex-wrap:wrap; gap:8px; }
.pop-cities .city-row button {
  background: var(--card); border:1px solid var(--line); color:var(--ink);
  border-radius:999px; padding:8px 12px; cursor:pointer; font-size:.9rem;
}
.pop-cities .city-row button.on { background: var(--gold); color:#fff; border-color: transparent; }

.cat a { display:contents; color:inherit; text-decoration:none; }
.rub-nav { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 8px; }
.rub-nav .chip { text-decoration:none; color:var(--ink); border:1px solid var(--line); border-radius:999px; padding:6px 10px; background:var(--card); }
.rub-nav .chip.on { background:var(--gold); color:#fff; border-color:transparent; }

.prof-filters {
  display:grid; grid-template-columns: 1.4fr repeat(4, 1fr) 90px 90px auto auto;
  gap:10px; align-items:end; background:var(--card); border:1px solid var(--line);
  border-radius:12px; padding:14px; margin: 0 0 16px;
}
.prof-filters label { display:flex; flex-direction:column; gap:6px; font-size:.82rem; color:var(--muted); font-weight:600; }
.prof-filters input, .prof-filters select {
  background:var(--bg); color:var(--ink); border:1px solid var(--line);
  border-radius:8px; padding:10px; font-size:.95rem; font-weight:400;
}
.prof-filters .filter-check { flex-direction:row; align-items:center; gap:8px; color:var(--ink); }
@media (max-width: 1100px) { .prof-filters { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .prof-filters { grid-template-columns: 1fr; } }

.place-cols { columns: 3; gap: 24px; list-style:none; margin: 8px 0 22px; }
.place-cols li { break-inside: avoid; padding: 3px 0; }
.place-cols a { color: var(--ink); text-decoration: none; }
.place-cols a:hover { color: var(--gold); }
.place-cols small { color: var(--muted); margin-left: 6px; font-size: .8rem; }
.az-jump { display:flex; flex-wrap:wrap; gap:8px; margin: 12px 0 18px; }
.az-jump a { color: var(--gold); font-weight:700; }
.seo-intro { max-width: 70ch; margin: 8px 0 12px; color: var(--ink); }
.seo-links { display:flex; flex-wrap:wrap; gap:8px; margin-bottom: 12px; }
.seo-links a { border:1px solid var(--line); border-radius:999px; padding:6px 10px; color:var(--ink); text-decoration:none; background:var(--card); font-size:.9rem; }
@media (max-width:800px){ .place-cols { columns: 2; } }
@media (max-width:520px){ .place-cols { columns: 1; } }

.app-steps { margin: 8px 0 12px 18px; color: var(--ink); }
.app-steps li { margin: 6px 0; }
html.pwa-standalone .top-cta #placeBtn { display:none; }

.wanted-card { cursor: pointer; display:block; color:inherit; text-decoration:none; }
.wanted-link { display:block; color: inherit; text-decoration: none; }
.wanted-link h3 { color: var(--ink); }
.wanted-link:hover h3 { color: var(--gold); }

.home-search { display:grid; grid-template-columns: 1fr 1fr 1.2fr auto; gap:10px; align-items:stretch; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:12px; }
.home-search select, .home-search input { width:100%; background:var(--bg); color:var(--ink); border:1px solid var(--line); border-radius:10px; padding:12px 12px; font-size:1rem; }
.home-links { display:flex; flex-wrap:wrap; gap:14px; margin:12px 0 0; }
.home-links a { color:var(--muted); text-decoration:none; font-weight:600; }
.home-links a:hover { color:var(--gold); }
.search-bar { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:14px; margin: 12px 0 18px; }
.search-row { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px; align-items:end; }
.search-row-2 { grid-template-columns: 140px 140px 1fr auto; margin-top:10px; }
.search-bar label { display:flex; flex-direction:column; gap:6px; font-size:.78rem; letter-spacing:.02em; text-transform:none; color:var(--muted); font-weight:600; }
.search-bar input, .search-bar select { background:var(--bg); color:var(--ink); border:1px solid var(--line); border-radius:10px; padding:11px 12px; font-size:1rem; font-weight:500; }
.search-bar .filter-check { flex-direction:row; align-items:center; text-transform:none; font-size:.95rem; letter-spacing:0; color:var(--ink); }
.search-actions { display:flex; gap:8px; justify-content:flex-end; }
.featured[hidden] { display:none !important; }
@media (max-width: 900px) {
  .home-search, .search-row, .search-row-2 { grid-template-columns: 1fr 1fr; }
  .search-actions { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .home-search, .search-row, .search-row-2 { grid-template-columns: 1fr; }
}

.empty-card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:20px; margin:16px 0; }
.empty-card .btn { margin-right:8px; margin-top:8px; }

.admin-wrap { align-items:start; }
.admin-table { width:100%; border-collapse:collapse; margin:12px 0; }
.admin-table th,.admin-table td { border-bottom:1px solid var(--line); padding:8px 6px; text-align:left; font-size:.92rem; }
.admin-table .acts { display:flex; gap:6px; flex-wrap:wrap; }
form.inline { display:inline; }
.admin-wrap .auth-card { max-width:420px; }

.lang-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:6px 10px; padding-top:6px; }
@media (max-width:800px){ .lang-grid { grid-template-columns: repeat(2, 1fr); } }

.adv-filters { margin-top:12px; border-top:1px solid var(--line); padding-top:10px; }
.adv-filters summary { cursor:pointer; font-weight:700; color:var(--gold); margin-bottom:10px; }

.badge{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;background:var(--gold);color:#111;font-size:.72rem;font-weight:700;}

/* compact header desktop, readable mobile */
.top { padding-top: env(safe-area-inset-top); }
.top-inner { height: 52px; gap: 10px; }
.brand { font-size: .88rem; gap: 7px; }
.brand .mark { width: 20px; height: 20px; }
.nav { gap: 0; }
.nav a, .nav button {
  font-size: .8rem;
  padding: 6px 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.nav a:hover, .nav button:hover { color: var(--ink); }
.icon-btn {
  display: none;
  width: 44px; height: 44px; min-width: 44px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
}
.theme-btn { width: 40px; height: 40px; }
@media (max-width: 1100px) {
  .nav a:nth-child(n+8) { display: none; }
}
@media (max-width: 820px) {
  .top-inner { height: 56px; }
  .icon-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(56px + env(safe-area-inset-top));
    left: 0; right: 0;
    background: var(--top);
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--line);
    z-index: 80;
    max-height: calc(100vh - 56px);
    overflow: auto;
  }
  .nav.open a {
    display: block;
    padding: 14px 8px !important;
    font-size: 1.05rem !important;
    border-bottom: 1px solid var(--line);
  }
}

.install-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120;
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--card); color: var(--ink); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.install-banner p { margin: 0; max-width: 46ch; }
.install-banner p span { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.install-actions { display: flex; gap: 6px; flex-wrap: wrap; }
html.pwa-standalone .install-banner { display: none !important; }

a.card, a.result-card { text-decoration: none; color: inherit; }
.result-card { display:flex; flex-direction:column; overflow:hidden; background:var(--card); }
.result-card img, .card-ph { width:100%; height:200px; object-fit:cover; background:#222; }
.card-ph { display:flex; align-items:center; justify-content:center; font-size:2.4rem; color:var(--gold); font-weight:700; }
.result-card .card-body { padding:12px 14px 14px; }
.result-card h3 { margin:0 0 4px; font-size:1.05rem; text-decoration:none; }
.result-card .age { color:var(--muted); font-weight:500; }
.result-card .excerpt { margin:8px 0 0; color:var(--muted); font-size:.88rem; line-height:1.35; text-decoration:none; }
.pager { display:flex; gap:16px; align-items:center; justify-content:center; margin:28px 0 10px; }
.pager a { color:var(--gold); font-weight:700; text-decoration:none; }
.list-view { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
@media (max-width:1100px){ .list-view { grid-template-columns: repeat(3, minmax(0,1fr)) !important; } }
@media (max-width:800px){ .list-view { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }
@media (max-width:520px){ .list-view { grid-template-columns: 1fr !important; } }






.lang-switch{position:relative;margin-right:6px;}
.lang-switch>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;
  border:1px solid var(--line);border-radius:10px;padding:6px 8px;font-size:.78rem;font-weight:700;color:var(--ink);}
.lang-switch>summary::-webkit-details-marker{display:none;}
.lang-flag{font-size:1.05rem;line-height:1;}
.lang-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:90;min-width:160px;
  background:var(--card);border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 10px 24px rgba(0,0,0,.35);}
.lang-menu .lang-btn{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;
  color:var(--ink);text-decoration:none;font-size:.88rem;font-weight:600;}
.lang-menu .lang-btn:hover,.lang-menu .lang-btn.on{background:rgba(201,162,39,.14);color:var(--gold);}
@media(max-width:820px){
  .lang-switch{order:2;}
  .lang-menu{left:auto;right:0;}
}

.city-suggest{position:absolute;left:0;right:0;top:100%;z-index:80;margin:4px 0 0;padding:6px 0;list-style:none;
  background:var(--card);border:1px solid var(--line);border-radius:10px;max-height:240px;overflow:auto;box-shadow:0 10px 24px rgba(0,0,0,.3);}
.city-suggest li{padding:8px 12px;cursor:pointer;font-size:.9rem;}
.city-suggest li:hover{background:rgba(201,162,39,.16);color:var(--gold);}

.top { position: sticky; top: 0; z-index: 140; overflow: visible; }
.top-inner { position: relative; }
.app-tabbar{display:none}
@media (max-width:900px){
  .has-tabbar{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px));}
  .app-tabbar{
    display:flex;position:fixed;left:0;right:0;bottom:0;z-index:200;
    height:calc(58px + env(safe-area-inset-bottom,0px));
    padding:6px 4px env(safe-area-inset-bottom,0px);
    background:rgba(18,12,14,.96);border-top:1px solid var(--line,rgba(255,255,255,.12));
    backdrop-filter:blur(10px);align-items:stretch;justify-content:space-around;
  }
  .app-tabbar a,.app-tabbar button{
    flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:2px;color:var(--muted,#cbb);font-size:10px;letter-spacing:.02em;background:none;border:0;
    text-decoration:none;font-family:inherit;
  }
  .app-tabbar span{font-size:18px;line-height:1}
  .app-tabbar .on{color:var(--gold,#c9a227)}
  .app-tabbar .tab-back{font-size:22px;font-weight:600}
  .foot{margin-bottom:8px}
}

@media(max-width:900px){.nav.open{z-index:160!important;position:absolute!important;display:flex!important;flex-direction:column!important;width:100%;}}

.c-user{display:flex;align-items:center;gap:8px;margin:8px 0;}
.c-user button,.c-meta button{margin-left:auto;}

.c-react{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}
.c-react button{border:0;background:rgba(255,255,255,.06);border-radius:999px;padding:2px 8px;cursor:pointer;font-size:.9rem}

.chat-main-head{align-items:center;gap:12px}
.chat-actions{display:flex;gap:8px;flex-wrap:wrap}
.c-msg.mine{flex-direction:row-reverse}
.c-msg.mine .c-body{text-align:right}
.c-body p{margin:4px 0;line-height:1.4}
.chat-lounge-btn{margin-bottom:10px;width:100%}
.chat-log{flex:1;overflow:auto;padding:12px 14px;max-height:calc(100vh - 280px)}
.chat-compose{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line)}
.chat-compose input{flex:1}
@media(max-width:800px){
  .chat-online{max-height:180px}
  .chat-log{max-height:calc(100vh - 360px)}
}

.featured, .featured * { text-decoration: none !important; }
.featured-copy p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) {
  .install-banner { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .nav.open { padding-bottom: 90px; z-index: 170 !important; }
  .gate-card { margin-bottom: 80px; }
  .top-cta .auth-box { display: none; }
}

html.age-ok .gate{display:none!important}

/* strakker 2026 */
.top-inner{height:56px;gap:8px}
.brand span{font-size:1.05rem;letter-spacing:.04em}
.featured{display:grid;grid-template-columns:100px 1fr;gap:14px;align-items:center;padding:12px;border-radius:16px;text-decoration:none!important;margin:12px auto}
.featured *{text-decoration:none!important}
.featured picture,.featured img{width:100px;height:124px;object-fit:cover;border-radius:12px}
.featured-copy h1{font-size:1.15rem;margin:0}
.featured-copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 0 0;font-size:.9rem}
.featured .eyebrow{margin:0}
.home-search{display:grid;gap:8px;padding:12px;border-radius:16px}
.home-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:8px 0 4px}
.card{border-radius:14px;overflow:hidden}
.grid{gap:12px}
.hero{padding:8px 0 12px}
@media(max-width:900px){
  .placeBtn,#placeBtn{display:none!important}
  .top-cta .auth-box{display:none}
  .gate-actions{display:flex;flex-direction:column;gap:10px;padding-bottom:12px}
  .gate-card{margin:16px 16px 96px}
  .install-banner{bottom:calc(70px + env(safe-area-inset-bottom,0px))}
}

/* css-grid-system */
.wrap{display:block;width:min(1180px,calc(100% - 28px));margin-inline:auto}
.top-inner{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
}
.nav{display:flex;flex-wrap:wrap}
.home-search{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  align-items:stretch;
}
.home-search .btn{grid-column:auto}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:12px;
}
.who-cats,.cats,.more-cats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:12px;
}
.foot-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:20px;
}
.chatbox{
  display:grid;
  grid-template-columns:minmax(180px,240px) minmax(0,1fr);
}
.featured{
  display:grid;
  grid-template-columns:100px minmax(0,1fr);
  gap:14px;
  align-items:center;
}
.dash-form, .auth-card form, form.dash-form{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
}
.dash-form .full, .dash-form textarea{grid-column:1/-1}
@media (max-width:820px){
  .top-inner{grid-template-columns:auto auto;justify-content:space-between}
  .nav.open{grid-column:1/-1}
  .home-search{grid-template-columns:1fr}
  .chatbox{grid-template-columns:1fr}
  .featured{grid-template-columns:88px minmax(0,1fr)}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1100px){
  .grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
}

/* grid-gap-scale */
:root{
  --g-1: 6px;
  --g-2: 10px;
  --g-3: 14px;
  --g-4: 20px;
  --g-5: 28px;
}
.grid{gap:var(--g-3)}
.home-search{gap:var(--g-2)}
.who-cats,.cats,.more-cats{gap:var(--g-3)}
.foot-grid{gap:var(--g-4)}
.chatbox{gap:0}
.featured{gap:var(--g-3)}
.dash-form,.auth-card form,form.dash-form{gap:var(--g-3)}
.top-inner{gap:var(--g-2)}
.home-links{gap:var(--g-3)}
.c-react{gap:var(--g-1)}
@media (max-width:820px){
  .grid{gap:var(--g-2)}
  .home-search{gap:var(--g-2)}
  .featured{gap:var(--g-2)}
}

/* case-refresh */
.brand, .btn, .eyebrow, .home-links a, .nav a {
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.btn-gold, .btn { border-radius: 10px; }

/* mobile-fix-2 */
@media (max-width:900px){
  .wrap{width:calc(100% - 20px)}
  .featured{grid-template-columns:84px minmax(0,1fr)!important;padding:10px}
  .featured picture,.featured img{width:84px!important;height:104px!important;object-fit:cover!important}
  .card img,.grid .card img{height:150px!important;width:100%;object-fit:cover}
  .card h3,.card .name{font-size:.92rem;line-height:1.25}
  input,select,textarea{font-size:16px!important;min-height:44px}
  .btn{min-height:44px}
  .lang-switch summary span:last-child{display:none}
  .theme-btn,.icon-btn{width:44px;height:44px}
  .hero{padding:6px 0 8px}
  .home-links a{padding:8px 4px}
  body.has-tabbar .foot{padding-bottom:24px}
}

.chat-toast{position:fixed;top:16px;right:16px;z-index:220;max-width:280px;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:12px 14px;box-shadow:0 12px 30px rgba(0,0,0,.25);opacity:0;pointer-events:none;transform:translateY(-8px);transition:.2s}
.chat-toast.on{opacity:1;transform:none}

/* dash-desktop-fix */
.dash-body .top-inner{
  display:flex !important;
  grid-template-columns:none !important;
  align-items:center;
  gap:12px;
  height:56px;
}
.dash-body .nav{flex:1;flex-wrap:wrap;min-width:0}
.dash-body .dash{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.dash-body .dash-main{min-width:0}
.dash-body .dash-form{display:block}
.dash-body .dash-form label{display:block;margin:0 0 12px}
@media (min-width:901px){
  .dash-body .icon-btn{display:none}
}
@media (max-width:900px){
  .dash-body .dash{grid-template-columns:1fr}
}

/* admin-wrap-fix */
.admin-wrap.dash,.dash-body .admin-wrap{
  display:grid !important;
  grid-template-columns:220px minmax(0,1fr) !important;
  gap:28px;
  align-items:start;
  padding:24px 0 80px;
}
.admin-wrap .dash-nav{position:sticky;top:72px}
.admin-wrap > section,.admin-wrap .dash-main,.admin-wrap > div:last-child{min-width:0}
@media (max-width:900px){
  .admin-wrap.dash{grid-template-columns:1fr !important}
}

/* admin-wrap-fix2 */
.wrap.dash{display:grid !important;grid-template-columns:220px minmax(0,1fr)!important;gap:28px;align-items:start}
@media (max-width:900px){.wrap.dash{grid-template-columns:1fr!important}}
