/* 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;
  /* De paarse band hoort bij de kop zelf (.hero-top), zodat hij precies zo hoog is als de kop en nooit onder het eerste blok doorloopt. */
  background: linear-gradient(180deg, var(--lav-2) 0, 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; }
.pill .lbl-s { display: none; }
.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(min(280px, 100%), 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; }
  .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: 150px; 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; } }

/* Teasers uit de jurykamer */
p.teaser { margin: 6px 0 0; font-style: italic; color: var(--plum, #4a2a6b); background: #fff7d6; border-radius: 12px; padding: 6px 10px; font-size: 14px; }
p.teaser.big-teaser { font-size: 17px; padding: 14px 18px; margin: 0 0 14px; box-shadow: 0 3px 0 #f2dc8b; }
.card.jury ul.teasers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.card.jury ul.teasers li { display: flex; gap: 12px; align-items: flex-start; background: #fff7d6; border-radius: 16px; padding: 12px 14px; }
.card.jury ul.teasers p { margin: 0 0 4px; font-style: italic; font-weight: 600; }

.mfa-wrap { max-width: 440px; margin: 10px auto 24px; }
.mfa-card { padding: 22px 24px; }
.mfa-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.mfa-head .ico { font-size: 34px; }
.mfa-head h2 { margin: 0; font-size: 22px; }
.mfa-card .mfa-setup { gap: 16px; align-items: center; flex-wrap: nowrap; }
.mfa-card .mfa-steps { min-width: 0; font-size: 14px; gap: 6px; }
.mfa-card details.manual { margin: 0 0 12px; font-size: 13px; }
.mfa-card details.manual summary { cursor: pointer; color: var(--muted, #6b5b8a); }
.mfa-card form.center { text-align: center; margin-top: 8px; }
.linkbtn { background: none; border: 0; color: var(--muted, #6b5b8a); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
@media (max-width: 420px) { .mfa-card .mfa-setup { flex-wrap: wrap; justify-content: center; } }

/* v1.6: duo, chips, uitgaven, onthulling, chat */
.duo-av { display: inline-flex; }
.duo-av .avatar + .avatar { margin-left: -12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.chip { background: rgba(255, 255, 255, .18); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; }
.kamado-note { background: #fff1e6; border: 2px solid #ffb37a; border-radius: 14px; padding: 10px 14px; margin: 0 0 14px; }
.tag.chat { background: #e3f0ff; color: #1f4e8c; }
fieldset.dishform { border: 2px solid var(--lav-2); border-radius: 16px; padding: 12px 14px; display: grid; gap: 10px; margin: 0; }
fieldset.dishform legend { font-family: Fredoka, sans-serif; font-weight: 700; padding: 0 6px; }
.dish { border-top: 2px dashed var(--lav-2); padding-top: 10px; margin-top: 10px; }
.dish:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.dish h3 { margin: 0 0 6px; }
.dlabel { display: inline-block; background: var(--yellow, #f7c948); border-radius: 999px; padding: 1px 10px; font-size: 13px; margin-right: 6px; vertical-align: middle; }
.dish-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.dish h4 { margin: 4px 0; }
@media (max-width: 640px) { .dish-cols { grid-template-columns: 1fr; } }
img.receipt { max-width: 100%; max-height: 420px; border-radius: 12px; border: 2px solid var(--lav-2); display: block; margin-top: 8px; }
img.receipt.sm { max-height: 80px; margin: 0; }
.receipt-row { align-items: center; margin-top: 10px; }
.section-title { font-family: Fredoka, sans-serif; margin: 22px 0 10px; }
.reveal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.card.reveal.winner { box-shadow: 0 0 0 3px var(--yellow, #f7c948), var(--shadow); }
.rv-head { display: flex; gap: 12px; align-items: center; }
.rv-head h3 { margin: 0; }
.rv-total { text-align: center; background: var(--plum, #4a2a6b); color: #fff; border-radius: 14px; padding: 6px 12px; }
.rv-total b { display: block; font-size: 22px; }
.rv-scores { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.rv-scores span { background: #f3edff; border-radius: 10px; padding: 4px 8px; font-size: 13px; }
.card.reveal details { margin-top: 8px; }
.card.reveal summary { cursor: pointer; font-weight: 700; }
.tbl-wrap { overflow-x: auto; }
.chat { height: 50vh; min-height: 260px; overflow-y: auto; background: #fff; border: 2px solid var(--lav-2); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.chat .msg { display: flex; gap: 8px; align-items: flex-end; max-width: 85%; }
.chat .msg p { margin: 0; background: #f3edff; padding: 8px 12px; border-radius: 14px 14px 14px 4px; white-space: pre-wrap; word-break: break-word; }
.chat .msg.me { align-self: flex-end; flex-direction: row-reverse; }
.chat .msg.me p { background: #fff3c4; border-radius: 14px 14px 4px 14px; }
.chat .msg small { color: var(--muted, #6b5b8a); font-size: 11px; }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-form input { flex: 1; }

/* ---------- Mobiel: vaste onderbalk, beheermenu als raster, geen horizontaal scrollen ---------- */
@media (max-width: 760px) {
  body.has-nav { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.has-nav .hero-top { padding-top: calc(58px + env(safe-area-inset-top)); }
  .ccard { min-width: 0; padding-top: 42px; } .ccard > div { min-width: 0; }
  .nav { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: calc(10px + env(safe-area-inset-right)); width: auto; padding: 0; z-index: 30; }
  .nav .bell { width: 40px; height: 40px; font-size: 18px; }
  .nav .menu summary .avatar { width: 40px; height: 40px; font-size: 20px; }
  .pills { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; overflow: visible;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 -6px 20px rgba(60, 30, 90, .18); border-radius: 18px 18px 0 0; }
  .pill { flex-direction: column; gap: 2px; padding: 6px 2px; font-size: 11px; border-radius: 12px; background: none; box-shadow: none; min-width: 0; text-align: center; }
  .pill .ico { font-size: 22px; line-height: 1; }
  .pill .lbl { display: none; }
  .pill .lbl-s { display: block; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .pill.on { box-shadow: none; }
  .pill:hover { transform: none; }
  .adminbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; overflow: visible; padding: 8px; width: calc(100% - 32px); }
  .adm-lbl { grid-column: 1 / -1; padding: 0 2px; font-size: 15px; }
  .apill { white-space: normal; text-align: center; font-size: 13px; line-height: 1.2; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .apill .ai { font-size: 18px; }
  .menu-body { right: 0; }
}
.pcard.undrawn, .round.undrawn { opacity: .6; border-style: dashed; }

/* v1.9: badges en scorebord */
.badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.bdg { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 999px; background: #fff6d6; box-shadow: 0 2px 0 #e9c95a; font-size: 15px; line-height: 1; cursor: default; }
.bdg sup { font-size: 10px; font-weight: 700; margin-left: 1px; color: var(--ink-soft); }
.bdg.more { font-size: 12px; font-weight: 700; background: var(--lav-2, #ece4fa); box-shadow: none; }
.bdg.big { width: 44px; height: 44px; font-size: 24px; flex: none; }
.seg { display: flex; gap: 6px; background: #fff; padding: 5px; border-radius: 14px; margin-bottom: 16px; box-shadow: 0 3px 0 #e3d6f5; }
.seg a { flex: 1; text-align: center; padding: 9px 8px; border-radius: 10px; font-family: var(--head); font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.seg a.on { background: var(--yellow); color: var(--ink); box-shadow: 0 2px 0 #c58f0a; }
.scoreboard { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sb-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: 0 3px 0 #e3d6f5; min-width: 0; }
.sb-row .grow { min-width: 0; }
.sb-row strong { display: block; font-family: var(--head); font-size: 18px; }
.sb-row small { color: var(--ink-soft); }
.sb-row.top { background: #fffbea; }
.sb-row.me { outline: 3px solid var(--yellow); }
.sb-rank { width: 30px; text-align: center; font-family: var(--head); font-size: 22px; font-weight: 700; flex: none; }
.sb-pts { font-family: var(--head); font-size: 26px; font-weight: 700; text-align: right; line-height: 1; flex: none; }
.sb-pts small { display: block; font-size: 12px; font-weight: 400; }
.mini-board { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mini-board li { display: flex; align-items: center; gap: 8px; }
.mini-board li .grow { min-width: 0; }
.mini-board li.me { background: #fffbea; border-radius: 10px; }
.mini-board .bdg { min-width: 20px; height: 20px; font-size: 12px; }
.badge-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 10px; }
.badge-legend li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 2px 0 #e3d6f5; }
.badge-legend strong { display: block; }
.badge-legend small { display: block; color: var(--ink-soft); }
.badge-legend .who { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 6px; }
@media (max-width: 760px) { .sb-row { padding: 10px; gap: 8px; } .sb-pts { font-size: 21px; } .seg a { font-size: 14px; padding: 8px 4px; } }
.mystery { margin: 8px 0 0; padding: 8px 12px; background: #ffe8e0; border: 2px dashed #ff8a5b; border-radius: 12px; font-size: 15px; }
.pdf-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px dashed var(--lav-2, #e3d6f5); }
.pdf-row:last-child { border-bottom: 0; }
.pdf-row .grow { min-width: 160px; }
.pdf-row strong, .book-item strong { display: block; }
.pdf-row small, .book-item small { color: var(--ink-soft); }
.pdf-bar { margin: 0 0 14px; }
.book { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.book-item { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 8px 12px; box-shadow: 0 2px 0 #e3d6f5; flex-wrap: wrap; }
.book-item .grow { min-width: 150px; }
.book-item a { color: inherit; text-decoration: none; }
.book-h { margin: 16px 0 8px; font-family: var(--head); }
.book-search { width: 100%; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--lav-2, #e3d6f5); font: inherit; margin: 4px 0 6px; box-sizing: border-box; }
.a2hs { position: relative; display: flex; align-items: center; gap: 12px; margin: 10px 16px 0; padding: 16px 18px 14px 14px; background: #fffbea; border: 2px dashed var(--yellow); border-radius: 16px; }
.a2hs[hidden] { display: none; }
.a2hs .big { font-size: 28px; }
.a2hs .grow { min-width: 0; }
.a2hs strong { display: block; font-family: var(--head); }
.a2hs small { display: none; color: var(--ink-soft); }
.a2hs.is-ios .ios, .a2hs.is-android .android { display: block; }
.a2hs .shr { display: inline-block; border: 1.5px solid currentColor; border-radius: 4px; padding: 0 3px; font-size: 11px; }
.a2hs .x { position: absolute; top: -12px; right: -10px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: var(--night); color: #fff; border: 3px solid #fff; border-radius: 50%; font-size: 17px; font-weight: 700; line-height: 1;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .25); transition: transform .15s; }
.a2hs .x:hover, .a2hs .x:focus-visible { transform: scale(1.08) rotate(90deg); }
.a2hs .x::after { content: ''; position: absolute; inset: -6px; } /* groter tikvlak */
/* Beginscherm-app (iPhone): niets onder de statusbalk/notch. */
.hero-top { padding-top: calc(22px + env(safe-area-inset-top)); }
@media (max-width: 760px) { .hero-top { padding-top: calc(16px + env(safe-area-inset-top)); } body.has-nav .hero-top { padding-top: calc(58px + env(safe-area-inset-top)); } }
.ch-switch { flex-wrap: wrap; }
.ch-switch a { flex: 1 1 150px; }
.row.nowrap { flex-wrap: nowrap; gap: 8px; align-items: center; }
.budget-why { display: block; margin-top: 4px; }

.duo-box{margin:0 0 14px;padding:14px 18px;background:#f1e8fb;border:2px solid var(--purple,#4b2a6b);border-radius:14px;line-height:1.5}.duo-box strong{font-size:1.05rem}.duo-box ul{margin:8px 0 0;padding-left:20px}.duo-box li{margin:0 0 6px}
.mfa-card .manual-key { margin: 0 0 14px; }
.mfa-card .mk-row { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.mfa-card .mk-row code.secret { flex: 1; margin: 0; user-select: all; -webkit-user-select: all; }
.mfa-card .mk-row .btn { flex: none; padding: 8px 12px; }
.mystery-status { font-size: 1.05rem; margin: 0 0 6px; } .mystery-status.ok b { color: #2e8b57; } .ai-opt { margin: 4px 0 10px; }
.big-emoji.sm { font-size: 30px; width: 44px; text-align: center; }
.chip.chip-no { background: #fde8e8; color: #8a1c1c; }
.kamado-note.nogo { background: #fde8e8; }
.book-part { margin: 18px 0 0; padding-top: 14px; border-top: 2px dashed #e3d6f5; } .book-title { font-family: var(--head); font-size: 1.2rem; margin: 0 0 6px; } .book-title small { color: var(--ink-soft); font-size: .8em; }
.badge.open { background: #d9f2e3; color: #1d6b3c; }

.shop { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.shop-item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 2px 0 #e3d6f5; }
.shop-item.s-have strong, .shop-item.s-alt strong { text-decoration: line-through; opacity: .6; }
.shop-item .alt { display: none; flex-basis: 100%; }
.shop-item.s-alt .alt, .shop-item:has(input[value=alt]:checked) .alt { display: block; }
.seg.mini { display: flex; gap: 4px; flex-wrap: wrap; }
.seg.mini label { cursor: pointer; } .seg.mini input { position: absolute; opacity: 0; }
.seg.mini span { display: inline-block; padding: 5px 9px; border-radius: 10px; background: #f1e8fb; font-size: 13px; }
.seg.mini input:checked + span { background: var(--yellow); font-weight: 700; }
.shop-copy { white-space: pre-wrap; background: #fff; padding: 10px; border-radius: 10px; }
.report { font-style: italic; }
.checklist.col { flex-direction: column; align-items: flex-start; }
.profile-chip{display:inline-block;margin:.25rem .35rem 0 0;padding:.1rem .55rem;border-radius:999px;background:#fff4e0;color:#8a5a00;font-size:.78rem;font-weight:600}
.year-block{border-top:1px solid #0001;padding:.6rem 0}.year-block h4{margin:.2rem 0}
.year-stats{list-style:none;padding:0;margin:.3rem 0;display:grid;gap:.2rem;font-size:.92rem}
.waitlist{background:#fff8e6;border-radius:10px;padding:.45rem .7rem;font-size:.9rem}.winner-line{font-size:1.05rem}
.busy{padding:.4rem .6rem;border-radius:8px;background:#f1f1f4;color:#555;font-size:.9rem}
.act{display:inline-block;vertical-align:middle;margin-left:.3rem;padding:.1rem .5rem;border-radius:999px;font-size:.72rem;font-weight:700}
.act-ok{background:#e3f6e8;color:#1f7a3a}.act-no{background:#fde8e8;color:#a52020}.act-half{background:#fff1dc;color:#9a5b00}
.wow{font-size:1.05rem;padding:.5rem 0}
.ai-num input{width:5.5rem;margin-left:.4rem}.ai-num small{display:block}
.notif{display:flex;gap:.8rem;align-items:center;text-decoration:none;color:inherit;margin-bottom:.8rem}
.notif-cook{display:block;border:2px solid #f5c242;background:#fffaf0}
.notif-head{display:flex;gap:.8rem;align-items:center}.notif-head h3{margin:.2rem 0}
.notif-check{list-style:none;padding:0;margin:.5rem 0 .9rem;display:grid;gap:.25rem}.notif-check .todo{font-weight:700}
.mini-list{list-style:none;padding:0;margin:.4rem 0;display:grid;gap:.15rem;font-size:.92rem}
.mega-box{border:2px solid #f5c242;border-radius:14px;padding:.8rem 1rem;background:#fffaf0}.mega-box legend{font-weight:800;padding:0 .4rem}.mega-bij{display:block;font-size:1.4rem}
.chip-mega{background:#f5c242;color:#3a2600;font-weight:800}.mega-note{background:#fffaf0;border-left:4px solid #f5c242;padding:.5rem .7rem;border-radius:8px}
.ai-out[hidden]{display:none!important}
/* Nieuwe challenge: formulier in stappen */
.cform { gap: 18px; }
.cform [hidden] { display: none !important; }
.fstep { background: #fff; border: 2px solid var(--lav-2); border-radius: 20px; padding: 18px 20px; box-shadow: 0 4px 0 rgba(90, 31, 79, .06); }
.fstep > header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.fstep-no { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--night); font-weight: 900; font-size: 1.1rem; display: grid; place-items: center; box-shadow: 0 3px 0 #d9a514; }
.fstep h3 { margin: 2px 0 2px; font-size: 1.15rem; }
.fstep header p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.fstep-body { display: flex; flex-direction: column; gap: 12px; }
.kind-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kind-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px; border: 2px solid var(--lav-2); border-radius: 16px; background: var(--panel-solid); cursor: pointer; transition: .15s; }
.kind-card input { position: absolute; opacity: 0; pointer-events: none; }
.kind-card .kc-ico { font-size: 2rem; }
.kind-card small { color: var(--ink-soft); font-size: .8rem; line-height: 1.3; }
.kind-card:has(input:checked) { border-color: var(--yellow); background: #fff8dc; box-shadow: 0 0 0 3px rgba(249, 201, 52, .35); }
.kind-card:has(input:disabled) { cursor: default; opacity: .75; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.opt-card { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 2px solid var(--lav-2); border-radius: 14px; background: var(--panel-solid); cursor: pointer; }
.opt-card input { margin-top: 4px; flex: 0 0 auto; }
.opt-card .opt-ico { font-size: 1.4rem; line-height: 1; }
.opt-card .opt-txt { display: flex; flex-direction: column; gap: 2px; }
.opt-card .opt-txt small { color: var(--ink-soft); font-size: .8rem; font-weight: 500; }
.opt-card:has(input:checked) { border-color: var(--yellow); background: #fff8dc; }
.ai-box { border: 2px dashed var(--yellow); background: #fffbea; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ai-box-head { display: flex; gap: 10px; align-items: center; } .ai-box-head > span { font-size: 1.6rem; }
.ai-box-head small { display: block; color: var(--ink-soft); }
.ai-box .btn { align-self: flex-start; }
.cform-submit { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: center; padding: 10px; background: rgba(251, 248, 255, .92); border-radius: 18px; backdrop-filter: blur(6px); }
.cform-submit .btn { min-width: 260px; }
.adv summary { cursor: pointer; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 760px) { .kind-cards { grid-template-columns: 1fr; } .kind-card { flex-direction: row; text-align: left; } .kind-card small { display: none; } .cform-submit { bottom: 76px; } .fstep { padding: 14px; } }
.cform .opt-card { flex-direction: row; align-items: flex-start; }
.cform .kind-card { flex-direction: column; }
.cform .lbl .linkbtn { margin-left: 8px; font-size: .85rem; }
@media (max-width: 760px) { .cform .kind-card { flex-direction: row; } }
.cform .opt-card input { width: auto; padding: 0; margin-top: 3px; }
.cform .lbl { display: flex; align-items: center; gap: 8px; }
.terms h3 { margin: 18px 0 6px; font-size: 1.05rem; } .terms p, .terms li { line-height: 1.55; } .terms ul { padding-left: 20px; margin: 6px 0; }
.terms-box { background: #fff; border: 2px solid var(--lav-2); border-radius: 12px; padding: 8px 12px; max-height: 320px; overflow: auto; text-align: left; }
.terms-box summary { cursor: pointer; font-weight: 700; }
.terms-ok { align-items: flex-start !important; text-align: left; font-size: .92rem; line-height: 1.4; } .terms-ok input { margin-top: 3px; }

/* ---------- Challenge-formulier als app (v1.23) ---------- */
.cform .field { display: flex; flex-direction: column; gap: 6px; }
.cform .fstep-body { gap: 16px; }
.cform .grid2.keep { grid-template-columns: 1fr 1fr; }
.cform input[type=date] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: 48px; text-align: left; }
.cform input[type=date]::-webkit-date-and-time-value { text-align: left; }
.cform label { min-width: 0; }
/* Segmented control */
.seg { display: flex; gap: 4px; padding: 4px; background: var(--lav); border-radius: 14px; }
.seg label { flex: 1; display: block; min-width: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 0 !important; }
.seg span { display: block; text-align: center; padding: 10px 4px; border-radius: 10px; font-weight: 800; color: var(--ink-soft); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.seg input:checked + span { background: #fff; color: var(--night); box-shadow: 0 2px 6px rgba(60, 30, 90, .18); }
.seg input:focus-visible + span { outline: 3px solid #f9c93488; }
.seg input:disabled + span { cursor: default; opacity: .7; }
/* Chips (meerkeuze) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; width: 0 !important; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--lav-2); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; transition: all .15s; user-select: none; }
.chip input:checked + span { background: #fff3c4; border-color: var(--yellow); box-shadow: 0 2px 0 #e0ad1a; }
.chip input:checked + span::before { content: '✓'; font-weight: 900; color: var(--plum); }
.chip input:focus-visible + span { outline: 3px solid #f9c93488; }
.chip input:disabled + span { opacity: .65; cursor: default; }
.chips.people i { font-style: normal; font-size: 18px; }
/* Schakelaar-rijen */
.tog-list { display: flex; flex-direction: column; gap: 8px; }
.cform label.tog, .tog { display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 2px solid var(--lav-2); border-radius: 16px; cursor: pointer; color: var(--ink); }
.tog .opt-ico, .cell .opt-ico { font-size: 1.5rem; line-height: 1; flex: 0 0 auto; }
.tog .opt-txt, .cell .opt-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tog .opt-txt b, .cell .opt-txt b { font-size: 15px; }
.tog .opt-txt small, .cell .opt-txt small { color: var(--ink-soft); font-size: 13px; font-weight: 500; line-height: 1.35; }
.tog:has(.switch:checked) { border-color: var(--yellow); background: #fffbea; }
input.switch { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 52px !important; height: 32px; padding: 0; border: 0; border-radius: 999px; background: #d9cfe8; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
input.switch::before { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: transform .2s; }
input.switch:checked { background: var(--green); }
input.switch:checked::before { transform: translateX(20px); }
input.switch:focus { box-shadow: 0 0 0 3px #f9c93466; }
/* Uitklapcel */
.cell { background: #fff; border: 2px solid var(--lav-2); border-radius: 16px; }
.cell > summary, .cell.static { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.cell.static { cursor: default; }
.cell > summary::-webkit-details-marker { display: none; }
.cell > summary::after { content: '›'; font-size: 24px; line-height: 1; color: var(--ink-soft); transition: transform .2s; }
.cell[open] > summary::after { transform: rotate(90deg); }
.cell-body { display: flex; flex-direction: column; gap: 12px; padding: 0 14px 14px; }
.badge-n { padding: 3px 10px; border-radius: 999px; background: var(--lav); color: var(--ink-soft); font-weight: 800; font-size: 13px; }
.badge-n.on { background: #ffe1de; color: var(--red); }
.cell .mega-bij { font-size: 1.3rem; }
/* Soort challenge */
.cform .kind-card { flex-direction: row; text-align: left; align-items: center; gap: 12px; padding: 14px; }
.kind-card .kc-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.kind-card .kc-txt small { display: block !important; }
.kc-dot { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--lav-2); background: #fff; transition: all .15s; }
.kind-card:has(input:checked) .kc-dot { border: 7px solid var(--plum); }
.kind-cards { grid-template-columns: 1fr !important; }
/* Icoonkiezer */
.emoji-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 8px; padding: 4px 2px 8px; }
.emoji-pick label { display: block; min-width: 0; }
.emoji-pick input { position: absolute; opacity: 0; pointer-events: none; width: 0 !important; }
.emoji-pick span { display: grid; place-items: center; width: 100%; aspect-ratio: 1; height: auto; font-size: 26px; background: #fff; border: 2px solid var(--lav-2); border-radius: 14px; cursor: pointer; transition: transform .15s; }
.emoji-pick input:checked + span { border-color: var(--yellow); background: #fff3c4; transform: scale(1.08); box-shadow: 0 2px 0 #e0ad1a; }
.ai-box .tog { background: transparent; border: 0; padding: 0; }
/* Wizard */
.wiz-top { position: sticky; top: 0; z-index: 6; margin: -6px -4px 0; padding: 10px 4px 8px; background: linear-gradient(var(--panel-solid, #fbf8ff) 75%, transparent); display: flex; flex-direction: column; gap: 6px; }
.wiz-prog { display: flex; gap: 5px; }
.wiz-prog button { flex: 1; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--lav-2); cursor: pointer; box-shadow: none; transition: background .2s; }
.wiz-prog button:disabled { cursor: default; }
.wiz-prog button.done { background: var(--yellow); }
.wiz-prog button.cur { background: var(--plum); }
.wiz-label { display: flex; justify-content: flex-end; }
.wiz-label b { display: none; }
.wiz-label small { color: var(--ink-soft); font-weight: 800; font-size: 13px; }
.wiz-on .fstep { display: none; }
.wiz-on .fstep.on { display: block; animation: wizIn .25s ease; }
@keyframes wizIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wiz-on .fstep { border: 0; box-shadow: none; padding: 4px 0 8px; background: transparent; }
.wiz-on .fstep > header h3 { font-size: 1.4rem; }
.wiz-on .cform-submit { gap: 10px; justify-content: space-between; }
.wiz-on .cform-submit .btn { min-width: 0; }
.wiz-on .cform-submit [data-wiz-next], .wiz-on .cform-submit [data-wiz-submit] { flex: 1; }
.wiz-on .cform-submit [data-wiz-back] { flex: 0 0 auto; }
@media (min-width: 761px) { .tog-list { display: grid; grid-template-columns: 1fr 1fr; } .wiz-on { max-width: 640px; margin: 0 auto; } }
.cform .field > .lbl, .cform > .fstep .fstep-body > .lbl { flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; }
.wiz-on .cform-submit { background: var(--panel-solid); border-radius: 18px; box-shadow: 0 -8px 18px rgba(251, 248, 255, .95); }
.wiz-on .cform-submit .btn { white-space: nowrap; }
.wiz-on .cform-submit .btn.big { font-size: 1.05rem; padding-left: 14px; padding-right: 14px; }

/* ---------- App-look voor alle schermen (v1.24) ---------- */
/* Lijstrijen: tekst krijgt ruimte, labels schuiven naar een tweede regel */
.round .grow { flex: 1 1 170px; }
.people li .avatar { flex: none; }
/* Schakelaars voor losse aan/uit-vinkjes */
label.chk:has(> input[type=checkbox]):not(.terms-ok):not(.checklist .chk) { justify-content: space-between; gap: 12px; padding: 10px 0; }
label.chk:not(.terms-ok):not(.checklist .chk) > input[type=checkbox] { -webkit-appearance: none; appearance: none; order: 2; flex: 0 0 auto; width: 48px !important; height: 30px; padding: 0; border: 0; border-radius: 999px; background: #d9cfe8; position: relative; cursor: pointer; transition: background .2s; margin: 0 0 0 auto; }
label.chk:not(.terms-ok):not(.checklist .chk) > input[type=checkbox]::before { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: transform .2s; }
label.chk:not(.terms-ok):not(.checklist .chk) > input[type=checkbox]:checked { background: var(--green); }
label.chk:not(.terms-ok):not(.checklist .chk) > input[type=checkbox]:checked::before { transform: translateX(18px); }
/* Meerkeuze-lijsten als chips */
.checklist .chk { position: relative; padding: 8px 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .15s; user-select: none; }
.checklist .chk > input { position: absolute; opacity: 0; pointer-events: none; width: 0 !important; height: 0; }
.checklist .chk:has(> input:checked) { background: #fff3c4; border-color: var(--yellow); box-shadow: 0 2px 0 #e0ad1a; }
.checklist .chk:has(> input:checked)::before { content: '✓'; font-weight: 900; color: var(--plum); }
.checklist .chk:has(> input:focus-visible) { outline: 3px solid #f9c93488; }
/* Keuzerondjes als optiekaarten */
label.chk:has(> input[type=radio]) { align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 2px solid var(--lav-2); border-radius: 14px; margin-bottom: 8px; cursor: pointer; font-weight: 700; }
label.chk:has(> input[type=radio]:checked) { border-color: var(--yellow); background: #fffbea; }
label.chk > input[type=radio] { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 22px !important; height: 22px; padding: 0; margin: 0; border-radius: 50%; border: 2px solid var(--lav-2); background: #fff; transition: border .15s; order: 2; margin-left: auto; }
label.chk > input[type=radio]:checked { border: 7px solid var(--plum); }
/* Keuzelijsten met een nette pijl */
select { -webkit-appearance: none; appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%235a1f4f' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
input, select { min-height: 46px; }
textarea { min-height: 90px; }
input[type=date], input[type=time] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; }
input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value { text-align: left; }
/* Inklapbare instellingen-secties */
details.card.fold { padding: 0; }
details.card.fold > summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 10px; }
details.card.fold > summary::-webkit-details-marker { display: none; }
details.card.fold > summary h2 { margin: 0; flex: 1; font-size: 20px; }
details.card.fold > summary::after { content: '›'; font-size: 28px; line-height: 1; color: var(--ink-soft); transition: transform .2s; }
details.card.fold[open] > summary::after { transform: rotate(90deg); }
details.card.fold > .fold-body { padding: 0 20px 18px; display: flex; flex-direction: column; gap: 10px; animation: wizIn .2s ease; }
details.card.fold > .fold-body > .form { margin: 0; }
/* Tabellen: binnen de kaart schuiven i.p.v. de hele pagina */
.tscroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tscroll > table { min-width: 100%; }
@media (max-width: 760px) {
  .card { padding: 16px; border-radius: 22px; }
  .card h2 { font-size: 20px; }
  details.card.fold > summary { padding: 14px 16px; }
  details.card.fold > .fold-body { padding: 0 16px 16px; }
  /* Kleinere kop bovenaan, meer ruimte voor inhoud */
  body.has-nav .hero-top { min-height: 0; padding-bottom: 14px; }
  body.has-nav .hero-top .deco { display: none; }
  body.has-nav .brand-title { font-size: 34px; }
  /* Beheermenu: één compacte rij */
  .adminbar { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; }
  .adm-lbl { font-size: 13px; }
  .apill { font-size: 11px; padding: 6px 2px; border-radius: 10px; }
  .apill .ai { font-size: 18px; }
  /* Knoppen: grote raakvlakken, rijen netjes */
  .btn { min-height: 44px; }
  .row.wrapgap > .btn, .row.wrapgap > form > .btn { flex: 1 1 auto; justify-content: center; }
}
input[type=checkbox], input[type=radio], input[type=color], input[type=range] { min-height: 0; }
/* Spelers: totaalscore en score per challenge */
.ucard { position: relative; }
.pscore { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 74px; padding: 8px 10px; border-radius: 16px; background: var(--lav); color: var(--night); align-self: flex-start; }
.pscore .prank { font-family: var(--head); font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.pscore b { font-family: var(--head); font-size: 24px; line-height: 1.1; }
.pscore small { font-size: 11px; color: var(--ink-soft); font-weight: 700; }
.pscore.gold { background: linear-gradient(160deg, #ffe789, var(--yellow)); } .pscore.gold .prank { color: var(--plum); }
.pscore.silver { background: linear-gradient(160deg, #f3f1f7, #d8d4e2); }
.pscore.bronze { background: linear-gradient(160deg, #ffe2c8, #f0b98a); }
.pch { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.pch-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: #f7f2ff; text-decoration: none; color: var(--ink); font-size: 14px; }
.pch-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.pch-item b { font-family: var(--head); }
.pch-item small { min-width: 26px; text-align: right; color: var(--ink-soft); font-weight: 800; }
.pch-item.win { background: #fff3c4; }
.ucard > .pch, .ucard > small.muted { flex: 1 0 100%; margin-top: 0; }
.ucard > .grow { flex: 1 1 140px; }
@media (max-width: 760px) { .people-cards .ucard > .avatar.lg { width: 58px; height: 58px; font-size: 30px; align-self: flex-start; } .people-cards .ucard { gap: 12px; } }
.ucard > .grow { flex: 1 1 0; }
.pollnote { flex-wrap: wrap; }
.pollnote > .grow { flex: 1 1 200px; min-width: 0; }
@media (max-width: 760px) { .pollnote > .btn, .pollnote > form { flex: 1 1 100%; text-align: center; } .pollnote > form .btn { width: 100%; } .pollnote .big { font-size: 34px; } }
/* Tekst naast een vinkje loopt als één blok door */
label.chk > .chk-txt { flex: 1 1 auto; min-width: 0; display: block; }
/* Akkoord met de voorwaarden: nette kaart met een groot vinkje */
label.chk.terms-ok { display: flex; flex-direction: row; align-items: flex-start !important; gap: 12px; padding: 14px 16px; background: #fff; border: 2px solid var(--lav-2); border-radius: 16px; cursor: pointer; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.45; margin: 6px 0; }
label.chk.terms-ok:has(> input:checked) { border-color: var(--yellow); background: #fffbea; }
label.chk.terms-ok > input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 26px !important; height: 26px; margin: 0; padding: 0; border-radius: 8px; border: 2px solid var(--lav-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: all .15s; }
label.chk.terms-ok > input[type=checkbox]:checked { background: var(--green); border-color: var(--green); }
label.chk.terms-ok > input[type=checkbox]:checked::after { content: '✓'; color: #fff; font-weight: 900; font-size: 16px; line-height: 1; }
label.chk.terms-ok a { color: var(--plum); font-weight: 800; }
/* ---------- Datumkiezer in huisstijl ---------- */
.dp-wrap { position: relative; display: block; width: 100%; }
.dp-native { position: absolute !important; left: 0; bottom: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.dp-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--lav-2); background: #fff; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s; }
.dp-btn:hover, .dp-btn[aria-expanded=true] { border-color: var(--yellow); box-shadow: 0 0 0 3px #f9c93455; }
.dp-btn:disabled { background: #f3eefa; cursor: default; }
.dp-btn .dp-ico { font-size: 18px; }
.dp-btn .dp-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-btn .dp-ph { color: #a593bd; font-weight: 600; }
.dp-btn .dp-car { color: var(--plum); font-size: 14px; }
.dp-btn.dp-err { border-color: var(--red); box-shadow: 0 0 0 3px #e2453c33; }
.dp-pop { position: absolute; z-index: 300; width: 320px; max-width: calc(100vw - 32px); background: #fff; border-radius: 20px; padding: 14px; box-shadow: 0 6px 0 rgba(60, 30, 90, .08), 0 18px 40px rgba(60, 30, 90, .25); border: 2px solid var(--lav); animation: wizIn .15s ease; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-head b { font-family: var(--head); font-size: 19px; color: var(--night); text-transform: capitalize; }
.dp-nav { width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--lav); color: var(--plum); font-size: 24px; font-weight: 900; line-height: 1; cursor: pointer; }
.dp-nav:disabled { opacity: .35; cursor: default; }
.dp-wd, .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp-wd span { text-align: center; font-size: 12px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; padding: 4px 0; }
.dp-grid button { aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 12px; background: #f7f2ff; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; transition: background .12s, transform .12s; padding: 0; }
.dp-grid button.we { background: #f1eafc; }
.dp-grid button:hover:not(:disabled) { background: #fff3c4; }
.dp-grid button.today { box-shadow: inset 0 0 0 2px var(--plum); }
.dp-grid button.sel { background: var(--yellow); color: var(--night); box-shadow: 0 3px 0 #e0ad1a; transform: translateY(-1px); }
.dp-grid button:disabled { background: transparent; color: #cfc4df; cursor: default; text-decoration: line-through; text-decoration-color: #e3daf0; }
.dp-grid button:focus-visible { outline: 3px solid #f9c934; }
.dp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.dp-link { border: 0; background: none; color: var(--plum); font: inherit; font-weight: 800; cursor: pointer; padding: 8px 4px; }
.dp-back { position: fixed; inset: 0; z-index: 90; background: rgba(42, 26, 70, .45); animation: dpFade .2s ease; }
.dp-sheet { position: fixed; z-index: 91; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; border-radius: 24px 24px 0 0; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); animation: dpUp .25s ease; border: 0; }
.dp-sheet .dp-grid button { min-height: 44px; font-size: 17px; }
.dp-grab { width: 44px; height: 5px; border-radius: 9px; background: var(--lav-2); margin: 0 auto 10px; }
body.dp-lock { overflow: hidden; }
@keyframes dpUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes dpFade { from { opacity: 0; } to { opacity: 1; } }
/* ---------- Uploadvak in huisstijl ---------- */
.upzone { position: relative; display: block; border: 2px dashed var(--lav-2); border-radius: 18px; background: #fbf8ff; cursor: pointer; transition: border-color .15s, background .15s; outline: none; }
.upzone:hover, .upzone:focus-visible, .upzone.drag { border-color: var(--yellow); background: #fffbea; }
.upzone.has { border-style: solid; border-color: var(--green); background: #effaf2; }
.upzone.err { border-color: var(--red); background: #fff1f0; }
.up-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.up-body { display: flex; align-items: center; gap: 14px; padding: 18px; min-height: 84px; }
.up-ico { font-size: 34px; line-height: 1; flex: none; }
.up-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.up-txt b { font-family: var(--head); font-size: 17px; color: var(--night); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-txt small { color: var(--ink-soft); font-weight: 600; font-size: 13px; }
.up-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--ink-soft); font-weight: 900; cursor: pointer; box-shadow: 0 2px 0 #e3d6f5; }
.upbar { display: flex; flex-direction: column; gap: 6px; }
.upbar > div { height: 14px; border-radius: 999px; background: var(--lav); overflow: hidden; }
.upbar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--yellow), #f5a524); transition: width .2s; }
.upbar.busy i { width: 100% !important; background: repeating-linear-gradient(45deg, var(--yellow) 0 14px, #ffe27a 14px 28px); background-size: 40px 100%; animation: upBusy .8s linear infinite; }
.upbar small { color: var(--ink-soft); font-weight: 800; }
@keyframes upBusy { from { background-position: 0 0; } to { background-position: 40px 0; } }
/* Bestaande foto-/bonnetjeknoppen ook in huisstijl */
label.btn.upl { cursor: pointer; }
.tog-sub { margin: -8px 0 0 22px; padding-left: 14px; border-left: 3px solid var(--yellow); }
.tog-sub .tog { padding: 10px 12px; }
.chat .chat-day { align-self: center; margin: 6px 0 2px; font-size: 12px; color: var(--muted, #6b5b8a); background: #f3edff; padding: 2px 10px; border-radius: 99px; }
.tag.chat-closed { background: #eee8f5; color: #6b5b8a; }
.chat-link { margin: 12px 0 0; }
.chat-link .badge-n { margin-left: 6px; }
.eq-fields .chips { margin: 4px 0 6px; }
.eq-row { margin: 10px 0 0; padding: 10px 12px; background: #faf7ff; border: 2px solid var(--lav-2); border-radius: 14px; }
.eq-row > b { display: block; margin: 0 0 6px; }
.eq-view { margin: 0 0 14px; padding: 12px 16px; background: #fff8e6; border-radius: 14px; }
.eq-view ul { list-style: none; margin: 0; padding: 0; }
.eq-view li { margin: 4px 0; }
.eq-view li span { margin-right: 6px; }
.eq-total { margin: 0 0 6px; }
.recipe-photo img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin: 0 0 14px; }
.chat.tall { height: 60vh; }
.chat .msg p img { display: block; max-width: 100%; width: 240px; border-radius: 10px; margin: 2px 0 4px; }
.chat .msg p span { display: block; }
.chat-recipe { display: inline-block; margin: 4px 0 2px; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #fff3c4; color: var(--ink); text-decoration: none; }
.chat-recipe.make { background: var(--yellow); }
.chat .msg > div { min-width: 0; }
.chat .msg.me > div { text-align: right; }
.chat .msg.me > div p { text-align: left; }
.chat-del { background: none; border: 0; padding: 0 0 0 6px; cursor: pointer; font-size: 12px; opacity: .6; min-height: 0; }
.chat-del:hover { opacity: 1; }
.chat-form .chat-photo { flex: 0 0 auto; padding-left: 14px; padding-right: 14px; font-size: 18px; cursor: pointer; }
.kantine-btn.on { background: var(--yellow); }
.book-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.upbar[hidden] { display: none; }
.chat-recipe { display: table; }
.chat .msg.me .chat-recipe { margin-left: auto; }
.chat .msg small { display: block; }
.chat-foot { justify-content: space-between; align-items: center; margin-top: 10px; }
.push-status { font-weight: 800; }
.push-help { margin: 10px 0; padding: 12px 14px; background: #fffbea; border: 2px dashed var(--yellow); border-radius: 14px; }
.push-help ol { margin: 6px 0; padding-left: 20px; }
.push-help li { margin: 4px 0; }
.push-help .shr { display: inline-block; border: 1.5px solid currentColor; border-radius: 4px; padding: 0 3px; font-size: 11px; }
.push-cats { margin-top: 16px; }
.push-devs { margin: 6px 0 12px; padding-left: 0; list-style: none; } .push-devs li { margin: 4px 0; }
/* Knoppen onder een bewerkformulier: Opslaan over de volle breedte, daaronder de overige acties even breed naast elkaar. */
.btn.wide { width: 100%; justify-content: center; }
.user-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--lav-2); }
.user-actions form { margin: 0; display: block; }
.user-actions .btn { width: 100%; margin: 0; justify-content: center; white-space: nowrap; }
/* Kleuren: altijd op één nette rij (8 kolommen). */
.swatches { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; max-width: 360px; }
.sw span { width: 100%; height: auto; aspect-ratio: 1; max-width: 40px; }
.btn[hidden], .push-help[hidden] { display: none !important; }
/* Twee losse tabknoppen (Beoordelen / Scorebord): duidelijk twee knoppen, met ruimte ertussen. */
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.tabs2 a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 2px solid var(--lav-2); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 3px 0 var(--lav-2); transition: transform .1s; }
.tabs2 a:hover { transform: translateY(-1px); border-color: var(--yellow); }
.tabs2 a.on { background: var(--yellow); border-color: #e0ad1a; box-shadow: 0 3px 0 #d49b10; }
.tabs2 a { text-align: center; line-height: 1.2; } @media (max-width: 480px) { .tabs2 a { font-size: 15px; padding: 10px; } }
.mt-list { display: flex; flex-direction: column; gap: 0; border: 2px solid var(--lav-2); border-radius: 14px; background: #fff; overflow: hidden; }
.mt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; }
.mt-row + .mt-row { border-top: 1px solid var(--lav-2); }
.mt-lbl { min-width: 0; flex: 1; font-size: 14px; }
.mt-sw { display: flex; gap: 6px; flex: 0 0 auto; }
.mini { position: relative; cursor: pointer; }
.mini input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mini span { display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; background: #eee8f5; color: #9a8ab0; border: 2px solid transparent; white-space: nowrap; text-decoration: line-through; }
.mini input:checked + span { background: #fff3c4; color: var(--ink); border-color: var(--yellow); text-decoration: none; }
.mini input:focus-visible + span { outline: 2px solid var(--night-2); }
@media (max-width: 480px) { .mt-row { flex-direction: column; align-items: stretch; } .mt-sw { justify-content: flex-end; } }
.push-state { margin: 4px 0 0; } .push-state .act { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.push-state .act { margin-left: 0; }
.allergy-live { background: #fde8e8; border: 2px solid #f3a5a5; border-radius: 14px; padding: 10px 14px; margin: 10px 0; font-weight: 600; }
.allergy-live[hidden] { display: none; }
.allergy-live small, .nogo small { display: block; margin-top: 4px; font-weight: 400; color: #6b3b3b; line-height: 1.4; }
.bring-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.bring-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; background: #fff8ec; border-radius: 14px; }
.bring-list li b { flex: 1 1 140px; min-width: 0; overflow-wrap: anywhere; }
.bring-list .act { margin-left: 0; }
.bring-btns { display: flex; gap: 6px; margin-left: auto; }
.bring-big { font-size: 1.6rem; font-weight: 800; margin: 4px 0 8px; overflow-wrap: anywhere; }
.bring-list .act:not(.act-ok):not(.act-no) { background: #efe7fb; color: #5b3f7a; }
.bring-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; }
.bring-list li b { grid-column: 1; }
.bring-list li .act { grid-column: 1; justify-self: start; }
.bring-list .bring-btns { grid-column: 2; grid-row: 1 / span 2; margin-left: 0; }

/* Kop met eigen paarse achtergrond, en vaste ruimte tussen kop en eerste blok. */
.hero-top { background: radial-gradient(1200px 400px at 50% -120px, #5b3a8c 0%, transparent 70%), linear-gradient(180deg, var(--night) 0, var(--night-2) 100%); }
.wrap { padding-top: 22px; }
@media (max-width: 640px) { .wrap { padding-top: 18px; } }
.menu-n { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 12px; text-align: center; margin-left: 4px; }
.idea-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.idea { background: #fff; border: 2px solid var(--lav-2, #e6dcf7); border-radius: 16px; padding: 12px 14px; }
.idea p { margin: 8px 0; overflow-wrap: anywhere; white-space: pre-line; }
.idea .act { margin-left: 0; }
.idea-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.idea-head .act { margin-left: auto; }
.idea-reason { background: #fde8e8; border-radius: 12px; padding: 8px 12px; }
.idea-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; margin-top: 10px; }
.idea-reject { flex: 1 1 100%; }
.idea-reject > summary { list-style: none; display: inline-flex; cursor: pointer; }
.idea-reject > summary::-webkit-details-marker { display: none; }
.idea-reject[open] > summary { margin-bottom: 8px; }
.fold-plain > summary { list-style: none; cursor: pointer; }
.fold-plain > summary::-webkit-details-marker { display: none; }
.idea-reject { flex: 0 0 auto; } .idea-reject[open] { flex: 1 1 100%; }

/* ---------- Avatarmenu in huisstijl ---------- */
.menu[open] > summary::after { content: ''; position: fixed; inset: 0; z-index: 40; background: transparent; cursor: default; }
.menu-body { top: 62px; z-index: 41; min-width: 300px; padding: 0; gap: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(43, 22, 82, .28), 0 3px 0 rgba(43, 22, 82, .08); border: 2px solid #efe7fb; animation: menuIn .16s ease-out; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.menu-head { display: flex; align-items: center; gap: 14px; padding: 18px 18px 16px; background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 100%); color: #fff; }
.menu-head .avatar { flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.mh-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mh-txt strong { font-family: var(--head); font-size: 21px; line-height: 1.1; overflow-wrap: anywhere; }
.role-badge { align-self: flex-start; font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; }
.role-badge.admin { background: var(--yellow); color: var(--night); }
.menu-body small { margin-top: 0; }
.menu-items { display: flex; flex-direction: column; padding: 8px; }
.menu-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; min-height: 52px; background: none; border: 0; width: 100%; font: inherit; text-align: left; cursor: pointer; }
.menu-item:hover, .menu-item:focus-visible { background: #f5effd; outline: none; }
.mi-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; font-size: 20px; border-radius: 12px; background: #f3ecfc; }
.mi-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mi-txt b { font-family: var(--head); font-size: 16.5px; font-weight: 700; color: var(--night); }
.mi-txt small { font-size: 13px; color: var(--ink-soft); font-weight: 500; line-height: 1.3; }
.mi-go { flex: none; font-size: 24px; line-height: 1; color: #b9a6d6; font-weight: 700; }
.menu-item .menu-n { flex: none; margin-left: 0; }
.menu-logout { margin: 0; padding: 6px 8px 10px; border-top: 2px solid #f1eaf9; }
.menu-item.logout .mi-ico { background: #fde8e8; }
.menu-item.logout b { color: #b42318; }
.menu-item.logout:hover { background: #fff3f2; }
@media (max-width: 760px) {
  /* Op de telefoon als paneel vanaf de onderkant, met donkere achtergrond erachter (boven de tabbalk). */
  .menu[open] > summary::after { z-index: 55; background: rgba(26, 12, 52, .5); animation: fadeIn .18s ease-out; }
  .menu-body { z-index: 60; position: fixed; left: 0; right: 0; top: auto; bottom: 0; min-width: 0; border-radius: 26px 26px 0 0; border: 0; padding-bottom: env(safe-area-inset-bottom); max-height: 88vh; overflow-y: auto; animation: sheetUp .22s cubic-bezier(.2, .8, .2, 1); }
  .menu-body::before { content: ''; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 99px; background: rgba(255, 255, 255, .45); }
  .menu-head { padding-top: 26px; }
  .menu-item { min-height: 58px; }
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* Hero-kaart: tekst en cijferblok schuiven onder elkaar als het smal wordt (geen titel letter-voor-letter meer). */
.hero-card { flex-wrap: wrap; }
.hero-text { flex: 1 1 240px; }
.hero-card .stats { flex: 1 1 260px; }
/* Deelnemerskaarten: vast raster, zodat alle kaarten in een rij even hoog zijn en alles op dezelfde lijn staat. */
.people-cards { align-items: stretch; }
.people-cards .ucard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr auto auto; column-gap: 12px; row-gap: 10px; align-items: start; }
.people-cards .ucard > .avatar { grid-column: 1; grid-row: 1; }
.people-cards .ucard > .grow { grid-column: 2; grid-row: 1; min-width: 0; }
.people-cards .ucard > .pscore { grid-column: 3; grid-row: 1; }
.people-cards .ucard > .pch, .people-cards .ucard > small.muted { grid-column: 1 / -1; grid-row: 2; }
.people-cards .ucard > .push-state { grid-column: 1 / -1; grid-row: 4; }
.people-cards .ucard > details.edit { grid-column: 1 / -1; grid-row: 5; }
.people-cards .ucard h3 { overflow-wrap: anywhere; }
.people-cards .ucard h3 .act { display: table; margin: 5px 0 0; }
.people-cards .ucard .grow > small { display: block; margin-top: 4px; line-height: 1.35; }

.hero-text .budget-note { margin: 4px 0 0; font-size: 13px; color: inherit; opacity: .78; }
@media (max-width: 760px) { html.menu-locked, html.menu-locked body { overflow: hidden; overscroll-behavior: none; } .menu-body { overscroll-behavior: contain; touch-action: pan-y; } .menu-body::before { width: 52px; height: 6px; margin-left: -26px; background: rgba(255, 255, 255, .6); } }
.budget-ok { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; padding: 12px 14px; border-radius: 14px; background: #fff8e6; border: 2px solid #f6dd9a; font-size: 15px; line-height: 1.4; cursor: pointer; }
.budget-ok input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--night, #3b2470); }
.form label.budget-ok, label.budget-ok { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; color: var(--ink, #2b1d3a); font-weight: 600; }
.form label.budget-ok input { width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 1px; }

.age-pick { border: 0; padding: 0; margin: 4px 0 6px; min-width: 0; }
.age-pick legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.age-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: #ece4f8; }
.form .age-seg label, .age-seg label { display: block; margin: 0; cursor: pointer; }
.age-seg input { position: absolute; opacity: 0; pointer-events: none; }
.age-seg span { display: block; text-align: center; padding: 11px 8px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-soft, #6f5d85); transition: background .15s, color .15s, box-shadow .15s; }
.age-seg input:checked + span { background: var(--night, #3b2470); color: #fff; box-shadow: 0 3px 8px rgba(43, 22, 82, .25); }
.age-seg input:focus-visible + span { outline: 3px solid #f7c948; outline-offset: 1px; }
.parent-note { margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: #e8f4ff; border: 2px solid #b9dcfb; font-weight: 600; line-height: 1.45; }
/* Fotoalbum */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 12px 0; }
.album-ph { margin: 0; background: #fff; border-radius: 16px; padding: 6px; box-shadow: 0 3px 0 rgba(43, 22, 82, .08), 0 6px 16px rgba(43, 22, 82, .08); border: 2px solid #efe7fb; }
.album-ph img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 11px; background: #f3ecf8; }
.album-ph figcaption { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); padding: 6px 4px 2px; }
.album-ph .linkbtn { color: #b42318; font-weight: 700; }
.album-up { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.album-up .upbar { flex: 1 1 100%; }
/* Weddenschap */
.bet-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.bet-pick input { position: absolute; opacity: 0; pointer-events: none; }
.form .bet-pick, .bet-pick { display: block; margin: 0; cursor: pointer; }
.bet-pick span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 16px; border: 2px solid #e6dcf6; background: #fff; text-align: center; font-size: 14px; transition: border-color .15s, background .15s, transform .15s; }
.bet-pick input:checked + span { border-color: #8b5cf6; background: #f1eafe; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(139, 92, 246, .25); }
.bet-pick input:focus-visible + span { outline: 3px solid #f7c948; }
.bet-bars { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.bet-bars li { display: grid; grid-template-columns: minmax(0, 1.2fr) 2fr auto; gap: 10px; align-items: center; font-size: 14px; }
.bet-bars .bb-name { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bet-bars .bb-bar { height: 10px; border-radius: 99px; background: #efe7fb; overflow: hidden; }
.bet-bars .bb-bar i { display: block; height: 100%; border-radius: 99px; background: #b9a2e8; }
.bet-bars li.won .bb-bar i { background: linear-gradient(90deg, #f7c948, #e9a92a); }
.bet-hit { padding: 10px 14px; border-radius: 14px; background: #fff3cf; border: 2px solid #f6dd9a; }
/* Ons jaar in eten */
.yr-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 28px 24px 22px; margin-bottom: 18px; color: #fff; text-align: center;
  background: radial-gradient(circle at 15% 20%, rgba(247, 201, 72, .35), transparent 40%), radial-gradient(circle at 85% 80%, rgba(236, 72, 153, .35), transparent 45%), linear-gradient(135deg, #2a1a46, #5b2a6e); box-shadow: 0 14px 30px rgba(43, 22, 82, .3); }
.yr-hero h1 { font-family: var(--head, inherit); font-size: clamp(30px, 6vw, 44px); margin: 10px 0 6px; color: #ffe08a; text-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.yr-hero p { margin: 0 auto 16px; max-width: 520px; opacity: .9; }
.yr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.yr-stat { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; }
.yr-stat span { font-size: 22px; } .yr-stat b { font-size: 26px; line-height: 1.1; } .yr-stat small { font-size: 12px; opacity: .85; }
.yr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.yr-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: #faf7ff; border: 2px solid #efe7fb; }
.yr-medal { font-size: 26px; flex: none; }
.yr-dish { flex: 1; min-width: 0; display: flex; flex-direction: column; } .yr-dish small { color: var(--ink-soft); }
.yr-score { font-weight: 800; color: #6b1f4f; white-space: nowrap; }
.yr-facts { padding-left: 4px; list-style: none; display: grid; gap: 8px; margin: 0; }
.yr-myst { margin: 12px 0 0; } .yr-myst .chip { background: #fff3cf; color: #6b4a00; }
.yr-banner { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; border-radius: 20px; padding: 14px 18px; margin-bottom: 16px; background: linear-gradient(135deg, #2a1a46, #5b2a6e); box-shadow: 0 8px 20px rgba(43, 22, 82, .25); }
.yr-banner b { color: #ffe08a; } .yr-banner span.big { font-size: 34px; }
@media (max-width: 520px) { .yr-stats { grid-template-columns: repeat(2, 1fr); } .album-grid { grid-template-columns: repeat(2, 1fr); } }
.people-search { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.people-search input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 14px; border: 2px solid #e6dcf6; background: #fff; font: inherit; }
.people-search input:focus { outline: none; border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, .18); }
.people-search .ps-count { white-space: nowrap; font-weight: 700; color: #6b1f4f; }
.chips.people label.chip[hidden] { display: none; }
/* Verborgen keuzerondjes: binnen hun label houden (anders schuift de pagina op de telefoon opzij). */
.age-seg label, .bet-pick { position: relative; }
.age-seg input, .bet-pick input { left: 0; top: 0; width: 1px; height: 1px; margin: 0; }

/* AI-kookhulp */
.cook-help { border: 2px solid #d9cdf3; background: linear-gradient(180deg, #faf7ff, #fff); }
.cook-help h2 .only-you { font-size: 12px; font-weight: 700; color: #6b1f4f; background: #fde8f3; padding: 3px 8px; border-radius: 99px; margin-left: 8px; vertical-align: 3px; white-space: nowrap; }
.cook-help h4 { margin: 14px 0 6px; }
.help-plan { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.help-plan li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #f3ecf8; }
.help-plan b { color: #5b2a6e; }
.help-list { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.help-form { margin-top: 12px; }
@media (max-width: 520px) { .help-plan li { grid-template-columns: 1fr; gap: 2px; } }
.memory-wrap { position: relative; }
.memory-wrap canvas { display: block; width: 100%; height: auto; max-width: 540px; margin: 0 auto 1rem; border-radius: 10px; box-shadow: 0 6px 24px rgba(74,31,61,.18); }
.memory-wait { position: absolute; left: 0; right: 0; top: 40%; }
.away-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.away-list li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .45rem .7rem; border-radius: 10px; background: #f6f1fb; }
.busy.away { background: #fff4e0; color: #7a4b00; margin-top: .3rem; }
/* Evenementen */
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ev-row a { display: flex; gap: .7rem; align-items: center; padding: .6rem .7rem; border-radius: 14px; background: #faf7ff; border: 2px solid var(--lav-2, #e6dcff); color: inherit; text-decoration: none; }
.ev-row a:hover { border-color: var(--purple, #7c4dff); }
.ev-list.past .ev-row a { opacity: .7; }
.ev-emoji { font-size: 1.9rem; line-height: 1; flex: none; }
.ev-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ev-txt small { color: var(--muted, #6b5b8a); font-size: .82rem; }
.ev-list.ev-mini .ev-emoji { font-size: 1.4rem; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; margin: 1rem 0; }
.tpl { display: flex; flex-direction: column; gap: .2rem; padding: .9rem; border-radius: 18px; background: #fff; border: 2px solid var(--lav-2, #e6dcff); color: inherit; text-decoration: none; box-shadow: 0 3px 0 var(--lav-2, #e6dcff); }
.tpl:hover { border-color: var(--purple, #7c4dff); transform: translateY(-1px); }
.tpl span { font-size: 2rem; line-height: 1.1; }
.tpl small { color: var(--muted, #6b5b8a); font-size: .8rem; }
.tpl.own { background: #fff8db; }
.tpl.potluck { background: #f1fbf4; }
.ev-form .seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.ev-form .seg label { position: relative; }
.ev-form .seg input { position: absolute; opacity: 0; left: 0; top: 0; width: 1px; height: 1px; margin: 0; }
.ev-form .seg span { display: inline-block; padding: .5rem .8rem; border-radius: 999px; border: 2px solid var(--lav-2, #e6dcff); background: #fff; cursor: pointer; }
.ev-form .seg input:checked + span { background: var(--yellow, #f7c948); border-color: #e0b12f; font-weight: 700; }
.ev-form .emoji-in { font-size: 1.4rem; max-width: 6rem; }
.ev-form:not(:has(input[name=kind][value=potluck]:checked)) .potluck-only { display: none; }
.ev-facts { list-style: none; padding: 0; margin: .6rem 0 1rem; display: grid; gap: .3rem; }
.ok-line { padding: .5rem .8rem; border-radius: 12px; background: #e8f8ee; }
.pot-list { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .35rem; }
.pot-list li { display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem; border-radius: 12px; background: #fff; border: 2px solid var(--lav-2, #e6dcff); }
.pot-list li span { flex: 1; min-width: 0; }
.pot-list li.taken { opacity: .55; text-decoration: line-through; }
.pot-list li.mine { background: #fff3c4; border-color: #f0d36b; }
.pot-list em { font-style: normal; font-size: .85rem; color: var(--muted, #6b5b8a); }
.ev-people { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .35rem; }
.ev-people li { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.ev-people .act { border: 0; cursor: pointer; font: inherit; font-size: .8rem; }
.ev-chat { height: 40vh; min-height: 220px; }
.tip-day { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: 14px; background: #eef9f1; border: 2px solid #9ad8ae; }
.kind-note { margin: .6rem 0 0; padding: .6rem .8rem; border-radius: 12px; background: #fff8db; border: 2px solid #f3dd8a; font-size: .92rem; }
.age18 { display: inline-block; padding: 0 .4rem; border-radius: 6px; background: #4a1f3d; color: #fff; font-size: .75rem; font-weight: 800; vertical-align: middle; }
.tpl.tasting { background: #fbf2f7; }
.ev-form:not(:has(input[name=kind][value=tasting]:checked)) .tasting-only { display: none; }
.ev-form:not(:has(input[name=location_type][value=other]:checked)) .venue-only { display: none; }
.taste-list { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .5rem; counter-reset: t; }
.taste-list li { padding: .6rem .8rem; border-radius: 14px; background: #fff; border: 2px solid var(--lav-2, #e6dcff); counter-increment: t; }
.taste-head { display: flex; align-items: center; gap: .5rem; }
.taste-head b::before { content: counter(t) '. '; color: var(--muted, #6b5b8a); }
.taste-head b { flex: 1; min-width: 0; }
.taste-avg { font-weight: 700; white-space: nowrap; }
.taste-in { display: flex; gap: .4rem; margin-top: .4rem; }
.taste-in select { flex: 0 0 5.5rem; }
.taste-in input { flex: 1; min-width: 0; }

.ev-pitch { margin: 0 0 .8rem; color: var(--muted, #6b5b8a); }
.ev-btns { display: grid; gap: .5rem; margin-top: .7rem; }
.ev-btns .btn { width: 100%; justify-content: center; text-align: center; }

/* Mobiele viewport vast: niet zoomen, niet zijwaarts schuiven */
html, body { overflow-x: clip; max-width: 100%; overscroll-behavior-x: none; }
html { touch-action: manipulation; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
@media (max-width: 760px) { input, select, textarea { font-size: max(16px, 1em); } }

/* Soort evenement in het formulier */
.kind-fixed { display: flex; gap: .8rem; align-items: center; padding: .8rem 1rem; border-radius: 18px; background: #fff8db; border: 2px solid #f6d77a; margin-bottom: 1rem; }
.kind-fixed > span { font-size: 2rem; }
.kind-fixed div { display: flex; flex-direction: column; }
.kind-fixed small, .kind-pick small { color: var(--muted, #6b5b8a); font-size: .85rem; line-height: 1.35; }
.kind-pick { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.kind-pick legend { font-weight: 800; margin-bottom: .5rem; padding: 0; }
.kind-pick label { display: flex; flex-direction: column; gap: .25rem; padding: .9rem; border-radius: 18px; background: #fff; border: 2px solid var(--lav-2, #e6dcff); box-shadow: 0 3px 0 var(--lav-2, #e6dcff); cursor: pointer; margin: 0; }
.kind-pick input { position: absolute; opacity: 0; pointer-events: none; }
.kind-pick .kp-ico { font-size: 1.8rem; line-height: 1.1; }
.kind-pick label:has(input:checked) { background: #ffe680; border-color: #f2c230; box-shadow: 0 3px 0 #e0ac1d; }
.kind-pick label:has(input:focus-visible) { outline: 3px solid var(--purple, #7c4dff); outline-offset: 2px; }
@media (max-width: 640px) { .kind-pick { grid-template-columns: 1fr; } .kind-pick label { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; } .kind-pick .kp-ico { grid-row: span 2; align-self: center; } }
/* Lange woorden netjes afbreken in tegels en titels */
.tpl b, .tpl small, .ev-txt b, .hero-text h1, .card h2 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.tpl { min-width: 0; }

/* Gevarenzone: challenge verwijderen */
.danger-zone { margin-top: 1rem; border: 2px dashed #f2a3a3; border-radius: 18px; background: #fff5f5; }
.danger-zone > summary { cursor: pointer; padding: .8rem 1rem; font-weight: 800; color: #c0392b; list-style: none; }
.danger-zone > summary::-webkit-details-marker { display: none; }
.danger-zone .dz-body { padding: 0 1rem 1rem; }
.dz-alert { background: #ffe1e1; border-radius: 12px; padding: .6rem .8rem; color: #8e1f1f; }
.dz-list { margin: .4rem 0 .8rem; padding-left: 1.1rem; line-height: 1.6; }
.dz-form .btn.danger { width: 100%; justify-content: center; }
.dz-form .btn.danger:disabled { opacity: .45; cursor: not-allowed; }
.dz-form .btn.danger:not(:disabled) { background: #e5484d; color: #fff; border-color: #c0392b; box-shadow: 0 3px 0 #9f2a2a; }

/* Startstatus (challenge start vanzelf) */
.start-status .ss-head { display: flex; gap: .8rem; align-items: center; }
.start-status .ss-head .big { font-size: 2.2rem; }
.start-status .ss-head div { display: flex; flex-direction: column; }
.start-status .ss-head small { color: var(--muted, #6b5b8a); }
.ss-wait { list-style: none; padding: 0; margin: .8rem 0; display: grid; gap: .4rem; }
.ss-wait li { background: #fff8db; border: 2px solid #f6d77a; border-radius: 14px; padding: .55rem .8rem; font-weight: 700; }

.ss-poll { display: flex; gap: .7rem; align-items: center; margin: .8rem 0; padding: .7rem .9rem; border-radius: 16px; background: #eaf4ff; border: 2px solid #b9dcfb; color: inherit; text-decoration: none; }
.ss-poll > span:first-child { font-size: 1.8rem; }
.ss-poll div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ss-poll small { color: var(--muted, #6b5b8a); }

/* Datumprikker: beheerknoppen even breed, voorstel-link */
.opt .mng { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.opt .mng .btn { width: 100%; justify-content: center; text-align: center; }
.opt .mng:has(> .btn:only-child) { grid-template-columns: 1fr; }
.suggest-jump { display: block; text-align: center; margin: 0 0 .8rem; }

/* Datumprikker-overzicht: avonden als rijen, deelnemers als kolommen (jij eerst) */
.prik { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0 6px; }
.prik th, .prik td { text-align: center; padding: 0 1px; vertical-align: middle; }
.prik thead th { font-weight: 700; font-size: .7rem; color: var(--muted, #6b5b8a); padding-bottom: 2px; overflow: hidden; }
.prik thead th .avatar { margin: 0 auto 2px; width: 26px; height: 26px; font-size: 14px; }
.prik thead th small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prik th.d { width: 31%; text-align: left; padding-left: .55rem; }
.prik th.mine, .prik td.mine { width: 48px; }
.prik th.sum, .prik td.sum { width: 28px; }
.prik tbody tr > * { background: #fff; border-top: 2px solid var(--lav-2, #e6dcff); border-bottom: 2px solid var(--lav-2, #e6dcff); height: 50px; }
.prik tbody tr > :first-child { border-left: 2px solid var(--lav-2, #e6dcff); border-radius: 14px 0 0 14px; }
.prik tbody tr > :last-child { border-right: 2px solid var(--lav-2, #e6dcff); border-radius: 0 14px 14px 0; }
.prik tbody th.d b { display: block; font-size: .95rem; }
.prik tbody th.d small { display: block; color: var(--muted, #6b5b8a); font-size: .72rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prik tbody th.d em { display: inline-block; font-style: normal; font-size: .68rem; font-weight: 800; background: #ffe680; border-radius: 99px; padding: 0 .4rem; margin-top: 2px; }
.prik tbody tr.best > * { background: #fffbe6; border-color: #f6d77a; }
.prik tbody tr.chosen > * { background: #e9f9ee; border-color: #8fd6a5; }
.prik td.mine { background: #f1e9ff !important; }
.prik thead th > div.hc { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.prik .cell { display: grid; margin: 0 auto; place-items: center; width: 100%; max-width: 26px; height: 26px; border-radius: 8px; font-weight: 900; font-size: .85rem; border: 0; }
.prik td.mine .cell { max-width: 40px; height: 38px; border-radius: 12px; font-size: 1.15rem; cursor: pointer; border: 2px solid transparent; }
.cell.a-yes { background: #d8f5e1; color: #1e8a43; } .cell.a-maybe { background: #fff1c2; color: #a8780a; } .cell.a-no { background: #ffe0e0; color: #c0392b; }
.cell.a-none { background: #f1ecf8; color: #b3a6c9; }
.prik td.mine .cell.a-none { border: 2px dashed #c9b8ea; color: #8b72c0; }
.prik td.sum b { color: #1e8a43; }
.prik-help { font-size: .88rem; } .prik-help .cell { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-weight: 900; }
.prik-save.dirty { animation: prikPulse 1.4s ease-in-out infinite; }
@keyframes prikPulse { 50% { box-shadow: 0 0 0 6px rgba(247, 201, 72, .45); } }
.suggest-jump { display: block; text-align: center; margin-top: .6rem; }
.prik-admin { list-style: none; padding: 0; margin: .6rem 0; display: grid; gap: .5rem; }
.prik-admin li { display: grid; gap: .4rem; padding: .6rem .7rem; border-radius: 14px; background: #faf7ff; border: 2px solid var(--lav-2, #e6dcff); }
.prik-admin .mng { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; } .prik-admin .mng form { margin: 0; } .prik-admin .mng .btn { width: 100%; justify-content: center; }
.mine-pts { display: grid; gap: .4rem; margin-top: .8rem; } .mine-pt { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .4rem .6rem; border-radius: 12px; background: #fff8db; margin: 0; }
/* Kalender: meerdere avonden aantikken */
.mcal { border: 2px solid var(--lav-2, #e6dcff); border-radius: 18px; padding: .7rem; background: #fff; }
.mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; } .mc-head b { text-transform: capitalize; font-family: var(--head, inherit); }
.mc-head button { width: 40px; height: 40px; border-radius: 12px; border: 0; background: #efe8fb; font-size: 1.3rem; font-weight: 900; color: var(--purple, #7c4dff); cursor: pointer; } .mc-head button:disabled { opacity: .3; }
.mc-wd, .mc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; } .mc-wd span { font-size: .72rem; font-weight: 800; color: var(--muted, #6b5b8a); }
.mc-grid button { aspect-ratio: 1; border-radius: 12px; border: 2px solid transparent; background: #f4effc; font-weight: 800; font-size: .95rem; color: inherit; cursor: pointer; }
.mc-grid button:disabled { background: transparent; color: #cfc4df; cursor: default; }
.mc-grid button.pref:not(.on) { border-color: #f6d77a; }
.mc-grid button.on { background: #ffd84d; border-color: #e0ac1d; box-shadow: 0 3px 0 #e0ac1d; }
.mc-grid button.taken { text-decoration: line-through; }
.mc-count { margin: .5rem 0 0; font-size: .85rem; font-weight: 700; color: var(--muted, #6b5b8a); }
.mcal-go { width: 100%; justify-content: center; margin-top: .6rem; }

.prik th.pending .hc { opacity: .6; }
.prik-pending { margin: 8px 2px 0; }
.prik thead th > div.hc { width: 100%; min-width: 0; position: relative; }
.prik thead th > div.hc small { max-width: 100%; font-size: .62rem; }
.prik .hc .pend { position: absolute; top: -4px; right: 0; font-style: normal; font-size: 11px; line-height: 1; }

/* Datumprikker: tabel mag opzij scrollen (namen volledig); avond- en totaalkolom blijven staan */
.prik-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.prik-scroll::-webkit-scrollbar { display: none; }
.prik-form { min-width: 0; }
.prik { table-layout: auto; width: max-content; min-width: 100%; }
.prik th.d { width: auto; min-width: 112px; max-width: 132px; position: sticky; left: 0; z-index: 2; }
.prik thead th.d { background: var(--card, #fff); }
.prik th.sum, .prik td.sum { position: sticky; right: 0; z-index: 2; min-width: 32px; }
.prik thead th.sum { background: var(--card, #fff); }
.prik thead th { overflow: visible; }
.prik thead th:not(.d):not(.sum) { min-width: 58px; padding: 0 4px; }
.prik thead th > div.hc small { max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; font-size: .72rem; }
.prik th.mine, .prik td.mine { width: auto; min-width: 54px; }
.prik .cell { min-width: 26px; }
.prik-form.scrolled .prik th.d { box-shadow: 6px 0 8px -6px rgba(80, 40, 140, .35); }
.prik-form.more .prik td.sum, .prik-form.more .prik th.sum { box-shadow: -6px 0 8px -6px rgba(80, 40, 140, .35); }
.prik-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .3rem; font-size: .8rem; font-weight: 800; color: var(--muted, #6b5b8a); }
.prik-bar[hidden] { display: none; }
.prik-arrow { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: #ffd84d; box-shadow: 0 3px 0 #e0ac1d; font-size: 1.4rem; font-weight: 900; line-height: 1; color: #3b2066; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.prik-arrow:disabled { background: #efe8fb; box-shadow: none; color: #c9b8ea; cursor: default; }
.prik-arrow:not(:disabled) { animation: prikNudge 1.6s ease-in-out 3; }
.prik-arrow[data-dir="-1"]:not(:disabled) { animation: none; }
@keyframes prikNudge { 50% { box-shadow: 0 3px 0 #e0ac1d, 0 0 0 5px rgba(255, 216, 77, .45); } }
.prik-status { min-height: 1.4em; margin: .4rem 2px 0; font-size: .85rem; font-weight: 800; text-align: center; }
.prik-status.busy { color: var(--muted, #6b5b8a); } .prik-status.ok { color: #1e8a43; } .prik-status.err { color: #c0392b; }
.prik-status { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50; margin: 0; padding: .45rem .9rem; border-radius: 99px; background: #fff; box-shadow: 0 6px 18px rgba(60, 30, 110, .18); max-width: calc(100% - 32px); pointer-events: none; transition: opacity .3s; }
.prik-status:empty { opacity: 0; padding: 0; }
.prik thead th.d, .prik thead th.sum { background: #f8f5fc; }
.prik th.pending .hc { opacity: 1; } .prik th.pending .hc .avatar { opacity: .55; }
.prik .hc .pend, .prik-pending .pend { position: static; display: inline-block; font-style: normal; font-size: .6rem; font-weight: 800; line-height: 1.3; padding: 0 .4rem; border-radius: 99px; background: #fff1c2; color: #8a6200; white-space: nowrap; }

/* Groepschat-knop in een challenge: duidelijk een chatknop, met lucht boven en onder */
.chat-cta { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; padding: 12px 14px; border-radius: 20px; background: linear-gradient(135deg, #7c4dff, #9b6bff); color: #fff; text-decoration: none; box-shadow: 0 4px 0 #5a2fd6, 0 10px 22px rgba(90, 47, 214, .25); }
.chat-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 #5a2fd6; }
.chat-cta .cc-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; font-size: 24px; background: #fff; border-radius: 16px 16px 16px 4px; }
.chat-cta .cc-txt { flex: 1; min-width: 0; display: grid; } .chat-cta .cc-txt b { font-family: var(--head, inherit); font-size: 1.1rem; }
.chat-cta .cc-txt small { opacity: .9; font-weight: 600; }
.chat-cta .badge-n { flex: none; background: #ffd84d; color: #3b2066; font-weight: 900; border-radius: 99px; padding: 2px 9px; }
.chat-cta .cc-go { flex: none; font-size: 1.8rem; font-weight: 900; line-height: 1; opacity: .85; }
.finale .finale-sub { margin: 4px 0 10px; opacity: .85; font-weight: 600; }

/* Hele kader klikbaar: de laatste knop (of de titel-link) rekt uit over het hele blok */
.pollnote { position: relative; }
.pollnote > a.btn:last-child::after, .timeline li > a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.pollnote a:not(:last-child), .pollnote form, .pollnote button { position: relative; z-index: 1; }
.timeline li { cursor: pointer; }
.hero-cta { margin: 12px 0 0; }
.timeline li.here { box-shadow: inset 0 0 0 2px var(--yellow, #ffd84d); }

/* Eetclubs */
.club-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.club-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: #fff; border: 2px solid #eee4ff; color: var(--ink); text-decoration: none; min-width: 0; }
a.club-row:hover { border-color: #c9b3ff; }
a.club-row:active { transform: translateY(1px); }
.club-row .club-emoji { flex: none; width: 44px; height: 44px; display: grid; place-items: center; font-size: 24px; background: var(--yellow-2); border-radius: 14px; }
.club-row .club-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.club-row .club-txt b { overflow-wrap: anywhere; }
.club-row .club-txt small { color: var(--ink-soft); font-weight: 500; overflow-wrap: anywhere; }
.club-row .cc-go { flex: none; font-size: 22px; color: #9b6bff; font-weight: 800; }
.club-row .pts { flex: none; font-size: 1.15rem; color: #7c4dff; }
.club-list.others .club-row { background: #faf7ff; border-style: dashed; }
.eq2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.eq2 > *, .eq2 form > .btn, .eq2 > .btn { width: 100%; margin: 0; }
.eq2 form { margin: 0; display: flex; }
.eq2 .btn { justify-content: center; text-align: center; }
.club-start { margin: 0 0 18px; }
@media (max-width: 380px) { .eq2 { grid-template-columns: 1fr; } }
.club-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.club-board li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: #faf7ff; }
.club-board li > b { width: 26px; text-align: center; color: #7c4dff; }
.club-board li > .nm { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.club-board li:first-child { background: var(--yellow-2); }
.club-people li { display: flex; align-items: center; gap: 10px; }
.club-people li > span { flex: 1; min-width: 0; }
.club-people .pend { font-style: normal; font-size: .75rem; background: #eee4ff; color: #5a2fd6; padding: 2px 8px; border-radius: 99px; }
.danger-zone > p, .danger-zone > form { padding: 0 1rem 1rem; margin: 0; }

/* Recept delen: schuifje */
.share-seg { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 18px; background: #eee4ff; }
.share-seg label { display: block; min-width: 0; margin: 0; }
.share-seg input { position: absolute; opacity: 0; pointer-events: none; width: 0 !important; }
.share-seg span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 14px; font-weight: 800; font-size: .82rem; color: var(--ink-soft); cursor: pointer; text-align: center; transition: background .15s, color .15s; }
.share-seg span i { font-style: normal; font-size: 1.25rem; }
.share-seg input:checked + span { background: #7c4dff; color: #fff; box-shadow: 0 3px 0 #5a2fd6; }
.share-seg input:focus-visible + span { outline: 3px solid var(--yellow); }
.share-descs .share-desc { display: none; margin-top: 6px; color: var(--ink-soft); font-weight: 500; }
.share-field:has(input[value=private]:checked) .share-desc[data-v=private], .share-field:has(input[value=club]:checked) .share-desc[data-v=club],
.share-field:has(input[value=public]:checked) .share-desc[data-v=public], .share-field:has(input[value=both]:checked) .share-desc[data-v=both] { display: block; }
.share-pill { display: inline-block; font-size: .75rem; background: #eee4ff; color: #5a2fd6; padding: 1px 8px; border-radius: 99px; font-weight: 700; }
/* XP */
.xp-me { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg, #fff7d6, #ffe9a8); margin: 10px 0; }
.xp-me .grow { min-width: 0; display: flex; flex-direction: column; }
.xp-me small { color: var(--ink-soft); font-weight: 500; }
.xp-badge { flex: none; width: 48px; height: 48px; display: grid; place-items: center; font-size: 26px; background: #fff; border-radius: 16px; box-shadow: 0 3px 0 #e8b923; }
.xp-bar { height: 10px; border-radius: 99px; background: #fff; margin-top: 6px; overflow: hidden; }
.xp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #9b6bff, #7c4dff); border-radius: 99px; }
.xp-num { flex: none; text-align: center; font-size: 1.3rem; color: #7c4dff; display: flex; flex-direction: column; }
.xp-num small { font-size: .7rem; }
.xp-how { margin: 8px 0; }
.xp-how > summary { cursor: pointer; font-weight: 800; color: #7c4dff; padding: 6px 0; }
.xp-rules { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.xp-rules li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: #faf7ff; }
.xp-rules li > span { font-size: 1.3rem; }
.xp-rules li .grow { min-width: 0; display: flex; flex-direction: column; }
.xp-rules li small { color: var(--ink-soft); font-weight: 500; }
.xp-rules li strong { color: #7c4dff; white-space: nowrap; }
.xp-rule { background: #f3edff; border-radius: 14px; padding: 10px 12px; }
.pts-col { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.pts-col small { color: var(--ink-soft); font-weight: 600; font-size: .72rem; white-space: nowrap; }

/* Scorebord: onderdelen achter knoppen */
.tabs4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 16px; }
.tabs4 a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 8px 4px; border-radius: 16px; background: #fff; border: 2px solid var(--lav-2); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 3px 0 var(--lav-2); text-align: center; min-width: 0; }
.tabs4 a span { font-size: 22px; line-height: 1; }
.tabs4 a.on { background: var(--yellow); border-color: #e0ad1a; box-shadow: 0 3px 0 #d49b10; }
.tabs4 a:active { transform: translateY(2px); }
.fold-more { margin: 0 0 16px; }
.fold-more > summary { cursor: pointer; list-style: none; text-align: center; padding: 12px; border-radius: 16px; background: #fff; border: 2px dashed var(--lav-2); font-family: var(--head); font-weight: 700; color: #7c4dff; }
.fold-more > summary::-webkit-details-marker { display: none; }
.fold-more[open] > summary { margin-bottom: 12px; }
.club-board li.zero { opacity: .7; }

/* Home: mijn punten-kaartje */
.me-card { display: block; text-decoration: none; color: var(--ink); background: linear-gradient(160deg, #fff7d6, #ffe9a8); border: 2px solid #f7c948; }
.me-card:active { transform: translateY(2px); }
.me-card .mc-top { display: flex; align-items: center; gap: 12px; }
.me-card .mc-top .grow { min-width: 0; display: flex; flex-direction: column; }
.me-card .mc-top small { color: var(--ink-soft); font-weight: 700; }
.me-card .mc-top b { font-family: var(--head); font-size: 1.2rem; }
.me-card .cc-go { font-size: 24px; color: #9b6bff; font-weight: 800; }
.me-card .mc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 10px; }
.me-card .mc-stats > div { background: #fff; border-radius: 14px; padding: 8px 10px; display: flex; flex-direction: column; min-width: 0; }
.me-card .mc-stats strong { font-family: var(--head); font-size: 1.35rem; color: #7c4dff; }
.me-card .mc-stats small { color: var(--ink-soft); font-weight: 600; font-size: .75rem; }
.me-card .mc-next { display: block; margin-top: 6px; color: var(--ink-soft); font-weight: 600; }
/* Taalkeuze */
.lang-flags { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin: -10px -8px 4px 0; }
.lang-flags::before { content: "🌍"; font-size: 18px; margin-right: 2px; }
.lang-flags a { font: 700 14px/1 'Fredoka', 'Baloo 2', sans-serif; letter-spacing: .5px; min-width: 40px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; border-radius: 999px; text-decoration: none; color: var(--ink, #2b1a3d); background: rgba(140, 90, 200, .12); border: 2px solid transparent; transition: background .15s, border-color .15s; }
.lang-flags a:hover { border-color: rgba(140, 90, 200, .45); }
.lang-flags a[aria-current] { background: #f9c934; color: #2b1a3d; box-shadow: 0 3px 0 #d49b10; }
/* Verzendlog */
.send-log { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.send-log li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .6); border: 2px solid rgba(140, 90, 200, .14); }
.send-log li.fail { background: #fff0f0; border-color: #f3b5b5; }
.send-log .sl-ch { font-size: 20px; }
.send-log .sl-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.send-log .sl-txt b, .send-log .sl-txt small { overflow-wrap: anywhere; }
/* 🌍 Vertaalknop: alleen zichtbaar als vertalen via OpenAI aan staat. */
.tr-btn { display: none; }
.ai-on .tr-btn { display: inline-flex; }
.tr-row { display: none; margin: 0 0 10px; }
.ai-on .tr-row { display: block; }
.tr-err { display: block; font-size: 12px; color: #b3261e; margin-top: 4px; }
.chat-tr { background: none; border: 0; padding: 0 0 0 6px; cursor: pointer; font-size: 12px; opacity: .6; min-height: 0; }
.chat-tr:hover, .chat-tr.on { opacity: 1; }
.tr-btn.busy { opacity: .5; }
/* Datumprikker: minstens 5 avonden waarop je kunt */
.five-box { background: #fff7d6; border: 2px solid #f3d36b; border-radius: 16px; padding: 10px 14px; margin: 0 0 12px; }
.five-box.ok { background: #e9f8ee; border-color: #9ad8ae; }
.five-box p { margin: 6px 0 0; font-size: .92rem; }
.five-box .five-round { margin: 0 0 6px; }
.five-dots { display: flex; gap: 6px; }
.five-dots i { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #d9b8f0; }
.five-dots i.on { background: #6b2fa0; border-color: #6b2fa0; }
.prik tr.old { opacity: .55; }
.chat-rep { background: none; border: 0; padding: 0 0 0 6px; cursor: pointer; font-size: 12px; opacity: .45; min-height: 0; }
.chat-rep.ask { opacity: 1; font-weight: 800; color: #b3261e; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.foot-links { text-align: center; font-size: .8rem; margin: 6px 0 0; opacity: .8; }
.foot-links a { color: inherit; }
.report-list li { align-items: flex-start; }
.report-quote { display: block; margin: 4px 0; padding: 6px 10px; background: #fff7d6; border-radius: 10px; font-style: italic; white-space: pre-wrap; }
/* Steun de app */
.support-hero { background: linear-gradient(135deg, #6b3fa0, #9b6ad1); color: #fff; border-radius: 22px; padding: 20px; margin-bottom: 16px; box-shadow: 0 4px 0 #4b2a75; }
.support-hero h1 { color: #fff; margin: 8px 0 4px; font-size: 24px; }
.support-hero p { margin: 0; opacity: .9; }
.support-form .seg-lbl { display: block; margin: 6px 0 6px; font-family: var(--head); }
.support-form .seg { margin-bottom: 12px; }
.support-form .seg label span { display: block; text-align: center; padding: 10px 4px; border-radius: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.support-form .seg input:checked + span { background: var(--yellow); box-shadow: 0 2px 0 #c58f0a; }
.support-form .other-amount { display: none; }
.support-form:has(input[name=amount][value=other]:checked) .other-amount { display: block; }
.heart { font-size: .85em; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0; }
.stat-row .stat { background: var(--lav); border-radius: 14px; padding: 10px; text-align: center; }
.stat-row .stat b { display: block; font-family: var(--head); font-size: 20px; }
.stat-row .stat small { color: var(--ink-soft); }
.support-form .methods { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.support-form:has(input[name=kind][value=once]:checked) .methods[data-for=once],
.support-form:has(input[name=kind][value=monthly]:checked) .methods[data-for=monthly] { display: grid; }
.support-form .method input { position: absolute; opacity: 0; pointer-events: none; }
.support-form .method span { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--lav-2); border-radius: 12px; padding: 8px; cursor: pointer; min-width: 0; }
.support-form .method b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-form .method img { flex: none; width: 32px; height: 24px; object-fit: contain; }
.support-form .method input:checked + span { border-color: var(--purple, #6b3fa0); background: #fff8dd; box-shadow: 0 2px 0 #c58f0a; }
/* Voorpagina voor bezoekers */
.landing { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.land-hero { position: relative; overflow: hidden; border-radius: var(--radius); padding: 56px 22px 26px; color: #fff; text-align: center; box-shadow: var(--shadow);
  background: radial-gradient(380px 220px at 0% 0%, #ffcf6e44, transparent 70%), linear-gradient(140deg, var(--plum-2), var(--plum) 55%, #3a1233); }
.land-hero h1 { font-size: clamp(32px, 9vw, 52px); margin: 16px 0 12px; text-shadow: 0 3px 0 rgba(0, 0, 0, .25); position: relative; z-index: 1; }
.land-hero h1 em { font-style: normal; color: var(--yellow-2); }
.land-hero .sticker { position: relative; z-index: 1; }
.land-lead { font-size: 18px; max-width: 30em; margin: 0 auto 26px; opacity: .95; position: relative; z-index: 1; }
.land-small { font-size: 13px; opacity: .8; margin: 12px 0 0; position: relative; z-index: 1; }
.land-flags { position: absolute; top: 12px; right: 12px; z-index: 2; }
.land-flags a { background: rgba(255, 255, 255, .2); color: #fff; }
.land-flags a:hover { border-color: rgba(255, 255, 255, .6); }
.land-flags a[aria-current] { background: #f9c934; color: #2b1a3d; }
.land-float { position: absolute; inset: 0; pointer-events: none; }
.land-float span { position: absolute; font-size: 34px; opacity: .35; animation: land-bob 6s ease-in-out infinite; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .3)); }
.land-float span:nth-child(1) { left: 6%; top: 18%; } .land-float span:nth-child(2) { right: 8%; top: 34%; animation-delay: -1s; }
.land-float span:nth-child(3) { left: 10%; bottom: 14%; animation-delay: -2s; } .land-float span:nth-child(4) { right: 12%; bottom: 10%; animation-delay: -3s; }
.land-float span:nth-child(5) { left: 44%; top: 6%; animation-delay: -4s; font-size: 26px; } .land-float span:nth-child(6) { left: 48%; bottom: 3%; animation-delay: -5s; font-size: 24px; }
@keyframes land-bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .land-float span { animation: none; } }
.land-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; z-index: 1; max-width: 520px; margin: 0 auto; }
.land-cta .btn { width: 100%; justify-content: center; text-align: center; margin: 0; }
@media (max-width: 420px) { .land-cta { grid-template-columns: 1fr; } }
.land-hero .land-login { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.land-steps li { background: var(--lav); }
.land-steps strong { color: var(--night); }
.land-theme { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.land-theme small { display: block; color: var(--ink-soft); }
.land-dish { font-size: 40px; }
.land-podium { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.land-podium li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 8px 12px; }
.land-podium .land-rank { grid-row: span 2; font-size: 26px; } .land-podium .avatar { grid-row: span 2; }
.land-podium .land-score { grid-row: span 2; font-family: var(--head); font-size: 22px; }
.land-bar { display: block; height: 8px; background: var(--lav); border-radius: 8px; overflow: hidden; }
.land-bar i { display: block; height: 100%; background: var(--c); border-radius: 8px; animation: land-grow 1.4s ease-out; }
@keyframes land-grow { from { width: 0; } }
.land-kinds, .land-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.land-kind, .land-feat { background: var(--lav); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.land-feat { background: #fff; box-shadow: var(--shadow); }
.land-kind span, .land-feat span { font-size: 30px; }
.land-kind b, .land-feat b { font-family: var(--head); color: var(--night); }
.land-kind small, .land-feat small { color: var(--ink-soft); line-height: 1.4; }
.land-levels { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 14px; }
.land-levels i { color: var(--ink-soft); font-style: normal; }
.land-level { background: var(--yellow); border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 13px; box-shadow: 0 2px 0 #c58f0a; }
.land-level b { margin-right: 4px; }
.land-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.land-badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.land-badge b { font-size: 26px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--lav); border-radius: 50%; box-shadow: 0 3px 0 var(--lav-2); }
.land-badge small { font-size: 12px; line-height: 1.2; }
.land-phone { display: flex; gap: 14px; align-items: center; }
.land-phone-ico { font-size: 54px; animation: land-bob 5s ease-in-out infinite; }
.land-phone h2 { margin: 0 0 4px; }
.land-final { text-align: center; padding: 10px 0 20px; }
.land-final h2 { color: var(--night); font-size: 26px; margin: 0 0 22px; }
.land-final .land-login { background: #fff; }
/* Status van koppelingen */
.key-status { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.key-status li { display: flex; gap: 12px; align-items: center; background: var(--lav); border-radius: 14px; padding: 10px 12px; }
.key-status .ks-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.key-status small { color: var(--ink-soft); overflow-wrap: anywhere; }
.key-status .ks-state.ok { color: #1f7a3a; } .key-status .ks-state.err { color: #b3261e; } .key-status .ks-state.warn { color: #a05a00; }
.key-status form { margin: 0; flex: none; }
.ks-lamp { width: 16px; height: 16px; border-radius: 50%; flex: none; background: #b9b0c9; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.ks-lamp.ok { background: #2fbf5b; box-shadow: 0 0 0 4px #2fbf5b33, inset 0 -2px 0 rgba(0, 0, 0, .15); }
.ks-lamp.warn { background: #f5a524; box-shadow: 0 0 0 4px #f5a52433, inset 0 -2px 0 rgba(0, 0, 0, .15); }
.ks-lamp.err { background: #e5484d; box-shadow: 0 0 0 4px #e5484d33, inset 0 -2px 0 rgba(0, 0, 0, .15); animation: ks-blink 1.6s ease-in-out infinite; }
@keyframes ks-blink { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .ks-lamp.err { animation: none; } }
/* Subtiele steun-strook onderaan het dashboard */
.support-strip { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 22px auto 8px; padding: 10px 16px; border-radius: 999px; text-decoration: none;
  background: #fff8; border: 2px dashed var(--lav-2); color: var(--ink-soft); font-size: 14px; transition: background .2s, transform .2s; }
.support-strip:hover { background: #fff; transform: translateY(-1px); }
.support-strip b { color: var(--night); font-weight: 700; }
.support-strip .ss-txt { flex: 1; min-width: 0; }
.ss-cup { font-size: 22px; display: inline-block; animation: ss-steam 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.ss-go { font-size: 18px; }
@keyframes ss-steam { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .ss-cup { animation: none; } }
/* Mobiel: tabellen passen in de kaart, nooit zijwaarts scrollen */
@media (max-width: 600px) {
  .tbl { font-size: 13px; }
  .tbl th, .tbl td { padding: 7px 4px; white-space: normal; }
  .tbl td:not(:nth-child(2)) { white-space: nowrap; }
  .tbl-per th:not(:nth-child(-n+2)):not(:last-child), .tbl-per td:not(:nth-child(-n+2)):not(:last-child) { display: none; }
  .tbl th { font-size: 11.5px; }
  .tbl td .avatar.sm { display: none; }
  .card:has(.tbl), .tbl-wrap { overflow-x: visible; }
}
.support-form label, .support-form .method { position: relative; }

.mobile-only { display: none; }
@media (max-width: 600px) { .mobile-only { display: block; } }

@media (max-width: 600px) {
  .tbl-res .res-parts { display: block; font-weight: 400; margin-top: 2px; line-height: 1.35; }
  .tbl-res .res-votes { display: block; }
}

/* Beheerbalk: knop om de app als speler te bekijken */
.adm-lbl { display: flex; align-items: center; gap: 10px; }
.adm-view { margin: 0 0 0 auto; }
.adm-view button { font: inherit; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .14); border: 1px dashed rgba(255, 255, 255, .35); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.adm-view button:hover { background: rgba(255, 255, 255, .24); }
@media (min-width: 761px) { .adm-view { margin-left: 4px; } }
/* Ingelogd: geen banner onderaan, alleen de kleine links */
.foot.slim { background: none; padding: 10px 16px 24px; }
.foot.slim .deco { display: none; }
.foot.slim .foot-links { color: var(--muted, #6b5a7a); }

/* ---------- Opruimronde: Voor jou, Nu doen, Agenda, Chats, Punten-tabs ---------- */
.dash.voor-jou { grid-template-columns: minmax(0, 1fr) 360px; }
.dash.voor-jou > .yr-banner { grid-column: 1 / -1; }
@media (max-width: 1100px) { .dash.voor-jou { grid-template-columns: minmax(0, 1fr); } .dash.voor-jou .col-right { grid-column: auto; } }
.nu-doen { background: linear-gradient(160deg, #eaf4ff, #f7fbff 60%); border-color: #c4e0ff; }
.nu-doen h2 { display: flex; align-items: center; gap: 8px; }
.nd-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; background: #ef6f91; color: #fff; font-size: 14px; font-family: var(--body, inherit); font-weight: 900; }
.todo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.todo-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 132px; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border-radius: 16px; box-shadow: 0 3px 0 #dce9fb; }
.todo-list li.todo-chat { background: #f6f1ff; box-shadow: 0 3px 0 #e3d6f5; }
.todo-ico { font-size: 30px; text-align: center; line-height: 1; }
.todo-txt { display: grid; min-width: 0; }
.todo-txt b { font-family: var(--head); font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.todo-txt small { color: var(--ink-soft); line-height: 1.3; margin-top: 2px; }
.todo-btn { width: 100%; justify-content: center; text-align: center; padding-left: 6px; padding-right: 6px; font-size: 14px; white-space: normal; line-height: 1.15; }
@media (max-width: 420px) { .todo-list li { grid-template-columns: 36px minmax(0, 1fr) 112px; gap: 9px; padding: 9px 10px; } .todo-ico { font-size: 26px; } .todo-txt b { font-size: 15.5px; } .todo-btn { font-size: 13px; } }

.ag-filter { margin: 4px 0 14px; }
.ag-filter a { font-size: 14px; }
.ag-month { margin: 18px 0 8px; font-family: var(--head); font-size: 18px; text-transform: capitalize; color: var(--night); }
.ag-month:first-of-type { margin-top: 4px; }
.ag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ag-item a { display: grid; grid-template-columns: 52px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 9px 12px 9px 9px; border-radius: 16px; background: #faf7ff; border: 2px solid #ece3fb; border-left-width: 7px; color: inherit; text-decoration: none; }
.ag-item a:hover { border-color: #c9b5f2; }
.ag-day { display: grid; place-items: center; background: #fff; border-radius: 12px; padding: 5px 0; box-shadow: 0 2px 0 #e6dcf6; line-height: 1.05; }
.ag-day b { font-family: var(--head); font-size: 22px; color: var(--night); }
.ag-day small { font-size: 12px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; }
.ag-txt { display: grid; min-width: 0; }
.ag-txt b { font-family: var(--head); font-size: 16.5px; line-height: 1.25; overflow-wrap: anywhere; }
.ag-txt small { color: var(--ink-soft); line-height: 1.3; }
.ag-kind { font-size: 12.5px; font-weight: 800; color: var(--ink-soft); }
.ag-go { font-size: 22px; font-weight: 900; color: #b9a6dd; }
.k-dinner a { border-left-color: #7c4dff; }
.k-reveal a { border-left-color: #f7c948; background: #fffaea; }
.k-event a { border-left-color: #5cc48a; background: #f1fbf4; }
.k-tasting a { border-left-color: #a2224e; background: #fdf1f4; }
.k-away a { border-left-color: #b8b0c4; background: #f5f3f8; }
.age18 { display: inline-block; font-size: 11px; font-weight: 900; color: #fff; background: #a2224e; border-radius: 6px; padding: 1px 5px; vertical-align: middle; }
.ag-cal { margin: 16px 0 0; text-align: center; }
.ag-mini { margin-bottom: 12px; }

.chat-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.chat-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 14px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 18px; background: #faf7ff; border: 2px solid #ece3fb; color: inherit; text-decoration: none; }
.chat-row.has-new { background: linear-gradient(135deg, #f1eaff, #fff); border-color: #c9b5f2; }
.cl-ico { width: 46px; height: 46px; display: grid; place-items: center; font-size: 24px; background: #fff; border-radius: 16px 16px 16px 4px; box-shadow: 0 2px 0 #e3d6f5; }
.cl-txt { display: grid; min-width: 0; } .cl-txt b { font-family: var(--head); font-size: 16.5px; overflow-wrap: anywhere; } .cl-txt small { color: var(--ink-soft); }
.cl-n { background: #ef6f91; color: #fff; font-weight: 900; border-radius: 99px; padding: 2px 9px; font-size: 14px; }
.cl-go { font-size: 22px; font-weight: 900; color: #b9a6dd; }

.pts-wrap { max-width: 1100px; margin: 0 auto 4px; }
.pts-tabs a { font-size: 15px; }
@media (max-width: 600px) { .pts-tabs a { font-size: 13px; padding: 8px 4px; line-height: 1.15; } }
.feat-form .tog { margin-bottom: 10px; }
.voor-jou .two { grid-template-columns: minmax(0, 1fr); }
.todo-list li.todo-done { background: #f3fbf5; box-shadow: 0 3px 0 #d3eedb; }
a.tag.poll { text-decoration: none; }
