/* =========================================================
   CALENDARIO DE ADVIENTO — estilos
   ========================================================= */

:root {
  --night-1: #050818;
  --night-2: #0c1433;
  --night-3: #1a2760;
  --gold: #f6c96b;
  --gold-2: #ffe9b0;
  --gold-3: #b9852c;
  --red: #c42f3c;
  --green: #1d7a50;
  --cream: #fff6e6;
  --ink: #3b1e17;

  --px: 0;   /* parallax horizontal (-1..1) — lo controla JS */
  --py: 0;   /* parallax vertical   (-1..1) */

  --font-title: 'Mountains of Christmas', 'Georgia', serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-spring: cubic-bezier(.2, .9, .25, 1.25);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse 120% 80% at 50% 110%, #23336d 0%, var(--night-2) 45%, var(--night-1) 100%) fixed;
  background-color: var(--night-1);
  color: var(--cream);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
body.locked-scroll { overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- ESCENA ---------- */
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#sky, #snow { position: absolute; inset: 0; }
#snow { z-index: 3; }
#fx { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

.moon {
  position: absolute;
  top: 9vh; right: 9vw;
  width: clamp(70px, 9vw, 130px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffdf2 0%, #f4ecd0 45%, #d9cda6 100%);
  box-shadow: 0 0 40px 10px rgba(255, 244, 200, .35), 0 0 140px 50px rgba(160, 180, 255, .18);
  transform: translate(calc(var(--px) * -18px), calc(var(--py) * -12px));
  z-index: 1;
}
.moon::before, .moon::after {
  content: ''; position: absolute; border-radius: 50%; background: rgba(170, 155, 110, .25);
}
.moon::before { width: 22%; height: 22%; top: 28%; left: 52%; }
.moon::after  { width: 14%; height: 14%; top: 60%; left: 30%; }

/* Aurora */
.aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 70vh;
  filter: blur(50px); opacity: .55; mix-blend-mode: screen;
  transform: translate(calc(var(--px) * -30px), calc(var(--py) * -15px));
}
.aurora span {
  position: absolute; width: 60%; height: 50%; border-radius: 50%;
  animation: aurora 18s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { left: 0;   top: 20%; background: radial-gradient(ellipse, rgba(60, 230, 170, .55), transparent 65%); }
.aurora span:nth-child(2) { left: 30%; top: 5%;  background: radial-gradient(ellipse, rgba(110, 120, 255, .5), transparent 65%); animation-duration: 23s; animation-delay: -6s; }
.aurora span:nth-child(3) { left: 50%; top: 25%; background: radial-gradient(ellipse, rgba(200, 90, 230, .35), transparent 65%); animation-duration: 27s; animation-delay: -12s; }
@keyframes aurora {
  0%   { transform: translateX(-10%) scaleY(.8) rotate(-6deg); }
  50%  { transform: translateX(8%) scaleY(1.2) rotate(4deg); }
  100% { transform: translateX(-4%) scaleY(.9) rotate(-2deg); }
}

/* Paisaje (SVG generado en JS) */
.landscape { position: absolute; inset: auto 0 0 0; height: 42vh; z-index: 2; }
.landscape svg {
  position: absolute; bottom: 0; left: -6%; width: 112%; height: 100%;
  will-change: transform;
}
.landscape .l-far  { transform: translateX(calc(var(--px) * -10px)); }
.landscape .l-mid  { transform: translateX(calc(var(--px) * -22px)); }
.landscape .l-near { transform: translateX(calc(var(--px) * -40px)); }
.landscape .window { animation: flicker 3s infinite; }
.landscape .smoke circle { animation: smoke 6s linear infinite; transform-box: fill-box; transform-origin: center; opacity: 0; }
.landscape .smoke circle:nth-child(2) { animation-delay: -2s; }
.landscape .smoke circle:nth-child(3) { animation-delay: -4s; }
@keyframes flicker { 0%,100% { opacity: 1; } 45% { opacity: .85; } 50% { opacity: .95; } 70% { opacity: .8; } }
@keyframes smoke {
  0%   { transform: translate(0, 0) scale(.4); opacity: 0; }
  15%  { opacity: .5; }
  100% { transform: translate(40px, -120px) scale(2.2); opacity: 0; }
}

/* ---------- INTRO ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(ellipse at 50% 60%, rgba(30, 45, 110, .85), rgba(5, 8, 24, .97) 70%);
  transition: opacity 1.2s ease, transform 1.4s var(--ease-out), filter 1.2s;
}
.intro.gone { opacity: 0; transform: scale(1.4); filter: blur(10px); pointer-events: none; }
.intro-kicker {
  letter-spacing: .35em; text-transform: uppercase; font-size: clamp(.7rem, 2.4vw, .9rem);
  color: var(--gold-2); opacity: 0; animation: fadeUp 1s .2s forwards;
}
.intro-title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(2.6rem, 10vw, 6rem); line-height: 1; margin: .2em 0 .5em;
  background: linear-gradient(100deg, var(--gold-3), var(--gold-2) 30%, #fff 45%, var(--gold) 60%, var(--gold-3));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
  filter: drop-shadow(0 4px 20px rgba(246, 201, 107, .35));
}
.intro-title .ch {
  color: var(--gold-2);
  text-shadow: 0 0 18px rgba(246, 201, 107, .55), 0 2px 0 var(--gold-3);
  animation: letterIn .8s var(--ease-spring) forwards, glowLetter 3s ease-in-out infinite;
}
@keyframes glowLetter { 50% { color: #fff; text-shadow: 0 0 28px rgba(255, 233, 176, .9), 0 2px 0 var(--gold-3); } }
.intro-title .ch { display: inline-block; opacity: 0; transform: translateY(40px) rotate(8deg); }
.intro-title .word { display: inline-block; white-space: nowrap; }
.intro-hint { margin-top: 1.6rem; opacity: .75; animation: pulse 2.2s ease-in-out infinite; font-size: .95rem; }

@keyframes shimmer { to { background-position: -250% 0; } }
@keyframes letterIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .35; } }

/* Regalo */
.gift {
  position: relative; width: 150px; height: 150px; margin: 0 auto;
  background: none; border: 0;
  animation: giftIdle 2.4s ease-in-out infinite;
  transition: transform .3s var(--ease-spring);
}
.gift:hover { transform: scale(1.06); }
.gift:focus-visible { outline: 3px solid var(--gold); outline-offset: 10px; border-radius: 12px; }
.gift-glow {
  position: absolute; inset: -40%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 140, .55), transparent 60%);
  animation: pulse 2.4s ease-in-out infinite;
}
.gift-box {
  position: absolute; left: 10%; right: 10%; bottom: 0; height: 68%;
  border-radius: 6px 6px 10px 10px;
  background:
    linear-gradient(90deg, transparent 43%, var(--gold) 43%, var(--gold-2) 50%, var(--gold) 57%, transparent 57%),
    linear-gradient(160deg, #e0414e, var(--red) 50%, #8e1c27);
  box-shadow: inset 0 -12px 20px rgba(0, 0, 0, .25), 0 20px 40px rgba(0, 0, 0, .5);
}
.gift-lid {
  position: absolute; left: 4%; right: 4%; top: 18%; height: 20%; z-index: 2;
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 43%, var(--gold) 43%, var(--gold-2) 50%, var(--gold) 57%, transparent 57%),
    linear-gradient(180deg, #ef5561, #b32633);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .35);
  transition: transform 1s var(--ease-out), opacity 1s;
}
.bow { position: absolute; left: 50%; top: 0; transform: translate(-50%, -78%); width: 70px; height: 36px; }
.bow i {
  position: absolute; top: 0; width: 34px; height: 30px;
  border: 7px solid var(--gold); border-radius: 50% 50% 10% 50%;
  background: rgba(0,0,0,.05);
}
.bow i:first-child { left: 0; transform: rotate(-20deg); }
.bow i:last-child  { right: 0; transform: scaleX(-1) rotate(-20deg); }
@keyframes giftIdle {
  0%, 70%, 100% { transform: rotate(0); }
  75% { transform: rotate(-5deg) translateY(-4px); }
  80% { transform: rotate(5deg); }
  85% { transform: rotate(-4deg) translateY(-2px); }
  90% { transform: rotate(2deg); }
}
.gift.opening { animation: none; transform: scale(1.1); }
.gift.opening .gift-lid { transform: translate(-60px, -220px) rotate(-40deg); opacity: 0; }
.intro-flash {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--gold-2) 30%, transparent 70%);
  transform: translate(-50%, -50%) scale(0); pointer-events: none;
}
.intro.opening .intro-flash { animation: flash 1.3s var(--ease-out) forwards; }
@keyframes flash { 0% { transform: translate(-50%,-50%) scale(0); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(400); opacity: 0; } }

