svg.wcast { overflow: visible; }
.wcast .wc-burst, .wcast .wc-beam { fill: #fff; }
.wcast .wc-burst { transform-box: fill-box; transform-origin: 50% 50%; animation: wc-charge 6s var(--wz-at, 0s) infinite; }
.wcast .wc-beam { transform-box: fill-box; transform-origin: 0 50%; filter: drop-shadow(0 0 1.5px rgb(125 207 255 / 0.9)); animation: wc-beam 6s var(--wz-at, 0s) infinite; }
[data-theme='light'] svg.wcast .wc-burst, [data-theme='light'] svg.wcast .wc-beam { fill: #e8810b; }
[data-theme='light'] svg.wcast .wc-beam { filter: none; }
.name-wizard .wcast { width: 2.3em; height: auto; display: block; }
h1 .name-wizard .wcast { width: 1.9em; }
@keyframes wc-charge { 0%, 28% { transform: scale(0.7); } 42% { transform: scale(1.12); } 46% { transform: scale(0.9); } 52%, 70% { transform: scale(1); } 82%, 100% { transform: scale(0.7); } }
@keyframes wc-beam { 0%, 44% { transform: scaleX(0); opacity: 1; } 50% { transform: scaleX(1); opacity: 1; } 68% { transform: scaleX(1); opacity: 1; } 80%, 100% { transform: scaleX(1); opacity: 0; } }
.grid > .card:nth-child(3n+1) .wcast { --wz-at: -5s; }
.grid > .card:nth-child(3n+2) .wcast { --wz-at: -3s; }
.grid > .card:nth-child(3n) .wcast { --wz-at: -1s; }
@media (prefers-reduced-motion: reduce) { .wcast .wc-burst, .wcast .wc-beam { animation: none; } }
svg.wfire { overflow: visible; }
.wfire :is(.wf-orb, .wf-burst, .wf-beam, .wf-core, .wf-line, .wf-bolt) { transform-box: fill-box; }
.wfire .wf-orb { transform-origin: 50% 50%; animation: wf-orb 6s var(--wz-at, 0s) infinite; }
.wfire .wf-bolt { animation: wf-flick 6s step-end var(--wz-at, 0s) infinite; }
.wfire .wf-bolt:nth-child(2) { animation-delay: calc(var(--wz-at, 0s) + 0.35s); }
.wfire .wf-bolt:nth-child(3) { animation-delay: calc(var(--wz-at, 0s) + 0.7s); }
.wfire .wf-burst { transform-origin: 50% 50%; animation: wf-pulse 2s ease-in-out infinite; }
.wfire .wf-beam { transform-origin: 50% 50%; animation: wf-flare 1.4s ease-in-out infinite alternate; }
.wfire .wf-core { animation: wf-core 0.9s steps(2, jump-none) infinite; }
.wfire .wf-line { animation: wf-drift 2.4s ease-in infinite; }
.wfire .wf-line:nth-child(2) { animation-delay: 0.6s; } .wfire .wf-line:nth-child(3) { animation-delay: 1.2s; } .wfire .wf-line:nth-child(4) { animation-delay: 1.8s; }
@keyframes wf-orb { 0%, 30% { transform: scale(1); } 42% { transform: scale(1.3); } 50%, 100% { transform: scale(1); } }
@keyframes wf-flick { 0% { opacity: 1; } 44% { opacity: 0.25; } 45.5% { opacity: 1; } 49% { opacity: 0.5; } 50.5%, 100% { opacity: 1; } }
@keyframes wf-pulse { 50% { transform: scale(1.12); } }
@keyframes wf-flare { to { transform: scaleY(1.2); } }
@keyframes wf-core { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }
@keyframes wf-drift { 0% { transform: translateX(0); opacity: 1; } 70%, 100% { transform: translateX(-4px); opacity: 0; } }
[data-theme='light'] svg.wfire .wf-beard { fill: #000; }
[data-theme='light'] svg.wfire .wf-bolt { stroke: #000; }
.name-wizard .wfire { width: 2.9em; height: auto; display: block; }
h1 .name-wizard .wfire { width: 2.4em; }
.grid > .card:nth-child(3n+1) .wfire { --wz-at: -5s; }
.grid > .card:nth-child(3n+2) .wfire { --wz-at: -3s; }
.grid > .card:nth-child(3n) .wfire { --wz-at: -1s; }
.shelf-wide:has(> .wf-cameo) { position: relative; }
.wf-cameo { display: block; width: 140px; margin: -6px 0 6px auto; pointer-events: none; }
.wf-cameo .wfire { display: block; width: 100%; height: auto; animation: wf-enter 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.wf-cameo .wfire .wf-burst { animation: wf-charge 1.6s 1s ease-in both, wf-pulse 2s 2.6s ease-in-out infinite; }
.wf-cameo .wfire :is(.wf-beam, .wf-heart) { transform-box: fill-box; transform-origin: 100% 50%; animation: wf-throw 0.6s 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both, wf-flare 1.4s 3.2s ease-in-out infinite alternate; }
.wf-cameo .wfire .wf-core { animation: wf-appear 0.3s 2.7s both, wf-core 0.9s 3s steps(2, jump-none) infinite; }
.wf-cameo .wfire :is(.wf-bolts, .wf-lines) { animation: wf-appear 0.25s 2.6s both; }
@keyframes wf-charge { from { transform: scale(0.5); } 75% { transform: scale(1.35); } to { transform: scale(1); } }
@keyframes wf-appear { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 601px) { .wf-cameo { position: absolute; top: 0; right: 0; width: clamp(155px, 17vw, 215px); margin: 0; } }
@keyframes wf-enter { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes wf-throw { from { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .wfire :is(.wf-orb, .wf-bolt, .wf-burst, .wf-beam, .wf-core, .wf-line, .wf-fire, .wf-heart, .wf-bolts, .wf-lines), .wf-cameo .wfire { animation: none; }
}
