:root {
  --noche: #08161a;
  --noche-2: #10282a;
  --crema: #f6eedf;
  --crema-suave: rgba(246, 238, 223, 0.66);
  --oro: #e2c27d;
  --oro-2: #c9a15a;
  --rojo: #b8342e;
  --rojo-2: #8e231f;
  --verde: #2a6a4f;
  --verde-2: #1b4b38;
  --papel: #f8f1e4;
  --tinta: #1d2b25;
  --tinta-suave: #5f6b64;
  --linea: rgba(29, 43, 37, 0.12);
  --hueco: #fbe7a1;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --ancho: min(100vw - 32px, 520px);
  --separacion: 10px;
  --celda: calc((var(--ancho) - 3 * var(--separacion)) / 4);
  --paisaje: clamp(100px, 13vw, 190px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: var(--noche); }
html.bloqueo, html.bloqueo body { overflow: hidden; }

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(226, 194, 125, 0.14), transparent 70%),
    radial-gradient(120% 70% at 50% 10%, var(--noche-2) 0%, var(--noche) 65%);
  background-attachment: fixed;
  color: var(--crema);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

#nieve {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.pagina {
  position: relative;
  z-index: 1;
  width: var(--ancho);
  margin: 0 auto;
  padding-top: env(safe-area-inset-top);
  padding-bottom: calc(var(--paisaje) + env(safe-area-inset-bottom) + 30px);
}

/* Guirnalda de luces */
.guirnalda {
  display: block;
  width: 100vw;
  height: 54px;
  margin-left: calc(50% - 50vw);
  overflow: visible;
}
.guirnalda .cable { fill: none; stroke: #2c3a2f; stroke-width: 1.6; }
.guirnalda .casquillo { fill: #46524a; }
.guirnalda .halo { animation: titilar 2.8s ease-in-out infinite; }
@keyframes titilar {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.25; }
}
.guirnalda .bombilla { animation: bombilla 2.8s ease-in-out infinite; }
@keyframes bombilla {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.vista-previa {
  margin: 4px 0 6px;
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--noche);
  background: var(--hueco);
}

/* Cabecera */
.cabecera { position: relative; text-align: center; padding-top: 14px; }
.ayuda {
  position: absolute;
  top: 0;
  right: -8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--crema-suave);
  font: 500 15px var(--sans);
  cursor: pointer;
}
.ayuda span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: auto;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.2px rgba(246, 238, 223, 0.35);
}
.antetitulo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oro);
}
.antetitulo svg { flex-shrink: 0; }
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(34px, 10vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.subtitulo {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--crema-suave);
}
.estado {
  margin: 24px 0 18px;
  text-align: center;
  font-size: 14px;
  color: var(--crema-suave);
  min-height: 1.4em;
}

/* Rejilla de regalos */
.rejilla {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: var(--celda);
  grid-auto-flow: dense;
  gap: var(--separacion);
}

