/* Food Challenge thema: één centrale stijl voor alle pagina's. Pas de kleuren hier aan. */
:root {
  --night: #2a1a46;
  --night-2: #3d2463;
  --lav: #e9defa;
  --lav-2: #d9c8f5;
  --panel: rgba(255, 255, 255, .78);
  --panel-solid: #fbf8ff;
  --ink: #2b1a3d;
  --ink-soft: #5d4b73;
  --yellow: #f9c934;
  --yellow-2: #ffe17a;
  --plum: #5a1f4f;
  --plum-2: #7a2c5f;
  --cream: #fff7e6;
  --green: #36b85a;
  --red: #e2453c;
  --radius: 20px;
  --shadow: 0 6px 0 rgba(60, 30, 90, .08), 0 14px 30px rgba(60, 30, 90, .12);
  --head: 'Fredoka', 'Baloo 2', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); font-weight: 600;
  background:
    radial-gradient(1200px 400px at 50% -120px, #5b3a8c 0%, transparent 70%),
    linear-gradient(180deg, var(--night) 0, var(--night-2) 170px, var(--lav-2) 171px, var(--lav) 60%, #e2d3f7 100%);
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--plum-2); }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.1; }
.muted { color: var(--ink-soft); font-weight: 500; }
.center { text-align: center; }

