/* Radio Dikke Nel — v3 "Bruin café, maar strak"
 * Donker hout, messing, neon. Animaties respecteren prefers-reduced-motion.
 */
@font-face { font-family: "Yellowtail"; src: url("/assets/fonts/yellowtail.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --wood-0: #1a0f0a; --wood-1: #24150e; --wood-2: #2f1c12;
  --brass-d: #7a5a22; --brass: #c9a24a; --brass-hi: #f1d58a;
  --cream: #f6ead2; --muted: #b8a284;
  --neon: #ff4f7b; --neon-soft: #ff9fb6; --amber: #ffb347;
  --chalk: #e9eee5; --board: #1c2420;
  --radius: 18px;
  --display: "Fraunces", Georgia, serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh; font-family: var(--sans); color: var(--cream); line-height: 1.5; overflow-x: hidden;
  background-color: var(--wood-0);
  background-image:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(255, 79, 123, .20), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(255, 179, 71, .10), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 2px, transparent 2px 140px),
    linear-gradient(90deg, var(--wood-1), var(--wood-2) 20%, var(--wood-1) 45%, var(--wood-2) 70%, var(--wood-1));
  background-attachment: fixed;
}
body::before { /* houtnerf */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.012 .9' numOctaves='3' seed='7'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .3  0 0 0 0 .15  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.65)); }

/* ------------------------------------------------------------ lampjes & bubbels */
.lights { position: absolute; top: 0; left: 0; right: 0; height: 70px; z-index: 1;
  display: flex; justify-content: space-between; padding: 0 2vw; list-style: none; pointer-events: none; }
.lights li { position: relative; width: 10px; height: 14px; border-radius: 50% 50% 45% 45%;
  background: var(--amber); margin-top: 22px;
  box-shadow: 0 0 6px 2px rgba(255,179,71,.8), 0 0 22px 6px rgba(255,179,71,.25);
  animation: twinkle 3.2s ease-in-out infinite; }
.lights li::before { content: ""; position: absolute; top: -5px; left: 2px; width: 6px; height: 5px; background: #3a2a1a; border-radius: 1px; }
.lights li:nth-child(2n) { margin-top: 34px; animation-delay: -.8s; }
.lights li:nth-child(3n) { margin-top: 40px; animation-delay: -1.7s; background: #ffd27a; }
.lights li:nth-child(4n) { margin-top: 30px; animation-delay: -2.4s; }
.lights li:nth-child(5n) { animation-duration: 4.1s; }
.lights li:first-child, .lights li:last-child { margin-top: 12px; }
@keyframes twinkle { 0%,100% { opacity: 1; } 45% { opacity: .55; } 50% { opacity: .9; } }
body.is-playing .lights li { animation-duration: 1.1s; }

.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubbles i { position: absolute; bottom: -20px; width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid rgba(255, 210, 122, .45); background: rgba(255, 210, 122, .08);
  animation: rise 16s linear infinite; }
.bubbles i:nth-child(1)  { left: 4%;  animation-duration: 19s; animation-delay: -2s; }
.bubbles i:nth-child(2)  { left: 11%; width: 4px; height: 4px; animation-duration: 14s; animation-delay: -9s; }
.bubbles i:nth-child(3)  { left: 19%; animation-duration: 22s; animation-delay: -5s; }
.bubbles i:nth-child(4)  { left: 31%; width: 9px; height: 9px; animation-duration: 25s; animation-delay: -14s; }
.bubbles i:nth-child(5)  { left: 47%; width: 4px; height: 4px; animation-duration: 17s; animation-delay: -3s; }
.bubbles i:nth-child(6)  { left: 58%; animation-duration: 21s; animation-delay: -11s; }
.bubbles i:nth-child(7)  { left: 69%; width: 8px; height: 8px; animation-duration: 24s; animation-delay: -7s; }
.bubbles i:nth-child(8)  { left: 78%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: -12s; }
.bubbles i:nth-child(9)  { left: 87%; animation-duration: 20s; animation-delay: -1s; }
.bubbles i:nth-child(10) { left: 95%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: -8s; }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; }
  50% { transform: translate(14px, -55vh); } 90% { opacity: .8; }
  100% { transform: translate(-6px, -110vh); opacity: 0; }
}

/* ------------------------------------------------------------ layout */
.pub { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 72px 20px 40px; }

/* ------------------------------------------------------------ neonbord */
.sign { text-align: center; position: relative; margin-bottom: 36px; }
.sign::before { content: ""; position: absolute; left: 50%; top: 55%; width: min(720px, 95vw); height: 220px; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 79, 123, .28), transparent 65%); filter: blur(10px); z-index: -1;
  animation: wallglow 5s ease-in-out infinite; }
