/* Feed-menu — Instagram-stijl, mobiel-first. Laadt enkel op /menukaart/.
   Bouwt op de tokens uit tokens.css (kleur/font). Doelbewuste typografie,
   heldere hiërarchie, ruime witruimte, premium lounge-uitstraling.
   Verrijking (stories-nav, filter, sheets, like-tellers) komt via feed.js. */

.feed { --feed-max: 600px; --head-h: 104px; padding-bottom: 1.5rem; }
.wrap-feed { width: 100%; max-width: var(--feed-max); margin-inline: auto; padding-inline: 1.1rem; }

/* ---------- sticky kop: actiebalk + stories-nav ---------- */
.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; }

/* Reserveer altijd de scrollbar-ruimte → de pagina wordt NIET breder wanneer een
   sheet de body-scroll vergrendelt (geen layout-sprong bij het openen van de popup). */
html { scrollbar-gutter: stable; }

.feed-head {
  position: sticky; top: var(--kop-h, 0px); z-index: 15;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface2);
}

/* actiebalk */
.feed-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  max-width: var(--feed-max); margin-inline: auto;
  padding: .5rem max(1.1rem, calc((100% - var(--feed-max)) / 2 + 1.1rem));
}
.feed-merk {
  color: var(--goud); font-family: var(--font-display); font-size: 1.05rem;
  letter-spacing: .04em;
}
.feed-acties { display: flex; align-items: center; gap: .4rem; }
.feed-knop {
  position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px;
  background: var(--surface); color: var(--schuim-dim);
  border: 1px solid var(--surface2); border-radius: 999px; cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.feed-knop:hover { color: var(--schuim); border-color: var(--koper); }
.feed-knop svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feed-knop.is-actief { color: var(--koper-licht); border-color: var(--koper); }
.feed-knop.is-actief::after {
  content: ''; position: absolute; top: -2px; right: -2px; width: 9px; height: 9px;
  background: var(--koper); border-radius: 999px; border: 2px solid var(--bg);
}
.fav-knop.heeft-fav svg { fill: var(--koper-licht); stroke: var(--koper-licht); }
.fav-badge {
  position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 3px;
  display: grid; place-items: center; background: var(--koper); color: #1a120b;
  font-size: .64rem; font-weight: 700; border-radius: 999px; border: 2px solid var(--bg);
}
.fav-badge[hidden] { display: none; }

/* dieetfilter-popover */
.feed-filter { position: relative; }
.filter-menu {
  position: absolute; right: 0; top: calc(100% + .45rem); z-index: 30; min-width: 180px;
  list-style: none; margin: 0; padding: .3rem; background: var(--surface);
  border: 1px solid var(--surface2); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.45);
}
.filter-menu[hidden] { display: none; }
.filter-optie {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  width: 100%; padding: .6rem .7rem; background: none; border: 0; border-radius: 8px;
  color: var(--schuim); font: inherit; font-size: .92rem; text-align: left; cursor: pointer;
}
.filter-optie:hover { background: var(--surface2); }
.filter-optie .vink { width: 18px; height: 18px; fill: none; stroke: var(--koper-licht); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.filter-optie.is-actief { color: var(--koper-licht); font-weight: 600; }
.filter-optie.is-actief .vink { opacity: 1; }

/* taalwissel (i18n-klaar; alleen NL actief) */
.feed-taal { position: relative; flex: 0 0 auto; }
.taal-knop {
  background: var(--surface); color: var(--schuim); border: 1px solid var(--surface2);
  border-radius: 999px; padding: 0 .7rem; height: 38px; font: inherit; font-size: .8rem; cursor: pointer;
}
.taal-knop:hover { border-color: var(--koper); }
.taal-menu {
  position: absolute; right: 0; top: calc(100% + .45rem); z-index: 30; min-width: 190px;
  list-style: none; margin: 0; padding: .35rem; background: var(--surface);
  border: 1px solid var(--surface2); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.taal-menu[hidden] { display: none; }
.taal-menu li { padding: .55rem .7rem; border-radius: 8px; font-size: .9rem; color: var(--schuim); cursor: pointer; }
.taal-menu li[aria-selected="true"] { color: var(--koper-licht); font-weight: 600; }
.taal-menu li[aria-disabled="true"] { color: var(--schuim-dim); opacity: .65; cursor: default; }
.taal-menu li:not([aria-disabled="true"]):hover { background: var(--surface2); }

/* stories-nav: ronde categorie-cirkels */
.feed-stories { position: relative; }
.stories-rail {
  display: flex; gap: .9rem; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth;
  max-width: var(--feed-max); margin-inline: auto;
  padding: .55rem max(1.1rem, calc((100% - var(--feed-max)) / 2 + 1.1rem));
}
.stories-rail::-webkit-scrollbar { display: none; }
.story {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: .3rem;
  width: 62px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
}
.story-cirkel {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 999px; overflow: hidden; background: var(--surface2);
  box-shadow: 0 0 0 2px var(--surface2); transition: box-shadow .18s;
}
.story-cirkel img { width: 100%; height: 100%; object-fit: cover; }
.story-letter {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--koper-licht);
}
.story-cirkel img + .story-letter { display: none; }
.story-label {
  max-width: 62px; font-size: .68rem; line-height: 1.2; color: var(--schuim-dim); text-align: center;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.story.is-actief .story-cirkel { box-shadow: 0 0 0 2px var(--koper), 0 0 0 4px var(--bg); }
.story.is-actief .story-label { color: var(--koper-licht); font-weight: 600; }
.stories-fade { position: absolute; inset-block: 0; width: 38px; pointer-events: none; transition: opacity .2s; }
.stories-fade-l { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.stories-fade-r { right: 0; display: grid; place-items: center; justify-content: end; padding-right: .3rem; background: linear-gradient(to left, var(--bg), transparent); }
.stories-fade-r svg { width: 20px; height: 20px; fill: none; stroke: var(--koper-licht); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: stoot 1.4s ease-in-out infinite; }
@keyframes stoot { 0%,100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.stories-fade.is-uit { opacity: 0; }

/* open/dicht-banner (door feed.js gevuld) */
.feed-open {
  max-width: var(--feed-max); margin: .8rem auto 0; padding: .55rem 1rem;
  text-align: center; font-size: .85rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--munt, var(--koper)) 40%, transparent);
  background: color-mix(in srgb, var(--munt, var(--koper)) 12%, transparent);
  color: var(--schuim);
}
.feed-open.is-dicht {
  border-color: color-mix(in srgb, var(--koper) 40%, transparent);
  background: color-mix(in srgb, var(--koper) 12%, transparent);
}
.feed-open[hidden] { display: none; }
.feed-open b { color: var(--koper-licht); }

/* ---------- kop ---------- */
.feed-kop { padding: 1.4rem 0 .4rem; }
.feed-kop .eyebrow { color: var(--koper); letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; margin: 0 0 .5rem; }
.feed-kop h1 { font-size: clamp(2rem, 8vw, 2.8rem); color: var(--schuim); margin: 0 0 .3rem; }
.feed-sub { color: var(--schuim-dim); margin: 0; font-size: .98rem; }
.feed-kop, .feed-sub { max-width: var(--feed-max); margin-inline: auto; padding-inline: 1.1rem; }

.feed-leeg { text-align: center; color: var(--schuim-dim); margin: 2rem auto; font-size: .95rem; }
.feed-leeg[hidden] { display: none; }

/* ---------- groepen + categorieën ---------- */
.feed-groep { margin: 1.6rem 0 0; }
.feed-groep-titel {
  max-width: var(--feed-max); margin: 1.4rem auto .2rem; padding: 0 1.1rem;
  color: var(--goud); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-family: var(--font-body); font-weight: 600;
}
.feed-cat { scroll-margin-top: calc(var(--kop-h, 0px) + var(--head-h)); }
.feed-cat-titel {
  max-width: var(--feed-max); margin: 1.2rem auto .7rem; padding: 0 1.1rem;
  color: var(--koper-licht); font-size: 1.5rem;
}
.feed-cat.is-verborgen, .feed-groep.is-verborgen, .story.is-verborgen, .post.is-verborgen { display: none; }

/* ---------- posts ---------- */
.feed-posts { display: flex; flex-direction: column; gap: 1.3rem; max-width: var(--feed-max); margin-inline: auto; padding-inline: 1.1rem; }
.post {
  background: var(--surface); border: 1px solid var(--surface2); border-radius: 18px;
  overflow: hidden; transition: border-color .15s, transform .15s;
}
.post:hover { border-color: color-mix(in srgb, var(--koper) 55%, var(--surface2)); }
.post-media { position: relative; aspect-ratio: 4 / 5; background: var(--surface2); }
.post-media-link { position: absolute; inset: 0; display: block; }
.post-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-img-leeg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--surface2), var(--surface)); }
.post-prijs {
  position: absolute; right: .7rem; bottom: .7rem;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(6px);
  color: var(--goud); font-variant-numeric: tabular-nums; font-weight: 600;
  padding: .3rem .7rem; border-radius: 999px; font-size: .95rem; border: 1px solid color-mix(in srgb, var(--goud) 40%, transparent);
}
/* hart-burst bij dubbeltik op de foto */
.post-burst {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  opacity: 0;
}
.post-burst svg { width: 88px; height: 88px; fill: #fff; filter: drop-shadow(0 2px 10px rgba(0,0,0,.5)); }
.post-burst.klop { animation: burst .8s ease; }
@keyframes burst { 0% { opacity: 0; transform: scale(.4); } 15% { opacity: .95; transform: scale(1.1); } 35% { transform: scale(1); } 80% { opacity: .9; } 100% { opacity: 0; transform: scale(1); } }
.post-body { padding: .9rem 1rem 1rem; }
.post-naam { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 .3rem; line-height: 1.15; }
.post-naam a { color: var(--schuim); text-decoration: none; }
.post-naam a:hover { color: var(--koper-licht); }
.post-desc {
  color: var(--schuim-dim); font-size: .92rem; line-height: 1.55; margin: 0 0 .6rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post .tags { margin: 0 0 .2rem; }

/* acties: hart (+telling), deel, bekijk */
.post-acties { display: flex; align-items: center; gap: .35rem; margin-top: .7rem; }
.hart, .deel {
  display: inline-grid; grid-auto-flow: column; align-items: center; gap: .35rem; place-items: center;
  height: 42px; padding: 0 .7rem; min-width: 42px;
  background: transparent; border: 1px solid var(--surface2); border-radius: 999px;
  color: var(--schuim-dim); cursor: pointer; font: inherit;
  transition: color .15s, border-color .15s, transform .1s, background .15s;
}
.hart svg, .deel svg { width: 21px; height: 21px; }
.hart svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.deel svg { fill: currentColor; }
.hart-telling { font-size: .85rem; font-variant-numeric: tabular-nums; line-height: 1; }
.hart:hover, .deel:hover { color: var(--schuim); border-color: var(--koper); }
.hart[aria-pressed="true"] { color: var(--koper-licht); border-color: var(--koper); }
.hart[aria-pressed="true"] svg { fill: var(--koper-licht); stroke: var(--koper-licht); }
.hart.klop svg { animation: hartKlop .32s ease; }
@keyframes hartKlop { 30% { transform: scale(1.32); } 55% { transform: scale(.92); } 100% { transform: scale(1); } }
.post-meer {
  margin-left: auto; color: var(--koper-licht); text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: .5rem .2rem; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.post-meer:hover { color: var(--goud); }

.feed-voet { text-align: center; color: var(--schuim-dim); font-size: .8rem; margin: 2.5rem 0 0; opacity: .8; }

/* ---------- bottom-sheet (detail / favorieten / allergenen) ---------- */
.sheet-overlay {
  position: fixed; inset: 0; z-index: 1200; display: flex; flex-direction: column; justify-content: flex-end;
  background: rgba(0,0,0,.7); animation: vervaag .2s ease;
  overflow: hidden; overscroll-behavior: contain;
}
.sheet-overlay[hidden] { display: none; }
@keyframes vervaag { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  position: relative; max-height: 90vh; overflow-y: auto; overflow-x: hidden;
  background: var(--surface); border-top: 1px solid var(--surface2);
  border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(0,0,0,.5);
  padding-bottom: max(env(safe-area-inset-bottom), 1rem);
  animation: omhoog .26s cubic-bezier(.2,.7,.3,1);
}
@keyframes omhoog { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-kop {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .9rem 1.1rem; background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface2);
}
.sheet-kop h2 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--schuim); }
.sheet-x {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto;
  background: var(--surface2); color: var(--schuim-dim); border: 0; border-radius: 999px; cursor: pointer;
}
.sheet-x:hover { color: var(--schuim); }
.sheet-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sheet-body { padding: 1.1rem; }

/* detail-sheet */
.sheet-foto { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface2); margin-bottom: .9rem; }
.sheet-foto img { width: 100%; height: 100%; object-fit: cover; }
.sheet-foto .post-prijs { right: .8rem; bottom: .8rem; }
.sheet-acties { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.sheet-acties .hart, .sheet-acties .deel { height: 44px; }
.sheet-acties .deel { margin-left: auto; }
.sheet-desc { color: var(--schuim); font-size: .98rem; line-height: 1.65; margin: 0 0 .8rem; }
.sheet .tags { margin: 0 0 .9rem; }
.sheet-link {
  display: inline-flex; align-items: center; gap: .4rem; color: var(--koper-licht);
  text-decoration: none; font-weight: 600; font-size: .92rem;
}
.sheet-link:hover { color: var(--goud); }
.sheet-noot { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--surface2); color: var(--schuim-dim); font-size: .82rem; line-height: 1.5; }