/* ---------- GUIRNALDA ---------- */
.garland {
  position: absolute; top: 0; left: 0; right: 0; height: 70px; z-index: 6;
  pointer-events: none;
}
.garland svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bulb {
  position: absolute; width: 14px; height: 20px; margin-left: -7px;
  border-radius: 50% 50% 45% 45%;
  background: var(--c); pointer-events: auto; border: 0; padding: 0;
  box-shadow: 0 0 12px 3px var(--c), 0 0 30px 6px color-mix(in srgb, var(--c) 40%, transparent);
  transform-origin: 50% -4px;
  animation: twinkle var(--d, 2s) ease-in-out infinite, sway 4s ease-in-out infinite;
  animation-delay: var(--delay, 0s), var(--delay, 0s);
}
.bulb::before {
  content: ''; position: absolute; top: -5px; left: 3px; width: 8px; height: 6px;
  background: #2b3347; border-radius: 2px;
}
.bulb.pop { animation: bulbPop .5s var(--ease-spring); }
@keyframes twinkle { 0%, 100% { opacity: 1; filter: brightness(1.15); } 50% { opacity: .45; filter: brightness(.7); } }
@keyframes sway { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
@keyframes bulbPop { 40% { transform: scale(1.8); } }

/* ---------- CABECERA ---------- */
.top {
  position: relative; z-index: 10;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  max-width: 1180px; margin: 0 auto; padding: 64px 20px 10px;
}
.title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}
.title span {
  background: linear-gradient(100deg, var(--gold-3), var(--gold-2) 30%, #fff 45%, var(--gold) 60%, var(--gold-3));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.countdown { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; align-items: center; }
.cd-box {
  min-width: 58px; padding: 6px 8px 5px; text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cd-box b { display: block; font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold-2); }
.cd-box small { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.cd-label { font-size: .85rem; opacity: .8; margin-right: 4px; }
.cd-tick { animation: tick .4s var(--ease-spring); }
@keyframes tick { from { transform: translateY(-6px); opacity: .3; } }

.controls { position: relative; display: flex; gap: 8px; }
.ctrl {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s var(--ease-spring), background .2s, opacity .2s;
}
.ctrl:hover { transform: translateY(-3px) scale(1.08); background: rgba(255, 255, 255, .16); }
.ctrl:active { transform: scale(.92); }
.ctrl.off { opacity: .45; filter: grayscale(1); }
.ctrl:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.settings {
  position: absolute; right: 0; top: 56px; width: min(300px, calc(100vw - 40px));
  padding: 18px; border-radius: 18px; z-index: 20;
  background: rgba(14, 22, 54, .92);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; gap: 14px;
  transform-origin: top right;
  animation: popIn .35s var(--ease-spring);
}
.settings[hidden] { display: none; }
.settings h3 { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-2); }
@keyframes popIn { from { opacity: 0; transform: scale(.85) translateY(-8px); } }
.switch { display: flex; gap: 10px; align-items: center; font-size: .9rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .track { flex: none; width: 42px; height: 24px; border-radius: 99px; background: rgba(255,255,255,.18); position: relative; transition: background .25s; }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-spring); }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track .thumb { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--gold); outline-offset: 2px; }
.range { display: grid; gap: 8px; font-size: .9rem; }
.range b { color: var(--gold-2); }
.range input { width: 100%; accent-color: var(--gold); }
.btn-small {
  padding: 9px 12px; border-radius: 10px; font-size: .85rem; font-weight: 700;
  background: rgba(196, 47, 60, .25); border: 1px solid rgba(255, 120, 130, .4);
  transition: background .2s;
}
.btn-small:hover { background: rgba(196, 47, 60, .5); }