@keyframes wallglow { 0%,100% { opacity: .85; } 50% { opacity: 1; } }
.sign-kicker { font: 700 .85rem/1 var(--sans); letter-spacing: .6em; text-indent: .6em; text-transform: uppercase; color: #ffe2b0;
  text-shadow: 0 0 2px #fff7e6, 0 0 8px var(--amber), 0 0 18px var(--amber), 0 0 34px rgba(255,140,40,.7);
  animation: ignite 1.4s steps(1) .1s both; }
.neon { font-family: var(--script); font-weight: 400; font-size: clamp(4.2rem, 15vw, 9.5rem); line-height: .95; margin: .25em 0 .1em;
  color: #fff1f4; transform: rotate(-4deg);
  text-shadow: 0 0 3px #fff, 0 0 8px #ffd1dc, 0 0 16px var(--neon-soft), 0 0 28px var(--neon), 0 0 56px var(--neon), 0 0 90px rgba(255, 42, 95, .8);
  animation: ignite 1.8s steps(1) .3s both, buzz 6s ease-in-out 2.2s infinite; }
.neon .flick { display: inline-block; animation: brokenTube 7s steps(1) 3s infinite; }
@keyframes ignite { 0% { opacity: 0; } 10% { opacity: .9; } 14% { opacity: .1; } 22% { opacity: 1; } 26% { opacity: .2; }
  40% { opacity: 1; } 44% { opacity: .5; } 50%, 100% { opacity: 1; } }
@keyframes buzz { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.12); } }
@keyframes brokenTube { 0%, 89%, 100% { opacity: 1; } 90% { opacity: .25; } 91% { opacity: 1; } 93% { opacity: .2; } 95% { opacity: 1; } }
.neon-tube { display: block; width: min(420px, 70%); height: 4px; margin: 6px auto 18px; border-radius: 4px; background: #ffe6b8;
  box-shadow: 0 0 6px var(--amber), 0 0 16px var(--amber), 0 0 30px rgba(255,140,40,.6);
  animation: ignite 1.6s steps(1) .9s both; }
.sign-slogan { font: 600 italic clamp(1.05rem, 2.6vw, 1.35rem)/1.35 var(--display); color: var(--cream); opacity: .92; }
.live-pill { display: inline-flex; align-items: center; gap: .55rem; margin-top: 16px; padding: .4rem .95rem; border-radius: 999px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(201,162,74,.45);
  font: 700 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-hi); }