/* favorieten-sheet */
.fav-lijst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.fav-item { display: flex; align-items: center; gap: .8rem; }
.fav-item-foto { width: 60px; height: 60px; flex: 0 0 auto; border-radius: 12px; overflow: hidden; background: var(--surface2); }
.fav-item-foto img { width: 100%; height: 100%; object-fit: cover; }
.fav-item-body { min-width: 0; flex: 1; }
.fav-item-naam { display: block; color: var(--schuim); font-weight: 600; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; font-size: 1rem; }
.fav-item-naam:hover { color: var(--koper-licht); }
.fav-item-prijs { color: var(--goud); font-size: .85rem; font-variant-numeric: tabular-nums; }
.fav-weg { flex: 0 0 auto; display: inline-grid; place-items: center; width: 38px; height: 38px; background: var(--surface2); border: 0; border-radius: 999px; color: var(--koper-licht); cursor: pointer; }
.fav-weg svg { width: 19px; height: 19px; fill: var(--koper-licht); }
.fav-leeg { color: var(--schuim-dim); font-size: .95rem; text-align: center; padding: 1.5rem 0; }

/* info/allergenen-sheet */
.info-blok { display: flex; gap: .8rem; padding: .9rem; border: 1px solid var(--surface2); border-radius: 12px; background: var(--surface2); margin-bottom: .8rem; }
.info-blok svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: .1rem; fill: none; stroke: var(--koper-licht); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-blok p { margin: 0; color: var(--schuim); font-size: .92rem; line-height: 1.55; }