.puerta {
  --caja-1: var(--verde);
  --caja-2: var(--verde-2);
  --cinta: var(--rojo);
  --cinta-ancho: 9px;
  --etiqueta: calc(var(--celda) * 0.5);
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  border-radius: 12px;
  perspective: 700px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.puerta.roja { --caja-1: #bd3d35; --caja-2: #8f2520; --cinta: var(--oro); }
.puerta.verde { --caja-1: #2d7054; --caja-2: #1b4a37; --cinta: #c6433a; }
.puerta.crema { --caja-1: #f4e9d3; --caja-2: #dfcca8; --cinta: #b8342e; }
.puerta.ancha { grid-column: span 2; }
.puerta.grande { grid-column: span 2; grid-row: span 2; --cinta-ancho: 16px; --etiqueta: calc(var(--celda) * 0.86); }

.puerta:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }

.interior,
.hoja {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.interior {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 205, 130, 0.28), transparent 62%),
    #0b1b17;
  box-shadow: inset 0 0 0 1px rgba(226, 194, 125, 0.35), inset 0 8px 18px rgba(0, 0, 0, 0.5);
  color: var(--oro);
}
.interior .estrella { font-size: 15px; text-shadow: 0 0 10px rgba(255, 210, 140, 0.8); }
.interior .num-int {
  position: absolute;
  top: 7px;
  left: 9px;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--oro);
  opacity: 0.85;
}
.grande .interior .estrella { font-size: 34px; }

.hoja {
  background:
    linear-gradient(90deg, transparent calc(50% - var(--cinta-ancho) / 2), var(--cinta) 0, var(--cinta) calc(50% + var(--cinta-ancho) / 2), transparent 0),
    linear-gradient(0deg, transparent calc(50% - var(--cinta-ancho) / 2), var(--cinta) 0, var(--cinta) calc(50% + var(--cinta-ancho) / 2), transparent 0),
    linear-gradient(155deg, var(--caja-1) 0%, var(--caja-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -2px 0 rgba(0, 0, 0, 0.15), 0 6px 14px rgba(0, 0, 0, 0.35);
  transform-origin: left center;
  transition: transform 0.85s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.25s ease 0.55s, filter 0.3s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* La etiqueta con el número, sobre el cruce de la cinta */
.num {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--etiqueta);
  height: var(--etiqueta);
  border-radius: 50%;
  background: var(--papel);
  color: var(--tinta);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), inset 0 0 0 1.5px rgba(29, 43, 37, 0.08);
  font-family: var(--serif);
  font-weight: 450;
  font-size: calc(var(--etiqueta) * 0.5);
  line-height: 1;
}
.crema .num { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), inset 0 0 0 1.5px rgba(184, 52, 46, 0.35); }
.grande .num { font-weight: 400; font-size: calc(var(--etiqueta) * 0.46); }

.lazo {
  position: absolute;
  left: 50%;
  top: calc(50% - var(--etiqueta) / 2 - 44px);
  width: 124px;
  height: 66px;
  transform: translateX(-50%);
}

.puerta.bloqueada .hoja { filter: brightness(0.93); }
.candado {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(8, 22, 26, 0.72);
  color: var(--crema);
}
.candado svg { width: 11px; height: 11px; }
.grande .candado { right: 10px; bottom: 10px; width: 28px; height: 28px; }
.grande .candado svg { width: 16px; height: 16px; }

.puerta.hoy .hoja { animation: latido 2.6s ease-in-out infinite; }
.puerta.hoy .hoja::after {
  content: 'hoy';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px 3px;
  border-radius: 999px;
  background: var(--oro);
  color: #3b2a0c;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.puerta.abierta .hoja {
  transform: rotateY(-108deg);
  opacity: 0;
  animation: none;
  pointer-events: none;
}

.puerta.sacudir { animation: sacudir 0.42s ease; }

@keyframes latido {
  0%, 100% { box-shadow: inset 0 0 0 2px var(--oro), 0 6px 14px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(226, 194, 125, 0); }
  50% { box-shadow: inset 0 0 0 2px var(--oro), 0 6px 14px rgba(0, 0, 0, 0.35), 0 0 26px 4px rgba(226, 194, 125, 0.45); }
}
@keyframes sacudir {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-5px) rotate(-2deg); }
  40% { transform: translateX(5px) rotate(2deg); }
  60% { transform: translateX(-3px) rotate(-1deg); }
  80% { transform: translateX(3px) rotate(1deg); }
}

.pie {
  margin: 40px 0 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(246, 238, 223, 0.45);
}