/* ---------- PROGRESO ---------- */
.wrap { position: relative; z-index: 5; max-width: 1180px; margin: 0 auto; padding: 10px 20px 40px; }
.progress { display: flex; align-items: center; gap: 14px; margin: 6px 0 22px; font-size: .9rem; }
.progress p { opacity: .85; white-space: nowrap; }
.progress-bar { flex: 1; max-width: 340px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.progress-bar span {
  display: block; height: 100%; width: 0%; border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2));
  box-shadow: 0 0 12px var(--gold);
  transition: width .9s var(--ease-out);
}

/* ---------- CALENDARIO ---------- */
.calendar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(110px, 12.5vw, 150px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.5vw, 18px);
  padding: clamp(12px, 2vw, 22px);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.slot { position: relative; opacity: 0; }
.slot.wide { grid-column: span 2; }
.slot.tall { grid-row: span 2; }
.slot.big  { grid-column: span 2; grid-row: span 2; }

body.entered .slot { animation: slotIn 1s var(--ease-spring) forwards; animation-delay: calc(var(--i) * 45ms + .25s); }
@keyframes slotIn {
  0%   { opacity: 0; transform: perspective(700px) translateY(60px) rotateX(-60deg) scale(.7); }
  100% { opacity: 1; transform: none; }
}

.door {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: none; border: 0; padding: 0;
  perspective: 1600px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .4s var(--ease-out);
  transform-style: flat; /* el panel se pinta siempre por encima del hueco */
  border-radius: 14px;
}
.door:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.slot.big .door { perspective: 2800px; }

/* Marco: la cartulina del calendario alrededor de la puerta troquelada */
.door-frame {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    inset 0 0 0 4px rgba(0,0,0,.12),
    inset 0 0 0 5px rgba(255,255,255,.1),
    0 10px 22px rgba(0, 0, 0, .45);
}
.door-frame::before { content: ''; position: absolute; inset: 0; background: var(--pattern, none); opacity: .55; }
.door-frame::after  { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .22); }

