
.emoji-balk { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; position: relative; }
.emoji-chip {
  display: inline-flex; align-items: center; gap: 4px; min-height: 36px; min-width: 44px; padding: 4px 10px;
  border: 1px solid var(--rand); border-radius: 999px; background: var(--wit); color: var(--tekst);
  font: inherit; font-size: .92rem; line-height: 1; cursor: pointer; transition: border-color .15s, background-color .15s, transform .1s;
}
.emoji-chip > span[aria-hidden] { font-size: 1.1rem; }
.emoji-chip:hover:not(:disabled) { border-color: var(--zee); }
.emoji-chip:active:not(:disabled) { transform: scale(.94); }
.emoji-chip[aria-pressed="true"] { background: var(--zee-licht); border-color: var(--zee); font-weight: 700; }
.emoji-chip:disabled { cursor: default; opacity: 1; }
.emoji-n:empty { display: none; }
.emoji-kies { position: relative; display: inline-flex; }
.emoji-open > span[aria-hidden] { font-size: 1.1rem; }
.reactie-acties .emoji-balk { margin-right: 4px; }
.reactie-acties .emoji-chip { min-height: 32px; padding: 2px 8px; font-size: .85rem; }
.reactie-acties .emoji-open { min-height: 32px; padding: 2px 8px; }
.emoji-menu {
  position: absolute; z-index: 30; bottom: calc(100% + 6px); left: 0; display: flex; gap: 2px; padding: 6px;
  background: var(--wit); border: 1px solid var(--rand); border-radius: 999px; box-shadow: 0 6px 24px rgba(8, 49, 60, .18);
}
.emoji-menu[hidden] { display: none; }
.emoji-menu button {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 1.45rem; line-height: 1;
  cursor: pointer; transition: transform .12s, background-color .12s;
}
.emoji-menu button:hover, .emoji-menu button:focus-visible { background: var(--zee-licht); transform: translateY(-3px) scale(1.12); }
.emoji-menu button[aria-checked="true"] { background: var(--zee-licht); box-shadow: inset 0 0 0 2px var(--zee); }
@media (max-width: 340px) { .emoji-menu button { width: 40px; height: 40px; font-size: 1.3rem; } }
@media (prefers-reduced-motion: reduce) {
  .emoji-chip, .emoji-menu button { transition: none; }
  .emoji-menu button:hover, .emoji-menu button:focus-visible { transform: none; }
}

.noem { color: var(--zee); font-weight: 700; }
.reageer { position: relative; }
.noem-lijst {
  list-style: none; margin: 4px 0 8px; padding: 4px; max-width: 320px; background: var(--wit); border: 1px solid var(--rand);
  border-radius: var(--radius-s); box-shadow: var(--schaduw);
}
.noem-lijst li { padding: 10px 12px; border-radius: 6px; cursor: pointer; font-weight: 600; min-height: 44px; box-sizing: border-box; }
.noem-lijst li[aria-selected="true"], .noem-lijst li:hover { background: var(--zee-licht); }

