:root {
  --night-1: #050821;
  --night-2: #0c1445;
  --night-3: #2b1d5a;
  --red: #e8283f;
  --red-dark: #8e1326;
  --blue: #3a86f2;
  --blue-dark: #173a85;
  --gold: #ffd23f;
  --gold-dark: #b8860b;
  --silver: #e9eef7;
  --snow: #f4f8ff;
  --green: #1f8a4c;
  --text: #f4f6ff;
  --muted: #b9c1e8;
  --radius: 14px;
  --font-fest: "Mountains of Christmas", "Georgia", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--night-2);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

button { font: inherit; color: inherit; }

/* ---------- Lucht ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 85% 0%, rgba(130, 150, 255, .28), transparent 70%),
    radial-gradient(ellipse 70% 40% at 10% 100%, rgba(232, 40, 63, .18), transparent 70%),
    linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 50%, var(--night-3) 100%);
}

.stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--d, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.stars span.big { width: 3px; height: 3px; box-shadow: 0 0 6px 1px rgba(255, 255, 255, .7); }

@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.moon {
  position: absolute;
  top: 60px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffdf2, #f3e9c6 60%, #d8cb9b);
  box-shadow: 0 0 40px 10px rgba(255, 248, 220, .35), 0 0 140px 40px rgba(255, 248, 220, .12);
}
.moon::before, .moon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(190, 175, 130, .35);
}
.moon::before { width: 9px; height: 9px; top: 13px; left: 22px; }
.moon::after { width: 6px; height: 6px; top: 27px; left: 13px; }

.sleigh {
  position: absolute;
  top: 15vh;
  left: 0;
  font-size: 26px;
  white-space: nowrap;
  transform: translateX(110vw);
  animation: fly 30s linear 4s infinite;
  filter: drop-shadow(0 0 6px rgba(255, 230, 160, .5));
}
.sleigh > span { display: inline-block; animation: gallop .5s ease-in-out infinite alternate; }
.sleigh > span:nth-child(3) { animation-delay: .15s; }
.sleigh .sled { position: relative; margin-left: 4px; animation: none; }
.sleigh .santa { position: absolute; left: 6px; top: -14px; font-size: .75em; }
.sleigh .trail {
  position: absolute;
  left: 100%;
  top: 55%;
  width: 140px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 230, 150, .9), rgba(255, 230, 150, 0));
  animation: none;
}

@keyframes fly {
  0% { transform: translate(110vw, 0); }
  12% { transform: translate(70vw, -14px); }
  24% { transform: translate(30vw, 8px); }
  36% { transform: translate(-10vw, -10px); }
  44%, 100% { transform: translate(calc(-100% - 200px), 0); }
}
@keyframes gallop { to { transform: translateY(-4px); } }

/* ---------- Sneeuw & confetti ---------- */
#snow, #confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#snow { z-index: 30; }
#confetti { z-index: 70; }

/* ---------- Lichtjesslinger ---------- */
.lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 0 0 10px;
  height: 64px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.lights li {
  position: relative;
  flex: none;
  width: 11px;
  height: 22px;
  margin-top: 18px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 4px 22px 4px var(--c);
  animation: flash 1.2s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}
.lights li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 1px;
  width: 9px;
  height: 7px;
  border-radius: 2px;
  background: #253325;
}
.lights li::after {
  content: "";
  position: absolute;
  top: -15px;
  left: 6px;
  width: var(--gap, 34px);
  height: 16px;
  border-bottom: 2px solid #1b2a1f;
  border-radius: 50%;
}
@keyframes flash {
  0%, 30% { opacity: 1; box-shadow: 0 4px 22px 4px var(--c); }
  100% { opacity: .35; box-shadow: 0 2px 6px 0 var(--c); }
}

/* ---------- Layout ---------- */
main {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 78px 16px 0;
}

.hero { text-align: center; margin-bottom: 8px; }
.eyebrow {
  margin: 0;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}
