:root {
  --nuit: #0d1b3a;
  --nuit-2: #17306a;
  --sapin: #0f6b52;
  --canne: #c9243f;
  --canne-fonce: #8f1229;
  --or: #ffc145;
  --creme: #fff6e3;
  --encre: #1b2140;
  --givre: #bfe3ff;
  --display: 'Bagel Fat One', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--nuit); }
body {
  margin: 0; min-height: 100dvh; color: var(--creme);
  font: 400 16px/1.5 var(--body);
  background: linear-gradient(180deg, #081228 0%, var(--nuit) 35%, #14285a 100%) fixed;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .01em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ciel : aurore boréale */
#sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
#sky i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: aurore 18s ease-in-out infinite alternate; }
#sky i:nth-child(1) { width: 90vw; height: 34vh; left: -20vw; top: -8vh; background: #19c08a; }
#sky i:nth-child(2) { width: 80vw; height: 28vh; right: -30vw; top: 4vh; background: #5a6bff; animation-delay: -6s; animation-duration: 23s; }
#sky i:nth-child(3) { width: 60vw; height: 22vh; left: 20vw; top: -10vh; background: #d64fa0; opacity: .28; animation-delay: -11s; animation-duration: 27s; }
@keyframes aurore {
  from { transform: translate3d(-6vw, 0, 0) scale(1) rotate(-4deg); }
  to { transform: translate3d(8vw, 5vh, 0) scale(1.25) rotate(6deg); }
}
#snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
#sleigh { position: fixed; top: 12vh; left: 100vw; z-index: 1; font-size: 1.5rem; white-space: nowrap; pointer-events: none; opacity: .9; }
#sleigh span { font-size: 1.9rem; }
#sleigh.go { animation: vol 9s linear forwards; }
@keyframes vol {
  0% { transform: translate(0, 0) rotate(-6deg); }
  50% { transform: translate(calc(-50vw - 50%), -5vh) rotate(-2deg); }
  100% { transform: translate(calc(-100vw - 100%), 3vh) rotate(-8deg); }
}

#app { position: relative; z-index: 2; max-width: 520px; margin: 0 auto; min-height: 100dvh; padding: 0 16px calc(96px + var(--safe-b)); }

/* guirlande */
.garland { display: block; width: calc(100% + 32px); margin: 0 -16px -6px; height: auto; overflow: visible; }
.garland path { fill: none; stroke: #0a2a22; stroke-width: 1.6; }
.garland ellipse { animation: clignote 2.4s ease-in-out infinite; }
.garland .c0 { fill: #ff5d73; color: #ff5d73; }
.garland .c1 { fill: var(--or); color: var(--or); animation-delay: -.6s; }
.garland .c2 { fill: #5fe0b0; color: #5fe0b0; animation-delay: -1.2s; }
.garland .c3 { fill: #7fb6ff; color: #7fb6ff; animation-delay: -1.8s; }
@keyframes clignote {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 5px currentColor); }
  50% { opacity: .35; filter: none; }
}

/* en-tête */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0 14px; }
.top .brand { text-decoration: none; min-width: 0; }
.top .brand small { display: block; font-size: .8rem; opacity: .75; }
.top .brand strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--creme); font-size: 1.5rem; line-height: 1; box-shadow: 0 0 0 3px var(--or); }
.avatar.sm { width: 32px; height: 32px; font-size: 1.05rem; box-shadow: 0 0 0 2px var(--or); }
.avatar.big { width: 96px; height: 96px; font-size: 3.2rem; box-shadow: 0 0 0 5px var(--or), 0 0 40px rgba(255, 193, 69, .7); }
button.avatar { border: 0; padding: 0; }

/* papier */
.paper { background: var(--creme); color: var(--encre); border-radius: 22px; padding: 18px; box-shadow: 0 10px 0 rgba(4, 10, 30, .35); }
.paper + .paper, .stack > * + * { margin-top: 16px; }
.paper h2, .paper h3 { color: var(--canne-fonce); }
.muted { opacity: .72; font-size: .92rem; }
.row { display: flex; align-items: center; gap: 12px; }
.row > .grow { flex: 1; min-width: 0; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.center { text-align: center; }
.mt { margin-top: 12px; }
.mt2 { margin-top: 20px; }

/* boutons : gros bonbons qu'on enfonce */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border: 0; border-radius: 16px;
  font-weight: 800; text-decoration: none; text-align: center;
  background: var(--canne); color: #fff; box-shadow: 0 5px 0 var(--canne-fonce);
  transition: transform .08s, box-shadow .08s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--canne-fonce); }