/* ---------- zoekbalk ---------- */
.feed-zoek {
  display: flex; align-items: center; gap: .5rem;
  max-width: var(--feed-max); margin-inline: auto;
  padding: .15rem max(1.1rem, calc((100% - var(--feed-max)) / 2 + 1.1rem)) .55rem;
}
.feed-zoek[hidden] { display: none; }
.zoek-icoon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--schuim-dim); stroke-width: 1.9; stroke-linecap: round; }
.zoek-invoer {
  flex: 1 1 0; min-width: 0; background: var(--surface); color: var(--schuim);
  border: 1px solid var(--surface2); border-radius: 999px; padding: .55rem .9rem; font: inherit; font-size: .95rem;
}
.zoek-invoer::placeholder { color: var(--schuim-dim); }
.zoek-invoer:focus { outline: none; border-color: var(--koper); }
.zoek-wis { flex: 0 0 auto; display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--surface2); border: 0; border-radius: 999px; color: var(--schuim-dim); cursor: pointer; }
.zoek-wis[hidden] { display: none; }
.zoek-wis svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- upsell "lekker met…" in de detail-sheet ---------- */
.sheet-pairing { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--surface2); }
.sheet-pairing h3 { margin: 0 0 .7rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--koper-licht); }
/* Eén kolom per upsell (max 3), samen vullen ze de rij: 2 items = 2 brede kolommen, 3 = 3. */
.pairing-lijst { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .7rem; }
.pairing-kaart { display: flex; flex-direction: column; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; }
.pairing-foto { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface2); margin-bottom: .35rem; }
.pairing-foto img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.pairing-foto img.geladen { opacity: 1; }
.pairing-naam { display: block; color: var(--schuim); font-size: .85rem; line-height: 1.25; }
.pairing-prijs { color: var(--goud); font-size: .8rem; font-variant-numeric: tabular-nums; }

