:root {
  --bg: #1b1035;
  --bg-2: #241546;
  --card: rgba(255, 255, 255, .06);
  --card-solid: #2a1a52;
  --field: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .12);
  --text: #fff7ec;
  --muted: #c4b5e0;
  --pink: #ff4d8d;
  --orange: #ff8a3d;
  --yellow: #ffd23f;
  --teal: #3ee6c4;
  --blue: #5aa9ff;
  --good: #3ee6c4;
  --bad: #ff5f6d;
  --party: linear-gradient(120deg, var(--pink), var(--orange) 50%, var(--yellow));
  --radius: 20px;
  --top-h: 64px;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --topbar: #1d1238;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--body);
  overflow-x: hidden;
}
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); margin: 0 0 12px; line-height: 1.15; font-weight: 600; }
h3 { font-size: 1.2rem; }
h3.mt { margin-top: 22px; }
p { margin: 0 0 8px; }
a { color: var(--yellow); }
.muted { color: var(--muted); }
.error { color: var(--bad); min-height: 1.2em; }
.empty { color: var(--muted); font-style: italic; }

/* Kleurvlekken op de achtergrond */
.bg-blobs {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; transform: translateZ(0);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 77, 141, .3), transparent 50%),
    radial-gradient(circle at 100% 55%, rgba(90, 169, 255, .2), transparent 50%),
    radial-gradient(circle at 30% 110%, rgba(255, 138, 61, .2), transparent 50%);
}

/* Formulieren */
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  margin-bottom: 10px;
}
select option { background: var(--card-solid); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .75; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--yellow); outline-offset: -1px; }
label { display: block; color: var(--muted); font-size: .9rem; font-weight: 600; }
label > select, label > input { margin-top: 4px; color: var(--text); font-size: 1rem; font-weight: 400; }
.sub-label { color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--text); }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--pink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-weight: 800;
  color: var(--text); background: var(--field);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 18px; cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--party); color: #2a0f1f; border: 0; box-shadow: 0 6px 20px rgba(255, 77, 141, .35); }
.btn.primary:hover { box-shadow: 0 8px 26px rgba(255, 77, 141, .5); }
.btn.ghost { background: rgba(255, 255, 255, .1); }
.btn.danger { color: var(--bad); }
.btn.small { padding: 7px 13px; font-size: .9rem; }
.btn:disabled { opacity: .5; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row > input { flex: 1; min-width: 0; margin: 0; }
.row.between { justify-content: space-between; }
.row.between h3 { margin: 0; }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px 24px; text-align: center; }
.login-card h1 { font-size: 2rem; background: var(--party); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-card form { text-align: left; margin-top: 18px; }
.login-card .btn { width: 100%; }
.login-emoji { font-size: 64px; animation: wobble 2.5s ease-in-out infinite; }

/* Menubalk */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  height: var(--top-h);
  padding: 0 16px;
  background: var(--topbar);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; white-space: nowrap; }