/* Paisaje nevado, fijo al fondo de la pantalla */
.fondo {
  position: fixed;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.fondo { height: calc(var(--paisaje) + env(safe-area-inset-bottom) + 14px); }
.colina {
  position: absolute;
  left: 0;
  bottom: calc(env(safe-area-inset-bottom) + 13px);
  width: 100%;
  height: var(--paisaje);
}
.pino {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom) + 13px + var(--paisaje) * var(--y));
  width: calc(var(--paisaje) * 0.36 * var(--t));
  height: calc(var(--paisaje) * 0.48 * var(--t));
  transform: translateX(-30%);
}
.suelo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(env(safe-area-inset-bottom) + 14px);
  background: #eef2f1;
}

/* Carta (hoja inferior) */
.velo {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(3, 10, 9, 0.58);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.velo.visible { opacity: 1; pointer-events: auto; }

.carta {
  position: fixed;
  z-index: 11;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  max-width: 560px;
  max-height: calc(100svh - env(safe-area-inset-top) - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--papel);
  color: var(--tinta);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(105%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  visibility: hidden;
}
.carta.visible { transform: translateY(0); visibility: visible; }

/* Borde de bastón de caramelo */
.rayas {
  height: 7px;
  background: repeating-linear-gradient(-45deg, var(--rojo) 0 9px, var(--papel) 9px 18px);
}

.cerrar {
  position: absolute;
  top: 14px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--tinta-suave);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.carta-cuerpo {
  padding: 26px 24px calc(env(safe-area-inset-bottom) + 30px);
}

.etiqueta {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rojo);
}
.etiqueta .dia-num { color: var(--tinta-suave); }
.carta h2 {
  margin: 0 0 18px;
  padding-right: 32px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.carta p.texto {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.58;
}

mark.hueco {
  background: var(--hueco);
  color: inherit;
  padding: 0 3px;
  border-radius: 3px;
}

/* Plan */
.plan {
  margin: 20px 0 6px;
  border-top: 1px solid var(--linea);
}
.plan div {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--linea);
}
.plan dt {
  width: 64px;
  flex-shrink: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tinta-suave);
  padding-top: 3px;
}
.plan dd { margin: 0; font-size: 16px; line-height: 1.4; }

/* Vale */
.vale {
  position: relative;
  margin: 22px 0 8px;
  padding: 24px 22px;
  text-align: center;
  border: 1.5px dashed rgba(184, 52, 46, 0.5);
  border-radius: 14px;
  background: #fcf7ee;
}
.vale::before,
.vale::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--papel);
  border: 1.5px dashed rgba(184, 52, 46, 0.5);
}
.vale::before { left: -10px; clip-path: inset(0 0 0 50%); }
.vale::after { right: -10px; clip-path: inset(0 50% 0 0); }
.vale-tit {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rojo);
}
.vale strong {
  display: block;
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-weight: 450;
  font-size: 25px;
  line-height: 1.2;
}
.vale-cond { font-size: 14px; color: var(--tinta-suave); }

/* Lista */
.lista {
  list-style: none;
  margin: 6px 0 8px;
  padding: 0;
}
.lista li {
  position: relative;
  padding: 11px 0 11px 26px;
  font-size: 17px;
  line-height: 1.45;
  border-bottom: 1px solid var(--linea);
}
.lista li::before {
  content: '✦';
  position: absolute;
  left: 2px;
  top: 12px;
  font-size: 12px;
  color: var(--rojo);
}

/* Botones */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--rojo);
  color: #fff8ee;
  font: 500 16px var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.boton:disabled { opacity: 0.5; }

/* Foto */
.foto { margin: 18px 0 8px; }
.foto img { display: block; width: 100%; border-radius: 12px; }
.foto .marco-vacio {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, #efe6d4 0 10px, #f3ebdc 10px 20px);
  color: var(--tinta-suave);
  font-size: 14px;
}
.foto figcaption {
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--tinta-suave);
  text-align: center;
}

