/* Opgeruimd — Stickervel-stijl */

@font-face { font-family: 'Bagel Fat One'; src: url(fonts/bagel-fat-one-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(fonts/nunito-700.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(fonts/nunito-800.woff2) format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(fonts/nunito-900.woff2) format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --ink: #1D1630;
  --sub: #3A2F52;
  --bg: #F3EAFF;
  --dot: #E1D0FF;
  --butter: #FFD84D;
  --pink: #FF9EC7;
  --lime: #C6F26B;
  --sky: #7CC6FF;
  --tomato: #FF7A59;
  --peri: #6F8CFF;
  --lilac: #E6E0EF;
  --white: #FFFFFF;
  --faint: #DCD3EA;
  --display: 'Bagel Fat One', ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 1.6px, transparent 1.8px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 800;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--peri); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
svg { display: block; }

/* ---------- algemene stickers ---------- */

.screen {
  max-width: 480px;
  margin: 0 auto;
  padding: calc(24px + var(--safe-top)) 20px calc(140px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.screen--form { padding-bottom: calc(36px + var(--safe-bottom)); gap: 28px; }

.tilt { transform: rotate(var(--rot, 0deg)) translate(var(--push, 0px), var(--push, 0px)); }
.press { transition: transform .08s ease, box-shadow .08s ease; }
.press:active { --push: 2px; box-shadow: 1px 1px 0 var(--ink) !important; }

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transform: rotate(var(--rot, 0deg));
}
.sticker--butter { background: var(--butter); }
.sticker--lime { background: var(--lime); }
.sticker--square { border-radius: 10px; padding: 3px 10px; }

h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0.2px; }
.h1 { font-size: 40px; line-height: 1.05; text-shadow: 3px 3px 0 var(--pink); }
.h1--sm { font-size: 32px; }
.h2 { font-size: 26px; line-height: 1.1; }
.h2--sm { font-size: 23px; line-height: 1.15; }
.muted { color: var(--sub); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
}
.btn--big { min-height: 60px; font-size: 18px; border-width: 3px; box-shadow: 5px 5px 0 var(--ink); width: 100%; }
.btn--tomato { background: var(--tomato); }
.btn--butter { background: var(--butter); }
.btn--lilac { background: var(--bg); }
.btn-dot {
  width: 38px; height: 38px; border-radius: 999px; background: var(--white); border: 2.5px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.btn-round {
  width: 46px; height: 46px; border-radius: 999px; background: var(--white); border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0;
}
.linkish {
  background: none; border: 0; padding: 0 4px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 900; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.linkish--quiet { color: var(--sub); font-weight: 800; font-size: 14px; }

/* ---------- kop ---------- */

.top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.top-left { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.faces-pill {
  display: flex; align-items: center; padding: 5px 8px 5px 5px; border-radius: 999px; background: var(--white);
  border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); text-decoration: none; min-height: 46px; --rot: 3deg; flex-shrink: 0;
}
.faces-pill .face + .face { margin-left: -10px; }
.status-chip { font-size: 13px; }

/* ---------- weekkaart ---------- */

.week-card {
  position: relative; background: var(--butter); border: 3px solid var(--ink); border-radius: 26px;
  box-shadow: 6px 6px 0 var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.week-row { display: flex; align-items: center; gap: 14px; }
.burst { position: relative; width: 96px; height: 96px; flex-shrink: 0; transform: rotate(-8deg); }
.burst svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.burst b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; }
.week-title { font-size: 21px; font-weight: 900; line-height: 1.2; }
.faces-row { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { width: 28px; height: 28px; border-radius: 999px; border: 2.5px dashed var(--ink); }
.week-line { font-size: 16px; font-weight: 800; }

/* ---------- secties en kaarten ---------- */

.section { display: flex; flex-direction: column; gap: 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.empty-note { font-size: 15px; font-weight: 800; color: var(--sub); padding: 4px 2px; }

.card {
  position: relative; display: flex; align-items: center; gap: 12px; background: var(--white);
  border: 3px solid var(--ink); border-radius: 22px; padding: 12px; box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(var(--rot, 0deg));
}
.c-binnen { background: var(--pink); }
.c-buiten { background: var(--lime); }
.c-vervoer { background: var(--sky); }
.c-klusjes { background: var(--butter); }
.card.is-done { --rot: -1.5deg; }
.card.is-done:nth-child(even) { --rot: 1.2deg; }
.card-main {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: var(--ink);
  background: none; border: 0; padding: 0; text-align: left; font: inherit;
}
.icon-sticker {
  width: 52px; height: 52px; border-radius: 999px; background: var(--white); border: 2.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-title { font-size: 18px; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.card-hint { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 800; color: var(--sub); }
.c-vervoer .card-hint { color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; gap: 5px; transform: rotate(-3deg); background: var(--white);
  border: 2px solid var(--ink); border-radius: 8px; padding: 1px 8px; font-size: 13px; font-weight: 900; color: var(--ink); white-space: nowrap;
}
.chip--dust { background: var(--lilac); }
.chip--late { background: var(--tomato); }
.by { display: inline-flex; align-items: center; gap: 6px; }

.check {
  position: relative; width: 50px; height: 50px; border-radius: 999px; border: 3px solid var(--ink);
  background: var(--white); box-shadow: 3px 3px 0 var(--ink); flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; padding: 0;
  transition: transform .08s ease, box-shadow .08s ease;
}
.check:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.check svg { stroke: var(--faint); }
.check.is-done { background: var(--ink); box-shadow: none; }
.check.is-done svg { stroke: var(--lime); }

.stamp {
  position: absolute; top: -14px; right: 70px; transform: rotate(10deg); background: var(--tomato);
  border: 2.5px solid var(--ink); border-radius: 10px; padding: 1px 10px; font-family: var(--display);
  font-size: 17px; box-shadow: 2px 2px 0 var(--ink); pointer-events: none; z-index: 1; white-space: nowrap;
}
.stamp--sky { background: var(--sky); }
.stamp--butter { background: var(--butter); }
.stamp--lime { background: var(--lime); }
.stamp--pink { background: var(--pink); }
.anim .stamp { animation: og-stamp .5s cubic-bezier(.2,.9,.3,1.2) both; }
.confetti { position: absolute; border: 1.5px solid var(--ink); pointer-events: none; opacity: 0; }
.anim .confetti { animation: og-burst .9s ease-out both; }
.confetti.c1 { left: -8px; top: -6px; width: 10px; height: 10px; border-radius: 3px; background: var(--butter); }
.confetti.c2 { right: -8px; top: 0; width: 9px; height: 9px; border-radius: 999px; background: var(--peri); animation-delay: .08s; }
.confetti.c3 { left: 18px; top: -12px; width: 7px; height: 12px; border-radius: 3px; background: var(--tomato); animation-delay: .04s; }
.confetti.c4 { left: 4px; bottom: -10px; width: 8px; height: 8px; border-radius: 999px; background: var(--pink); animation-delay: .12s; }

/* ---------- komt eraan ---------- */

.later { background: var(--white); border: 3px dashed var(--ink); border-radius: 22px; padding: 4px 12px; display: flex; flex-direction: column; }
.later-row {
  display: flex; align-items: center; gap: 12px; min-height: 62px; text-decoration: none; color: var(--ink);
  border: 0; border-bottom: 2px dashed #CDBFE6; background: none; padding: 0; text-align: left; width: 100%;
}
.later-row:last-child { border-bottom: 0; }
.later-icon { width: 38px; height: 38px; border-radius: 999px; border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.later-title { flex: 1; min-width: 0; font-size: 16px; font-weight: 900; overflow-wrap: anywhere; }
.later-when { font-size: 14px; font-weight: 800; color: var(--sub); text-align: right; }

/* ---------- lege staat ---------- */

.empty {
  background: var(--white); border: 3px solid var(--ink); border-radius: 26px; box-shadow: 5px 5px 0 var(--ink);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2.5px solid var(--ink); background: var(--white);
  box-shadow: 2px 2px 0 var(--ink); font-size: 14px; font-weight: 900; color: var(--ink);
  transform: rotate(var(--rot, 0deg)) translate(var(--push, 0px), var(--push, 0px));
  transition: transform .08s ease, box-shadow .08s ease;
}
.chip-btn:nth-child(3n+1) { --rot: -1.5deg; }
.chip-btn:nth-child(3n+2) { --rot: 1deg; }
.chip-btn:active { --push: 2px; box-shadow: 1px 1px 0 var(--ink); }

/* ---------- knop onderin ---------- */

.fab-wrap {
  position: fixed; left: 0; right: 0; bottom: calc(26px + var(--safe-bottom)); display: flex; justify-content: center;
  pointer-events: none; z-index: 5;
}
.fab {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 24px 0 9px;
  border-radius: 999px; background: var(--tomato); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 900;
  transition: transform .08s ease, box-shadow .08s ease;
}
.fab:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.fab .btn-dot { width: 40px; height: 40px; }

/* ---------- melding ---------- */

#toast-root { position: fixed; left: 0; right: 0; bottom: calc(104px + var(--safe-bottom)); z-index: 20; display: flex; justify-content: center; pointer-events: none; padding: 0 16px; }
.toast {
  pointer-events: auto; width: 100%; max-width: 448px; background: var(--white); border: 3px solid var(--ink);
  border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); padding: 12px; display: flex; align-items: center; gap: 12px;
  animation: og-pop .45s cubic-bezier(.2,.9,.3,1.2) both;
}
.toast.is-leaving { animation: og-out .25s ease-in both; }
.toast-burst { width: 50px; height: 50px; flex-shrink: 0; transform: rotate(-10deg); }
.toast-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.toast-title { font-family: var(--display); font-size: 19px; line-height: 1.1; }
.toast-sub { font-size: 14px; font-weight: 800; color: var(--sub); line-height: 1.35; }
.toast .btn { min-height: 44px; padding: 0 14px; font-size: 14px; box-shadow: 2px 2px 0 var(--ink); background: var(--bg); }

/* ---------- detailblad ---------- */

.sheet-backdrop { position: fixed; inset: 0; background: rgba(29, 22, 48, 0.55); z-index: 10; animation: og-fadein .2s ease both; border: 0; padding: 0; width: 100%; }
.sheet {
  position: fixed; left: 50%; bottom: 0; width: 100%; max-width: 486px; transform: translateX(-50%);
  max-height: calc(100dvh - 40px - var(--safe-top)); overflow-y: auto; z-index: 11;
  background: var(--white); border: 3px solid var(--ink); border-bottom: 0; border-radius: 32px 32px 0 0;
  padding: 12px 22px calc(28px + var(--safe-bottom)); display: flex; flex-direction: column; gap: 18px;
  animation: og-sheet .35s cubic-bezier(.2,.9,.3,1.1) both;
}
.grab { width: 44px; height: 6px; border-radius: 999px; background: #D5CBE8; align-self: center; }
.sheet-head { display: flex; align-items: center; gap: 14px; }
.sheet-icon { width: 64px; height: 64px; border-radius: 999px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transform: rotate(-6deg); }
.sheet-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sheet-title h1 { font-size: 28px; line-height: 1.05; overflow-wrap: anywhere; }
.status-box { background: var(--butter); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 3px 3px 0 var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 16px; font-weight: 900; }
.track { position: relative; height: 14px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); }
.track-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--pink); }
.track-dot { position: absolute; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 999px; background: var(--tomato); border: 2.5px solid var(--ink); }
.track-labels { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; color: var(--sub); }
.history { display: flex; flex-wrap: wrap; gap: 8px; }
.history-chip { display: flex; align-items: center; gap: 8px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 2px 2px 0 var(--ink); padding: 3px 12px 3px 3px; font-size: 14px; font-weight: 900; }
.alt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.alt-grid--one { grid-template-columns: minmax(0, 1fr); }
.alt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 74px; padding: 12px 14px;
  border-radius: 18px; border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); text-align: left;
  transform: rotate(var(--rot, 0deg)) translate(var(--push, 0px), var(--push, 0px)); transition: transform .08s ease, box-shadow .08s ease;
}
.alt:active { --push: 2px; box-shadow: 1px 1px 0 var(--ink); }
.alt b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 900; }
.alt span { font-size: 13px; font-weight: 800; }
.alt--sky { background: var(--sky); --rot: -1deg; }
.alt--lime { background: var(--lime); --rot: 1deg; }

/* ---------- formulier ---------- */

.form-head { display: flex; align-items: center; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.label { font-size: 16px; font-weight: 900; }
.input {
  width: 100%; height: 58px; border-radius: 18px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  background: var(--white); padding: 0 18px; font-size: 19px; font-weight: 900; color: var(--ink); outline: none;
}
.input:focus { box-shadow: 4px 4px 0 var(--peri); }
.input--date { font-size: 17px; height: 52px; box-shadow: 2px 2px 0 var(--ink); border-width: 2.5px; max-width: 260px; }
.input.is-invalid { animation: og-shake .4s ease both; border-color: var(--tomato); }
.hint-text { font-size: 14px; font-weight: 800; color: var(--sub); }
.error-text { font-size: 14px; font-weight: 900; color: #B3261E; }

.choice {
  width: 100%; text-align: left; background: var(--white); border: 2.5px solid var(--ink); border-radius: 22px;
  box-shadow: 2px 2px 0 var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 14px; color: var(--ink);
}
.choice.is-on { background: var(--butter); border-width: 3px; box-shadow: 4px 4px 0 var(--ink); }
.choice-head { display: flex; gap: 12px; align-items: flex-start; width: 100%; background: none; border: 0; padding: 0; text-align: left; color: var(--ink); }
.radio { width: 26px; height: 26px; border-radius: 999px; background: var(--white); border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.choice.is-on .radio::after { content: ''; width: 12px; height: 12px; border-radius: 999px; background: var(--tomato); }
.choice-title { display: flex; flex-direction: column; gap: 3px; }
.choice-title b { font-size: 17px; font-weight: 900; }
.choice-title span { font-size: 14px; font-weight: 800; color: var(--sub); line-height: 1.4; }
.choice-body { display: flex; flex-direction: column; gap: 12px; padding-left: 38px; animation: og-open .25s ease-out both; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2.5px solid var(--ink); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 900; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.stepper-row { display: flex; align-items: center; gap: 12px; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 999px; padding: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--ink); background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 0; }
.stepper output { min-width: 40px; text-align: center; font-family: var(--display); font-size: 26px; }
.check-label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 900; }
.check-label input { width: 22px; height: 22px; margin: 0; accent-color: var(--tomato); flex-shrink: 0; }

.corner-btn {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 10px; border-radius: 999px;
  border: 2.5px solid var(--ink); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 900;
}
.corner-btn[aria-pressed="true"] { border-width: 3px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg); }
.corner-btn[aria-pressed="true"].c-binnen { background: var(--pink); }
.corner-btn[aria-pressed="true"].c-buiten { background: var(--lime); }
.corner-btn[aria-pressed="true"].c-vervoer { background: var(--sky); }
.corner-btn[aria-pressed="true"].c-klusjes { background: var(--butter); }
.corner-dot { width: 18px; height: 18px; border-radius: 999px; border: 2px solid var(--ink); }

.icon-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.icon-btn { aspect-ratio: 1; min-height: 44px; border-radius: 999px; border: 2.5px solid var(--ink); background: var(--white); display: flex; align-items: center; justify-content: center; padding: 0; }
.icon-btn[aria-pressed="true"] { background: var(--butter); border-width: 3px; box-shadow: 2px 2px 0 var(--ink); transform: rotate(-6deg); }

.summary { display: flex; gap: 12px; align-items: flex-start; background: var(--lime); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 3px 3px 0 var(--ink); padding: 16px; transform: rotate(-1deg); font-size: 15px; font-weight: 800; line-height: 1.45; }
.summary svg { flex-shrink: 0; margin-top: 1px; }
.form-foot { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.danger-zone { display: flex; justify-content: center; }

/* ---------- huis ---------- */

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.person {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px;
  border-radius: 22px; border: 2.5px solid var(--ink); background: var(--white); box-shadow: 2px 2px 0 var(--ink); color: var(--ink);
}
.person[aria-pressed="true"] { background: var(--butter); border-width: 3px; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-2deg); }
.person:nth-child(even)[aria-pressed="true"] { transform: rotate(2deg); }
.person-name { font-size: 16px; font-weight: 900; overflow-wrap: anywhere; text-align: center; }
.person-badge { position: absolute; top: -10px; right: -8px; width: 32px; height: 32px; border-radius: 999px; background: var(--tomato); border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.person--add { border-style: dashed; box-shadow: none; justify-content: center; color: var(--sub); min-height: 128px; }
.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.color-btn { width: 52px; height: 52px; border-radius: 999px; border: 2.5px solid transparent; background: none; padding: 2px; }
.color-btn[aria-pressed="true"] { border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); transform: rotate(-6deg); }
.share-card { background: var(--white); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 5px 5px 0 var(--ink); padding: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qr { width: 128px; height: 128px; flex-shrink: 0; border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--white); }
.qr svg { width: 100%; height: 100%; }
.share-text { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 160px; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 999px; box-shadow: 2px 2px 0 var(--ink); padding: 4px; }
.tab { min-height: 44px; border-radius: 999px; border: 0; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 900; }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.steps { margin: 0; padding: 18px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 22px; box-shadow: 3px 3px 0 var(--ink); list-style: none; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 900; }
.steps .num { width: 32px; height: 32px; border-radius: 999px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 16px; flex-shrink: 0; background: var(--pink); }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 800; color: var(--sub); line-height: 1.45; }
.note svg { flex-shrink: 0; margin-top: 1px; }

/* ---------- feest ---------- */

.party { position: relative; min-height: 100vh; min-height: 100dvh; background-color: var(--butter); background-image: radial-gradient(rgba(29,22,48,0.1) 1.6px, transparent 1.8px); background-size: 22px 22px; overflow: hidden; }
.party .screen { align-items: center; text-align: center; min-height: 100vh; min-height: 100dvh; padding-bottom: calc(30px + var(--safe-bottom)); gap: 16px; }
.party-house { position: relative; width: 300px; max-width: 100%; animation: og-rise .7s cubic-bezier(.2,.9,.3,1.2) both; }
.party-house svg { width: 100%; height: auto; }
.party-house .stamp { top: 34px; right: 6px; font-size: 22px; transform: rotate(12deg); background: var(--lime); animation: og-stamp2 .55s .6s cubic-bezier(.2,.9,.3,1.2) both; }
.party h1 { font-size: 40px; line-height: 1.04; text-wrap: balance; text-shadow: 3px 3px 0 var(--pink); }
.party p { margin: 0; font-size: 18px; font-weight: 900; line-height: 1.4; text-wrap: pretty; }
.party-foot { margin-top: auto; width: 100%; display: flex; flex-direction: column; gap: 16px; animation: og-fade .5s .55s ease-out both; }
.party-note { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--white); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 3px 3px 0 var(--ink); padding: 14px 16px; transform: rotate(-1deg); font-size: 15px; font-weight: 800; }
.bit { position: absolute; border: 2px solid var(--ink); animation: og-drift 2.4s ease-out both; }
.twinkle { transform-box: fill-box; transform-origin: center; animation: og-twinkle 6s ease-in-out infinite; }

/* ---------- welkom ---------- */

.welcome-hero { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-top: 24px; }
.logo-burst { position: relative; width: 150px; height: 150px; transform: rotate(-8deg); animation: og-rise .7s cubic-bezier(.2,.9,.3,1.2) both; }
.logo-burst svg { width: 100%; height: 100%; }
.welcome-title { font-size: 48px; line-height: 1; text-shadow: 4px 4px 0 var(--pink); }
.welcome-sub { font-size: 18px; font-weight: 900; max-width: 300px; margin: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- animaties ---------- */

@keyframes og-pop { 0% { transform: translateY(18px) scale(.94); opacity: 0; } 60% { transform: translateY(-4px) scale(1.02); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes og-out { to { transform: translateY(16px) scale(.96); opacity: 0; } }
@keyframes og-burst { 0% { transform: translateY(6px) scale(.3) rotate(0deg); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-26px) scale(1) rotate(160deg); opacity: 0; } }
@keyframes og-stamp { 0% { transform: scale(2.2) rotate(-20deg); opacity: 0; } 60% { transform: scale(.9) rotate(13deg); opacity: 1; } 100% { transform: scale(1) rotate(10deg); opacity: 1; } }
@keyframes og-stamp2 { 0% { transform: scale(2.2) rotate(-20deg); opacity: 0; } 60% { transform: scale(.9) rotate(16deg); opacity: 1; } 100% { transform: scale(1) rotate(12deg); opacity: 1; } }
@keyframes og-sheet { 0% { transform: translate(-50%, 40px); opacity: 0; } 100% { transform: translate(-50%, 0); opacity: 1; } }
@keyframes og-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes og-open { 0% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }
@keyframes og-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
@keyframes og-rise { 0% { transform: translateY(30px) scale(.88); opacity: 0; } 70% { transform: translateY(-4px) scale(1.03); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes og-fade { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
@keyframes og-drift { 0% { transform: translateY(-12px) rotate(0deg); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(28px) rotate(160deg); opacity: 1; } }
@keyframes og-twinkle { 0%, 100% { transform: scale(1); } 50% { transform: scale(.94); } }
@keyframes og-cardin { 0% { opacity: 0; transform: translateY(8px) rotate(var(--rot, 0deg)); } 100% { opacity: 1; transform: rotate(var(--rot, 0deg)); } }
.anim-in { animation: og-cardin .3s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- grotere schermen ---------- */

@media (min-width: 720px) {
  .screen { padding-top: 48px; }
}
