/* This treatment is local to Sugar Teddy's four style examples. Source assets stay intact. */
#style-cloud .style-aurora {
  --wash: hsl(52 100% 36%);
  --glow: hsl(52 100% 46%);
  --floor: hsl(52 100% 41%);
  --flare: hsl(52 100% 43%);
}
#style-cloud .style-ember {
  --wash: hsl(229 100% 24%);
  --glow: hsl(229 100% 36%);
  --floor: hsl(229 100% 29%);
  --flare: hsl(229 100% 32%);
}
#style-cloud .style-orchid {
  --wash: hsl(151 100% 24%);
  --glow: hsl(151 100% 35%);
  --floor: hsl(151 100% 29%);
  --flare: hsl(151 100% 32%);
}
#style-cloud .style-midnight {
  --wash: hsl(345 100% 24%);
  --glow: hsl(345 100% 36%);
  --floor: hsl(345 100% 28%);
  --flare: hsl(345 100% 32%);
}
#style-cloud .style-art.approved-artwork .card-bg,
#style-cloud .style-art.approved-artwork .card-source-gradient {
  visibility: hidden;
}
#style-cloud .style-art.approved-artwork .card-character,
#style-cloud .style-art.approved-artwork .card-logo {
  filter: url("assets/illustrations/teddy-mint-filter.svg#mint-relief") drop-shadow(0 4px 5px #051d2966);
}
#style-cloud .style-atmosphere {
  opacity: 1;
  background:
    radial-gradient(ellipse at 25% 24%, var(--glow), transparent 66%),
    radial-gradient(ellipse at 92% 84%, var(--flare), transparent 70%),
    linear-gradient(145deg, var(--wash), var(--floor));
}
#style-cloud .style-atmosphere::after {
  inset: -35%;
  opacity: .32;
  background: conic-gradient(from 20deg, transparent 0deg, var(--glow) 45deg, transparent 90deg, var(--flare) 165deg, transparent 220deg, var(--floor) 285deg, transparent 340deg);
  filter: blur(12px);
  animation: teddy-colour-flow 18s linear infinite;
  animation-play-state: paused;
}
#style-cloud .style-art.approved-artwork .style-foreground {
  z-index: 2;
  opacity: .3;
}
#style-cloud .style-tile { filter: none; }
#style-cloud .style-shine { opacity: .22; }
#style-cloud .style-tile[aria-pressed="true"] .style-art {
  outline-color: #99e4c9;
}
#style-cloud .style-tile:nth-child(2) .style-atmosphere::after { animation-delay: -5s; }
#style-cloud .style-tile:nth-child(3) .style-atmosphere::after { animation-delay: -10s; }
#style-cloud .style-tile:nth-child(4) .style-atmosphere::after { animation-delay: -14s; }
body[data-animations="playing"] #style-cloud.showcase-visible .style-atmosphere::after {
  animation-play-state: running;
}
@keyframes teddy-colour-flow {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.12); }
  to { transform: rotate(360deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  #style-cloud .style-atmosphere::after { animation: none; }
}
@media print {
  #style-cloud .style-atmosphere::after { animation: none; }
}