.menu { flex: 1; display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.menu a {
  flex-shrink: 0; color: var(--muted); text-decoration: none; font-weight: 700; font-size: .9rem;
  padding: 7px 10px; border-radius: 999px; transition: background .2s, color .2s;
}
.menu a:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.menu a.active { color: #2a0f1f; background: var(--party); }
.me { font: inherit; font-weight: 700; font-size: .9rem; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; white-space: nowrap; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 16px 72px; text-align: center; }
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.hero-kicker { display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--yellow); background: rgba(255, 210, 63, .12); border: 1px solid rgba(255, 210, 63, .3); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.hero-title { font-size: clamp(2.6rem, 9vw, 5.2rem); font-weight: 700; letter-spacing: -.01em; background: var(--party); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 26px; }
.countdown { display: flex; justify-content: center; gap: clamp(8px, 2vw, 18px); margin-bottom: 18px; }
.countdown div {
  min-width: clamp(68px, 18vw, 120px); padding: 14px 6px 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
}
.countdown b { display: block; font-family: var(--display); font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown div:nth-child(1) b { color: var(--pink); }
.countdown div:nth-child(2) b { color: var(--orange); }
.countdown div:nth-child(3) b { color: var(--yellow); }
.countdown div:nth-child(4) b { color: var(--teal); }
.countdown small { color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.countdown .big { min-width: 0; padding: 16px 26px; font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 700; }
.hero-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.floaters span { position: absolute; will-change: transform; font-size: clamp(1.6rem, 4vw, 2.6rem); opacity: .5; animation: float 7s ease-in-out infinite; }
.floaters span:nth-child(1) { left: 6%; top: 18%; }
.floaters span:nth-child(2) { left: 88%; top: 12%; animation-delay: -1s; }
.floaters span:nth-child(3) { left: 14%; top: 72%; animation-delay: -2s; }
.floaters span:nth-child(4) { left: 82%; top: 70%; animation-delay: -3s; }
.floaters span:nth-child(5) { left: 30%; top: 6%; animation-delay: -4s; }
.floaters span:nth-child(6) { left: 66%; top: 86%; animation-delay: -5s; }
.floaters span:nth-child(7) { left: 94%; top: 44%; animation-delay: -2.5s; }
.floaters span:nth-child(8) { left: 2%; top: 46%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-18px) rotate(8deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) scale(1.08); } }

/* Secties */
main { max-width: 1120px; margin: 0 auto; padding: 0 16px 40px; }
.section { padding-top: 40px; }
.section-title { display: flex; align-items: center; gap: 12px; font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 700; margin-bottom: 20px; }
.section-title > span:first-child {
  display: grid; place-items: center; width: 1.6em; height: 1.6em; font-size: .8em;
  border-radius: 16px; background: var(--party); box-shadow: 0 6px 20px rgba(255, 77, 141, .35);
}
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.grid .span-2 { grid-column: 1 / -1; }
.card {
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px;
}
.grid > .card { margin-bottom: 0; }

/* Info */
.weather { display: flex; gap: 10px; overflow-x: auto; }
.wday { flex: 1; min-width: 92px; background: var(--field); border-radius: 16px; padding: 12px 8px; text-align: center; }
.wday .wicon { font-size: 2.2rem; line-height: 1.2; }
.wday .wtemp { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.wday small { color: var(--muted); display: block; font-size: .8rem; }
.address { font-weight: 800; }
.map-wrap { border-radius: 16px; overflow: hidden; margin: 12px 0; aspect-ratio: 16 / 9; background: var(--field); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.seg { display: flex; gap: 6px; margin-bottom: 10px; }
.seg button { flex: 1; font: inherit; font-weight: 700; font-size: .85rem; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 9px 4px; cursor: pointer; }
.seg button.active { background: var(--party); color: #2a0f1f; border-color: transparent; }
.arrival-form { margin-bottom: 8px; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list.compact li { padding: 7px 0; font-size: .93rem; }
.list.scroll { max-height: 340px; overflow-y: auto; }
.list .grow { flex: 1; min-width: 0; }
.list .x { background: none; border: 0; color: var(--muted); font-size: 1rem; cursor: pointer; padding: 4px 8px; }
.pill { font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--field); color: var(--muted); white-space: nowrap; }
.pill.onderweg { background: rgba(255, 210, 63, .16); color: var(--yellow); }
.pill.aangekomen { background: rgba(62, 230, 196, .16); color: var(--teal); }

.plan-day { margin-bottom: 14px; }
.plan-day h4 { font-family: var(--display); font-weight: 600; font-size: 1rem; margin: 0 0 6px; color: var(--pink); }
.plan-day:nth-child(2) h4 { color: var(--orange); }
.plan-day:nth-child(3) h4 { color: var(--teal); }
.plan-item { display: flex; gap: 12px; padding: 4px 0; }
.plan-item time { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 48px; }

/* Scores */
.titles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.title-card { position: relative; overflow: hidden; border-radius: 18px; padding: 16px; color: #24102a; }
.title-card:nth-child(6n+1) { background: linear-gradient(135deg, #ffd23f, #ff8a3d); }
.title-card:nth-child(6n+2) { background: linear-gradient(135deg, #3ee6c4, #5aa9ff); }
.title-card:nth-child(6n+3) { background: linear-gradient(135deg, #ff4d8d, #ff8a3d); }
.title-card:nth-child(6n+4) { background: linear-gradient(135deg, #ffd23f, #3ee6c4); }
.title-card:nth-child(6n+5) { background: linear-gradient(135deg, #b18cff, #ff4d8d); }
.title-card:nth-child(6n+6) { background: linear-gradient(135deg, #5aa9ff, #b18cff); }
.title-card .t-emoji { position: absolute; right: -6px; bottom: -14px; font-size: 4.2rem; opacity: .9; transform: rotate(-12deg); }
.title-card small { display: block; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.title-card .t-name { font-family: var(--display); font-weight: 700; font-size: 1.45rem; margin: 2px 0; padding-right: 50px; }
.title-card .t-value { font-weight: 700; font-size: .9rem; }
.titles .empty { grid-column: 1 / -1; }

.leaderboard { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.leaderboard li { counter-increment: rank; display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.leaderboard li:first-child { border-top: 0; }
.leaderboard li::before { content: counter(rank); flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--field); font-weight: 800; font-size: .9rem; }
.leaderboard li:nth-child(1)::before { content: "🥇"; background: rgba(255, 210, 63, .2); font-size: 1.1rem; }
.leaderboard li:nth-child(2)::before { content: "🥈"; background: rgba(255, 255, 255, .12); font-size: 1.1rem; }
.leaderboard li:nth-child(3)::before { content: "🥉"; background: rgba(255, 138, 61, .2); font-size: 1.1rem; }
.leaderboard .name { flex: 1; font-weight: 700; }
.leaderboard .score { font-family: var(--display); font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.chip { font: inherit; font-weight: 700; font-size: .88rem; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: transform .12s, background .15s; }
.chip:hover { background: rgba(255, 255, 255, .14); }
.chip:active { transform: scale(.94); }
.chip b { color: var(--teal); }
.chip.neg b { color: var(--pink); }
.chip-check { display: inline-flex; align-items: center; gap: 6px; }
.chip-check input { display: none; }
.chip-check:has(input:checked) { background: var(--pink); color: #fff; border-color: var(--pink); }

.beer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.beer-btn { font: inherit; font-weight: 700; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 16px; padding: 10px 6px; cursor: pointer; transition: transform .12s; }
.beer-btn b { display: block; font-family: var(--display); font-size: 1.8rem; color: var(--yellow); line-height: 1.1; }
.beer-btn:hover { background: rgba(255, 210, 63, .12); }
.beer-btn:active { transform: scale(.93); }

/* Bingo */
.bingo-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.bingo { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bingo button {
  aspect-ratio: 1; font: inherit; font-weight: 700; font-size: clamp(.55rem, 1.9vw, .82rem); line-height: 1.15;
  color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 12px;
  padding: 4px; cursor: pointer; overflow: hidden; word-break: break-word; hyphens: auto;
  transition: transform .12s, background .2s;
}
.bingo button:hover { background: rgba(255, 255, 255, .14); }
.bingo button:active { transform: scale(.94); }
.bingo button.on { background: linear-gradient(135deg, var(--pink), var(--orange)); color: #fff; border-color: transparent; }
.bingo button.free { background: var(--party); color: #2a0f1f; font-family: var(--display); font-size: clamp(.7rem, 2.2vw, 1rem); cursor: default; }
.bingo button.win { box-shadow: 0 0 0 3px var(--teal), 0 0 18px rgba(62, 230, 196, .6); }
.banner { text-align: center; font-family: var(--display); font-size: 2rem; font-weight: 700; color: #2a0f1f; background: var(--party); border-radius: 16px; padding: 8px; margin-bottom: 12px; animation: pop .5s ease, pulse 1.6s ease-in-out infinite .5s; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulse { 50% { transform: scale(1.03); } }

/* Foto's */
.photos-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.file-drop { display: block; border: 2px dashed rgba(255, 255, 255, .25); border-radius: 16px; padding: 28px 16px; text-align: center; margin-bottom: 12px; cursor: pointer; color: var(--text); font-size: 1.05rem; font-weight: 700; transition: border-color .2s, background .2s; }
.file-drop:hover { border-color: var(--pink); background: rgba(255, 77, 141, .08); }
.file-drop input { display: none; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; }
.gallery button { padding: 0; border: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--field); cursor: pointer; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.06); }
.gallery .shame-tag { position: absolute; top: 4px; right: 6px; font-size: 1rem; }
.gallery .empty { grid-column: 1 / -1; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(15, 8, 30, .95); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: 70vh; border-radius: 14px; }
.lb-info { width: 100%; max-width: 600px; margin-top: 14px; text-align: center; }
.lb-caption { font-weight: 700; font-size: 1.1rem; }
.lb-info .row { justify-content: center; }
.lb-close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; font-size: 1.5rem; color: #fff; background: none; border: 0; cursor: pointer; padding: 8px; }

/* Quiz */
.progress { height: 12px; background: var(--field); border-radius: 999px; overflow: hidden; margin: 10px 0 6px; }
.progress div { height: 100%; background: var(--party); width: 0; border-radius: 999px; transition: width .4s; }
.quiz-grid { display: block; }
.quiz-q { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.quiz-q h4 { font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin: 0 0 10px; }
.quiz-q h4 small { color: var(--pink); margin-right: 4px; }
.quiz-q .chips { margin: 0; }
.quiz-q .chip.picked { background: var(--party); color: #2a0f1f; border-color: transparent; }
.quiz-result { font-size: .9rem; margin-top: 10px; }
.quiz-result .match { color: var(--teal); font-weight: 800; }
.quiz-result .nomatch { color: var(--bad); font-weight: 800; }
.quiz-single { max-width: 720px; }
.quiz-single h4 { font-size: 1.3rem; }
.quiz-single h4 small { font-family: "Nunito", sans-serif; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.quiz-nav { margin-top: 14px; }
.quiz-results { margin: 0; padding-left: 22px; }
.quiz-results li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.quiz-results li:first-child { border-top: 0; }
.quiz-results .match { color: var(--teal); font-weight: 800; }
.quiz-results .nomatch { color: var(--bad); font-weight: 800; }

/* Wall of Shame */
.quotes { list-style: none; margin: 0; padding: 0; }
.quote { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.quote:first-child { border-top: 0; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.quote .by { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.vote { font: inherit; display: flex; flex-direction: column; align-items: center; min-width: 52px; color: var(--muted); background: var(--field); border: 1px solid var(--line); border-radius: 14px; padding: 6px; cursor: pointer; align-self: flex-start; transition: transform .12s; }
.vote:active { transform: scale(.9); }
.vote.on { color: #2a0f1f; background: var(--party); border-color: transparent; }
.vote b { font-family: var(--display); font-size: 1.1rem; }
.quote .grow { flex: 1; min-width: 0; }
.quote .x { background: none; border: 0; color: var(--muted); cursor: pointer; align-self: flex-start; }

/* Stats */
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.tile { border-radius: 18px; padding: 18px; color: #24102a; }
.tile:nth-child(1) { background: linear-gradient(135deg, #ffd23f, #ff8a3d); }
.tile:nth-child(2) { background: linear-gradient(135deg, #3ee6c4, #5aa9ff); }
.tile:nth-child(3) { background: linear-gradient(135deg, #ff4d8d, #ff8a3d); }
.tile:nth-child(4) { background: linear-gradient(135deg, #b18cff, #ff4d8d); }
.tile b { display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.tile small { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; opacity: .8; }
.best-quote-card { text-align: center; padding: 28px 20px; }
.best-quote-card blockquote { margin: 0 0 6px; font-family: var(--display); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 600; background: var(--party); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bars .bar-row { display: grid; grid-template-columns: 84px 1fr 34px; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .93rem; font-weight: 700; }
.bars .bar-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .track { height: 16px; background: var(--field); border-radius: 999px; overflow: hidden; }
.bars .fill { height: 100%; background: var(--party); border-radius: 999px; transition: width .5s; }
.bars .bar-row span:last-child { text-align: right; font-family: var(--display); font-variant-numeric: tabular-nums; }

.footer { text-align: center; color: var(--muted); padding: 40px 0 10px; font-weight: 600; }

/* Zwevende uploadknop */
.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 30;
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  font-size: 1.7rem; background: var(--party); box-shadow: 0 10px 28px rgba(255, 77, 141, .5);
  transition: transform .15s;
}
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab:active { transform: scale(.92); }
.card.flash { animation: flash 1.5s ease; }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px var(--yellow), 0 0 30px rgba(255, 210, 63, .5); } }
.menu a.menu-extra { color: var(--yellow); }
.menu:empty { visibility: hidden; }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-weight: 800; font-size: .95rem; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: pop .25s ease; }
.toast.err { background: var(--bad); color: #fff; }

/* Dinsdagdip-pagina */
.dip-intro { max-width: 640px; margin-left: auto; margin-right: auto; font-size: 1.15rem; }
.grid.dip-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hl { color: var(--yellow); }
.dip-quotes { columns: 2 300px; column-gap: 16px; }
.dip-quotes blockquote {
  break-inside: avoid; margin: 0 0 16px; padding: 22px 22px 22px 56px; position: relative;
  font-family: var(--display); font-weight: 500; font-size: 1.2rem; line-height: 1.35;
  border-radius: var(--radius); color: #24102a;
}
.dip-quotes blockquote::before { content: "☕"; position: absolute; left: 18px; top: 20px; font-size: 1.5rem; }
.dip-quotes blockquote:nth-child(5n+1) { background: linear-gradient(135deg, #ffd23f, #ff8a3d); }
.dip-quotes blockquote:nth-child(5n+2) { background: linear-gradient(135deg, #3ee6c4, #5aa9ff); }
.dip-quotes blockquote:nth-child(5n+3) { background: linear-gradient(135deg, #ff4d8d, #ff8a3d); }
.dip-quotes blockquote:nth-child(5n+4) { background: linear-gradient(135deg, #b18cff, #ff4d8d); }
.dip-quotes blockquote:nth-child(5n+5) { background: linear-gradient(135deg, #ffd23f, #3ee6c4); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--party); }
.timeline li { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 10px 0; }
.timeline time { flex-shrink: 0; z-index: 1; width: 64px; text-align: center; font-family: var(--display); font-weight: 700; color: #2a0f1f; background: var(--yellow); border-radius: 999px; padding: 3px 0; }
.timeline li:nth-child(2) time { background: var(--orange); }
.timeline li:nth-child(3) time { background: var(--pink); }
.timeline li:nth-child(4) time { background: var(--teal); }
.timeline p { margin: 2px 0 0; font-size: 1.05rem; }
.dip-step { position: relative; padding-top: 26px; }
.dip-num { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 12px; font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: #2a0f1f; background: var(--party); border-radius: 14px; }
.dip-outro { text-align: center; padding: 32px 20px; }
.dip-outro p { font-family: var(--display); font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 600; margin-bottom: 18px; }

/* Beheerpagina */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; margin-bottom: 8px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid .row > input { margin: 4px 0 0; }
.form-grid .row .btn { margin-top: 4px; }
.form-grid .row { margin-bottom: 10px; }
.hint { font-size: .88rem; margin: -2px 0 12px; }
.warn { color: var(--yellow); }
.edit-list { list-style: none; margin: 0 0 12px; padding: 0; }
.edit-list .row { margin-bottom: 8px; flex-wrap: nowrap; }
.edit-list .row > input { margin: 0; }
.edit-list .x, .plan-row .x { background: none; border: 0; color: var(--muted); font-size: 1.1rem; cursor: pointer; padding: 6px 8px; }
.cat-row .pts { flex: 0 0 84px; }
.friend-row input { flex: 1; min-width: 90px; }
.friend-status { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.friend-status .pill { display: inline-block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
@media (max-width: 720px) { .friend-row { flex-wrap: wrap !important; } .friend-row input { flex-basis: 100%; } }
.plan-edit { background: var(--field); border-radius: 16px; padding: 12px; margin-bottom: 12px; }
.plan-edit > .row { margin-bottom: 10px; flex-wrap: nowrap; }
.plan-edit .day-name { flex: 1; margin: 0; font-weight: 800; }
.plan-row { flex-wrap: nowrap; margin-bottom: 8px; }
.plan-row input { margin: 0; }
.plan-row .time { flex: 0 0 82px; }
.admin textarea { font-size: .95rem; line-height: 1.5; resize: vertical; }
.admin-gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.admin-photo { position: relative; }
.admin-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.admin-photo small { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.admin-photo .del { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; background: var(--bad); color: #fff; font-weight: 800; }
.danger-zone { border-color: rgba(255, 95, 109, .4); }
.chip.danger-chip { background: var(--bad); border-color: var(--bad); color: #fff; }
.footer a { color: var(--muted); }

/* Modals (eerste keer inloggen, profiel) */
.modal { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: rgba(15, 8, 30, .82); }
.modal-card { position: relative; width: 100%; max-width: 420px; background: var(--card-solid); border: 1px solid var(--line); border-radius: 28px; padding: 28px 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); animation: pop .3s ease; }
.modal-card h2 { font-size: 1.6rem; }
.modal-card .btn { width: 100%; }
.modal-card .row .btn { width: auto; margin-top: 4px; }
.modal-card .row > input { margin: 4px 0 0; }
.modal-card > form { margin-bottom: 14px; }
.modal-card .login-emoji { text-align: center; }
.modal-card #setup-hello { text-align: center; }
.modal-close { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; padding: 6px; }
.profile-pw { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }
.small-print { font-size: .85rem; margin-top: 4px; }
body.modal-open { overflow: hidden; }

/* Gedeeld */
.chip.picked { background: var(--party); color: #2a0f1f; border-color: transparent; }
.chip.picked b { color: #2a0f1f; }
.sub-title { font-size: 1.5rem; margin: 32px 0 14px; }
.icon-btn { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; font-size: 1rem; text-decoration: none; background: var(--field); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .14); }

/* Noodknoppen */
.panic-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.panic-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  min-height: 96px; padding: 10px 6px; font: inherit; font-weight: 800; font-size: .85rem; line-height: 1.2;
  color: var(--text); text-decoration: none; background: var(--field); border: 1px solid var(--line); border-radius: 16px; cursor: pointer;
  transition: transform .12s, background .15s;
}
.panic-btn span { font-size: 1.9rem; }
.panic-btn:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.panic-btn:active { transform: scale(.95); }
.panic-btn.real { background: rgba(255, 95, 109, .18); border-color: var(--bad); color: #ffd9dc; }

/* Vermistendienst */
.status-picker { margin-bottom: 8px; }
.status-emoji { font-size: 1.5rem; width: 34px; text-align: center; flex-shrink: 0; }
.pill.vermist { background: var(--bad); color: #fff; animation: pulse 1.4s ease-in-out infinite; }

/* Hype */
.hype-now { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; margin-bottom: 12px; }
.hype-big { font-size: 3.4rem; line-height: 1; grid-row: span 2; }
.hype-now b { font-family: var(--display); font-size: 1.8rem; }
.hype-bar { grid-column: 1 / -1; height: 14px; background: var(--field); border-radius: 999px; overflow: hidden; }
.hype-bar div { height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal), var(--yellow), var(--orange), var(--pink)); border-radius: 999px; transition: width .5s; }
.hype-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 14px; }
.hype-btn { display: flex; flex-direction: column; align-items: center; padding: 8px 2px; font: inherit; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: transform .12s; }
.hype-btn span { font-size: 1.7rem; line-height: 1.1; }
.hype-btn b { font-family: var(--display); }
.hype-btn small { font-size: .7rem; color: var(--muted); font-weight: 700; }
.hype-btn:active { transform: scale(.9); }
.hype-btn.picked { background: var(--party); color: #2a0f1f; border-color: transparent; }
.hype-btn.picked small { color: #2a0f1f; }
.hype-chart { display: flex; align-items: flex-end; gap: 4px; height: 110px; }
.hc-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.hc-bar { width: 100%; max-width: 26px; background: var(--party); border-radius: 6px 6px 2px 2px; min-height: 4px; }
.hc-col small { font-size: .68rem; color: var(--muted); }

/* Tijdlijn */
.timeline-feed { max-height: 520px; overflow-y: auto; margin-top: 8px; padding-right: 4px; }
.tl-day { position: sticky; top: 0; z-index: 1; display: inline-block; margin: 10px 0 4px; padding: 4px 12px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: .9rem; color: #2a0f1f; background: var(--yellow); text-transform: capitalize; }
.tl-item { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.tl-item time { flex-shrink: 0; width: 44px; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-e { flex-shrink: 0; width: 24px; text-align: center; }
.tl-item .grow { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tl-item .x { background: none; border: 0; color: var(--muted); cursor: pointer; }

/* Muziek */
.spotify-embed { width: 100%; height: 352px; border: 0; border-radius: 14px; margin-bottom: 10px; background: var(--field); }
.song-form { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 8px; margin-bottom: 8px; }
.song-form input { margin: 0; }
.songs li { gap: 8px; }
.songs .grow { overflow-wrap: anywhere; }
.played { margin-top: 14px; }
.played summary { cursor: pointer; font-weight: 800; color: var(--muted); }
.sotw { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #ffd23f, #ff8a3d); color: #24102a; }
.sotw > span { font-size: 2.6rem; }
.sotw b { font-family: var(--display); font-size: 1.3rem; }
.sotw .muted { color: #5a3a10; }

/* Zoek de dader */
.dader-card { margin-top: 16px; }
.dader-form { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; margin-bottom: 16px; }
.dader-form input[name=caption] { margin: 0; }
.file-drop.small-drop { margin: 0; padding: 11px 16px; font-size: .95rem; }
.dader-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.case { display: flex; flex-direction: column; background: var(--field); border-radius: 18px; overflow: hidden; }
.case img { width: 100%; aspect-ratio: 16 / 10; max-height: 280px; object-fit: cover; display: block; }
.case-body { padding: 14px; }
.case-q { font-family: var(--display); font-size: 1.15rem; font-weight: 600; margin-bottom: 2px; }
.verdict { margin: 10px 0; padding: 8px 12px; border-radius: 12px; background: rgba(255, 95, 109, .14); }
.case .chips { margin-bottom: 8px; }

/* Confessions */
.confessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.confession { padding: 16px; border-radius: 18px; background: rgba(177, 140, 255, .14); border: 1px solid rgba(177, 140, 255, .3); }
.confession:nth-child(3n+2) { background: rgba(62, 230, 196, .1); border-color: rgba(62, 230, 196, .3); }
.confession:nth-child(3n+3) { background: rgba(255, 77, 141, .1); border-color: rgba(255, 77, 141, .3); }
.confession p { font-family: var(--display); font-size: 1.1rem; font-weight: 500; }

/* Records */
.records { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.record { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px; padding-right: 60px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.record small { color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; }
.record b { font-family: var(--display); font-size: 1.25rem; }
.rec-e { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 2.4rem; }

/* Achievements */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 6px; border-radius: 16px; background: var(--field); border: 1px dashed var(--line); filter: grayscale(1); opacity: .45; }
.badge span { font-size: 2rem; }
.badge b { font-size: .9rem; }
.badge small { font-size: .7rem; color: var(--muted); line-height: 1.25; }
.badge.got { filter: none; opacity: 1; border: 1px solid rgba(255, 210, 63, .5); background: linear-gradient(160deg, rgba(255, 210, 63, .2), rgba(255, 77, 141, .15)); }

/* Brakheid */
.brak-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 12px; }
.brak-form .check { grid-column: span 2; margin-bottom: 8px; }
.brak-result { display: flex; align-items: center; gap: 18px; margin-top: 10px; padding: 18px; border-radius: 18px; background: var(--field); }
.brak-emoji { font-size: 4rem; line-height: 1; }
.brak-text { flex: 1; min-width: 0; }
.brak-text b { display: block; font-family: var(--display); font-size: 1.6rem; }
.brak-meter { height: 12px; background: rgba(255, 255, 255, .08); border-radius: 999px; overflow: hidden; margin: 8px 0 12px; }
.brak-meter div { height: 100%; background: linear-gradient(90deg, var(--teal), var(--yellow), var(--orange), var(--bad)); border-radius: 999px; transition: width .3s; }

/* Home-highlights */
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.home-grid > .card { margin-bottom: 0; }
a.hl-card { display: block; color: inherit; text-decoration: none; transition: transform .15s, border-color .15s; }
a.hl-card:hover { transform: translateY(-2px); border-color: rgba(255, 210, 63, .45); }
.hl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.hl-head h3 { margin: 0; }
.hl-more { flex-shrink: 0; color: var(--yellow); font-weight: 800; font-size: .88rem; text-decoration: none; }
.hl-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hl-label { color: var(--muted); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin: 12px 0 4px; }
.hl-list { margin: 0; padding-left: 20px; }
.hl-list li { padding: 3px 0; }
.sotw.small { padding: 10px 14px; gap: 10px; }
.sotw.small > span { font-size: 1.8rem; }
.sotw.small small { font-weight: 800; text-transform: uppercase; font-size: .7rem; letter-spacing: .05em; }
.sotw.small b { font-size: 1.1rem; }
.hl-quote { margin: 0 0 10px; padding: 12px 14px; border-radius: 14px; background: var(--field); font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.hl-quote.small { font-size: 1rem; }
.hl-quote small { display: block; margin-top: 4px; font-family: "Nunito", sans-serif; font-size: .82rem; color: var(--muted); }
.hl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.hl-stats > div { padding: 12px 6px; border-radius: 16px; background: var(--field); }
.hl-stats span { display: block; font-size: 1.8rem; }
.hl-stats b { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.hl-stats small { color: var(--muted); font-weight: 700; }
#hl-timeline .tl-item:first-child { border-top: 0; }
.page > .hero { margin: 0 -16px; }

/* Info-pagina: links planning/locatie/weer, rechts aankomsten */
.info-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.info-col { display: flex; flex-direction: column; gap: 16px; }
.info-col > .card { margin-bottom: 0; }
.page-intro { margin: -8px 0 16px; font-size: 1.05rem; }
.planning { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px 16px; }
.planning .plan-day { margin-bottom: 8px; }
.weather .wday { max-width: 140px; }

/* Spotify */
.now-playing { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg, rgba(30, 215, 96, .22), rgba(62, 230, 196, .1)); border: 1px solid rgba(30, 215, 96, .4); }
.now-playing img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.np-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.np-text small { font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #7ef0a8; }
.np-text small.muted { color: var(--muted); text-transform: none; letter-spacing: 0; }
.np-text b { font-family: var(--display); font-size: 1.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-text .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-bar { height: 6px; margin-top: 6px; background: rgba(255, 255, 255, .12); border-radius: 999px; overflow: hidden; }
.np-bar div { height: 100%; background: #1ed760; border-radius: 999px; transition: width 1s linear; }
.np-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; margin-right: 4px; }
.np-eq i { width: 3px; background: #1ed760; animation: eq .9s ease-in-out infinite; }
.np-eq i:nth-child(2) { animation-delay: -.3s; }
.np-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 10px; } }
.sp-results { margin-top: 4px; }
.sp-results li { gap: 12px; }
.sp-cover { width: 48px; height: 48px; flex-shrink: 0; border-radius: 8px; object-fit: cover; background: var(--field); }
.hl-now { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; padding: 10px; border-radius: 14px; background: rgba(30, 215, 96, .14); }
.hl-now img { width: 48px; height: 48px; border-radius: 8px; }
.hl-now small { font-weight: 800; font-size: .72rem; text-transform: uppercase; color: #7ef0a8; }
.sp-steps { margin: 0 0 14px; padding-left: 20px; }
.sp-steps li { margin-bottom: 6px; }
.sp-steps code, .code-box { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; background: var(--field); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.sp-status { padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; font-weight: 700; background: var(--field); }
.sp-status.ok { background: rgba(30, 215, 96, .16); color: #7ef0a8; }

/* Responsive */
/* Middelgroot scherm: alleen iconen in het menu (naam verschijnt bij hover) */
@media (max-width: 1340px) {
  .menu a span { display: none; }
  .menu a { font-size: 1.25rem; padding: 6px 10px; }
}
@media (max-width: 900px) {
  :root { --top-h: 112px; }
  .topbar { flex-wrap: wrap; height: auto; padding: 10px 12px 8px; row-gap: 6px; }
  .brand { flex: 1; }
  .menu { order: 3; flex-basis: 100%; justify-content: space-between; margin: 0 -4px; gap: 0; }
  .bingo-layout, .photos-layout { grid-template-columns: minmax(0, 1fr); }
  .panic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .panic-btn.real { grid-column: 1 / -1; flex-direction: row; min-height: 0; padding: 14px; font-size: 1rem; }
  .records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.dip-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --top-h: 112px; }
  .topbar { flex-wrap: wrap; height: auto; padding: 10px 12px 8px; row-gap: 6px; }
  .brand { flex: 1; }
  .menu a { font-size: 1.1rem; padding: 6px 4px; }
  .grid, .grid.dip-3, .quiz-grid, .form-grid, .home-grid, .info-layout { grid-template-columns: minmax(0, 1fr); }
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .panic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panic-btn { min-height: 84px; font-size: .78rem; }
  .song-form, .dader-form { grid-template-columns: minmax(0, 1fr); }
  .dader-cases, .records { grid-template-columns: minmax(0, 1fr); }
  .brak-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brak-result { flex-direction: column; text-align: center; }
  .spotify-embed { height: 152px; }
  .hero { padding: 40px 16px 48px; }
  .section { padding-top: 28px; }
  .card { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media (max-width: 720px) {
  .menu:empty { display: none; }
}
.btn.disabled { opacity: .5; cursor: not-allowed; }

/* Thema-opties */
.no-blobs .bg-blobs, .no-floaters .floaters { display: none; }
.card, .login-card, .modal-card, .quiz-q, .tile, .record, .title-card, .case, .confession, .person, .meal, .panic-btn, .wday { border-radius: var(--radius); }

/* Meer-menu */
.menu-more { flex-shrink: 0; font: inherit; font-weight: 700; font-size: .9rem; color: var(--muted); background: none; border: 0; padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.menu-more:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.menu-more.active, .menu-more[aria-expanded="true"] { color: #2a0f1f; background: var(--party); }
.more-panel {
  position: fixed; z-index: 25; top: calc(var(--top-h) + 8px); right: 16px; width: min(360px, calc(100vw - 32px));
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px;
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); animation: pop .2s ease;
}
.more-panel a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; color: var(--text); text-decoration: none; font-weight: 700; font-size: .85rem; background: var(--field); }
.more-panel a span { font-size: 1.6rem; }
.more-panel a:hover { background: rgba(255, 255, 255, .14); }
.more-panel a.active { background: var(--party); color: #2a0f1f; }

/* Planning bewerken */
.plan-form { display: grid; grid-template-columns: 1.3fr .7fr 2fr; gap: 0 8px; margin-bottom: 12px; padding: 12px; border-radius: 14px; background: var(--field); }
.plan-form .row { grid-column: 1 / -1; }
.plan-item { align-items: flex-start; }
.plan-by { display: block; color: var(--muted); font-size: .75rem; }
.plan-actions { display: flex; opacity: .35; transition: opacity .15s; }
.plan-item:hover .plan-actions, .plan-item:focus-within .plan-actions { opacity: 1; }
.plan-actions .x { background: none; border: 0; cursor: pointer; padding: 2px 4px; font-size: .85rem; color: var(--muted); }
@media (hover: none) { .plan-actions { opacity: 1; } }

/* Koken */
.meal-form .row { flex-wrap: nowrap; }
.meal-form .row select { margin-bottom: 10px; }
.cook-pick:has(input:checked) { background: var(--teal); border-color: var(--teal); color: #10302a; }
.meals { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.meal-day h3 { margin-bottom: 10px; }
.meal { padding: 14px; margin-bottom: 10px; background: var(--card); border: 1px solid var(--line); }
.meal-moment { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--yellow); }
.meal-dish { display: block; font-family: var(--display); font-size: 1.3rem; margin: 2px 0 8px; }
.meal-cooks { display: flex; flex-wrap: wrap; gap: 4px; }
.meal-notes { margin: 8px 0 0; font-size: .9rem; color: var(--muted); white-space: pre-line; }
.meal-foot { margin-top: 10px; }
.pill.vermist-soft { background: rgba(255, 95, 109, .16); color: #ffb3ba; }

/* Inbreng */
.round-info { display: flex; flex-direction: column; margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 210, 63, .2), rgba(255, 77, 141, .14)); }
.round-info b { font-family: var(--display); font-size: 1.4rem; }
.suggestions li { align-items: flex-start; gap: 12px; }
.sg-vote { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; }
.sg-btn { width: 40px; height: 34px; font-size: 1.05rem; background: var(--field); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; filter: grayscale(.6); transition: transform .12s; }
.sg-btn:active { transform: scale(.88); }
.sg-btn.up.on { background: rgba(62, 230, 196, .3); border-color: var(--teal); filter: none; }
.sg-btn.down.on { background: rgba(255, 95, 109, .3); border-color: var(--bad); filter: none; }
.sg-score { font-family: var(--display); font-size: 1.1rem; }
.sg-score.pos { color: var(--teal); }
.sg-score.neg { color: var(--bad); }
#suggest-filter { margin: 0; }

/* Deelnemers */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.person { display: flex; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--line); }
.avatar { flex-shrink: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #24102a; }
.person-body { flex: 1; min-width: 0; }
.person-nick { font-family: var(--display); font-size: 1.15rem; }
.person-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.person-stats { display: flex; gap: 12px; font-weight: 800; margin-bottom: 4px; }
.person-badges { font-size: 1.2rem; letter-spacing: 2px; margin: 2px 0; }

@media (max-width: 720px) {
  .plan-form { grid-template-columns: 1fr 1fr; }
  .plan-form input[name=text] { grid-column: 1 / -1; }
  .more-panel { right: 8px; }
}

/* Beheer: rollen, uiterlijk & teksten */
.color-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.color-grid label { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--text); font-weight: 700; }
.color-grid input[type=color] { width: 44px; height: 34px; padding: 2px; margin: 0; border-radius: 8px; cursor: pointer; flex-shrink: 0; }
.admin input[type=range] { padding: 0; accent-color: var(--pink); }
.code-area { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.text-group h3 { text-transform: capitalize; }
.text-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 4px 14px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.text-row:first-of-type { border-top: 0; }
.text-row small { color: var(--muted); overflow-wrap: anywhere; }
.text-row small code { font-size: .72rem; opacity: .7; }
.text-row input { margin: 0; }
.text-row input.changed { border-color: var(--yellow); }
.a-sg-check { width: 22px; height: 22px; accent-color: var(--teal); margin: 6px 0 0; flex-shrink: 0; }
@media (max-width: 720px) {
  .text-row, .color-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Beheermenu heeft meer onderdelen: eerder alleen iconen */
@media (max-width: 1600px) {
  .admin .menu a span { display: none; }
  .admin .menu a { font-size: 1.25rem; padding: 6px 10px; }
}

.gallery .empty .btn { aspect-ratio: auto; padding: 7px 13px; border-radius: 999px; overflow: visible; }

/* Be naughty-knop (link naar The Real Weekender) */
.btn-naughty { background: #120018; color: #ff7ae6; border: 1px solid #ff2bd6; box-shadow: 0 0 18px rgba(255, 43, 214, .45); }
.btn-naughty:hover { animation: naughty .4s ease-in-out infinite; box-shadow: 0 0 28px rgba(255, 43, 214, .7); }
.btn-naughty.nice { background: #f2fff9; color: #0b5a45; border-color: #3ee6c4; box-shadow: 0 0 18px rgba(62, 230, 196, .45); }
@keyframes naughty { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) scale(1.04); } }

/* Wachtwoord vergeten */
.link-btn { display: block; margin: 6px auto 0; padding: 4px; font: inherit; font-size: .9rem; font-weight: 700; color: var(--yellow); background: none; border: 0; cursor: pointer; text-decoration: underline; }
#forgot-form { text-align: left; margin-top: 18px; }
#forgot-form h2 { font-size: 1.3rem; }
#forgot-form .btn { width: 100%; }
.forgot-ok { padding: 10px 12px; border-radius: 12px; background: rgba(62, 230, 196, .15); color: var(--teal); font-weight: 700; }
.modal-card small.muted { font-weight: 400; }

