:root{color-scheme:dark;--paper:#f9e9d4;--gold:#edbd86;--muted:#dfbca9;--line:#86534770;--bg:#20120f;font-family:system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse at 62% 13%,#49211d,transparent 48rem),var(--bg);color:var(--paper)}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;cursor:pointer}
:focus-visible{outline:2px solid #ffdc98;outline-offset:4px}
[hidden]{display:none!important}
.shell{width:min(1120px,calc(100% - 48px));margin:auto}
header,footer{display:flex;justify-content:space-between;align-items:center;padding:23px 0;border-bottom:1px solid var(--line);gap:12px}
.brand{font-family:Georgia,serif;font-size:1.15rem;color:var(--paper);text-decoration:none}
.brand span,footer span{color:var(--gold)}
.preview,.close{border:1px solid var(--line);color:var(--paper);background:#62342a55;border-radius:999px;padding:8px 14px;font-size:.875rem}
.preview:hover,.close:hover{background:#774032}
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:435px;padding:22px 0 34px}
.hero-copy{position:relative;z-index:1}
.eyebrow{display:flex;align-items:center;gap:9px;color:var(--gold);font-size:.875rem;font-weight:700;letter-spacing:.14em;margin:0 0 15px}
.eyebrow span{width:16px;height:1px;background:var(--gold)}
h1,h2{font-family:Georgia,serif;font-weight:400;margin:0}
h1{font-size:clamp(4rem,8.3vw,7.25rem);line-height:.88;letter-spacing:-.074em}
h1 em{color:var(--gold);font-weight:400}
.intro{color:var(--muted);line-height:1.65;max-width:36ch;margin:24px 0 15px}
.date-note{font-size:.875rem;color:var(--gold);margin:10px 0 0}
.primary{background:#f0c392;color:#341711;border:0;padding:11px 17px;border-radius:8px;font-weight:700}
.primary:hover{background:#ffe0b9}
.primary span{margin-left:5px}
.illustration{position:relative;display:grid;place-items:center;min-height:365px;isolation:isolate}
.halo{position:absolute;width:min(100%,415px);aspect-ratio:1;background:radial-gradient(circle,#b45f4360,transparent 68%);z-index:-1}
.orbit{position:absolute;width:80%;height:65%;border:1px solid #e6a96b45;border-radius:50%;transform:rotate(-25deg);box-shadow:0 0 27px #eab27216}
.star{position:absolute;color:#ffd59a;font-style:normal;text-shadow:0 0 14px #ffaf71}
.s1{top:15%;left:24%;font-size:2.1rem}.s2{top:12%;right:22%;font-size:1.4rem}.s3{bottom:16%;right:13%;font-size:1.8rem}.s4{bottom:22%;left:12%;font-size:1.5rem}.s5{top:41%;right:4%}.s6{top:21%;left:9%}.s7{bottom:10%;left:35%;font-size:.8rem}
.present{--ribbon:linear-gradient(90deg,#b77843,#ffe0a0 47%,#dfa464);position:relative;width:182px;height:155px;transform:rotate(-10deg);filter:drop-shadow(0 18px 23px #170706a0)}
.box,.lid{position:absolute;border:1px solid #fb957355;border-radius:5px}
.box{inset:34px 7px 0;background:var(--ribbon) center/18% 100% no-repeat,repeating-linear-gradient(40deg,#ffa38317 0 1px,transparent 1px 12px),linear-gradient(115deg,#be604c,#8a292b 75%)}
.lid{inset:17px 0 auto;height:35px;background:var(--ribbon) center/18% 100% no-repeat,linear-gradient(110deg,#d87b5b,#a83c37);box-shadow:0 6px 10px #51101166}
.bow{position:absolute;bottom:100%;left:50%;width:12px;height:14px;background:#f2ba7d;border-radius:5px;transform:translateX(-50%)}
.bow::before,.bow::after{content:"";position:absolute;bottom:3px;width:49px;height:24px;border:7px solid #e6aa6b;box-shadow:inset 0 0 8px #ffa96555}
.bow::before{right:7px;border-radius:62% 81% 7% 63%;transform:rotate(21deg)}
.bow::after{left:7px;border-radius:81% 62% 63% 7%;transform:rotate(-21deg)}
.tag{position:absolute;top:58px;left:67%;padding:5px 10px;background:#ecd2a6;color:#55291f;font:1.2rem Georgia,serif;border-radius:3px;transform:rotate(17deg)}
.tag::before{content:"";position:absolute;width:1px;height:17px;background:#f3ce95;top:-16px;left:50%}
.tag span{display:block;font-size:.75rem;text-align:center}
.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:0 0 14px;border-bottom:1px solid var(--line)}
h2{font-size:clamp(1.6rem,3vw,2.35rem)}
#progress{color:var(--muted);font-size:.875rem}
.doors{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:14px}
.door{position:relative;min-height:103px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(135deg,#512420,#351917);color:var(--paper);font:2rem Georgia,serif;transition:transform .2s,background .2s}
.door:nth-child(3n){background:linear-gradient(135deg,#4c3423,#302019)}
.door:disabled{cursor:default;color:#e5bcb0}
.door:not(:disabled):hover{transform:translateY(-3px);background:#73362a}
.door.current{border-color:#efb77b;background:linear-gradient(135deg,#824033,#50201d);box-shadow:0 0 16px #f3a46635;color:#ffe3af}
.door-symbol{position:absolute;right:9px;top:7px;font:1rem system-ui,sans-serif;color:var(--gold)}
footer{margin-top:27px;border-top:1px solid var(--line);border-bottom:0;justify-content:center;color:var(--muted);font-size:.875rem}
dialog{width:min(465px,calc(100% - 28px));padding:0;border:1px solid #b67d5a;border-radius:20px;background:radial-gradient(ellipse at 50% 25%,#683024,#2a1514 73%);color:var(--paper);overflow:hidden;text-align:center}
dialog::backdrop{background:#170909bc;backdrop-filter:blur(6px)}
.overlay-content{position:relative;padding:35px 26px 30px}
.close{position:absolute;right:12px;top:12px;z-index:3;font-size:1.2rem;line-height:1;padding:8px 11px}
.reveal{position:relative;height:152px;display:grid;place-items:center}
.reveal .present{scale:.65;transform:rotate(0);filter:drop-shadow(0 8px 13px #13060599)}
.letter{position:relative}
.letter .eyebrow{justify-content:center;margin-bottom:8px}
.letter p:last-child{color:var(--muted);line-height:1.6;margin:12px auto 0;max-width:34ch}
.burst{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.burst i{position:absolute;color:var(--spark);font-style:normal;opacity:0}
.animate .present{animation:unwrap 1.1s ease both}
.animate .lid{animation:pop 1s .46s both cubic-bezier(.16,.7,.27,1)}
.animate .burst i{animation:spark .95s .53s both ease-out}
.animate .letter{animation:letter .55s .98s both ease-out}
@keyframes unwrap{0%,100%{transform:rotate(0)} 14%,43%{transform:rotate(-9deg) scale(1.05)} 29%,52%{transform:rotate(9deg) scale(.96)} 65%{transform:scale(1.15)}}
@keyframes pop{0%{transform:translate(0)} 42%{opacity:1} 100%{transform:translate(38px,-112px) rotate(28deg);opacity:0}}
@keyframes spark{0%{transform:translate(0) scale(.15);opacity:0} 20%{opacity:1} 100%{transform:translate(var(--x),var(--y)) rotate(var(--turn));opacity:0}}
@keyframes letter{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.shell{width:calc(100% - 32px)}header{padding:15px 0}.hero{grid-template-columns:1fr;padding:35px 0 16px}.illustration{min-height:230px}.illustration .present{scale:.8}.orbit{max-width:310px}.doors{grid-template-columns:repeat(4,1fr);gap:7px}.door{min-height:75px}.section-head{align-items:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* A moonlit winter scene frames the calendar. */
:root {
  --paper: #fff6e5;
  --gold: #ffdb97;
  --muted: #cedfdf;
  --line: #b7dfdb38;
  --bg: #081820;
}
body {
  background: radial-gradient(ellipse at 72% 14%, #254d53 0, transparent 48rem), var(--bg);
}
.shell { position: relative; }
.snowfall {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .55;
}
.snowfall span {
  position: absolute;
  top: -10px;
  left: var(--left);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #e5fcff;
  box-shadow: 0 0 7px #e5fcff;
  animation: snowfall var(--duration) var(--delay) linear infinite;
}
@keyframes snowfall {
  to { transform: translate(65px, calc(100vh + 18px)); }
}
.preview, .close { background: #30565b80; }
.preview:hover, .close:hover { background: #3b6469; }
h1 em { text-shadow: 0 0 35px #ffc37640; }
.hero { column-gap: 24px; }
.illustration {
  isolation: isolate;
  overflow: hidden;
  border-radius: 50% 50% 18px 18px / 58% 58% 18px 18px;
  border: 1px solid #c2e9e480;
  background: radial-gradient(ellipse at 64% 18%, #49737a, #15383e 52%, #112b35 80%);
  box-shadow: inset 0 0 35px #b7dfdb22, 0 14px 55px #05131985;
}
.halo { background: radial-gradient(circle, #ffca8268, transparent 65%); z-index: 1; }
.orbit { z-index: 2; height: 48%; width: 76%; border-color: #f5d5a668; }
.winter-scene { position: absolute; inset: 0; overflow: hidden; }
.moon {
  position: absolute;
  top: 12%;
  right: 22%;
  width: 59px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff8d9, #e5bf83);
  box-shadow: 0 0 55px 14px #ffe0a46b;
}
.ridge {
  position: absolute;
  inset: 33% 0 0;
  clip-path: polygon(0 49%, 18% 20%, 34% 49%, 53% 10%, 70% 45%, 82% 24%, 100% 58%, 100% 100%, 0 100%);
}
.ridge-back { background: linear-gradient(#7aa7ae, #244e58); }
.ridge-front {
  inset: 46% -7% 0;
  background: linear-gradient(#4d7c80, #12353c);
  transform: scaleX(-1);
}
.tree {
  position: absolute;
  bottom: var(--bottom);
  left: var(--left);
  width: var(--width);
  height: calc(var(--width) * 1.65);
  background: linear-gradient(105deg, #477e7b, #143840 60%, #0a2731);
  clip-path: polygon(50% 0, 66% 29%, 60% 29%, 82% 54%, 73% 53%, 100% 84%, 55% 83%, 55% 100%, 45% 100%, 45% 83%, 0 84%, 27% 53%, 18% 54%, 40% 29%, 34% 29%);
}
.tree-one { --left: 1%; --width: 22%; --bottom: 4%; }
.tree-two { --left: 17%; --width: 13%; --bottom: 9%; }
.tree-three { --left: 79%; --width: 20%; --bottom: 6%; }
.tree-four { --left: 67%; --width: 12%; --bottom: 10%; }
.tree-five { --left: 31%; --width: 8%; --bottom: 14%; }
.snowbank {
  position: absolute;
  inset: 83% -10% -25%;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 55% 0, #cbe6db, #517b82 48%, #264e5b 70%);
}
.illustration .present { z-index: 3; margin-top: 30px; }
.star { z-index: 2; animation: twinkle 4s ease-in-out infinite alternate; }
.star:nth-of-type(even) { animation-delay: -2s; }
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }
.door {
  border-color: #6c999963;
  background: linear-gradient(145deg, #254f52, #142f39);
  box-shadow: inset 0 0 0 4px #08182035;
}
.door:nth-child(3n) { background: linear-gradient(145deg, #663a46, #3a2536); }
.door:disabled { color: #dceae7; }
.door:not(:disabled):hover { background: #396366; }
.door.current {
  border-color: #ffdb97;
  background: radial-gradient(ellipse at 50% 20%, #715c43, #31444b);
  box-shadow: inset 0 0 0 4px #ffd28124, 0 0 22px #ffd28142;
}
dialog {
  border-color: #ebcc91;
  background: radial-gradient(ellipse at 50% 23%, #315d62, #112730 70%);
  box-shadow: 0 0 60px #ffca8350;
}
dialog::backdrop { background: #050f18b8; }
.magic-ring {
  position: absolute;
  width: 74px;
  aspect-ratio: 1;
  border: 1px solid #fff0b5;
  border-radius: 50%;
  background: radial-gradient(circle, #fff2aeaa, transparent 68%);
  box-shadow: 0 0 24px #ffd494;
  opacity: 0;
}
.animate .magic-ring { animation: magic-ring 1s .43s ease-out both; }
.burst i { text-shadow: 0 0 10px var(--spark); }
@keyframes magic-ring {
  0% { transform: scale(.25); opacity: 0; }
  23% { opacity: 1; }
  100% { transform: scale(3.8); opacity: 0; }
}
@media (max-width: 650px) {
  .hero { row-gap: 18px; }
  .illustration { min-height: 250px; }
  .moon { width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .snowfall { display: none; }
}

.calendar {
  padding: clamp(12px, 3vw, 30px);
  border: 1px solid #f0ca8d64;
  border-radius: 20px;
  background: radial-gradient(ellipse at top, #5d263a, #2b1729 75%);
  box-shadow: 0 12px 48px #050e17a0, inset 0 0 30px #e6a76012;
}
.calendar .section-head { border-color: #f0ca8d40; }
.doors { gap: clamp(6px, 1.4vw, 15px); }
.door {
  overflow: hidden;
  min-height: 108px;
  border: 1px solid #f1ca8f72;
  border-radius: 38% 38% 7px 7px / 32% 32% 7px 7px;
  background: radial-gradient(ellipse at 50% 0, #a0434b, #5c2637 80%);
  box-shadow: inset 0 0 0 4px #200e2860, 0 4px 0 #180e1f70;
}
.door:nth-child(3n) {
  background: radial-gradient(ellipse at 50% 0, #37756a, #174843 80%);
}
.door:nth-child(4n + 1) {
  background: radial-gradient(ellipse at 50% 0, #56577d, #30334f 80%);
}
.door::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #ffdc9a4d;
  border-radius: inherit;
  pointer-events: none;
}
.door-symbol { top: auto; bottom: 8px; right: 10px; }
.door.current {
  border-color: #ffe3a4;
  background: radial-gradient(ellipse at top, #9b6a37, #633846 85%);
  box-shadow: 0 0 20px #ffce787a, inset 0 0 0 4px #ffd98b36;
}
.door.opened {
  grid-column: span 2;
  padding: 12px 16px 24px;
  border-radius: 12px;
  border-color: #f1ca8f9c;
  background: linear-gradient(145deg, #60354a, #322436);
  text-align: left;
}
.door.opened.current { border-color: #ffe3a4; }
.door-note {
  display: grid;
  gap: 5px;
  margin-top: 4px;
  color: var(--paper);
  font: 1rem/1.45 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.door-note strong {
  color: var(--gold);
  font: 1.15rem/1.2 Georgia, serif;
}
@media (max-width: 650px) {
  .door { min-height: 77px; }
  .door-symbol { bottom: 4px; right: 6px; }
}

.ornament, .reveal-star { display: none; }
dialog:not([data-effect="gift"]) .present { display: none; }
dialog[data-effect="ornament"] .ornament,
dialog[data-effect="star"] .reveal-star { display: block; }

.ornament {
  position: relative;
  width: 84px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 23%, #e7ffff, #71dbd7 14%, #247f90 49%, #123642 83%);
  box-shadow: 0 0 28px #8fe7ee70, inset -5px -6px 15px #0a334795;
}
.ornament::before {
  content: '';
  position: absolute;
  left: 34px;
  top: -10px;
  width: 16px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, #98734e, #ffdc93, #98734e);
}
.animate .ornament { animation: shatter .56s ease-in both; }
@keyframes shatter {
  0% { transform: translateY(-31px) rotate(-12deg); }
  65% { transform: translateY(9px) rotate(9deg); }
  93% { opacity: 1; transform: translateY(18px) scale(1.08,.92); }
  100% { opacity: 0; transform: translateY(18px) scale(.9); }
}
[data-effect="ornament"] .burst i {
  width: 15px;
  height: 20px;
  background: linear-gradient(120deg, #fff, var(--spark) 38%, #235461);
  clip-path: polygon(13% 0, 100% 35%, 56% 100%, 0 61%);
}
[data-effect="ornament"] .burst i:nth-child(3n) { width: 8px; height: 11px; }
[data-effect="ornament"].animate .burst i { animation-name: glass-shard; }
@keyframes glass-shard {
  0% { transform: translateY(18px) scale(.2); opacity: 0; }
  16% { opacity: 1; }
  100% { transform: translate(var(--x), calc(var(--y) + 50px)) rotate(var(--turn)); opacity: 0; }
}

.reveal-star {
  width: 100px;
  aspect-ratio: 1;
  background: conic-gradient(from 12deg, #f6ac44, #fff5b1, #f7ba57, #fff9d7, #f6ac44);
  clip-path: polygon(50% 0, 61% 35%, 98% 36%, 69% 58%, 79% 94%, 50% 73%, 20% 94%, 30% 58%, 2% 36%, 39% 35%);
}
.animate .reveal-star { animation: starburst .57s ease-in both; }
@keyframes starburst {
  0% { transform: scale(.45) rotate(-35deg); opacity: .5; }
  72% { transform: scale(1.2) rotate(12deg); opacity: 1; }
  100% { transform: scale(1.8) rotate(25deg); opacity: 0; }
}
[data-effect="star"] .burst i:nth-child(3n) { font-size: 1.5rem; }

/* Once revealed, keep the note as the only content in the dialog. */
dialog:not(.animate) .reveal { display: none; }
[data-effect="gift"].animate .present {
  animation: unwrap 1.1s ease both, gift-disappear .22s .77s ease-out forwards;
}
@keyframes gift-disappear {
  to { opacity: 0; }
}
.animate .reveal {
  animation: clear-reveal-space .35s 1.16s ease-in-out forwards;
}
@keyframes clear-reveal-space {
  to { height: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .animate .reveal { display: none; }
}

:root {
  --bg: #20130f;
  --muted: #ead1ad;
  --line: #f0c38040;
}
body {
  background: radial-gradient(ellipse at 50% 12%, #5b321f, transparent 56rem), var(--bg);
}
.hero {
  display: block;
  min-height: auto;
  padding: clamp(24px, 4vw, 54px) 0 26px;
  text-align: center;
}
.hero .eyebrow { justify-content: center; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 6rem); }
.hero h1 br { display: none; }
.hero h1 em { margin-left: .14em; }
.hero .intro { max-width: 55ch; margin-inline: auto; }
.preview, .close { background: #673735; }
.preview:hover, .close:hover { background: #844640; }
.calendar { background: #321e1a; }
.common-room {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 40%, #995131, #322018 50%, #140c0a);
}
.room-art {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.common-room::after {
  content: '';
  position: absolute;
  inset: 47% 0 0;
  background: linear-gradient(transparent, #140b0870);
  pointer-events: none;
}
.common-room .doors { position: absolute; inset: 0; z-index: 1; display: block; margin: 0; }
.common-room .door {
  --wrapping: #8459a1;
  --shade: #4b315f;
  --ribbon: #f3c6e2;
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%) rotate(-5deg);
  display: grid;
  place-items: center;
  width: clamp(48px, 8vw, 92px);
  height: clamp(46px, 6.4vw, 74px);
  padding: 0;
  min-height: 0;
  overflow: visible;
  border-radius: 5px;
  border: 1px solid #ffe4ad9e;
  background:
    linear-gradient(90deg, transparent 44%, var(--ribbon) 44% 56%, transparent 56%),
    repeating-linear-gradient(135deg, #fff1c718 0 1px, transparent 1px 8px),
    linear-gradient(145deg, var(--wrapping), var(--shade));
  box-shadow: 3px 7px 10px #100907b9, inset 0 -3px 0 #14090a50;
  color: #fff7e5;
  font: 700 clamp(.95rem, 2vw, 1.3rem) Georgia, serif;
  text-shadow: 0 1px 3px #140907, 0 0 4px #140907;
}
.common-room .door:nth-child(even) { transform: translate(-50%, -50%) rotate(6deg); }
.common-room .door:nth-child(6n + 1) { --wrapping: #4e87ac; --shade: #234968; --ribbon: #cfebf8; }
.common-room .door:nth-child(6n + 2) { --wrapping: #428561; --shade: #194833; --ribbon: #f8d68d; }
.common-room .door:nth-child(6n + 4) { --wrapping: #c38b37; --shade: #805319; --ribbon: #fff0ba; }
.common-room .door:nth-child(6n + 5) { --wrapping: #398989; --shade: #1c535b; --ribbon: #d0f4e3; }
.common-room .door:nth-child(6n) { --wrapping: #aa465c; --shade: #632c43; --ribbon: #ffd2ad; }
.gift-number {
  display: grid;
  place-items: center;
  min-width: 2ch;
  padding: .15em .3em;
  border: 1px solid #fff8e9;
  border-radius: 4px;
  background: #fff0cb;
  color: #2d1b19;
  font: 800 clamp(.95rem, 2.2vw, 1.55rem)/1 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
  box-shadow: 0 1px 4px #160d0b80;
}
.common-room .door:disabled { opacity: 1; }
.common-room .door::before, .common-room .door::after {
  content: '';
  position: absolute;
  top: -7px;
  width: 21%;
  height: 8px;
  border: 2px solid var(--ribbon);
  pointer-events: none;
}
.common-room .door::before { inset: -7px 50% auto auto; border-radius: 75% 90% 0 80%; transform: rotate(15deg); }
.common-room .door::after { left: 50%; border-radius: 90% 75% 80% 0; transform: rotate(-15deg); }
.common-room .door:not(:disabled):hover { transform: translate(-50%, -56%) scale(1.09); z-index: 2; }
.common-room .door.current { outline: 2px solid #ffe5a8; box-shadow: 0 0 22px #ffd374b5; z-index: 2; }
.common-room .door.opened { --ribbon: #f4bc97; border-style: dashed; }
.common-room .door-symbol { bottom: 1px; right: 3px; font-size: .7rem; }
dialog { background: radial-gradient(ellipse at 50% 23%, #75492d, #301c20 75%); }
@media (max-width: 650px) {
  .calendar { padding: 10px; }
  .hero h1 br { display: block; }
  .room-art { object-position: 53% center; }
  .common-room .door { width: clamp(36px, 12vw, 60px); height: clamp(44px, 10vw, 56px); }
}

.wizard-cameo {
  position: absolute;
  z-index: 2;
  top: 32px;
  left: calc(50% - 40px);
  width: 80px;
  height: 100px;
  animation: wizard-pop-in 1.45s .83s both;
}
.wizard-face {
  position: absolute;
  inset: 0 7px 31px;
  border-radius: 43% 43% 48% 48%;
  background: #efb891;
  box-shadow: inset 0 13px #292024, 0 4px 10px #1c101480;
}
.wizard-scar { position: absolute; top: 12px; left: 36px; color: #8f3b35; font: bold 17px/1 Georgia, serif; }
.wizard-glasses { position: absolute; top: 34px; left: 27px; width: 12px; border-top: 2px solid #21171b; }
.wizard-glasses::before, .wizard-glasses::after {
  content: '';
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  border: 2px solid #21171b;
  border-radius: 50%;
  background: radial-gradient(circle at center, #21171b 0 2px, transparent 3px);
}
.wizard-glasses::before { right: 9px; }
.wizard-glasses::after { left: 9px; }
.wizard-scarf {
  position: absolute;
  inset: 60px 8px 12px;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, #8f2939 0 10px, #efbc63 10px 16px);
}
.wizard-wand {
  position: absolute;
  top: 65px;
  left: 64px;
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: #be8250;
  transform: rotate(-32deg);
}
.wizard-kiss {
  position: absolute;
  top: 31px;
  left: 92px;
  font-size: 1.6rem;
  animation: kiss-flight .78s 1.14s ease-out both;
}
.wizard-speech {
  position: absolute;
  right: 74px;
  top: 10px;
  width: max-content;
  padding: 5px 8px;
  border-radius: 8px 8px 0 8px;
  background: #fff1cf;
  color: #34201a;
  font-size: .78rem;
  animation: letter .2s 1.22s both;
}
@keyframes wizard-pop-in {
  0% { opacity: 0; transform: translate(-45px, 36px) rotate(-22deg) scale(.65); }
  28%, 72% { opacity: 1; transform: translate(0) rotate(3deg) scale(1); }
  100% { opacity: 0; transform: translate(33px, 25px) rotate(20deg) scale(.55); }
}
@keyframes kiss-flight {
  0% { opacity: 0; transform: scale(.3); }
  28%, 65% { opacity: 1; }
  100% { opacity: 0; transform: translate(32px, -34px) rotate(75deg); }
}
.animate .letter { animation-delay: 1.94s; }
.animate .reveal { animation-delay: 2.19s; }

.secret-wheel {
  position: absolute;
  z-index: 3;
  top: 12%;
  right: 9%;
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
}
.secret-wheel::before {
  content: '';
  width: 23px;
  aspect-ratio: 1;
  border: 2px solid #ecd19d;
  border-radius: 50%;
  background: repeating-conic-gradient(#91516b 0deg 60deg, #ba9155 60deg 120deg);
  box-shadow: 0 0 0 2px #2b141b, 0 2px 8px #170c0d;
  opacity: .65;
}
.secret-wheel:hover::before, .secret-wheel:focus-visible::before { opacity: 1; }