.led-bulb { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none;
  background: #ff3b5c; box-shadow: 0 0 6px #ff3b5c, 0 0 12px rgba(255,59,92,.6); animation: ledPulse 1.6s ease-in-out infinite; }
.led-bulb.off { background: #5a3a30; box-shadow: none; animation: none; }
@keyframes ledPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ------------------------------------------------------------ podium: Nel + draaitafel */
.stage { display: grid; gap: 28px; align-items: start; margin-bottom: 28px; }
@media (min-width: 880px) { .stage { grid-template-columns: 1.05fr 1fr; gap: 40px; } .portrait { position: sticky; top: 24px; } }

.portrait { position: relative; margin: 0 auto; width: min(100%, 440px); text-align: center; }
.portrait::before { content: ""; position: absolute; left: 50%; top: 42%; width: 130%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 196, 110, .32), transparent 62%); z-index: -1; animation: spot 7s ease-in-out infinite; }
@keyframes spot { 0%,100% { opacity: .8; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
.arch { position: relative; padding: 9px; border-radius: 50% 50% 20px 20px / 34% 34% 20px 20px;
  background: linear-gradient(145deg, var(--brass-hi), var(--brass) 30%, var(--brass-d) 60%, var(--brass) 85%, var(--brass-hi));
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.25);
  animation: enter 1s var(--ease-out) .4s both; }
.arch-inner { border-radius: 50% 50% 14px 14px / 34% 34% 14px 14px; overflow: hidden; background: #2b1a10; position: relative; aspect-ratio: 1 / 1.08; }
.arch-inner::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 28%, transparent 70%, rgba(255,255,255,.05)); }
.arch picture { display: block; width: 100%; height: 100%; }
.arch img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform-origin: 50% 90%;
  transform: scale(calc(1.02 + var(--beat, 0) * .045)) translateY(calc(var(--beat, 0) * -6px)); transition: transform .08s linear; }
body.is-playing.no-analyser .arch img { animation: sway 1.9s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: scale(1.02) rotate(-.6deg); } 50% { transform: scale(1.045) rotate(.6deg) translateY(-3px); } }
.plaque { display: inline-block; margin-top: 16px; padding: .5rem 1.1rem; border-radius: 6px;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass) 55%, var(--brass-d));
  color: #2a1a0a; font: 600 italic .95rem/1.2 var(--display);
  box-shadow: 0 6px 14px -6px #000, inset 0 1px 0 rgba(255,255,255,.6); text-shadow: 0 1px 0 rgba(255,255,255,.35); }

/* draaitafel = play-knop */
.deck-col { display: grid; gap: 18px; justify-items: center; animation: enter 1s var(--ease-out) .6s both; }
.deck { position: relative; width: min(100%, 400px); aspect-ratio: 1 / .92; border: 0; cursor: pointer; border-radius: 22px; padding: 0; color: inherit; font: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 30%),
    repeating-linear-gradient(92deg, rgba(0,0,0,.18) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, #5a3620, #3a2214 55%, #2c190f);
  box-shadow: 0 30px 50px -22px #000, inset 0 0 0 2px rgba(201,162,74,.55), inset 0 2px 0 rgba(255,230,180,.25);
  -webkit-tap-highlight-color: transparent; transition: transform .25s var(--ease-out); }