.btn.gold { background: var(--or); color: var(--encre); box-shadow: 0 5px 0 #c98a12; }
.btn.gold:active { box-shadow: 0 1px 0 #c98a12; }
.btn.green { background: var(--sapin); box-shadow: 0 5px 0 #08402f; }
.btn.green:active { box-shadow: 0 1px 0 #08402f; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:active { transform: scale(.97); box-shadow: inset 0 0 0 2px currentColor; }
.btn.small { min-height: 40px; padding: 6px 14px; border-radius: 12px; font-size: .92rem; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { background: none; border: 0; padding: 8px 4px; text-decoration: underline; font-weight: 600; }

/* formulaires */
label { display: block; font-weight: 600; margin: 14px 0 6px; }
label small { font-weight: 400; opacity: .7; }
input[type=text], input[type=password], input[type=date], input[type=url], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px;
  border: 2px solid #d9c9a5; background: #fff; color: var(--encre);
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--canne); }
.avatars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.avatars button { aspect-ratio: 1; border-radius: 12px; border: 2px solid transparent; background: #f1e3c4; font-size: 1.3rem; padding: 0; }
.avatars button[aria-pressed=true] { border-color: var(--canne); background: #fff; transform: scale(1.1); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .12); }
.seg button { border: 0; border-radius: 12px; min-height: 44px; padding: 6px 8px; background: transparent; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.seg button[aria-pressed=true] { background: var(--creme); color: var(--encre); }
.prio { display: flex; gap: 8px; }
.prio label { flex: 1; margin: 0; }
.prio input { position: absolute; opacity: 0; }
.prio span { display: block; text-align: center; padding: 10px 4px; border-radius: 12px; border: 2px solid #d9c9a5; font-weight: 600; font-size: .9rem; }
.prio input:checked + span { border-color: var(--canne); background: #ffe3e3; }
.prio input:focus-visible + span { outline: 3px solid var(--or); }

/* onglets */
.tabs {
  position: fixed; z-index: 5; left: 50%; bottom: calc(10px + var(--safe-b)); transform: translateX(-50%);
  width: min(488px, calc(100% - 20px)); display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--creme); border-radius: 24px; padding: 6px; box-shadow: 0 8px 0 rgba(4, 10, 30, .4), 0 0 0 3px var(--or);
}
.tabs a { position: relative; display: grid; justify-items: center; gap: 0; padding: 6px 2px 4px; border-radius: 18px; text-decoration: none; color: var(--encre); font-size: .72rem; font-weight: 600; }
.tabs a b { font-size: 1.45rem; line-height: 1.2; font-weight: 400; transition: transform .25s cubic-bezier(.3, 1.8, .5, 1); }
.tabs a[aria-current=page] { background: var(--canne); color: #fff; }
.tabs a[aria-current=page] b { transform: translateY(-3px) scale(1.2) rotate(-8deg); }
.tabs .dot { position: absolute; top: 4px; right: 18%; width: 11px; height: 11px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 2px var(--creme); animation: pouls 1.4s infinite; }
@keyframes pouls { 50% { transform: scale(1.35); } }

/* entrée d'une vue : un seul mouvement, en cascade */
#view.enter > * { animation: monte .5s cubic-bezier(.2, .9, .3, 1.2) both; }
#view.enter > *:nth-child(2) { animation-delay: .06s; }
#view.enter > *:nth-child(3) { animation-delay: .12s; }
#view.enter > *:nth-child(4) { animation-delay: .18s; }
#view.enter > *:nth-child(n+5) { animation-delay: .24s; }
@keyframes monte { from { opacity: 0; transform: translateY(26px) scale(.97); } }

/* accueil public */
.hero { padding: 26px 0 10px; text-align: center; }
.hero h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); text-shadow: 0 5px 0 var(--canne-fonce), 0 12px 30px rgba(0, 0, 0, .4); transform: rotate(-3deg); }
.hero h1 span { display: block; color: var(--or); text-shadow: 0 5px 0 #a8650a, 0 12px 30px rgba(0, 0, 0, .4); }
.hero p { margin: 18px auto 0; max-width: 30ch; font-size: 1.1rem; }
.hero-gift { margin: 30px auto 6px; }

/* dodos */
.dodos { text-align: center; padding: 8px 0 18px; }
.dodos .n { font-family: var(--display); font-size: clamp(3.4rem, 19vw, 5.2rem); line-height: .95; color: var(--or); text-shadow: 0 5px 0 #a8650a, 0 14px 30px rgba(0, 0, 0, .35); }
.dodos .n small { font-size: .45em; color: var(--creme); text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.dodos .t { margin-top: 10px; font-variant-numeric: tabular-nums; }

/* cadeau en CSS */
.gift { position: relative; display: block; width: 170px; height: 160px; border: 0; background: none; padding: 0; }
.gift .box { position: absolute; left: 10px; right: 10px; bottom: 0; height: 108px; border-radius: 8px 8px 14px 14px; background: linear-gradient(90deg, transparent 42%, var(--or) 42% 58%, transparent 58%), linear-gradient(180deg, #df3350, var(--canne)); box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .14); }
.gift .lid { position: absolute; left: 0; right: 0; top: 30px; height: 34px; border-radius: 9px; background: linear-gradient(90deg, transparent 42%, var(--or) 42% 58%, transparent 58%), #ee4662; box-shadow: 0 5px 0 rgba(0, 0, 0, .18); transform-origin: 20% 100%; }
.gift .lid::before, .gift .lid::after { content: ''; position: absolute; bottom: 100%; width: 44px; height: 30px; border: 9px solid var(--or); border-radius: 50% 50% 8px 50%; left: 50%; margin-left: -46px; transform: rotate(18deg); }
.gift .lid::after { margin-left: 2px; border-radius: 50% 50% 50% 8px; transform: rotate(-18deg); }
.gift.idle { animation: gigote 2.6s ease-in-out infinite; }
@keyframes gigote {
  0%, 60%, 100% { transform: rotate(0); }
  66% { transform: rotate(-6deg) translateY(-4px); }
  72% { transform: rotate(6deg); }
  78% { transform: rotate(-4deg) translateY(-2px); }
  84% { transform: rotate(3deg); }
}
.gift.small { transform: scale(.55); margin: -36px -38px; }

/* carte « tu gâtes » */
.pick { position: relative; overflow: hidden; background: var(--sapin); color: #fff; box-shadow: 0 10px 0 #06301f; }
.pick h2, .pick h3 { color: var(--or); }
.pick .secret { transition: filter .3s; }
.pick .secret.hide { filter: blur(14px); user-select: none; }
.pick .eye { background: rgba(255, 255, 255, .16); border: 0; border-radius: 12px; min-height: 44px; padding: 6px 12px; font-weight: 600; }
.check { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; font-weight: 600; }
.check input { width: 26px; height: 26px; accent-color: var(--canne); flex: none; }

/* piste du traîneau */
.track { position: relative; height: 56px; margin-top: 10px; }
.track::before { content: ''; position: absolute; left: 4px; right: 34px; top: 38px; border-top: 4px dotted #c9b68c; }
.track .tree { position: absolute; right: 0; top: 6px; font-size: 2rem; }
.track .sled { position: absolute; top: 4px; left: 0; font-size: 2rem; transition: left 1.2s cubic-bezier(.3, 1.4, .5, 1); animation: glisse 1.8s ease-in-out infinite; }
@keyframes glisse { 50% { transform: translateY(-4px) rotate(-5deg); } }

/* participants */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.person { position: relative; display: block; text-decoration: none; text-align: center; padding: 16px 10px 14px; border-radius: 20px; background: var(--creme); color: var(--encre); box-shadow: 0 7px 0 rgba(4, 10, 30, .35); transition: transform .1s; }
.person:active { transform: translateY(4px); }
.person strong { display: block; margin-top: 8px; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person small { display: block; opacity: .7; font-size: .8rem; }
.person .n { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 99px; background: #f1e3c4; font-weight: 600; font-size: .85rem; }
.person.mine { box-shadow: 0 7px 0 rgba(4, 10, 30, .35), 0 0 0 3px var(--or); }
.person .flag { position: absolute; top: -8px; right: -4px; padding: 2px 9px; border-radius: 99px; background: var(--or); font-size: .75rem; font-weight: 800; transform: rotate(6deg); }

/* étiquettes-cadeaux */
.tag { position: relative; background: var(--creme); color: var(--encre); border-radius: 14px 22px 22px 14px; padding: 14px 16px 14px 38px; box-shadow: 0 6px 0 rgba(4, 10, 30, .35); }
.tag::before { content: ''; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--nuit); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .5), 0 0 0 3px #e6d2a6; }
.tag h3 { font-family: var(--body); font-weight: 800; font-size: 1.08rem; line-height: 1.25; color: var(--encre); overflow-wrap: anywhere; }
.tag .meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 6px; font-size: .9rem; }
.tag .note { margin-top: 6px; font-size: .95rem; overflow-wrap: anywhere; white-space: pre-line; }
.tag .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; background: #f1e3c4; font-weight: 600; font-size: .85rem; }
.pill.red { background: #ffd9de; color: var(--canne-fonce); }
.pill.green { background: #cdeedd; color: #0a4c39; }
.pill.gold { background: var(--or); }
.tag.taken { background: #e9e2d2; }
.tag.taken h3 { text-decoration: line-through; text-decoration-color: rgba(27, 33, 64, .4); }
.tag.mine-res { box-shadow: 0 6px 0 rgba(4, 10, 30, .35), inset 0 0 0 3px var(--sapin); }
.tag.pop { animation: tampon .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes tampon { 0% { transform: scale(.9) rotate(-3deg); } 60% { transform: scale(1.04) rotate(1.5deg); } }
.empty { text-align: center; padding: 26px 16px; border: 2px dashed rgba(255, 246, 227, .45); border-radius: 22px; }
.empty b { display: block; font-size: 2.6rem; font-weight: 400; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.fiche dt { font-weight: 800; margin-top: 8px; }
.fiche dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }

/* messages */
.chat { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--creme); color: var(--encre); align-self: flex-start; overflow-wrap: anywhere; white-space: pre-line; }
.bubble.me { align-self: flex-end; border-radius: 18px 18px 4px 18px; background: var(--or); }
.bubble small { display: block; font-size: .72rem; opacity: .65; margin-top: 2px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.chips button { flex: none; border: 0; border-radius: 99px; padding: 8px 14px; min-height: 40px; background: rgba(255, 255, 255, .16); font-size: .9rem; }
.send { display: flex; gap: 8px; margin-top: 10px; }
.send input { flex: 1; }

/* listes de gestion */
.lines > * { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #e6d7b5; }
.lines > *:first-child { border-top: 0; }
.code { font-family: var(--display); font-size: 2rem; letter-spacing: .12em; color: var(--canne-fonce); }

/* tiroir */
.sheet-back { position: fixed; inset: 0; z-index: 20; background: rgba(4, 8, 24, .65); animation: fondu .2s; }
.sheet { position: fixed; z-index: 21; left: 50%; bottom: 0; transform: translateX(-50%); width: min(520px, 100%); max-height: 92dvh; overflow-y: auto; background: var(--creme); color: var(--encre); border-radius: 26px 26px 0 0; padding: 22px 18px calc(22px + var(--safe-b)); animation: tiroir .32s cubic-bezier(.2, .9, .3, 1.1); }
.sheet h2 { color: var(--canne-fonce); padding-right: 44px; }
.sheet .close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f1e3c4; font-size: 1.2rem; }
@keyframes fondu { from { opacity: 0; } }
@keyframes tiroir { from { transform: translate(-50%, 100%); } }

/* avis */
#toasts { position: fixed; z-index: 60; left: 0; right: 0; top: 14px; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { background: var(--creme); color: var(--encre); font-weight: 600; padding: 10px 18px; border-radius: 16px; box-shadow: 0 6px 0 rgba(4, 10, 30, .4), 0 0 0 3px var(--or); animation: toast 3.4s both; }
.toast.err { box-shadow: 0 6px 0 rgba(4, 10, 30, .4), 0 0 0 3px var(--canne); }
@keyframes toast { 0% { opacity: 0; transform: translateY(-30px) scale(.9); } 8%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-20px); } }

/* le grand moment : ouverture du cadeau */
.overlay { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; align-content: center; gap: 22px; padding: 24px; text-align: center; background: radial-gradient(circle at 50% 45%, #1d3c86 0%, #060d22 72%); animation: fondu .35s; overflow: hidden; }
.overlay canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.overlay .hint { font-size: 1.15rem; max-width: 26ch; min-height: 3em; }
.overlay .gift { transform: scale(1.25); margin: 30px 0; }
.overlay .gift.s1 { animation: secoue1 .45s; }
.overlay .gift.s2 { animation: secoue2 .55s; }
@keyframes secoue1 { 0%, 100% { transform: scale(1.25); } 25% { transform: scale(1.3) rotate(-9deg); } 60% { transform: scale(1.3) rotate(8deg); } }
@keyframes secoue2 { 0%, 100% { transform: scale(1.25); } 15% { transform: scale(1.38) rotate(-14deg) translateY(-12px); } 40% { transform: scale(1.38) rotate(13deg); } 65% { transform: scale(1.34) rotate(-9deg) translateY(-6px); } 85% { transform: scale(1.3) rotate(6deg); } }
.overlay .gift.open { animation: none; }
.overlay .gift.open .lid { animation: couvercle 1s cubic-bezier(.3, .6, .4, 1) forwards; }
.overlay .gift.open .box { animation: boite .9s .25s ease-in forwards; }
@keyframes couvercle { 30% { transform: translateY(-40px) rotate(-10deg); } 100% { transform: translate(-90px, -70vh) rotate(-220deg); opacity: 0; } }
@keyframes boite { to { transform: translateY(40px) scale(.6); opacity: 0; } }
.taps { display: flex; gap: 10px; justify-content: center; }
.taps i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background .2s, transform .3s cubic-bezier(.3, 2, .5, 1); }
.taps i.on { background: var(--or); transform: scale(1.3); }
.rays { position: absolute; left: 50%; top: 50%; width: 160vmax; height: 160vmax; margin: -80vmax; background: repeating-conic-gradient(rgba(255, 193, 69, .16) 0 9deg, transparent 9deg 18deg); border-radius: 50%; opacity: 0; pointer-events: none; }
.revealed .rays { animation: rayons 40s linear infinite, fondu 1.2s forwards; opacity: 1; }
@keyframes rayons { to { transform: rotate(360deg); } }
.result { position: relative; display: grid; justify-items: center; gap: 10px; }
.result .avatar { animation: saute .7s cubic-bezier(.3, 1.9, .5, 1) both; }
.result h2 { font-size: clamp(2.8rem, 16vw, 4.6rem); color: var(--or); text-shadow: 0 5px 0 #a8650a, 0 0 40px rgba(255, 193, 69, .5); overflow-wrap: anywhere; }
.result h2 span { display: inline-block; animation: lettre .6s cubic-bezier(.3, 1.9, .5, 1) both; white-space: pre; }
.result .after { animation: monte .5s 1s both; display: grid; gap: 12px; justify-items: center; margin-top: 8px; }
@keyframes saute { from { transform: scale(0) rotate(-40deg); } }
@keyframes lettre { from { opacity: 0; transform: translateY(40px) scale(.3) rotate(20deg); } }

/* brassage des noms */
.mix-wrap { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.mix { position: absolute; inset: 0; animation: tourne 2.8s cubic-bezier(.5, 0, .2, 1) forwards; }
.mix .avatar { position: absolute; left: 50%; top: 50%; margin: -22px; transform: rotate(calc(var(--i) * 1turn)) translateY(-104px); animation: aspire 2.8s cubic-bezier(.6, 0, .9, .4) forwards; }
.mix-hat { font-size: 4rem; animation: pouls .5s infinite; }
@keyframes tourne { to { transform: rotate(3turn); } }
@keyframes aspire { 70% { opacity: 1; } 100% { transform: rotate(calc(var(--i) * 1turn)) translateY(0) scale(.2); opacity: 0; } }

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