:root {
  --gold: #f0c978;
  --gold2: #ffe3a8;
  --ink: #f4f7ff;
  --muted: #a9b8da;
  --card1: #1a2c63;
  --card2: #0f1b42;
  --ok: #49c28a;
  --bad: #e8505b;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: #070d22; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.modal-open, html.modal-open body { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden; overscroll-behavior-y: none;
}
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }

/* ---------- Hintergrund ---------- */
.bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(90% 55% at 50% -8%, rgba(70, 110, 200, .55) 0%, rgba(70, 110, 200, 0) 70%),
    radial-gradient(70% 40% at 100% 100%, rgba(120, 50, 90, .28) 0%, rgba(120, 50, 90, 0) 70%),
    linear-gradient(180deg, #0b1740 0%, #0a1233 50%, #060b1e 100%);
}
.stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .15;
  animation: twinkle 3.5s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .1; } 50% { opacity: .85; } }

#snow { position: fixed; inset: 0; z-index: 100; pointer-events: none; }

/* ---------- Layout ---------- */
.wrap {
  position: relative; z-index: 1; max-width: 1080px; margin: 0 auto;
  padding: calc(var(--sat) + 18px) calc(var(--sar) + 16px) calc(var(--sab) + 28px) calc(var(--sal) + 16px);
}
.head { text-align: center; position: relative; padding-top: 6px; }
.kicker { margin: 0; letter-spacing: .22em; text-transform: uppercase; font-size: 11px; color: var(--muted); }
h1 {
  margin: 6px 0 12px; font-family: ui-serif, "New York", Georgia, "Times New Roman", serif;
  font-weight: 600; font-size: clamp(30px, 8vw, 50px); line-height: 1.05; letter-spacing: .01em;
  background: linear-gradient(180deg, var(--gold2), var(--gold)); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-user-select: none; user-select: none; cursor: default;
  text-shadow: 0 0 40px rgba(240, 201, 120, .25);
}
.lang {
  position: absolute; right: 0; top: 0; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
}
.progress { height: 5px; max-width: 300px; margin: 0 auto 9px; border-radius: 9px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, #e8505b, var(--gold)); transition: width .8s ease; }
.status { margin: 2px 0; font-size: 14px; color: var(--ink); }
.status.soft { color: var(--muted); font-size: 13px; min-height: 18px; }
.chip {
  margin-top: 12px; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  background: linear-gradient(180deg, rgba(240, 201, 120, .22), rgba(240, 201, 120, .1));
  border: 1px solid rgba(240, 201, 120, .55); color: var(--gold2);
}

/* ---------- Türen ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 22px; }
@media (min-width: 560px) { .doors { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 900px) { .doors { grid-template-columns: repeat(6, 1fr); gap: 18px; } }

.door {
  --c1: #b3263a; --c2: #7a1527;
  position: relative; aspect-ratio: 3 / 4; padding: 0; border: 0; background: none; border-radius: 14px;
  perspective: 700px; -webkit-perspective: 700px;
}
.door.c1 { --c1: #23735a; --c2: #124a39; }
.door.c2 { --c1: #345fae; --c2: #1b3a78; }
.door.c3 { --c1: #8a3470; --c2: #5a1d49; }

.door .inside {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden;
  background: #0d1838 center 30% / cover no-repeat; box-shadow: inset 0 0 26px rgba(0, 0, 0, .55);
}
.door .badge {
  position: absolute; left: 7px; bottom: 7px; min-width: 24px; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 700;
  background: rgba(8, 14, 34, .72); color: var(--gold2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.door .flap {
  position: absolute; inset: 0; border-radius: 14px; display: grid; place-items: center; align-content: center; gap: 4px;
  transform-origin: left center; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%),
    linear-gradient(150deg, var(--c1), var(--c2));
  border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 8px 18px rgba(0, 0, 0, .4);
}
body.ready .door .flap { transition: transform 1s cubic-bezier(.2, .75, .2, 1); }
.door .flap::before { content: ""; position: absolute; inset: 7px; border-radius: 9px; border: 1px solid rgba(240, 201, 120, .45); pointer-events: none; }
.door .flap::after { content: ""; position: absolute; right: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 6px rgba(240, 201, 120, .8); }
.door .num {
  font-family: ui-serif, "New York", Georgia, serif; font-weight: 700; font-size: clamp(30px, 9vw, 46px); line-height: 1;
  color: var(--gold2); text-shadow: 0 2px 6px rgba(0, 0, 0, .45);
}
.door .lock { width: 15px; height: 15px; opacity: .8; fill: var(--gold2); }
.door.st-open .lock, .door.st-ready .lock { display: none; }

.door.st-locked .flap { filter: saturate(.65) brightness(.82); }
.door.st-open .flap { transform: rotateY(-118deg); pointer-events: none; }
.door.st-open { cursor: pointer; }

.door.today::before {
  content: ""; position: absolute; inset: -4px; border-radius: 17px; pointer-events: none; z-index: 2;
  border: 2px solid var(--gold); box-shadow: 0 0 18px rgba(240, 201, 120, .7), inset 0 0 12px rgba(240, 201, 120, .25);
  animation: glow 2s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.door.st-ready:not(.today) .flap { border-color: rgba(240, 201, 120, .55); }

.door.shake { animation: shake .5s; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.door.pulse { animation: pulse .9s ease-in-out 2; }
@keyframes pulse { 50% { transform: scale(1.09); } }

/* ---------- Footer / Tip / Toast ---------- */
.foot { margin-top: 30px; text-align: center; color: var(--muted); font-size: 12px; letter-spacing: .06em; opacity: .8; }
.tip {
  margin: 22px auto 0; max-width: 420px; padding: 11px 38px 11px 14px; position: relative; border-radius: 14px; font-size: 13px; line-height: 1.4;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--ink);
}
.tip button { position: absolute; right: 6px; top: 4px; width: 30px; height: 30px; border: 0; background: none; font-size: 22px; color: var(--muted); }
.toast {
  position: fixed; left: 50%; top: calc(var(--sat) + 14px); z-index: 300; max-width: min(92vw, 420px); padding: 11px 18px; border-radius: 14px; text-align: center; font-size: 14px;
  background: rgba(10, 18, 46, .92); border: 1px solid rgba(240, 201, 120, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translate(-50%, -140%); opacity: 0; transition: transform .35s ease, opacity .35s ease; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.test-banner {
  position: fixed; z-index: 250; left: 50%; bottom: calc(var(--sab) + 10px); transform: translateX(-50%); padding: 7px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #1a1200; background: #ffcf4d; border: 0; box-shadow: 0 4px 16px rgba(0, 0, 0, .45);
}
.test-banner[hidden] { display: none; }

/* ---------- Modal ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--sat) + 14px) 14px calc(var(--sab) + 14px); background: rgba(4, 8, 22, .7);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); opacity: 0; transition: opacity .25s ease; overscroll-behavior: contain;
}
.overlay.in { opacity: 1; }
.sheet {
  position: relative; width: 100%; max-width: 460px; max-height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  border-radius: 24px; padding: 20px 18px 18px; background: linear-gradient(180deg, var(--card1), var(--card2));
  border: 1px solid rgba(240, 201, 120, .35); box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  transform: translateY(26px) scale(.97); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.overlay.in .sheet { transform: none; }
.sheet h2 { margin: 0 0 4px; font-family: ui-serif, "New York", Georgia, serif; font-size: 26px; line-height: 1.15; color: var(--gold2); text-align: center; }
.sheet .date { margin: 0 0 14px; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sheet .question { margin: 4px 0 16px; font-size: 18px; line-height: 1.35; text-align: center; font-weight: 600; }
.sheet .hint { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--muted); min-height: 16px; }
.sheet .hint.bad { color: #ff9aa2; font-size: 14px; font-weight: 600; }
.sheet .hint.good { color: #8be0b8; font-size: 14px; font-weight: 600; }

.opts { display: grid; gap: 10px; }
.opt {
  width: 100%; padding: 14px 16px; border-radius: 14px; text-align: left; font-size: 16px; line-height: 1.3;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); transition: background .15s, border-color .15s, transform .15s;
}
.opt:active { transform: scale(.985); }
.opt.right { background: rgba(73, 194, 138, .25); border-color: var(--ok); }
.opt.wrong { background: rgba(232, 80, 91, .25); border-color: var(--bad); animation: shake .45s; }
.opt.peek { border-color: rgba(240, 201, 120, .8); box-shadow: 0 0 0 2px rgba(240, 201, 120, .25); }
.opts.lock .opt { pointer-events: none; }

.photo { position: relative; border-radius: 16px; overflow: hidden; background: #0a1230; margin-bottom: 16px; min-height: 120px; }
.photo .pbg { position: absolute; inset: -24px; background: center / cover no-repeat; filter: blur(26px) brightness(.65); transform: scale(1.1); }
.photo img { position: relative; display: block; margin: 0 auto; max-width: 100%; max-height: 52vh; max-height: 52dvh; width: auto; height: auto; object-fit: contain; opacity: 0; transition: opacity .6s ease; }
.photo img.loaded { opacity: 1; }
.msg { margin: 0 0 14px; font-size: 17px; line-height: 1.45; text-align: center; }
.treat { padding: 12px 14px; border-radius: 14px; background: rgba(240, 201, 120, .12); border: 1px dashed rgba(240, 201, 120, .55); text-align: center; font-size: 15px; line-height: 1.4; }
.treat b { display: block; margin-bottom: 3px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.wall img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

.btn {
  display: block; width: 100%; margin-top: 14px; padding: 13px; border-radius: 14px; font-weight: 600; font-size: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
}
.btn.gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #2a1c00; border: 0; }
.btn.small { padding: 10px; font-size: 14px; }

/* Test-Panel */
.tp label { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-size: 15px; }
.tp select { width: 100%; padding: 11px; border-radius: 12px; font-size: 16px; color: var(--ink); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); }
.tp input[type=checkbox] { width: 22px; height: 22px; accent-color: #ffcf4d; }
.tp .note { margin: 4px 0 10px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.tp h3 { margin: 0 0 10px; font-size: 20px; color: #ffcf4d; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .door.today::before, .stars i { animation: none; }
  body.ready .door .flap { transition-duration: .01s; }
}

/* ======================= V2 ======================= */
/* Leons Türen */
.door.st-reserved { cursor: default; }
.door.st-reserved .flap { filter: grayscale(.85) brightness(.55); }
.door.st-reserved .lock { opacity: .55; }
.door .ribbon {
  position: absolute; left: -1px; right: -1px; bottom: 16%; padding: 3px 0; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #1a1200; background: linear-gradient(90deg, #c9a24d, #f6dc8e, #c9a24d); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transform: rotate(-6deg); filter: none;
}
.door .flap { overflow: hidden; }
.qphoto { margin: 4px 0 14px; border-radius: 14px; overflow: hidden; background: #0a1230; }
.qphoto img { display: block; width: 100%; max-height: 28vh; max-height: 28dvh; object-fit: cover; }
.treat.clue { margin-bottom: 10px; background: rgba(120, 180, 255, .1); border-color: rgba(150, 200, 255, .5); }
.treat.clue b { color: #9cc6ff; }
.tiny { margin: 6px 0; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.4; }
.gift .msg { margin-top: 12px; }
.gift .btn.gold { margin-top: 10px; }

.vidbox { margin: 14px 0 4px; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid rgba(240, 201, 120, .4); }
.vidbox video { display: block; width: 100%; max-height: 56vh; max-height: 56dvh; background: #000; }
.vidbox.missing { padding: 18px; text-align: center; font-size: 13px; color: #ffcf4d; background: rgba(255, 207, 77, .08); border: 1px dashed #ffcf4d; }

/* Schneekugel */
.globe-stage { position: relative; width: 260px; margin: 6px auto 0; padding-bottom: 8px; }
.globe { position: relative; width: 260px; height: 260px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255, 255, 255, .35);
  box-shadow: inset 0 0 40px rgba(120, 170, 255, .45), 0 10px 30px rgba(0, 0, 0, .5); transform-origin: 50% 90%; }
.globe-photo { position: absolute; inset: 0; background: #0b1740 35% center / cover no-repeat; filter: brightness(.8) saturate(1.05); }
.globe-cv { position: absolute; inset: 0; touch-action: none; }
.globe-shine { position: absolute; inset: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(60% 40% at 32% 18%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%), radial-gradient(100% 100% at 50% 110%, rgba(120, 180, 255, .35), rgba(120, 180, 255, 0) 55%); }
.globe.wobble { animation: wobble .9s ease-out; }
@keyframes wobble { 0% { transform: rotate(0); } 18% { transform: rotate(-7deg); } 38% { transform: rotate(5deg); } 58% { transform: rotate(-3deg); } 78% { transform: rotate(1.5deg); } 100% { transform: rotate(0); } }
.globe-base { position: relative; z-index: 2; width: 170px; height: 46px; margin: -22px auto 0; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #f6dc8e, #c9a24d 45%, #8a6a24); box-shadow: 0 8px 14px rgba(0, 0, 0, .5); }

/* Karte */
.tabs { display: flex; gap: 8px; justify-content: center; margin: 4px 0 10px; }
.tab { padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); }
.tab.on { background: rgba(240, 201, 120, .2); border-color: var(--gold); color: var(--gold2); }
.mapbox { border-radius: 14px; overflow: hidden; }
.map { display: block; width: 100%; height: auto; }
.map .sea { fill: #0c1a44; }
.map .land { fill: #213f7d; }
.map .states { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: .6; }
.map .borders { fill: none; stroke: rgba(240, 201, 120, .45); stroke-width: .9; stroke-linejoin: round; }
.map .pin { cursor: pointer; outline: none; }
.map .pin .dot { fill: var(--gold); stroke: #fff; stroke-width: 2; }
.map .pin .halo { fill: rgba(240, 201, 120, .3); animation: halo 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 0%, 100% { transform: scale(.8); opacity: .9; } 50% { transform: scale(1.7); opacity: 0; } }
.map .pin text { font-size: 15px; font-weight: 700; fill: #fff; paint-order: stroke; stroke: rgba(8, 14, 34, .9); stroke-width: 4px; stroke-linejoin: round; }
.map .pin.sel .dot { fill: #ff6b7a; }
.pincard { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); min-height: 60px; }
.pincard h3 { margin: 0 0 4px; font-family: ui-serif, "New York", Georgia, serif; font-size: 20px; color: var(--gold2); }
.pincard p { margin: 0 0 8px; font-size: 15px; line-height: 1.4; }
.pics { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.pics img { height: 120px; width: auto; border-radius: 10px; flex: none; }

/* Soundtrack */
.songs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.song { border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); overflow: hidden; }
.srow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 0; background: none; text-align: left; }
.sn { width: 24px; text-align: center; font-weight: 700; color: var(--gold); }
.st { flex: 1; display: grid; gap: 1px; }
.st b { font-size: 16px; } .st i { font-size: 13px; color: var(--muted); font-style: normal; }
.eq { color: var(--gold); transition: transform .3s; }
.song.open .eq { transform: rotate(20deg) scale(1.3); }
.song .note, .song .listen { display: none; margin: 0; padding: 0 14px 12px 50px; font-size: 14px; line-height: 1.4; }
.song .listen { color: var(--gold2); text-decoration: none; font-weight: 600; padding-top: 0; }
.song.open .note, .song.open .listen { display: block; }

/* Memory */
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; perspective: 800px; }
.mcard { position: relative; aspect-ratio: 3 / 4; padding: 0; border: 0; background: none; border-radius: 10px; transform-style: preserve-3d; transition: transform .45s; }
.mcard.flip { transform: rotateY(180deg); }
.mf { position: absolute; inset: 0; border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mfront { display: grid; place-items: center; font-size: 26px; color: var(--gold2); background: linear-gradient(150deg, #345fae, #1b3a78); border: 1px solid rgba(255, 255, 255, .25); }
.mback { transform: rotateY(180deg); background: #0d1838 center / cover no-repeat; border: 1px solid rgba(240, 201, 120, .5); }
.mcard.done { animation: matched .6s; }
.mcard.done .mback { box-shadow: 0 0 0 2px var(--ok); }
@keyframes matched { 50% { transform: rotateY(180deg) scale(1.08); } }
.stats { margin-top: 10px; }
.prize { margin-top: 12px; padding: 14px; text-align: center; border-radius: 14px; background: rgba(240, 201, 120, .14); border: 1px solid var(--gold); }
.prize[hidden] { display: none; }
.prize b { font-size: 18px; color: var(--gold2); }
.prize p { margin: 8px 0 0; font-size: 16px; line-height: 1.45; }

/* Open when */
.owgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.owcard { border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); overflow: hidden; }
.owcard.open { grid-column: 1 / -1; border-color: var(--gold); background: rgba(240, 201, 120, .1); }
.owhead { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 12px; border: 0; background: none; text-align: left; font-size: 15px; font-weight: 600; line-height: 1.25; }
.owi { font-size: 26px; }
.owt small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.owc { position: absolute; right: 10px; top: 8px; font-size: 13px; color: var(--ok); opacity: 0; }
.owcard.read .owc { opacity: 1; }
.owbody { display: none; padding: 0 14px 14px; }
.owcard.open .owbody { display: block; }
.owbody p { margin: 0; font-size: 16px; line-height: 1.5; }

/* Rubbellos */
.scratch { position: relative; width: 100%; height: 210px; margin-top: 12px; border-radius: 16px; overflow: hidden; background: radial-gradient(100% 100% at 50% 0, #345fae, #14265b); border: 1px solid rgba(240, 201, 120, .5); }
.scratch-under { position: absolute; inset: 0; display: grid; place-content: center; padding: 18px; text-align: center; gap: 6px; }
.scratch-under b { font-family: ui-serif, "New York", Georgia, serif; font-size: 30px; color: var(--gold2); }
.scratch-under p { margin: 0; font-size: 16px; line-height: 1.4; }
.scratch-cv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; transition: opacity 1s ease; }
.scratch-cv.gone { opacity: 0; pointer-events: none; }

.todo { margin: 6px 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 207, 77, .1); border: 1px dashed #ffcf4d; font-size: 13px; }
.todo ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.5; }

/* ======================= V3 ======================= */
.wreath { width: min(270px, 74vw); margin: 4px auto 6px; }
.wreath-svg { display: block; width: 100%; height: auto; overflow: visible; }
.wreath-cap { margin: 2px 0 0; text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.wreath .flame { transition: opacity 1s ease; }
.wreath .fl { transform-box: fill-box; transform-origin: 50% 100%; animation: flick 1.3s ease-in-out infinite alternate; }
.wreath .flame:nth-of-type(2n) .fl { animation-duration: 1.7s; }
@keyframes flick { 0% { transform: scale(1, 1) rotate(-1.5deg); } 35% { transform: scale(.94, 1.08) rotate(1.5deg); } 70% { transform: scale(1.04, .95) rotate(-1deg); } 100% { transform: scale(.97, 1.06) rotate(1deg); } }
.vch { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(240, 201, 120, .12); border: 1px dashed var(--gold); display: grid; gap: 2px; text-align: center; }
.vch b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.vch span { font-size: 16px; font-weight: 600; }
.vch .btn { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .wreath .fl { animation: none; } }