/* ---------- beeld-performance ---------- */
/* Offscreen posts niet renderen → vlotte scroll bij 183 items. */
.post { content-visibility: auto; contain-intrinsic-size: auto 520px; }
/* Zachte fade-in van foto's (enkel met JS; zonder JS blijven ze gewoon zichtbaar). */
.feed.is-js .post-img { opacity: 0; transition: opacity .45s ease; }
.feed.is-js .post-img.geladen { opacity: 1; }
.sheet-foto img { opacity: 0; transition: opacity .35s ease; }
.sheet-foto img.geladen { opacity: 1; }

/* deel-terugval (kleine toast bij gekopieerde link) */
.deel-toast {
  position: fixed; left: 50%; bottom: calc(5.5rem + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: var(--surface); color: var(--schuim); border: 1px solid var(--koper);
  padding: .6rem 1rem; border-radius: 999px; font-size: .85rem; z-index: 1300; box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.deel-toast[hidden] { display: none; }

/* ---------- header-logo ---------- */
.feed-logo { display: inline-flex; align-items: center; }
.feed-logo img { height: 30px; width: auto; display: block; }
/* tekst-woordmerk: eerste woord crème, rest in het logo-accent (roze) */
.feed-logo-tekst { text-decoration: none; font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .015em; line-height: 1; }
.merk-basis { color: var(--schuim); }
.merk-accent { color: var(--koper); }
.splash-merk-tekst { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: .015em; }

/* ---------- reactie-knop (zelfde vorm als hart/deel) ---------- */
.reactie {
  display: inline-grid; grid-auto-flow: column; align-items: center; gap: .35rem; place-items: center;
  height: 42px; padding: 0 .7rem; min-width: 42px;
  background: transparent; border: 1px solid var(--surface2); border-radius: 999px;
  color: var(--schuim-dim); cursor: pointer; font: inherit;
  transition: color .15s, border-color .15s, background .15s;
}
.reactie svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.reactie:hover { color: var(--schuim); border-color: var(--koper); }
.reactie-telling { font-size: .85rem; font-variant-numeric: tabular-nums; line-height: 1; }
.post-acties { gap: .3rem; }
.sheet-acties .reactie { height: 44px; }

/* ---------- splash-intro ---------- */
.splash {
  position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center;
  padding: 2rem 1.4rem; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--koper) 22%, var(--bg)), var(--bg) 70%);
}
.splash[hidden] { display: none; }
.splash.is-weg { animation: splashUit .45s ease forwards; }
@keyframes splashUit { to { opacity: 0; visibility: hidden; } }
.splash-in { max-width: 360px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: .55rem; animation: omhoogZacht .5s ease; }
@keyframes omhoogZacht { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.splash-logo { width: min(64vw, 220px); height: auto; margin-bottom: .4rem; }
.splash-merk { font-family: var(--font-display); font-size: 2rem; color: var(--schuim); }
.splash-welkom { font-family: var(--font-display); font-size: 1.7rem; color: var(--schuim); margin: .2rem 0 0; }
.splash-sub { color: var(--schuim-dim); font-size: .95rem; margin: 0 0 .6rem; }
.splash-talen { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: .4rem; }
.splash-taal {
  background: var(--surface); color: var(--schuim-dim); border: 1px solid var(--surface2);
  border-radius: 999px; padding: .5rem .9rem; font: inherit; font-size: .85rem; cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.splash-taal.is-actief { color: #1a1020; background: var(--koper-licht); border-color: var(--koper-licht); font-weight: 600; }
.splash-taal[aria-disabled="true"] { opacity: .5; cursor: default; }
.splash-enter {
  margin-top: .6rem; width: 100%; max-width: 280px;
  background: var(--koper); color: #160d20; border: 0; border-radius: 999px;
  padding: .85rem 1.2rem; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--koper) 45%, transparent);
  transition: transform .12s, background .15s;
}
.splash-enter:hover { background: var(--koper-licht); }
.splash-enter:active { transform: scale(.98); }

/* ---------- reacties in de detail-sheet ---------- */
.sheet-reacties { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--surface2); }
.sheet-reacties h3 { margin: 0 0 .7rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--koper-licht); }
.reactie-lijst { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.reactie-item { display: flex; gap: .6rem; }
.reactie-avatar { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: var(--surface2); color: var(--koper-licht); font-weight: 700; font-size: .85rem; }
.reactie-body { min-width: 0; }
.reactie-body p { margin: 0; }
.reactie-naam { color: var(--schuim); font-weight: 600; font-size: .9rem; }
.reactie-tekst { color: var(--schuim-dim); font-size: .92rem; line-height: 1.5; }
.reactie-tijd { color: var(--schuim-dim); opacity: .7; font-size: .74rem; margin-top: .15rem; }
.reactie-leeg { color: var(--schuim-dim); font-size: .9rem; margin: 0 0 .9rem; }
.reactie-form { display: flex; flex-direction: column; gap: .55rem; }
.reactie-naaminvoer, .reactie-tekstinvoer {
  width: 100%; background: var(--surface2); color: var(--schuim);
  border: 1px solid var(--surface2); border-radius: 12px; padding: .6rem .8rem; font: inherit; font-size: .92rem;
}
.reactie-naaminvoer::placeholder, .reactie-tekstinvoer::placeholder { color: var(--schuim-dim); }
.reactie-naaminvoer:focus, .reactie-tekstinvoer:focus { outline: none; border-color: var(--koper); }
.reactie-rij { display: flex; gap: .5rem; align-items: flex-end; }
.reactie-rij .reactie-tekstinvoer { flex: 1 1 0; width: auto; min-width: 0; }
.reactie-plaats {
  flex: 0 0 auto; background: var(--koper); color: #160d20; border: 0; border-radius: 12px;
  padding: .6rem 1rem; font: inherit; font-weight: 700; cursor: pointer;
}
.reactie-plaats:disabled { opacity: .5; cursor: default; }

/* iOS-Safari zoomt automatisch in wanneer je een invoerveld < 16px aanraakt, waardoor de
   viewport verspringt en verschoven blijft nadat het toetsenbord sluit. Forceer 16px op de
   invoervelden op kleine schermen zodat er niet ingezoomd wordt. */
@media (max-width: 640px) {
  .reactie-naaminvoer, .reactie-tekstinvoer, .zoek-invoer { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hart.klop svg, .post-burst.klop, .sheet, .sheet-overlay, .stories-fade-r svg, .splash-in, .splash.is-weg { animation: none; }
}
@media (min-width: 720px) {
  .post-media { aspect-ratio: 16 / 11; }
  .sheet { max-width: 600px; margin-inline: auto; border-radius: 20px; margin-bottom: 2vh; }
  .sheet-overlay { justify-content: center; padding: 2vh 1rem; }
}