.delen-keuze, .formulier .delen-keuze { border: 1px solid var(--rand); border-radius: var(--radius); padding: 14px 16px 16px; margin: 18px 0; background: var(--wit); min-width: 0; }
.delen-keuze legend { font-weight: 700; padding: 0 6px; margin-bottom: 4px; }
.delen-keuze > .hint { margin-bottom: 12px; }
.delen-keuze .melding { margin: 0 0 12px; }
.delen-opties { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.delen-optie { position: relative; display: block; cursor: pointer; }
.delen-optie input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.delen-optie-in {
  display: flex; align-items: flex-start; gap: 10px; min-height: 56px; padding: 10px 12px; border: 1.5px solid var(--rand);
  border-radius: var(--radius-s); background: var(--zand); transition: border-color .15s, background-color .15s;
}
.delen-optie-in .ic { flex: none; margin-top: 2px; color: var(--zee); }
.delen-optie-in strong { display: block; }
.delen-optie-in .klein { display: block; color: var(--tekst-zacht); font-size: .82rem; }
.delen-optie-in::after {
  content: ''; flex: none; width: 20px; height: 20px; margin-left: auto; border: 2px solid var(--rand-veld); border-radius: 5px;
  background: var(--wit) center / 14px no-repeat;
}
.delen-optie input:checked + .delen-optie-in { border-color: var(--zee); background: var(--zee-licht); }
.delen-optie input:checked + .delen-optie-in::after {
  border-color: var(--zee); background-color: var(--zee);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.delen-optie input:focus-visible + .delen-optie-in { outline: 3px solid var(--zon); outline-offset: 2px; }
.delen-groep { margin-top: 12px; }

.vink-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.keuze-chip { position: relative; display: inline-flex; cursor: pointer; }
.keuze-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.keuze-chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--rand);
  border-radius: 999px; background: var(--wit); font-size: .92rem; transition: background-color .15s, border-color .15s;
}
.keuze-chip input:checked + span { background: var(--zee); border-color: var(--zee); color: #ffffff; font-weight: 600; }
.keuze-chip input:checked + span::before { content: '✓'; margin-right: 6px; }
.keuze-chip input:focus-visible + span { outline: 3px solid var(--zon); outline-offset: 2px; }
html.lg-avond .keuze-chip input:checked + span { background: #1f5566; border-color: #1f5566; }

.schakel { display: flex; align-items: flex-start; gap: 12px; padding: 14px; margin-bottom: 14px; border: 1.5px solid var(--rand); border-radius: var(--radius-s); cursor: pointer; background: var(--zand); }
.schakel input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--zee); }
.schakel .klein { display: block; color: var(--tekst-zacht); font-weight: 400; margin-top: 2px; }
.schakel:has(input:checked) { border-color: var(--zee); background: var(--zee-licht); }
[data-profiel-delen] fieldset { margin: 14px 0; border: 0; padding: 0; }
[data-profiel-delen] legend { font-weight: 700; margin-bottom: 8px; }

.bedankt .bedankt-lijst { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.bedankt .bedankt-lijst li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--dijk-licht); }
.bedankt q { font-style: italic; color: var(--tekst); }
.bedank-wie { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 10px 0; }

.buren-wrap { max-width: 1000px; }
.buren-deel { margin-bottom: 34px; }
.buren-lijst { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.buur-kaart { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schaduw); }
.buur-kaart > .knop { align-self: flex-start; }
.buur-link { display: flex; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.buur-link:hover .buur-naam, .buur-link:focus-visible .buur-naam { text-decoration: underline; }
.buur-in { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.buur-naam { font-weight: 700; font-size: 1.02rem; overflow-wrap: anywhere; }
.buur-over { font-size: .9rem; color: var(--tekst-zacht); overflow-wrap: anywhere; }
.buur-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--zee-licht);
  color: var(--zee-donker); font-size: .8rem; font-weight: 600; text-decoration: none; max-width: 100%; overflow-wrap: anywhere;
  border: 1px solid var(--rand);
}
a.tag { min-height: 32px; }
a.tag:hover { box-shadow: inset 0 0 0 1.5px var(--zee); }
.tag-helpen { background: var(--dijk-licht); color: var(--dijk); }
.tag-samen { background: #fbe7c2; color: #6b4a00; }
html.lg-avond .tag-samen { background: #4a3a14; color: #f6e7c4; }
.label-nieuw { background: var(--zon); color: #3b2a00; }
.buren-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 0 0 16px; }
.buren-filter label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 600; flex: 1 1 160px; }
.buren-filter :is(select, input) { min-height: 44px; }
.maatje-lijst { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.maatje-kaart { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 14px; border-radius: var(--radius); background: var(--wit); border: 1px solid var(--rand); color: inherit; text-decoration: none; }
.maatje-kaart:hover strong { text-decoration: underline; }
.maatje-kaart .tag { align-self: flex-start; }
.buur-kop { display: flex; align-items: center; gap: 16px; margin: 6px 0 14px; }
.buur-kop h1 { margin: 0; overflow-wrap: anywhere; }
.buur-kop p { margin: 2px 0 0; }
.buur-over-mij { font-size: 1.05rem; }
.buur-acties { margin: 14px 0 18px; }
.buur-samen { margin: 0 0 18px; }
.buurprofiel .blokkop-klein { margin-top: 24px; }
.buur-feiten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.buur-feiten li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--wit); border: 1px solid var(--rand); }
.buur-feiten .ic { color: var(--zee); flex: none; }
.buur-feiten strong { font-size: 1.15rem; }
.buur-bedankje { margin: 0 0 10px; padding: 12px 16px; border-left: 4px solid var(--dijk); background: var(--wit); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.buur-bedankje p { margin: 0 0 4px; font-style: italic; }
.buur-bedankje footer { font-size: .85rem; color: var(--tekst-zacht); }
.buur-berichten { list-style: none; margin: 0; padding: 0; }
.buur-berichten li { padding: 8px 0; border-bottom: 1px solid var(--rand); }
.buur-berichten a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.buur-voet { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--rand); }
.blok-lijst { list-style: none; padding: 0; margin: 0; }
.blok-lijst li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rand); }

