# Goal toast with stadium wave

> A goal rolls the score up by one and the crowd does the wave across the stand; a button starts it again.

- Category: [Toasts](https://library.aimran.es/components/toasts)
- Built with: HTML + CSS
- Live editor: https://library.aimran.es/blocks/uv-toast-stadium-wave
- Library: AIMRAN Library (https://library.aimran.es), free, no sign-up, by Aimran Oukham

## Where to use it

Live score apps announce goals all day, and this toast gives them a stadium feel. A small grandstand of 48 fans drawn with CSS sits under two floodlights, and each column rises with a delay so the wave travels from one end to the other. The home score rolls up to the new number with a springy bounce. It fits sports apps, fantasy leagues and live blogs.

The two colors are the home team's: they paint the flag, the shirts in the crowd and the scarves held up during the wave. The real score is in a hidden line for screen readers; change the teams, minute and assist to your match data.

## Code

### HTML

```html
<div class="uvq09-gol"><button type="button" class="fire">Score another</button><div class="tt" role="status"><span class="std" aria-hidden="true"><i class="lt l1"></i><i class="lt l2"></i><i class="fa" style="--c:0;--k1:var(--c1);--k2:var(--c1)"></i><i class="fa" style="--c:1;--k1:var(--c2);--k2:var(--c2)"></i><i class="fa" style="--c:2;--k1:#e2e8f0;--k2:var(--c1)"></i><i class="fa" style="--c:3;--k1:var(--c1);--k2:var(--c2)"></i><i class="fa" style="--c:4;--k1:var(--c2);--k2:var(--c1)"></i><i class="fa" style="--c:5;--k1:#e2e8f0;--k2:var(--c2)"></i><i class="fa" style="--c:6;--k1:var(--c1);--k2:var(--c1)"></i><i class="fa" style="--c:7;--k1:var(--c2);--k2:var(--c2)"></i><i class="fa" style="--c:8;--k1:#e2e8f0;--k2:var(--c1)"></i><i class="fa" style="--c:9;--k1:var(--c1);--k2:var(--c2)"></i><i class="fa" style="--c:10;--k1:var(--c2);--k2:var(--c1)"></i><i class="fa" style="--c:11;--k1:#e2e8f0;--k2:var(--c2)"></i><i class="fa" style="--c:12;--k1:var(--c1);--k2:var(--c1)"></i><i class="fa" style="--c:13;--k1:var(--c2);--k2:var(--c2)"></i><i class="fa" style="--c:14;--k1:#e2e8f0;--k2:var(--c1)"></i><i class="fa" style="--c:15;--k1:var(--c1);--k2:var(--c2)"></i><i class="fa" style="--c:0;--k1:#e2e8f0;--k2:var(--c1)"></i><i class="fa" style="--c:1;--k1:var(--c1);--k2:var(--c2)"></i><i class="fa" style="--c:2;--k1:var(--c2);--k2:var(--c1)"></i><i class="fa" style="--c:3;--k1:#e2e8f0;--k2:var(--c2)"></i><i class="fa" style="--c:4;--k1:var(--c1);--k2:var(--c1)"></i><i class="fa" style="--c:5;--k1:var(--c2);--k2:var(--c2)"></i><i class="fa" style="--c:6;--k1:#e2e8f0;--k2:var(--c1)"></i><i class="fa" style="--c:7;--k1:var(--c1);--k2:var(--c2)"></i><i class="fa" style="--c:8;--k1:var(--c2);--k2:var(--c1)"></i><i class="fa" style="--c:9;--k1:#e2e8f0;--k2:var(--c2)"></i><i class="fa" style="--c:10;--k1:var(--c1);--k2:var(--c1)"></i><i class="fa" style="--c:11;--k1:var(--c2);--k2:var(--c2)"></i><i class="fa" style="--c:12;--k1:#e2e8f0;--k2:var(--c1)"></i><i class="fa" style="--c:13;--k1:var(--c1);--k2:var(--c2)"></i><i class="fa" style="--c:14;--k1:var(--c2);--k2:var(--c1)"></i><i class="fa" style="--c:15;--k1:#e2e8f0;--k2:var(--c2)"></i><i class="fa" style="--c:0;--k1:var(--c2);--k2:var(--c1)"></i><i class="fa" style="--c:1;--k1:#e2e8f0;--k2:var(--c2)"></i><i class="fa" style="--c:2;--k1:var(--c1);--k2:var(--c1)"></i><i class="fa" style="--c:3;--k1:var(--c2);--k2:var(--c2)"></i><i class="fa" style="--c:4;--k1:#e2e8f0;--k2:var(--c1)"></i><i class="fa" style="--c:5;--k1:var(--c1);--k2:var(--c2)"></i><i class="fa" style="--c:6;--k1:var(--c2);--k2:var(--c1)"></i><i class="fa" style="--c:7;--k1:#e2e8f0;--k2:var(--c2)"></i><i class="fa" style="--c:8;--k1:var(--c1);--k2:var(--c1)"></i><i class="fa" style="--c:9;--k1:var(--c2);--k2:var(--c2)"></i><i class="fa" style="--c:10;--k1:#e2e8f0;--k2:var(--c1)"></i><i class="fa" style="--c:11;--k1:var(--c1);--k2:var(--c2)"></i><i class="fa" style="--c:12;--k1:var(--c2);--k2:var(--c1)"></i><i class="fa" style="--c:13;--k1:#e2e8f0;--k2:var(--c2)"></i><i class="fa" style="--c:14;--k1:var(--c1);--k2:var(--c1)"></i><i class="fa" style="--c:15;--k1:var(--c2);--k2:var(--c2)"></i></span><div class="sc"><span class="sr">Spain 2, France 1</span><span class="tm" aria-hidden="true"><i class="fl es"></i>ESP</span><span class="nm h" aria-hidden="true"><span class="rl"><b>1</b><b>2</b></span></span><span class="sp" aria-hidden="true">–</span><span class="nm" aria-hidden="true"><span class="rl"><b>1</b></span></span><span class="tm" aria-hidden="true">FRA<i class="fl fr"></i></span></div><div class="ft"><span class="tx"><b>Goal for Spain</b><small>Minute 78 · assist by Olga</small></span><button type="button" class="wv">Do the wave</button></div></div></div>
```

### CSS

```css
.uvq09-gol {
  --c1: #dc2626;
  --c2: #facc15;
  --s: 16px;
  /* tamaño */
  --k: 1;
  /* velocidad */
  --fg: #1d1d1f;
  /* texto */
  --bg: #f5f5f7;
  /* fondo */
}

.uvq09-gol {
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif;
  font-size: var(--s);
  color: var(--fg);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  width: 21em;
  height: 15em;
  height: 16em;
}

.uvq09-gol .fire {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  left: 50%;
  top: 1.2em;
  translate: -50% 0;
  padding: .6em 1.1em;
  border-radius: 2em;
  font-size: .82em;
  font-weight: 650;
  white-space: nowrap;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
  background: color-mix(in srgb,var(--fg) 6%,transparent);
  transition: color calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-gol .fire:hover {
  color: var(--fg);
  background: color-mix(in srgb,var(--fg) 10%,transparent);
}

.uvq09-gol .fire:active {
  scale: .96;
}

.uvq09-gol .fire:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq09-gol .tt {
  position: absolute;
  left: 50%;
  bottom: 1em;
  width: 19em;
  translate: -50% 0;
  border-radius: 1.1em;
  background: color-mix(in srgb,var(--fg) 3%,var(--bg));
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 10%,transparent),0 1.2em 2.4em -1em rgba(0,0,0,.45);
  overflow: hidden;
  transform: translateY(130%) scale(.92);
  opacity: 0;
  transition: transform calc(0.55s / var(--k)) cubic-bezier(.22,1,.36,1),opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-gol .tt.in {
  transform: none;
  opacity: 1;
}

.uvq09-gol .std {
  position: relative;
  display: grid;
  grid-template-columns: repeat(16,1fr);
  gap: .22em .18em;
  padding: 1.05em .9em .55em;
  background: linear-gradient(#1e293b,#0f172a 70%,#14532d 70.5%,#166534);
  border-bottom: .2em solid #f8fafc;
}

.uvq09-gol .std::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: .45em;
  background: repeating-linear-gradient(90deg,#334155 0 .6em,#1e293b .6em .7em);
}

.uvq09-gol .lt {
  position: absolute;
  top: .15em;
  width: .9em;
  height: .28em;
  border-radius: .1em;
  background: #fef9c3;
  box-shadow: 0 0 .6em .2em rgba(254,249,195,.55);
}

.uvq09-gol .l1 {
  left: 1.2em;
}

.uvq09-gol .l2 {
  right: 1.2em;
}

.uvq09-gol .fa {
  position: relative;
  justify-self: center;
  width: .62em;
  height: .62em;
  border-radius: 50% 50% .15em .15em;
  background: var(--k1);
  transform-origin: bottom;
}

.uvq09-gol .fa::after {
  content: "";
  position: absolute;
  left: -.12em;
  right: -.12em;
  top: -.34em;
  height: .22em;
  border-radius: .1em;
  background: var(--k2);
  opacity: 0;
}

.uvq09-gol .tt.in .fa {
  animation: uvq09-gol-w calc(1.1s / var(--k)) cubic-bezier(.25,.1,.25,1) calc((.55s + var(--c) * .055s) / var(--k)) 2;
}

.uvq09-gol .tt.re .fa {
  animation-name: uvq09-gol-w2;
}

.uvq09-gol .tt.in .fa::after {
  animation: uvq09-gol-s calc(1.1s / var(--k)) cubic-bezier(.25,.1,.25,1) calc((.55s + var(--c) * .055s) / var(--k)) 2;
}

.uvq09-gol .tt.re .fa::after {
  animation-name: uvq09-gol-s2;
}

.uvq09-gol .sc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .6em .9em .1em;
  font-weight: 800;
}

.uvq09-gol .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.uvq09-gol .tm {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: .78em;
  letter-spacing: .08em;
}

.uvq09-gol .fl {
  width: 1.3em;
  height: .9em;
  border-radius: .15em;
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 15%,transparent);
}

.uvq09-gol .es {
  background: linear-gradient(var(--c1) 25%,var(--c2) 25% 75%,var(--c1) 75%);
}

.uvq09-gol .fr {
  background: linear-gradient(90deg,#1d4ed8 33%,#fff 33% 66%,#ef4444 66%);
}

.uvq09-gol .nm {
  display: block;
  height: 1.6em;
  overflow: hidden;
  padding: 0 .3em;
  border-radius: .3em;
  font-size: 1.25em;
  line-height: 1.6em;
  font-variant-numeric: tabular-nums;
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq09-gol .rl {
  display: grid;
  transition: transform calc(0.6s / var(--k)) cubic-bezier(.34,1.56,.64,1) calc(0.35s / var(--k));
}

.uvq09-gol .tt.in .h .rl {
  transform: translateY(-1.6em);
}

.uvq09-gol .tt.in .h {
  animation: uvq09-gol-g calc(0.7s / var(--k)) cubic-bezier(.25,.1,.25,1) calc(0.8s / var(--k));
}

.uvq09-gol .sp {
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq09-gol .ft {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: .45em .9em .8em;
}

.uvq09-gol .tx {
  display: grid;
  flex: 1;
  gap: .1em;
  min-width: 0;
}

.uvq09-gol .tx b {
  font-size: .92em;
}

.uvq09-gol small {
  font-size: .7em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq09-gol .wv {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex: none;
  padding: .5em .8em;
  border-radius: 2em;
  font-size: .74em;
  font-weight: 750;
  white-space: nowrap;
  color: #fff;
  background: var(--c1);
  transition: filter calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-gol .wv:hover {
  filter: brightness(1.1);
}

.uvq09-gol .wv:active {
  scale: .94;
}

.uvq09-gol .wv:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

@keyframes uvq09-gol-w {
  0%,45%,100% {
    transform: none;
    filter: none;
  }
  15% {
    transform: translateY(-.4em) scaleY(1.15);
    filter: brightness(1.35);
  }
}

@keyframes uvq09-gol-w2 {
  0%,45%,100% {
    transform: none;
    filter: none;
  }
  15% {
    transform: translateY(-.4em) scaleY(1.15);
    filter: brightness(1.35);
  }
}

@keyframes uvq09-gol-s {
  0%,45%,100% {
    opacity: 0;
    transform: none;
  }
  15% {
    opacity: 1;
    transform: translateY(-.15em);
  }
}

@keyframes uvq09-gol-s2 {
  0%,45%,100% {
    opacity: 0;
    transform: none;
  }
  15% {
    opacity: 1;
    transform: translateY(-.15em);
  }
}

@keyframes uvq09-gol-g {
  40% {
    box-shadow: 0 0 0 .25em color-mix(in srgb,var(--c2) 55%,transparent);
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion:reduce) {
  .uvq09-gol,.uvq09-gol *,.uvq09-gol *::before,.uvq09-gol *::after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
  }
}
```

### JavaScript

```js
document.querySelectorAll(".uvq09-gol").forEach(el => {
  const t=el.querySelector(".tt"),f=el.querySelector(".fire");let tm=[];const clr=()=>{tm.forEach(clearTimeout);tm=[]};const later=(fn,ms)=>tm.push(setTimeout(fn,ms));
const show=()=>{clr();t.classList.remove("in","out");void t.offsetWidth;later(()=>{t.classList.add("in");t.classList.remove('re')},60)};
const hide=()=>{t.classList.remove("in");t.classList.add("out")};f.addEventListener("click",show);show();t.querySelector(".wv").addEventListener("click",()=>{t.classList.toggle("re")});return clr
});
```

### React

```tsx
// @ts-nocheck: setup() es JavaScript del DOM sin tipos, el mismo de la pestaña JS.
import { useEffect, useRef, type CSSProperties } from "react";

const css = `
.uvq09-gol {
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif;
  font-size: var(--s);
  color: var(--fg);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  width: 21em;
  height: 15em;
  height: 16em;
}

.uvq09-gol .fire {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  left: 50%;
  top: 1.2em;
  translate: -50% 0;
  padding: .6em 1.1em;
  border-radius: 2em;
  font-size: .82em;
  font-weight: 650;
  white-space: nowrap;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
  background: color-mix(in srgb,var(--fg) 6%,transparent);
  transition: color calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-gol .fire:hover {
  color: var(--fg);
  background: color-mix(in srgb,var(--fg) 10%,transparent);
}

.uvq09-gol .fire:active {
  scale: .96;
}

.uvq09-gol .fire:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq09-gol .tt {
  position: absolute;
  left: 50%;
  bottom: 1em;
  width: 19em;
  translate: -50% 0;
  border-radius: 1.1em;
  background: color-mix(in srgb,var(--fg) 3%,var(--bg));
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 10%,transparent),0 1.2em 2.4em -1em rgba(0,0,0,.45);
  overflow: hidden;
  transform: translateY(130%) scale(.92);
  opacity: 0;
  transition: transform calc(0.55s / var(--k)) cubic-bezier(.22,1,.36,1),opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-gol .tt.in {
  transform: none;
  opacity: 1;
}

.uvq09-gol .std {
  position: relative;
  display: grid;
  grid-template-columns: repeat(16,1fr);
  gap: .22em .18em;
  padding: 1.05em .9em .55em;
  background: linear-gradient(#1e293b,#0f172a 70%,#14532d 70.5%,#166534);
  border-bottom: .2em solid #f8fafc;
}

.uvq09-gol .std::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: .45em;
  background: repeating-linear-gradient(90deg,#334155 0 .6em,#1e293b .6em .7em);
}

.uvq09-gol .lt {
  position: absolute;
  top: .15em;
  width: .9em;
  height: .28em;
  border-radius: .1em;
  background: #fef9c3;
  box-shadow: 0 0 .6em .2em rgba(254,249,195,.55);
}

.uvq09-gol .l1 {
  left: 1.2em;
}

.uvq09-gol .l2 {
  right: 1.2em;
}

.uvq09-gol .fa {
  position: relative;
  justify-self: center;
  width: .62em;
  height: .62em;
  border-radius: 50% 50% .15em .15em;
  background: var(--k1);
  transform-origin: bottom;
}

.uvq09-gol .fa::after {
  content: "";
  position: absolute;
  left: -.12em;
  right: -.12em;
  top: -.34em;
  height: .22em;
  border-radius: .1em;
  background: var(--k2);
  opacity: 0;
}

.uvq09-gol .tt.in .fa {
  animation: uvq09-gol-w calc(1.1s / var(--k)) cubic-bezier(.25,.1,.25,1) calc((.55s + var(--c) * .055s) / var(--k)) 2;
}

.uvq09-gol .tt.re .fa {
  animation-name: uvq09-gol-w2;
}

.uvq09-gol .tt.in .fa::after {
  animation: uvq09-gol-s calc(1.1s / var(--k)) cubic-bezier(.25,.1,.25,1) calc((.55s + var(--c) * .055s) / var(--k)) 2;
}

.uvq09-gol .tt.re .fa::after {
  animation-name: uvq09-gol-s2;
}

.uvq09-gol .sc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .6em .9em .1em;
  font-weight: 800;
}

.uvq09-gol .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.uvq09-gol .tm {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: .78em;
  letter-spacing: .08em;
}

.uvq09-gol .fl {
  width: 1.3em;
  height: .9em;
  border-radius: .15em;
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 15%,transparent);
}

.uvq09-gol .es {
  background: linear-gradient(var(--c1) 25%,var(--c2) 25% 75%,var(--c1) 75%);
}

.uvq09-gol .fr {
  background: linear-gradient(90deg,#1d4ed8 33%,#fff 33% 66%,#ef4444 66%);
}

.uvq09-gol .nm {
  display: block;
  height: 1.6em;
  overflow: hidden;
  padding: 0 .3em;
  border-radius: .3em;
  font-size: 1.25em;
  line-height: 1.6em;
  font-variant-numeric: tabular-nums;
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq09-gol .rl {
  display: grid;
  transition: transform calc(0.6s / var(--k)) cubic-bezier(.34,1.56,.64,1) calc(0.35s / var(--k));
}

.uvq09-gol .tt.in .h .rl {
  transform: translateY(-1.6em);
}

.uvq09-gol .tt.in .h {
  animation: uvq09-gol-g calc(0.7s / var(--k)) cubic-bezier(.25,.1,.25,1) calc(0.8s / var(--k));
}

.uvq09-gol .sp {
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq09-gol .ft {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: .45em .9em .8em;
}

.uvq09-gol .tx {
  display: grid;
  flex: 1;
  gap: .1em;
  min-width: 0;
}

.uvq09-gol .tx b {
  font-size: .92em;
}

.uvq09-gol small {
  font-size: .7em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq09-gol .wv {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex: none;
  padding: .5em .8em;
  border-radius: 2em;
  font-size: .74em;
  font-weight: 750;
  white-space: nowrap;
  color: #fff;
  background: var(--c1);
  transition: filter calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-gol .wv:hover {
  filter: brightness(1.1);
}

.uvq09-gol .wv:active {
  scale: .94;
}

.uvq09-gol .wv:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

@keyframes uvq09-gol-w {
  0%,45%,100% {
    transform: none;
    filter: none;
  }
  15% {
    transform: translateY(-.4em) scaleY(1.15);
    filter: brightness(1.35);
  }
}

@keyframes uvq09-gol-w2 {
  0%,45%,100% {
    transform: none;
    filter: none;
  }
  15% {
    transform: translateY(-.4em) scaleY(1.15);
    filter: brightness(1.35);
  }
}

@keyframes uvq09-gol-s {
  0%,45%,100% {
    opacity: 0;
    transform: none;
  }
  15% {
    opacity: 1;
    transform: translateY(-.15em);
  }
}

@keyframes uvq09-gol-s2 {
  0%,45%,100% {
    opacity: 0;
    transform: none;
  }
  15% {
    opacity: 1;
    transform: translateY(-.15em);
  }
}

@keyframes uvq09-gol-g {
  40% {
    box-shadow: 0 0 0 .25em color-mix(in srgb,var(--c2) 55%,transparent);
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion:reduce) {
  .uvq09-gol,.uvq09-gol *,.uvq09-gol *::before,.uvq09-gol *::after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
  }
}
`;

// Interacción en JavaScript del DOM: la misma que en la pestaña JS.
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function setup(el: any) {
  const t=el.querySelector(".tt"),f=el.querySelector(".fire");let tm=[];const clr=()=>{tm.forEach(clearTimeout);tm=[]};const later=(fn,ms)=>tm.push(setTimeout(fn,ms));
const show=()=>{clr();t.classList.remove("in","out");void t.offsetWidth;later(()=>{t.classList.add("in");t.classList.remove('re')},60)};
const hide=()=>{t.classList.remove("in");t.classList.add("out")};f.addEventListener("click",show);show();t.querySelector(".wv").addEventListener("click",()=>{t.classList.toggle("re")});return clr
}

export default function ToastStadiumWave() {
  const ref = useRef<HTMLDivElement>(null);

  useEffect(() => {
    const el = ref.current?.firstElementChild;
    return el ? setup(el) : undefined;
  }, []);

  return (
    <>
      <style>{css}</style>
      <div
        ref={ref} style={{
          "--c1": "#dc2626",
          "--c2": "#facc15",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <div className="uvq09-gol"><button type="button" className="fire">Score another</button><div className="tt" role="status"><span className="std" aria-hidden="true"><i className="lt l1"></i><i className="lt l2"></i><i className="fa" style={{ "--c": "0", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "1", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "2", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "3", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "4", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "5", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "6", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "7", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "8", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "9", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "10", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "11", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "12", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "13", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "14", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "15", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "0", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "1", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "2", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "3", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "4", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "5", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "6", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "7", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "8", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "9", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "10", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "11", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "12", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "13", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "14", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "15", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "0", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "1", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "2", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "3", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "4", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "5", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "6", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "7", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "8", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "9", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "10", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "11", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "12", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "13", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "14", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "15", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i></span><div className="sc"><span className="sr">Spain 2, France 1</span><span className="tm" aria-hidden="true"><i className="fl es"></i>ESP</span><span className="nm h" aria-hidden="true"><span className="rl"><b>1</b><b>2</b></span></span><span className="sp" aria-hidden="true">–</span><span className="nm" aria-hidden="true"><span className="rl"><b>1</b></span></span><span className="tm" aria-hidden="true">FRA<i className="fl fr"></i></span></div><div className="ft"><span className="tx"><b>Goal for Spain</b><small>Minute 78 · assist by Olga</small></span><button type="button" className="wv">Do the wave</button></div></div></div>
      </div>
    </>
  );
}
```

## Prompt for AI assistants

Paste this into ChatGPT, Claude, Cursor, v0 or Lovable to adapt the block to your stack (Tailwind, Vue, Svelte…):

````text
I want to add the “Goal toast with stadium wave” block (Toasts) from AIMRAN Library to my project.

## What it is
A goal rolls the score up by one and the crowd does the wave across the stand; a button starts it again.

## Chosen settings
- Main color: #dc2626
- Secondary color: #facc15
- Size: 16px (from 12 to 24px)
- Speed: 1x (from 0.5 to 2x)
- Text: "Gol de España"

## What I need
1. Add it to my project with the same look and animation as the reference code: same sizes, colours, radii, shadows, timings and easing.
2. It is built with plain HTML and CSS (the reference wraps it in a React component with its CSS). If my project uses something else (Vue, Svelte, Astro, plain HTML…), translate it without losing any behaviour. If I use Tailwind, turn the styles into classes; if not, keep the CSS in its own file.
3. Expose the settings above as props (or CSS variables) with those values as defaults.
4. Make it work well on phones: nothing that depends only on hover, touch targets of at least 44 px and no overflow on 320 px screens.
5. Make it look right in light and dark mode.
6. Keep it accessible: semantic HTML, roles and aria-* where needed, visible focus and keyboard support.
7. Respect prefers-reduced-motion: with reduced motion, no big animations but the same end result.

## Reference code
```tsx
// @ts-nocheck: setup() es JavaScript del DOM sin tipos, el mismo de la pestaña JS.
import { useEffect, useRef, type CSSProperties } from "react";

const css = `
.uvq09-gol {
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif;
  font-size: var(--s);
  color: var(--fg);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  width: 21em;
  height: 15em;
  height: 16em;
}

.uvq09-gol .fire {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  left: 50%;
  top: 1.2em;
  translate: -50% 0;
  padding: .6em 1.1em;
  border-radius: 2em;
  font-size: .82em;
  font-weight: 650;
  white-space: nowrap;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
  background: color-mix(in srgb,var(--fg) 6%,transparent);
  transition: color calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-gol .fire:hover {
  color: var(--fg);
  background: color-mix(in srgb,var(--fg) 10%,transparent);
}

.uvq09-gol .fire:active {
  scale: .96;
}

.uvq09-gol .fire:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq09-gol .tt {
  position: absolute;
  left: 50%;
  bottom: 1em;
  width: 19em;
  translate: -50% 0;
  border-radius: 1.1em;
  background: color-mix(in srgb,var(--fg) 3%,var(--bg));
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 10%,transparent),0 1.2em 2.4em -1em rgba(0,0,0,.45);
  overflow: hidden;
  transform: translateY(130%) scale(.92);
  opacity: 0;
  transition: transform calc(0.55s / var(--k)) cubic-bezier(.22,1,.36,1),opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-gol .tt.in {
  transform: none;
  opacity: 1;
}

.uvq09-gol .std {
  position: relative;
  display: grid;
  grid-template-columns: repeat(16,1fr);
  gap: .22em .18em;
  padding: 1.05em .9em .55em;
  background: linear-gradient(#1e293b,#0f172a 70%,#14532d 70.5%,#166534);
  border-bottom: .2em solid #f8fafc;
}

.uvq09-gol .std::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: .45em;
  background: repeating-linear-gradient(90deg,#334155 0 .6em,#1e293b .6em .7em);
}

.uvq09-gol .lt {
  position: absolute;
  top: .15em;
  width: .9em;
  height: .28em;
  border-radius: .1em;
  background: #fef9c3;
  box-shadow: 0 0 .6em .2em rgba(254,249,195,.55);
}

.uvq09-gol .l1 {
  left: 1.2em;
}

.uvq09-gol .l2 {
  right: 1.2em;
}

.uvq09-gol .fa {
  position: relative;
  justify-self: center;
  width: .62em;
  height: .62em;
  border-radius: 50% 50% .15em .15em;
  background: var(--k1);
  transform-origin: bottom;
}

.uvq09-gol .fa::after {
  content: "";
  position: absolute;
  left: -.12em;
  right: -.12em;
  top: -.34em;
  height: .22em;
  border-radius: .1em;
  background: var(--k2);
  opacity: 0;
}

.uvq09-gol .tt.in .fa {
  animation: uvq09-gol-w calc(1.1s / var(--k)) cubic-bezier(.25,.1,.25,1) calc((.55s + var(--c) * .055s) / var(--k)) 2;
}

.uvq09-gol .tt.re .fa {
  animation-name: uvq09-gol-w2;
}

.uvq09-gol .tt.in .fa::after {
  animation: uvq09-gol-s calc(1.1s / var(--k)) cubic-bezier(.25,.1,.25,1) calc((.55s + var(--c) * .055s) / var(--k)) 2;
}

.uvq09-gol .tt.re .fa::after {
  animation-name: uvq09-gol-s2;
}

.uvq09-gol .sc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .6em .9em .1em;
  font-weight: 800;
}

.uvq09-gol .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.uvq09-gol .tm {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: .78em;
  letter-spacing: .08em;
}

.uvq09-gol .fl {
  width: 1.3em;
  height: .9em;
  border-radius: .15em;
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 15%,transparent);
}

.uvq09-gol .es {
  background: linear-gradient(var(--c1) 25%,var(--c2) 25% 75%,var(--c1) 75%);
}

.uvq09-gol .fr {
  background: linear-gradient(90deg,#1d4ed8 33%,#fff 33% 66%,#ef4444 66%);
}

.uvq09-gol .nm {
  display: block;
  height: 1.6em;
  overflow: hidden;
  padding: 0 .3em;
  border-radius: .3em;
  font-size: 1.25em;
  line-height: 1.6em;
  font-variant-numeric: tabular-nums;
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq09-gol .rl {
  display: grid;
  transition: transform calc(0.6s / var(--k)) cubic-bezier(.34,1.56,.64,1) calc(0.35s / var(--k));
}

.uvq09-gol .tt.in .h .rl {
  transform: translateY(-1.6em);
}

.uvq09-gol .tt.in .h {
  animation: uvq09-gol-g calc(0.7s / var(--k)) cubic-bezier(.25,.1,.25,1) calc(0.8s / var(--k));
}

.uvq09-gol .sp {
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq09-gol .ft {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: .45em .9em .8em;
}

.uvq09-gol .tx {
  display: grid;
  flex: 1;
  gap: .1em;
  min-width: 0;
}

.uvq09-gol .tx b {
  font-size: .92em;
}

.uvq09-gol small {
  font-size: .7em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq09-gol .wv {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex: none;
  padding: .5em .8em;
  border-radius: 2em;
  font-size: .74em;
  font-weight: 750;
  white-space: nowrap;
  color: #fff;
  background: var(--c1);
  transition: filter calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-gol .wv:hover {
  filter: brightness(1.1);
}

.uvq09-gol .wv:active {
  scale: .94;
}

.uvq09-gol .wv:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

@keyframes uvq09-gol-w {
  0%,45%,100% {
    transform: none;
    filter: none;
  }
  15% {
    transform: translateY(-.4em) scaleY(1.15);
    filter: brightness(1.35);
  }
}

@keyframes uvq09-gol-w2 {
  0%,45%,100% {
    transform: none;
    filter: none;
  }
  15% {
    transform: translateY(-.4em) scaleY(1.15);
    filter: brightness(1.35);
  }
}

@keyframes uvq09-gol-s {
  0%,45%,100% {
    opacity: 0;
    transform: none;
  }
  15% {
    opacity: 1;
    transform: translateY(-.15em);
  }
}

@keyframes uvq09-gol-s2 {
  0%,45%,100% {
    opacity: 0;
    transform: none;
  }
  15% {
    opacity: 1;
    transform: translateY(-.15em);
  }
}

@keyframes uvq09-gol-g {
  40% {
    box-shadow: 0 0 0 .25em color-mix(in srgb,var(--c2) 55%,transparent);
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion:reduce) {
  .uvq09-gol,.uvq09-gol *,.uvq09-gol *::before,.uvq09-gol *::after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
  }
}
`;

// Interacción en JavaScript del DOM: la misma que en la pestaña JS.
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function setup(el: any) {
  const t=el.querySelector(".tt"),f=el.querySelector(".fire");let tm=[];const clr=()=>{tm.forEach(clearTimeout);tm=[]};const later=(fn,ms)=>tm.push(setTimeout(fn,ms));
const show=()=>{clr();t.classList.remove("in","out");void t.offsetWidth;later(()=>{t.classList.add("in");t.classList.remove('re')},60)};
const hide=()=>{t.classList.remove("in");t.classList.add("out")};f.addEventListener("click",show);show();t.querySelector(".wv").addEventListener("click",()=>{t.classList.toggle("re")});return clr
}

export default function ToastStadiumWave() {
  const ref = useRef<HTMLDivElement>(null);

  useEffect(() => {
    const el = ref.current?.firstElementChild;
    return el ? setup(el) : undefined;
  }, []);

  return (
    <>
      <style>{css}</style>
      <div
        ref={ref} style={{
          "--c1": "#dc2626",
          "--c2": "#facc15",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <div className="uvq09-gol"><button type="button" className="fire">Score another</button><div className="tt" role="status"><span className="std" aria-hidden="true"><i className="lt l1"></i><i className="lt l2"></i><i className="fa" style={{ "--c": "0", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "1", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "2", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "3", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "4", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "5", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "6", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "7", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "8", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "9", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "10", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "11", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "12", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "13", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "14", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "15", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "0", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "1", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "2", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "3", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "4", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "5", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "6", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "7", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "8", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "9", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "10", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "11", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "12", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "13", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "14", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "15", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "0", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "1", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "2", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "3", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "4", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "5", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "6", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "7", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "8", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "9", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "10", "--k1": "#e2e8f0", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "11", "--k1": "var(--c1)", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "12", "--k1": "var(--c2)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "13", "--k1": "#e2e8f0", "--k2": "var(--c2)" } as CSSProperties}></i><i className="fa" style={{ "--c": "14", "--k1": "var(--c1)", "--k2": "var(--c1)" } as CSSProperties}></i><i className="fa" style={{ "--c": "15", "--k1": "var(--c2)", "--k2": "var(--c2)" } as CSSProperties}></i></span><div className="sc"><span className="sr">Spain 2, France 1</span><span className="tm" aria-hidden="true"><i className="fl es"></i>ESP</span><span className="nm h" aria-hidden="true"><span className="rl"><b>1</b><b>2</b></span></span><span className="sp" aria-hidden="true">–</span><span className="nm" aria-hidden="true"><span className="rl"><b>1</b></span></span><span className="tm" aria-hidden="true">FRA<i className="fl fr"></i></span></div><div className="ft"><span className="tx"><b>Goal for Spain</b><small>Minute 78 · assist by Olga</small></span><button type="button" className="wv">Do the wave</button></div></div></div>
      </div>
    </>
  );
}
```

Give me the complete final code, ready to paste, and tell me in one line where to put it in my project.
````