.hero h1 {
  margin: 2px 0 0;
  font-family: var(--font-fest);
  font-size: clamp(54px, 17vw, 108px);
  line-height: 1;
  background: linear-gradient(100deg, #ffd23f 0%, #fff6cf 25%, #ffb703 50%, #fff6cf 75%, #ffd23f 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(255, 200, 80, .4));
  animation: shimmer 5s linear infinite;
  cursor: pointer;
  user-select: none;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.sub { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.t-marieke { color: #ff7a8c; }
.t-roy { color: #82b8ff; }

.top {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

@media (min-width: 860px) {
  .top { grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
}

/* ---------- Kerstboom ---------- */
.tree-wrap { text-align: center; }
#tree {
  width: min(82vw, 360px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 30px rgba(52, 183, 102, .25));
}
.tree-caption { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

.garlands path {
  fill: none;
  stroke: #ffd23f;
  stroke-width: 2.4;
  stroke-dasharray: 1 5;
  stroke-linecap: round;
}

.bulb {
  animation: bulb 1.4s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}
@keyframes bulb {
  from { opacity: 1; }
  to { opacity: .3; }
}

.orn-slot {
  fill: rgba(255, 255, 255, .05);
  stroke: rgba(255, 255, 255, .35);
  stroke-width: 1;
  stroke-dasharray: 2 2;
}
.orn-inner { transform-box: fill-box; transform-origin: 50% 0%; }
.orn .orn-inner { animation: sway 3.5s ease-in-out infinite alternate; animation-delay: var(--delay); }
.orn.pop .orn-inner { animation: pop .8s cubic-bezier(.3, 1.8, .5, 1) both, sway 3.5s ease-in-out .8s infinite alternate; }
.orn text {
  font: 900 8px var(--font-body);
  fill: #fff;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}
@keyframes sway { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.star { cursor: pointer; outline: none; }
.star polygon { transform-box: fill-box; transform-origin: center; animation: starPulse 2.4s ease-in-out infinite; }
.star .halo { opacity: .5; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-in-out infinite; }
.star.blazing .halo { opacity: 1; animation-duration: 1.2s; }
.star.blazing polygon { animation: starSpin 6s linear infinite, starPulse 1.2s ease-in-out infinite; }
@keyframes starPulse { 50% { filter: brightness(1.35); } }
@keyframes halo { 50% { transform: scale(1.25); } }
@keyframes starSpin { to { rotate: 360deg; } }

/* ---------- Kaarten ---------- */
.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  padding: 20px 18px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  text-align: center;
}

.status h2 {
  margin: 0;
  font-family: var(--font-fest);
  font-size: clamp(30px, 9vw, 42px);
  line-height: 1.1;
}
.status p { margin: 6px 0 0; color: var(--muted); }
.status .kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.status .big-num { color: var(--gold); }
.who-marieke { color: #ff7a8c; }
.who-roy { color: #82b8ff; }
.who-both { color: var(--gold); }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0 4px;
}
.countdown div {
  padding: 8px 4px 6px;
  border-radius: 12px;
  background: rgba(5, 8, 33, .45);
  border: 1px solid rgba(255, 255, 255, .1);
}
.countdown b {
  display: block;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.countdown span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.countdown-label { font-size: 12px; color: var(--muted); margin-top: 14px !important; }

.progress { margin-top: 16px; text-align: left; }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.progress-bar {
  margin-top: 6px;
  height: 12px;
  border-radius: 99px;
  background: rgba(5, 8, 33, .5);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
}
.progress-bar i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: 99px;
  background: repeating-linear-gradient(-45deg, #e8283f 0 8px, #fff 8px 16px);
  background-size: 22.6px 22.6px;
  animation: candy 1s linear infinite;
  transition: width .8s cubic-bezier(.3, 1.4, .5, 1);
}
@keyframes candy { to { background-position: 22.6px 0; } }

.btn, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 22px;
  min-height: 48px;
  border: 0;
  border-radius: 99px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  color: #3b2300;
  background: linear-gradient(180deg, #ffe680, #ffc21a);
  box-shadow: 0 6px 0 #b8860b, 0 10px 24px rgba(255, 194, 26, .35);
  transition: transform .12s, box-shadow .12s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active, .cta:active { transform: translateY(4px); box-shadow: 0 2px 0 #b8860b, 0 6px 14px rgba(255, 194, 26, .3); }
.cta.done {
  color: var(--text);
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

/* ---------- Kalender ---------- */
.calendar { margin-top: 30px; }
.calendar h2 {
  margin: 0;
  text-align: center;
  font-family: var(--font-fest);
  font-size: clamp(34px, 10vw, 52px);
  color: var(--snow);
  text-shadow: 0 0 18px rgba(255, 255, 255, .35);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin: 4px 0 16px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.legend li { display: flex; align-items: center; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 4px; }
.dot.marieke { background: var(--red); }
.dot.roy { background: var(--blue); }
.dot.both { background: var(--gold); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 10px;
}
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(7, 1fr); gap: 14px; }
}

.cell {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  perspective: 700px;
  border-radius: var(--radius);
  -webkit-tap-highlight-color: transparent;
}
.cell.big { grid-column: span 2; grid-row: span 2; }
.cell:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.behind {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #fff8e1 0%, #ffd98a 32%, #c06c1d 80%, #6b3410 100%);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25), inset 0 8px 16px rgba(0, 0, 0, .45);
}
.behind-emoji {
  font-size: clamp(28px, 9vw, 44px);
  line-height: 1;
  opacity: 0;
  transform: scale(.3) rotate(-20deg);
  transition: transform .6s cubic-bezier(.3, 1.8, .5, 1) .45s, opacity .3s .45s;
}
.big .behind-emoji { font-size: clamp(60px, 20vw, 96px); }
.behind-name {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5a2a06;
}
.big .behind-name { font-size: 14px; }
.cell.open .behind-emoji { opacity: 1; transform: none; }

.door {
  position: absolute;
  inset: 0;
  transform-origin: 0% 50%;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.3, 1.35, .5, 1);
}
.cell.open { z-index: 2; }
.cell.open .door { transform: rotateY(-108deg); pointer-events: none; }

.face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.face.back { transform: rotateY(180deg); background: var(--inside); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1); }

.front {
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18), inset 0 -6px 12px rgba(0, 0, 0, .2), 0 6px 14px rgba(0, 0, 0, .35);
  background:
    linear-gradient(90deg, transparent 43%, var(--accent) 43% 57%, transparent 57%),
    linear-gradient(0deg, transparent 43%, var(--accent) 43% 57%, transparent 57%),
    radial-gradient(rgba(255, 255, 255, .2) 1.4px, transparent 2px) 0 0 / 12px 12px,
    var(--paper);
  transition: filter .3s;
}

.cell.marieke { --paper: linear-gradient(145deg, #f2445a, #a3142a); --accent: var(--gold); --ink: var(--red-dark); --inside: #6e0f1d; }
.cell.roy { --paper: linear-gradient(145deg, #4c92f5, #173a85); --accent: var(--silver); --ink: var(--blue-dark); --inside: #10285c; }
.cell.both { --paper: linear-gradient(145deg, #ffe68a, #d39b16); --accent: var(--red); --ink: #8a1020; --inside: #8a6208; }

.tag {
  display: grid;
  place-items: center;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #f1e7d4);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 0 0 2px var(--accent);
}
.big .tag { width: 44%; }
.num {
  font-family: var(--font-fest);
  font-weight: 700;
  font-size: clamp(24px, 7.5vw, 36px);
  line-height: 1;
  color: var(--ink);
}
.big .num { font-size: clamp(48px, 16vw, 76px); }

.name {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 7px;
  border-radius: 99px;
  background: rgba(0, 0, 0, .32);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.big .name { font-size: 12px; padding: 2px 10px; }

.lock {
  position: absolute;
  top: 5%;
  right: 6%;
  font-size: 11px;
  opacity: 0;
}
.cell.locked .lock { opacity: .9; }
.cell.locked .front { filter: saturate(.55) brightness(.72); }

.badge {
  position: absolute;
  top: -9px;
  left: 50%;
  z-index: 3;
  padding: 1px 8px;
  border-radius: 99px;
  background: var(--gold);
  color: #3b2300;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  transform: translateX(-50%);
  display: none;
  animation: bob 1s ease-in-out infinite alternate;
}
.cell.today:not(.open) .badge { display: block; }
.cell.today:not(.open) .front { animation: glow 1.6s ease-in-out infinite; }
.cell.today:not(.open) { z-index: 3; }

@keyframes bob { to { transform: translate(-50%, -4px); } }
@keyframes glow {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 0 0 3px var(--gold), 0 0 14px 2px rgba(255, 210, 63, .5); }
  50% { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 0 0 3px #fff6cf, 0 0 30px 10px rgba(255, 210, 63, .75); }
}

.cell.catchup:not(.open) .front::after {
  content: "✨";
  position: absolute;
  top: 4%;
  right: 6%;
  font-size: 12px;
  animation: twinkle 1.5s ease-in-out infinite;
}

.cell.shake { animation: shake .45s; }
@keyframes shake {
  20% { transform: translateX(-6px) rotate(-3deg); }
  40% { transform: translateX(6px) rotate(3deg); }
  60% { transform: translateX(-4px) rotate(-2deg); }
  80% { transform: translateX(4px) rotate(1deg); }
}

/* ---------- Grond ---------- */
.ground {
  position: relative;
  margin-top: 96px;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  background: var(--snow);
  color: #31406e;
  text-align: center;
}
.hills {
  position: absolute;
  left: 0;
  bottom: 100%;
  width: 100%;
  height: 70px;
  display: block;
}
.ground-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 980px;
  margin: -54px auto 0;
  padding: 0 16px;
  position: relative;
}
.snowman {
  border: 0;
  background: none;
  padding: 0;
  font-size: 56px;
  line-height: 1;
  cursor: pointer;
  transform-origin: 50% 100%;
  -webkit-tap-highlight-color: transparent;
}
.snowman.wobble { animation: wobble .8s; }
@keyframes wobble {
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(3deg); }
}
.pines { font-size: 40px; line-height: 1; letter-spacing: -6px; }
.made { margin: 10px 0 0; font-size: 13px; font-weight: 700; }

/* ---------- Knoppen ---------- */
.controls {
  position: fixed;
  right: calc(12px + env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  gap: 8px;
}
.ctl {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(12, 20, 69, .7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  -webkit-tap-highlight-color: transparent;
}
.ctl[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255, 210, 63, .35), 0 0 22px rgba(255, 210, 63, .45); }
#musicBtn[aria-pressed="true"] { animation: dance .6s ease-in-out infinite alternate; }
@keyframes dance { from { transform: rotate(-10deg); } to { transform: rotate(10deg) translateY(-3px); } }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 33, .65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s;
}
.modal-frame {
  position: relative;
  width: min(100%, 420px);
  padding: 8px;
  border-radius: 30px;
  background: repeating-linear-gradient(45deg, #e8283f 0 12px, #fff 12px 24px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transform: scale(.6) rotate(-6deg);
  opacity: 0;
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .25s;
}
.modal.roy .modal-frame { background: repeating-linear-gradient(45deg, #3a86f2 0 12px, #fff 12px 24px); }
.modal.both .modal-frame { background: repeating-linear-gradient(45deg, #ffd23f 0 12px, #e8283f 12px 24px); }
.modal.show .modal-backdrop { opacity: 1; }
.modal.show .modal-frame { transform: none; opacity: 1; }

.modal-card {
  border-radius: 23px;
  padding: 22px 20px 24px;
  text-align: center;
  color: #2a1a10;
  background:
    radial-gradient(circle at 50% 0%, #fff 0%, transparent 60%),
    linear-gradient(180deg, #fffdf6, #fff0d6);
}
.modal-day {
  display: inline-block;
  margin: 0;
  padding: 2px 12px;
  border-radius: 99px;
  background: #2a1a10;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.modal-emoji {
  margin: 10px 0 2px;
  font-size: 96px;
  line-height: 1.1;
  animation: present 1.6s ease-in-out infinite;
}
.modal.both .modal-emoji { font-size: 110px; }
@keyframes present {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}
.modal-card h2 {
  margin: 0;
  font-family: var(--font-fest);
  font-size: 34px;
  line-height: 1.1;
  color: var(--red-dark);
}
.modal.roy .modal-card h2 { color: var(--blue-dark); }
.modal.both .modal-card h2 { color: #8a1020; }
.modal-text { margin: 10px 0 0; font-size: 16px; color: #5a4636; }
.rhyme {
  position: relative;
  margin: 16px auto 0;
  padding: 14px 12px 0;
  max-width: 300px;
  border-top: 2px dashed rgba(142, 19, 38, .25);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: #6b3a1a;
}
.rhyme::before {
  content: "❄";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 8px;
  font-style: normal;
  font-size: 14px;
  color: #c9a24a;
  background: #fff5e2;
}
.rhyme span { display: block; opacity: 0; transform: translateY(6px); animation: rhymeIn .5s ease forwards; }
.rhyme span:nth-child(1) { animation-delay: .35s; }
.rhyme span:nth-child(2) { animation-delay: .75s; }
.rhyme span:nth-child(3) { animation-delay: 1.15s; }
.rhyme span:nth-child(4) { animation-delay: 1.55s; }
@keyframes rhymeIn { to { opacity: 1; transform: none; } }
.rhyme:empty { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 80;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 253, 246, .97);
  color: #2a1a10;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), opacity .2s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  .sleigh { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .door { transition-duration: .3s; }
}
