

html[data-thema] {
  --thb-hout: url('/images/thema-hout.jpg'); --thb-kust: url('/images/thema-kust.jpg');
  --thb-plank: url('/images/thema-plank.jpg'); --thb-buurt: url('/images/thema-buurt.jpg');
  --thb-lijst-hoek: url('/images/thema-lijst-hoek.png');
  --thb-lijst-rand-h: url('/images/thema-lijst-rand-h.png'); --thb-lijst-rand-v: url('/images/thema-lijst-rand-v.png');
}
@supports (background-image: image-set(url('/images/thema-hout.webp') type('image/webp'))) {
  html[data-thema] {
    --thb-hout: image-set(url('/images/thema-hout.webp') type('image/webp'), url('/images/thema-hout.jpg') type('image/jpeg'));
    --thb-kust: image-set(url('/images/thema-kust.webp') type('image/webp'), url('/images/thema-kust.jpg') type('image/jpeg'));
    --thb-plank: image-set(url('/images/thema-plank.webp') type('image/webp'), url('/images/thema-plank.jpg') type('image/jpeg'));
    --thb-buurt: image-set(url('/images/thema-buurt.webp') type('image/webp'), url('/images/thema-buurt.jpg') type('image/jpeg'));
    --thb-lijst-hoek: image-set(url('/images/thema-lijst-hoek.webp') type('image/webp'), url('/images/thema-lijst-hoek.png') type('image/png'));
    --thb-lijst-rand-h: image-set(url('/images/thema-lijst-rand-h.webp') type('image/webp'), url('/images/thema-lijst-rand-h.png') type('image/png'));
    --thb-lijst-rand-v: image-set(url('/images/thema-lijst-rand-v.webp') type('image/webp'), url('/images/thema-lijst-rand-v.png') type('image/png'));
  }
}

html[data-thema="hout"] {
  --zee: #6b3a1b; --zee-donker: #3a2412; --zee-licht: #f3e6cf;
  --dijk: #6a4a22; --dijk-licht: #f6edd8;
  --zon: #e2b04a; --zon-donker: #7a4e00;
  --zand: #f3e6c8; --wit: #fbf6ea;
  --tekst: #2a1c12; --tekst-zacht: #5e4a36;
  --rand: #d7c4a2; --rand-veld: #7a6548;
  --radius: 16px;
  --schaduw: 0 1px 2px rgba(58, 36, 18, .08), 0 10px 24px rgba(58, 36, 18, .08);
}
html[data-thema="hout"] body { background: var(--zand); }

html[data-thema="kust"] {
  --zee: #0e6e86; --zee-donker: #0b3d4c; --zee-licht: #e5f4f8;
  --dijk: #2a6f57; --dijk-licht: #e5f4ee;  
  --zon: #f0b429; --zon-donker: #8a6200;
  --zand: #f4efe4; --wit: #ffffff;
  --tekst: #1c2c33; --tekst-zacht: #4e646c;
  --rand: #d5e3e8; --rand-veld: #6d8088;
  --radius: 20px;
  --schaduw: 0 8px 28px rgba(14, 74, 90, .08);
}
html[data-thema="kust"] body { background: var(--zand); }

html[data-thema] .plein-scene { display: none; }

