/* celebremoshoy/efectos 0.1.0 */
:root {
  --cel-textura-algodon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='o0' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0 0.08 0.95 0 0 0 -0.532'/%3E%3C/filter%3E%3Cfilter id='c0' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0.9 0 0 -0.540'/%3E%3C/filter%3E%3Cfilter id='o1' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='2' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0 0.08 0.11 0 0 0 -0.053'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23o0)'/%3E%3Crect width='100%' height='100%' filter='url(%23c0)'/%3E%3Crect width='100%' height='100%' filter='url(%23o1)'/%3E%3C/svg%3E");
  --cel-textura-granulado: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='o0' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0 0.08 1.6 0 0 0 -0.848'/%3E%3C/filter%3E%3Cfilter id='c0' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 1.4 0 0 -0.784'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23o0)'/%3E%3Crect width='100%' height='100%' filter='url(%23c0)'/%3E%3C/svg%3E");
  --cel-textura-lino: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='o0' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.018 0.85' numOctaves='2' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0 0.08 0.42 0 0 0 -0.223'/%3E%3C/filter%3E%3Cfilter id='c0' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.018 0.85' numOctaves='2' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0.6 0 0 -0.342'/%3E%3C/filter%3E%3Cfilter id='o1' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85 0.018' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0 0.08 0.34 0 0 0 -0.180'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23o0)'/%3E%3Crect width='100%' height='100%' filter='url(%23c0)'/%3E%3Crect width='100%' height='100%' filter='url(%23o1)'/%3E%3C/svg%3E");
}

/* Hoja global de celebremoshoy/efectos. Enlázala en <head> para evitar parpadeos:
   <link rel="stylesheet" href=".../efectos.css"> (efectos.js la inyecta si falta). */

cel-sobre:not(:defined) {
  position: fixed; inset: 0; z-index: 2147480000;
  background: var(--cel-sobre-papel, var(--cel-papel, #f3eee6));
}
cel-sobre[hidden] { display: none; }
html.cel-sobre-cerrado, html.cel-sobre-cerrado body { overflow: hidden; }

cel-aparecer { display: block; }
cel-aparecer:not([data-estado]) { opacity: 0; }
cel-aparecer[escalonado]:not([data-estado]) { opacity: 1; }
cel-aparecer[escalonado]:not([data-estado]) > * { opacity: 0; }

cel-raspa, cel-papel, cel-cuenta-regresiva, cel-separador { display: block; }
cel-calendario, cel-icono, cel-sello { display: inline-block; }
cel-raspa:not(:defined) { aspect-ratio: 4 / 3; max-width: var(--cel-raspa-ancho, 320px); margin-inline: auto; border-radius: 50%; background: var(--cel-raspa-fondo, #d9d6d0); }
cel-sello:not(:defined) { width: var(--cel-sello-tamano, 96px); aspect-ratio: 1; }
cel-icono:not(:defined) { width: 28px; height: 28px; }
cel-musica:not(:defined), cel-petalos { display: none; }
