/* The TV side of the party games: a Christmas TV studio in the same "Gala Night" style as the
   homepage and the Reindeer Derby. Each game adds its own stylesheet on top. */
:root {
  --display: "Playfair Display", "Didot", Georgia, serif;
  --label: "Oswald", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: "Fredoka", system-ui, sans-serif;
  --gold: #f6c343;
  --gold-2: #ffd977;
  --gold-deep: #a8731c;
  --foil: linear-gradient(180deg, #fffbe9 0%, #ffe9a6 22%, #f6c343 46%, #9c6a17 50%, #e7ae35 60%, #ffe08a 82%, #fff4c9 100%);
  --night: #040817;
  --glass: linear-gradient(180deg, rgba(24, 38, 80, .82), rgba(8, 13, 34, .92));
  --line: rgba(255, 255, 255, .1);
  --gold-line: rgba(255, 217, 119, .32);
  --dim: rgba(222, 232, 252, .72);
  --red: #e23a3a;
  --green: #2fbf6a;
  --strip-h: 96px;
  --caption-h: 92px;
  --host-w: clamp(130px, 12vw, 210px);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--night); color: #fff; font-family: var(--body); overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; }

/* ---------- The studio ---------- */
.studio { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% 108%, rgba(255, 200, 110, .22), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(80, 60, 200, .35), transparent 70%),
    linear-gradient(180deg, #050a1f 0%, #0b1440 48%, #1a1450 78%, #2b1238 100%); }
.studio::after { /* the glossy stage floor */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -8vh; height: 34vh;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255, 210, 130, .2), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 9vw),
    linear-gradient(180deg, #1c1640, #08061a);
  transform: perspective(60vh) rotateX(58deg); transform-origin: 50% 0;
}
.beam { position: absolute; top: -12vh; width: 26vw; height: 120vh; transform-origin: 50% 0; mix-blend-mode: screen;
  background: linear-gradient(180deg, rgba(255, 236, 190, .26), rgba(255, 236, 190, 0) 75%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(6px); }
.beam.b1 { left: 4vw; animation: sweep-l 9s ease-in-out infinite alternate; }
.beam.b2 { right: 4vw; animation: sweep-r 11s ease-in-out infinite alternate; }
.beam.b3 { left: 37vw; opacity: .7; background: linear-gradient(180deg, rgba(150, 190, 255, .24), transparent 75%); animation: sweep-c 13s ease-in-out infinite alternate; }
@keyframes sweep-l { from { transform: rotate(-24deg); } to { transform: rotate(8deg); } }
@keyframes sweep-r { from { transform: rotate(24deg); } to { transform: rotate(-8deg); } }
@keyframes sweep-c { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
/* Out-of-focus fairy lights strung across the back of the set. */
.bokeh { position: absolute; left: 0; right: 0; top: 0; height: 40vh;
  background:
    radial-gradient(circle at 6% 30%, rgba(255, 80, 80, .55) 0 .6vw, transparent 1.4vw),
    radial-gradient(circle at 14% 18%, rgba(255, 210, 90, .55) 0 .5vw, transparent 1.2vw),
    radial-gradient(circle at 23% 34%, rgba(80, 230, 140, .5) 0 .6vw, transparent 1.4vw),
    radial-gradient(circle at 33% 15%, rgba(120, 180, 255, .5) 0 .5vw, transparent 1.2vw),
    radial-gradient(circle at 44% 28%, rgba(255, 120, 220, .45) 0 .6vw, transparent 1.4vw),
    radial-gradient(circle at 56% 12%, rgba(255, 210, 90, .55) 0 .5vw, transparent 1.2vw),
    radial-gradient(circle at 66% 30%, rgba(255, 80, 80, .5) 0 .6vw, transparent 1.4vw),
    radial-gradient(circle at 76% 17%, rgba(80, 230, 140, .5) 0 .5vw, transparent 1.2vw),
    radial-gradient(circle at 86% 32%, rgba(120, 180, 255, .5) 0 .6vw, transparent 1.4vw),
    radial-gradient(circle at 95% 16%, rgba(255, 210, 90, .55) 0 .5vw, transparent 1.2vw);
  filter: blur(3px); animation: twinkle 3.2s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
.snow-canvas { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

/* ---------- Top bar ---------- */
.topbar { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px; padding: 18px 28px; }
.brand { margin: 0; font: italic 900 clamp(1.4rem, 2.4vw, 2.2rem) var(--display); letter-spacing: -.01em; white-space: nowrap;
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #6b440b) drop-shadow(0 0 18px rgba(255, 200, 90, .35)); text-decoration: none; }
.brand small { display: block; margin-top: 2px; font: 600 .62rem var(--label); letter-spacing: .3em; text-transform: uppercase; -webkit-text-fill-color: var(--dim); filter: none; }
.top-spacer { flex: 1; }
.join-chip { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--gold-line); font: 500 .95rem var(--label); letter-spacing: .06em; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.join-chip b { font-size: 1.05rem; color: var(--gold-2); letter-spacing: .08em; }
.join-chip .code { padding: 4px 12px; border-radius: 999px; background: var(--foil); color: #3a2504; font: 700 1.15rem var(--label); letter-spacing: .2em; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; text-decoration: none; }
.icon-btn:hover { border-color: var(--gold-line); }

/* ---------- Layout ---------- */
.stage { position: relative; z-index: 5; height: 100vh; display: grid; place-items: center; padding: 88px 4vw calc(var(--strip-h) + var(--caption-h) + 18px); }
.stage { padding-left: calc(var(--host-w) + 3vw); }
.lobby-mode .stage { padding-bottom: calc(var(--strip-h) + 24px); padding-left: 4vw; }
.timer.done { opacity: .35; transition: opacity .4s; }
.stage > * { width: 100%; }
.panel { background: var(--glass); border: 1px solid var(--gold-line); border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 70px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); }
.kicker { margin: 0; font: 600 .82rem var(--label); letter-spacing: .34em; text-transform: uppercase; color: var(--gold-2); text-shadow: 0 0 14px rgba(255, 200, 90, .5); }
.festive-title { margin: 0; font: italic 900 clamp(2.4rem, 5.4vw, 4.6rem) var(--display); text-align: center; line-height: 1;
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #6b440b) drop-shadow(0 0 30px rgba(255, 200, 90, .35)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 34px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--foil); color: #3a2504; font: 700 1.1rem var(--label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 0 #7a520f, 0 18px 40px rgba(246, 195, 67, .35); transition: transform .15s, filter .15s; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 0 #7a520f; }
.btn:disabled { filter: grayscale(.8) brightness(.6); cursor: not-allowed; }
.btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); box-shadow: none; }

/* ---------- Lobby ---------- */
.lobby { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr); gap: 28px; max-width: 1200px; margin: 0 auto; align-items: stretch; }
.lobby-join { padding: 28px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.qr { width: min(300px, 30vh); aspect-ratio: 1; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 6px rgba(246, 195, 67, .5), 0 20px 50px rgba(0, 0, 0, .5); }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-missing { color: #222; font: 700 1rem var(--label); }
.join-steps { margin: 0; padding-left: 1.3em; text-align: left; color: var(--dim); font-size: 1.05rem; line-height: 1.6; }
.join-steps b { color: #fff; }
.room-code { display: grid; gap: 2px; }
.room-code small { font: 600 .75rem var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.room-code b { font: 700 clamp(3rem, 7vw, 4.6rem) var(--label); letter-spacing: .26em; padding-left: .26em; line-height: 1;
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #6b440b); }
.lobby-side { padding: 26px 28px; display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.lobby-head { display: flex; align-items: baseline; gap: 12px; }
.lobby-head h2 { margin: 0; font: italic 800 2rem var(--display); }
.lobby-head .count { font: 700 1.1rem var(--label); color: var(--gold-2); padding: 2px 12px; border-radius: 999px; border: 1px solid var(--gold-line); }
.lobby-players { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; flex: 1; align-content: start; overflow: auto; min-height: 120px; }
.lobby-player { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); animation: arrive .5s cubic-bezier(.3, 1.6, .5, 1); }
.lobby-player b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lobby-player .avatar { font-size: 1.7rem; }
.lobby-player.offline { opacity: .45; }
.lobby-player .kick { position: absolute; top: 4px; right: 6px; border: 0; background: none; color: var(--dim); cursor: pointer; opacity: 0; }
.lobby-player:hover .kick { opacity: 1; }
.lobby-empty { grid-column: 1 / -1; color: var(--dim); font-style: italic; padding: 18px 4px; }
@keyframes arrive { from { transform: scale(.4) translateY(20px); opacity: 0; } }
.avatar { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .25), rgba(255, 255, 255, .04)); box-shadow: 0 0 0 2px var(--c, #fff); line-height: 1; }
.settings { display: grid; gap: 10px; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.setting > span { font: 600 .8rem var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.seg { display: flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--dim); }
.seg button.on { background: var(--foil); color: #3a2504; font-weight: 700; }
.content-status { margin: 0; min-height: 1.4em; color: var(--dim); font-size: .95rem; }
.content-status .spark { color: var(--gold-2); }
.start { align-self: stretch; font-size: 1.3rem; padding: 20px; }
.start-hint { margin: -6px 0 0; text-align: center; color: var(--dim); font-size: .9rem; min-height: 1.2em; }

/* ---------- Player strip ---------- */
.players { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; height: var(--strip-h); margin: 0; padding: 14px 24px 18px; list-style: none;
  display: flex; justify-content: center; gap: 10px; flex-wrap: nowrap; overflow: visible;
  background: linear-gradient(180deg, transparent, rgba(3, 5, 16, .85) 40%); }
.chip { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 200px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: var(--glass); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transition: transform .3s, border-color .3s, box-shadow .3s; }
.chip .avatar { font-size: 1.5rem; flex: none; }
.chip-text { display: grid; min-width: 0; line-height: 1.1; }
.chip-text b { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-score { font: 600 .85rem var(--label); color: var(--gold-2); letter-spacing: .05em; }
.chip.offline { opacity: .4; }
.chip-badge { position: absolute; top: -8px; right: -6px; width: 26px; height: 26px; border-radius: 50%; display: none; place-items: center; font-style: normal; font-size: .85rem; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.chip.is-done { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(246, 195, 67, .45), 0 8px 24px rgba(0, 0, 0, .45); transform: translateY(-4px); }
.chip.is-done .chip-badge { display: grid; background: var(--foil); color: #3a2504; }
.chip.is-done .chip-badge::before { content: "✓"; font-weight: 700; }
.chip.is-right .chip-badge { display: grid; background: var(--green); }
.chip.is-right .chip-badge::before { content: "✓"; font-weight: 700; }
.chip.is-wrong .chip-badge { display: grid; background: var(--red); }
.chip.is-wrong .chip-badge::before { content: "✕"; font-weight: 700; }
.chip.is-drawing { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246, 195, 67, .5), 0 0 30px rgba(246, 195, 67, .4); transform: translateY(-6px); }
.chip.is-drawing .chip-badge { display: grid; background: var(--foil); }
.chip.is-drawing .chip-badge::before { content: "✏️"; }
.chip-float { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); font: 700 1.3rem var(--label); white-space: nowrap; pointer-events: none;
  animation: float-up 1.8s ease-out forwards; text-shadow: 0 2px 8px rgba(0, 0, 0, .7); }
.chip-float.good { color: #7dffb0; }
.chip-float.bad { color: #ff8a8a; }
@keyframes float-up { from { transform: translate(-50%, 10px); opacity: 0; } 15% { opacity: 1; } to { transform: translate(-50%, -60px); opacity: 0; } }

/* ---------- Jingles ---------- */
/* Jingles stands bottom-left; what he says runs as a caption bar beside him, like a TV lower third. */
.host-spot { position: fixed; z-index: 15; left: 1.5vw; bottom: calc(var(--strip-h) - 10px); width: var(--host-w); pointer-events: none; transition: transform .7s cubic-bezier(.3, 1.4, .5, 1), opacity .5s; }
.lobby-mode .host-spot { transform: translateX(-130%); opacity: 0; }
.host-elf { width: 100%; display: block; overflow: visible; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .55)); }
.host-elf.host-3d { aspect-ratio: 4 / 5; width: 135%; margin-left: -18%; filter: none; }
.elf3d-canvas { display: block; width: 100%; height: 100%; }
.host-speech { position: absolute; left: calc(100% + 14px); bottom: 14px; width: calc(97vw - var(--host-w) - 3vw - 14px); max-height: var(--caption-h); margin: 0; padding: 14px 24px; overflow: hidden;
  display: flex; align-items: center; border-radius: 6px 22px 22px 22px; background: linear-gradient(180deg, #fffdf5, #f3ead4); color: #1b1630;
  font-size: clamp(1rem, 1.5vw, 1.45rem); font-weight: 600; line-height: 1.3; box-shadow: 0 0 0 3px rgba(246, 195, 67, .6), 0 14px 40px rgba(0, 0, 0, .5); }
.host-speech::before { content: ""; position: absolute; left: -12px; bottom: 18px; border: 12px solid transparent; border-right-color: #f7f0dc; border-left: 0; }
.host-speech:empty { display: none; }
.host-speech.pop { animation: speech-pop .35s cubic-bezier(.3, 1.8, .5, 1); transform-origin: 0 100%; }
@keyframes speech-pop { from { transform: scale(.6); opacity: 0; } }
.host-elf .elf-body { transform-origin: 80px 194px; animation: host-bob 1.1s ease-in-out infinite; }
.host-elf .hat { transform-origin: 80px 46px; animation: hat-swing 1.6s ease-in-out infinite; }
.host-elf .eyes { transform-origin: 80px 66px; animation: blink 4s infinite; }
.host-elf .brows { transition: transform .2s; }
.host-elf .mouth { transform-origin: 80px 84px; transform: scaleY(.25); }
.host-elf .arm-mic { transform-origin: 56px 104px; }
.host-elf .arm-point { transform-origin: 104px 104px; animation: host-wave 1.4s ease-in-out infinite; transition: transform .3s; }
.host-elf .head { transform-origin: 80px 96px; }
.host-elf.talking .mouth { animation: yap .13s ease-in-out infinite alternate; }
.host-elf.talking .arm-mic { animation: mic-bob .5s ease-in-out infinite; }
.host-elf.talking .head { animation: head-tilt .9s ease-in-out infinite; }
.host-elf.pointing .arm-point { animation: none; transform: rotate(-125deg); }
.host-elf.excited .elf-body { animation: host-jump .42s ease-in-out infinite; }
.host-elf.excited .arm-point { animation: host-wave-fast .22s ease-in-out infinite; }
.host-elf.excited .brows { transform: translateY(-5px); }
.host-elf.excited .eyes { animation: none; transform: scale(1.25); }
@keyframes host-bob { 50% { transform: translateY(-4px) rotate(-2deg); } }
@keyframes host-jump { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px) rotate(5deg); } }
@keyframes hat-swing { 50% { transform: rotate(8deg); } }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@keyframes yap { from { transform: scaleY(.2); } to { transform: scaleY(1.15); } }
@keyframes mic-bob { 50% { transform: rotate(10deg); } }
@keyframes head-tilt { 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
@keyframes host-wave { 50% { transform: rotate(-30deg); } }
@keyframes host-wave-fast { 0%, 100% { transform: rotate(-150deg); } 50% { transform: rotate(-95deg); } }

/* ---------- Countdown ring ---------- */
.timer { position: relative; width: 108px; height: 108px; flex: none; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: rgba(0, 0, 0, .35); stroke: rgba(255, 255, 255, .12); stroke-width: 8; }
.ring-fg { fill: none; stroke: var(--gold); stroke-width: 8; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(246, 195, 67, .7)); }
.ring-num { position: absolute; inset: 0; display: grid; place-items: center; font: 700 2.4rem var(--label); }
.timer.urgent .ring-fg { stroke: #ff5a5a; filter: drop-shadow(0 0 8px rgba(255, 90, 90, .8)); }
.timer.urgent .ring-num { color: #ff8a8a; animation: throb .5s ease-in-out infinite alternate; }
@keyframes throb { to { transform: scale(1.15); } }

/* ---------- Scoreboard and podium ---------- */
.scoreboard { max-width: 760px; margin: 0 auto; padding: 30px 36px; }
.scoreboard h2 { margin: 0 0 18px; text-align: center; font: italic 900 2.6rem var(--display); }
.scoreboard ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.scoreboard li { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05);
  border-left: 5px solid var(--c); font-size: 1.35rem; animation: slide-in .5s cubic-bezier(.2, 1.2, .4, 1) both; animation-delay: calc(var(--i) * 90ms); }
.scoreboard li:first-child { background: linear-gradient(90deg, rgba(246, 195, 67, .22), rgba(255, 255, 255, .04)); }
.scoreboard .rank { font: 700 1.3rem var(--label); color: var(--gold-2); width: 1.4em; }
.scoreboard .avatar { font-size: 1.6rem; }
.scoreboard b { font-weight: 600; flex: 1; }
.scoreboard .gain { font: 600 1rem var(--label); color: #7dffb0; }
.scoreboard .score { font: 700 1.5rem var(--label); letter-spacing: .04em; min-width: 4ch; text-align: right; }
@keyframes slide-in { from { transform: translateX(-40px); opacity: 0; } }
.podium-wrap { display: grid; justify-items: center; gap: 26px; }
.podium { display: flex; align-items: flex-end; gap: 16px; }
.podium-spot { display: grid; justify-items: center; gap: 6px; width: clamp(150px, 16vw, 220px); animation: rise .8s cubic-bezier(.2, 1.3, .4, 1) both; }
.podium-spot.place-1 { animation-delay: .9s; } .podium-spot.place-2 { animation-delay: .5s; } .podium-spot.place-3 { animation-delay: .2s; }
.podium-spot .avatar { font-size: 3.2rem; }
.podium-spot.place-1 .avatar { font-size: 4.4rem; box-shadow: 0 0 0 4px var(--gold), 0 0 40px rgba(246, 195, 67, .6); }
.podium-spot b { font-size: 1.4rem; font-weight: 600; }
.podium-spot .score { font: 700 1.2rem var(--label); color: var(--gold-2); }
.podium-spot .block { width: 100%; display: grid; place-items: center; border-radius: 16px 16px 0 0; font: 900 3rem var(--display); color: rgba(58, 37, 4, .75); background: var(--foil); box-shadow: inset 0 1px 0 #fff, 0 20px 50px rgba(0, 0, 0, .5); }
.place-1 .block { height: 190px; } .place-2 .block { height: 130px; filter: saturate(.2) brightness(1.1); } .place-3 .block { height: 90px; filter: sepia(.6) hue-rotate(-20deg) saturate(1.4); }
.podium-spot.empty { visibility: hidden; }
.also { margin: 0; color: var(--dim); font-size: 1.1rem; text-align: center; }
.podium-actions { display: flex; gap: 14px; }
@keyframes rise { from { transform: translateY(80px); opacity: 0; } }

.confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; width: 100%; height: 100%; }
.hidden { display: none !important; }

/* A big title card for "Question 3", "Round 2" and the like. */
.title-card { display: grid; justify-items: center; gap: 12px; text-align: center; animation: card-in .6s cubic-bezier(.2, 1.4, .4, 1); }
.title-card .festive-title { font-size: clamp(3rem, 8vw, 6.5rem); }
.title-card p { margin: 0; font-size: 1.4rem; color: var(--dim); }
@keyframes card-in { from { transform: scale(.7); opacity: 0; } }
.loading-dots::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

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