html[data-thema="hout"] .kop {
  background:
    linear-gradient(180deg, rgba(28, 16, 8, .62), rgba(16, 8, 4, .78)),
    var(--thb-plank) center / cover;
  border-bottom: 4px solid #c6a15a;
  color: #f6ecd4;
}
html[data-thema="hout"] :is(.merk, .merk-naam, .kop-pad a, .kop-pad [aria-current], .kop-ik, .menuknop, .kop-bel, .th-zoek) { color: #f6ecd4; }
html[data-thema="hout"] .kop-leesgemak { color: #e2b04a; }
html[data-thema="hout"] .kop-leesgemak:hover,
html[data-thema="hout"] .kop-leesgemak[aria-expanded="true"] { background: rgba(255, 255, 255, .12); color: #f6ecd4; }
html[data-thema="hout"] .merk-onder, html[data-thema="hout"] .kop-pad a { color: #e7d3b0; }
html[data-thema="hout"] :is(.merk, .zb-merk) img {
  content: url('/images/thema-vikingschip.svg');
  border-radius: 50%; box-shadow: 0 0 0 2px #2a1a0e, 0 0 0 4px #e2b04a; background: #2a1a0e;
}
html[data-thema="hout"] :is(.kop-bel, .kop-ik, .menuknop, .th-zoek):hover { background: rgba(255, 255, 255, .1); }
html[data-thema="hout"] .kop .knop-geel { background: #e2b04a; border-color: #e2b04a; color: #2a1a0e; }
html[data-thema="hout"] .kop .knop-geel:hover { background: #efc56a; color: #2a1a0e; }
html[data-thema="hout"] .kop-login { background: transparent; color: #f6ecd4; }
html[data-thema="hout"] .kop-login:hover { background: rgba(255, 255, 255, .1); color: #fff; }

html[data-thema="kust"] .kop {
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(14, 110, 134, .12);
}
html[data-thema="kust"] .merk img { border-radius: 50%; box-shadow: 0 0 0 2px #d5eef4; }
html[data-thema="kust"] .kop .knop-geel { background: #0e6e86; border-color: #0e6e86; color: #fff; }
html[data-thema="kust"] .kop .knop-geel:hover { background: #0b5568; border-color: #0b5568; color: #fff; }
html[data-thema="kust"] .kop-login { background: transparent; color: #1c3a44; }
html[data-thema="kust"] .kop-login:hover { background: #e5f4f8; color: #0e6e86; }

html[data-thema] .kop-login { padding: 0 10px; border-radius: 999px; }
.th-zoek { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; }
.th-nav { display: none; }

html[data-thema="hout"] .zijbalk {
  background: linear-gradient(180deg, #4a301c 0%, #2c1c10 100%);
  border-right: 3px solid #c6a15a;
  color: #f6ecd4;
  --tekst: #f6ecd4; --tekst-zacht: #d7c4a2;
  --zee: #e2b04a; --zee-donker: #f6ecd4; --zee-licht: rgba(255, 255, 255, .1);
  --wit: #3a2618; --zand: rgba(255, 255, 255, .08);
  --zon: #e2b04a; --rand: rgba(226, 176, 74, .4);
}
html[data-thema="hout"] .zb-zoek input { color: #f6ecd4; }
html[data-thema="hout"] .zb-zoek input::placeholder { color: rgba(246, 236, 212, .65); }
html[data-thema="hout"] .zb-link[aria-current="page"] { color: #2a1a0e; }
html[data-thema="hout"] .zb-link[aria-current="page"] .zb-uitleg { color: #5c4030; }
html[data-thema="hout"] .zb-sluit { background: rgba(255, 255, 255, .1); color: #f6ecd4; }
html[data-thema="kust"] .zijbalk {
  background: linear-gradient(180deg, #ffffff 62%, #d7eef3 100%);
  border-right-color: #c5e0e8;
}

@media (min-width: 1100px) {
  html[data-thema] body { padding-left: 0 !important; }
  html[data-thema] .zijbalk {
    transform: translateX(-110%) !important;
    visibility: hidden !important;
    width: min(88vw, 330px) !important;
    z-index: 70;
  }
  html.zb-open[data-thema] .zijbalk { transform: none !important; visibility: visible !important; }
  html[data-thema] .kop .wrap { max-width: none; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  html[data-thema] .kop .merk { display: flex !important; flex: 0 0 auto; }
  html[data-thema] .merk-naam { overflow: visible; text-overflow: clip; max-width: none; }
  html[data-thema] body[data-th-home] .th-zoek { display: none; }
  html[data-thema] .kop-login { order: 2; }
  html[data-thema] .th-reg { order: 3; }
  html[data-thema] .kop-leesgemak { order: 4; }
  html[data-thema] .menuknop { display: none !important; }
  html[data-thema] :is(.kop-pad, .kop-zoek) { display: none !important; }
  html[data-thema] .merk-onder { display: none; }
  html[data-thema] .th-zoek { display: inline-flex; }
  html[data-thema] .th-nav {
    display: flex; align-items: center; gap: 0; flex: 1 1 auto; min-width: 0;
    margin-left: 8px; overflow-x: auto; scrollbar-width: none;
  }
  html[data-thema] .th-nav::-webkit-scrollbar { display: none; }
  html[data-thema] .th-nav.is-js { overflow: visible; }
  html[data-thema] .th-item > a,
  html[data-thema] .th-item-meer > summary {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
    padding: 6px 2px 6px 9px; border-radius: 999px; text-decoration: none;
    font-weight: 700; font-size: .86rem; white-space: nowrap; background: none; border: 0;
    font-family: inherit; cursor: pointer; color: var(--thn-tekst);
  }
  html[data-thema] .th-item-meer > summary { padding-right: 12px; }
  html[data-thema] .th-item > a .th-ic,
  html[data-thema] .th-item-meer > summary .th-ic { display: grid; place-items: center; color: var(--thn-ic); transition: transform .25s ease; }
  html[data-thema] .th-item > a .ic,
  html[data-thema] .th-item-meer > summary .ic { width: 19px; height: 19px; }
  html[data-thema] .th-item:hover { background: var(--thn-hover); }
  html[data-thema] .th-item:hover > a .th-ic,
  html[data-thema] .th-item-meer:hover > summary .th-ic { transform: translateY(-1px) rotate(-8deg); }
  html[data-thema] .th-item.is-aan > a,
  html[data-thema] .th-item-meer.is-aan > summary { color: var(--thn-actief); }
  html[data-thema] .th-item.is-aan::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--thn-actief);
  }
  html[data-thema] .th-nav > a.th-home {
    display: grid; place-items: center; flex: none; width: 38px; height: 38px; margin-right: 4px; border-radius: 50%;
    text-decoration: none; transition: transform .2s;
  }
  html[data-thema] .th-nav > a.th-home .ic { width: 19px; height: 19px; }
  html[data-thema] .th-nav > a.th-home:hover { transform: scale(1.08) rotate(-6deg); }
  html[data-thema="hout"] .th-nav > a.th-home { background: radial-gradient(circle at 40% 35%, #f0c76a, #c88f2c); color: #2a1a0e; box-shadow: 0 0 0 2px #2a1a0e, 0 0 0 3.5px #c6a15a; }
  html[data-thema="kust"] .th-nav > a.th-home { background: #0e6e86; color: #fff; box-shadow: 0 4px 10px rgba(14, 110, 134, .28); }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  html[data-thema] .th-item:not(.th-item-meer) > a .th-ic { width: 0; margin-right: -6px; }
  html[data-thema] .th-item:not(.th-item-meer) > a .th-ic > .ic { display: none; }
  html[data-thema] .th-item > a .th-live { right: auto; left: -6px; }
  html[data-thema] .th-item > a .th-teken-afval, html[data-thema] .th-item > a .th-tal { display: none; }
  html[data-thema] .th-item > a { padding-left: 10px; }
}
html[data-thema="hout"] .th-nav { --thn-tekst: #f6ecd4; --thn-ic: #e2b04a; --thn-actief: #f0c76a; --thn-hover: rgba(255, 236, 200, .12); }
html[data-thema="kust"] .th-nav { --thn-tekst: #1c3a44; --thn-ic: #0e6e86; --thn-actief: #0e6e86; --thn-hover: #e5f4f8; }
.th-nav svg.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.th-nav .th-weg { display: none !important; }

.th-item { position: relative; display: flex; align-items: center; flex: none; border-radius: 999px; transition: background-color .2s; }
.th-item details > summary { list-style: none; }
.th-item details > summary::-webkit-details-marker { display: none; }
.th-item:not(.th-item-meer) > details > summary {
  width: 24px; height: 40px; padding-right: 4px; display: grid; place-items: center; cursor: pointer; color: var(--thn-tekst); border-radius: 0 999px 999px 0;
}
.th-item:not(.th-item-meer) > details > summary::after,
.th-item-meer > summary::after {
  content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s; opacity: .8;
}
.th-item-meer > summary::after { margin-left: 2px; }
.th-item details[open] > summary::after,
.th-item-meer[open] > summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.th-item-meer > summary { list-style: none; }
.th-item-meer > summary::-webkit-details-marker { display: none; }

.th-sub {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 40; width: 340px; max-width: calc(100vw - 24px);
  max-height: min(78vh, 640px); overflow: auto; overscroll-behavior: contain;
  padding: 10px; border-radius: 18px; text-align: left;
}
.th-mega-twee { width: 560px; }
.th-item-meer .th-sub { left: auto; right: 0; }
.th-item details[open] > .th-sub, .th-item-meer[open] > .th-sub { animation: th-sub-in .2s cubic-bezier(.2, .8, .3, 1); }
@keyframes th-sub-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .th-item details[open] > .th-sub, .th-item-meer[open] > .th-sub { animation: none; } }
.th-mega-kop { display: flex; align-items: center; gap: 10px; margin: 2px 4px 8px; padding: 0 4px 10px; font-family: var(--font-kop); font-size: 1.08rem; font-weight: 650; }
.th-mega-kop .th-ic { width: 30px; height: 30px; }
.th-mega-kop .ic { width: 17px; height: 17px; }
.th-mega-lijst { display: grid; gap: 2px; }
.th-mega-twee .th-mega-lijst { grid-template-columns: 1fr 1fr; }
.th-sub a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: inherit; text-decoration: none; transition: background-color .15s; }
.th-sub .th-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; transition: transform .25s ease, background-color .2s, color .2s; }
.th-sub .ic { width: 19px; height: 19px; }
.th-mega-tekst { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.th-mega-tekst b { font-weight: 700; font-size: .93rem; }
.th-mega-tekst small { font-size: .78rem; font-weight: 500; opacity: .78; }
.th-sub a:hover .th-ic, .th-sub a:focus-visible .th-ic { transform: translateY(-2px) rotate(-8deg) scale(1.05); }
.th-sub a[aria-current="page"] b::after { content: ' ·  hier'; font-weight: 600; font-size: .74rem; opacity: .75; }

html[data-thema="hout"] .th-sub {
  color: #f6ecd4; border: 1px solid #c6a15a;
  background: linear-gradient(180deg, rgba(48, 30, 16, .95), rgba(28, 17, 8, .97)), var(--thb-plank) center / cover;
  box-shadow: inset 0 0 0 4px rgba(20, 10, 4, .5), inset 0 0 0 5px rgba(198, 161, 90, .35), 0 22px 44px rgba(20, 10, 4, .5);
}
html[data-thema="hout"] .th-mega-kop { color: #f0c76a; border-bottom: 1px solid rgba(198, 161, 90, .4); }
html[data-thema="hout"] .th-sub .th-ic {
  border-radius: 50%; color: #e2b04a;
  background: radial-gradient(circle at 50% 38%, #5a3a1e, #24160a); box-shadow: 0 0 0 1.5px #c6a15a, 0 2px 4px rgba(0, 0, 0, .4);
}
html[data-thema="hout"] .th-sub a:hover { background: rgba(255, 228, 180, .1); }
html[data-thema="hout"] .th-sub a:hover .th-ic,
html[data-thema="hout"] .th-sub a[aria-current="page"] .th-ic { background: radial-gradient(circle at 40% 35%, #f0c76a, #c88f2c); color: #2a1a0e; }
html[data-thema="hout"] .th-sub a[aria-current="page"] { background: rgba(226, 176, 74, .16); }
html[data-thema="hout"] .th-mega-tekst small { color: #d7c4a2; opacity: 1; }

html[data-thema="kust"] .th-sub {
  color: #1c2c33; background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #f4efe4 100%);
  border: 1px solid #d5e3e8; box-shadow: 0 24px 48px rgba(14, 74, 90, .18), 0 2px 6px rgba(14, 74, 90, .06);
}
html[data-thema="kust"] .th-mega-kop {
  color: #0b3d4c;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8'%3E%3Cpath d='M0 4c10-4 20-4 30 0s20 4 30 0 20-4 30 0 20 4 30 0' fill='none' stroke='%2373c2d4' stroke-width='2'/%3E%3C/svg%3E") left bottom / 120px 8px repeat-x;
}
html[data-thema="kust"] .th-sub .th-ic { border-radius: 12px; background: #e5f4f8; color: #0e6e86; }
html[data-thema="kust"] .th-sub a:hover { background: #f1f8fa; }
html[data-thema="kust"] .th-sub a:hover .th-ic,
html[data-thema="kust"] .th-sub a[aria-current="page"] .th-ic { background: #0e6e86; color: #fff; }
html[data-thema="kust"] .th-sub a[aria-current="page"] { background: #e5f4f8; }
html[data-thema="kust"] .th-mega-tekst small { color: #4e646c; opacity: 1; }

.th-item-meer .th-sub:has(.th-sub-extra:not([hidden])) { width: 560px; }
.th-item-meer .th-sub:has(.th-sub-extra:not([hidden])) .th-mega-lijst { grid-template-columns: 1fr 1fr; }
.th-item-meer .th-sub:has(.th-sub-extra:not([hidden])) .th-mega-kop { margin: 0 0 2px; padding: 4px 10px; gap: 8px; border: 0; background: none; font-family: inherit; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.th-item-meer .th-sub:has(.th-sub-extra:not([hidden])) .th-mega-kop .th-ic { width: 24px; height: 24px; background: none !important; box-shadow: none !important; }
.th-item-meer .th-sub:has(.th-sub-extra:not([hidden])) .th-mega-kop .ic { width: 16px; height: 16px; }
html[data-thema="kust"] .th-item-meer .th-sub:has(.th-sub-extra:not([hidden])) .th-mega-kop { color: #0e6e86; }
.th-sub-extra { display: grid; gap: 10px; padding: 2px 0 10px; margin-bottom: 10px; border-bottom: 1px solid rgba(120, 90, 50, .25); }
.th-sub-extra[hidden] { display: none; }
.th-sub-groep { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.th-sub a.th-sub-kop { grid-column: 1 / -1; padding: 4px 10px; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.th-sub a.th-sub-kop .th-ic { width: 24px; height: 24px; background: none !important; box-shadow: none !important; }
.th-sub a.th-sub-kop .ic { width: 16px; height: 16px; }
html[data-thema="hout"] .th-sub-extra { border-bottom-color: rgba(226, 176, 74, .35); }
html[data-thema="hout"] .th-sub a.th-sub-kop { color: #f0c76a; }
html[data-thema="kust"] .th-sub-extra { border-bottom-color: #d5e3e8; }
html[data-thema="kust"] .th-sub a.th-sub-kop { color: #0e6e86; }

.th-mega-met-kaart { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 12px; width: 610px; align-items: start; }
.th-mega-twee.th-mega-met-kaart { width: 830px; }
.th-mega-hoofd { min-width: 0; }
.th-mega-tekst .th-extra, .th-mega-tekst .th-nieuw {
  display: inline-block; width: fit-content; margin-top: 3px; padding: 1px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; line-height: 1.5;
}
.th-mega-tekst .th-nieuw { background: #c8402e; color: #fff; }
html[data-thema="hout"] .th-extra { background: rgba(226, 176, 74, .2); color: #f0c76a; }
html[data-thema="kust"] .th-extra { background: #e5f4f8; color: #0e6e86; }

.th-bakken { display: inline-flex; gap: 2px; margin-left: 7px; vertical-align: -3px; }
.th-bakken:empty { display: none; }
.th-bak { width: 14px; height: 16px; overflow: visible; }
.th-bak-lijf { fill: var(--bak, #8a7a6a); }
.th-bak-deksel { fill: var(--bak-d, #6a5a4a); transform-box: view-box; transform-origin: 3px 7px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.th-bak-streep { fill: none; stroke: rgba(0, 0, 0, .2); stroke-width: 1.4; stroke-linecap: round; }
.th-bak-gft { --bak: #4f9a3c; --bak-d: #33702a; }
.th-bak-rest { --bak: #74808a; --bak-d: #4b555c; }
.th-bak-plastic { --bak: #f08c21; --bak-d: #b8620c; }
.th-bak-papier { --bak: #2f74c0; --bak-d: #1d5290; }
a:hover .th-bak-deksel, a:focus-visible .th-bak-deksel { transform: rotate(-28deg); }
.th-bakken-groot { margin: 0; gap: 4px; }
.th-bakken-groot .th-bak { width: 26px; height: 30px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.zijbalk .th-bakken { margin-left: 6px; }

html[data-thema] .th-item > a .th-ic { position: relative; }
.th-live { position: absolute; top: -3px; right: -4px; width: 9px; height: 9px; border-radius: 50%; background: #3fbf5f; box-shadow: 0 0 0 2px var(--thn-ring, #2a1a0e); }
html[data-thema="kust"] .th-nav { --thn-ring: #fff; }
.th-teken-afval { position: absolute; right: -9px; bottom: -7px; line-height: 0; }
html[data-thema] .th-item > a .th-ic:has(.th-live, .th-beurt, .th-teken-afval:not([hidden]), .th-tal) { margin-right: 6px; }
.th-teken-afval .th-bak { width: 11px; height: 13px; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .6)); }
.th-tal {
  position: absolute; top: -8px; right: -12px; min-width: 17px; height: 17px; padding: 0 4px; box-sizing: border-box; border-radius: 999px;
  background: #d1462f; color: #fff; font-size: .62rem; font-weight: 800; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--thn-ring, #2a1a0e);
}

.th-mk { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px; border-radius: 14px; }
html[data-thema="hout"] .th-mk { background: linear-gradient(160deg, rgba(226, 176, 74, .18), rgba(226, 176, 74, .04)); border: 1px solid rgba(198, 161, 90, .4); }
html[data-thema="kust"] .th-mk { background: linear-gradient(160deg, #e5f4f8, #f7f2e7); border: 1px solid #d5e3e8; }
.th-mk-kop { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
html[data-thema="hout"] .th-mk-kop { color: #f0c76a; }
html[data-thema="kust"] .th-mk-kop { color: #0e6e86; }
.th-mk-puls { width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; }
.th-mk-puls.is-groen { background: #3fbf5f; }
.th-mk ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.th-sub .th-mk a { padding: 4px; margin: -4px; gap: 10px; border-radius: 10px; }
.th-mk-tekst { display: flex; flex-direction: column; min-width: 0; }
.th-mk-tekst b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .84rem; line-height: 1.25; }
.th-mk-tekst small { font-size: .72rem; opacity: .8; }
.th-mk-datum { flex: none; width: 40px; overflow: hidden; border-radius: 8px; text-align: center; font-size: 1.1rem; font-weight: 800; line-height: 1.15; padding-bottom: 3px; box-shadow: 0 2px 4px rgba(0, 0, 0, .18); }
.th-mk-datum b { display: block; padding: 2px 0; font-size: .58rem; letter-spacing: .08em; }
html[data-thema="hout"] .th-mk-datum { background: #fbf3e2; color: #3a2614; }
html[data-thema="hout"] .th-mk-datum b { background: #8a3a1e; color: #fff; }
html[data-thema="kust"] .th-mk-datum { background: #fff; color: #0e4a5a; }
html[data-thema="kust"] .th-mk-datum b { background: #0e6e86; color: #fff; }
.th-mk-weer { align-items: center; }
.th-mk-weer-ic svg { width: 38px; height: 38px; }
.th-mk-weer > b { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.th-mk-weer > span { display: flex; flex-direction: column; font-size: .8rem; font-weight: 700; line-height: 1.25; }
.th-mk-weer small { font-weight: 500; opacity: .8; }
.th-sub .th-mk a.th-mk-buien { display: grid; gap: 5px; margin: 0; padding: 8px 9px; border-radius: 10px; }
html[data-thema="hout"] .th-mk-buien { background: rgba(0, 0, 0, .18); }
html[data-thema="kust"] .th-mk-buien { background: #fff; }
.th-mk-buien-kop { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: .8rem; line-height: 1.2; }
.th-mk-buien-kop small { font-size: .68rem; font-weight: 600; opacity: .75; white-space: nowrap; }
.th-mk-buien-balk { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.th-mk-buien-balk i {
  position: relative; flex: 1; height: max(var(--h), 3px); border-radius: 3px 3px 1px 1px; background: #4aa3d8; transform-origin: bottom;
  transition: transform .2s, filter .2s;
}
.th-mk-buien-balk i[style*="--h:0%"] { background: currentColor; opacity: .22; }
.th-mk-buien-balk i:hover { transform: scaleY(1.12); filter: brightness(1.15); }
.th-mk-buien-as { display: flex; justify-content: space-between; font-size: .64rem; font-weight: 700; opacity: .7; line-height: 1; }
.th-mk-uren { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 0; list-style: none; }
.th-mk-uren li {
  display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; padding: 5px 0 4px; border-radius: 9px; line-height: 1.15;
  transition: transform .2s ease, background-color .2s;
}
.th-mk-uren li:hover { transform: translateY(-2px); }
html[data-thema="hout"] .th-mk-uren li:hover { background: rgba(255, 228, 180, .1); }
html[data-thema="kust"] .th-mk-uren li:hover { background: #fff; }
.th-mk-uren small { font-size: .64rem; font-weight: 700; opacity: .75; white-space: nowrap; }
.th-mk-uur-ic svg { width: 22px; height: 22px; }
.th-mk-uren b { font-size: .84rem; font-weight: 800; }
.th-mk-uur-kans { font-size: .6rem; font-weight: 800; color: #4aa3d8; }
html[data-thema="kust"] .th-mk-uur-kans { color: #1f6fa8; }

.th-mega-twee .th-mega-groepen { grid-template-columns: 1fr 1fr; gap: 6px 8px; }
.th-mega-groep { display: grid; align-content: start; gap: 0; min-width: 0; padding: 6px 4px 4px; border-radius: 14px; transition: background-color .2s; }
.th-mega-groepkop { display: flex; align-items: center; gap: 8px; margin: 0 8px 2px; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.th-mega-groepkop::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .3; }
html[data-thema="hout"] .th-mega-groepkop { color: #f0c76a; }
html[data-thema="kust"] .th-mega-groepkop { color: #0e6e86; }
html[data-thema="hout"] .th-mega-groep:hover { background: rgba(255, 228, 180, .05); }
html[data-thema="kust"] .th-mega-groep:hover { background: #f7fbfc; }
.th-mega-groep a { padding-top: 6px; padding-bottom: 6px; }
.th-mega-groep .th-ic { width: 34px; height: 34px; }
.th-mega-groep .ic { width: 18px; height: 18px; }
.th-mk-getij { align-items: center; font-size: .82rem; }
.th-mk-golf { position: relative; flex: none; width: 36px; height: 24px; overflow: hidden; border-radius: 7px; background: rgba(14, 110, 134, .18); }
.th-mk-golf i {
  position: absolute; left: 0; bottom: 3px; width: 72px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 4c4.5-4 4.5 4 9 0s4.5 4 9 0v6H0z' fill='%2373c2d4'/%3E%3C/svg%3E") 0 0 / 18px 10px repeat-x;
}
.th-mk-getij.is-hoog .th-mk-golf i { bottom: 11px; height: 13px; background-size: 18px 13px; }
.th-mk-getij.is-hoog .th-mk-golf::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 11px; background: #73c2d4; }
.th-mk-afval { align-items: center; padding: 8px !important; margin: 0 !important; border: 1.5px dashed currentColor; font-size: .8rem; font-weight: 700; line-height: 1.3; }
.th-mk-afval.is-gevuld { border-style: solid; }
html[data-thema="hout"] .th-mk-afval { border-color: rgba(198, 161, 90, .55); }
html[data-thema="kust"] .th-mk-afval { border-color: #b7dbe4; background: #fff; }
.th-mk-afval:not(.is-gevuld)::before { content: ''; flex: none; width: 26px; height: 30px; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Crect x='2.5' y='5.5' width='19' height='3' rx='1.2' fill='%238a8a8a'/%3E%3Cpath d='M4.3 10h15.4l-1.4 14.1a1.6 1.6 0 0 1-1.6 1.4H7.3a1.6 1.6 0 0 1-1.6-1.4z' fill='%23a5a5a5'/%3E%3C/svg%3E") center / contain no-repeat; }
.th-mk-zin { margin: 0; font-size: .82rem; line-height: 1.4; opacity: .9; }
.th-mk-spel li { display: grid; gap: 5px; }
.th-mk-tafel { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.th-mk-spelers { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.th-mk-speler { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; }
.th-mk-av { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .66rem; font-weight: 800; }
html[data-thema="hout"] .th-mk-av { background: radial-gradient(circle at 40% 35%, #f0c76a, #c88f2c); color: #2a1a0e; }
html[data-thema="kust"] .th-mk-av { background: #0e6e86; color: #fff; }
.th-sub .th-mk a.th-mk-meer { margin: 0; padding: 0; font-size: .8rem; font-weight: 800; }
.th-mk-meer::after { content: ' \203A'; display: inline-block; margin-left: 4px; transition: transform .2s; }
.th-mk-meer:hover::after { transform: translateX(3px); }
html[data-thema="hout"] .th-mk-meer { color: #f0c76a !important; }
html[data-thema="kust"] .th-mk-meer { color: #0e6e86 !important; }

@media (prefers-reduced-motion: no-preference) {
  .th-item details[open] .th-mega-lijst > *,
  .th-item-meer[open] .th-mega-lijst > * { animation: th-item-in .34s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 28ms + 40ms); }
  .th-item details[open] .th-mk { animation: th-kaart-in .45s .12s cubic-bezier(.2, .8, .3, 1) both; }
  .th-live, .th-mk-puls { animation: th-puls 2s ease-out infinite; }
  .th-teken-afval .th-bak-deksel { animation: th-deksel 5s ease-in-out infinite; }
  .th-mk-golf i { animation: th-golf-loop 2.2s linear infinite; }
  .th-mk-weer-ic svg { animation: th-dobber 3.5s ease-in-out infinite alternate; }
  .th-item details[open] .th-mk-buien-balk i { animation: th-bui-groei .5s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 45ms + 250ms); }
  .th-item details[open] .th-mk-uren li { animation: th-item-in .34s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 50ms + 300ms); }
  .th-bakken-groot .th-bak:nth-child(2) .th-bak-deksel { transition-delay: .06s; }
  .th-bakken-groot .th-bak:nth-child(3) .th-bak-deksel { transition-delay: .12s; }
  .th-tal { animation: th-plop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
  html[data-thema] .th-item::before {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--thn-actief);
    opacity: .55; transform: scaleX(0); transition: transform .25s ease;
  }
  html[data-thema] .th-item:hover::before { transform: scaleX(1); }
}
@keyframes th-item-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes th-kaart-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes th-puls { 0% { box-shadow: 0 0 0 2px var(--thn-ring, transparent), 0 0 0 0 rgba(63, 191, 95, .55); } 70%, 100% { box-shadow: 0 0 0 2px var(--thn-ring, transparent), 0 0 0 9px rgba(63, 191, 95, 0); } }
@keyframes th-deksel { 0%, 82%, 100% { transform: none; } 88% { transform: rotate(-32deg); } 94% { transform: rotate(-8deg); } }
@keyframes th-golf-loop { to { transform: translateX(-18px); } }
@keyframes th-dobber { from { transform: translateY(0) rotate(0); } to { transform: translateY(-3px) rotate(4deg); } }
@keyframes th-plop { from { transform: scale(0); } to { transform: scale(1); } }
.th-mk-puls { --thn-ring: transparent; }

html.lg-avond[data-thema] .th-mk { background: #0f2830; border-color: #2b4c55; }
html.lg-avond[data-thema] .th-mk-kop, html.lg-avond[data-thema] .th-mk-meer { color: #f2c76b !important; }
html.lg-avond[data-thema] .th-extra { background: #1c434d; color: #f2c76b; }
html.lg-avond[data-thema] .th-mk-afval { background: transparent; border-color: #2b4c55; }
html.lg-avond[data-thema] .th-nav { --thn-ring: #061a20; }

.th-mega-rij { position: relative; min-width: 0; }
.th-mega-rij > a { padding-right: 34px; }
.th-pin {
  position: absolute; top: 50%; right: 4px; width: 28px; height: 28px; margin-top: -14px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; opacity: 0; transition: opacity .15s, transform .2s, background-color .15s; color: inherit;
}
.th-pin::before {
  content: ''; position: absolute; inset: 6px; background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: .35;
}
.th-mega-rij:hover .th-pin, .th-pin:focus-visible, .th-pin[aria-pressed="true"] { opacity: 1; }
.th-pin:hover { transform: scale(1.15) rotate(-10deg); }
.th-pin[aria-pressed="true"]::before { opacity: 1; }
html[data-thema="hout"] .th-pin[aria-pressed="true"] { color: #f0c76a; }
html[data-thema="kust"] .th-pin[aria-pressed="true"] { color: #e0a20a; }
.th-pin.is-net { animation: th-plop .5s cubic-bezier(.3, 1.6, .5, 1); }
.th-pin.is-vol { animation: th-nee .5s; }
@keyframes th-nee { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
.th-pin:focus-visible { outline: 3px solid #e2b04a; outline-offset: 1px; }
html[data-thema] .th-item-mijn[hidden] { display: none !important; }
html[data-thema] .th-item-mijn > summary { padding: 6px 8px; }
html[data-thema] .th-item-mijn > summary::after { content: none; }
.th-ster-ic { display: grid; place-items: center; width: 22px; height: 22px; }
.th-ster-ic::before {
  content: ''; width: 18px; height: 18px; background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
html[data-thema] .th-item-mijn > summary .th-ster-ic { color: var(--thn-actief); }
.th-item-mijn .th-sub { left: 0; right: auto; width: 340px; }
.th-mijn-uitleg { margin: 8px 6px 2px; font-size: .74rem; opacity: .75; }

.th-beurt { position: absolute; top: -4px; right: -5px; width: 11px; height: 11px; border-radius: 3px; background: #f0b429; box-shadow: 0 0 0 2px var(--thn-ring, #2a1a0e); transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) { .th-beurt { animation: th-beurt 1.4s ease-in-out infinite; } }
@keyframes th-beurt { 50% { transform: rotate(45deg) scale(1.35); } }

.th-groet { position: relative; display: none; }
html[data-thema] .th-groet:not([hidden]) { display: inline-flex; }
.th-groet-knop { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.th-groet-knop:hover, .th-groet-knop[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
html[data-thema="kust"] .th-groet-knop:hover, html[data-thema="kust"] .th-groet-knop[aria-expanded="true"] { background: #e5f4f8; }
.th-groet-knop:focus-visible { outline: 3px solid #e2b04a; outline-offset: 2px; }
.th-groet-ic { position: relative; width: 22px; height: 22px; border-radius: 50%; }
.th-groet-ochtend, .th-groet-middag { background: radial-gradient(circle, #ffd76a 0 45%, #f2a93b 46% 58%, transparent 60%); }
.th-groet-ochtend::after, .th-groet-middag::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: repeating-conic-gradient(#f2a93b 0 8deg, transparent 8deg 45deg);
  -webkit-mask: radial-gradient(circle, transparent 0 9px, #000 9.5px 12px, transparent 12.5px); mask: radial-gradient(circle, transparent 0 9px, #000 9.5px 12px, transparent 12.5px);
}
.th-groet-ochtend { clip-path: inset(0 0 25% 0); }
.th-groet-avond, .th-groet-nacht { background: radial-gradient(circle at 65% 35%, transparent 0 7px, #f6e7b0 7.5px 10.5px, transparent 11px); }
.th-groet-nacht::after { content: ''; position: absolute; top: 2px; left: 2px; width: 3px; height: 3px; border-radius: 50%; background: #f6e7b0; box-shadow: 14px 14px 0 -.5px #f6e7b0; }
html[data-thema="kust"] .th-groet-avond, html[data-thema="kust"] .th-groet-nacht { background: radial-gradient(circle at 65% 35%, transparent 0 7px, #e0a20a 7.5px 10.5px, transparent 11px); }
html[data-thema="kust"] .th-groet-nacht::after { background: #0e6e86; box-shadow: 14px 14px 0 -.5px #0e6e86; }
@media (prefers-reduced-motion: no-preference) {
  .th-groet-ochtend::after, .th-groet-middag::after { animation: th-stralen 12s linear infinite; }
  .th-groet-knop:hover .th-groet-ic { transform: rotate(-12deg) scale(1.1); transition: transform .25s; }
}
@keyframes th-stralen { to { transform: rotate(360deg); } }
.th-dag {
  position: absolute; top: calc(100% + 10px); right: -40px; z-index: 60; width: 300px; padding: 14px; border-radius: 16px; text-align: left;
  animation: th-sub-in .2s cubic-bezier(.2, .8, .3, 1);
}
.th-dag[hidden] { display: none; }
@media (max-width: 640px) { .th-dag { position: fixed; top: 70px; left: 12px; right: 12px; width: auto; max-height: calc(100vh - 160px); overflow: auto; } }
html[data-thema="hout"] .th-dag { color: #f6ecd4; border: 1px solid #c6a15a; background: linear-gradient(180deg, rgba(48, 30, 16, .97), rgba(28, 17, 8, .98)), var(--thb-plank) center / cover; box-shadow: 0 22px 44px rgba(20, 10, 4, .5); }
html[data-thema="kust"] .th-dag { color: #1c2c33; background: #fff; border: 1px solid #d5e3e8; box-shadow: 0 24px 48px rgba(14, 74, 90, .18); }
.th-dag-groet { margin: 0 0 10px; font-family: var(--font-kop); font-size: 1.15rem; }
.th-dag-lijst { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.th-dag-lijst [hidden] { display: none; }
.th-dag-lijst a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; color: inherit; text-decoration: none; font-size: .86rem; font-weight: 600; line-height: 1.3; }
.th-dag-lijst a:hover { background: rgba(127, 127, 127, .14); }
.th-dag-ic { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; margin: 0 !important; }
.th-dag-ic svg { width: 18px; height: 18px; }
html[data-thema="hout"] .th-dag-ic { color: #e2b04a; background: rgba(226, 176, 74, .14); }
html[data-thema="kust"] .th-dag-ic { color: #0e6e86; background: #e5f4f8; }
.th-dag-ic.th-bakken .th-bak { width: 12px; height: 14px; }
html.lg-avond[data-thema] .th-dag { background: #12303a; color: #e8f1f2; border-color: #2b4c55; }
@media (min-width: 1100px) {
  html[data-thema] .kop-ik-naam { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.th-palet { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgba(10, 20, 24, .45); backdrop-filter: blur(3px); }
.th-palet[hidden] { display: none; }
.th-palet-doos { width: min(620px, 100%); max-height: 70vh; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); animation: th-sub-in .2s cubic-bezier(.2, .8, .3, 1); }
html[data-thema="hout"] .th-palet-doos { color: #f6ecd4; border: 1px solid #c6a15a; background: linear-gradient(180deg, rgba(48, 30, 16, .97), rgba(28, 17, 8, .98)), var(--thb-plank) center / cover; }
html[data-thema="kust"] .th-palet-doos { color: #1c2c33; background: #fff; }
.th-palet-zoek { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(127, 127, 127, .25); }
.th-palet-ic { width: 20px; height: 20px; flex: none; border: 2.2px solid currentColor; border-radius: 50%; position: relative; opacity: .7; transform: scale(.8); }
.th-palet-ic::after { content: ''; position: absolute; right: -6px; bottom: -6px; width: 8px; height: 2.2px; background: currentColor; transform: rotate(45deg); }
.th-palet-zoek input[type="search"], .th-palet-zoek input[type="search"]:focus { flex: 1; min-width: 0; min-height: 40px; margin: 0; padding: 4px 2px; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; color: inherit; font: 600 1.1rem var(--font); outline: none !important; }
.th-palet-zoek input[type="search"]::-webkit-search-cancel-button { display: none; }
.th-palet-zoek input::placeholder { color: inherit; opacity: .55; }
.th-palet-zoek:focus-within { box-shadow: inset 0 -3px 0 #e2b04a; }
.th-palet kbd { padding: 1px 6px; border-radius: 5px; border: 1px solid rgba(127, 127, 127, .45); font: 700 .7rem var(--font); opacity: .8; }
.th-palet-lijst { flex: 1; margin: 0; padding: 8px; overflow: auto; list-style: none; }
.th-palet-lijst a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: inherit; text-decoration: none; }
.th-palet-lijst a span { display: flex; flex-direction: column; min-width: 0; }
.th-palet-lijst b { font-size: .95rem; }
.th-palet-lijst small { font-size: .78rem; opacity: .75; }
.th-palet-lijst .zb-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; }
.th-palet-lijst svg.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-thema="hout"] .th-palet-lijst .zb-ic { color: #e2b04a; background: radial-gradient(circle at 50% 38%, #5a3a1e, #24160a); box-shadow: 0 0 0 1.5px #c6a15a; border-radius: 50%; }
html[data-thema="kust"] .th-palet-lijst .zb-ic { color: #0e6e86; background: #e5f4f8; }
html[data-thema="hout"] .th-palet-lijst a[aria-selected="true"] { background: rgba(226, 176, 74, .18); }
html[data-thema="kust"] .th-palet-lijst a[aria-selected="true"] { background: #e5f4f8; }
.th-palet-site { font-weight: 700; font-size: .9rem; opacity: .9; }
.th-palet-voet { display: flex; gap: 6px; align-items: center; margin: 0; padding: 8px 16px; font-size: .74rem; opacity: .7; border-top: 1px solid rgba(127, 127, 127, .2); }
@media (prefers-reduced-motion: no-preference) { .th-palet-lijst li a { animation: th-item-in .25s both; animation-delay: calc(var(--i, 0) * 18ms); } }
html.lg-avond[data-thema] .th-palet-doos { background: #12303a; color: #e8f1f2; border: 1px solid #2b4c55; }
html.th-palet-open { overflow: hidden; }

.th-mega-kop { position: relative; }
.th-tekening { position: absolute; right: 2px; bottom: 2px; width: 64px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.th-tekening .v { fill: var(--th-tek-vlak, rgba(226, 176, 74, .18)); }
.th-tekening .v2 { fill: var(--th-tek-vlak2, rgba(226, 176, 74, .32)); }
.th-tekening .hart { fill: #d1462f; stroke: none; }
.th-tekening text { fill: currentColor; stroke: none; font: 800 11px var(--font); }
html[data-thema="kust"] .th-tekening { color: #0e6e86; --th-tek-vlak: #e5f4f8; --th-tek-vlak2: #f4e4c4; }
@media (prefers-reduced-motion: no-preference) {
  .th-item details[open] .th-tekening, .th-item-meer[open] .th-tekening { animation: th-tekening-in .6s .1s cubic-bezier(.3, 1.4, .5, 1) both; }
  .th-sub:hover .th-tekening { transform: rotate(-4deg) translateY(-2px); transition: transform .4s; }
}
@keyframes th-tekening-in { from { opacity: 0; transform: translateY(8px) rotate(6deg) scale(.8); } to { opacity: .9; transform: none; } }
.th-item-meer .th-sub:has(.th-sub-extra:not([hidden])) .th-tekening { display: none; }

.th-sub .th-mk a.th-mk-beurt { margin: 0; padding: 10px; border-radius: 12px; background: #f0b429; color: #2a1a0e; box-shadow: 0 6px 14px rgba(240, 180, 41, .35); }
.th-mk-beurt b { display: block; font-size: .9rem; }
.th-mk-beurt small { font-size: .74rem; }
.th-mk-beurt-ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.th-mk-beurt-ic svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) { .th-mk-beurt-ic { animation: th-beurt-ic 1.6s ease-in-out infinite; } }
@keyframes th-beurt-ic { 50% { transform: scale(1.12) rotate(-8deg); } }
.th-sub .th-mk a.th-mk-tafel-link { display: grid; gap: 5px; margin: -4px; padding: 6px 8px; }
.th-mk-tafel { display: flex; justify-content: space-between; gap: 8px; }
.th-mk-kijk { font-size: .64rem; padding: 1px 7px; border-radius: 999px; letter-spacing: .04em; opacity: 0; transition: opacity .2s; }
.th-mk-tafel-link:hover .th-mk-kijk, .th-mk-tafel-link:focus-visible .th-mk-kijk { opacity: 1; }
html[data-thema="hout"] .th-mk-kijk { background: #f0c76a; color: #2a1a0e; }
html[data-thema="kust"] .th-mk-kijk { background: #0e6e86; color: #fff; }
html[data-thema="hout"] .th-mk-tafel-link:hover { background: rgba(255, 228, 180, .1); }
html[data-thema="kust"] .th-mk-tafel-link:hover { background: rgba(255, 255, 255, .7); }

.th-mk-herinner { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; cursor: pointer; }
.th-mk-herinner[hidden] { display: none; }
.th-mk-herinner input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.th-mk-schakel { position: relative; flex: none; width: 36px; height: 20px; border-radius: 999px; background: rgba(127, 127, 127, .45); transition: background-color .2s; }
.th-mk-schakel::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.th-mk-herinner input:checked + .th-mk-schakel { background: #3f9a52; }
.th-mk-herinner input:checked + .th-mk-schakel::after { transform: translateX(16px); }
.th-mk-herinner input:focus-visible + .th-mk-schakel { outline: 3px solid #e2b04a; outline-offset: 2px; }
.th-mk-herinner input:disabled + .th-mk-schakel { opacity: .5; }
.th-mk-melding { margin: -4px 0 0; font-size: .74rem; opacity: .85; }
.th-mk-melding:empty { display: none; }

html.th-koningsdag[data-thema] .kop { position: relative; }
html.th-koningsdag[data-thema] .kop::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 22px; pointer-events: none; z-index: 5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cpath d='M0 2q30 8 60 0t60 0' fill='none' stroke='%23666' stroke-width='1'/%3E%3Cpath d='M8 4l6 14 6-12z' fill='%23d1462f'/%3E%3Cpath d='M28 6l6 14 6-13z' fill='%23fff' stroke='%23ddd' stroke-width='.5'/%3E%3Cpath d='M48 5l6 14 6-14z' fill='%232f6db3'/%3E%3Cpath d='M68 3l6 14 6-14z' fill='%23f08c21'/%3E%3Cpath d='M88 5l6 14 6-13z' fill='%23d1462f'/%3E%3Cpath d='M106 6l6 14 6-14z' fill='%232f6db3'/%3E%3C/svg%3E") 0 0 / 120px 22px repeat-x;
}
@media (prefers-reduced-motion: no-preference) { html.th-koningsdag[data-thema] .kop::after { animation: th-wapper 3s ease-in-out infinite alternate; transform-origin: top; } }
@keyframes th-wapper { to { transform: skewX(4deg) scaleY(1.06); } }

.th-tint { position: absolute; inset: 0; pointer-events: none; transition: background-color .6s; }
html.th-dag-avond .th-tint { background: linear-gradient(180deg, rgba(40, 30, 80, .28), rgba(120, 60, 20, .12)); }
html.th-dag-nacht .th-tint { background: linear-gradient(180deg, rgba(8, 14, 40, .55), rgba(8, 14, 40, .35)); }
html.th-dag-nacht[data-thema="hout"] .th-titel { color: #fff8ea; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
html.th-weer-regen .th-tint, html.th-weer-onweer .th-tint { background: linear-gradient(180deg, rgba(50, 62, 74, .38), rgba(50, 62, 74, .18)); }
html.th-weer-bewolkt .th-tint { background: rgba(120, 130, 140, .14); }
.th-mist { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(235, 238, 240, .55), rgba(235, 238, 240, .2) 60%, rgba(235, 238, 240, .45)); }
@media (prefers-reduced-motion: no-preference) {
  .th-mist { animation: th-mist 14s ease-in-out infinite alternate; }
}
@keyframes th-mist { to { opacity: .6; transform: translateX(-3%); } }
.th-deeltjes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.th-deeltjes i { position: absolute; top: -20px; display: block; animation: th-val var(--duur, 8s) linear var(--wacht, 0s) infinite; }
.th-deeltjes-regen i { width: 1.5px; height: 18px; background: linear-gradient(180deg, transparent, rgba(220, 235, 245, .85)); }
.th-deeltjes-sneeuw i { width: calc(6px * var(--maat, 1)); height: calc(6px * var(--maat, 1)); border-radius: 50%; background: #fff; opacity: .9; box-shadow: 0 0 4px rgba(255, 255, 255, .8); animation-name: th-sneeuw; }
.th-deeltjes-blad i { width: 14px; height: 10px; border-radius: 0 100% 0 100%; animation-name: th-blad; }
.th-deeltjes-blad i.b1 { background: #c8641e; } .th-deeltjes-blad i.b2 { background: #e0a020; } .th-deeltjes-blad i.b3 { background: #9c3e1a; }
.th-deeltjes-bloesem i { width: 9px; height: 9px; border-radius: 60% 0 60% 0; background: #f7c9d6; box-shadow: inset 0 0 0 1px rgba(230, 150, 175, .6); animation-name: th-blad; }
@keyframes th-val { to { transform: translate(-30px, 560px); } }
@keyframes th-sneeuw { 0% { transform: translate(0, 0); } 50% { transform: translate(18px, 280px); } 100% { transform: translate(-6px, 560px); } }
@keyframes th-blad { 0% { transform: translate(0, 0) rotate(var(--draai, 0deg)); } 25% { transform: translate(30px, 140px) rotate(calc(var(--draai, 0deg) + 120deg)); } 50% { transform: translate(-10px, 280px) rotate(calc(var(--draai, 0deg) + 220deg)); } 100% { transform: translate(40px, 560px) rotate(calc(var(--draai, 0deg) + 420deg)); } }
html.th-wind .th-deeltjes-regen i { transform: rotate(18deg); animation-name: th-val-wind; }
html.th-wind .th-deeltjes-blad i, html.th-wind .th-deeltjes-bloesem i, html.th-wind .th-deeltjes-sneeuw i { animation-name: th-waai; }
@keyframes th-val-wind { to { transform: translate(-180px, 560px) rotate(18deg); } }
@keyframes th-waai { 0% { transform: translate(0, 0) rotate(0); } 100% { transform: translate(-260px, 480px) rotate(540deg); } }
.th-flits { position: absolute; inset: 0; background: #fff; opacity: 0; animation: th-flits 9s 2s infinite; }
@keyframes th-flits { 0%, 90%, 93%, 96%, 100% { opacity: 0; } 91%, 94.5% { opacity: .55; } }
html.th-wind[data-thema="kust"] .th-meeuw svg { transform: rotate(-12deg); }
html.th-wind[data-thema="kust"] .th-meeuw { animation-duration: 5s; }

html.th-dag-avond[data-thema="hout"] .th-snel-ic, html.th-dag-nacht[data-thema="hout"] .th-snel-ic {
  box-shadow: 0 0 0 2px #1c1008, inset 0 0 0 1px #8a6230, 0 0 16px 4px rgba(255, 180, 70, .55);
}
@media (prefers-reduced-motion: no-preference) {
  html.th-dag-avond[data-thema="hout"] .th-snel-ic, html.th-dag-nacht[data-thema="hout"] .th-snel-ic { animation: th-lantaarn 2.6s ease-in-out infinite; }
}
@keyframes th-lantaarn { 0%, 100% { filter: brightness(1); } 40% { filter: brightness(1.18); } 55% { filter: brightness(.95); } 70% { filter: brightness(1.1); } }

html.th-getij-hoog[data-thema="kust"] .th-hero::after { height: 100px; }
html.th-getij-laag[data-thema="kust"] .th-hero::after { height: 56px; }
.th-getij-knop { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 56px; padding: 0; border: 0; background: transparent; cursor: pointer; }
html.th-getij-hoog .th-getij-knop { height: 90px; }
.th-getij-knop:focus-visible { outline: 3px solid #f0b429; outline-offset: -3px; }
.th-getij-ballon {
  position: absolute; bottom: calc(100% + 6px); width: max-content; max-width: 260px; padding: 8px 12px; border-radius: 12px;
  background: #0b3d4c; color: #fff; font: 700 .84rem var(--font); line-height: 1.3; text-align: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  transform: translateX(-50%) translateY(6px); opacity: 0; transition: opacity .2s, transform .25s cubic-bezier(.3, 1.4, .5, 1); pointer-events: none;
}
.th-getij-ballon::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: #0b3d4c; }
.th-getij-knop.is-open .th-getij-ballon { opacity: 1; transform: translateX(-50%); }

.th-home .th-kaart.is-kantel { transition: transform .08s linear, box-shadow .2s; box-shadow: 0 18px 36px rgba(20, 20, 20, .16); }
.th-home .th-kaart { transition: transform .5s cubic-bezier(.2, .8, .3, 1), box-shadow .3s; }
.th-ag-datum { position: relative; }
.th-ag-datum::after {
  content: ''; position: absolute; right: -1px; bottom: -1px; width: 0; height: 0; border-radius: 0 0 12px 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .18) 45%, #fff 50%); transition: width .25s, height .25s;
}
.th-ag:hover .th-ag-datum::after, .th-ag:focus-visible .th-ag-datum::after { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .th-weer-ic svg { animation: th-dobber 3.5s ease-in-out infinite alternate; }
  .th-weer-nu:hover .th-weer-ic svg { animation-duration: .9s; }
}

.th-mk-buren-lijst { gap: 6px !important; }
.th-sub .th-mk-buren-lijst a { position: relative; padding: 4px 6px; margin: -2px -4px; }
.th-mk-buren-lijst .th-mk-av { width: 30px; height: 30px; font-size: .78rem; flex: none; }
.th-mk-zwaai { margin-left: auto; padding: 2px 8px; border-radius: 999px; font-size: .66rem; font-weight: 800; white-space: nowrap; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.th-mk-buren-lijst a:hover .th-mk-zwaai, .th-mk-buren-lijst a:focus-visible .th-mk-zwaai { opacity: 1; transform: none; }
html[data-thema="hout"] .th-mk-zwaai { background: #f0c76a; color: #2a1a0e; }
html[data-thema="kust"] .th-mk-zwaai { background: #0e6e86; color: #fff; }
@media (prefers-reduced-motion: no-preference) { .th-mk-buren-lijst a:hover .th-mk-av { animation: th-zwaai .6s ease-in-out; } }
@keyframes th-zwaai { 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-6deg); } }
.th-sub .th-mk a.th-mk-hulp { padding: 8px; margin: 0; border-radius: 12px; }
html[data-thema="hout"] .th-mk-hulp { background: rgba(255, 228, 180, .08); }
html[data-thema="kust"] .th-mk-hulp { background: #fff; }
.th-mk-hulp-ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; }
.th-mk-hulp-ic svg { width: 18px; height: 18px; }
html[data-thema="hout"] .th-mk-hulp-ic { background: #e2b04a; color: #2a1a0e; }
html[data-thema="kust"] .th-mk-hulp-ic { background: #f0b429; color: #2a1a0e; }
.th-sub .th-mk a.th-mk-foto { display: block; margin: 0; padding: 0; overflow: hidden; border-radius: 10px; }
.th-mk-foto img { display: block; width: 100%; height: 130px; object-fit: cover; filter: sepia(.25); transition: transform .5s, filter .3s; }
.th-mk-foto:hover img { transform: scale(1.05); filter: none; }
.th-mk-raden-knoppen { display: flex; flex-wrap: wrap; gap: 5px; }
.th-sub .th-mk-raden-knoppen a { display: inline-flex; margin: 0; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; transition: transform .15s, background-color .15s; }
.th-sub .th-mk-raden-knoppen a:hover { transform: translateY(-2px); }
html[data-thema="hout"] .th-mk-raden-knoppen a { background: rgba(226, 176, 74, .18); color: #f0c76a; border: 1px solid rgba(226, 176, 74, .45); }
html[data-thema="hout"] .th-mk-raden-knoppen a:hover { background: #e2b04a; color: #2a1a0e; }
html[data-thema="kust"] .th-mk-raden-knoppen a { background: #fff; color: #0e6e86; border: 1px solid #b7dbe4; }
html[data-thema="kust"] .th-mk-raden-knoppen a:hover { background: #0e6e86; color: #fff; }
.th-sub .th-mk a.th-mk-getij.met-lijn { display: grid; gap: 4px; margin: 0; padding: 0; }
.th-getij-lijn { display: block; width: 100%; height: auto; overflow: visible; }
.th-gl-vlak { fill: rgba(115, 194, 212, .28); }
.th-gl-lijn { fill: none; stroke: #4fb0c8; stroke-width: 2; stroke-linejoin: round; }
.th-gl-uur { stroke: currentColor; stroke-width: .6; opacity: .2; stroke-dasharray: 2 3; }
.th-gl-tijd { fill: currentColor; font: 700 7.5px var(--font); opacity: .65; }
.th-gl-top { fill: #fff; stroke: #4fb0c8; stroke-width: 1.4; }
.th-gl-nu { fill: #f0b429; stroke: #fff; stroke-width: 1.6; }
@media (prefers-reduced-motion: no-preference) { .th-gl-nu { animation: th-gl-puls 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; } }
@keyframes th-gl-puls { 50% { transform: scale(1.35); } }

.th-seintje {
  position: fixed; top: 80px; right: 16px; z-index: 95; display: flex; flex-direction: column; gap: 2px; max-width: min(320px, calc(100vw - 32px));
  padding: 12px 16px 12px 52px; border-radius: 14px; background: #f0b429; color: #2a1a0e; text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28); animation: th-seintje-in .45s cubic-bezier(.3, 1.4, .5, 1) both; transition: opacity .35s, transform .35s;
}
.th-seintje::before { content: ''; position: absolute; left: 14px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(255, 255, 255, .55) radial-gradient(circle, #2a1a0e 0 4px, transparent 5px); }
.th-seintje b { font-size: .95rem; }
.th-seintje small { font-size: .8rem; }
.th-seintje.is-weg { opacity: 0; transform: translateY(-10px); }
@keyframes th-seintje-in { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .th-seintje { animation: none; } }

.th-st-in { padding: 18px 20px; }
.th-st-in h2 { margin: 0 0 12px; font-family: var(--font-kop); font-size: 1.25rem; }
.th-st-in dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 12px; align-items: center; }
.th-st-in dt { display: flex; gap: 4px; justify-content: flex-end; }
.th-st-in dd { margin: 0; font-size: .92rem; }
.th-st-in kbd { min-width: 26px; text-align: center; padding: 3px 7px; font-size: .78rem; opacity: 1; }
.th-st-tip { margin: 0 0 12px; font-size: .82rem; opacity: .75; }
.th-sneltoetsen .th-palet-doos { width: min(440px, 100%); }

html[data-thema] :is(.paginakop.plein, .plein-strook) { position: relative; isolation: isolate; }
.th-kop-tekening {
  position: absolute; right: max(16px, calc(50% - 560px)); bottom: 10px; width: 120px; height: 100px; pointer-events: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .85; z-index: -1;
}
.plein-strook .th-kop-tekening { width: 72px; height: 60px; bottom: 8px; }
.th-kop-tekening .v { fill: var(--th-tek-vlak, rgba(226, 176, 74, .22)); }
.th-kop-tekening .v2 { fill: var(--th-tek-vlak2, rgba(226, 176, 74, .38)); }
.th-kop-tekening .hart { fill: #d1462f; stroke: none; }
.th-kop-tekening text { fill: currentColor; stroke: none; font: 800 12px var(--font); }
html[data-thema="hout"] .th-kop-tekening { color: #6b3a1b; }
html[data-thema="kust"] .th-kop-tekening { color: #0e6e86; --th-tek-vlak: rgba(255, 255, 255, .7); --th-tek-vlak2: #f4e4c4; }
@media (max-width: 700px) { .th-kop-tekening { width: 70px; height: 58px; right: 10px; bottom: auto; top: 12px; opacity: .5; } }
@media (prefers-reduced-motion: no-preference) { .th-kop-tekening { animation: th-tekening-in .8s .2s cubic-bezier(.3, 1.4, .5, 1) both; } }
html.th-pad-nieuws[data-thema] .paginakop.plein { background-position: center, 20% 30%; }
html.th-pad-agenda[data-thema] .paginakop.plein { background-position: center, 70% 60%; }
html.th-pad-buurt[data-thema] .paginakop.plein { background-position: center, 45% 75%; }
html.th-pad-vandaag[data-thema] .paginakop.plein { background-position: center, 90% 20%; }
html.th-pad-spelletjes[data-thema] .paginakop.plein { background-position: center, 10% 55%; }

.th-seizoenlaag { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; }
html.th-seizoen-winter .th-seizoenlaag { background: linear-gradient(180deg, rgba(180, 215, 255, .7), rgba(235, 245, 255, .5)); box-shadow: inset 0 0 90px rgba(255, 255, 255, .45); mix-blend-mode: normal; opacity: .38; }
html.th-seizoen-herfst .th-seizoenlaag { background: radial-gradient(120% 90% at 50% 100%, rgba(220, 110, 30, .55), rgba(150, 60, 20, .25)); }
html.th-seizoen-lente .th-seizoenlaag { background: linear-gradient(180deg, rgba(255, 200, 220, .45), rgba(150, 220, 120, .35)); }
html.th-seizoen-zomer .th-seizoenlaag { background: radial-gradient(90% 70% at 70% 10%, rgba(255, 220, 120, .6), rgba(255, 200, 80, .15)); }

.th-dorptabs { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 8px; border-radius: 999px; }
html[data-thema="hout"] .th-dorptabs { background: rgba(0, 0, 0, .25); }
html[data-thema="kust"] .th-dorptabs { background: rgba(14, 110, 134, .1); }
.th-dorptabs button {
  display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 3px 10px; border: 0; border-radius: 999px; white-space: nowrap;
  background: transparent; color: inherit; font: 800 .74rem var(--font); cursor: pointer; transition: background-color .2s, color .2s;
}
.th-dorptabs button:focus-visible { outline: 3px solid #e2b04a; outline-offset: 1px; }
@media (pointer: coarse) { .th-dorptabs button { min-height: 40px; } }
html[data-thema="hout"] .th-dorptabs button[aria-pressed="true"] { background: #e2b04a; color: #2a1a0e; }
html[data-thema="kust"] .th-dorptabs button[aria-pressed="true"] { background: #0e6e86; color: #fff; }
.th-dorp-pin { width: 8px; height: 8px; border-radius: 50% 50% 50% 0; background: currentColor; transform: rotate(-45deg); }
.th-dorpkeus ul[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .th-dorpkeus ul:not([hidden]) > li { animation: th-item-in .3s both; } }
.th-agenda .th-dorptabs { margin-top: -2px; }
html[data-thema="hout"] .th-agenda .th-dorptabs { background: rgba(106, 69, 36, .12); }
html[data-thema="hout"] .th-agenda .th-dorptabs button { color: #3a2614; }
html[data-thema="hout"] .th-agenda .th-dorptabs button[aria-pressed="true"] { background: #6b3a1b; color: #fff; }
html.lg-avond[data-thema] .th-agenda .th-dorptabs button { color: #e8f1f2; }
html.lg-avond[data-thema] .th-dorptabs button[aria-pressed="true"] { background: #f2c76b; color: #061a20; }

.th-feest { position: relative; margin: 0 0 10px; padding: 26px 12px 10px; border-radius: 12px; overflow: hidden; text-align: center; transition: opacity .3s, transform .3s; }
.th-feest.is-weg { opacity: 0; transform: scale(.96); }
html[data-thema="hout"] .th-feest { background: linear-gradient(160deg, rgba(240, 199, 106, .25), rgba(240, 199, 106, .08)); border: 1px solid rgba(240, 199, 106, .5); }
html[data-thema="kust"] .th-feest { background: linear-gradient(160deg, #fff4d6, #e5f4f8); border: 1px solid #f0d48a; }
.th-feest p { margin: 0 0 4px; font-weight: 800; font-size: .9rem; line-height: 1.35; }
.th-feest-slingers {
  position: absolute; left: 0; right: 0; top: 0; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cpath d='M0 2q30 8 60 0t60 0' fill='none' stroke='%23999' stroke-width='1'/%3E%3Cpath d='M8 4l5 12 5-10z' fill='%23d1462f'/%3E%3Cpath d='M28 6l5 12 5-11z' fill='%23f0b429'/%3E%3Cpath d='M48 5l5 12 5-12z' fill='%232f6db3'/%3E%3Cpath d='M68 3l5 12 5-12z' fill='%234f9a3c'/%3E%3Cpath d='M88 5l5 12 5-11z' fill='%23d1462f'/%3E%3Cpath d='M106 6l5 12 5-12z' fill='%23f0b429'/%3E%3C/svg%3E") 0 0 / 120px 20px repeat-x;
}
.th-feest-uit { margin-top: 4px; padding: 2px 8px; border: 0; background: none; color: inherit; font: 700 .72rem var(--font); text-decoration: underline; opacity: .7; cursor: pointer; }
.th-feest-uit:hover { opacity: 1; }
.th-groet-knop.is-feest { box-shadow: 0 0 0 2px #f0b429, 0 0 0 5px rgba(240, 180, 41, .3); }
@media (prefers-reduced-motion: no-preference) {
  .th-groet-knop.is-feest { animation: th-feest-knop 1.8s ease-in-out infinite; }
  .th-dag:not([hidden]) .th-feest p { animation: th-plop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
  .th-feest-slingers { animation: th-wapper 2.6s ease-in-out infinite alternate; transform-origin: top; }
}
@keyframes th-feest-knop { 0%, 100% { transform: none; } 20% { transform: rotate(-12deg) scale(1.08); } 40% { transform: rotate(10deg) scale(1.08); } 60% { transform: none; } }
html.lg-avond[data-thema] .th-feest { background: rgba(242, 199, 107, .12); border-color: rgba(242, 199, 107, .4); }

.th-home { position: relative; }
.th-hero { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 28px 16px 22px; }
.th-hero-tekst { position: relative; z-index: 1; max-width: 760px; }
.th-titel { margin: 0; font-family: var(--font-kop); font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 650; line-height: 1.05; letter-spacing: -.02em; }
.th-onder { margin: 8px 0 0; font-size: 1.05rem; }
.th-zoekform {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; width: min(640px, 100%);
  background: #fff; border-radius: 999px; padding: 4px 4px 4px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.th-zoekform .ic { flex: none; color: #6d5a42; }
.th-zoekform input[type="search"] {
  flex: 1; min-width: 0; border: 0; background: transparent; min-height: 44px;
  font: 500 1rem var(--font); color: #2a1c12;
}
.th-zoekform input[type="search"]:focus { outline: none; }
.th-zoekform button {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff;
}
.th-zoekform button .ic { color: #fff; }
.th-snel { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 4px 0 0; padding: 0; width: min(100%, 980px); }
.th-snel a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 74px; padding: 10px 8px; text-align: center; text-decoration: none; font-weight: 700; font-size: .86rem;
}
.th-snel-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.th-hoek { display: none; }

html[data-thema="hout"] .th-hero {
  --th-rand: 26px;
  --th-hoek: calc(var(--th-rand) * 1.9268);
  --th-bocht: calc(var(--th-rand) * 0.921);
  margin: 10px; padding: calc(var(--th-rand) + 14px) calc(var(--th-rand) + 8px) calc(var(--th-rand) + 6px);
  min-height: 380px; align-items: center; text-align: center;
  border: 0; border-radius: 0; box-shadow: none; background: transparent;
}
html[data-thema="hout"] .th-hero::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  inset: calc(var(--th-rand) - 6px);
  border-radius: calc(var(--th-bocht) + 8px);
  background:
    linear-gradient(180deg, rgba(255, 244, 220, .12), rgba(20, 16, 8, .08) 42%, rgba(20, 16, 8, .28)),
    var(--thb-hout) center 42% / cover no-repeat;
}
html[data-thema="hout"] .th-vlecht {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(42, 26, 14, .22));
}
html[data-thema="hout"] .th-vlecht-hoek {
  position: absolute; width: var(--th-hoek); height: var(--th-hoek);
  background: var(--thb-lijst-hoek) 0 0 / 100% 100% no-repeat;
}
html[data-thema="hout"] .th-vlecht-nw { top: 0; left: 0; }
html[data-thema="hout"] .th-vlecht-ne { top: 0; right: 0; transform: scaleX(-1); }
html[data-thema="hout"] .th-vlecht-zw { bottom: 0; left: 0; transform: scaleY(-1); }
html[data-thema="hout"] .th-vlecht-zo { right: 0; bottom: 0; transform: scale(-1); }
html[data-thema="hout"] .th-vlecht-h {
  position: absolute; left: calc(var(--th-hoek) - 2px); right: calc(var(--th-hoek) - 2px); height: var(--th-rand);
  background: var(--thb-lijst-rand-h) 0 0 / auto 100% repeat-x;
}
html[data-thema="hout"] .th-vlecht-boven { top: 0; }
html[data-thema="hout"] .th-vlecht-onder { bottom: 0; transform: scaleY(-1); }
html[data-thema="hout"] .th-vlecht-v {
  position: absolute; top: calc(var(--th-hoek) - 2px); bottom: calc(var(--th-hoek) - 2px); width: var(--th-rand);
  background: var(--thb-lijst-rand-v) 0 0 / 100% auto repeat-y;
}
html[data-thema="hout"] .th-vlecht-links { left: 0; }
html[data-thema="hout"] .th-vlecht-rechts { right: 0; transform: scaleX(-1); }
html[data-thema="hout"] .th-hoek { display: none; }
html[data-thema="hout"] .th-hero-tekst { display: flex; flex-direction: column; align-items: center; }
html[data-thema="hout"] .th-titel { color: #3a2614; text-shadow: 0 1px 0 rgba(255, 248, 230, .45); }
html[data-thema="hout"] .th-onder {
  display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 100%;
}
html[data-thema="hout"] .th-onder::before,
html[data-thema="hout"] .th-onder::after {
  content: ''; width: 42px; height: 2px; flex: none; background: #c6a15a; border-radius: 2px;
}
html[data-thema="hout"] .th-onder span {
  display: inline-block; max-width: 34rem; padding: 4px 14px; border-radius: 999px;
  background: rgba(255, 248, 236, .92); color: #3a2614; font-weight: 700;
}
html[data-thema="hout"] .th-zoekform button { background: #c4923e; }
html[data-thema="hout"] .th-snel { margin-top: 18px; }
html[data-thema="hout"] .th-snel a {
  position: relative; margin-top: 16px; padding-top: 22px;
  color: #f8edd4; border-radius: 14px;
  border: 1px solid #1c1008; border-top-color: #8a6844;
  text-shadow: 0 1px 1px rgba(20, 10, 4, .75);
  background-image:
    linear-gradient(180deg, rgba(42, 24, 10, .12), rgba(20, 10, 4, .22) 42%, rgba(12, 6, 2, .48)),
    var(--thb-plank);
  background-size: auto, cover;
  background-repeat: no-repeat;
  background-position: center, center 42%;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, .4),
    inset 0 -7px 8px rgba(12, 6, 2, .4),
    0 4px 0 #1c1008;
}
html[data-thema="hout"] .th-snel li:nth-child(2) a { background-position: center, 18% 60%; }
html[data-thema="hout"] .th-snel li:nth-child(3) a { background-position: center, 40% 30%; }
html[data-thema="hout"] .th-snel li:nth-child(4) a { background-position: center, 62% 70%; }
html[data-thema="hout"] .th-snel li:nth-child(5) a { background-position: center, 84% 36%; }
html[data-thema="hout"] .th-snel li:nth-child(6) a { background-position: center, 96% 58%; }
html[data-thema="hout"] .th-snel a:hover {
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(255, 228, 180, .16), rgba(20, 10, 4, .08) 46%, rgba(12, 6, 2, .32)),
    var(--thb-plank);
}
html[data-thema="hout"] .th-snel-ic {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; color: #e2b04a; border: 2px solid #e2b04a;
  box-shadow: 0 0 0 2px #1c1008, inset 0 0 0 1px #8a6230;
  background:
    radial-gradient(circle at 50% 42%, rgba(120, 78, 36, .35), rgba(12, 6, 2, .82)),
    var(--thb-plank) center 18% / 180% auto no-repeat;
}
html[data-thema="hout"] .th-snel-ic .ic { width: 22px; height: 22px; }

html[data-thema="kust"] .th-hero {
  min-height: 460px; padding: 36px 16px 86px; align-items: flex-start; justify-content: flex-start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 28%, rgba(14, 50, 70, .18)),
    var(--thb-kust) center 22% / cover no-repeat;
}
html[data-thema="kust"] .th-hero .th-snel { margin-top: auto; }
html[data-thema="kust"] .th-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 78px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path fill='%231a7a96' d='M0 48c180 30 300-16 480 6s320 40 500 8 280-36 460-4v32H0z'/><path fill='%23f4efe4' d='M0 64c200 22 320-12 500 8s340 26 500 2 260-28 440-4v20H0z'/></svg>") center / 100% 100% no-repeat;
}
html[data-thema="kust"] .th-titel { color: #1a2744; text-shadow: 0 1px 0 rgba(255, 255, 255, .55); }
html[data-thema="kust"] .th-onder { color: #243044; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); }
html[data-thema="kust"] .th-zoekform button { background: #0e6e86; }
html[data-thema="kust"] .th-snel a {
  background: rgba(16, 36, 48, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}
html[data-thema="kust"] .th-snel a:hover { background: rgba(16, 36, 48, .74); color: #fff; }
html[data-thema="kust"] .th-snel-ic { background: rgba(255, 255, 255, .16); color: #fff; }

@media (min-width: 800px) {
  .th-snel { grid-template-columns: repeat(6, minmax(0, 1fr)); }  
  html[data-thema="hout"] .th-hero { --th-rand: 58px; padding-inline: calc(var(--th-rand) + 16px); }
  html[data-thema="kust"] .th-hero { padding-inline: 48px; }
}

.th-rij { display: grid; gap: 14px; margin-top: 16px; }
.th-rij > * { min-width: 0; }
.th-kaart {
  background: #fff; border: 1px solid var(--rand); border-radius: 18px; padding: 14px 16px 16px;
  box-shadow: var(--schaduw); min-width: 0;
}
html[data-thema="hout"] .th-kaart { border-radius: 26px; }
html[data-thema="hout"] .th-nieuws,
html[data-thema="hout"] .th-agenda {
  background-color: #f4e2c4;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 252, 244, .7), transparent 42%),
    linear-gradient(180deg, #fbf3e2, #f0dcb8);
  border: 2px solid #6a4524;
  border-radius: 26px;
  box-shadow: inset 0 0 0 5px #f8edd8, inset 0 0 0 6px #c4a46a, 0 8px 18px rgba(42, 26, 14, .1);
}
html[data-thema="hout"] .th-nieuws .th-kaart-kop h2 .ic { display: none; }
html[data-thema="hout"] .th-nieuws .th-kaart-kop h2::before {
  content: ''; flex: none; width: 34px; height: 34px; border-radius: 8px;
  background: url('/images/thema-knoop.jpg') center / cover no-repeat;
  box-shadow: 0 1px 2px rgba(42, 26, 14, .35);
}
html[data-thema="hout"] .th-nieuws-foto {
  border: 3px solid #5c3a1c; box-shadow: inset 0 0 0 2px #e6c98a;
}
html[data-thema="hout"] .th-agenda {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 80'%3E%3Cpath fill='%23b08958' fill-opacity='.28' d='M6 52h128l-10 10H16zM22 52 L48 18h10l8 34M58 18c10-12 28-12 36 2l8 32H48zM96 30h22l-4 22H92z'/%3E%3C/svg%3E") right 10px bottom 8px / 148px no-repeat,
    linear-gradient(180deg, rgba(255, 252, 244, .7), rgba(243, 226, 192, .15));
}
.th-kaart-kop { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin: 0 0 10px; }
@media (max-width: 520px) { .th-kaart-kop { flex-wrap: wrap; } }
.th-kaart-kop h2 { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; font-size: 1.15rem; font-family: var(--font-kop); }
.th-kaart-kop a { flex: none; font-size: .84rem; font-weight: 700; text-decoration: none; }
@media (pointer: coarse) { .th-kaart-kop a, .th-weer-meer { display: inline-flex; align-items: center; min-height: 40px; margin-block: -9px; } }
.th-lijst { list-style: none; margin: 0; padding: 0; }
.th-lijst li + li { border-top: 1px solid rgba(90, 60, 30, .14); }
.th-lijst a { display: block; padding: 8px 0; text-decoration: none; color: inherit; }
.th-lijst a:hover strong { text-decoration: underline; }
.th-lijst strong { display: block; }
.th-lijst a > strong, .th-ag-tekst strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.th-lijst span, .th-lijst small, .th-ag-tekst small { display: block; color: var(--tekst-zacht); font-size: .82rem; }
.th-lijst a > span {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.th-nieuws-lijst > li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
.th-nieuws-lijst > li > a:not(.th-nieuws-foto) { min-width: 0; }
.th-lijst .th-nieuws-foto { display: block; margin: 10px 0; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #e6eef0; }
.th-nieuws-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.th-nieuws-foto.is-leeg { display: grid; place-items: center; color: var(--tekst-zacht); }
.th-nieuws-foto.is-leeg .ic { width: 26px; height: 26px; opacity: .55; }
html[data-thema="hout"] .th-nieuws-foto.is-leeg { background: #ead2a8; }
html.lg-avond[data-thema] .th-nieuws-foto.is-leeg { background: #1b3d47; color: #b9cfd4; }
@media (min-width: 520px) { .th-nieuws-lijst > li { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; } }
.th-home .th-lijst > li.is-jv-nieuw .jv-nieuw-label.jv-nieuw-inline {
  position: absolute; top: 4px; left: -4px; margin: 0; padding: 1px 6px; font-size: .62rem; box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}
.th-home .th-lijst-agenda > li.is-jv-nieuw .jv-nieuw-label.jv-nieuw-inline { top: 2px; left: -6px; }
.th-lijst a.th-ag, .th-ag { display: flex; align-items: center; gap: 12px; }
.th-ag-tekst { min-width: 0; }
.th-ag-datum {
  flex: none; width: 54px; text-align: center; line-height: 1.05; padding: 6px 0; border-radius: 12px;
  background: #f6edd8; border: 1px solid #cbb892; color: #3a2614;
}
.th-ag-datum b { display: block; font-size: .68rem; letter-spacing: .08em; }
.th-ag-datum span { font-size: 1.2rem; font-weight: 800; }
html[data-thema="kust"] .th-ag-datum { background: #e5f4f8; border-color: #b7dbe4; color: #0e4a5a; }
.th-ag-stip { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--zee); vertical-align: 1px; }
.th-ag-ochtend .th-ag-stip { background: #f2b33d; }
.th-ag-middag .th-ag-stip { background: #3a7435; }
.th-ag-avond .th-ag-stip { background: #5b4b8a; }
.th-lijst-agenda .ig-compact { margin: 0 0 8px 66px; }
.th-lijst-agenda .ig-knop { min-height: 34px; padding: 4px 10px; font-size: .84rem; }
@media (pointer: coarse) { .th-lijst-agenda .ig-knop { min-height: 40px; } }
.th-lijst-agenda .ig-telling { font-size: .8rem; }
.th-lijst-agenda .ig-telling[data-leeg] { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.th-lijst-agenda .ig-compact { margin-top: -4px; }

.th-weer { background: linear-gradient(160deg, #163e50, #0d4d62); color: #f4fafb; border: 0; }
.th-weer a { color: inherit; }
.th-weer { display: flex; }
.th-weer-in { display: grid; grid-template-columns: minmax(158px, .9fr) 1.15fr; gap: 10px; align-items: stretch; width: 100%; }
.th-weer-cijfers { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.th-weer-naam { margin: 0; font-family: var(--font-kop); font-size: 1.35rem; }
.th-weer-nu, .th-weer-getij { display: flex; align-items: flex-start; gap: 8px; text-decoration: none; }
.th-weer-nu strong { font-size: 2rem; line-height: 1; }
.th-weer-nu small, .th-weer-getij small { display: block; font-size: .82rem; color: #d5e8ee; }
.th-weer-getij b { display: block; font-weight: 700; }
.th-weer-meer { align-self: flex-start; color: #f0d48a; font-weight: 700; font-size: .86rem; text-decoration: none; }
.th-weer-meer:hover { text-decoration: underline; }
.th-weer-ic svg, .th-weer-getij > svg { width: 32px; height: 32px; flex: none; }
.th-weer-werk > svg { color: #9be3a8; }
.th-weer-werk-oranje > svg { color: #ffc078; }
.th-weer-werk-rood > svg { color: #ff9a8f; }
.th-weer-werk:hover b { text-decoration: underline; }
@media (max-width: 560px) {
  .th-weer-in { grid-template-columns: 1fr; }
  .th-weer-cijfers { gap: 8px; }
  .th-weer-kaart { min-height: 150px; }
  .th-eiland-svg { min-height: 140px; }
}
.th-weer-kaart {
  display: flex; min-height: 180px; height: 100%;
  background: #e7f0d4; border-radius: 22px; padding: 6px;
  text-decoration: none; overflow: hidden;
}
.th-eiland-svg { width: 100%; height: 100%; flex: 1 1 auto; min-height: 160px; display: block; }
.th-eiland-land { fill: #d5e4ae; stroke: #6e8b48; stroke-width: 2; }
.th-eiland-dijk { stroke: #8d6a3a; stroke-width: 1.4; }
.th-eiland-svg circle { fill: #2f6b32; stroke: #f6ecd4; stroke-width: 1.5; }
.th-eiland-svg text {
  fill: #243018; font-family: var(--font); font-weight: 700;
  paint-order: stroke; stroke: #f4f8e8; stroke-width: 3px;
}

.th-buurt {
  position: relative; color: #fff; overflow: hidden; min-height: 200px;
  background: #1a3c32 var(--thb-buurt) center / cover no-repeat; border: 0;
}
.th-buurt::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 18, .84), rgba(8, 22, 18, .28)); }
.th-buurt > * { position: relative; z-index: 1; }
.th-buurt :is(h2, a) { color: #fff; }
.th-buurt-lijst { list-style: none; margin: 0; padding: 0; }
.th-buurt-lijst a { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-weight: 700; text-decoration: none; }
.th-buurt-lijst a:hover { text-decoration: underline; }

html[data-thema="hout"] .th-eiland { background: #163246; color: #f6ecd4; border: 1px solid #c6a15a; }
html[data-thema="hout"] .th-eiland :is(h2, a) { color: #f6ecd4; }
html[data-thema="hout"] .th-cirkel { background: #e2b04a; color: #2a1a0e; }
html[data-thema="kust"] .th-cirkel { background: #e5f4f8; color: #0e6e86; }
.th-iconen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.th-iconen > li { min-width: 0; }
.th-iconen a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none; font-size: .82rem; font-weight: 700; line-height: 1.2; color: inherit; overflow-wrap: anywhere; }
.th-cirkel { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }

.th-club { background: linear-gradient(120deg, #163246, #0e4a5c 55%, #1d4a42); color: #f6ecd4; border: 0; }
.th-club :is(h2, a, p) { color: #f6ecd4; }
.th-club .knop-geel { color: #2a1a0e; }
html[data-thema="kust"] .th-club .knop-geel { background: #e2b04a; border-color: #e2b04a; color: #2a1a0e; }
.th-club p { margin: 0 0 12px; }

.th-dorp, .th-voorjou { margin: 16px auto; }
.th-dorp summary { cursor: pointer; font-weight: 750; padding: 9px 0; }
.th-dorp ul, .th-voorjou ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; }
.th-dorp a, .th-voorjou a { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 12px; border-radius: 999px; background: var(--wit); text-decoration: none; color: inherit; }
.th-praat { padding: 8px 0 24px; }
.th-praat .wrap { background: var(--wit); border: 1px solid var(--rand); border-radius: 18px; padding: 16px 18px; }
html[data-thema="hout"] .th-praat .wrap { border-radius: 26px; }

.th-slot { margin: 8px 16px 20px; text-align: center; font-family: var(--font-kop); font-style: italic; font-size: 1.15rem; }

@media (max-width: 640px) {
  .th-zoekform > .ic { display: none; }
  .th-zoekform { padding-left: 14px; }
  .th-zoekform input[type="search"] { font-size: 16px; }
  .th-zoekform input[type="search"]::placeholder { font-size: .8rem; }
  .th-zoekform button { width: 40px; height: 40px; }
  html[data-thema="hout"] .th-onder::before,
  html[data-thema="hout"] .th-onder::after { width: 16px; }
  html[data-thema="hout"] .th-hoek { width: 72px; height: 72px; }
}
@media (min-width: 800px) {
  .th-rij-b { grid-template-columns: 1fr 1fr; }
  .th-club { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  html[data-thema="hout"] .th-rij-a { grid-template-columns: 1.15fr 1fr .95fr; }
  html[data-thema="hout"] .th-rij-b { grid-template-columns: 1.05fr 1.2fr .9fr; }
  html[data-thema="hout"] .th-club { grid-column: auto; }
  html[data-thema="hout"] .th-weer-in { grid-template-columns: 1fr; }
  html[data-thema="hout"] .th-weer-cijfers { gap: 6px; }
  html[data-thema="hout"] .th-weer-kaart { min-height: 150px; }
  html[data-thema="hout"] .th-eiland-svg { min-height: 140px; }
  html[data-thema="kust"] body[data-th-home] .kop {
    position: absolute; top: 0; left: 0; right: 0; z-index: 30;
    background: linear-gradient(180deg, rgba(255, 248, 236, .5), rgba(255, 248, 236, 0));
    box-shadow: none;
  }
  html[data-thema="kust"] .th-home { position: relative; }
  html[data-thema="kust"] .th-hero { min-height: 560px; padding-top: 108px; padding-right: min(400px, 36vw); padding-bottom: 92px; }
  html[data-thema="kust"] .th-rij-a { display: flex; gap: 14px; align-items: stretch; }
  html[data-thema="kust"] .th-rij-a > .th-nieuws,
  html[data-thema="kust"] .th-rij-a > .th-agenda { flex: 1; }
  html[data-thema="kust"] .th-weer {
    position: absolute; top: 76px; right: 0; z-index: 3; width: min(360px, 34vw); height: 460px; margin: 0;
    border-radius: 0 0 0 42%;
    background: linear-gradient(200deg, rgba(10, 42, 58, .2), rgba(10, 58, 74, .94) 46%, #0e5a72);
    box-shadow: none; display: flex; align-items: center;
  }
  html[data-thema="kust"] .th-weer-in { grid-template-columns: 1fr; height: 100%; align-content: center; padding: 18px 16px 18px 48px; }
  html[data-thema="kust"] .th-weer-kaart { min-height: 200px; background: rgba(231, 240, 212, .96); }
  html[data-thema="kust"] .th-rij-b { grid-template-columns: 1fr 1fr 1fr; }
  html[data-thema="kust"] .th-club { grid-column: auto; }
}

html[data-thema="hout"] body[data-th-home] { background: #145a72; padding: 14px 16px 18px; }
@media (max-width: 899px) {
  html[data-thema="hout"] body[data-th-home] {
    padding-bottom: calc(18px + var(--onderbalk) + env(safe-area-inset-bottom, 0px));
  }
}
html[data-thema="hout"] body[data-th-home] .kop {
  margin: 0; border: 12px solid #4a2e1a; border-bottom: 4px solid #c6a15a; border-radius: 32px 32px 0 0;
  box-shadow: inset 0 0 0 2px #e6c98a; top: 14px;
}
html[data-thema="hout"] body[data-th-home] main {
  margin: 0; border: 12px solid #4a2e1a; border-top: 0; border-radius: 0 0 32px 32px;
  background: #f3e6c8; box-shadow: inset 0 0 0 2px #e6c98a;
}
html[data-thema] body[data-th-home] .wrap { max-width: none; }
html[data-thema="hout"] body[data-th-home] .th-slot {
  margin: 20px 0 0; padding: 16px 20px 18px;
  background: linear-gradient(180deg, #5c3c24, #3a2616);
  color: #f6e7c4; border-top: 3px solid #c6a15a; font-size: 1.25rem;
}
html[data-thema="hout"] body[data-th-home] .voet { margin: 0 -16px -18px; }
html[data-thema="kust"] .th-slot { margin: 0; padding: 22px 16px; background: #0e6e86; color: #fff; }

html[data-thema="hout"] .paginakop.plein {
  background:
    linear-gradient(180deg, rgba(243, 230, 200, .78), rgba(243, 230, 200, .94)),
    var(--thb-hout) center 36% / cover no-repeat;
  --plein-tekst: #2a1c12; --plein-zacht: #4a3a28; --snel-bg: rgba(255, 255, 255, .8);
  margin: 0; border: 0; box-shadow: none; padding-top: 28px;
}
html[data-thema="kust"] .paginakop.plein {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .4), rgba(244, 239, 228, .94)),
    var(--thb-kust) center 40% / cover no-repeat;
  --plein-tekst: #1c2c33; --plein-zacht: #3d5160; --snel-bg: rgba(255, 255, 255, .8);
  padding: 28px 0 20px;
}
html[data-thema="hout"] .plein-strook { background: var(--thb-hout) center 40% / cover no-repeat; min-height: 96px; }
html[data-thema="kust"] .plein-strook { background: var(--thb-kust) center 42% / cover no-repeat; min-height: 96px; }
html[data-thema] .plein-strook .plein-terug { background: rgba(255, 255, 255, .9); color: #2a1c12; }

html[data-thema="hout"] :is(.kaart, .nk, .wegwijzer) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 42px), #fbf6ea;
  border-color: #cbb892;
}
html[data-thema="hout"] .home-bovenkop { color: #6b3a1b; }
html.lg-avond[data-thema="hout"] .home-bovenkop { color: var(--zee); }

html[data-thema="hout"] .voet { background: #2a1a0e; color: #e7d3b0; border-top: 6px solid #c6a15a; }
html[data-thema="hout"] .voet :is(.voet-naam, .voet-kop, a) { color: #f6ecd4; }
html[data-thema="kust"] .voet { background: linear-gradient(180deg, #0e6e86, #0b3d4c); border-top: 0; }
html[data-thema="hout"] .onderbalk { background: #2c1c10; border-top-color: #c6a15a; }
html[data-thema="hout"] .onderbalk a { color: #e7d3b0; }
html[data-thema="hout"] .onderbalk a[aria-current="page"] { color: #e2b04a; }
html[data-thema="kust"] .onderbalk { border-top-color: #c5e0e8; }
html[data-thema="kust"] .onderbalk a[aria-current="page"] { color: #0e6e86; }

html[data-thema="hout"] :is(.kop, .zijbalk, .onderbalk, .voet) :focus-visible {
  outline: 3px solid #e2b04a; box-shadow: 0 0 0 5px rgba(226, 176, 74, .35);
}
html[data-thema] .th-nav :focus-visible { outline: 3px solid #e2b04a; outline-offset: 2px; }

html[data-thema="hout"] .zijbalk .zb-ic {
  border-radius: 50%; color: #e2b04a; background: radial-gradient(circle at 50% 38%, #5a3a1e, #24160a);
  box-shadow: 0 0 0 1.5px rgba(198, 161, 90, .75);
}
html[data-thema="hout"] .zijbalk :is(.zb-link:hover, .zb-link[aria-current="page"], .zb-groep > summary:hover) .zb-ic {
  background: radial-gradient(circle at 40% 35%, #f0c76a, #c88f2c); color: #2a1a0e;
}
html[data-thema="hout"] .zijbalk .zb-plaatsen .zb-ic { background: #2a1a0e; color: #e2b04a; }
html[data-thema="hout"] .zijbalk .zb-groep summary { color: #e7d3b0; }
html[data-thema="hout"] .zijbalk .zb-groep summary:hover { background: rgba(255, 236, 200, .1); }
html[data-thema="hout"] .zijbalk .zb-groep summary .zb-ic { width: 26px; height: 26px; }
html[data-thema="hout"] .zijbalk .zb-tal { background: rgba(226, 176, 74, .2); color: #f0c76a; }
html[data-thema="hout"] .zijbalk .zb-nav .zb-link[aria-current="page"] .zb-ic { background: #2a1a0e; color: #f0c76a; box-shadow: 0 0 0 1.5px #2a1a0e; }
html[data-thema="kust"] .zijbalk .zb-groep summary .zb-ic { background: #f4e4c4; color: #8a6200; }
html[data-thema="kust"] .zijbalk .zb-nav .zb-link[aria-current="page"] .zb-ic { background: #ffffff; color: #0e6e86; }
html[data-thema="kust"] .zijbalk .zb-ic { border-radius: 11px; background: #e5f4f8; color: #0e6e86; }
html[data-thema="kust"] .zijbalk :is(.zb-link:hover, .zb-link[aria-current="page"], .zb-groep > summary:hover) .zb-ic { background: #0e6e86; color: #fff; }
html[data-thema] .zijbalk .zb-ic { transition: transform .25s ease, background-color .2s, color .2s; }
@media (prefers-reduced-motion: no-preference) {
  html[data-thema] .zijbalk .zb-link:hover .zb-ic { transform: rotate(-8deg) scale(1.06); }
}

html[data-thema] .onderbalk a .ic { transition: transform .2s; }
html[data-thema] .onderbalk li:not(.onder-plaatsen) a[aria-current="page"] .ic {
  width: 44px; height: 28px; padding: 4px 12px; box-sizing: border-box; border-radius: 999px;
}
html[data-thema="hout"] .onderbalk li:not(.onder-plaatsen) a[aria-current="page"] .ic { background: rgba(226, 176, 74, .2); color: #f0c76a; }
html[data-thema="kust"] .onderbalk li:not(.onder-plaatsen) a[aria-current="page"] .ic { background: #e5f4f8; color: #0e6e86; }
html[data-thema="hout"] .onderbalk .onder-plaatsen a .ic { background: radial-gradient(circle at 40% 35%, #f0c76a, #c88f2c) !important; color: #2a1a0e !important; box-shadow: 0 0 0 2px #2c1c10, 0 0 0 3.5px #c6a15a; }
html[data-thema="kust"] .onderbalk .onder-plaatsen a .ic { background: #0e6e86 !important; color: #fff !important; box-shadow: 0 6px 14px rgba(14, 110, 134, .35); }
@media (prefers-reduced-motion: no-preference) {
  html[data-thema] .onderbalk a:active .ic { transform: scale(.9); }
}

html[data-thema] .th-kaart-kop h2 > .ic { flex: none; width: 32px; height: 32px; padding: 6px; box-sizing: border-box; }
html[data-thema="hout"] .th-kaart-kop h2 > .ic { border-radius: 50%; color: #e2b04a; background: radial-gradient(circle at 50% 38%, #5a3a1e, #24160a); box-shadow: 0 0 0 1.5px #c6a15a; }
html[data-thema="kust"] .th-kaart-kop h2 > .ic { border-radius: 10px; color: #0e6e86; background: #e5f4f8; }
html[data-thema="kust"] :is(.th-buurt, .th-club) .th-kaart-kop h2 > .ic,
html.lg-avond[data-thema="kust"] .th-eiland .th-kaart-kop h2 > .ic { color: #fff; background: rgba(255, 255, 255, .18); }
html[data-variant="wad"] .th-kaart-kop h2 > .ic { color: var(--zee); background: var(--zee-licht); }
html.lg-avond[data-variant="wad"] .th-eiland .th-kaart-kop h2 > .ic { color: #fff; background: rgba(255, 255, 255, .18); }
html[data-thema] .th-kaart-kop a .ic { transition: transform .2s; }
html[data-thema] .th-kaart-kop a:hover .ic { transform: translateX(3px); }

.th-sfeer { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
@media (min-width: 1100px) { html[data-thema="kust"] body[data-th-home] .th-sfeer { top: 72px; } }
html[data-thema="hout"] .th-sfeer { inset: calc(var(--th-rand) - 6px); border-radius: calc(var(--th-bocht) + 8px); }
html[data-thema="kust"] .th-sfeer { bottom: 60px; }
.th-hero-tekst, .th-snel { transition: transform .5s cubic-bezier(.2, .8, .3, 1); }
.th-hero.is-muis .th-hero-tekst { transform: translate(calc(var(--th-px, 0) * -7px), calc(var(--th-py, 0) * -5px)); }
.th-hero.is-muis .th-snel { transform: translate(calc(var(--th-px, 0) * 5px), calc(var(--th-py, 0) * 3px)); }
.th-licht {
  position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background:
    radial-gradient(circle 200px at var(--th-mx, 50%) var(--th-my, 40%), rgba(255, 222, 160, .34), rgba(255, 190, 110, .12) 55%, transparent 80%),
    radial-gradient(circle 520px at var(--th-mx, 50%) var(--th-my, 40%), transparent 32%, rgba(24, 12, 4, .3) 100%);
}
.th-hero.is-muis .th-licht { opacity: 1; }
.th-vonk {
  position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: radial-gradient(circle, #fff6d8, #f0c76a 45%, rgba(226, 150, 40, 0) 70%);
  box-shadow: 0 0 8px 2px rgba(255, 190, 90, .7);
  animation: th-vonk 1.1s ease-out forwards;
}
@keyframes th-vonk { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.th-meeuw {
  position: absolute; width: calc(40px * var(--s, 1)); height: calc(16px * var(--s, 1)); padding: 10px; margin: -10px;
  box-sizing: content-box; pointer-events: auto; cursor: pointer; color: #2a3a44;
  animation: th-zweef 9s ease-in-out infinite alternate;
}
.th-meeuw svg { display: block; width: 100%; height: 100%; fill: currentColor; opacity: .82; transition: transform .2s; }
.th-meeuw:hover svg { transform: scale(1.15) rotate(-6deg); }
.th-meeuw.is-weg { animation: th-weg 1.4s cubic-bezier(.4, 0, .9, .6) forwards; pointer-events: none; }
.th-meeuw.is-terug { animation: th-terug 1.2s ease-out; }
@keyframes th-zweef { 0% { transform: translate(0, 0) rotate(0); } 30% { transform: translate(26px, -8px) rotate(-3deg); } 65% { transform: translate(54px, 4px) rotate(2deg); } 100% { transform: translate(80px, -4px) rotate(0); } }
@keyframes th-weg { to { transform: translate(260px, -200px) scale(.4) rotate(-14deg); opacity: 0; } }
@keyframes th-terug { from { transform: translate(-120px, -40px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.th-kring {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(14, 110, 134, .3);
  animation: th-kring 1.2s ease-out forwards;
}
@keyframes th-kring { from { transform: scale(.4); opacity: 1; } to { transform: scale(5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .th-meeuw, .th-meeuw.is-weg, .th-meeuw.is-terug { animation: none; }
  .th-meeuw.is-weg { opacity: 0; transition: opacity .3s; }
}
html.lg-avond[data-thema] .th-sfeer { display: none; }
@media print { .th-sfeer { display: none !important; } }

@media (prefers-reduced-motion: no-preference) {
  .th-snel a, .th-snel-ic, .th-cirkel, .th-ag-datum, .th-kaart, .th-eiland-svg circle, .th-buurt-lijst .ic { transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
  html[data-thema="hout"] .th-snel a { transform-origin: 50% -18px; }
  html[data-thema="hout"] .th-snel a:is(:hover, :focus-visible) { animation: th-schommel .9s ease-in-out; }
  html[data-thema="hout"] .th-snel a:is(:hover, :focus-visible) .th-snel-ic { transform: translateX(-50%) rotate(-10deg) scale(1.08); box-shadow: 0 0 0 2px #1c1008, 0 0 14px rgba(226, 176, 74, .7); }
  html[data-thema="kust"] .th-snel a:is(:hover, :focus-visible) { transform: translateY(-5px); box-shadow: 0 16px 28px rgba(0, 0, 0, .24); }
  html[data-thema="kust"] .th-snel a:is(:hover, :focus-visible) .th-snel-ic { transform: scale(1.12); background: rgba(255, 255, 255, .3); }
  html[data-thema="kust"] .th-hero::after { animation: th-golf 7s ease-in-out infinite alternate; }
  .th-kaart:hover { transform: translateY(-2px); }
  .th-iconen a:is(:hover, :focus-visible) .th-cirkel { transform: translateY(-3px) rotate(-8deg) scale(1.06); }
  .th-ag:is(:hover, :focus-visible) .th-ag-datum { transform: rotate(-4deg) scale(1.05); }
  .th-buurt-lijst a:is(:hover, :focus-visible) .ic { transform: translateX(3px) scale(1.15); }
  .th-weer-kaart:is(:hover, :focus-visible) .th-eiland-svg circle { transform: scale(1.5); }
  .th-eiland-svg circle { transform-box: fill-box; transform-origin: center; }
  html[data-thema="hout"] .th-nieuws-foto img, html[data-thema="kust"] .th-nieuws-foto img { transition: transform .5s ease; }
  .th-nieuws-foto:hover img { transform: scale(1.04); }
}
@keyframes th-schommel { 0% { transform: rotate(0); } 25% { transform: rotate(2.2deg); } 55% { transform: rotate(-1.6deg); } 80% { transform: rotate(.7deg); } 100% { transform: rotate(0); } }
@keyframes th-golf { from { transform: translateY(0); } to { transform: translateY(6px); } }

html.lg-avond[data-thema] {
  --zand: #0b1f25; --wit: #12303a; --tekst: #e8f1f2; --tekst-zacht: #a9c3c8; --rand: #2b4c55; --rand-veld: #7d9ca3;
  --zee: #8fd0de; --zee-donker: #e8f1f2; --zee-licht: #1c434d; --dijk: #a5dc98; --dijk-licht: #1d3d30;
  --zon-donker: #f2c76b; --rood: #ff8f80; --rood-licht: #3e2220;
}
html.lg-avond[data-thema] body,
html.lg-avond[data-thema] body[data-th-home] {
  background: #0b1f25; padding: 0;
  padding-bottom: calc(var(--onderbalk) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) {
  html.lg-avond[data-thema] body,
  html.lg-avond[data-thema] body[data-th-home] { padding-bottom: 0; }
}
html.lg-avond[data-thema="kust"] body[data-th-home] .kop { position: sticky; background: #061a20; }
html.lg-avond[data-thema] body[data-th-home] :is(.kop, main) {
  margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #0b1f25;
}
html.lg-avond[data-thema] .th-hero {
  background: #04161d !important; border: 0; border-image: none; box-shadow: none; color: #e8f1f2; min-height: 0;
}
html.lg-avond[data-thema] .th-hero::before,
html.lg-avond[data-thema] .th-hero::after,
html.lg-avond[data-thema] .th-hoek,
html.lg-avond[data-thema] .th-vlecht { display: none; }
html.lg-avond[data-thema] .th-titel,
html.lg-avond[data-thema] .th-onder,
html.lg-avond[data-thema] .th-onder span { color: #fff; text-shadow: none; background: transparent; }
html.lg-avond[data-thema="hout"] .th-onder::before,
html.lg-avond[data-thema="hout"] .th-onder::after { background: #8fd0de; }
html.lg-avond[data-thema] .th-weer { position: static !important; width: auto !important; height: auto !important; border-radius: 18px; }
html.lg-avond[data-thema] .th-rij-a { display: grid !important; }
html.lg-avond[data-thema] :is(.paginakop.plein, .plein-strook) { background: #04161d; }
html.lg-avond[data-thema] :is(.kop, .zijbalk, .voet, .onderbalk) {
  background: #061a20; color: #e8f1f2; border-color: #2b4c55;
}
html.lg-avond[data-thema] body[data-th-home] .voet { margin: 0; }
html.lg-avond[data-thema] :is(.merk, .merk-naam, .kop-login, .kop-ik, .menuknop, .kop-bel, .zb-link, .voet a) { color: #e8f1f2; }
html.lg-avond[data-thema] .th-nav { --thn-tekst: #e8f1f2; --thn-ic: #f2c76b; --thn-actief: #f2c76b; --thn-hover: rgba(255, 255, 255, .1); }
html.lg-avond[data-thema] .th-nav > a.th-home { background: #f2c76b; color: #061a20; box-shadow: none; }
html.lg-avond[data-thema] .th-sub { background: #12303a; color: #e8f1f2; border: 1px solid #2b4c55; box-shadow: 0 22px 44px rgba(0, 0, 0, .5); }
html.lg-avond[data-thema] .th-mega-kop { color: #f2c76b; background: none; border-bottom: 1px solid #2b4c55; }
html.lg-avond[data-thema] .th-sub .th-ic { background: #1c434d; color: #f2c76b; box-shadow: none; border-radius: 12px; }
html.lg-avond[data-thema] .th-sub a:hover,
html.lg-avond[data-thema] .th-sub a[aria-current="page"] { background: #1c434d; }
html.lg-avond[data-thema] .th-sub a:hover .th-ic,
html.lg-avond[data-thema] .th-sub a[aria-current="page"] .th-ic { background: #f2c76b; color: #061a20; }
html.lg-avond[data-thema] .th-mega-tekst small { color: #a9c3c8; }
html.lg-avond[data-thema] .th-sub a.th-sub-kop { color: #f2c76b; }
html.lg-avond[data-thema] .th-sub-extra { border-bottom-color: #2b4c55; }
html.lg-avond[data-thema] :is(.kaart, .nk, .wegwijzer, .th-nieuws, .th-agenda) { background: #12303a; border-color: #2b4c55; }
html.lg-avond[data-thema] .th-ag-datum { background: #1c434d; border-color: #2b4c55; color: #e8f1f2; }
html.lg-avond[data-thema] .th-slot { background: transparent; color: #e8f1f2; }
html.lg-avond[data-thema="kust"] .th-eiland { background: #12303a; border-color: #2b4c55; color: #e8f1f2; }

@media print {
  html[data-thema] body,
  html[data-thema] body[data-th-home] { background: #fff !important; padding: 0 !important; }
  html[data-thema="kust"] body[data-th-home] .kop { position: static !important; background: #fff !important; }
  html[data-thema] body[data-th-home] :is(.kop, main, .voet) { margin: 0 !important; border: 0 !important; box-shadow: none !important; }
  html[data-thema] .th-hero { background: none !important; color: #000 !important; border: 0 !important; border-image: none !important; box-shadow: none !important; }
  html[data-thema] .th-hero::before,
  html[data-thema] .th-hero::after { content: none !important; }
  html[data-thema] .th-vlecht { display: none !important; }
  html[data-thema] body[data-th-home] :is(.kop, main) { border-radius: 0 !important; }
  html[data-thema] .th-weer { position: static !important; width: auto !important; height: auto !important; }
}

html.lg-avond[data-thema="hout"] {
  --zand: #17100a; --wit: #241810; --tekst: #f3e6cf; --tekst-zacht: #cdb894; --rand: #4a3522; --rand-veld: #9a7f58;
  --zee: #f0c76a; --zee-donker: #f6ecd4; --zee-licht: #3a2818; --dijk: #b5d68f; --dijk-licht: #24301a;
  --zon-donker: #f2c76b; --rood: #ff9a80; --rood-licht: #3e2220;
}
html.lg-avond[data-thema="hout"] body,
html.lg-avond[data-thema="hout"] body[data-th-home],
html.lg-avond[data-thema="hout"] body[data-th-home] main,
html.lg-avond[data-thema="hout"] body[data-th-home] :is(main, .th-home) { background: #17100a; }
html.lg-avond[data-thema="hout"] :is(.kop, .zijbalk, .voet, .onderbalk),
html.lg-avond[data-thema="hout"] body[data-th-home] .kop {
  background: linear-gradient(180deg, rgba(14, 8, 3, .86), rgba(10, 6, 2, .92)), var(--thb-plank) center / cover; border-color: #5a4226;
}
html.lg-avond[data-thema="hout"] :is(.paginakop.plein, .plein-strook) {
  background: linear-gradient(180deg, rgba(14, 8, 3, .72), rgba(23, 16, 10, .95)), var(--thb-hout) center 36% / cover no-repeat;
  --plein-tekst: #f6ecd4; --plein-zacht: #d7c4a2; --snel-bg: rgba(36, 24, 16, .85);
}
html.lg-avond[data-thema="hout"] .th-hero { background: transparent !important; min-height: 380px; }
html.lg-avond[data-thema="hout"] .th-hero::after {
  display: block; background: linear-gradient(180deg, rgba(12, 10, 34, .58), rgba(20, 10, 4, .72)), var(--thb-hout) center 42% / cover no-repeat;
}
html.lg-avond[data-thema="hout"] .th-vlecht { display: block; filter: brightness(.72) drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); }
html.lg-avond[data-thema="hout"] .th-titel { text-shadow: 0 2px 12px rgba(0, 0, 0, .65); }
html.lg-avond[data-thema="hout"] .th-onder span { background: rgba(36, 24, 16, .85); }
html.lg-avond[data-thema="hout"] .th-snel-ic { box-shadow: 0 0 0 2px #1c1008, inset 0 0 0 1px #8a6230, 0 0 16px 4px rgba(255, 180, 70, .55); }
html.lg-avond[data-thema="hout"] :is(.kaart, .nk, .wegwijzer, .th-nieuws, .th-agenda) {
  background: #241810; border-color: #4a3522; box-shadow: inset 0 0 0 1px rgba(226, 176, 74, .22);
}
html.lg-avond[data-thema="hout"] .th-ag-datum { background: #3a2818; border-color: #5a4226; color: #f3e6cf; }
html.lg-avond[data-thema="hout"] .th-nav { --thn-tekst: #f6ecd4; --thn-ic: #e2b04a; --thn-actief: #f0c76a; --thn-hover: rgba(255, 236, 200, .1); --thn-ring: #120c07; }
html.lg-avond[data-thema="hout"] .th-nav > a.th-home { background: radial-gradient(circle at 40% 35%, #f0c76a, #c88f2c); color: #2a1a0e; }
html.lg-avond[data-thema="hout"] :is(.th-sub, .th-dag, .th-palet-doos) {
  color: #f6ecd4; border: 1px solid #c6a15a;
  background: linear-gradient(180deg, rgba(30, 18, 9, .97), rgba(16, 10, 4, .98)), var(--thb-plank) center / cover;
}
html.lg-avond[data-thema="hout"] .th-mega-kop { color: #f0c76a; border-bottom-color: rgba(198, 161, 90, .4); }
html.lg-avond[data-thema="hout"] .th-sub .th-ic {
  border-radius: 50%; color: #e2b04a; background: radial-gradient(circle at 50% 38%, #5a3a1e, #24160a); box-shadow: 0 0 0 1.5px #c6a15a;
}
html.lg-avond[data-thema="hout"] .th-sub a:hover, html.lg-avond[data-thema="hout"] .th-sub a[aria-current="page"] { background: rgba(255, 228, 180, .1); }
html.lg-avond[data-thema="hout"] .th-sub a:hover .th-ic,
html.lg-avond[data-thema="hout"] .th-sub a[aria-current="page"] .th-ic { background: radial-gradient(circle at 40% 35%, #f0c76a, #c88f2c); color: #2a1a0e; }
html.lg-avond[data-thema="hout"] .th-mega-tekst small { color: #cdb894; }
html.lg-avond[data-thema="hout"] .th-mk { background: rgba(226, 176, 74, .1); border-color: rgba(198, 161, 90, .35); }
html.lg-avond[data-thema="hout"] .th-extra { background: rgba(226, 176, 74, .2); color: #f0c76a; }
html.lg-avond[data-thema="hout"] .th-dag-ic { background: rgba(226, 176, 74, .14); color: #e2b04a; }

html.lg-avond[data-thema="kust"] { --zee: #9fd6ea; }
html.lg-avond[data-thema="kust"] .th-hero {
  background:
    radial-gradient(circle at 80% 16%, #fffbe8 0 18px, rgba(255, 248, 215, .45) 19px, rgba(255, 248, 215, .12) 34px, rgba(255, 248, 215, 0) 70px),
    radial-gradient(ellipse 60px 140px at 80% 92%, rgba(255, 248, 215, .22), transparent 70%),
    linear-gradient(180deg, rgba(6, 16, 44, .74), rgba(6, 24, 40, .8)),
    var(--thb-kust) center 22% / cover no-repeat !important;
  min-height: 440px;
}
html.lg-avond[data-thema="kust"] .th-hero::after {
  display: block;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path fill='%230e3a4a' d='M0 48c180 30 300-16 480 6s320 40 500 8 280-36 460-4v32H0z'/><path fill='%230b1f25' d='M0 64c200 22 320-12 500 8s340 26 500 2 260-28 440-4v20H0z'/></svg>") center / 100% 100% no-repeat;
}
html.lg-avond[data-thema="kust"] .th-titel { text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
html.lg-avond[data-thema="kust"] .th-snel a { background: rgba(6, 22, 40, .7); border-color: rgba(159, 214, 234, .3); }
html.lg-avond[data-thema="kust"] :is(.paginakop.plein, .plein-strook) {
  background: linear-gradient(180deg, rgba(6, 16, 44, .7), rgba(11, 31, 37, .95)), var(--thb-kust) center 40% / cover no-repeat;
  --plein-tekst: #e8f1f2; --plein-zacht: #b9d0d6; --snel-bg: rgba(18, 48, 58, .85);
}
html.lg-avond[data-thema] .th-kop-tekening { color: #f2c76b; --th-tek-vlak: rgba(242, 199, 107, .14); --th-tek-vlak2: rgba(242, 199, 107, .28); }
@media (min-width: 1100px) {
  html.lg-avond[data-thema="kust"] .th-hero { padding-top: 48px; min-height: 480px; }
}

html.th-fx-uit-water[data-thema="kust"] .th-hero::after { animation: none !important; }
html.th-fx-uit-water[data-thema="kust"] .th-hero::after { height: 78px; }
html.th-fx-uit-licht[data-thema="hout"] .th-snel-ic { animation: none !important; }
html.th-fx-uit-licht.th-dag-avond[data-thema="hout"] .th-snel-ic,
html.th-fx-uit-licht.th-dag-nacht[data-thema="hout"] .th-snel-ic { box-shadow: 0 0 0 2px #1c1008, inset 0 0 0 1px #8a6230; }
html.th-fx-uit-licht[data-thema="hout"] .th-snel a:is(:hover, :focus-visible) { animation: none; }
html.th-fx-uit-kantelen .th-home .th-kaart:hover { transform: none; }

.th-dag-lijst .th-dag-dorp a { font-weight: 800; }
html[data-thema="hout"] .th-dag-dorp .th-dag-ic { background: #e2b04a; color: #2a1a0e; }
html[data-thema="kust"] .th-dag-dorp .th-dag-ic { background: #f0b429; color: #2a1a0e; }
@media (prefers-reduced-motion: no-preference) { .th-dag:not([hidden]) .th-dag-dorp .th-dag-ic svg { animation: th-wapper 1.6s ease-in-out infinite alternate; transform-origin: left center; } }

html[data-thema="hout"] .th-hero.met-seizoensfoto::after {
  background: linear-gradient(180deg, rgba(255, 244, 220, .12), rgba(20, 16, 8, .08) 42%, rgba(20, 16, 8, .28)), var(--th-foto) center 42% / cover no-repeat;
}
html[data-thema="kust"] .th-hero.met-seizoensfoto {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 28%, rgba(14, 50, 70, .18)), var(--th-foto) center 22% / cover no-repeat;
}
.th-hero.met-seizoensfoto .th-seizoenlaag { display: none; }

html[data-variant="wad"] {
  --zee: #3c6455; --zee-donker: #203a32; --zee-licht: #e3ece6;
  --dijk: #436c3d; --dijk-licht: #e6efe1;  
  --zon: #e0b84c; --zon-donker: #7a5e12;
  --zand: #eef0e8; --wit: #ffffff;
  --tekst: #1f2b27; --tekst-zacht: #4c5d56;
  --rand: #d4ddd5; --rand-veld: #6c7d75;
}
html[data-variant="wad"] body { background: var(--zand); }
html[data-variant="wad"] .kop .knop-geel { background: #3c6455; border-color: #3c6455; color: #fff; }
html[data-variant="wad"] .kop .knop-geel:hover { background: #2c4d41; border-color: #2c4d41; }
html[data-variant="wad"] .kop-login:hover { background: #e3ece6; color: #3c6455; }
html[data-variant="wad"] .th-nav { --thn-tekst: #1f2b27; --thn-ic: #3c6455; --thn-actief: #3c6455; --thn-hover: #e3ece6; }
html[data-variant="wad"] .th-nav > a.th-home { background: #3c6455; box-shadow: 0 4px 10px rgba(60, 100, 85, .28); }
html[data-variant="wad"] .zijbalk { background: linear-gradient(180deg, #ffffff 62%, #dfe9e0 100%); border-right-color: #cfdcd2; }
html[data-variant="wad"] .zijbalk .zb-ic { background: #e3ece6; color: #3c6455; }
html[data-variant="wad"] .zijbalk :is(.zb-link:hover, .zb-link[aria-current="page"], .zb-groep > summary:hover) .zb-ic { background: #3c6455; color: #fff; }
html[data-variant="wad"] .zijbalk .zb-nav .zb-link[aria-current="page"] .zb-ic { background: #fff; color: #3c6455; }
html[data-variant="wad"] .zijbalk .zb-groep summary .zb-ic { background: #efe6c8; color: #7a5e12; }
html[data-variant="wad"] .th-sub { border-color: #d4ddd5; box-shadow: 0 24px 48px rgba(32, 58, 50, .18), 0 2px 6px rgba(32, 58, 50, .06); background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #f1efe4 100%); }
html[data-variant="wad"] .th-mega-kop {
  color: #203a32;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8'%3E%3Cpath d='M0 6c10-4 20-4 30 0s20 4 30 0 20-4 30 0 20 4 30 0' fill='none' stroke='%238fb39a' stroke-width='2'/%3E%3C/svg%3E") left bottom / 120px 8px repeat-x;
}
html[data-variant="wad"] .th-sub .th-ic { background: #e3ece6; color: #3c6455; }
html[data-variant="wad"] .th-sub a:hover { background: #f1f5f2; }
html[data-variant="wad"] .th-sub a:hover .th-ic, html[data-variant="wad"] .th-sub a[aria-current="page"] .th-ic { background: #3c6455; color: #fff; }
html[data-variant="wad"] .th-sub a[aria-current="page"] { background: #e3ece6; }
html[data-variant="wad"] .th-mega-tekst small { color: #4c5d56; }
html[data-variant="wad"] .th-mk { background: linear-gradient(160deg, #e3ece6, #f3f1e6); border-color: #d4ddd5; }
html[data-variant="wad"] .th-mk-kop, html[data-variant="wad"] .th-mk-meer { color: #3c6455 !important; }
html[data-variant="wad"] .th-extra { background: #e3ece6; color: #3c6455; }
html[data-variant="wad"] .th-mk-datum b, html[data-variant="wad"] .th-mk-av { background: #3c6455; }
html[data-variant="wad"] .th-mk-zwaai, html[data-variant="wad"] .th-mk-kijk { background: #3c6455; }
html[data-variant="wad"] .th-mk-raden-knoppen a { color: #3c6455; border-color: #c3d3c8; }
html[data-variant="wad"] .th-mk-raden-knoppen a:hover, html[data-variant="wad"] .th-dorptabs button[aria-pressed="true"] { background: #3c6455; color: #fff; }
html[data-variant="wad"] .th-dorptabs { background: rgba(60, 100, 85, .1); }
html[data-variant="wad"] .th-pin[aria-pressed="true"] { color: #c99a1c; }
html[data-variant="wad"] .th-dag { border-color: #d4ddd5; box-shadow: 0 24px 48px rgba(32, 58, 50, .18); }
html[data-variant="wad"] .th-dag-ic { background: #e3ece6; color: #3c6455; }
html[data-variant="wad"] .th-palet-lijst .zb-ic { background: #e3ece6; color: #3c6455; }
html[data-variant="wad"] .th-palet-lijst a[aria-selected="true"] { background: #e3ece6; }
html[data-variant="wad"] .th-kop-tekening { color: #3c6455; --th-tek-vlak: rgba(255, 255, 255, .75); --th-tek-vlak2: #efe6c8; }
html[data-variant="wad"] .th-tekening { color: #3c6455; --th-tek-vlak: #e3ece6; --th-tek-vlak2: #efe6c8; }
html[data-variant="wad"] .onderbalk li:not(.onder-plaatsen) a[aria-current="page"] .ic { background: #e3ece6; color: #3c6455; }
html[data-variant="wad"] .onderbalk a[aria-current="page"] { color: #3c6455; }
html[data-variant="wad"] .onderbalk .onder-plaatsen a .ic { background: #3c6455 !important; box-shadow: 0 6px 14px rgba(60, 100, 85, .35); }
html[data-variant="wad"] .voet { background: linear-gradient(180deg, #3c6455, #203a32); }
html[data-variant="wad"] .th-slot { background: #3c6455; }
html[data-variant="wad"] .th-ag-datum { background: #e3ece6; border-color: #c3d3c8; color: #203a32; }
html[data-variant="wad"] .th-kaart-kop h2 > .ic { background: #e3ece6; color: #3c6455; }
html[data-variant="wad"] .th-cirkel { background: #e3ece6; color: #3c6455; }
html[data-variant="wad"] .th-getij-ballon { background: #203a32; }
html[data-variant="wad"] .th-getij-ballon::after { border-top-color: #203a32; }

html[data-variant="wad"] .th-hero { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23c4d4d9'/%3E%3Cstop offset='1' stop-color='%23eef0e6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1440' height='560' fill='url(%23l)'/%3E%3Ccircle cx='1180' cy='96' r='34' fill='rgba(255,240,200,.55)'/%3E%3Cg fill='rgba(255,255,255,.8)'%3E%3Cellipse cx='260' cy='96' rx='120' ry='26'/%3E%3Cellipse cx='330' cy='80' rx='80' ry='24'/%3E%3Cellipse cx='880' cy='140' rx='150' ry='22'/%3E%3Cellipse cx='960' cy='126' rx='70' ry='20'/%3E%3Cellipse cx='560' cy='60' rx='90' ry='16'/%3E%3C/g%3E%3Crect y='292' width='1440' height='48' fill='%23a7c1c4'/%3E%3Cpath d='M0 300 H1440' stroke='%237f8c87' stroke-width='2'/%3E%3Cg fill='%237f8c87'%3E%3Crect x='1050' y='268' width='6' height='26'/%3E%3Cpath d='M1047 270 l6 -14 6 14z'/%3E%3Crect x='1060' y='280' width='34' height='14'/%3E%3Cpath d='M1058 282 l19 -10 19 10z'/%3E%3Crect x='300' y='286' width='60' height='6'/%3E%3Cpath d='M140 296 h40 v-6 h-40z'/%3E%3C/g%3E%3Cpath d='M0 332 C300 322 600 346 900 336 S1300 326 1440 336 V480 H0Z' fill='%23d9cfb0'/%3E%3Cpath d='M40 382 C300 362 520 402 760 382 S1100 362 1440 392 V408 C1100 378 800 414 560 404 S220 388 40 398Z' fill='%239ec1c6'/%3E%3Cpath d='M200 432 C420 420 600 440 820 428 S1100 418 1300 430 V438 C1100 428 900 446 700 444 S400 436 200 440Z' fill='%239ec1c6' opacity='.8'/%3E%3Cpath d='M0 458 C400 432 900 422 1440 402 V560 H0Z' fill='%236f9a62'/%3E%3Cpath d='M0 494 C400 472 900 462 1440 446 V560 H0Z' fill='%235c8551'/%3E%3Cpath d='M0 458 C400 432 900 422 1440 402' fill='none' stroke='%23cfc8ab' stroke-width='7'/%3E%3Cg fill='%23fbfaf3'%3E%3Cellipse cx='150' cy='478' rx='13' ry='8'/%3E%3Cellipse cx='204' cy='484' rx='11' ry='7'/%3E%3C/g%3E%3Cg fill='%233a3a36'%3E%3Cellipse cx='163' cy='474' rx='4' ry='3.5'/%3E%3Cellipse cx='214' cy='481' rx='3.5' ry='3'/%3E%3C/g%3E%3C/svg%3E") center bottom / cover no-repeat; }
html[data-variant="wad"] .th-hero::after {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path fill='%234f7d48' d='M0 48c180 30 300-16 480 6s320 40 500 8 280-36 460-4v32H0z'/><path fill='%23eef0e8' d='M0 64c200 22 320-12 500 8s340 26 500 2 260-28 440-4v20H0z'/></svg>") center / 100% 100% no-repeat;
}
html[data-variant="wad"] .th-titel { color: #1f2b27; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
html[data-variant="wad"] .th-onder { color: #2c3a35; }
html[data-variant="wad"] .th-zoekform button { background: #3c6455; }
html[data-variant="wad"] .th-snel a { background: rgba(32, 58, 50, .62); }
html[data-variant="wad"] .th-snel a:hover { background: rgba(32, 58, 50, .8); }
@media (min-width: 1100px) {
  html[data-variant="wad"] body[data-th-home] .kop { background: linear-gradient(180deg, rgba(240, 244, 238, .6), rgba(240, 244, 238, 0)); }
  html[data-variant="wad"] .th-weer { background: linear-gradient(200deg, rgba(32, 58, 50, .25), rgba(32, 58, 50, .94) 46%, #2c4d41); }
}
html[data-variant="wad"] :is(.paginakop.plein, .plein-strook) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(238, 240, 232, .92)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23c4d4d9'/%3E%3Cstop offset='1' stop-color='%23eef0e6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1440' height='560' fill='url(%23l)'/%3E%3Ccircle cx='1180' cy='96' r='34' fill='rgba(255,240,200,.55)'/%3E%3Cg fill='rgba(255,255,255,.8)'%3E%3Cellipse cx='260' cy='96' rx='120' ry='26'/%3E%3Cellipse cx='330' cy='80' rx='80' ry='24'/%3E%3Cellipse cx='880' cy='140' rx='150' ry='22'/%3E%3Cellipse cx='960' cy='126' rx='70' ry='20'/%3E%3Cellipse cx='560' cy='60' rx='90' ry='16'/%3E%3C/g%3E%3Crect y='292' width='1440' height='48' fill='%23a7c1c4'/%3E%3Cpath d='M0 300 H1440' stroke='%237f8c87' stroke-width='2'/%3E%3Cg fill='%237f8c87'%3E%3Crect x='1050' y='268' width='6' height='26'/%3E%3Cpath d='M1047 270 l6 -14 6 14z'/%3E%3Crect x='1060' y='280' width='34' height='14'/%3E%3Cpath d='M1058 282 l19 -10 19 10z'/%3E%3Crect x='300' y='286' width='60' height='6'/%3E%3Cpath d='M140 296 h40 v-6 h-40z'/%3E%3C/g%3E%3Cpath d='M0 332 C300 322 600 346 900 336 S1300 326 1440 336 V480 H0Z' fill='%23d9cfb0'/%3E%3Cpath d='M40 382 C300 362 520 402 760 382 S1100 362 1440 392 V408 C1100 378 800 414 560 404 S220 388 40 398Z' fill='%239ec1c6'/%3E%3Cpath d='M200 432 C420 420 600 440 820 428 S1100 418 1300 430 V438 C1100 428 900 446 700 444 S400 436 200 440Z' fill='%239ec1c6' opacity='.8'/%3E%3Cpath d='M0 458 C400 432 900 422 1440 402 V560 H0Z' fill='%236f9a62'/%3E%3Cpath d='M0 494 C400 472 900 462 1440 446 V560 H0Z' fill='%235c8551'/%3E%3Cpath d='M0 458 C400 432 900 422 1440 402' fill='none' stroke='%23cfc8ab' stroke-width='7'/%3E%3Cg fill='%23fbfaf3'%3E%3Cellipse cx='150' cy='478' rx='13' ry='8'/%3E%3Cellipse cx='204' cy='484' rx='11' ry='7'/%3E%3C/g%3E%3Cg fill='%233a3a36'%3E%3Cellipse cx='163' cy='474' rx='4' ry='3.5'/%3E%3Cellipse cx='214' cy='481' rx='3.5' ry='3'/%3E%3C/g%3E%3C/svg%3E") center 70% / cover no-repeat;
}
html[data-variant="wad"] .plein-strook { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23c4d4d9'/%3E%3Cstop offset='1' stop-color='%23eef0e6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1440' height='560' fill='url(%23l)'/%3E%3Ccircle cx='1180' cy='96' r='34' fill='rgba(255,240,200,.55)'/%3E%3Cg fill='rgba(255,255,255,.8)'%3E%3Cellipse cx='260' cy='96' rx='120' ry='26'/%3E%3Cellipse cx='330' cy='80' rx='80' ry='24'/%3E%3Cellipse cx='880' cy='140' rx='150' ry='22'/%3E%3Cellipse cx='960' cy='126' rx='70' ry='20'/%3E%3Cellipse cx='560' cy='60' rx='90' ry='16'/%3E%3C/g%3E%3Crect y='292' width='1440' height='48' fill='%23a7c1c4'/%3E%3Cpath d='M0 300 H1440' stroke='%237f8c87' stroke-width='2'/%3E%3Cg fill='%237f8c87'%3E%3Crect x='1050' y='268' width='6' height='26'/%3E%3Cpath d='M1047 270 l6 -14 6 14z'/%3E%3Crect x='1060' y='280' width='34' height='14'/%3E%3Cpath d='M1058 282 l19 -10 19 10z'/%3E%3Crect x='300' y='286' width='60' height='6'/%3E%3Cpath d='M140 296 h40 v-6 h-40z'/%3E%3C/g%3E%3Cpath d='M0 332 C300 322 600 346 900 336 S1300 326 1440 336 V480 H0Z' fill='%23d9cfb0'/%3E%3Cpath d='M40 382 C300 362 520 402 760 382 S1100 362 1440 392 V408 C1100 378 800 414 560 404 S220 388 40 398Z' fill='%239ec1c6'/%3E%3Cpath d='M200 432 C420 420 600 440 820 428 S1100 418 1300 430 V438 C1100 428 900 446 700 444 S400 436 200 440Z' fill='%239ec1c6' opacity='.8'/%3E%3Cpath d='M0 458 C400 432 900 422 1440 402 V560 H0Z' fill='%236f9a62'/%3E%3Cpath d='M0 494 C400 472 900 462 1440 446 V560 H0Z' fill='%235c8551'/%3E%3Cpath d='M0 458 C400 432 900 422 1440 402' fill='none' stroke='%23cfc8ab' stroke-width='7'/%3E%3Cg fill='%23fbfaf3'%3E%3Cellipse cx='150' cy='478' rx='13' ry='8'/%3E%3Cellipse cx='204' cy='484' rx='11' ry='7'/%3E%3C/g%3E%3Cg fill='%233a3a36'%3E%3Cellipse cx='163' cy='474' rx='4' ry='3.5'/%3E%3Cellipse cx='214' cy='481' rx='3.5' ry='3'/%3E%3C/g%3E%3C/svg%3E") center 75% / cover no-repeat; }
.th-schaap {
  position: absolute; width: calc(46px * var(--s, 1)); height: calc(30px * var(--s, 1)); padding: 8px; margin: -8px; box-sizing: content-box;
  pointer-events: auto; cursor: pointer; transform-origin: 50% 100%;
}
.th-schaap svg { display: block; width: 100%; height: 100%; overflow: visible; }
.th-schaap.is-spring { animation: th-schaap-spring .55s cubic-bezier(.3, 1.4, .5, 1); }
.th-schaap.is-om svg { transform: scaleX(-1); }
.th-schaap-ballon {
  position: absolute; left: 50%; bottom: 100%; padding: 3px 9px; border-radius: 10px; background: #fff; color: #203a32;
  font: 800 .78rem var(--font); white-space: nowrap; box-shadow: 0 4px 10px rgba(0, 0, 0, .18); transform: translateX(-50%) translateY(4px);
  opacity: 0; transition: opacity .2s, transform .25s; pointer-events: none;
}
.th-schaap.is-praat .th-schaap-ballon { opacity: 1; transform: translateX(-50%); }
@media (prefers-reduced-motion: no-preference) {
  .th-schaap { animation: th-graas 6s ease-in-out infinite alternate; }
}
@keyframes th-graas { 0%, 70% { transform: none; } 80% { transform: rotate(4deg) translateY(1px); } 100% { transform: translateX(6px); } }
@keyframes th-schaap-spring { 40% { transform: translateY(-16px) rotate(-6deg); } 100% { transform: none; } }
.th-wad-water { position: absolute; left: 0; right: 0; top: 57%; height: 26%; background: linear-gradient(180deg, rgba(158, 193, 198, 0), rgba(158, 193, 198, .7) 30%, rgba(158, 193, 198, .6)); opacity: 0; transition: opacity 1.2s; }
html.th-getij-hoog .th-wad-water { opacity: .9; }
html.th-getij-laag .th-wad-water { opacity: 0; }
html[data-variant="wad"] .th-sfeer { bottom: 0; }

html.lg-avond[data-variant="wad"] .th-hero { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2316243a'/%3E%3Cstop offset='1' stop-color='%232c3b52'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1440' height='560' fill='url(%23l)'/%3E%3Ccircle cx='1180' cy='90' r='26' fill='%23f4ecd0'/%3E%3Ccircle cx='1180' cy='90' r='60' fill='rgba(244,236,208,.12)'/%3E%3Cg fill='rgba(160,175,200,.25)'%3E%3Cellipse cx='260' cy='96' rx='120' ry='26'/%3E%3Cellipse cx='330' cy='80' rx='80' ry='24'/%3E%3Cellipse cx='880' cy='140' rx='150' ry='22'/%3E%3Cellipse cx='960' cy='126' rx='70' ry='20'/%3E%3Cellipse cx='560' cy='60' rx='90' ry='16'/%3E%3C/g%3E%3Crect y='292' width='1440' height='48' fill='%2322394a'/%3E%3Cpath d='M0 300 H1440' stroke='%230e1726' stroke-width='2'/%3E%3Cg fill='%230e1726'%3E%3Crect x='1050' y='268' width='6' height='26'/%3E%3Cpath d='M1047 270 l6 -14 6 14z'/%3E%3Crect x='1060' y='280' width='34' height='14'/%3E%3Cpath d='M1058 282 l19 -10 19 10z'/%3E%3Crect x='300' y='286' width='60' height='6'/%3E%3Cpath d='M140 296 h40 v-6 h-40z'/%3E%3C/g%3E%3Cpath d='M0 332 C300 322 600 346 900 336 S1300 326 1440 336 V480 H0Z' fill='%233a3d3c'/%3E%3Cpath d='M40 382 C300 362 520 402 760 382 S1100 362 1440 392 V408 C1100 378 800 414 560 404 S220 388 40 398Z' fill='%2327455a'/%3E%3Cpath d='M200 432 C420 420 600 440 820 428 S1100 418 1300 430 V438 C1100 428 900 446 700 444 S400 436 200 440Z' fill='%2327455a' opacity='.8'/%3E%3Cpath d='M0 458 C400 432 900 422 1440 402 V560 H0Z' fill='%232b4535'/%3E%3Cpath d='M0 494 C400 472 900 462 1440 446 V560 H0Z' fill='%23223a2c'/%3E%3Cpath d='M0 458 C400 432 900 422 1440 402' fill='none' stroke='%23545a50' stroke-width='7'/%3E%3Cg fill='%239aa39c'%3E%3Cellipse cx='150' cy='478' rx='13' ry='8'/%3E%3Cellipse cx='204' cy='484' rx='11' ry='7'/%3E%3C/g%3E%3Cg fill='%231a1f1c'%3E%3Cellipse cx='163' cy='474' rx='4' ry='3.5'/%3E%3Cellipse cx='214' cy='481' rx='3.5' ry='3'/%3E%3C/g%3E%3C/svg%3E") center bottom / cover no-repeat !important; }
html.lg-avond[data-variant="wad"] .th-hero::after {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path fill='%23223a2c' d='M0 48c180 30 300-16 480 6s320 40 500 8 280-36 460-4v32H0z'/><path fill='%230b1f25' d='M0 64c200 22 320-12 500 8s340 26 500 2 260-28 440-4v20H0z'/></svg>") center / 100% 100% no-repeat;
}
html.lg-avond[data-variant="wad"] .th-titel { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
html.lg-avond[data-variant="wad"] :is(.paginakop.plein, .plein-strook) {
  background: linear-gradient(180deg, rgba(10, 20, 30, .5), rgba(11, 31, 37, .95)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2316243a'/%3E%3Cstop offset='1' stop-color='%232c3b52'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1440' height='560' fill='url(%23l)'/%3E%3Ccircle cx='1180' cy='90' r='26' fill='%23f4ecd0'/%3E%3Ccircle cx='1180' cy='90' r='60' fill='rgba(244,236,208,.12)'/%3E%3Cg fill='rgba(160,175,200,.25)'%3E%3Cellipse cx='260' cy='96' rx='120' ry='26'/%3E%3Cellipse cx='330' cy='80' rx='80' ry='24'/%3E%3Cellipse cx='880' cy='140' rx='150' ry='22'/%3E%3Cellipse cx='960' cy='126' rx='70' ry='20'/%3E%3Cellipse cx='560' cy='60' rx='90' ry='16'/%3E%3C/g%3E%3Crect y='292' width='1440' height='48' fill='%2322394a'/%3E%3Cpath d='M0 300 H1440' stroke='%230e1726' stroke-width='2'/%3E%3Cg fill='%230e1726'%3E%3Crect x='1050' y='268' width='6' height='26'/%3E%3Cpath d='M1047 270 l6 -14 6 14z'/%3E%3Crect x='1060' y='280' width='34' height='14'/%3E%3Cpath d='M1058 282 l19 -10 19 10z'/%3E%3Crect x='300' y='286' width='60' height='6'/%3E%3Cpath d='M140 296 h40 v-6 h-40z'/%3E%3C/g%3E%3Cpath d='M0 332 C300 322 600 346 900 336 S1300 326 1440 336 V480 H0Z' fill='%233a3d3c'/%3E%3Cpath d='M40 382 C300 362 520 402 760 382 S1100 362 1440 392 V408 C1100 378 800 414 560 404 S220 388 40 398Z' fill='%2327455a'/%3E%3Cpath d='M200 432 C420 420 600 440 820 428 S1100 418 1300 430 V438 C1100 428 900 446 700 444 S400 436 200 440Z' fill='%2327455a' opacity='.8'/%3E%3Cpath d='M0 458 C400 432 900 422 1440 402 V560 H0Z' fill='%232b4535'/%3E%3Cpath d='M0 494 C400 472 900 462 1440 446 V560 H0Z' fill='%23223a2c'/%3E%3Cpath d='M0 458 C400 432 900 422 1440 402' fill='none' stroke='%23545a50' stroke-width='7'/%3E%3Cg fill='%239aa39c'%3E%3Cellipse cx='150' cy='478' rx='13' ry='8'/%3E%3Cellipse cx='204' cy='484' rx='11' ry='7'/%3E%3C/g%3E%3Cg fill='%231a1f1c'%3E%3Cellipse cx='163' cy='474' rx='4' ry='3.5'/%3E%3Cellipse cx='214' cy='481' rx='3.5' ry='3'/%3E%3C/g%3E%3C/svg%3E") center 70% / cover no-repeat;
}

.th-dag-lijst li.is-stil a { padding-top: 3px; padding-bottom: 3px; font-size: .78rem; opacity: .7; }
.th-dag-lijst li.is-stil .th-dag-ic { width: 24px; height: 24px; }
.th-dag-lijst li.is-stil .th-dag-ic svg { width: 14px; height: 14px; }

.th-zb-dag { margin: 2px 0 10px; padding: 10px 10px 8px; border-radius: 14px; }
html[data-thema="hout"] .th-zb-dag { background: rgba(255, 236, 200, .08); border: 1px solid rgba(198, 161, 90, .35); color: #f6ecd4; }
html[data-thema="kust"] .th-zb-dag { background: #f1f8fa; border: 1px solid #d5e3e8; color: #1c2c33; }
html[data-variant="wad"] .th-zb-dag { background: #f1f5f2; border-color: #d4ddd5; color: #1f2b27; }
.th-zb-groet { margin: 0 0 6px; font-family: var(--font-kop); font-size: 1.05rem; }
.th-zb-lijst a { font-size: .84rem; padding: 4px 6px; }
.th-zb-lijst .th-dag-ic { width: 26px; height: 26px; }
.th-zb-agenda { margin-top: 8px; padding: 10px; }
.th-zb-agenda .th-mk-meer { font-size: .78rem; }
.zijbalk .th-zb-dag :is(a, button) { color: inherit; }
.zijbalk .th-zb-agenda a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.zijbalk .th-zb-agenda ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.zijbalk .th-zb-agenda .th-dorpkeus ul[hidden] { display: none; }
html.zb-smal .th-zb-dag { display: none; }
@media (min-width: 1100px) { .th-zb-dag { display: none; } }

.th-rl-aanbod {
  position: fixed; right: 16px; bottom: calc(var(--onderbalk, 0px) + 16px); z-index: 94; width: min(320px, calc(100vw - 32px)); box-sizing: border-box;
  padding: 14px 16px; border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); transition: opacity .3s, transform .3s;
  animation: th-seintje-in .45s cubic-bezier(.3, 1.4, .5, 1) both;
}
.th-rl-aanbod.is-weg { opacity: 0; transform: translateY(10px); }
.th-rl-aanbod p { margin: 0 0 6px; font-size: .9rem; line-height: 1.4; }
.th-rl-knoppen { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.th-rl-knoppen .knop-tekst { background: none; border: 0; color: inherit; font: 700 .85rem var(--font); text-decoration: underline; cursor: pointer; }
html[data-thema="hout"] .th-rl-aanbod { color: #f6ecd4; border: 1px solid #c6a15a; background: linear-gradient(180deg, rgba(48, 30, 16, .97), rgba(28, 17, 8, .98)), var(--thb-plank) center / cover; }
html[data-thema="hout"] .th-rl-aanbod .knop { background: #e2b04a; border-color: #e2b04a; color: #2a1a0e; }
html[data-thema="kust"] .th-rl-aanbod { color: #1c2c33; background: #fff; border: 1px solid #d5e3e8; }
html[data-thema="kust"] .th-rl-aanbod .knop { background: #0e6e86; border-color: #0e6e86; color: #fff; }
html[data-variant="wad"] .th-rl-aanbod .knop { background: #3c6455; border-color: #3c6455; }
html.lg-avond[data-thema] .th-rl-aanbod { background: #12303a; color: #e8f1f2; border-color: #2b4c55; }
@media (max-width: 640px) {
  .th-rl-aanbod { left: 8px; right: 8px; bottom: calc(var(--onderbalk, 0px) + env(safe-area-inset-bottom, 0px) + 8px); width: auto; padding: 10px 12px; border-radius: 12px; }
  .th-rl-aanbod p { font-size: .85rem; line-height: 1.35; margin-bottom: 2px; }
  .th-rl-knoppen { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { .th-rl-aanbod { animation: none; } }
@media print { .th-rl-aanbod { display: none; } }
html[data-variant="wad"] .th-seizoenlaag { opacity: .3; }
html[data-variant="wad"] .th-tint { opacity: .55; }
html[data-variant="wad"] .th-getij-knop, html.th-getij-hoog[data-variant="wad"] .th-getij-knop { height: 28px; }
@media (max-width: 799px) { html[data-variant="wad"] .th-schaap { display: none; } }

html[data-thema] .ag-sd { opacity: 1; }
html[data-thema] .ag-sd:not(.is-vol):not(.is-vandaag) { border-style: dashed; }

@media (max-width: 799.98px) {
  .th-snel { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .th-snel > li { grid-column: span 2; min-width: 0; }
  .th-snel a { min-height: 66px; padding: 8px 6px; font-size: .8rem; line-height: 1.2; }
  html[data-thema="hout"] .th-snel a { margin-top: 14px; padding-top: 20px; }
  html[data-thema="hout"] .th-snel-ic { width: 38px; height: 38px; top: -17px; }
}
@media (max-width: 520px) {
  .th-iconen { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .th-iconen a { font-size: .9rem; }
}

html.lg-avond[data-thema] .th-weer-kaart { background: #0f2a30; }
html.lg-avond[data-thema] .th-eiland-land { fill: #23402f; stroke: #5d7d4a; }
html.lg-avond[data-thema] .th-eiland-dijk { stroke: #b08a52; }
html.lg-avond[data-thema] .th-eiland-svg circle { fill: #f0c76a; stroke: #0f2a30; }
html.lg-avond[data-thema] .th-eiland-svg text { fill: #f3ecd8; stroke: #0f2a30; }

.th-lijst .th-bewoner a > .label { display: inline-flex; margin-bottom: 3px; font-size: .72rem; color: #6b5313; -webkit-line-clamp: none; }
html.lg-avond[data-thema] .th-lijst .th-bewoner a > .label { background: #3a3220; color: #f3e1b4; }


.th-dag-lijst[hidden], .th-week[hidden], .th-week-knop[hidden], .th-week-afval[hidden] { display: none; }
.th-dag { max-height: min(78vh, 620px); overflow: auto; overscroll-behavior: contain; }
.th-week-knop {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
  border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: inherit;
  font-size: .76rem; font-weight: 700; cursor: pointer; opacity: .85;
}
.th-week-knop:hover, .th-week-knop[aria-expanded="true"] { opacity: 1; background: rgba(127, 127, 127, .16); }
.th-week-knop:focus-visible { outline: 3px solid var(--zon); outline-offset: 2px; }
.th-dag-groet { padding-right: 104px; }
.th-week-dagen { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.th-week-dag { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: start; padding: 6px 4px; border-top: 1px solid rgba(127, 127, 127, .2); }
.th-week-dag:first-child { border-top: 0; }
.th-week-kop { font-size: .8rem; text-transform: capitalize; padding-top: 2px; }
.th-week-dag.is-weekend .th-week-kop { color: var(--zee); }
html[data-thema="hout"] .th-week-dag.is-weekend .th-week-kop { color: #f0c76a; }
.th-week-in { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.th-week-in .th-bakken { margin: 0; }
.th-week-act { color: inherit; font-size: .84rem; font-weight: 600; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.th-week-act:hover { text-decoration: underline; }
.th-week-getij, .th-week-leeg { font-size: .76rem; opacity: .8; }
.th-week-voet { margin: 8px 0 0; font-size: .8rem; }
.th-week-voet a { color: inherit; font-weight: 700; }
.th-dag-mee { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(127, 127, 127, .25); font-size: .82rem; line-height: 1.35; }
.th-dag-mee span { flex: 1 1 160px; }
html[data-thema="hout"] .th-dag-mee .knop { background: #e2b04a; border-color: #e2b04a; color: #2a1a0e; }

html.th-december[data-thema] .kop { position: relative; }
html.th-december[data-thema] .kop::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 20px; pointer-events: none; z-index: 5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cpath d='M0 3q30 9 60 0t60 0' fill='none' stroke='%23384a3c' stroke-width='1.2'/%3E%3Cg stroke='%23384a3c' stroke-width='.8'%3E%3Cpath d='M10 5.2v2M30 7.4v2M50 5.6v2M70 5.2v2M90 7.4v2M110 5.6v2'/%3E%3C/g%3E%3Cellipse cx='10' cy='10.6' rx='2.6' ry='3.6' fill='%23f6c453'/%3E%3Cellipse cx='30' cy='12.8' rx='2.6' ry='3.6' fill='%23e0533d'/%3E%3Cellipse cx='50' cy='11' rx='2.6' ry='3.6' fill='%233f9b5b'/%3E%3Cellipse cx='70' cy='10.6' rx='2.6' ry='3.6' fill='%23fff1c2'/%3E%3Cellipse cx='90' cy='12.8' rx='2.6' ry='3.6' fill='%234a8fd6'/%3E%3Cellipse cx='110' cy='11' rx='2.6' ry='3.6' fill='%23f6c453'/%3E%3C/svg%3E") 0 0 / 120px 20px repeat-x;
  filter: drop-shadow(0 0 3px rgba(255, 214, 120, .75));
}
html.th-december.lg-avond[data-thema] .kop::after,
html.th-december.th-dag-nacht[data-thema] .kop::after,
html.th-december.th-dag-avond[data-thema] .kop::after { filter: drop-shadow(0 0 5px rgba(255, 214, 120, .95)) brightness(1.1); }
html.th-december[data-thema] .th-eiland-svg circle { fill: #f6c453; stroke: #7a5a12; }
@media (prefers-reduced-motion: no-preference) {
  html.th-december[data-thema] .kop::after { animation: th-twinkel 2.8s ease-in-out infinite alternate; }
  html.th-december[data-thema] .th-eiland-svg circle { animation: th-twinkel-dorp 2.2s ease-in-out infinite alternate; }
  html.th-december[data-thema] .th-eiland-svg g:nth-of-type(2) circle { animation-delay: .7s; }
  html.th-december[data-thema] .th-eiland-svg g:nth-of-type(3) circle { animation-delay: 1.3s; }
  html.th-december[data-thema] .th-eiland-svg g:nth-of-type(4) circle { animation-delay: 1.8s; }
}
@keyframes th-twinkel { 0% { opacity: .78; } 45% { opacity: 1; } 55% { opacity: .9; } 100% { opacity: 1; } }
@keyframes th-twinkel-dorp { from { filter: drop-shadow(0 0 1px rgba(246, 196, 83, .4)); } to { filter: drop-shadow(0 0 6px rgba(246, 196, 83, 1)); } }
@media print { html.th-december[data-thema] .kop::after { content: none; } }

@media (max-width: 479.98px) {
  .th-snel > li { grid-column: span 3; }
}

.th-dag-afvalkies[hidden], .th-afvalkies [hidden] { display: none; }
.th-afvalkies { margin: 4px 0 0; padding: 8px; border-radius: 12px; background: rgba(127, 127, 127, .1); }
.th-afvalkies-vraag { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: .86rem; font-weight: 700; line-height: 1.3; }
.th-afvalkies-velden { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) auto; gap: 6px; }
.th-afvalkies input {
  width: 100%; min-width: 0; min-height: 40px; padding: 6px 10px; border: 1px solid rgba(127, 127, 127, .5); border-radius: 10px;
  background: #fff; color: #1c2c33; font: inherit; font-size: .9rem;
}
.th-afvalkies input:focus-visible { outline: 3px solid var(--zon); outline-offset: 1px; }
.th-afvalkies .knop { min-height: 40px; }
html[data-thema="hout"] .th-afvalkies .knop { background: #e2b04a; border-color: #e2b04a; color: #2a1a0e; }
.th-afvalkies-keuzes { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.th-afvalkies-keuzes .knop-tekst { color: inherit; font-weight: 700; text-align: left; }
.th-afvalkies-fout { margin: 6px 0 0; font-size: .8rem; font-weight: 700; color: #b3261e; }
html[data-thema="hout"] .th-afvalkies-fout, html.lg-avond .th-afvalkies-fout { color: #ffb4a8; }
.th-afvalkies-uitleg { margin: 6px 0 0; font-size: .74rem; opacity: .8; }
html.lg-avond .th-afvalkies input { background: #12303a; color: #e8f1f2; border-color: #4e6b73; }
@keyframes th-bui-groei { from { transform: scaleY(0); } to { transform: none; } }

.th-lijst .th-ag-regio { display: flex; align-items: center; gap: 4px; margin-top: 2px; color: var(--zee); font-weight: 700; }
.th-lijst .th-ag-regio .ic { width: 14px; height: 14px; flex: none; }