.deck:hover { transform: translateY(-2px); }
.deck:active { transform: translateY(1px) scale(.995); }
.deck:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 6px; }
.platter { position: absolute; left: 6%; top: 50%; width: 78%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: #1a1a1a;
  box-shadow: 0 0 0 4px #8d8d8d, 0 0 0 6px #444, 0 14px 30px -8px #000; }
.vinyl { position: absolute; inset: 3%; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, #0d0d0d 0 1px, #181818 1.5px 3px), #111;
  animation: spin 1.8s linear infinite; animation-play-state: paused; }
.vinyl.spinning { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.sheen { position: absolute; left: 9%; top: 50%; width: 72%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255,255,255,.13) 12%, transparent 18% 50%, rgba(255,255,255,.09) 62%, transparent 68%); }
.label { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 3px #b7262f, 0 0 0 6px #7a1820; }
.label img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.spindle { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #aaa 40%, #555); box-shadow: 0 1px 2px #000; }

.play-badge { position: absolute; left: 6%; top: 50%; width: 78%; aspect-ratio: 1; transform: translateY(-50%); display: grid; place-items: center; pointer-events: none; }
.play-badge > span { width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #2a1a0a;
  background: radial-gradient(circle at 35% 30%, rgba(255,240,200,.95), var(--brass) 55%, var(--brass-d));
  box-shadow: 0 10px 24px -6px #000, inset 0 2px 0 rgba(255,255,255,.6);
  animation: invite 2.4s ease-out infinite; transition: opacity .35s, transform .35s var(--ease-spring); }
.play-badge svg { width: 40%; height: 40%; fill: currentColor; }
.play-badge .i-pause { display: none; }
.deck.playing .play-badge .i-play { display: none; }
.deck.playing .play-badge .i-pause { display: block; }
@keyframes invite {
  0% { box-shadow: 0 10px 24px -6px #000, inset 0 2px 0 rgba(255,255,255,.6), 0 0 0 0 rgba(241,213,138,.55); }
  70%,100% { box-shadow: 0 10px 24px -6px #000, inset 0 2px 0 rgba(255,255,255,.6), 0 0 0 26px rgba(241,213,138,0); } }
.deck.playing .play-badge > span { opacity: 0; transform: scale(.6); animation: none; }
.deck.playing:hover .play-badge > span, .deck.playing:focus-visible .play-badge > span { opacity: .92; transform: scale(.85); }

.tonearm { position: absolute; right: 7%; top: 8%; width: 16%; height: 72%; pointer-events: none; }
.tonearm .pivot { position: absolute; right: 0; top: 0; width: 64%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3f3f3, #9a9a9a 45%, #4b4b4b); box-shadow: 0 4px 10px -2px #000; }
.tonearm .arm { position: absolute; right: 26%; top: 14%; width: 7px; height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, #8a8a8a, #f0f0f0 50%, #8a8a8a);
  transform-origin: 50% 0; transform: rotate(4deg); transition: transform 1.1s var(--ease-out); box-shadow: 2px 4px 6px rgba(0,0,0,.5); }
.tonearm .arm::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 22px; height: 30px; transform: translateX(-50%) rotate(-18deg);
  border-radius: 4px; background: linear-gradient(180deg, #2b2b2b, #111); box-shadow: inset 0 0 0 1px #555; }
.tonearm.on-record .arm { transform: rotate(26deg); }

.deck-caption { display: flex; align-items: center; gap: .6rem; font: 700 .8rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass-hi); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; height: 30%; background: var(--neon); border-radius: 1px; box-shadow: 0 0 6px var(--neon); }
body.is-playing .eq i { animation: eq .9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%,100% { height: 25%; } 50% { height: 100%; } }

/* ------------------------------------------------------------ panelen */
.panel { position: relative; border-radius: var(--radius); padding: 22px 24px;
  background: linear-gradient(180deg, rgba(58, 34, 21, .92), rgba(28, 16, 10, .94));
  box-shadow: 0 24px 40px -24px #000, inset 0 0 0 1px rgba(201,162,74,.32), inset 0 1px 0 rgba(255,230,180,.12); }
.kicker { font: 700 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }

.now-panel { width: min(100%, 520px); }
.now-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 14px; }
.on-air { display: inline-flex; align-items: center; gap: .45rem; font: 700 .7rem/1 var(--sans); letter-spacing: .16em; color: var(--muted); }
.now-title { font: 800 clamp(1.6rem, 4.2vw, 2.3rem)/1.1 var(--display); color: var(--cream); text-wrap: balance; overflow-wrap: anywhere; }
.now-title.swap { animation: titleIn .8s var(--ease-out) both; }
@keyframes titleIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.now-artist { font: 400 clamp(1.7rem, 4vw, 2.1rem)/1.1 var(--script); color: var(--neon-soft); margin-top: 4px; text-shadow: 0 0 10px rgba(255,79,123,.55); }
.now-meta { margin-top: 8px; font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; min-height: 1.2em; }
.now-badge { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; padding: .15rem .5rem; border: 1px solid var(--brass); border-radius: 999px; color: var(--brass-hi); }

.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.vu-meter { position: relative; height: 74px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(ellipse 120% 130% at 50% 120%, #fff4d6, #f2dfae 60%, #d9be7c);
  box-shadow: inset 0 0 0 2px var(--brass-d), inset 0 6px 14px rgba(0,0,0,.35), 0 0 22px rgba(255,190,90,.12); transition: box-shadow .6s; }
body.is-playing .vu-meter { box-shadow: inset 0 0 0 2px var(--brass-d), inset 0 6px 14px rgba(0,0,0,.35), 0 0 26px rgba(255,190,90,.4); }
.vu-meter::before { content: ""; position: absolute; left: 12%; right: 12%; top: 24px; height: 120px; border-radius: 50%; border-top: 2px solid #3a2a1a; }
.vu-scale { position: absolute; left: 0; right: 0; top: 7px; display: flex; justify-content: space-between; padding: 0 14%; font: 700 .55rem/1 var(--sans); color: #3a2a1a; }
.vu-scale span:last-child { color: #c0262e; }
.vu-label { position: absolute; left: 8px; bottom: 6px; font: 700 .55rem/1 var(--sans); letter-spacing: .15em; color: #6a5030; }
.vu-needle { position: absolute; left: 50%; bottom: -10px; width: 2px; height: 76px; margin-left: -1px; border-radius: 2px;
  background: linear-gradient(#c0262e, #1a1a1a 25%, #1a1a1a); transform-origin: 50% 100%; transform: rotate(-28deg); }
.vu-meter .cap { position: absolute; left: 50%; bottom: -14px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: #2a1a10; }

.stats { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.stats strong { color: var(--cream); font-weight: 700; font-variant-numeric: tabular-nums; display: inline-block; }
.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.35); color: var(--brass-hi); } }

/* ------------------------------------------------------------ bediening */
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-bottom: 28px; animation: enter .9s var(--ease-out) .8s both; }
.ctl { display: flex; align-items: center; gap: .7rem; }
.ctl-label { font: 700 .68rem/1 var(--sans); letter-spacing: .2em; color: var(--brass); text-transform: uppercase; }
.volume-slider { -webkit-appearance: none; appearance: none; width: 150px; height: 6px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, var(--brass) var(--vol, 80%), rgba(0,0,0,.5) var(--vol, 80%)); box-shadow: inset 0 1px 2px #000; }
.volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3cf, var(--brass) 55%, var(--brass-d)); box-shadow: 0 2px 6px #000; }
.volume-slider::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3cf, var(--brass) 55%, var(--brass-d)); box-shadow: 0 2px 6px #000; }
.volume-pct { font: 600 .82rem/1 var(--sans); min-width: 3.5ch; color: var(--cream); font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.4); box-shadow: inset 0 0 0 1px rgba(201,162,74,.4); }
.seg button { border: 0; background: transparent; color: var(--muted); font: 700 .72rem/1 var(--sans); letter-spacing: .12em;
  padding: .55rem .9rem; border-radius: 999px; cursor: pointer; min-height: 36px; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: #2a1a0a; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.btn-ghost { position: relative; overflow: hidden; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem;
  border-radius: 999px; border: 1px solid rgba(201,162,74,.55); background: rgba(0,0,0,.25); color: var(--brass-hi);
  font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s; }
.btn-ghost::after, .btn-brass::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,240,200,.35), transparent); transform: skewX(-20deg); transition: left .6s var(--ease-out); }
.btn-ghost:hover::after, .btn-brass:hover:not(:disabled)::after { left: 120%; }
.btn-ghost:hover { border-color: var(--brass-hi); color: #fff; transform: translateY(-1px); }
.player-msg { flex-basis: 100%; min-height: 1.2em; font-size: .88rem; color: #ffd0bf; }

/* ------------------------------------------------------------ stemmen + krijtbord */
.lower { display: grid; gap: 24px; margin-bottom: 30px; }
@media (min-width: 880px) { .lower { grid-template-columns: 1fr 1.15fr; align-items: start; } }

.vote-panel.active { animation: votePulse 1.4s ease-in-out infinite;
  box-shadow: 0 24px 40px -24px #000, inset 0 0 0 1px var(--neon), 0 0 30px -6px rgba(255,79,123,.55); }
@keyframes votePulse { 50% { box-shadow: 0 24px 40px -24px #000, inset 0 0 0 1px var(--neon-soft), 0 0 44px -4px rgba(255,79,123,.75); } }
.vote-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 12px; min-height: 52px; }
.vote-badge { font: 700 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.vote-panel.active .vote-badge { color: var(--neon-soft); }
.vote-prompt { font: 600 1.15rem/1.35 var(--display); color: var(--cream); text-wrap: pretty; }
.vote-timer { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--neon) calc(var(--p, 1) * 360deg), rgba(255,255,255,.08) 0); box-shadow: 0 0 16px rgba(255,79,123,.45); }
.vote-timer strong { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #1c100b;
  font: 800 1.05rem/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.vote-actions { display: flex; gap: 10px; margin-top: 16px; animation: enter .4s var(--ease-out) both; }
.vote-btn, .btn-brass { position: relative; overflow: hidden; flex: 1; min-height: 48px; border-radius: 12px; border: 0; cursor: pointer;
  font: 700 .95rem/1 var(--sans); transition: transform .2s var(--ease-spring), box-shadow .2s, filter .2s; }
.btn-brass { flex: none; width: 100%; margin-top: 16px; color: #2a1a0a; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass) 55%, var(--brass-d)); box-shadow: 0 10px 20px -10px #000, inset 0 1px 0 rgba(255,255,255,.55); }
.btn-brass:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); }
.btn-brass:disabled { filter: grayscale(.7) brightness(.6); cursor: not-allowed; }
.vote-ja { background: linear-gradient(180deg, #3e7a3f, #275528); color: #eaffe6; box-shadow: inset 0 0 0 1px #6fbf6c; }
.vote-nee { background: linear-gradient(180deg, #8a2a2a, #5e1818); color: #ffe6e6; box-shadow: inset 0 0 0 1px #d06464; }
.vote-btn:hover { transform: translateY(-2px); }
.vote-btn:active { transform: scale(.97); }
.vote-btn.selected { box-shadow: inset 0 0 0 2px #fff, 0 0 18px rgba(255,255,255,.35); transform: scale(1.03); }
.vote-btn .n { display: inline-block; margin-left: .35rem; font-variant-numeric: tabular-nums; opacity: .85; }
.vote-status-msg, .vote-my-choice { margin-top: 10px; font-size: .86rem; color: var(--muted); }
.vote-status-msg:empty, .vote-my-choice:empty { display: none; }

.chalkboard { position: relative; border-radius: 4px; padding: 22px 24px 18px;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.07), transparent 50%),
    radial-gradient(ellipse at 80% 85%, rgba(255,255,255,.05), transparent 45%), var(--board);
  border: 12px solid transparent; border-image: linear-gradient(135deg, #6b4428, #3e2615 40%, #5a3820 70%, #2e1c10) 1;
  box-shadow: 0 24px 40px -22px #000, inset 0 0 40px rgba(0,0,0,.6); }
.chalk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 10px; }
.chalk-title { font: 400 clamp(1.7rem, 4vw, 2.1rem)/1 var(--script); color: var(--chalk); text-shadow: 0 0 1px rgba(255,255,255,.6), 0 0 8px rgba(255,255,255,.12); }
.badge-count { font: 700 .75rem/1 var(--sans); color: var(--board); background: var(--chalk); border-radius: 999px; padding: .25rem .55rem; opacity: .85; }
.recent-list { list-style: none; display: grid; gap: 2px; }
.recent-list li { display: flex; gap: .9rem; align-items: baseline; padding: .45rem .2rem; border-bottom: 1px dashed rgba(233,238,229,.14); color: var(--chalk); font-size: .95rem; }
.recent-list li:last-child { border-bottom: 0; }
.recent-list time { font: 600 .82rem/1 var(--sans); color: #f3d38f; font-variant-numeric: tabular-nums; min-width: 3.2em; }
.recent-list .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-list .tag { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.recent-list li.fresh { animation: chalkIn 1.1s var(--ease-out) both; }
.recent-list li.fresh ~ li { animation: slideDown .6s var(--ease-out) both; }
@keyframes chalkIn { from { clip-path: inset(0 100% 0 0); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes slideDown { from { transform: translateY(-10px); opacity: .4; } to { transform: none; opacity: 1; } }
.recent-empty { color: rgba(233,238,229,.6) !important; font-style: italic; }

/* scroll-reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

.pub-footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 18px 0 8px; }
.pub-footer strong { font: 400 1.3rem/1 var(--script); color: var(--neon-soft); margin-right: .3rem; }

@keyframes enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; }

@media (max-width: 600px) {
  .pub { padding: 64px 14px 30px; }
  .panel { padding: 18px; }
  .links { margin-left: 0; }
  .volume-slider { width: 120px; }
  .lights li:nth-child(n+10) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .vinyl { animation: none !important; }
  .bubbles { display: none; }
  .arch img { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.door-18 { display: inline-block; margin-top: 8px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(184,162,132,.6); text-decoration: none; border-bottom: 1px dotted rgba(184,162,132,.4); }
.door-18:hover { color: var(--neon-soft); }


/* ------------------------------------------------------------ Gastenboek */
.guestbook-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}

.guestbook-panel {
  padding: 22px 24px;
}

.guestbook-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 14px;
}

.guestbook-title {
  font: 400 clamp(1.6rem, 3.8vw, 2.0rem)/1 var(--script);
  color: var(--neon-soft);
  text-shadow: 0 0 10px rgba(255, 79, 123, 0.45);
}

.guestbook-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.guestbook-list li {
  padding: 10px 14px;
  background: rgba(26, 15, 10, 0.6);
  border: 1px solid rgba(201, 162, 74, 0.2);
  border-radius: 10px;
}

.guestbook-list li .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

.guestbook-list li .meta strong {
  color: var(--brass-hi);
  font-size: 0.92rem;
}

.guestbook-list li p {
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.4;
  word-break: break-word;
  white-space: pre-wrap;
}

.guestbook-empty {
  color: var(--muted) !important;
  font-style: italic;
  background: transparent !important;
  border: none !important;
  padding: 4px 0 !important;
}

/* Gastenboek Formulier */
.guestbook-form {
  border-radius: var(--radius);
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(46, 27, 16, 0.94), rgba(24, 14, 9, 0.96));
  box-shadow: 0 24px 40px -24px #000, inset 0 0 0 1px rgba(201, 162, 74, 0.32), inset 0 1px 0 rgba(255, 230, 180, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guestbook-form h3 {
  font: 700 0.85rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 2px;
}

.guestbook-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guestbook-form label {
  font: 600 0.82rem/1 var(--sans);
  color: var(--cream);
  letter-spacing: 0.05em;
}

.guestbook-form input[type="text"],
.guestbook-form input[type="number"],
.guestbook-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--cream);
  background: rgba(18, 10, 6, 0.75);
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: 8px;
  padding: 10px 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.guestbook-form textarea {
  resize: vertical;
  min-height: 80px;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
  outline: none;
  border-color: var(--brass-hi);
  box-shadow: 0 0 0 3px rgba(241, 213, 138, 0.2);
}

.guestbook-form input::placeholder,
.guestbook-form textarea::placeholder {
  color: rgba(184, 162, 132, 0.5);
}

/* Honeypot anti-spam veld */
.form-row-website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.guestbook-form .form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.guestbook-form .form-actions .btn-brass {
  width: 100%;
  padding: 14px;
}

.guestbook-form .form-status {
  font-size: 0.88rem;
  color: var(--muted);
  min-height: 1.2em;
}

.guestbook-form .form-status.ok {
  color: #a3e635;
}

.guestbook-form .form-status.err {
  color: #f87171;
}
