
.groepen-wrap { display: grid; gap: 28px; }
.groepen-ontdek .filters { margin-bottom: 18px; }
.groepen-ontdek, .groepen-mijn, .groepen-ontdek .filters { min-width: 0; }
.groepen-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .groepen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .groepen-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.groep-kaart { background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schaduw); overflow: hidden; min-width: 0; }
.groep-kaart-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.groep-kaart-link:hover .groep-kaart-naam { color: var(--zee); text-decoration: underline; }
.groep-kaart-in { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 14px; min-width: 0; flex: 1; }
.groep-kaart-naam { display: flex; align-items: center; gap: 8px; font: 650 1.1rem/1.25 var(--font-kop); color: var(--zee-donker); overflow-wrap: anywhere; }
.groep-kaart-oms { font-size: .95rem; overflow-wrap: anywhere; }
.groep-kaart-actief { margin-top: auto; padding-top: 4px; }
.groep-nieuw { flex: none; }

.groep-beeld { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; background: var(--zee-licht); }
.groep-beeld-leeg { display: grid; place-items: center; color: var(--zee); }
.groep-beeld-leeg .ic { width: 40px; height: 40px; }
.groep-kaart .groep-beeld-leeg { aspect-ratio: auto; height: 72px; }
.groep-kaart .groep-beeld-leeg .ic { width: 32px; height: 32px; }
.groep-soort-straat, .groep-soort-nieuw { background: var(--dijk-licht); color: var(--dijk); }
.groep-soort-hobby, .groep-soort-cultuur, .groep-soort-eten { background: #fdf1d8; color: var(--zon-donker); }
.groep-soort-ouders, .groep-soort-senioren { background: var(--rood-licht); color: var(--rood); }

.groep-labels { display: flex; flex-wrap: wrap; gap: 6px; }
.groep-label { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: var(--zee-licht); color: var(--zee-donker);
  font: 600 .78rem/1.5 var(--font); white-space: nowrap; }
.groep-label .ic { width: 14px; height: 14px; }
.groep-label-wacht { background: #fff3d6; color: #6b4b00; }
.groep-label-nieuw { background: var(--rood); color: var(--wit); }

.groep-begin { scroll-margin-top: 90px; }
.keuze-blok { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border: 1.5px solid var(--rand); border-radius: var(--radius-s);
  cursor: pointer; font-weight: 400; }
.keuze-blok input { margin-top: 5px; flex: none; }
.keuze-blok:has(input:checked) { border-color: var(--zee); background: var(--zee-licht); }

.groep-kop { padding: 0; overflow: hidden; }
.groep-omslag { display: block; width: 100%; height: auto; aspect-ratio: 16 / 5; min-height: 110px; object-fit: cover; background: var(--zee-licht); }
.groep-omslag.groep-beeld-leeg { display: grid; place-items: center; aspect-ratio: auto; height: 96px; min-height: 0; }
.groep-omslag.groep-beeld-leeg .ic { width: 44px; height: 44px; }
.groep-kop-in { padding: 16px 20px 18px; min-width: 0; }
.groep-kop-in h1 { margin-bottom: .2em; overflow-wrap: anywhere; }
.groep-kop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.groep-kop-meta .ic { width: 16px; height: 16px; }
.groep-oms { margin: 10px 0 12px; overflow-wrap: anywhere; }
.groep-knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.groep-knoppen .klein { margin: 0; }
.groep-meldingen { display: inline-flex; align-items: center; gap: 8px; }
.groep-meldingen select { min-height: 44px; }

.groep-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 900px) { .groep-raster { grid-template-columns: minmax(0, 1fr) 300px; } }
.groep-feed { min-width: 0; }
.groep-zij { min-width: 0; }

.groep-plaats textarea { width: 100%; resize: vertical; }
.groep-plaats-onder { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.groep-plaats-onder .knop:last-child { margin-left: auto; }
.groep-foto-kies { cursor: pointer; }
.groep-foto-voorbeeld { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.groep-foto-voorbeeld[hidden] { display: none; }
.groep-foto-voorbeeld img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-s); border: 1px solid var(--rand); }
.groep-foto-kies:focus-within { outline: 3px solid var(--zee-donker); outline-offset: 2px; }

.groep-bericht { scroll-margin-top: 90px; }
.groep-bericht.is-vast { border-color: var(--zon); }
.groep-bericht.is-verborgen { opacity: .6; border-style: dashed; }
.groep-bericht-kop { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.groep-bericht-kop > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.groep-vast { display: flex; align-items: center; gap: 4px; margin: -4px 0 8px; color: var(--zon-donker); }
.groep-bericht-tekst { overflow-wrap: anywhere; }
.groep-bericht-tekst p { margin-bottom: .6em; }
.groep-bericht-foto { display: block; margin: 8px 0 4px; }
.groep-bericht-foto img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: var(--zand); border-radius: var(--radius-s); }
.groep-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.groep-acties .knop-tekst { font-size: .85rem; }
.groep-reacties { margin-top: 10px; }
.groep-reacties .reactielijst { margin-bottom: 10px; }
.groep-reacties .reactie { background: var(--zand); scroll-margin-top: 90px; }
.groep-reacties .reactie-acties { flex-wrap: wrap; }
.groep-reageer { display: grid; gap: 8px; margin-top: 8px; }
.groep-reageer textarea { width: 100%; resize: vertical; }
.groep-reageer .knop { justify-self: start; }

.groep-ledenlijst { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.groep-ledenlijst li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.groep-lid-naam { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .95rem; }
.groep-lid-naam .klein { display: block; }
.groep-lid-knoppen { display: flex; align-items: center; gap: 4px; flex: none; }
.groep-leden summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.groep-lid-menu { position: relative; flex: none; }
.groep-lid-menu summary { list-style: none; cursor: pointer; padding: 10px 8px; min-height: 44px; }
.groep-lid-menu summary::-webkit-details-marker { display: none; }
.groep-lid-menu > div { position: absolute; right: 0; top: 100%; z-index: 5; display: grid; min-width: 200px; padding: 6px; background: var(--wit);
  border: 1px solid var(--rand); border-radius: var(--radius-s); box-shadow: var(--schaduw); }
.groep-lid-menu > div .knop-tekst { text-align: left; }

.groep-meer { position: relative; }
.groep-meer summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 8px; }
.groep-meer summary::-webkit-details-marker { display: none; }
.groep-meer-menu { position: absolute; left: 0; top: 100%; z-index: 6; display: grid; min-width: 190px; padding: 6px; background: var(--wit);
  border: 1px solid var(--rand); border-radius: var(--radius-s); box-shadow: var(--schaduw); }
.groep-meer-menu .knop-tekst { text-align: left; padding: 10px 10px; }
.groep-beheer { margin-top: 24px; scroll-margin-top: 90px; }
.groep-beheer h3[id], .groep-verzoeken { scroll-margin-top: 90px; }
.groep-verzoeken-kort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.groep-lid-naam .klein { overflow-wrap: anywhere; }
.groep-beheer h3 { margin-top: 1.2em; }
.groep-uitnodiging { display: flex; flex-wrap: wrap; gap: 8px; }
.groep-uitnodiging input { flex: 1 1 240px; min-width: 0; min-height: 44px; }
.groep-uitnodiging[hidden] { display: none; }
.groep-reageer[hidden] { display: none; }

.groep-lid-menu summary { min-width: 44px; justify-content: center; display: inline-flex; align-items: center; }
.groep-lid-knoppen .knop-tekst { min-height: 44px; padding: 10px 8px; }
.groep-aanpassen-knoppen { display: flex; align-items: center; gap: 8px; }
.groep-reacties .reactie-duim { min-width: 44px; justify-content: center; }

@media (max-width: 640px) {
  .groepen-ontdek .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; max-width: 100%;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .groepen-ontdek .chips::-webkit-scrollbar { display: none; }
  .groepen-ontdek .chips li { flex: none; scroll-snap-align: start; }
}

.groep-plaats-soort { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.groep-plaats-soort .chip-radio span { min-height: 44px; gap: 6px; }
.groep-plaats-soort .ic { width: 16px; height: 16px; }
.groep-plaats-extra { margin-top: 10px; display: grid; gap: 8px; }
.groep-plaats-extra[hidden], .groep-foto-kies[hidden] { display: none; }
.groep-plaats-extra input { width: 100%; }
.groep-opties { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.groep-opties input { width: 100%; }
.groep-plaats-extra .knop-tekst { justify-self: start; }

.groep-soort-label { display: flex; align-items: center; gap: 4px; margin: -2px 0 4px; color: var(--zee); font-weight: 600; }
.groep-peiling-vraag { font-weight: 600; }
.groep-act { display: flex; gap: 14px; align-items: flex-start; margin: 10px 0 4px; padding: 12px; background: var(--zee-licht); border-radius: var(--radius-s); }
.groep-act-tegel { display: grid; justify-items: center; flex: none; width: 56px; padding: 6px 0; background: var(--wit); border: 1px solid var(--rand);
  border-radius: var(--radius-s); line-height: 1.1; text-transform: uppercase; font-size: .72rem; color: var(--tekst-zacht); }
.groep-act-tegel strong { font: 700 1.5rem/1.1 var(--font-kop); color: var(--zee-donker); }
.groep-act-in { min-width: 0; flex: 1; }
.groep-act-in p { margin: 0 0 4px; overflow-wrap: anywhere; }
.groep-act-wanneer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; }
.groep-act-plek { display: flex; align-items: center; gap: 6px; }
.groep-act-wanneer .ic, .groep-act-plek .ic { width: 16px; height: 16px; flex: none; }
.groep-act-in .groep-act-knoppen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.groep-act-herhaal, .groep-act-plekken { display: flex; align-items: center; gap: 6px; }
.groep-act-herhaal .ic, .groep-act-plekken .ic { width: 16px; height: 16px; flex: none; }
.groep-act-plekken { align-items: flex-start; }
.groep-act-plekken .ic { margin-top: 3px; }
.groep-act-plekken.is-vol { color: var(--zon-donker); font-weight: 600; }
.groep-mee { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rand); }
.groep-mee-kop { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.groep-mee-kop .ic { width: 16px; height: 16px; flex: none; }
.groep-mee-lijst { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.groep-mee-regel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; min-height: 44px;
  padding: 4px 6px 4px 12px; background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius-s); }
.groep-mee-regel.is-vrij { border-style: dashed; }
.groep-mee-wat { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.groep-mee-wie { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .9rem; color: var(--tekst-zacht); }
.groep-mee-wie .ic { width: 15px; height: 15px; color: var(--dijk); }
.groep-mee-wie .knop-tekst { font-size: .9rem; }
.groep-mee-weg { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none;
  color: var(--tekst-zacht); cursor: pointer; }
.groep-mee-weg:hover, .groep-mee-weg:focus-visible { background: var(--zee-licht); color: var(--tekst); }
.groep-mee-weg .ic { width: 16px; height: 16px; color: inherit; }
.groep-mee-erbij { display: flex; gap: 8px; margin-top: 8px; }
.groep-mee-erbij input { flex: 1; min-width: 0; }
.groep-mee .hint { margin: 6px 0 0; }
.groep-act-meer { margin-top: 4px; }
.groep-act-meer > summary { cursor: pointer; font-weight: 600; color: var(--zee); padding: 8px 0; min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; }
.groep-act-meer > summary::-webkit-details-marker { display: none; }
.groep-act-meer > summary::before { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .15s; flex: none; }
.groep-act-meer[open] > summary::before { transform: rotate(45deg); }
.groep-act-meer[open] > summary { margin-bottom: 4px; }
.groep-act-meer label .hint { font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .groep-act-meer > summary::before { transition: none; } }
.groep-act-meer select { width: 100%; }
.groep-act-meer .veld-blok { margin-top: 12px; }
.groep-act-meer textarea { width: 100%; }
.groep-act-meer label .hint[hidden] { display: none; }

.groep-peiling { list-style: none; margin: 10px 0 6px; padding: 0; display: grid; gap: 8px; }
.groep-peiling-knop { display: block; width: 100%; text-align: left; padding: 10px 12px; min-height: 44px; border: 1.5px solid var(--rand);
  border-radius: var(--radius-s); background: var(--wit); font: inherit; color: inherit; }
button.groep-peiling-knop { cursor: pointer; }
button.groep-peiling-knop:hover { border-color: var(--zee); }
.groep-peiling-knop[aria-pressed="true"] { border-color: var(--zee); background: var(--zee-licht); }
.groep-peiling-kop { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.groep-peiling-optie { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.groep-peiling-n { flex: none; color: var(--tekst-zacht); font-size: .88rem; }
.groep-peiling progress { display: block; width: 100%; height: 8px; border: 0; border-radius: 4px; background: var(--zand); overflow: hidden;
  -webkit-appearance: none; appearance: none; }
.groep-peiling progress::-webkit-progress-bar { background: var(--zand); border-radius: 4px; }
.groep-peiling progress::-webkit-progress-value { background: var(--zee); border-radius: 4px; }
.groep-peiling progress::-moz-progress-bar { background: var(--zee); border-radius: 4px; }

.groep-noem { color: var(--zee); }
.groep-noem-lijst { list-style: none; margin: 4px 0 0; padding: 4px; background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius-s);
  box-shadow: var(--schaduw); max-width: 320px; }
.groep-noem-lijst[hidden] { display: none; }
.groep-noem-lijst li { padding: 10px 12px; min-height: 44px; display: flex; align-items: center; border-radius: 6px; cursor: pointer; overflow-wrap: anywhere; }
.groep-noem-lijst li[aria-selected="true"], .groep-noem-lijst li:hover { background: var(--zee-licht); }

.groep-zoek { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.groep-zoek .veld { flex: 1 1 220px; }
.groep-regels .klein p { margin-bottom: .5em; }
.groep-lijkt ul { margin: 6px 0 0; padding-left: 20px; }
.groep-lijkt[hidden] { display: none; }
.groep-label-buren { background: var(--dijk-licht); color: var(--dijk); }
.groepen-voor-jou { min-width: 0; }
.dialoog-vraag { white-space: pre-line; }

.groep-wrap { max-width: 820px; }
.groep-oms-kort { margin: 6px 0 12px; color: var(--tekst-zacht); overflow-wrap: anywhere; }
.groep-tabs { display: flex; gap: 4px; margin: 18px 0 16px; border-bottom: 2px solid var(--rand); overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; }
.groep-tabs::-webkit-scrollbar { display: none; }
.groep-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; margin-bottom: -2px;
  border-bottom: 3px solid transparent; color: var(--tekst-zacht); font-weight: 600; text-decoration: none; white-space: nowrap; }
.groep-tabs a:hover { color: var(--zee); }
.groep-tabs a[aria-current="page"] { color: var(--zee-donker); border-bottom-color: var(--zee); }
.groep-tab-n { font-size: .8rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--zee-licht); color: var(--zee-donker); }
.groep-tab-inhoud { min-width: 0; }
.groep-tab-inhoud > .blokkop { margin-top: 18px; }
.groep-tab-knoppen { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.groep-kop-meer { margin-left: auto; }
.groep-kop-meer .groep-meer-menu { left: auto; right: 0; }

.groep-beeld-tekening { background: var(--zee-licht); object-fit: cover; }
.groep-omslag.groep-beeld-tekening { display: block; height: auto; aspect-ratio: 16 / 5; min-height: 0; }

.groepen-chat { list-style: none; margin: 0; padding: 0; background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schaduw); overflow: hidden; }
.groep-chat + .groep-chat { border-top: 1px solid var(--rand); }
.groep-chat a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 64px; color: inherit; text-decoration: none; }
.groep-chat a:hover { background: var(--zee-licht); }
.groep-chat-beeld { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; aspect-ratio: auto; background: var(--zee-licht); }
.groep-chat-beeld.groep-beeld-leeg { display: grid; place-items: center; height: 52px; }
.groep-chat-beeld .ic { width: 24px; height: 24px; }
.groep-chat-in { flex: 1; min-width: 0; display: grid; gap: 2px; }
.groep-chat-kop, .groep-chat-onder { display: flex; align-items: center; gap: 8px; min-width: 0; }
.groep-chat-naam { flex: 1; min-width: 0; font: 650 1.02rem/1.25 var(--font-kop); color: var(--zee-donker); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.groep-chat-laatste { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.groep-chat.is-nieuw .groep-chat-laatste { color: var(--tekst); font-weight: 600; }

.groepen-komend-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.groepen-komend-lijst a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--wit); border: 1px solid var(--rand);
  border-radius: var(--radius-s); color: inherit; text-decoration: none; min-width: 0; }
.groepen-komend-lijst a:hover { border-color: var(--zee); }
.groepen-komend-lijst a > span:last-child { display: grid; gap: 2px; min-width: 0; }
.groepen-komend-lijst strong { overflow-wrap: anywhere; }
.groepen-komend-lijst .groep-label { justify-self: start; }

.groep-gemist { border-left: 4px solid var(--zon); }
.groep-gemist-kop { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.groep-gemist ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.groep-gemist li { overflow-wrap: anywhere; }
.groep-nieuwe-leden { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.groep-nieuwe-leden .ic { flex: none; }

.groep-emoji { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.groep-emoji-chip { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 4px 10px;
  border-radius: 999px; border: 1.5px solid var(--rand); background: var(--wit); font: 600 .9rem var(--font); color: var(--tekst); }
button.groep-emoji-chip { cursor: pointer; }
.groep-emoji-chip[aria-pressed="true"] { border-color: var(--zee); background: var(--zee-licht); }
.groep-emoji-kies { position: relative; }
.groep-emoji-kies summary { list-style: none; cursor: pointer; }
.groep-emoji-kies summary::-webkit-details-marker { display: none; }
.groep-emoji-menu { position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 7; display: flex; gap: 2px; padding: 6px; background: var(--wit);
  border: 1px solid var(--rand); border-radius: 999px; box-shadow: var(--schaduw); }
.groep-emoji-menu button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; font-size: 1.35rem; cursor: pointer; }
.groep-emoji-menu button:hover, .groep-emoji-menu button[aria-pressed="true"] { background: var(--zee-licht); }

.groep-prik { list-style: none; margin: 10px 0 6px; padding: 0; display: grid; gap: 8px; }
.groep-prik-rij { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 8px 10px; border: 1.5px solid var(--rand); border-radius: var(--radius-s);
  background: var(--wit); min-width: 0; }
.groep-prik-rij.is-beste { border-color: var(--dijk); background: var(--dijk-licht); }
.groep-prik-rij.is-voorbij { opacity: .55; }
.groep-prik-in { flex: 1 1 180px; display: grid; gap: 2px; min-width: 0; }
.groep-prik-wanneer { font-weight: 600; overflow-wrap: anywhere; }
.groep-prik-knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.groep-peiling-status { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; }
.groep-peiling.is-dicht .is-winnaar .groep-peiling-knop { border-color: var(--dijk); background: var(--dijk-licht); }
.groep-act-in .groep-act-agenda { margin: 4px 0 0; }
.groep-act-agenda .knop-tekst { display: inline-flex; align-items: center; gap: 4px; padding-left: 0; }

.groep-reacties-eerder > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; }
.groep-reacties-eerder > summary::-webkit-details-marker { display: none; }
.groep-reacties-eerder[open] > summary { display: none; }

.groep-album { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .groep-album { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.groep-album a { display: grid; gap: 4px; color: inherit; text-decoration: none; min-width: 0; }
.groep-album img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-s); background: var(--zand); }
.groep-album .klein { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.groep-feiten { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 14px 0 0; }
.groep-feiten div { padding: 8px 10px; background: var(--zand); border-radius: var(--radius-s); }
.groep-feiten dt { color: var(--tekst-zacht); }
.groep-feiten dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.groep-leden-zoek { display: flex; width: 100%; margin: 4px 0 8px; }
.groep-ledenlijst li[hidden] { display: none; }
.groep-tips { border-left: 4px solid var(--zon); }
.groep-tips ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.groep-omslagen { border: 0; padding: 0; margin: 0; min-width: 0; }
.groep-omslagen-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .groep-omslagen-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.groep-omslag-keus { position: relative; display: grid; gap: 4px; padding: 6px; border: 2px solid var(--rand); border-radius: var(--radius-s); cursor: pointer;
  font-weight: 400; font-size: .85rem; }
.groep-omslag-keus input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.groep-omslag-keus img { width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; border-radius: 4px; }
.groep-omslag-keus:has(input:checked) { border-color: var(--zee); background: var(--zee-licht); }
.groep-omslag-keus:has(input:focus-visible) { outline: 3px solid var(--zee-donker); outline-offset: 2px; }

.groep-uitnodig-dlg { max-width: min(460px, calc(100vw - 32px)); }
.groep-deel input[type="text"] { width: 100%; min-height: 44px; }
.groep-deel[hidden] { display: none; }
.groep-deel-knoppen { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.knop.groep-whatsapp { background: #1f7a45; border-color: #1f7a45; color: #fff; }
.knop.groep-whatsapp:hover { background: #17603a; border-color: #17603a; color: #fff; }
.groep-qr { margin: 6px 0 0; display: grid; justify-items: center; gap: 6px; text-align: center; }
.groep-qr canvas { width: 200px; height: 200px; image-rendering: pixelated; border-radius: 8px; background: #fff; }
.groep-meld-keus { display: grid; gap: 8px; }
.groep-meld-keus .knop, .groep-meld-keus .knop-tekst { width: 100%; }
.groep-meer-info { display: inline-flex; align-items: center; gap: 4px; color: var(--dijk); text-decoration: none; }

.groep-kop { overflow: visible; }
.groep-kop > .groep-omslag { border-radius: var(--radius) var(--radius) 0 0; }
.groep-acties, .reactie-acties { position: relative; }
.groep-acties > .groep-meer, .reactie-acties > .groep-meer { position: static; }
.groep-acties .groep-meer-menu, .reactie-acties .groep-meer-menu { left: auto; right: 0; max-width: calc(100vw - 32px); }
.groep-acties { position: relative; }
.groep-emoji-knop { display: inline-flex; align-items: center; }
.groep-emoji-knop > .knop { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.groep-emoji-knop .groep-emoji-kies summary { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-width: 0; padding-left: 10px; padding-right: 12px; min-width: 44px; }
.groep-emoji-knop .groep-emoji-kies { position: static; }
.groep-emoji-menu { left: 0; right: auto; max-width: calc(100vw - 32px); flex-wrap: wrap; border-radius: 22px; }
.groep-emoji-knop .tel:empty { display: none; }
.groep-prik-gekozen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 6px 0; }
@media (max-width: 640px) {
  .groep-tabs { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); padding-right: 32px; }
  .groep-tabs a { padding: 8px 12px; }
}

@media print {
  .groep-knoppen, .groep-plaats, .groep-acties, .groep-reageer, .groep-beheer, .groep-lid-menu { display: none; }
}

.groep-gedeeld { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 12px; padding: 12px; border: 1px solid var(--rand); border-left: 4px solid var(--zee); border-radius: var(--radius-s); background: var(--zand); color: inherit; text-decoration: none; }
.groep-gedeeld:hover strong, .groep-gedeeld:focus-visible strong { text-decoration: underline; }
.groep-gedeeld img { flex: none; width: 96px; height: 72px; object-fit: cover; border-radius: 6px; }
.groep-gedeeld > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.groep-gedeeld strong { overflow-wrap: anywhere; }
.groep-gedeeld .groep-soort-label { margin: 0; }
.groep-gedeeld-weg { border-left-color: var(--rand-veld); color: var(--tekst-zacht); }
@media (max-width: 420px) { .groep-gedeeld img { width: 72px; height: 54px; } }

.groep-fotos { display: grid; gap: 4px; margin: 8px 0 4px; border-radius: var(--radius-s); overflow: hidden; }
.groep-fotos .groep-bericht-foto { margin: 0; min-width: 0; }
.groep-fotos-2 { grid-template-columns: 1fr 1fr; aspect-ratio: 2 / 1; }
.groep-fotos-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 3 / 2; }
.groep-fotos-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 4 / 3; }
.groep-fotos-2, .groep-fotos-3, .groep-fotos-4 { max-height: 460px; }
.groep-fotos-3 .groep-bericht-foto:first-child { grid-row: span 2; }
.groep-fotos-2 .groep-bericht-foto, .groep-fotos-3 .groep-bericht-foto, .groep-fotos-4 .groep-bericht-foto { min-height: 0; overflow: hidden; }
.groep-fotos-2 img, .groep-fotos-3 img, .groep-fotos-4 img { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; }
a[data-lightbox] { cursor: zoom-in; }
.groep-foto-duimen { display: inline-flex; gap: 6px; flex-wrap: wrap; }

.groep-link { display: flex; gap: 12px; align-items: stretch; margin: 10px 0 4px; border: 1px solid var(--rand); border-radius: var(--radius-s);
  background: var(--zand); color: var(--tekst); text-decoration: none; overflow: hidden; min-width: 0; }
.groep-link:hover, .groep-link:focus-visible { border-color: var(--zee); }
.groep-link img { flex: none; width: 112px; min-height: 84px; object-fit: cover; background: var(--zee-licht); }
.groep-link-in { display: grid; align-content: center; gap: 2px; padding: 10px 12px; min-width: 0; }
.groep-link img + .groep-link-in { padding-left: 0; }
.groep-link-site { display: flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--tekst-zacht); overflow-wrap: anywhere; }
.groep-link-site .ic { width: 13px; height: 13px; flex: none; }
.groep-link strong { line-height: 1.3; overflow-wrap: anywhere; }
.groep-link-tekst { font-size: .88rem; color: var(--tekst-zacht); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.groep-bij { margin: 6px 0 0; }
.groep-bij a { display: inline-flex; align-items: center; gap: 6px; color: var(--zee); }
.groep-bij .ic { width: 15px; height: 15px; flex: none; }
.groep-citaat { display: block; margin: 4px 0 6px; padding: 6px 10px; border-left: 3px solid var(--dijk); background: var(--wit);
  border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: .88rem; color: var(--tekst-zacht); text-decoration: none; overflow-wrap: anywhere; }
.groep-citaat strong { color: var(--tekst); }
.groep-citaat-voorbeeld { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 2px 2px 2px 10px; border-left: 3px solid var(--dijk);
  background: var(--wit); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: .88rem; color: var(--tekst-zacht); }
.groep-citaat-voorbeeld[hidden] { display: none; }
.groep-citaat-voorbeeld span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.groep-plaats-bij { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; }
.groep-plaats-bij > span { flex: 1; min-width: 12rem; }
.groep-act-album { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rand); }
.groep-act-album p { margin: 6px 0 0; }
.groep-act-duimen { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.groep-act-duimen a { position: relative; display: block; }
.groep-act-duimen img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-s); background: var(--zee-licht); }
.groep-act-meer-fotos { position: absolute; inset: 0; display: grid; place-items: center; border-radius: var(--radius-s); background: rgba(8, 49, 60, .62);
  color: var(--wit); font-weight: 700; font-size: 1.1rem; }

.groep-streep { display: flex; align-items: center; gap: 12px; margin: 6px 0 20px; color: var(--rood); font-size: .85rem; font-weight: 700; scroll-margin-top: 90px; }
.groep-streep::before, .groep-streep::after { content: ''; flex: 1; height: 2px; background: currentColor; opacity: .35; border-radius: 2px; }

.groep-kalender { padding: 14px; }
.groep-kal-kop { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.groep-kal-kop .blokkop { margin: 0; text-align: center; flex: 1; scroll-margin-top: 90px; }
.groep-kal-kop .knop { min-width: 44px; min-height: 44px; justify-content: center; padding: 0; }
.groep-kal-rij { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; margin-bottom: 3px; }
.groep-kal-dagnamen span { text-align: center; font-size: .78rem; font-weight: 700; color: var(--tekst-zacht); text-transform: uppercase; }
.groep-kal-dag { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 44px; padding: 4px 2px;
  border-radius: var(--radius-s); background: var(--zand); color: var(--tekst); text-decoration: none; min-width: 0; overflow: hidden; }
.groep-kal-dag.is-leeg { background: none; }
.groep-kal-dag.heeft { background: var(--zee-licht); font-weight: 700; }
a.groep-kal-dag:hover, a.groep-kal-dag:focus-visible { outline: 2px solid var(--zee); outline-offset: -2px; }
.groep-kal-dag.is-vandaag .groep-kal-nr { background: var(--zee-donker); color: var(--wit); border-radius: 999px; min-width: 24px; text-align: center; }
.groep-kal-nr { font-size: .85rem; line-height: 24px; padding: 0 4px; }
.groep-kal-item { display: none; }
.groep-kal-stip { width: 7px; height: 7px; border-radius: 50%; background: var(--dijk); }
.groep-kal-lijst { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.groep-kal-lijst li { scroll-margin-top: 90px; }
.groep-kal-lijst a { display: block; padding: 8px 10px; min-height: 44px; box-sizing: border-box; border-radius: var(--radius-s); background: var(--zand); color: var(--tekst); text-decoration: none; }
.groep-kal-lijst a:hover, .groep-kal-lijst a:focus-visible { background: var(--zee-licht); }
.groep-kal-lijst .is-geweest a { color: var(--tekst-zacht); }
.groep-kal-lijst li:target a { outline: 2px solid var(--zee); }
@media (min-width: 720px) {
  .groep-kal-dag { align-items: stretch; min-height: 84px; padding: 4px 5px; }
  .groep-kal-nr { align-self: flex-end; }
  .groep-kal-item { display: block; font-size: .74rem; font-weight: 600; line-height: 1.25; padding: 1px 4px; border-radius: 4px; background: var(--wit);
    color: var(--zee-donker); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .groep-kal-item.is-geweest { color: var(--tekst-zacht); }
  .groep-kal-stip { display: none; }
}


@keyframes groep-binnen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes groep-pop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
.is-binnen { animation: groep-binnen .45s ease-out; }
.is-pop { animation: groep-pop .32s ease-out; }
@media (prefers-reduced-motion: reduce) { .is-binnen, .is-pop { animation: none; } }

.groep-actief { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 8px 0 0; }
.groep-actief-gezichten { display: inline-flex; padding-left: 6px; }
.groep-actief-gezichten .avatar { margin-left: -6px; box-shadow: 0 0 0 2px var(--wit); }
.groep-actief .klein { margin: 0; }

.groep-sinds { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--radius-s);
  background: var(--zee-licht); color: var(--zee-donker); font-size: .92rem; }
.groep-sinds > span { flex: 1 1 14rem; }
.groep-sinds .ic { width: 16px; height: 16px; flex: none; }
.groep-sinds .knop-tekst { font-size: .9rem; }
.groep-los { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.groep-los .ic { width: 15px; height: 15px; flex: none; }

.groep-gepland { padding: 12px 14px; }
.groep-gepland h2 { margin: 0 0 6px; font-size: 1rem; }
.groep-gepland ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.groep-gepland li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 6px 0; border-top: 1px solid var(--rand); }
.groep-gepland li:first-child { border-top: 0; }
.groep-gepland li > span { min-width: 0; overflow-wrap: anywhere; }

.groep-later { margin-top: 8px; }
.groep-later > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--zee); list-style: none; }
.groep-later > summary::-webkit-details-marker { display: none; }
.groep-later > summary .ic { width: 16px; height: 16px; }
.groep-later label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; max-width: 22rem; }
.groep-later .hint { margin: 6px 0 0; }
.groep-iedereen-tip { margin: 6px 0 0; }

.groep-emoji-klein .knop-klein { padding-left: 10px; padding-right: 10px; }
.groep-emoji-klein .groep-emoji-chip { padding: 2px 8px; font-size: .9rem; }
.groep-emoji-klein .groep-emoji-knop .groep-emoji-kies summary { padding-left: 6px; padding-right: 8px; }

.groep-act-plek { flex-wrap: wrap; }
.groep-route { margin-left: 4px; }

.groep-plaats.is-sleep { outline: 3px dashed var(--zee); outline-offset: -6px; background: var(--zee-licht); }

.reactie, .groep-bericht { transition: transform .18s ease-out; }
.is-veeg-klaar { box-shadow: -4px 0 0 var(--dijk); }
@media (prefers-reduced-motion: reduce) { .reactie, .groep-bericht { transition: none; } }

.groep10-delen { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.groep10-delen .chip { gap: 6px; text-decoration: none; }
.groep10-nieuw { margin: 0 0 24px; }
.groep10-nieuw-kop { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 1.15rem; }
.groep10-nieuw-kop .ic { flex: none; color: var(--zee); }
.groep10-nieuw-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.groep10-nieuw-lijst li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.groep10-nieuw-lijst li > .ic { flex: none; margin-top: 3px; color: var(--zee); }
.groep10-nieuw-knoppen { margin: 12px 0 0; }
.groep10-nieuw [hidden] { display: none !important; }
@media (max-width: 480px) {
  .groep-tabs { gap: 0; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
  .groep-tabs a { flex: 1 1 auto; justify-content: center; gap: 4px; padding: 8px 6px; font-size: .92rem; }
  .groep-tabs .groep-tab-n, .groep-tabs .badge { padding: 0 5px; font-size: .75rem; }
  .groep10-nieuw-lijst { gap: 8px; font-size: .95rem; }
}
@media (max-width: 380px) {
  .groep-tabs a { padding: 8px 3px; font-size: .86rem; }
}
.groep10-aantal { font-size: .78rem; font-weight: 600; color: var(--tekst-zacht); }
.groep10-delen .chip[aria-current] .groep10-aantal { color: inherit; opacity: .85; }
.groep10-nieuw-naar { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }
.groep10-nieuw-lijst li > span { min-width: 0; }
@media (max-width: 480px) {
  .groep10-delen { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .groep10-delen::-webkit-scrollbar { display: none; }
  .groep10-delen .chip { flex: none; }
}
@media (max-width: 480px) {
  .groep10-delen { gap: 6px; }
  .groep10-delen .chip { padding: 6px 8px; font-size: .88rem; }
}