/* Interior (lo que se ve al abrir) */
.door-inside {
  position: absolute; inset: var(--hole, 8%); border-radius: 8px; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #fff1c6 0%, #f2b453 35%, #8b3a12 85%, #4a1a08 100%);
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.25), inset 0 0 30px rgba(0, 0, 0, .65);
}
.inside-glow {
  position: absolute; inset: -30%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.35), transparent 20%, rgba(255,255,255,.25) 40%, transparent 55%, rgba(255,255,255,.3) 75%, transparent);
  animation: spin 9s linear infinite; opacity: 0; transition: opacity .8s .3s;
}
.inside-emoji {
  position: relative; font-size: clamp(2rem, 5vw, 3.2rem);
  transform: scale(0) rotate(-30deg); transition: transform .7s .35s var(--ease-spring);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
}
.slot.big .inside-emoji { font-size: clamp(3.5rem, 9vw, 6rem); }
/* Bisagras: se quedan cuando la puerta ya no está */
.hinge {
  position: absolute; left: 0; width: 5px; height: 14%; z-index: 2;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold));
  box-shadow: 1px 1px 3px rgba(0,0,0,.5);
}
.hinge.h1 { top: 14%; }
.hinge.h2 { bottom: 14%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Panel de la puerta */
.door-panel {
  position: absolute; inset: var(--hole, 8%); z-index: 3;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(.55, -0.15, .2, 1.15);
}
.face {
  position: absolute; inset: 0; border-radius: 8px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.front {
  display: grid; place-items: center;
  background: var(--bg);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -16px 26px rgba(0,0,0,.2);
  outline: 2px dashed var(--perf, rgba(255,255,255,.45));
  outline-offset: -5px;
}
.v-candy { --perf: rgba(150, 30, 40, .45); }
.front::before { content: ''; position: absolute; inset: 0; background: var(--pattern, none); opacity: .9; }
.back {
  transform: rotateY(180deg);
  background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,.2)), var(--bg);
  box-shadow: inset 0 0 0 4px rgba(0,0,0,.2);
}

.num {
  position: relative; z-index: 2;
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1;
  color: var(--numc, var(--gold-2));
  text-shadow: 0 2px 0 rgba(0,0,0,.25), 0 0 18px rgba(255, 230, 160, .45);
  transition: transform .4s var(--ease-spring);
}
.slot.big .num { font-size: clamp(4rem, 11vw, 7.5rem); }
.door:hover .num { transform: scale(1.12) translateZ(20px); }

.knob {
  position: absolute; right: 9%; top: 50%; z-index: 2;
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6d0, var(--gold) 50%, var(--gold-3));
  box-shadow: 0 2px 3px rgba(0,0,0,.5);
}
.shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.35), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.door:hover .shine { opacity: 1; }

