/* Solo elementos decorativos creados por tematicas.js. */
.jg-tematica-particulas {
  position: fixed;
  inset: 0;
  z-index: 45;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.jg-tematica-particulas[hidden] { display: none; }
.jg-tematica-particula {
  position: absolute;
  top: -24px;
  left: var(--jg-x);
  width: var(--jg-size);
  height: var(--jg-size);
  color: var(--jg-tema-color);
  opacity: var(--jg-opacity);
  pointer-events: none;
  animation: jg-tematica-caida var(--jg-duration) var(--jg-delay) linear infinite;
}
.jg-tematica-particula--nieve {
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 2px rgba(119, 142, 154, 0.55);
}
.jg-tematica-particula--copo {
  border-radius: 0;
  background: currentColor;
  clip-path: polygon(42% 0,58% 0,58% 34%,87% 17%,95% 31%,66% 50%,95% 69%,87% 83%,58% 66%,58% 100%,42% 100%,42% 66%,13% 83%,5% 69%,34% 50%,5% 31%,13% 17%,42% 34%);
  transform-origin: center;
  width: calc(var(--jg-size) + 6px);
  height: calc(var(--jg-size) + 6px);
}
.jg-tematica-particula--destellos {
  background: currentColor;
  clip-path: polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);
  width: calc(var(--jg-size) + 4px);
  height: calc(var(--jg-size) + 4px);
}
.jg-tematica-particula--imagen { object-fit: contain; }
.jg-tematica-footer { position: relative; }
.jg-tematica-pie {
  position: absolute;
  top: -44px;
  left: 0;
  width: 100%;
  height: 82px;
  overflow: hidden;
  pointer-events: none;
}
.jg-tematica-pie > img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.jg-tematica-pie--pinos {
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center bottom;
}
@keyframes jg-tematica-caida {
  from { transform: translate3d(0, -20px, 0) rotate(0); }
  to { transform: translate3d(var(--jg-drift), calc(100vh + 60px), 0) rotate(140deg); }
}
@media (max-width: 640px) {
  .jg-tematica-pie { top: -34px; height: 64px; }
  .jg-tematica-pie--pinos { background-position: left bottom; }
}
@media (prefers-reduced-motion: reduce) {
  .jg-tematica-particulas { display: none; }
  .jg-tematica-particula { animation: none; }
}
@media print {
  .jg-tematica-particulas, .jg-tematica-pie { display: none; }
}