/* ---------- Kop ---------- */
.hero-top { position: relative; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 22px 16px 26px; min-height: 150px; overflow: hidden; }
.hero-top::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 30%, rgba(255, 210, 120, .25) 0 3px, transparent 4px) 0 0/120px 90px, radial-gradient(circle at 70% 60%, rgba(255, 210, 120, .18) 0 2px, transparent 3px) 0 0/90px 70px; pointer-events: none; }
.brand { position: relative; text-decoration: none; display: flex; flex-direction: column; align-items: center; transform: rotate(-2deg); }
.brand-title {
  font-family: var(--head); font-weight: 700; font-size: clamp(40px, 7vw, 76px); letter-spacing: .5px;
  background: linear-gradient(180deg, #fff 0 45%, var(--yellow-2) 46%, var(--yellow) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 2px #3a1b2c; filter: drop-shadow(0 5px 0 #3a1b2c) drop-shadow(0 0 18px rgba(255, 170, 60, .45));
}
.ribbon { margin-top: 6px; background: var(--cream); color: var(--plum); padding: 5px 22px; border-radius: 6px; font-family: var(--head); font-weight: 600; font-size: clamp(13px, 1.8vw, 18px); box-shadow: 0 4px 0 #b43a2a; border: 2px solid #3a1b2c; }
.bubble { position: relative; background: #fff; color: var(--ink); font-family: var(--head); font-weight: 600; font-size: 20px; padding: 14px 20px; border-radius: 50%; max-width: 200px; text-align: center; transform: rotate(-6deg); box-shadow: 0 4px 0 rgba(0, 0, 0, .2); }
.bubble::after { content: ''; position: absolute; left: 18px; bottom: -10px; border: 12px solid transparent; border-top-color: #fff; border-bottom: 0; transform: rotate(25deg); }
.deco { position: absolute; font-size: 64px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); user-select: none; pointer-events: none; }
.d1 { left: 3%; top: 26px; transform: rotate(-12deg); }
.d2 { left: calc(3% + 54px); top: 70px; font-size: 40px; }
.d3 { right: 3%; top: 30px; font-size: 76px; }

/* ---------- Navigatie ---------- */
.nav { display: flex; align-items: center; gap: 14px; padding: 16px clamp(16px, 3vw, 40px) 4px; max-width: 1500px; margin: 0 auto; width: 100%; }
.pills { display: flex; gap: 12px; flex: 1; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.pill { display: flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 14px; background: rgba(255, 255, 255, .7); color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 18px; white-space: nowrap; box-shadow: var(--shadow); transition: transform .12s; }
.pill:hover { transform: translateY(-2px); }
.pill.on { background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); box-shadow: 0 5px 0 #d49b10, 0 12px 24px rgba(200, 140, 0, .25); }
.pill .ico { font-size: 20px; }
.me { display: flex; align-items: center; gap: 12px; }
.bell { position: relative; width: 48px; height: 48px; border-radius: 14px; background: #b7a6d6; display: grid; place-items: center; font-size: 22px; text-decoration: none; box-shadow: var(--shadow); }
.bell b { position: absolute; top: -4px; right: -4px; background: var(--red); color: #fff; font-size: 12px; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; border: 2px solid #fff; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-body { position: absolute; right: 0; top: 60px; background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow); min-width: 190px; display: flex; flex-direction: column; gap: 8px; z-index: 10; }
.menu-body small { color: var(--ink-soft); margin-top: -6px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--plum-2); font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- Opbouw ---------- */
.wrap { flex: 1; width: 100%; max-width: 1500px; margin: 0 auto; padding: 14px clamp(16px, 3vw, 40px) 30px; }
.card { background: var(--panel); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); border: 2px solid rgba(255, 255, 255, .8); margin-bottom: 18px; min-width: 0; }
.card h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; color: var(--night); margin-bottom: 14px; }
.card h2 span { font-size: 24px; }
.card h2.plain { margin: 0; }
.card.cream { background: var(--cream); }
.card.dark { background: linear-gradient(160deg, var(--night-2), var(--night)); color: #fff; border-color: rgba(255, 255, 255, .15); }
.card.dark h2 { color: #fff; }
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.page { display: flex; flex-direction: column; }
.page.narrow { max-width: 720px; margin: 0 auto; width: 100%; }
.row { display: flex; align-items: center; gap: 10px; }
.wrapgap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
hr { border: 0; border-top: 2px dashed var(--lav-2); margin: 16px 0; }

/* ---------- Avatars ---------- */
.avatar { --c: var(--yellow); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, transparent 60%), var(--c); font-size: 24px; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(60, 30, 90, .2); flex: none; line-height: 1; }
.avatar.sm { width: 34px; height: 34px; font-size: 18px; border-width: 2px; vertical-align: middle; }
.avatar.md { width: 48px; height: 48px; font-size: 26px; }
.avatar.lg { width: 76px; height: 76px; font-size: 42px; }
.avatar.xl { width: 96px; height: 96px; font-size: 54px; border-width: 4px; }

/* ---------- Dashboard ---------- */
.people { list-style: none; padding: 0; margin: 0; }
.people li { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid rgba(90, 60, 130, .12); font-family: var(--head); font-size: 18px; }
.people li:last-child { border-bottom: 0; }
.people li span { flex: 1; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #36b85a33; }

.hero-card { position: relative; display: flex; align-items: center; gap: 20px; border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; color: #fff; box-shadow: var(--shadow);
  background: radial-gradient(400px 200px at 0% 50%, #ffcf6e55, transparent 70%), linear-gradient(100deg, var(--plum-2), var(--plum) 60%, #42153a); overflow: hidden; }
.hero-card::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-12deg, transparent 0 22px, rgba(255, 255, 255, .03) 22px 24px); pointer-events: none; }
.hero-emoji { font-size: 92px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); flex: none; }
.hero-text { flex: 1; min-width: 0; }
.hero-text h1 { font-size: clamp(30px, 4vw, 52px); text-shadow: 0 3px 0 rgba(0, 0, 0, .25); margin: 6px 0; }
.hero-text p { margin: 0; font-size: 17px; opacity: .92; }
.hero-card.slim .hero-emoji { font-size: 72px; }
.sticker { display: inline-block; background: var(--yellow); color: var(--ink); font-family: var(--head); font-weight: 600; padding: 4px 14px; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 3px 0 #c58f0a; }
.sticker.small { font-size: 14px; }
.stats { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: 16px; padding: 6px 16px; margin: 0; min-width: 240px; }
.stats div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid #eee4f7; }
.stats div:last-child { border: 0; }
.stats dt { color: var(--ink-soft); }
.stats dd { margin: 0; font-family: var(--head); font-weight: 600; }

.turn { display: flex; align-items: center; gap: 18px; background: linear-gradient(90deg, #fff4c9, #fffaf0); border-color: #ffe39a; }
.turn h2 { font-size: 26px; margin: 6px 0 4px; }
.turn p { margin: 0 0 8px; color: var(--ink-soft); }

.grid-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.pcard { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border-radius: 16px; padding: 18px 8px 12px; box-shadow: 0 3px 0 #e3d6f5; text-align: center; }
.pcard .hat { position: absolute; top: -8px; right: 10px; font-size: 22px; transform: rotate(14deg); }
.pcard .name { margin-top: 6px; background: var(--yellow); padding: 2px 14px; border-radius: 6px; font-family: var(--head); font-weight: 600; font-size: 17px; box-shadow: 0 2px 0 #c58f0a; }
.pcard small { color: var(--ink-soft); }
.pcard.is-now { outline: 3px solid var(--yellow); background: #fffbea; transform: translateY(-3px); }
.pcard.is-done { opacity: .75; }
.pcard.is-done .avatar { filter: saturate(.6); }

.tag { display: inline-block; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: #efe6fb; color: var(--ink-soft); white-space: nowrap; font-weight: 700; }
.tag.done { background: #ddf5e3; color: #1e7c3a; }
.tag.now { background: var(--yellow); color: var(--ink); }
.tag.rate { background: #ffe0ef; color: #a0225a; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; position: relative; font-family: var(--head); font-size: 17px; }
.timeline li + li { border-top: 1px solid rgba(90, 60, 130, .1); }
.timeline li i { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #b9a7d9; flex: none; background: #fff; }
.timeline li.active { background: linear-gradient(90deg, var(--yellow-2), #fff3c4); }
.timeline li.active i { border-color: #f08a00; background: var(--yellow); }
.timeline li.finished i { border-color: var(--green); background: var(--green); }
.timeline li .em { font-size: 24px; }
.timeline li a { flex: 1; color: var(--ink); text-decoration: none; font-weight: 600; }
.timeline li small { color: var(--ink-soft); font-family: var(--body); }

.finale { text-align: center; position: relative; overflow: hidden; }
.finale .trophy { font-size: 64px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); }
.finale h2 { justify-content: center; font-size: 28px; margin: 4px 0 16px !important; }
.track { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 8px; flex-wrap: wrap; row-gap: 8px; }
.step { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #b6a5d8; background: #e4daf5; display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800; flex: none; }
.step.finished { background: var(--green); border-color: #fff; }
.step.active { background: #fff; border: 6px solid #f6a21a; }
.bar { width: 18px; height: 4px; background: #b6a5d8; flex: none; }
.flag { font-size: 30px; margin-left: 4px; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 6px 0 6px 30px; font-weight: 600; }
.checks li::before { content: '✔'; position: absolute; left: 0; top: 4px; font-size: 18px; color: var(--ink); }

.next-bubble { background: #fff; border-radius: 40px 40px 40px 10px; padding: 16px 22px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; transform: rotate(-2deg); margin: 6px 6px 18px; border: 2px solid #3a1b2c; }
.next-bubble strong { font-family: var(--head); font-size: 26px; }

/* ---------- Lijsten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.ccard { position: relative; display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 16px; text-decoration: none; color: var(--ink); box-shadow: 0 3px 0 #e3d6f5; transition: transform .12s; }
.ccard:hover { transform: translateY(-2px); }
.ccard.active { outline: 3px solid var(--yellow); }
.ccard h3 { font-size: 20px; }
.ccard p { margin: 4px 0; color: var(--ink-soft); font-weight: 500; }
.big-emoji { font-size: 48px; }
.badge { position: absolute; top: 10px; right: 10px; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #efe6fb; font-weight: 800; }
.badge.active { background: var(--yellow); }
.badge.finished { background: #ddf5e3; color: #1e7c3a; }

.rounds { list-style: none; padding: 0; margin: 0; }
.round { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #fff; margin-bottom: 10px; box-shadow: 0 2px 0 #e9def8; }
.round .no { width: 30px; height: 30px; border-radius: 50%; background: var(--night-2); color: #fff; display: grid; place-items: center; font-family: var(--head); flex: none; }
.round .date { font-family: var(--head); min-width: 90px; }
.round small { color: var(--ink-soft); font-weight: 500; }
.round.done { opacity: .8; }
.round.rating { outline: 2px solid #f5a0c6; }
.edit { flex-basis: 100%; }
.edit summary { cursor: pointer; color: var(--plum-2); font-weight: 700; font-size: 14px; }
.edit[open] { background: var(--panel-solid); border-radius: 12px; padding: 10px; }
.ucard { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 3px 0 #e3d6f5; }
.ucard small { color: var(--ink-soft); }

/* ---------- Tabellen ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.card:has(.tbl) { overflow-x: auto; }
.tbl th { text-align: left; color: var(--ink-soft); font-size: 13px; padding: 8px; border-bottom: 2px solid var(--lav-2); }
.tbl td { padding: 8px; border-bottom: 1px solid #eee4f7; white-space: nowrap; }
.tbl tr.gold td { background: #fff4c9; }
.secret { font-family: var(--head); font-size: 20px; text-align: center; margin: 6px 0; }

/* ---------- Formulieren ---------- */
.form { display: flex; flex-direction: column; gap: 12px; }
.form.grid2, .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.full { grid-column: 1 / -1; }
label, .lbl { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-soft); font-weight: 700; }
input, select, textarea { font: inherit; font-weight: 600; color: var(--ink); padding: 10px 12px; border-radius: 12px; border: 2px solid var(--lav-2); background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px #f9c93455; }
input:disabled { background: #f3eefa; }
label.chk { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); }
label.chk input { width: auto; }
.checklist { display: flex; flex-wrap: wrap; gap: 8px; }
.checklist .chk { background: #fff; padding: 6px 12px 6px 6px; border-radius: 999px; border: 2px solid var(--lav-2); }
.btn { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 17px; padding: 10px 20px; border-radius: 12px; border: 0; cursor: pointer; text-decoration: none; color: var(--ink);
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); box-shadow: 0 4px 0 #d49b10; transition: transform .1s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #d49b10; }
.btn.small { font-size: 14px; padding: 7px 12px; }
.btn.ghost { background: #fff; box-shadow: 0 3px 0 var(--lav-2); }
.card.dark .btn.ghost { background: rgba(255, 255, 255, .15); color: #fff; box-shadow: none; }
.btn.danger { background: #ffe3e1; color: #a3231b; box-shadow: 0 3px 0 #f2b8b3; }
form.inline { display: inline; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.sw { position: relative; }
.sw input, .scale input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sw span { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--lav-2); cursor: pointer; }
.sw input:checked + span { box-shadow: 0 0 0 3px var(--night-2); }
.score { border: 0; padding: 0; margin: 0; }
.score legend { font-family: var(--head); font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.scale label { position: relative; }

.scale span { display: grid; place-items: center; height: 42px; border-radius: 10px; background: #fff; border: 2px solid var(--lav-2); font-family: var(--head); font-size: 18px; color: var(--ink); cursor: pointer; }
.scale input:checked + span { background: var(--yellow); border-color: #d49b10; }
.scale input:focus-visible + span { box-shadow: 0 0 0 3px #f9c93488; }
.rate-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rate-head small { color: var(--ink-soft); }

.flash { padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 700; background: #ddf5e3; color: #1e6b33; border: 2px solid #b5e6c2; }
.flash.error { background: #ffe3e1; color: #8d1d16; border-color: #f2b8b3; }
.login { max-width: 440px; margin: 20px auto; }

/* ---------- Voet ---------- */
.foot { position: relative; padding: 26px 16px 34px; text-align: center; background: linear-gradient(180deg, transparent, #c59a6b 30%, #a87a4d); overflow: hidden; }
.foot-ribbon { display: inline-block; background: var(--plum); color: #fff; font-family: var(--head); font-weight: 600; font-size: clamp(16px, 2.3vw, 24px); padding: 14px 30px; border-radius: 10px; transform: rotate(-2deg); box-shadow: 0 6px 0 #2e0f29; max-width: 100%; }
.foot-ribbon span { color: var(--yellow); }
.d4 { left: 4%; bottom: 10px; font-size: 60px; }
.d5 { right: 4%; bottom: 10px; font-size: 60px; transform: rotate(18deg); }

/* ---------- Responsief ---------- */
@media (max-width: 1250px) {
  .dash { grid-template-columns: 220px minmax(0, 1fr); }
  .col-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
  .col-right > * { margin: 0; }
}
@media (max-width: 960px) {
  .dash, .two { grid-template-columns: minmax(0, 1fr); }
  .col-left { order: 3; }
  .hero-card { flex-wrap: wrap; }
  .stats { width: 100%; }
  .bubble, .d2, .d3 { display: none; }
}
@media (max-width: 640px) {
  .hero-top { min-height: 120px; padding-top: 16px; }
  .deco.d1 { font-size: 40px; left: 8px; top: 10px; }
  .pill { padding: 10px 14px; font-size: 16px; }
  .pill .lbl { display: none; }
  .pill.on .lbl { display: inline; }
  .hero-emoji { font-size: 64px; }
  .form.grid2, .grid2, .grid3 { grid-template-columns: 1fr; }
  .scale { grid-template-columns: repeat(5, 1fr); }
  .turn { flex-direction: column; text-align: center; }
  .d4, .d5 { font-size: 40px; }
}

/* ---------- Beheermenu (alleen beheerders) ---------- */
.adminbar { display: flex; align-items: center; gap: 10px; max-width: 1500px; width: calc(100% - 2 * clamp(16px, 3vw, 40px)); margin: 8px auto 0; padding: 8px 12px; border-radius: 14px; background: var(--night-2); overflow-x: auto; scrollbar-width: none; }
.adm-lbl { color: var(--yellow-2); font-family: var(--head); font-weight: 600; white-space: nowrap; padding: 0 6px; }
.apill { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 7px 14px; border-radius: 10px; white-space: nowrap; background: rgba(255, 255, 255, .1); }
.apill:hover { background: rgba(255, 255, 255, .2); }
.apill.on { background: var(--yellow); color: var(--ink); }

/* ---------- Loginpagina ---------- */
.login-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; max-width: 1040px; margin: 10px auto 20px; align-items: stretch; }
.login-intro { position: relative; border-radius: var(--radius); padding: 30px 32px; color: #fff; box-shadow: var(--shadow); overflow: hidden;
  background: radial-gradient(380px 220px at 0% 0%, #ffcf6e44, transparent 70%), linear-gradient(140deg, var(--plum-2), var(--plum) 55%, #3a1233); }
.login-intro::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-12deg, transparent 0 22px, rgba(255, 255, 255, .03) 22px 24px); pointer-events: none; }
.login-intro h1 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 22px; text-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.login-intro h1 em { font-style: normal; color: var(--yellow-2); }
.plates { display: flex; gap: 8px; font-size: 44px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); flex-wrap: wrap; }
.plates span:nth-child(odd) { transform: rotate(-8deg); }
.plates span:nth-child(even) { transform: translateY(6px) rotate(6deg); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.steps li { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 10px 14px; }
.steps b { font-size: 28px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--yellow); border-radius: 12px; box-shadow: 0 3px 0 #c58f0a; flex: none; }
.steps strong { font-family: var(--head); font-size: 19px; display: block; }
.steps small { opacity: .85; font-weight: 600; }
.login-card { margin: 0; padding: 28px; display: flex; flex-direction: column; justify-content: center; background: var(--panel-solid); }
.login-card .chef { font-size: 64px; text-align: center; filter: drop-shadow(0 6px 6px rgba(60, 30, 90, .25)); }
.center-h { justify-content: center; text-align: center; font-size: 28px !important; margin: 4px 0 6px !important; }
.btn.big { font-size: 19px; padding: 13px 20px; width: 100%; }
.small { font-size: 13px; }
@media (max-width: 860px) { .login-wrap { grid-template-columns: 1fr; } .login-card { order: -1; } .login-intro { padding: 22px; } }

/* ---------- Datumprikker ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tag.poll { background: #e1f0ff; color: #1d5fa8; }
.pollinfo { color: #1d5fa8 !important; font-weight: 700 !important; }
.pollnote { display: flex; align-items: center; gap: 14px; background: linear-gradient(90deg, #e1f0ff, #f6fbff); border-color: #c4e0ff; }
.pollnote .big { font-size: 40px; }
.pollnote strong { font-family: var(--head); font-size: 20px; }
.pollnote small { color: var(--ink-soft); }
.opts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 120px auto 1fr auto; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 2px 0 #e9def8; }
.opt.best { outline: 3px solid var(--yellow); background: #fffbea; }
.opt.chosen { outline: 3px solid var(--green); background: #effbf2; }
.opt .when { display: flex; flex-direction: column; }
.opt .when strong { font-family: var(--head); font-size: 18px; }
.opt .when span { font-family: var(--head); color: var(--plum-2); font-size: 22px; }
.opt .when em { font-style: normal; font-size: 12px; font-weight: 800; color: #b07800; }
.tri { display: flex; gap: 6px; }
.tri label { position: relative; }
.tri input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tri span { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 52px; border-radius: 12px; border: 2px solid var(--lav-2); background: #fff; font-size: 20px; font-weight: 800; color: var(--ink); cursor: pointer; }
.tri span small { font-size: 10px; color: var(--ink-soft); font-weight: 700; }
.tri .a-yes input:checked + span { background: #ddf5e3; border-color: var(--green); }
.tri .a-maybe input:checked + span { background: #fff4c9; border-color: #e0a800; }
.tri .a-no input:checked + span { background: #ffe3e1; border-color: var(--red); }
.tri input:focus-visible + span { box-shadow: 0 0 0 3px #f9c93488; }
.tally { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.tally .y { color: #1e7c3a; } .tally .m { color: #a07000; } .tally .n { color: #a3231b; }
.tally .who { display: flex; } .tally .who .avatar { margin-left: -6px; }
.mng { display: flex; gap: 6px; }
.optadd { display: grid; gap: 8px; }
@media (max-width: 960px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .opt { grid-template-columns: 1fr; }
  .tri span { width: 100%; } .tri label { flex: 1; }
  .grid4 { grid-template-columns: 1fr; }
  .pollnote { flex-wrap: wrap; }
}

/* ---------- Themabeelden, recepten, AI ---------- */
.hero-photo { position: relative; z-index: 1; flex: none; width: 190px; height: 130px; border-radius: 18px; background: #0003 center/cover no-repeat; border: 4px solid #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); transform: rotate(-2deg); }
.hero-card.slim .hero-photo { width: 150px; height: 104px; }
.hero-badge { position: absolute; right: -12px; bottom: -12px; font-size: 34px; background: #fff; border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.credit { display: block; margin-top: 6px; font-size: 11px; opacity: .8; position: relative; z-index: 1; }
.credit a { color: inherit; }
.card .credit { color: var(--ink-soft); }
.img-preview { height: 180px; border-radius: 14px; background: center/cover no-repeat; margin-bottom: 6px; }
.img-search { margin: 12px 0 6px; }
.img-search input { flex: 1; min-width: 160px; }
.upl { cursor: pointer; }
.ugrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 8px; }
.uimg { position: relative; height: 90px; border: 0; border-radius: 12px; background: #eee center/cover no-repeat; cursor: pointer; padding: 0; }
.uimg:hover { outline: 3px solid var(--yellow); }
.uimg a { position: absolute; left: 4px; bottom: 4px; right: 4px; font-size: 10px; color: #fff; background: #0008; border-radius: 6px; padding: 1px 5px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.cthumb { flex: none; width: 72px; height: 56px; border-radius: 12px; background: center/cover no-repeat; }
.ai-out { display: flex; gap: 14px; align-items: center; background: linear-gradient(90deg, #fff4c9, #fffaf0); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; border: 2px solid #ffe39a; }
.ai-out h3 { font-size: 22px; }
.ai-out p { margin: 4px 0; }
.ai-out small { color: var(--ink-soft); }
.tag.recipe { background: #e8f7ee; color: #1e7c3a; text-decoration: none; }
.tag.missing { background: #fff0d6; color: #a05a00; text-decoration: none; }
.recipe-note { background: linear-gradient(90deg, #fff4c9, #fffaf0); border-color: #ffe39a; }
.recipe h2 { margin-top: 18px; }
.recipe h2:first-child { margin-top: 0; }
.ingr { columns: 2; column-gap: 28px; padding-left: 20px; margin: 0; }
.ingr li { padding: 3px 0; break-inside: avoid; }
.steps-r { padding-left: 0; margin: 0; list-style: none; counter-reset: st; }
.steps-r li { position: relative; padding: 8px 0 8px 46px; counter-increment: st; }
.steps-r li::before { content: counter(st); position: absolute; left: 0; top: 6px; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-family: var(--head); font-weight: 700; box-shadow: 0 2px 0 #c58f0a; }
.cost { background: var(--cream); padding: 10px 14px; border-radius: 12px; }
.cost.over { background: #ffe3e1; color: #8d1d16; }
@media (max-width: 640px) { .hero-photo, .hero-card.slim .hero-photo { width: 100%; height: 150px; transform: none; } .ingr { columns: 1; } }

/* ---------- Deelname per thema ---------- */
.mlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mlist li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 8px 10px; border-left: 6px solid #ccc; flex-wrap: wrap; }
.mlist li.m-ok { border-left-color: var(--green); }
.mlist li.m-wait { border-left-color: #f0a020; }
.mlist li.m-no { border-left-color: var(--red); opacity: .8; }
.mlist small { color: var(--ink-soft); }
.linkcopy { margin-top: 4px; font-size: 12px; padding: 4px 8px; border-radius: 8px; color: var(--ink-soft); }
.gates { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-weight: 700; }
.gates li.no { color: var(--ink-soft); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.mailtypes { border: 2px dashed var(--lav-2); border-radius: 14px; padding: 10px 14px; display: grid; gap: 4px; }
.mailtypes legend { font-family: var(--head); padding: 0 6px; }
.mailtypes label.chk { font-weight: 600; font-size: 14px; }
.sticker { white-space: nowrap; }
.hero-text h1 { overflow-wrap: anywhere; }
.hero-card:has(.hero-photo) .hero-text h1 { font-size: clamp(26px, 2.6vw, 40px); }
.dash .hero-photo { width: 150px; height: 110px; }

/* ---------- Stappenplan nieuw thema ---------- */
.two.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.stepper { padding: 18px 20px; }
.steps-h { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: none; }
.steps-h li { position: relative; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 12px; border: 2px solid var(--lav-2); }
.steps-h li b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 17px; background: var(--lav-2); color: var(--night); }
.steps-h li strong { display: block; font-family: var(--head); font-size: 16px; }
.steps-h li small { color: var(--ink-soft); font-weight: 600; }
.steps-h li.done { border-color: #b5e6c2; background: #effbf2; }
.steps-h li.done b { background: var(--green); color: #fff; }
.steps-h li.ready { border-color: var(--yellow); background: #fffbea; }
.steps-h li.ready b { background: var(--yellow); }
.release-in .form { gap: 10px; }
@media (max-width: 960px) { .steps-h { grid-template-columns: 1fr 1fr; } .two.even { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .steps-h { grid-template-columns: 1fr; } }

/* Tweestapsverificatie */
input.otp { font-size: 24px; letter-spacing: .3em; text-align: center; font-weight: 700; }
.mfa-setup { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
.mfa-setup .qr { width: 190px; flex: none; background: #fff; padding: 8px; border-radius: 16px; border: 3px solid var(--lav-2); }
.mfa-setup .qr svg { display: block; width: 100%; height: auto; }
.mfa-steps { flex: 1; min-width: 220px; margin: 0; padding-left: 20px; display: grid; gap: 10px; }
code.secret { display: block; margin-top: 6px; font-size: 15px; letter-spacing: .08em; background: var(--lav, #f3edff); padding: 8px 10px; border-radius: 10px; word-break: break-all; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0; }
.codes code { font-size: 17px; letter-spacing: .1em; text-align: center; padding: 10px; background: #fff; border: 2px dashed var(--lav-2); border-radius: 12px; }
details.recov { margin-top: 14px; }
details.recov summary { cursor: pointer; color: var(--muted, #6b5b8a); font-size: 14px; }
@media print { header, nav, .admin-bar, footer, .btn { display: none !important; } }