/* Quiz y elección */
.quiz, .eleccion { margin: 16px 0 6px; }
.quiz-pregunta {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
}
.quiz-progreso {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}
.opciones { display: grid; gap: 10px; }
.opcion {
  min-height: 52px;
  padding: 12px 16px;
  text-align: left;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--linea);
  color: var(--tinta);
  font: 16px/1.35 var(--sans);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.opcion.correcta { background: #e3efe6; box-shadow: inset 0 0 0 1.5px #3f7a55; }
.opcion.fallo { background: #f6e2df; box-shadow: inset 0 0 0 1.5px var(--rojo); }
.opcion.elegida { background: #e9efe9; box-shadow: inset 0 0 0 1.5px var(--verde); }
.opcion:disabled { cursor: default; }
.comentario {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
}
.quiz .boton { margin-top: 16px; }
.nota-eleccion { margin: 12px 0 0; font-size: 13px; color: var(--tinta-suave); }

/* Rasca */
.rasca {
  position: relative;
  margin: 20px 0 8px;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  background: #fcf7ee;
  box-shadow: inset 0 0 0 1.5px rgba(226, 194, 125, 0.7);
  display: grid;
  place-items: center;
  text-align: center;
}
.rasca .premio {
  padding: 0 20px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
}
.rasca canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  transition: opacity 0.6s ease;
  cursor: crosshair;
}
.rasca canvas.fuera { opacity: 0; pointer-events: none; }

/* Letra pequeña: el copo */
.letra-pequena {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  min-height: 44px;
}
.copo-boton {
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--rojo);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.copo-boton svg { width: 20px; height: 20px; opacity: 0.7; animation: girar 14s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.letra {
  margin: 0;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--linea);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tinta-suave);
  animation: aparecer 0.6s ease both;
}
.letra svg { width: 13px; height: 13px; color: var(--rojo); vertical-align: -1px; margin-right: 4px; }
@keyframes aparecer {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Buzón */
.buzon {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--linea);
}
.buzon-abrir {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tinta-suave);
  font: 15px var(--sans);
  cursor: pointer;
}
.buzon-abrir svg { color: var(--rojo); }
.buzon form { display: grid; gap: 10px; }
.buzon textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--linea);
  color: var(--tinta);
  font: 16px/1.45 var(--sans); /* 16px evita el zoom automático de iPhone */
  resize: vertical;
}
.buzon textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--rojo); }
.buzon .hecho {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
}

/* Tutorial de bienvenida */
.tuto {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: calc(env(safe-area-inset-top) + 16px) 16px calc(env(safe-area-inset-bottom) + 16px);
  background: rgba(3, 10, 9, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: aparecer 0.4s ease both;
}
.tuto-tarjeta {
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--papel);
  color: var(--tinta);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.tuto-contenido { padding: 30px 26px 8px; min-height: 290px; }
.tuto-paso { animation: aparecer 0.45s ease both; }
.tuto-icono {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #f1e3c8;
  color: var(--rojo);
}
.tuto-icono svg { width: 34px; height: 34px; }
.tuto h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
}
.tuto p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #3a4842;
}
.tuto .ejemplo-copo {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  vertical-align: -7px;
  color: var(--rojo);
}
.tuto .ejemplo-copo svg { width: 18px; height: 18px; }
.tuto-puntos {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 14px 0 4px;
}
.tuto-puntos span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(29, 43, 37, 0.18);
  transition: background 0.3s, width 0.3s;
}
.tuto-puntos span.activo { width: 20px; border-radius: 4px; background: var(--rojo); }
.tuto-botones {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 20px;
}
.tuto-saltar {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--tinta-suave);
  font: 15px var(--sans);
  cursor: pointer;
}

/* Aviso flotante */
.aviso {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 22px);
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--crema);
  color: var(--tinta);
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.aviso.visible { opacity: 1; transform: translate(-50%, 0); }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .hoja { transition: opacity 0.2s ease; }
  .puerta.abierta .hoja { transform: none; }
  .puerta.hoy .hoja,
  .guirnalda .halo,
  .guirnalda .bombilla,
  .copo-boton svg { animation: none; }
  .carta { transition: none; }
}