.startlijst { margin: 0 0 22px; border-color: var(--zon); }
.startlijst > .klein { margin: 0 0 8px; }
.start-balk { height: 8px; border-radius: 999px; background: var(--zee-licht); overflow: hidden; margin-bottom: 12px; }
.start-balk span { display: block; height: 100%; width: var(--deel, 0%); background: var(--dijk); border-radius: inherit; }
.start-punten { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; }
.start-punten li { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.start-punten li::before { content: ''; width: 18px; height: 18px; flex: none; border: 2px solid var(--rand-veld); border-radius: 50%; }
.start-punten li.is-klaar::before { display: none; }
.start-punten li.is-klaar { color: var(--tekst-zacht); text-decoration: line-through; }
.start-punten li.is-klaar .ic { color: var(--dijk); }
.start-punten a { font-weight: 600; }

.podium { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.podium li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius-s); background: var(--wit); border: 1px solid var(--rand); }
.podium strong { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.podium-plaats { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--zee-licht); color: var(--zee-donker); font-weight: 800; }
.podium-1 .podium-plaats { background: var(--zon); color: #3b2a00; }

.maatjes .buren-lijst { margin-top: 10px; }

@media (max-width: 600px) {
  .delen-keuze, .formulier .delen-keuze { padding: 12px; }
  .buren-lijst, .maatje-lijst, .buur-feiten { grid-template-columns: 1fr; }
  .buur-kop { gap: 12px; }
  .buren-filter label { flex: 1 1 100%; }
  .buren-filter .knop { width: 100%; }
}
.pf-groot-knop { padding: 0; border: 0; background: none; border-radius: 50%; cursor: zoom-in; flex: none; }
.pf-groot-knop:focus-visible { outline: 3px solid var(--zon); outline-offset: 4px; }
.pf-groot { padding: 0; width: fit-content; max-width: calc(100vw - 32px); background: transparent; box-shadow: none; overflow: visible; }
.pf-groot img { display: block; width: min(320px, calc(100vw - 48px)); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); cursor: zoom-out; }
.pf-groot-dicht { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--wit); color: var(--tekst); font-size: 1.6rem; line-height: 1; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: pointer; }
.buur-foto-melden { margin: 0; }
.buur-foto-melden .knop-tekst { padding-left: 0; min-height: 36px; }
@media print {
  .emoji-kies, .noem-lijst, .bedank-form, .buur-acties, .buur-voet { display: none !important; }
}
