/* fx.css: THE NETWORK PRODUCTION SYSTEM, the reader's graphics (S! PRODUCTION FX).
   Markup comes from fx_component() in includes/fx.php; assets/js/fx.js plays them when they scroll into view.

   EVERYTHING here is under .stw-fx, so nothing can reach the rest of the site.

   How the motion is arranged (this is what keeps it safe):
     - With no script, or with "reduce motion" on, nothing here ever hides or moves: the FINAL state is simply the
       state. Every effect states its meaning in words, never in colour or motion alone.
     - fx.js adds .is-armed (only if motion is allowed), which holds the animated parts back until the graphic
       scrolls into view; then .is-playing runs the animation once. The final frame of every animation is the
       same as the resting state, so a replay ends exactly where it began.
     - Sizes are in cqw, a share of the graphic's own width, so type shrinks with the reading column on a phone
       and can never push the page wider. Everything is clipped to its own frame. */

.stw-fx { --fx-pink: #ff2faf; --fx-gold: #e4b84a; --fx-ink: #060306; display: block; margin: 34px 0; padding: 0; max-width: 100%; font-family: "Oswald", "Arial Narrow", Impact, sans-serif; line-height: 1; color: #fff; text-align: center; }
.stw-fx-frame { position: relative; container-type: inline-size; overflow: hidden; background: radial-gradient(120% 140% at 50% 0%, #1b0b1a 0%, #0a050c 55%, #060306 100%); border: 1px solid #3a2236; border-top: 3px solid var(--fx-pink); }
.stw-fx.is-gold .stw-fx-frame { border-top-color: var(--fx-gold); }
.stw-fx-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #2b1a2a; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #b79bb4; text-align: left; }
.stw-fx-brand { background: var(--fx-pink); color: #18061a; padding: 2px 7px; font-weight: 700; letter-spacing: .06em; }
.stw-fx.is-gold .stw-fx-brand { background: var(--fx-gold); }
.stw-fx-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 2.4cqw, 16px); min-height: clamp(170px, 40cqw, 290px); padding: clamp(22px, 7cqw, 46px) clamp(14px, 4cqw, 28px) clamp(34px, 9cqw, 58px); overflow: hidden; }
.stw-fx-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 55%, rgba(255, 47, 175, .38), transparent 62%); }
.stw-fx.is-gold .stw-fx-stage::after { background: radial-gradient(circle at 50% 55%, rgba(228, 184, 74, .38), transparent 62%); }
.stw-fx-kicker { font-size: clamp(11px, 3.2cqw, 18px); letter-spacing: .3em; text-transform: uppercase; color: #ffb3dd; }
.stw-fx.is-gold .stw-fx-kicker { color: #f0d487; }
.stw-fx-subline { font-size: clamp(11px, 3.4cqw, 18px); letter-spacing: .26em; text-transform: uppercase; color: #c9b4c7; }
.stw-fx-subline.is-gold { color: var(--fx-gold); }
.stw-fx-replay { display: none; position: absolute; right: 10px; bottom: 10px; align-items: center; gap: 6px; padding: 6px 9px; background: rgba(6, 3, 6, .7); border: 1px solid #4a2d46; color: #bda5ba; font: 600 10px/1 "Oswald", sans-serif; letter-spacing: .2em; cursor: pointer; }
.stw-fx.is-armed .stw-fx-replay { display: inline-flex; }
.stw-fx-replay:hover, .stw-fx-replay:focus-visible { border-color: var(--fx-pink); color: #fff; outline: none; }

/* ---- FX 01 / 02 : the count ---- */
.stw-fx-count { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .08em .5em; font-size: clamp(34px, 15cqw, 104px); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.stw-fx-count.is-near { font-size: clamp(34px, 16cqw, 112px); }
.stw-fx-n { display: inline-block; }
.stw-fx-n.is-gold { color: var(--fx-gold); text-shadow: 0 0 28px rgba(228, 184, 74, .5); }
.stw-fx-n.is-kick { color: var(--fx-pink); text-shadow: 0 0 28px rgba(255, 47, 175, .55); }
.stw-fx-n.is-near-num { color: #fff; font-size: 1.12em; text-shadow: 0 0 34px rgba(255, 255, 255, .35); }

/* ---- FX 03 : the finisher ---- */
.stw-fx-move { font-size: clamp(30px, 13cqw, 92px); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 0 32px rgba(255, 47, 175, .6); }
.stw-fx-move span { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.stw-fx-flash { position: absolute; inset: 0; pointer-events: none; background: var(--fx-pink); opacity: 0; }

/* ---- FX 04 : the submission ---- */
.stw-fx-lock { font-size: clamp(14px, 5.2cqw, 30px); letter-spacing: .2em; color: #ffd1ee; text-transform: uppercase; font-weight: 600; }
.stw-fx-meter { position: relative; width: min(100%, 520px); height: 14px; background: #12070f; border: 1px solid #5a3b55; overflow: hidden; }
.stw-fx-meter-fill { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, #8a1a5a, var(--fx-pink)); }
.stw-fx-meter.is-escape .stw-fx-meter-fill { width: 20%; }
.stw-fx-meter.is-rope .stw-fx-meter-fill { width: 76%; }
.stw-fx-meter.is-tap .stw-fx-meter-fill { width: 100%; background: linear-gradient(90deg, #8a6a1a, var(--fx-gold)); }
.stw-fx-meter.is-stop .stw-fx-meter-fill { width: 100%; background: repeating-linear-gradient(135deg, var(--fx-pink) 0 10px, #8a1a5a 10px 20px); }
.stw-fx-outcome { font-size: clamp(22px, 9.5cqw, 62px); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--fx-pink); text-shadow: 0 0 26px rgba(255, 47, 175, .5); overflow-wrap: anywhere; }
.stw-fx-outcome.is-tap { color: var(--fx-gold); text-shadow: 0 0 26px rgba(228, 184, 74, .5); }
.stw-fx-outcome.is-stop { color: #fff; }

/* ---- FX 05 : the crowd ---- */
.stw-fx-chant { display: flex; flex-wrap: wrap; justify-content: center; gap: .08em .32em; font-size: clamp(26px, 11cqw, 76px); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.stw-fx-chant .w { display: inline-block; }

/* ---- FX 06 : the Network override ---- */
.stw-fx--override .stw-fx-frame { background: radial-gradient(120% 140% at 50% 0%, #14100a 0%, #08060a 60%, #040304 100%); border-color: #3a3220; border-top-color: var(--fx-gold); }
.stw-fx-ovr { position: relative; font-size: clamp(20px, 8.2cqw, 56px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-gold); overflow-wrap: anywhere; }
.stw-fx-ovr span { position: relative; display: inline-block; max-width: 100%; }
.stw-fx-ovr span::before, .stw-fx-ovr span::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; opacity: 0; pointer-events: none; }
.stw-fx-ovr span::before { color: var(--fx-pink); }
.stw-fx-ovr span::after { color: #f6e3a8; }
.stw-fx-scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 4px); }
.stw-fx-bars { display: flex; gap: 6px; }
.stw-fx-bars i { display: block; width: clamp(18px, 7cqw, 44px); height: 3px; background: #6a5a2a; }
.stw-fx-bars i:nth-child(2) { background: var(--fx-gold); }
.stw-fx-bars i:nth-child(3) { background: #7a2a5c; }

.stw-fx--unknown { margin: 24px auto; padding: 10px 14px; max-width: 420px; border: 1px dashed #3a2236; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #7d6a7b; text-align: center; }


/* ---- FX 07 : referee down ---- */
.stw-fx-signal { display: flex; align-items: flex-end; gap: 5px; height: clamp(24px, 8cqw, 44px); }
.stw-fx-signal i { display: block; width: clamp(6px, 2.2cqw, 13px); height: 100%; background: var(--fx-pink); transform-origin: bottom; transform: scaleY(var(--h)); }
.stw-fx-signal i:nth-child(1) { --h: .66; --k: 0; } .stw-fx-signal i:nth-child(2) { --h: .5; --k: 1; } .stw-fx-signal i:nth-child(3) { --h: .34; --k: 2; }
.stw-fx-signal i:nth-child(4) { --h: .22; --k: 3; } .stw-fx-signal i:nth-child(5) { --h: .13; --k: 4; }
.stw-fx-refdown { font-size: clamp(26px, 12cqw, 84px); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.stw-fx-refdown span { position: relative; display: inline-block; max-width: 100%; overflow-wrap: anywhere; text-shadow: 0 0 30px rgba(255, 47, 175, .5); }
.stw-fx-refdown span::before, .stw-fx-refdown span::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; opacity: 0; pointer-events: none; }
.stw-fx-refdown span::before { color: var(--fx-pink); }
.stw-fx-refdown span::after { color: #cfe9ff; }
.stw-fx-subline.is-cap { color: #ffb3dd; }

/* ---- FX 08 : the ten-count ---- */
.stw-fx-ten { display: flex; flex-wrap: wrap; justify-content: center; gap: .1em .4em; max-width: 100%; font-size: clamp(18px, 6.4cqw, 42px); font-weight: 600; }
.stw-fx-ten b { display: inline-block; min-width: .9em; font-weight: 600; color: #d9c4d6; }
.stw-fx-ten b:last-child { color: var(--fx-pink); text-shadow: 0 0 22px rgba(255, 47, 175, .6); }

/* ---- FX 09 : a surprise appearance ---- */
.stw-fx-spot { position: absolute; left: 50%; top: 0; width: 140%; height: 100%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(ellipse 38% 90% at 50% 0%, rgba(255, 255, 255, .13), rgba(255, 47, 175, .07) 55%, transparent 75%); }
.stw-fx-reveal { position: relative; display: inline-block; max-width: 100%; font-size: clamp(28px, 12cqw, 86px); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; overflow: hidden; padding: 0 .12em; }
.stw-fx-reveal span { display: inline-block; overflow-wrap: anywhere; text-shadow: 0 0 30px rgba(255, 47, 175, .55); }
.stw-fx-wipe { position: absolute; inset: 0; background: #0a050c; transform-origin: right center; transform: scaleX(0); border-left: 3px solid var(--fx-pink); }

/* ---- FX 10 / 11 : AND NEW! and AND STILL! ---- */
.stw-fx-title { max-width: 100%; padding: 6px 12px; border: 1px solid #6a5a2a; font-size: clamp(11px, 3.4cqw, 18px); letter-spacing: .3em; text-transform: uppercase; color: #f0d487; overflow-wrap: anywhere; }
.stw-fx-andhead { font-size: clamp(36px, 18cqw, 124px); font-weight: 700; letter-spacing: .02em; color: var(--fx-gold); }
.stw-fx-andhead span { position: relative; display: inline-block; max-width: 100%; text-shadow: 0 0 36px rgba(228, 184, 74, .5); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stw-fx-andhead span { background: linear-gradient(100deg, #e4b84a 0 42%, #fff4c4 50%, #e4b84a 58% 100%) 0 0 / 260% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 20px rgba(228, 184, 74, .5)); }
}
.stw-fx--andstill .stw-fx-andhead span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .045em; background: var(--fx-gold); box-shadow: 0 0 14px rgba(228, 184, 74, .6); }
.stw-fx-champ { font-size: clamp(22px, 10cqw, 66px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; max-width: 100%; }
.stw-fx--andstill .stw-fx-frame { box-shadow: inset 0 0 0 1px rgba(228, 184, 74, .35); }

/* ================= MOTION (only when fx.js has armed the graphic) ================= */
.stw-fx.is-armed:not(.is-playing) :is(.stw-fx-n, .stw-fx-subline, .stw-fx-move, .stw-fx-kicker, .stw-fx-lock, .stw-fx-meter, .stw-fx-outcome, .stw-fx-chant .w, .stw-fx-ovr, .stw-fx-bars, .stw-fx-signal, .stw-fx-refdown, .stw-fx-ten b, .stw-fx-title, .stw-fx-andhead, .stw-fx-champ) { opacity: 0; }
.stw-fx.is-armed:not(.is-playing) .stw-fx-wipe { transform: scaleX(1); }
.stw-fx.is-armed:not(.is-playing) .stw-fx-spot { opacity: 0; }

/* the count: each number slams in; the last one lands with a burst */
@keyframes stwfx-slam { 0% { opacity: 0; transform: scale(1.75); } 55% { opacity: 1; transform: scale(.94); } 100% { opacity: 1; transform: scale(1); } }
@keyframes stwfx-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes stwfx-burst { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }
@keyframes stwfx-hold { 0% { opacity: 0; transform: scale(.7); } 45% { opacity: 1; transform: scale(1.14); } 62% { transform: scale(1.02); } 78% { transform: scale(1.1); opacity: 1; } 100% { opacity: 1; transform: scale(1.12); } }
.stw-fx.is-playing .stw-fx-n { animation: stwfx-slam .4s cubic-bezier(.2, .9, .25, 1) both; }
.stw-fx.is-playing .stw-fx-n.n1 { animation-delay: .05s; }
.stw-fx.is-playing .stw-fx-n.n2 { animation-delay: .6s; }
.stw-fx.is-playing .stw-fx-n.n3 { animation-delay: 1.2s; }
.stw-fx.is-playing .stw-fx-subline { animation: stwfx-rise .45s ease both; animation-delay: 1.7s; }
.stw-fx.is-playing .stw-fx-stage::after { animation: stwfx-burst .7s ease-out 1.2s both; }
.stw-fx--pinfall.is-playing .stw-fx-count.is-two-beat + .stw-fx-subline { animation-delay: 1.1s; }
.stw-fx--pinfall.is-playing .stw-fx-count.is-two-beat .n2 { animation-delay: .6s; }
.stw-fx--pinfall.is-playing .stw-fx-stage::after { animation-delay: 1.2s; }
/* kickout at one: the burst comes with the kickout at .6s */
.stw-fx--pinfall.is-playing:has(.is-two-beat) .stw-fx-stage::after { animation-delay: .6s; }
/* the near-fall is slower and heavier: ONE, TWO, then 2.99 hangs in the air, then the kickout cuts it off */
.stw-fx--nearfall.is-playing .stw-fx-n.n1 { animation-delay: .05s; }
.stw-fx--nearfall.is-playing .stw-fx-n.n2 { animation-delay: .6s; }
.stw-fx--nearfall.is-playing .stw-fx-n.n3 { animation: stwfx-hold 1.15s ease both; animation-delay: 1.15s; }
.stw-fx--nearfall.is-playing .stw-fx-n.n4 { animation-delay: 2.45s; }
.stw-fx--nearfall.is-playing .stw-fx-stage::after { animation-delay: 2.45s; animation-duration: .9s; }
.stw-fx--nearfall.is-playing .stw-fx-subline { animation-delay: 3s; }

/* the finisher: one soft flash, the move name lands with a short shake of its own text */
@keyframes stwfx-impact { 0% { opacity: 0; transform: scale(2); filter: brightness(2); } 38% { opacity: 1; transform: scale(.93); filter: brightness(1.4); } 52% { transform: translate(-4px, 2px) scale(1.02); } 64% { transform: translate(4px, -2px); } 78% { transform: translate(-2px, 1px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes stwfx-flash { 0% { opacity: 0; } 14% { opacity: .3; } 100% { opacity: 0; } }
.stw-fx--finisher.is-playing .stw-fx-kicker { animation: stwfx-rise .35s ease both; }
.stw-fx--finisher.is-playing .stw-fx-move { animation: stwfx-impact .75s cubic-bezier(.2, .9, .25, 1) both; animation-delay: .3s; }
.stw-fx--finisher.is-playing .stw-fx-flash { animation: stwfx-flash .6s ease-out .45s both; }
.stw-fx--finisher.is-playing .stw-fx-subline { animation-delay: 1.15s; }

/* the submission: the meter builds, trembles, and resolves; then the outcome is stated */
@keyframes stwfx-meter-escape { 0% { width: 0; } 60% { width: 88%; } 72% { width: 84%; } 100% { width: 20%; } }
@keyframes stwfx-meter-rope { 0% { width: 0; } 60% { width: 90%; } 72% { width: 82%; } 100% { width: 76%; } }
@keyframes stwfx-meter-full { 0% { width: 0; } 70% { width: 92%; } 78% { width: 88%; } 100% { width: 100%; } }
.stw-fx--submission.is-playing .stw-fx-lock { animation: stwfx-rise .4s ease both; }
.stw-fx--submission.is-playing .stw-fx-meter { animation: stwfx-rise .3s ease .3s both; }
.stw-fx--submission.is-playing .stw-fx-meter.is-escape .stw-fx-meter-fill { animation: stwfx-meter-escape 1.9s ease-in-out .45s both; }
.stw-fx--submission.is-playing .stw-fx-meter.is-rope .stw-fx-meter-fill { animation: stwfx-meter-rope 1.9s ease-in-out .45s both; }
.stw-fx--submission.is-playing .stw-fx-meter:is(.is-tap, .is-stop) .stw-fx-meter-fill { animation: stwfx-meter-full 1.9s ease-in-out .45s both; }
.stw-fx--submission.is-playing .stw-fx-subline { animation: stwfx-rise .4s ease .85s both; }
.stw-fx--submission.is-playing .stw-fx-outcome { animation: stwfx-slam .45s cubic-bezier(.2, .9, .25, 1) 2.35s both; }
.stw-fx--submission.is-playing .stw-fx-stage::after { animation: stwfx-burst .7s ease-out 2.35s both; }

/* the crowd: the words arrive on a beat, then the whole chant pulses twice */
@keyframes stwfx-chant { 0% { opacity: 0; transform: translateY(40%) scale(.82); } 60% { opacity: 1; transform: translateY(-6%) scale(1.07); } 100% { opacity: 1; transform: none; } }
@keyframes stwfx-pulse { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.045); } }
.stw-fx--crowd.is-playing .stw-fx-kicker { animation: stwfx-rise .35s ease both; }
.stw-fx--crowd.is-playing .stw-fx-chant .w { animation: stwfx-chant .42s cubic-bezier(.2, .9, .25, 1) both; animation-delay: calc(.25s + var(--i) * .26s); }
.stw-fx--crowd.is-playing .stw-fx-chant { animation: stwfx-pulse .9s ease-in-out calc(.7s + var(--n, 3) * .26s) 2; }

/* the override: a short burst of interference, then the message holds with one more glitch later on */
@keyframes stwfx-appear { 0% { opacity: 0; } 12% { opacity: .9; } 18% { opacity: .1; } 30% { opacity: 1; } 36% { opacity: .35; } 48%, 100% { opacity: 1; } }
@keyframes stwfx-glitch-a { 0%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); } 6% { opacity: .85; transform: translate(-4px, 0); clip-path: inset(18% 0 52% 0); } 10% { opacity: .85; transform: translate(5px, 0); clip-path: inset(62% 0 8% 0); } 14% { opacity: 0; } 58% { opacity: 0; } 61% { opacity: .75; transform: translate(-3px, 0); clip-path: inset(34% 0 36% 0); } 65% { opacity: 0; } }
@keyframes stwfx-glitch-b { 0%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); } 8% { opacity: .7; transform: translate(4px, 0); clip-path: inset(48% 0 24% 0); } 12% { opacity: 0; } 59% { opacity: .6; transform: translate(3px, 0); clip-path: inset(10% 0 66% 0); } 63% { opacity: 0; } }
@keyframes stwfx-bars { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.stw-fx--override.is-playing .stw-fx-kicker { animation: stwfx-rise .5s ease .1s both; }
.stw-fx--override.is-playing .stw-fx-ovr { animation: stwfx-appear 1.1s steps(1, end) .35s both; }
.stw-fx--override.is-playing .stw-fx-ovr span::before { animation: stwfx-glitch-a 4.6s linear .35s 2 both; }
.stw-fx--override.is-playing .stw-fx-ovr span::after { animation: stwfx-glitch-b 4.6s linear .35s 2 both; }
.stw-fx--override.is-playing .stw-fx-bars { opacity: 1; animation: stwfx-bars 1.4s ease-in-out .5s 3 both; }


/* referee down: the signal bars decay, the words land and tear once */
@keyframes stwfx-sigdrop { 0% { opacity: 1; transform: scaleY(1); } 100% { opacity: 1; transform: scaleY(var(--h)); } }
@keyframes stwfx-sigin { from { opacity: 0; } to { opacity: 1; } }
.stw-fx--refdown.is-playing .stw-fx-signal { animation: stwfx-sigin .2s ease both; }
.stw-fx--refdown.is-playing .stw-fx-signal i { animation: stwfx-sigdrop .5s ease-out both; animation-delay: calc(.35s + var(--k) * .22s); }
.stw-fx--refdown.is-playing .stw-fx-refdown { animation: stwfx-impact .7s cubic-bezier(.2, .9, .25, 1) both; animation-delay: .15s; }
.stw-fx--refdown.is-playing .stw-fx-refdown span::before { animation: stwfx-glitch-a 2.4s linear .6s 1 both; }
.stw-fx--refdown.is-playing .stw-fx-refdown span::after { animation: stwfx-glitch-b 2.4s linear .6s 1 both; }
.stw-fx--refdown.is-playing .stw-fx-subline { animation: stwfx-rise .45s ease both; animation-delay: 1.35s; }
.stw-fx--refdown.is-playing .stw-fx-subline.is-cap { animation-delay: 1.7s; }
.stw-fx--refdown.is-playing .stw-fx-stage::after { animation: stwfx-burst .7s ease-out .15s both; }

/* ten-count: one to ten on a steady beat, then the verdict */
@keyframes stwfx-tick { 0% { opacity: .1; transform: scale(1.5); color: #8f7a8c; } 40% { opacity: 1; transform: scale(1); color: #fff; } 100% { opacity: 1; transform: none; } }
.stw-fx--tencount.is-playing .stw-fx-ten b { animation: stwfx-tick .4s ease-out both; animation-delay: calc(.1s + var(--i) * .2s); }
.stw-fx--tencount.is-playing .stw-fx-outcome { animation: stwfx-slam .45s cubic-bezier(.2, .9, .25, 1) 2.35s both; }
.stw-fx--tencount.is-playing .stw-fx-subline { animation: stwfx-rise .4s ease 2.85s both; }
.stw-fx--tencount.is-playing .stw-fx-stage::after { animation: stwfx-burst .7s ease-out 2.35s both; }

/* surprise: a spotlight comes up, the curtain pulls away, the name tightens into place */
@keyframes stwfx-wipe { 0% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes stwfx-contract { from { letter-spacing: .5em; opacity: .2; } to { letter-spacing: .03em; opacity: 1; } }
@keyframes stwfx-spotin { from { opacity: 0; } to { opacity: 1; } }
.stw-fx--surprise.is-playing .stw-fx-spot { animation: stwfx-spotin .8s ease both; }
.stw-fx--surprise.is-playing .stw-fx-kicker { animation: stwfx-appear .6s steps(1, end) .1s both; }
.stw-fx--surprise.is-playing .stw-fx-wipe { animation: stwfx-wipe .7s cubic-bezier(.7, 0, .2, 1) .85s both; }
.stw-fx--surprise.is-playing .stw-fx-reveal span { animation: stwfx-contract 1.1s ease-out .85s both; }
.stw-fx--surprise.is-playing .stw-fx-subline { animation: stwfx-rise .45s ease 1.95s both; }
.stw-fx--surprise.is-playing .stw-fx-stage::after { animation: stwfx-burst .8s ease-out 1.1s both; }

/* AND NEW!: slams in with a sweep of light, the champion rises under it; AND STILL!: stamped, then underlined */
@keyframes stwfx-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes stwfx-stamp { 0% { opacity: 0; transform: scale(1.5); } 55% { opacity: 1; transform: scale(.96); } 100% { opacity: 1; transform: scale(1); } }
@keyframes stwfx-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.stw-fx--andnew.is-playing .stw-fx-title, .stw-fx--andstill.is-playing .stw-fx-title { animation: stwfx-rise .4s ease .05s both; }
.stw-fx--andnew.is-playing .stw-fx-andhead { animation: stwfx-slam .4s cubic-bezier(.2, .9, .25, 1) .3s both; }
.stw-fx--andnew.is-playing .stw-fx-andhead span { animation: stwfx-shine 1.2s ease-out .75s 1 both; }
.stw-fx--andnew.is-playing .stw-fx-champ { animation: stwfx-rise .5s ease 1s both; }
.stw-fx--andnew.is-playing .stw-fx-subline { animation: stwfx-rise .45s ease 1.5s both; }
.stw-fx--andnew.is-playing .stw-fx-stage::after { animation: stwfx-burst .9s ease-out .3s both; }
.stw-fx--andstill.is-playing .stw-fx-andhead { animation: stwfx-stamp .45s cubic-bezier(.2, .9, .25, 1) .3s both; }
.stw-fx--andstill.is-playing .stw-fx-andhead span::after { transform-origin: left; animation: stwfx-draw .5s ease-out .85s both; }
.stw-fx--andstill.is-playing .stw-fx-champ { animation: stwfx-rise .5s ease 1.1s both; }
.stw-fx--andstill.is-playing .stw-fx-subline { animation: stwfx-rise .45s ease 1.6s both; }
.stw-fx--andstill.is-playing .stw-fx-stage::after { animation: stwfx-burst .8s ease-out .3s both; }

/* reduce motion: the final state, no movement, no replay */
@media (prefers-reduced-motion: reduce) {
  .stw-fx *, .stw-fx *::before, .stw-fx *::after { animation: none !important; transition: none !important; }
  .stw-fx .stw-fx-replay { display: none !important; }
}