/* Variantes de diseño */
.v-red    { --bg: linear-gradient(150deg, #e2505c, #b3222f 55%, #7d1520); --pattern: linear-gradient(90deg, transparent 46%, rgba(246,201,107,.85) 46%, rgba(255,233,176,.95) 50%, rgba(246,201,107,.85) 54%, transparent 54%); }
.v-green  { --bg: linear-gradient(150deg, #2f9a68, #1b6a45 55%, #0f4429); --pattern: linear-gradient(0deg, transparent 44%, rgba(246,201,107,.8) 44%, rgba(255,233,176,.9) 50%, rgba(246,201,107,.8) 56%, transparent 56%); }
.v-navy   { --bg: linear-gradient(150deg, #2a3a85, #1a2457 60%, #0f1638); --pattern: radial-gradient(circle, rgba(255,240,200,.8) 1px, transparent 1.6px) 0 0/18px 18px, radial-gradient(circle, rgba(255,240,200,.45) 1px, transparent 1.5px) 9px 9px/18px 18px; }
.v-candy  { --bg: #fbf1e3; --numc: #b3222f; --pattern: repeating-linear-gradient(-45deg, rgba(196,47,60,.85) 0 10px, transparent 10px 22px); }
.v-gold   { --bg: linear-gradient(150deg, #f8d98a, #d9a440 55%, #a8731f); --numc: #fff8e6; --pattern: radial-gradient(circle at 20% 20%, rgba(255,255,255,.5), transparent 30%), repeating-radial-gradient(circle at 50% 50%, transparent 0 14px, rgba(255,255,255,.12) 14px 16px); }
.v-plum   { --bg: linear-gradient(150deg, #8c3d8f, #5e2266 55%, #391342); --pattern: radial-gradient(circle, rgba(255,255,255,.25) 3px, transparent 3.5px) 0 0/26px 26px; }
.v-candy .num { text-shadow: 0 2px 0 #fff, 0 0 10px #fff, 0 0 2px #fff; }
.v-candy .front::after, .v-gold .front::after, .v-red .front::after, .v-green .front::after {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(64%, 110px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,250,240,.95) 55%, transparent 72%);
}
.slot.big .front::after { width: min(60%, 220px); }
.v-gold .front::after { background: radial-gradient(circle, rgba(140, 90, 20, .35) 50%, transparent 72%); }
.v-red .front::after {
  width: min(52%, 84px);
  background: radial-gradient(circle at 40% 35%, #d4404c, #8e1c27 70%);
  box-shadow: 0 0 0 3px var(--gold), 0 4px 12px rgba(0,0,0,.4);
}
.v-green .front::after {
  width: min(52%, 84px);
  background: radial-gradient(circle at 40% 35%, #2a8a5c, #0f4429 70%);
  box-shadow: 0 0 0 3px var(--gold), 0 4px 12px rgba(0,0,0,.4);
}
.slot.big.v-red .front::after, .slot.big .v-red .front::after { width: min(55%, 200px); }

/* Estados */
/* Abierta: la puerta se ha caído y queda el hueco con su sorpresa y las bisagras */
.door.open .inside-emoji { transform: scale(1) rotate(0); }
.door.open .inside-glow { opacity: 1; }
.door.instant .door-panel, .door.instant .inside-emoji, .door.instant .inside-glow { transition: none; }
.door.gone .door-panel { display: none; }
.door.gone .door-inside { box-shadow: inset 0 0 0 3px rgba(0,0,0,.3), inset 0 6px 18px rgba(0,0,0,.6); }

/* Animación de caída: se suelta, se tambalea y cae hacia delante */
.slot.dropping { z-index: 6; }
.door.falling .door-panel {
  z-index: 8;
  transform-origin: 50% 100%;
  animation: doorTopple 1.15s forwards;
  transition: none;
}
@keyframes doorTopple {
  0%   { transform: none; animation-timing-function: ease-out; }
  10%  { transform: translateY(-4%) rotateZ(-4deg); }
  20%  { transform: translateY(-2%) rotateZ(3.5deg); }
  30%  { transform: translateY(-1%) rotateZ(-1.5deg); animation-timing-function: cubic-bezier(.55, 0, .9, .5); }
  72%  { transform: rotateX(-88deg) translateZ(4px); opacity: 1; animation-timing-function: ease-out; }
  80%  { transform: rotateX(-76deg) translateY(2%); opacity: 1; }
  100% { transform: rotateX(-90deg) translateY(30%); opacity: 0; }
}

.door.locked .front { filter: saturate(.55) brightness(.72); }
.door.locked { cursor: not-allowed; }
.lock {
  position: absolute; z-index: 5; right: 8px; top: 8px;
  font-size: .85rem; opacity: 0; transition: opacity .3s;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.5));
}
.door.locked .lock { opacity: .9; }
.door.shake { animation: shake .55s; }
@keyframes shake {
  0%, 100% { translate: 0; }
  15% { translate: -8px; } 30% { translate: 7px; } 45% { translate: -5px; } 60% { translate: 4px; } 75% { translate: -2px; }
}

.today-badge {
  position: absolute; z-index: 6; left: 50%; top: -10px; transform: translateX(-50%);
  padding: 3px 10px; border-radius: 99px; white-space: nowrap;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold); color: var(--ink);
  box-shadow: 0 4px 14px rgba(246, 201, 107, .6);
  opacity: 0; pointer-events: none;
}
.slot.today .today-badge { opacity: 1; animation: bob 1.8s ease-in-out infinite; }
.slot.today::before {
  content: ''; position: absolute; inset: -6px; border-radius: 18px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 25px 4px rgba(246, 201, 107, .55);
  animation: ring 1.8s ease-in-out infinite;
}
.slot.today.is-open::before, .slot.today.is-open .today-badge { display: none; }
@keyframes ring { 50% { box-shadow: 0 0 8px 1px rgba(246, 201, 107, .2); opacity: .5; } }
@keyframes bob { 50% { transform: translate(-50%, -4px); } }

/* ---------- MODAL ---------- */
.modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 16px;
  visibility: hidden; pointer-events: none;
}
.modal.show { visibility: visible; pointer-events: auto; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(40, 30, 80, .55), rgba(3, 5, 16, .85));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .5s;
}
.modal.show .modal-backdrop { opacity: 1; }
.card {
  position: relative; width: min(540px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 0 clamp(20px, 5vw, 36px) 26px;
  border-radius: 26px;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.9), transparent 40%),
    linear-gradient(170deg, #fffaf0, #f7e6c6);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255,255,255,.6) inset, 0 0 80px rgba(246, 201, 107, .25);
  transform: perspective(1200px) translateY(80px) rotateX(55deg) scale(.7);
  opacity: 0;
  transition: transform .75s var(--ease-spring), opacity .4s;
  scrollbar-width: thin;
}
.modal.show .card { transform: none; opacity: 1; }
.card-ribbon {
  height: 14px; margin: 0 calc(clamp(20px, 5vw, 36px) * -1) 0;
  background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 24px);
  border-radius: 26px 26px 0 0;
}
.card-close {
  position: absolute; top: 24px; right: 18px;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(59, 30, 23, .08); color: var(--ink); font-size: 1rem;
  transition: transform .3s var(--ease-spring), background .2s;
}
.card-close:hover { transform: rotate(90deg); background: rgba(59, 30, 23, .16); }
.card-head { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.card-day {
  flex: none; width: 86px; height: 86px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #e95a66, var(--red) 55%, #821a24);
  color: #fff; box-shadow: 0 10px 25px rgba(196, 47, 60, .45), inset 0 0 0 4px rgba(255,255,255,.25);
}
.card-day small { font-size: .5rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.card-day span { font-family: var(--font-title); font-weight: 700; font-size: 2.4rem; line-height: .9; }
.card-emoji { font-size: 3.6rem; animation: floaty 3s ease-in-out infinite; }
.modal.show .card-emoji { animation: emojiIn .9s .25s var(--ease-spring) backwards, floaty 3s 1.2s ease-in-out infinite; }
@keyframes emojiIn { from { transform: scale(0) rotate(-90deg); } }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(6deg); } }
.card-title { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.8rem, 6vw, 2.4rem); margin: 16px 0 6px; line-height: 1.1; color: #8e1c27; }
.card-text { line-height: 1.6; font-size: 1.02rem; }
.modal.show .card-title, .modal.show .card-text, .modal.show .card-media, .modal.show .card-nav { animation: fadeUp .6s var(--ease-out) backwards; }
.modal.show .card-title { animation-delay: .3s; }
.modal.show .card-text  { animation-delay: .4s; }
.modal.show .card-media { animation-delay: .5s; }
.modal.show .card-nav   { animation-delay: .6s; }
.card-media {
  margin: 20px 0; min-height: 150px; border-radius: 16px;
  display: grid; place-items: center; text-align: center; padding: 20px;
  border: 2px dashed rgba(142, 28, 39, .25);
  background: repeating-linear-gradient(45deg, rgba(142,28,39,.03) 0 12px, transparent 12px 24px);
  color: rgba(59, 30, 23, .6); font-weight: 600;
}
.card-media[hidden] { display: none; }
.card-media.placeholder { display: grid; }
.card-media:not(.placeholder):not(.loading) {
  display: grid; gap: 14px; padding: 0; min-height: 0;
  border: 0; background: none; color: inherit; font-weight: 400;
}
.card-media.loading { min-height: 120px; }
.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(142, 28, 39, .15); border-top-color: #8e1c27;
  animation: spin .8s linear infinite;
}
.card-kind {
  display: inline-block; margin-top: 16px; padding: 4px 12px; border-radius: 99px;
  font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(142, 28, 39, .1); color: #8e1c27;
}
.card-kind + .card-title { margin-top: 8px; }
.card-text { white-space: pre-line; }
.media-img, .media-video {
  width: 100%; max-height: 60vh; object-fit: contain; border-radius: 14px;
  background: rgba(59, 30, 23, .06);
  box-shadow: 0 10px 25px rgba(59, 30, 23, .25);
}
.media-yt { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.media-sp { width: 100%; height: 152px; border: 0; border-radius: 14px; }
.media-link, .reto-btn { justify-self: center; text-decoration: none; }
.reto-btn.done { background: linear-gradient(180deg, #8fe3b3, #2f9a68); color: #fff; }
.coupon {
  position: relative; text-align: center; padding: 22px 18px;
  border-radius: 16px; color: #8e1c27;
  background: radial-gradient(circle at 0 50%, transparent 12px, #fff3d6 13px) left / 51% 100% no-repeat,
              radial-gradient(circle at 100% 50%, transparent 12px, #fff3d6 13px) right / 51% 100% no-repeat;
  filter: drop-shadow(0 8px 16px rgba(142, 28, 39, .2));
}
.coupon::before { content: ''; position: absolute; inset: 8px 22px; border: 2px dashed rgba(142, 28, 39, .35); border-radius: 10px; }
.coupon small { display: block; letter-spacing: .3em; text-transform: uppercase; font-weight: 800; font-size: .7rem; }
.coupon strong { display: block; font-family: var(--font-title); font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.1; margin-top: 4px; }
.intro-welcome { max-width: 520px; margin: -.6em auto 1.4em; line-height: 1.5; opacity: .9; white-space: pre-line; }
.intro-title.missing { font-size: clamp(2rem, 8vw, 4rem); }
.for-whom { margin-top: 6px; font-size: 1.05rem; color: var(--gold-2); opacity: .9; }
.foot a { color: var(--gold-2); }
.card-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.btn-gold, .btn-ghost { border-radius: 99px; font-weight: 800; padding: 12px 20px; border: 0; transition: transform .25s var(--ease-spring), box-shadow .25s, opacity .2s; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, var(--gold-3));
  color: var(--ink); box-shadow: 0 8px 20px rgba(185, 133, 44, .45);
}
.btn-gold:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 28px rgba(185, 133, 44, .55); }
.btn-ghost { background: transparent; color: #8e1c27; padding: 12px 8px; font-size: .9rem; }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-ghost:disabled { opacity: .25; pointer-events: none; }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 95;
  transform: translate(-50%, 140%); opacity: 0;
  padding: 12px 20px; border-radius: 99px; max-width: calc(100vw - 32px); text-align: center;
  background: rgba(14, 22, 54, .92); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-weight: 600; font-size: .92rem;
  transition: transform .5s var(--ease-spring), opacity .3s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.foot { position: relative; z-index: 5; text-align: center; padding: 0 0 40px; opacity: .55; font-size: .85rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .calendar { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(100px, 20vw, 150px); }
}
@media (max-width: 600px) {
  .top { flex-direction: column-reverse; padding-top: 58px; gap: 10px; }
  .controls { align-self: flex-end; }
  .settings { top: 54px; }
  .wrap { padding: 6px 12px 30px; }
  .calendar { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 27vw; gap: 10px; padding: 10px; border-radius: 20px; }
  .slot.tall { grid-row: span 2; }
  .num { font-size: 2.2rem; }
  .slot.big .num { font-size: 4.6rem; }
  .cd-box { min-width: 0; flex: 1; }
  .cd-label { width: 100%; }
  .cd-box b { font-size: 1.15rem; }
  .card-day { width: 72px; height: 72px; }
  .card-day span { font-size: 2rem; }
  .card-emoji { font-size: 3rem; }
  .landscape { height: 32vh; }
  .moon { top: 60px; right: auto; left: 7vw; width: 46px; }
  .sky-star { left: auto; right: 16vw; top: 150px; width: 32px; height: 32px; }
  .santa-fly { top: 9vh; }
  .ctrl { width: 42px; height: 42px; }
}

/* ---------- PERSONAJES DEL PAISAJE ---------- */
.critter {
  transform-box: fill-box; transform-origin: 50% 100%;
  transform: scale(0) translateY(12px);
  opacity: 0;
  transition: transform 1.1s var(--ease-spring), opacity .5s;
}
.critter.on { transform: none; opacity: 1; }
.critter.fade { transform: none; }
.c-wave, .c-blinkeyes, .c-hop, .c-ears, .c-star, .c-bounce, .c-sway, .c-nod, .santa .rd, .santa-sleigh { transform-box: fill-box; }

.c-wave { transform-origin: 0% 100%; animation: cWave 2.8s ease-in-out infinite; }
.c-ginger .c-wave { transform-origin: 0% 50%; animation-duration: 1.6s; }
@keyframes cWave { 0%, 55%, 100% { transform: rotate(0); } 65% { transform: rotate(-22deg); } 75% { transform: rotate(6deg); } 85% { transform: rotate(-18deg); } }
.c-blinkeyes { transform-origin: 50% 50%; animation: cBlinkEyes 5s infinite; }
@keyframes cBlinkEyes { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.c-hop { transform-origin: 50% 100%; animation: cHop 4.5s ease-in-out infinite; }
@keyframes cHop {
  0%, 60%, 100% { transform: translateY(0) scale(1, 1); }
  64% { transform: translateY(0) scale(1.1, .85); }
  72% { transform: translateY(-16px) scale(.95, 1.08); }
  80% { transform: translateY(0) scale(1.08, .9); }
  84% { transform: translateY(0) scale(1, 1); }
}
.c-ears { transform-origin: 50% 100%; animation: cEars 3.2s ease-in-out infinite; }
@keyframes cEars { 0%, 80%, 100% { transform: rotate(0); } 88% { transform: rotate(-8deg); } }
.c-blink { animation: cBlink 1.8s ease-in-out infinite; }
@keyframes cBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.c-star { transform-origin: 50% 50%; animation: cStar 2.4s ease-in-out infinite; filter: drop-shadow(0 0 4px #ffd56b); }
@keyframes cStar { 50% { transform: scale(1.25) rotate(10deg); } }
.c-bounce { transform-origin: 50% 100%; animation: cBounce 1.6s ease-in-out infinite; }
@keyframes cBounce { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-5px) rotate(3deg); } }
.c-sway { transform-origin: 50% 100%; animation: cSway 1.4s ease-in-out infinite; }
@keyframes cSway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.c-nod { transform-origin: 100% 100%; animation: cNod 4s ease-in-out infinite; }
@keyframes cNod { 0%, 40%, 100% { transform: rotate(0); } 55%, 75% { transform: rotate(-16deg) translateY(4px); } }
.c-nose { filter: drop-shadow(0 0 3px #ff3344); animation: cBlink 1.4s ease-in-out infinite; }
.c-glow { animation: flicker 3s infinite; }

/* Cielo: estrella y Papá Noel */
.sky-critters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.critter-html { opacity: 0; transition: opacity 1.5s; }
.critter-html.on { opacity: 1; }
.sky-star {
  position: absolute; left: 15vw; top: 13vh; width: 46px; height: 46px;
  transform: translate(calc(var(--px) * -24px), calc(var(--py) * -12px)) scale(0);
  transition: opacity 1.5s, transform 1.4s var(--ease-spring);
  filter: drop-shadow(0 0 10px #ffe9b0) drop-shadow(0 0 26px rgba(246, 201, 107, .8));
}
.sky-star.on { transform: translate(calc(var(--px) * -24px), calc(var(--py) * -12px)) scale(1); }
.sky-star span {
  position: absolute; inset: 0;
  background: radial-gradient(circle, #fff 20%, #ffe9b0 50%, #f6c96b);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  animation: skyStar 4s ease-in-out infinite;
}
.sky-star::before, .sky-star::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 160px; height: 1.5px; margin: -.75px 0 0 -80px;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 200, .8), transparent);
  animation: skyRay 4s ease-in-out infinite;
}
.sky-star::after { transform: rotate(90deg); width: 110px; margin-left: -55px; }
@keyframes skyStar { 50% { transform: scale(.82) rotate(8deg); } }
@keyframes skyRay { 50% { opacity: .4; } }

.santa { position: absolute; inset: 0; overflow: hidden; }
.santa-fly {
  position: absolute; left: 0; top: 15vh;
  width: clamp(190px, 26vw, 340px);
  transform: translateX(110vw);
}
.santa.fly .santa-fly { animation: santaFly 14s linear forwards; }
@keyframes santaFly {
  0%   { transform: translate(110vw, 5vh) rotate(-5deg); }
  50%  { transform: translate(35vw, -2vh) rotate(-1deg); }
  100% { transform: translate(-45vw, 2vh) rotate(-6deg); }
}
.santa-fly svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 12px rgba(255, 230, 170, .35)); }
.santa .rd { animation: gallop .45s ease-in-out infinite alternate; }
@keyframes gallop { from { transform: translateY(-2px); } to { transform: translateY(3px); } }
.santa .rd-nose { filter: drop-shadow(0 0 4px #ff3344) drop-shadow(0 0 8px #ff3344); }
.santa-sleigh { animation: gallop .9s ease-in-out infinite alternate; }
.santa-arm { transform-box: fill-box; transform-origin: 100% 100%; animation: cWave 1.6s ease-in-out infinite; }

/* ---------- NIEVE ACUMULADA SOBRE LOS MARCOS ----------
   --snow va de 0 (antes de diciembre) a 1 (día 24). */
.calendar { position: relative; }
.snowcap {
  --caph: calc((3px + var(--snow, 0) * 30px) * var(--amt, 1));
  position: absolute; z-index: 5; pointer-events: none;
  left: -5px; right: -5px;
  height: var(--caph);
  top: calc(var(--caph) * -0.64);
  opacity: calc(var(--snow, 0) * 25);
  filter: drop-shadow(0 2px 2px rgba(10, 20, 60, .35));
  transition: height 1.4s var(--ease-out), top 1.4s var(--ease-out), opacity .6s;
}
.slot.big .snowcap { --caph: calc((4px + var(--snow, 0) * 42px) * var(--amt, 1)); }
/* Montoncito de nieve en la esquina de abajo del marco */
.door::after {
  content: ''; position: absolute; z-index: 5; pointer-events: none;
  bottom: -3px; left: -4px;
  width: calc(20% + var(--snow, 0) * 25%);
  height: calc(var(--snow, 0) * 14px);
  border-radius: 50% 60% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, #ffffff, #d6e2fb);
  box-shadow: 0 -1px 3px rgba(10, 20, 60, .25);
  opacity: calc(var(--snow, 0) * 3 - .3);
  transition: height 1.4s var(--ease-out), width 1.4s var(--ease-out), opacity .6s;
}
.door.v-red::after, .door.v-gold::after, .door.v-plum::after { left: auto; right: -4px; border-radius: 60% 50% 0 0 / 100% 100% 0 0; }
.snowcap svg { display: block; width: 100%; height: 100%; overflow: visible; }
.snowcap .icicles { fill: rgba(210, 230, 255, .8); opacity: calc((var(--snow, 0) - .4) * 2.5); transition: opacity 1s; }
.snowcap .snow-sparks circle { fill: #fff; animation: snowSpark 3.5s ease-in-out infinite; opacity: 0; }
@keyframes snowSpark { 0%, 70%, 100% { opacity: 0; } 80% { opacity: 1; } }
.calendar-cap {
  --caph: calc(4px + var(--snow, 0) * 44px);
  left: 10px; right: 10px; z-index: 1;
}
.slot.dropping .snowcap { z-index: 4; }

/* Opción "Menos animaciones" de Ajustes (desactivada por defecto) */
body.calm .aurora span,
body.calm .bulb,
body.calm .gift,
body.calm .gift-glow,
body.calm .inside-glow,
body.calm .card-emoji,
body.calm .landscape .smoke circle { animation: none !important; }
body.calm .landscape .smoke { display: none; }

/* ---------- CURSOR BRILLANTE ---------- */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor-dot, .cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
  will-change: transform;
}
.cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fffaf0;
  box-shadow: 0 0 8px 2px rgba(255, 240, 200, .95), 0 0 22px 7px rgba(246, 201, 107, .55);
  transition: opacity .25s, width .25s, height .25s;
}
.cursor-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255, 233, 176, .7);
  box-shadow: 0 0 16px rgba(246, 201, 107, .45), inset 0 0 12px rgba(246, 201, 107, .2);
  transition: border-radius .35s var(--ease-out), border-color .3s, background .3s, opacity .3s;
}
.cursor-ring.stuck { border-color: rgba(255, 240, 200, .95); background: rgba(255, 233, 176, .07); box-shadow: 0 0 26px rgba(246, 201, 107, .6), inset 0 0 18px rgba(246, 201, 107, .25); }
.cursor-ring.door-stuck { border-radius: 18px; }
.cursor-ring.nope { border-color: rgba(255, 120, 130, .9); box-shadow: 0 0 22px rgba(255, 90, 100, .5); }
.cursor-ring.press { background: rgba(255, 233, 176, .2); }
.cursor-hidden { opacity: 0 !important; }
