:root {
  --zee: #0b5e7a; --zee-donker: #08465b; --aqua: #0b8fb3; --aqua-licht: #e3f4f9; --schuim: #67e0f0;
  --tekst: #0f2733; --tekst2: #33505e; --grijs: #5b7280; --rand: #d8e3ea; --rand2: #b9cad4;
  --bg: #eef3f6; --kaart: #ffffff; --kaart2: #f5f9fb; --hover: #edf3f6;
  --rood: #d6304a; --rood-tint: #fde8ec; --groen: #13834f; --groen-tint: #dff5ea; --geel: #f2a900; --oranje: #b65c00; --oranje-tint: #fff1dc;
  --schaduw: 0 1px 2px rgba(15,39,51,.08), 0 1px 1px rgba(15,39,51,.04);
  --schaduw2: 0 8px 24px rgba(15,39,51,.16);
  --radius: 12px;
  --knop-tekst: #fff; --accent-kop: var(--zee);
  color-scheme: light;
}
/* Donker: alleen als gekozen (Instellingen), of bij Automatisch als het apparaat donker staat. Standaard licht. */
:root[data-thema="donker"] {
    --zee: #0d6f8f; --zee-donker: #0a3b4c; --aqua: #3cc1e0; --aqua-licht: #12313d; --schuim: #67e0f0;
    --tekst: #e6f0f4; --tekst2: #c2d3db; --grijs: #93a8b3; --rand: #26404c; --rand2: #355564;
    --bg: #0c1a21; --kaart: #13242c; --kaart2: #182d37; --hover: #1c3440;
    --rood: #ff7086; --rood-tint: #3d1a22; --groen: #5fd39a; --groen-tint: #143627; --oranje: #ffb85c; --oranje-tint: #3a2a12;
    --schaduw: 0 1px 2px rgba(0,0,0,.4); --schaduw2: 0 8px 24px rgba(0,0,0,.5);
    color-scheme: dark;
    --knop-tekst: #04202a; --accent-kop: var(--schuim);
}
@media (prefers-color-scheme: dark) {
  :root[data-thema="auto"] {
        --zee: #0d6f8f; --zee-donker: #0a3b4c; --aqua: #3cc1e0; --aqua-licht: #12313d; --schuim: #67e0f0;
      --tekst: #e6f0f4; --tekst2: #c2d3db; --grijs: #93a8b3; --rand: #26404c; --rand2: #355564;
      --bg: #0c1a21; --kaart: #13242c; --kaart2: #182d37; --hover: #1c3440;
      --rood: #ff7086; --rood-tint: #3d1a22; --groen: #5fd39a; --groen-tint: #143627; --oranje: #ffb85c; --oranje-tint: #3a2a12;
      --schaduw: 0 1px 2px rgba(0,0,0,.4); --schaduw2: 0 8px 24px rgba(0,0,0,.5);
      color-scheme: dark;
      --knop-tekst: #04202a; --accent-kop: var(--schuim);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tekst); font-size: 15px; line-height: 1.45;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--aqua); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
h1 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 .3rem; }
h2 { font-size: 1.1rem; margin: 0 0 .7rem; }
h3 { font-size: .95rem; margin: 0 0 .5rem; }
p { margin: 0 0 .7rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.klein { font-size: .8rem; color: var(--grijs); }
.inline { display: inline; margin: 0; }
.ico { width: 22px; height: 22px; flex: none; }

/* ── Kopbalk ── */
.kopbalk { background: var(--zee); color: #fff; position: sticky; top: 0; z-index: 1100; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.kop-in { max-width: 1180px; margin: 0 auto; padding: 0 16px; height: 58px; display: flex; align-items: center; gap: 14px; }
.merk { display: flex; align-items: center; gap: 10px; color: #fff; flex: none; }
.merk:hover { text-decoration: none; }
.logo { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 21c4 0 4-3 11-3s7 3 11 3' stroke='%2367e0f0' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M16 18V7l7 6' stroke='white' stroke-width='2.4' fill='none' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center/26px no-repeat; }
.merk-tekst { display: flex; flex-direction: column; line-height: 1.05; }
.merk-naam { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.slogan { font-size: .7rem; color: var(--schuim); font-weight: 600; letter-spacing: .01em; margin-top: 2px; }
.zoek { flex: 0 1 260px; display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border-radius: 20px; padding: 0 12px; height: 38px; }
.zoek .ico { width: 18px; height: 18px; opacity: .8; }
.zoek input[type=search] { background: none; border: none; color: #fff; width: 100%; font: inherit; outline: none; padding: 0; box-shadow: none; }
.zoek input::placeholder { color: rgba(255,255,255,.7); }
.zoek:focus-within { background: rgba(255,255,255,.24); }
.hoofdnav { display: flex; gap: 2px; margin-left: auto; }
.hoofdnav a { position: relative; color: rgba(255,255,255,.82); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 12px; border-radius: 8px; min-width: 64px; height: 50px; font-size: .7rem; gap: 2px; }
.hoofdnav a:hover { background: rgba(255,255,255,.1); text-decoration: none; color: #fff; }
.hoofdnav a.actief { color: #fff; box-shadow: inset 0 -3px 0 var(--schuim); border-radius: 8px 8px 0 0; }
.badge { position: absolute; top: 3px; right: 12px; background: var(--rood); color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.badge.inline { position: static; }
.mijn-menu { position: relative; flex: none; }
.mijn-menu summary, .post-menu summary { list-style: none; cursor: pointer; }
.mijn-menu summary::-webkit-details-marker, .post-menu summary::-webkit-details-marker { display: none; }
.mijn-menu summary .av { border: 2px solid rgba(255,255,255,.6); }
.menu-lijst { position: absolute; right: 0; top: calc(100% + 8px); background: var(--kaart); color: var(--tekst); border-radius: 10px; box-shadow: var(--schaduw2); min-width: 220px; padding: 6px; z-index: 40; border: 1px solid var(--rand); }
.menu-lijst a, .menu-lijst button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 6px; color: var(--tekst); background: none; border: none; font: inherit; cursor: pointer; }
.menu-lijst a:hover, .menu-lijst button:hover { background: var(--hover); text-decoration: none; }
.menu-lijst form { margin: 0; }
@media (max-width: 860px) {
  .zoek { display: none; }
  .hoofdnav { position: fixed; bottom: 0; left: 0; right: 0; background: var(--kaart); border-top: 1px solid var(--rand); justify-content: space-around; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); z-index: 1100; margin: 0; }
  .hoofdnav a { color: var(--grijs); min-width: 0; flex: 1; height: 52px; }
  .hoofdnav a:hover { background: var(--hover); color: var(--tekst); }
  .hoofdnav a.actief { color: var(--aqua); box-shadow: inset 0 3px 0 var(--aqua); border-radius: 0; }
  .badge { right: calc(50% - 22px); }
  .mijn-menu { margin-left: auto; }
  body { padding-bottom: 72px; }
}
@media (max-width: 380px) { .slogan { font-size: .62rem; } }

/* ── Layout ── */
.hoofd { width: 100%; max-width: 1180px; margin: 0 auto; padding: 20px 16px 40px; flex: 1; }
.kolommen { display: grid; grid-template-columns: 240px minmax(0, 600px) 300px; gap: 20px; justify-content: center; align-items: start; }
.kolommen > aside { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 14px; }
.kolommen.twee { grid-template-columns: minmax(0, 640px) 320px; }
@media (max-width: 1100px) { .kolommen { grid-template-columns: minmax(0, 600px) 300px; } .kolommen > .links { display: none; } }
@media (max-width: 860px) { .kolommen, .kolommen.twee { grid-template-columns: minmax(0, 1fr); } .kolommen > aside { position: static; } .kolommen > aside.rechts { order: 2; } }
.smal { max-width: 440px; margin: 20px auto; }
.midden { max-width: 680px; margin: 0 auto; }
.voet { text-align: center; color: var(--grijs); font-size: .78rem; padding: 18px 16px 26px; }
.flash { max-width: 680px; margin: 0 auto 14px; padding: 10px 14px; border-radius: 10px; background: var(--groen-tint); color: var(--tekst); border-left: 4px solid var(--groen); }
.flash.fout { background: var(--rood-tint); border-color: var(--rood); }
.flash.info { background: var(--aqua-licht); border-color: var(--aqua); }
.kop { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.kop p { margin: 0; color: var(--grijs); }

/* ── Kaarten, knoppen, formulieren ── */
.kaart { background: var(--kaart); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 16px; border: 1px solid var(--rand); }
.kaart + .kaart, .kaart + .post, .post + .post, .plaatsen + .post, .post + .meer { margin-top: 14px; }
.spots-raster > .kaart, .leden-raster > .kaart { margin-top: 0; }
.leeg { text-align: center; color: var(--grijs); padding: 32px 16px; }
.leeg h1 { color: var(--tekst); }
.knop, button { font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; border-radius: 8px; padding: 8px 16px; border: 1px solid var(--aqua); background: var(--aqua); color: var(--knop-tekst); display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.35; }
.knop:hover, button:hover { filter: brightness(1.07); text-decoration: none; }
.knop.tweede, button.tweede { background: var(--kaart2); color: var(--tekst); border-color: var(--rand2); }
.knop.tweede:hover, button.tweede:hover { background: var(--hover); filter: none; }
.knop.aan { background: var(--aqua-licht); color: var(--aqua); border-color: var(--aqua); }
button.gevaar { background: var(--kaart); color: var(--rood); border-color: var(--rood); }
button.link { background: none; border: none; color: var(--grijs); padding: 0; font-weight: 400; font-size: inherit; }
button.link:hover { text-decoration: underline; filter: none; }
.klein-knop { padding: 5px 12px; font-size: .82rem; }
.breed { width: 100%; }
.knoppen { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
label { font-weight: 600; font-size: .85rem; display: block; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=date], input[type=time], input[type=datetime-local], select, textarea {
  font: inherit; width: 100%; padding: 8px 11px; border-radius: 8px; border: 1px solid var(--rand2); background: var(--kaart); color: var(--tekst); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 22%, transparent); }
textarea { resize: vertical; }
.veld { margin-bottom: 13px; }
.veld .klein { display: block; margin-top: 3px; font-weight: 400; }
.rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 10px; }
.vinkje { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.vinkje input { margin: 0; width: auto; }
.tabs { display: flex; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs a { padding: 7px 14px; border-radius: 20px; color: var(--tekst2); font-weight: 600; font-size: .88rem; background: var(--kaart); border: 1px solid var(--rand); }
.tabs a.actief { background: var(--aqua); color: #fff; border-color: var(--aqua); }
.tabs a:hover { text-decoration: none; border-color: var(--aqua); }

/* ── Avatars ── */
.av { border-radius: 50%; object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: var(--zee); }
.av-s { width: 32px; height: 32px; font-size: .75rem; }
.av-m { width: 42px; height: 42px; font-size: .9rem; }
.av-l { width: 140px; height: 140px; font-size: 2.6rem; border: 4px solid var(--kaart); }
.av-k0 { background: #0b8fb3; } .av-k1 { background: #13834f; } .av-k2 { background: #b65c00; } .av-k3 { background: #7a3fb0; } .av-k4 { background: #c23a6b; } .av-k5 { background: #2b6cb0; }
.naam { font-weight: 700; color: var(--tekst); }

/* ── Plaatsen ── */
.plaats-kop { display: flex; gap: 10px; align-items: flex-start; }
.plaats-kop textarea { border-radius: 20px; background: var(--kaart2); border-color: var(--rand); min-height: 44px; padding: 10px 14px; }
.plaats-acties { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rand); }
.knop-licht { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px; color: var(--tekst2); font-weight: 600; font-size: .86rem; cursor: pointer; background: none; border: none; margin: 0; }
.knop-licht:hover { background: var(--hover); filter: none; }
.knop-licht .ico { width: 20px; height: 20px; color: var(--aqua); }
.sessie-knop[aria-pressed=true] { background: var(--aqua-licht); color: var(--aqua); }
.spot-kies { display: flex; align-items: center; gap: 4px; margin: 0; font-weight: 400; }
.spot-kies .ico { width: 20px; height: 20px; color: var(--rood); }
.spot-kies select { width: auto; max-width: 170px; padding: 6px 8px; font-size: .86rem; }
.plaats-knop { margin-left: auto; }
.sessie-velden { border: 1px solid var(--rand); border-radius: 10px; margin: 10px 0 0; padding: 10px 12px 2px; background: var(--kaart2); }
.sessie-velden legend { font-weight: 700; font-size: .85rem; padding: 0 6px; color: var(--aqua); }
.sessie-velden label { font-size: .78rem; }
.foto-voorbeeld { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.foto-voorbeeld img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; border: 1px solid var(--rand); }

/* ── Posts ── */
.post { padding: 14px 0 6px; }
.post > * { padding-left: 16px; padding-right: 16px; }
.post-kop { display: flex; gap: 10px; align-items: flex-start; }
.post-kop > div { flex: 1; line-height: 1.3; }
.tijd { font-size: .78rem; color: var(--grijs); }
.spot-link { font-weight: 600; }
.post-menu { position: relative; }
.post-menu summary { color: var(--grijs); padding: 4px; border-radius: 50%; display: flex; }
.post-menu summary:hover { background: var(--hover); }
.post-tekst { margin: 10px 0; overflow-wrap: anywhere; }
.fotos { display: grid; gap: 3px; margin: 10px 0 0; padding: 0 !important; }
.fotos-1 { grid-template-columns: 1fr; }
.fotos-2 { grid-template-columns: 1fr 1fr; }
.fotos-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.fotos-3 .foto:first-child { grid-row: span 2; }
.fotos-4 { grid-template-columns: 1fr 1fr; }
.foto { position: relative; display: block; background: var(--kaart2); overflow: hidden; }
.foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fotos-1 img { max-height: 620px; height: auto; object-fit: contain; background: #000; }
.fotos-2 .foto, .fotos-4 .foto { aspect-ratio: 1; }
.fotos-3 .foto { aspect-ratio: auto; min-height: 140px; }
.meer-fotos { position: absolute; inset: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 1.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.post-tellers { display: flex; justify-content: space-between; color: var(--grijs); font-size: .85rem; padding-top: 8px !important; padding-bottom: 6px !important; }
.post-tellers a { color: var(--grijs); }
.like-teller { display: inline-flex; align-items: center; gap: 4px; }
.like-teller .ico { width: 18px; height: 18px; color: #fff; background: var(--rood); border-radius: 50%; padding: 3px; fill: #fff; stroke: none; }
.post-acties { display: flex; border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); margin: 0 16px; padding: 2px 0 !important; }
.actie { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; border-radius: 6px; color: var(--grijs); font-weight: 600; font-size: .88rem; background: none; border: none; cursor: pointer; margin: 0; }
.actie:hover { background: var(--hover); filter: none; }
.actie .ico { width: 20px; height: 20px; }
.actie.like.aan { color: var(--rood); }
.actie.like.aan .ico { fill: var(--rood); }
.actie.like.pop .ico { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .actie.like.pop .ico { animation: none; } }
.reacties { padding-top: 8px !important; }
.reactie { display: flex; gap: 8px; margin-bottom: 8px; }
.reactie-bel { background: var(--kaart2); border-radius: 14px; padding: 7px 12px; font-size: .9rem; overflow-wrap: anywhere; max-width: calc(100% - 40px); }
.reactie-bel .klein { margin-top: 2px; }
.meer-reacties { display: block; margin-bottom: 8px; }
.reageer { display: flex; gap: 8px; align-items: center; margin: 4px 0 8px; }
.reageer input { border-radius: 18px; background: var(--kaart2); border-color: var(--rand); padding: 7px 14px; }
.meer { text-align: center; margin-top: 16px; }

/* ── Sessie ── */
.sessie-kaart { margin-top: 10px; background: linear-gradient(135deg, var(--zee), var(--aqua)); color: #fff; border-radius: 12px; padding: 12px 14px !important; margin-left: 16px; margin-right: 16px; }
.sessie-titel { display: flex; align-items: center; gap: 6px; font-weight: 700; flex-wrap: wrap; }
.sessie-titel .ico { width: 20px; height: 20px; }
.sterren { color: #ffd34d; letter-spacing: 1px; margin-left: auto; }
.leeg-ster { color: rgba(255,255,255,.3); }
.sessie-stats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 8px 0 0; }
.sessie-stats dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.sessie-stats dd { margin: 0; font-weight: 700; }

.routekaart { height: 240px; margin: 10px 16px 0; padding: 0 !important; border-radius: 10px; overflow: hidden; background: var(--kaart2); border: 1px solid var(--rand); z-index: 0; }
.import-tabel td { vertical-align: middle; }
.import-tabel tr.grijs { opacity: .55; }
.import-tabel select { padding: 4px 6px; font-size: .85rem; }
.nowrap { white-space: nowrap; }

/* ── Zijbalken ── */
.zijmenu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--tekst); font-weight: 600; }
.zijmenu a:hover { background: var(--hover); text-decoration: none; }
.zijmenu .ico { color: var(--aqua); }
.blok h2 { font-size: .95rem; display: flex; justify-content: space-between; align-items: center; }
.blok h2 a { font-size: .8rem; font-weight: 600; }
.mini-lijst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mini-lijst li { display: flex; gap: 10px; align-items: center; }
.mini-lijst li > div { flex: 1; min-width: 0; line-height: 1.3; }
.mini-lijst .titel { font-weight: 700; color: var(--tekst); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.datum-tegel { flex: none; width: 44px; text-align: center; border-radius: 8px; background: var(--aqua-licht); color: var(--aqua); line-height: 1.1; padding: 5px 0; }
.datum-tegel b { display: block; font-size: 1.1rem; }
.datum-tegel span { font-size: .66rem; text-transform: uppercase; font-weight: 700; }

/* ── Profiel ── */
.profiel-kop { padding: 0; overflow: hidden; }
.omslag { height: 200px; background: linear-gradient(135deg, var(--zee-donker), var(--aqua) 60%, var(--schuim)); background-size: cover; background-position: center; }
.profiel-info { display: flex; gap: 18px; align-items: flex-end; padding: 0 20px 16px; margin-top: -60px; flex-wrap: wrap; }
.profiel-info .av-l { width: 132px; height: 132px; }
.profiel-info > div { flex: 1; min-width: 200px; padding-top: 64px; }
.profiel-info h1 { margin: 0; }
.profiel-stats { display: flex; gap: 22px; margin-top: 6px; color: var(--grijs); font-size: .88rem; flex-wrap: wrap; }
.profiel-stats b { color: var(--tekst); font-size: 1rem; }
.feiten { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.feiten li { display: flex; gap: 8px; }
.feiten .ico { width: 18px; height: 18px; color: var(--grijs); margin-top: 1px; }
.stat-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat-raster div { background: var(--kaart2); border-radius: 10px; padding: 10px; }
.stat-raster b { display: block; font-size: 1.25rem; }
.stat-raster span { font-size: .75rem; color: var(--grijs); }

/* ── Leden ── */
.leden-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.lid-kaart { text-align: center; padding: 18px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lid-kaart .av { width: 76px; height: 76px; font-size: 1.5rem; }
.lid-kaart .naam { font-size: 1rem; }

/* ── Spots & wind ── */
.spots-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.spot-kaart { display: block; color: var(--tekst); padding: 0; overflow: hidden; }
.spot-kaart:hover { text-decoration: none; border-color: var(--aqua); }
.spot-kaart .spot-boven { padding: 14px 16px 10px; }
.spot-kaart h2 { margin: 0; font-size: 1.05rem; }
.spot-onder { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--kaart2); border-top: 1px solid var(--rand); font-size: .85rem; gap: 8px; }
.wind-nu { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.pijl { display: inline-block; width: 18px; height: 18px; transition: transform .3s; color: var(--aqua); }
.wind-kn { font-variant-numeric: tabular-nums; }
.w0 { color: var(--grijs); } .w1 { color: #13834f; } .w2 { color: #0b8fb3; } .w3 { color: #b65c00; } .w4 { color: var(--rood); }
.vandaag-chip { background: var(--groen-tint); color: var(--groen); border-radius: 12px; padding: 2px 9px; font-weight: 700; font-size: .78rem; }
.windgrafiek { overflow-x: auto; margin: 0 -4px; padding-bottom: 4px; }
.wind-dag { margin-bottom: 14px; }
.wind-dag h3 { font-size: .85rem; color: var(--grijs); text-transform: capitalize; }
.wind-uren { display: flex; gap: 3px; align-items: flex-end; min-width: max-content; }
.wind-uur { width: 36px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .7rem; color: var(--grijs); }
.wind-staaf { width: 26px; border-radius: 5px 5px 2px 2px; position: relative; min-height: 4px; }
.wind-uur b { font-size: .78rem; color: var(--tekst); font-variant-numeric: tabular-nums; }
.wind-uur .pijl { width: 14px; height: 14px; color: var(--tekst2); }
.legenda { display: flex; gap: 12px; flex-wrap: wrap; font-size: .75rem; color: var(--grijs); margin-top: 6px; }
.legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.ws0 { background: #9fb3bd; } .ws1 { background: #4cc38a; } .ws2 { background: #1fa8d6; } .ws3 { background: #f2a900; } .ws4 { background: #e2445c; }
.ingecheckt { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--kaart2); border: 1px solid var(--rand); border-radius: 20px; padding: 3px 10px 3px 3px; font-size: .85rem; color: var(--tekst); }
.chip:hover { text-decoration: none; border-color: var(--aqua); }

/* ── Events ── */
.event-kaart { display: flex; gap: 14px; align-items: flex-start; }
.event-kaart .datum-tegel { width: 58px; padding: 8px 0; }
.event-kaart .datum-tegel b { font-size: 1.45rem; }
.event-kaart h2 { margin: 0 0 2px; font-size: 1.05rem; }
.event-kaart h2 a { color: var(--tekst); }
.rsvp { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Berichten ── */
.chat { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; height: calc(100vh - 140px); min-height: 420px; }
.gesprekken { border-right: 1px solid var(--rand); overflow-y: auto; }
.gesprekken h2 { padding: 14px 16px 6px; margin: 0; }
.gesprek-item { display: flex; gap: 10px; padding: 10px 14px; color: var(--tekst); align-items: center; }
.gesprek-item:hover { background: var(--hover); text-decoration: none; }
.gesprek-item.actief { background: var(--aqua-licht); }
.gesprek-item > div { flex: 1; min-width: 0; line-height: 1.3; }
.gesprek-item .voorbeeld { font-size: .82rem; color: var(--grijs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gesprek-item.ongelezen .voorbeeld { color: var(--tekst); font-weight: 700; }
.stip { width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); flex: none; }
.draad { display: flex; flex-direction: column; min-height: 0; }
.draad-kop { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--rand); }
.draad-berichten { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.bel { max-width: 72%; padding: 8px 13px; border-radius: 18px; background: var(--kaart2); align-self: flex-start; overflow-wrap: anywhere; border: 1px solid var(--rand); }
.bel.mijn { align-self: flex-end; background: var(--aqua); color: var(--knop-tekst); border-color: var(--aqua); }
.bel.mijn a { color: inherit; text-decoration: underline; }
.bel-tijd { font-size: .7rem; color: var(--grijs); align-self: center; margin: 8px 0 2px; }
.draad-invoer { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--rand); }
.draad-invoer textarea { border-radius: 20px; min-height: 40px; max-height: 140px; padding: 9px 14px; resize: none; }
@media (max-width: 760px) {
  .chat { grid-template-columns: 1fr; height: calc(100vh - 150px); }
  .chat.open .gesprekken { display: none; }
  .chat:not(.open) .draad { display: none; }
}

/* ── Meldingen ── */
.notif { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--tekst); }
.notif:hover { background: var(--hover); text-decoration: none; }
.notif.nieuw { background: var(--aqua-licht); }
.notif > div { flex: 1; }

/* ── Welkom ── */
.welkom { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: center; min-height: calc(100vh - 200px); }
.welkom-tekst h1 { font-size: 2.6rem; color: var(--accent-kop); letter-spacing: -.03em; line-height: 1.05; }
.welkom-tekst .slogan-groot { font-size: 1.3rem; font-weight: 700; color: var(--aqua); margin-bottom: 16px; }
.welkom-tekst p { font-size: 1.05rem; color: var(--tekst2); }
.welkom-punten { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.welkom-punten li { display: flex; gap: 10px; align-items: center; color: var(--tekst2); }
.welkom-punten .ico { color: var(--aqua); }
.of { display: flex; align-items: center; gap: 10px; color: var(--grijs); font-size: .8rem; margin: 14px 0; }
.of::before, .of::after { content: ""; flex: 1; height: 1px; background: var(--rand); }
@media (max-width: 860px) { .welkom { grid-template-columns: 1fr; min-height: 0; gap: 20px; } .welkom-tekst h1 { font-size: 2rem; } }

/* ── Tabellen (beheer) ── */
.tabel-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; font-size: .75rem; text-transform: uppercase; color: var(--grijs); padding: 8px 10px; border-bottom: 1px solid var(--rand); }
td { padding: 9px 10px; border-bottom: 1px solid var(--rand); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
.status { font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 10px; background: var(--kaart2); border: 1px solid var(--rand); }
.status.wacht { background: var(--oranje-tint); color: var(--oranje); border-color: transparent; }
.status.actief { background: var(--groen-tint); color: var(--groen); border-color: transparent; }
.status.geblokkeerd { background: var(--rood-tint); color: var(--rood); border-color: transparent; }

/* ── Fotoviewer ── */
.viewer { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.viewer img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.viewer button { position: absolute; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 1.6rem; width: 48px; height: 48px; border-radius: 50%; padding: 0; }
.viewer .sluit { top: 16px; right: 16px; }
.viewer .vorige { left: 16px; } .viewer .volgende { right: 16px; }

/* ── Gear: marktplaats ── */
.gear-tabs { margin-bottom: 18px; }
.gear-tabs a { display: inline-flex; align-items: center; gap: 6px; }
.gear-tabs .ico { width: 18px; height: 18px; }
.filterbalk { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; padding: 12px; }
.filterbalk input[type=search] { flex: 1 1 220px; width: auto; }
.filterbalk select { width: auto; }
.adv-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.adv-raster > .kaart { margin-top: 0; }
.adv-kaart { padding: 0; overflow: hidden; color: var(--tekst); display: flex; flex-direction: column; }
.adv-kaart:hover { text-decoration: none; border-color: var(--aqua); }
.adv-kaart + .adv-kaart { margin-top: 0; }
.adv-foto { aspect-ratio: 4 / 3; background: var(--kaart2); display: flex; align-items: center; justify-content: center; position: relative; color: var(--rand2); }
.adv-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adv-foto .ico { width: 42px; height: 42px; }
.adv-status { position: absolute; top: 8px; left: 8px; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 12px; background: var(--oranje-tint); color: var(--oranje); display: inline-block; }
.adv-status.st-verkocht { background: var(--rood-tint); color: var(--rood); }
.adv-info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.adv-prijs { font-weight: 800; font-size: 1.05rem; }
.adv-prijs.groot { font-size: 1.6rem; color: var(--accent-kop); margin: 4px 0 12px; }
.adv-titel { font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.adv-hoofdfoto { display: block; background: #000; }
.adv-hoofdfoto img { width: 100%; max-height: 520px; object-fit: contain; display: block; }
.adv-duimen { display: flex; gap: 4px; padding: 4px; overflow-x: auto; background: var(--kaart2); }
.adv-duimen .foto { flex: none; width: 90px; height: 68px; border-radius: 6px; overflow: hidden; }
.adv-details { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 16px; margin: 0 0 14px; }
.adv-details dt { font-size: .75rem; color: var(--grijs); text-transform: uppercase; letter-spacing: .04em; }
.adv-details dd { margin: 0; font-weight: 600; }
.foto-beheer { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.foto-beheer label { font-weight: 400; display: flex; flex-direction: column; gap: 4px; }
.foto-beheer img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--rand); }

/* ── Gear: reviews ── */
.sterren-r { color: var(--geel); letter-spacing: 1px; white-space: nowrap; }
.sterren-r .leeg-ster { color: var(--rand2); }
.review-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.review-raster > .kaart { margin-top: 0; }
.review-mini { color: var(--tekst); display: flex; flex-direction: column; gap: 4px; min-height: 150px; }
.review-mini:hover { text-decoration: none; border-color: var(--aqua); }
.review-citaat { font-style: italic; color: var(--tekst2); font-size: .9rem; }
.gear-rij { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--tekst); }
.gear-rij:hover { background: var(--hover); text-decoration: none; }
.gear-rij + .gear-rij { border-top: 1px solid var(--rand); }
.gear-foto { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--kaart2); flex: none; display: flex; align-items: center; justify-content: center; color: var(--rand2); }
.gear-foto img { width: 100%; height: 100%; object-fit: cover; }
.gear-naam { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gear-score { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.score-blok { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.score-groot { display: flex; flex-direction: column; align-items: center; }
.score-groot b { font-size: 2.6rem; line-height: 1; }
.verdeling { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 3px; font-size: .82rem; }
.verdeling > div { display: grid; grid-template-columns: 26px 1fr 24px; gap: 8px; align-items: center; }
.balk { height: 8px; background: var(--kaart2); border-radius: 4px; overflow: hidden; border: 1px solid var(--rand); }
.balk span { display: block; height: 100%; background: var(--geel); }
.review { margin-top: 14px; }
.plusmin { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
@media (max-width: 560px) { .plusmin { grid-template-columns: 1fr; } }
.plusmin ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.plusmin .plus li::before { content: "+"; color: var(--groen); font-weight: 800; margin-right: 8px; }
.plusmin .min li::before { content: "–"; color: var(--rood); font-weight: 800; margin-right: 8px; }
.review-fotos { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.review-fotos .foto { width: 110px; height: 82px; border-radius: 8px; overflow: hidden; }
.ster-kiezer { border: none; padding: 0; margin-left: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.ster-kiezer legend { font-weight: 600; font-size: .85rem; margin-bottom: 2px; width: 100%; }
.ster-kiezer input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ster-kiezer label { font-size: 2rem; color: var(--rand2); cursor: pointer; padding: 0 2px; margin: 0; line-height: 1; }
.ster-kiezer input:checked ~ label, .ster-kiezer label:hover, .ster-kiezer label:hover ~ label { color: var(--geel); }
.ster-kiezer input:focus-visible + label { outline: 2px solid var(--aqua); border-radius: 4px; }

/* Profiel: zijkolom links */
.kolommen.profiel-kol { grid-template-columns: 340px minmax(0, 640px); }
@media (max-width: 860px) { .kolommen.profiel-kol { grid-template-columns: minmax(0, 1fr); } }

input[type=file] { max-width: 100%; min-width: 0; font-size: .85rem; }

/* ── Mijn gear en matches ── */
.gear-item + .gear-item { margin-top: 10px; }
.gear-item-kop { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.tag.beschikbaar { background: var(--groen-tint); color: var(--groen); border-color: transparent; }
.match { border-left: 4px solid var(--rand2); }
.match + .match { margin-top: 10px; }
.match-open { border-left-color: var(--aqua); }
.match-gekoppeld { border-left-color: var(--groen); }
.match-afgewezen { opacity: .6; }
.gear-lijst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .92rem; }
.gear-lijst li { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }

/* ── Reizen ── */
.reis-kaart { display: flex; gap: 14px; align-items: flex-start; color: var(--tekst); }
.reis-kaart:hover { text-decoration: none; border-color: var(--aqua); }
.reis-kaart h2 { margin: 0 0 2px; font-size: 1.05rem; }
.reis-ico { flex: none; width: 48px; height: 48px; border-radius: 10px; background: var(--aqua-licht); color: var(--aqua); display: flex; align-items: center; justify-content: center; }
.periode-kies { border: none; padding: 0; margin-left: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
.periode-kies legend { font-weight: 600; font-size: .85rem; margin-bottom: 6px; }
.periode-balk { display: grid; grid-template-columns: 90px 1fr 22px; gap: 8px; align-items: center; font-size: .82rem; margin-bottom: 4px; }
.periode-balk .balk span { background: var(--aqua); }
.aanvraag + .aanvraag { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rand); }
.offerte { border: 1px solid var(--rand); border-left: 4px solid var(--rand2); border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.offerte-ontvangen { border-left-color: var(--aqua); }
.offerte-geaccepteerd { border-left-color: var(--groen); background: var(--groen-tint); }
.offerte-afgewezen { opacity: .6; }
.offerte-prijs { font-weight: 800; font-size: 1.05rem; }
.aanmelding { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--rand); flex-wrap: wrap; }
.aanbieder-lijst { display: flex; flex-direction: column; gap: 6px; }
.aanbieder { align-items: flex-start; padding: 8px 10px; border: 1px solid var(--rand); border-radius: 8px; }

/* Thema-keuze in instellingen */
.thema-keuze { display: flex; gap: 8px; flex-wrap: wrap; }
.thema-optie { margin: 0; cursor: pointer; }
.thema-optie input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.thema-optie span { display: inline-block; padding: 9px 16px; border-radius: 20px; border: 1px solid var(--rand2); background: var(--kaart2); font-weight: 600; font-size: .9rem; }
.thema-optie input:checked + span { background: var(--aqua); color: var(--knop-tekst); border-color: var(--aqua); }
.thema-optie input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }

/* Help */
.hulp h2 { margin-top: 0; }
.hulp ul, .hulp ol { padding-left: 1.2rem; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.hulp h3 { margin-top: 14px; }
.hulp-uitgelicht { margin-bottom: 16px; }
.uitgelicht-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.uitgelicht { background: linear-gradient(135deg, var(--zee), var(--aqua)); color: #fff; border-radius: var(--radius); padding: 16px; }
.uitgelicht .ico { width: 28px; height: 28px; color: var(--schuim); }
.uitgelicht h3 { margin: 8px 0 4px; font-size: 1rem; }
.uitgelicht p { margin: 0; font-size: .9rem; opacity: .95; }
.hulp-inhoud ol { columns: 2; display: block; margin-top: 6px; }
.hulp-inhoud li { margin-bottom: 4px; }
@media (max-width: 560px) { .hulp-inhoud ol { columns: 1; } }
.hulp-match { border-left: 4px solid var(--aqua); }
.stappen li { margin-bottom: 4px; }
