/* TV: escenario fijo 1920×1080 escalado al tamaño real de la pantalla. Solo grid y transform: corre en navegadores de Smart TV. */
/* Tema de la TV: oscuro por defecto (interiores y noche); claro para TVs al sol. Se elige en la mesa (Ajustes). */
html { --tv-bg: #0d1130; --tv-fg: #f3f5fb; --tv-dim: #a9b1dc; --tv-faint: #57609e; --tv-tile: #222a60; --tv-panel: #151a42; --tv-panel-2: #1b2150;
  --tv-slab: #f3f5fb; --tv-slab-ink: #151a42; --tv-slab-off: #222a60; --tv-slab-off-ink: #a9b1dc; --tv-net: rgba(243, 245, 251, 0.92);
  --tv-accent: #6cc3f2; --tv-tb: #f4e93b; --tv-chip: #f3f5fb; --tv-chip-ink: #151a42; --tv-sweep: rgba(243, 245, 251, 0.2); --tv-card: #f3f5fb;
  --tv-card-edge: transparent; --tv-pill: #222a60; --tv-focus: #f4e93b; --tv-flag-edge: rgba(255, 255, 255, 0.12); --tv-ball-edge: transparent; }
html[data-theme='light'] { --tv-bg: #eef2f8; --tv-fg: #151a42; --tv-dim: #57609e; --tv-faint: #7c84b5; --tv-tile: #d3ddef; --tv-panel: #ffffff; --tv-panel-2: #ffffff;
  --tv-slab: #151a42; --tv-slab-ink: #f3f5fb; --tv-slab-off: #dfe5f0; --tv-slab-off-ink: #7c84b5; --tv-net: #151a42;
  --tv-accent: #1c6b9e; --tv-tb: #1c6b9e; --tv-chip: #151a42; --tv-chip-ink: #f3f5fb; --tv-sweep: rgba(21, 26, 66, 0.08); --tv-card: #ffffff;
  --tv-card-edge: rgba(21, 26, 66, 0.14); --tv-pill: #151a42; --tv-focus: #151a42; --tv-flag-edge: rgba(21, 26, 66, 0.18); --tv-ball-edge: #151a42; color-scheme: light; }
html { color-scheme: dark; }
html, body { height: 100%; }
.t-set, .t-pts, .tile-row .sets, .tile-row .pts { font-variant-numeric: tabular-nums; }
body.tv { margin: 0; overflow: hidden; background: var(--tv-bg); color: var(--tv-fg); cursor: none; }
body.tv.show-cursor { cursor: default; }
.stage {
  position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; margin: -540px 0 0 -960px;
  transform-origin: 50% 50%; overflow: hidden; background: var(--tv-bg);
  font-family: var(--font-score); -webkit-font-smoothing: antialiased;
}
.stage .ph { background: var(--tv-tile); border-radius: 18px; }
.stage .ph-ini { color: var(--tv-dim); font-size: 96px; }
.stage .flag { box-shadow: 0 0 0 2px var(--tv-flag-edge); border-radius: 4px; }

/* ---------- cabecera común ---------- */
.t-head { position: absolute; left: 72px; right: 72px; top: 48px; height: 140px; display: grid; grid-template-columns: auto 1fr auto; grid-column-gap: 28px; align-items: center; }
.t-logo { height: 104px; width: auto; max-width: 260px; object-fit: contain; }
.t-event { min-width: 0; }
.t-event-name { font-size: 56px; font-weight: 800; line-height: 1.02; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.005em; }
.t-court { margin-top: 6px; font-size: 40px; font-weight: 700; color: var(--tv-accent); line-height: 1.1; white-space: nowrap; }
.t-meta { text-align: right; }
.t-phase { font-size: 60px; font-weight: 800; line-height: 1.02; white-space: nowrap; }
.t-sub { margin-top: 6px; font-size: 38px; font-weight: 600; color: var(--tv-dim); line-height: 1.1; white-space: nowrap; }

/* ---------- marcador en vivo ---------- */
.board .t-cols, .board .t-row { position: absolute; left: 72px; right: 72px; display: grid; grid-column-gap: 24px; align-items: center; }
.board .t-cols, .board .t-row { grid-template-columns: 444px minmax(0, 1fr) auto 300px; }
.t-sets { display: flex; }
.t-sets > * + * { margin-left: 8px; }
.board .t-cols .t-sets .c { width: 128px; }
.board .t-cols { top: 196px; height: 48px; }
.board .t-cols .c { font-family: var(--font-ui); font-size: 30px; font-weight: 700; color: var(--tv-dim); text-align: center; letter-spacing: 0.01em; }
.board .t-cols .c-pts.is-tb { color: var(--tv-tb); }
.board .t-row { height: 316px; }
.board .t-row.a { top: 252px; }
.board .t-row.b { top: 600px; }
.t-net { position: absolute; left: 72px; right: 72px; top: 583px; height: 6px; background: var(--tv-net); border-radius: 3px; transform-origin: 50% 50%; }

.t-photos { display: grid; grid-template-columns: 216px 216px; grid-column-gap: 12px; height: 290px; }
.t-photos .ph { width: 216px; height: 290px; }
.t-names { min-width: 0; height: 290px; display: grid; grid-template-rows: 1fr 1fr; align-items: center; }
.t-name { display: flex; align-items: center; min-width: 0; height: 120px; }
.t-name .flag { width: 58px; margin-right: 22px; flex: none; }
.t-name .txt { flex: 0 1 auto; min-width: 0; height: 120px; display: flex; align-items: center; font-size: 92px; font-weight: 800; line-height: 1; text-transform: uppercase; white-space: nowrap; overflow: hidden; letter-spacing: 0.005em; }
.t-serve { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
.t-ball { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); box-shadow: inset -6px -6px 0 rgba(160, 150, 0, 0.35), 0 0 0 3px var(--tv-ball-edge); opacity: 0; transform: scale(0.6); transition: opacity 200ms ease, transform 260ms var(--ease-out); }
.t-name .t-ball { flex: none; width: 40px; height: 40px; margin-left: 22px; }
.t-name.is-serving .t-ball { opacity: 1; transform: none; }
.t-set { width: 128px; height: 290px; display: flex; align-items: center; justify-content: center; font-size: 150px; font-weight: 700; line-height: 1; color: var(--tv-fg); position: relative; }
.t-set.done { color: var(--tv-dim); }
.t-set.done.won { color: var(--tv-fg); }
.t-set .roll { height: 160px; line-height: 160px; min-width: 100px; }
.t-set .tb { position: absolute; right: -4px; top: 46px; font-size: 48px; font-weight: 700; color: var(--tv-dim); }
.t-pts { width: 300px; height: 290px; border-radius: 18px; background: var(--tv-slab); color: var(--tv-slab-ink); display: flex; align-items: center; justify-content: center; font-size: 230px; font-weight: 800; line-height: 1; }
.t-pts .roll { height: 240px; line-height: 240px; min-width: 260px; }
.t-pts.win { background: var(--yellow); color: #151a42; font-size: 96px; letter-spacing: 0.01em; }
.t-row.lost .t-photos, .t-row.lost .t-names { opacity: 0.42; }
.t-row.lost .t-pts { background: var(--tv-slab-off); color: var(--tv-slab-off-ink); }

.t-foot { position: absolute; left: 72px; right: 72px; bottom: 44px; height: 92px; display: flex; align-items: center; }
.t-chips { flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden; }
.t-sponsor { flex: none; height: 60px; width: auto; margin-left: 32px; }
.all .t-sponsor-top { position: absolute; right: 72px; top: 70px; height: 64px; margin: 0; }
.idle-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; min-height: 0; }
.idle-sponsor { height: 96px; width: auto; max-width: 520px; }
.idle-dates { margin-top: 8px; font-size: 44px; font-weight: 700; color: var(--tv-fg); }
.chip { display: inline-flex; align-items: center; height: 84px; padding: 0 34px; margin-right: 18px; border-radius: 42px; font-size: 46px; font-weight: 800; line-height: 1; white-space: nowrap; animation: chip-in 280ms var(--ease-out); }
.chip-yellow { background: var(--yellow); color: var(--navy-900); }
.chip-white { background: var(--tv-chip); color: var(--tv-chip-ink); }
.chip-sky { background: transparent; color: var(--tv-accent); box-shadow: inset 0 0 0 4px var(--tv-accent); }
.chip-plain { background: transparent; color: var(--tv-dim); padding-left: 0; animation: none; }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- presentación del partido ---------- */
.intro .i-row { position: absolute; left: 72px; right: 72px; height: 370px; display: grid; grid-template-columns: 300px 300px 1fr; grid-column-gap: 16px; align-items: end; }
.intro .i-row.a { top: 200px; }
.intro .i-row.b { top: 604px; }
.intro .t-net { top: 586px; }
.intro .ph { width: 300px; height: 370px; }
.i-names { padding-left: 40px; height: 370px; display: grid; grid-template-rows: 1fr 1fr; align-items: center; min-width: 0; }
.i-player { min-width: 0; }
.i-last { display: flex; align-items: center; height: 104px; min-width: 0; }
.i-last .flag { width: 64px; margin-right: 24px; flex: none; }
.i-last .txt { flex: 1; min-width: 0; height: 104px; display: flex; align-items: center; font-size: 100px; font-weight: 800; line-height: 1; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.i-first { margin-top: 4px; font-size: 42px; font-weight: 600; color: var(--tv-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.i-first b { color: var(--tv-fg); font-weight: 700; }
.intro .t-foot { bottom: 24px; height: 56px; }
.intro .t-foot .chip-plain { font-size: 38px; }

.anim .i-row.a, .anim .t-row.a { animation: in-left 560ms var(--ease-out) both; }
.anim .i-row.b, .anim .t-row.b { animation: in-right 560ms var(--ease-out) 60ms both; }
.anim .t-net { animation: net-draw 640ms var(--ease-out) both; }
@keyframes in-left { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes in-right { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes net-draw { from { transform: scaleX(0); } to { transform: none; } }

/* ---------- pista libre ---------- */
.idle { display: grid; grid-template-columns: 1fr 520px; grid-column-gap: 80px; position: absolute; left: 96px; right: 96px; top: 96px; bottom: 96px; }
.idle-main { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.idle-logo { height: 150px; width: auto; max-width: 420px; object-fit: contain; object-position: left center; margin-bottom: 40px; }
.idle-name { font-size: 112px; font-weight: 800; line-height: 0.98; letter-spacing: -0.01em; max-height: 340px; overflow: hidden; }
.idle-venue { margin-top: 24px; font-size: 44px; font-weight: 600; color: var(--tv-dim); }
.idle-court { font-size: 168px; font-weight: 800; line-height: 1; color: var(--tv-accent); white-space: nowrap; }
.idle-qr { background: var(--tv-card); color: #151a42; border-radius: 18px; padding: 40px; box-shadow: 0 0 0 2px var(--tv-card-edge); }
.idle-qr img { width: 440px; height: 440px; }
.idle-qr p { margin: 24px 0 0; font-family: var(--font-ui); font-size: 32px; font-weight: 700; line-height: 1.2; }
.idle-qr small { display: block; margin-top: 8px; font-family: var(--font-ui); font-size: 24px; font-weight: 500; color: var(--ink-2); }
.idle-local small { color: #3b4364; }

/* ---------- todas las pistas ---------- */
.all .t-head { height: 110px; }
.all-grid { position: absolute; left: 72px; right: 72px; top: 196px; bottom: 56px; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 28px 40px; }
.tile { background: var(--tv-panel); box-shadow: 0 0 0 2px var(--tv-card-edge); border-radius: 18px; padding: 22px 28px; display: grid; grid-template-rows: auto 1fr 1fr; grid-row-gap: 6px; min-height: 0; }
.tile-head { display: flex; align-items: baseline; justify-content: space-between; font-size: 36px; font-weight: 800; color: var(--tv-accent); white-space: nowrap; overflow: hidden; }
.tile-head span:last-child { font-size: 30px; font-weight: 600; color: var(--tv-dim); margin-left: 16px; overflow: hidden; text-overflow: ellipsis; }
.tile-row { display: grid; grid-template-columns: 1fr auto 40px 110px; grid-column-gap: 14px; align-items: center; min-height: 0; }
.tile-row .nm { font-size: 48px; font-weight: 800; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tile-row .sets { display: flex; }
.tile-row .sets span { width: 56px; text-align: center; font-size: 56px; font-weight: 700; color: var(--tv-dim); }
.tile-row .sets span.cur { color: var(--tv-fg); }
.tile-row .t-ball { width: 28px; height: 28px; box-shadow: none; }
.tile-row.serving .t-ball { opacity: 1; transform: none; }
.tile-row .pts { height: 76px; border-radius: 12px; background: var(--tv-slab); color: var(--tv-slab-ink); font-size: 60px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tile-row.won .pts { background: var(--yellow); color: #151a42; font-size: 34px; }
.tile-empty { grid-row: 2 / 4; display: flex; align-items: center; font-size: 44px; font-weight: 700; color: var(--tv-faint); }

/* ---------- elegir pista ---------- */
.tv-pick { position: absolute; left: 160px; right: 160px; top: 120px; bottom: 120px; }
.tv-pick h1 { margin: 0 0 48px; font-size: 84px; font-weight: 800; line-height: 1; }
.pick-list { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 24px; }
.pick-list a { display: flex; align-items: center; justify-content: space-between; height: 128px; padding: 0 40px; border-radius: 18px; background: var(--tv-panel-2); box-shadow: inset 0 0 0 2px var(--tv-card-edge); color: var(--tv-fg); text-decoration: none; font-size: 56px; font-weight: 800; outline: none; box-shadow: inset 0 0 0 4px transparent; transition: box-shadow 160ms ease, background-color 160ms ease; }
.pick-list a .icon { width: 56px; height: 56px; color: var(--tv-accent); }
.pick-list a:focus, .pick-list a:hover { background: var(--tv-panel-2); box-shadow: inset 0 0 0 6px var(--tv-focus); }
.tv-pick p { margin: 40px 0 0; font-family: var(--font-ui); font-size: 30px; color: var(--tv-dim); }

/* ---------- estado de conexión ---------- */
.t-link { position: absolute; right: 40px; bottom: 30px; display: none; align-items: center; height: 56px; padding: 0 26px; border-radius: 28px; background: var(--tv-pill); color: var(--sky); font-family: var(--font-ui); font-size: 26px; font-weight: 700; }
.t-link.on { display: flex; }
.t-link .icon { width: 30px; height: 30px; margin-right: 12px; }

@media (prefers-reduced-motion: reduce) {
  .anim .i-row.a, .anim .i-row.b, .anim .t-row.a, .anim .t-row.b, .anim .t-net, .chip { animation: fade 200ms ease both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
.tile-row .sets span.won { color: var(--tv-fg); }
.tile { grid-template-rows: auto 1fr 1fr auto; }
.tile-soon { font-size: 30px; font-weight: 700; color: var(--tv-tb); }

/* ---------- celebraciones: punto, juego, set y partido ----------
   Solo transform y opacity. El estado sin animación es el estado final correcto, así que una TV que no anime
   igual muestra todo bien. Cada regla y cada @keyframes lleva su versión -webkit- para navegadores de TV viejos. */

/* Punto */
.t-pts { position: relative; }
.t-pts.fx-pop { animation: fx-pop 440ms cubic-bezier(0.23, 1, 0.32, 1) both; -webkit-animation: fx-pop 440ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.fx-ring { position: absolute; left: -16px; top: -16px; right: -16px; bottom: -16px; border: 8px solid #f4e93b; border-radius: 30px; opacity: 0; pointer-events: none; animation: fx-ring 740ms cubic-bezier(0.23, 1, 0.32, 1) both; -webkit-animation: fx-ring 740ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.fx-ring-cell { left: -6px; right: -6px; top: 56px; bottom: 56px; border-width: 6px; border-radius: 22px; }
.t-row::before { content: ''; position: absolute; left: -38px; top: 13px; width: 12px; height: 290px; border-radius: 6px; background: #f4e93b; transform: scaleY(0); -webkit-transform: scaleY(0); transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1); -webkit-transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1); }
.t-row.is-last::before { transform: scaleY(1); -webkit-transform: scaleY(1); }



/* Juego */
.fx-sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 42%; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(244, 233, 59, 0), rgba(244, 233, 59, 0.5), rgba(244, 233, 59, 0)); animation: fx-sweep 1050ms cubic-bezier(0.23, 1, 0.32, 1) both; -webkit-animation: fx-sweep 1050ms cubic-bezier(0.23, 1, 0.32, 1) both; }


/* Set */
.fx-set { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 4; pointer-events: none; }
.fx-set-dim { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(13, 17, 48, 0.62); animation: fx-fade-in 320ms ease both; -webkit-animation: fx-fade-in 320ms ease both; }
.fx-set.is-out .fx-set-dim { animation: fx-fade-out 520ms ease both; -webkit-animation: fx-fade-out 520ms ease both; }
.fx-set-band { position: absolute; left: -180px; right: -180px; top: 300px; height: 480px; background: #f4e93b; color: #151a42; transform: skewX(-8deg); -webkit-transform: skewX(-8deg); animation: fx-band-in 640ms cubic-bezier(0.23, 1, 0.32, 1) both; -webkit-animation: fx-band-in 640ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.fx-set.is-out .fx-set-band { animation: fx-band-out 500ms cubic-bezier(0.77, 0, 0.175, 1) both; -webkit-animation: fx-band-out 500ms cubic-bezier(0.77, 0, 0.175, 1) both; }
.fx-set-in { position: absolute; left: 180px; right: 180px; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 120px; transform: skewX(8deg); -webkit-transform: skewX(8deg); }
.fx-set-num { flex: none; display: flex; flex-direction: column; align-items: center; margin-right: 90px; animation: fx-slide-x 620ms cubic-bezier(0.23, 1, 0.32, 1) 280ms both; -webkit-animation: fx-slide-x 620ms cubic-bezier(0.23, 1, 0.32, 1) 280ms both; }
.fx-set-k { font-size: 56px; font-weight: 700; line-height: 1.1; }
.fx-set-n { font-size: 300px; font-weight: 800; line-height: 0.9; }
.fx-set-who { flex: 1; min-width: 0; animation: fx-slide-x 620ms cubic-bezier(0.23, 1, 0.32, 1) 400ms both; -webkit-animation: fx-slide-x 620ms cubic-bezier(0.23, 1, 0.32, 1) 400ms both; }
.fx-set-name { height: 112px; display: flex; align-items: center; font-size: 100px; font-weight: 800; line-height: 1; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.fx-set-score { flex: none; margin-left: 60px; font-size: 220px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; animation: fx-pop-in 640ms cubic-bezier(0.23, 1, 0.32, 1) 560ms both; -webkit-animation: fx-pop-in 640ms cubic-bezier(0.23, 1, 0.32, 1) 560ms both; }





/* Partido */
.fx-m { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden; z-index: 5; }
.fx-m.is-out { animation: fx-fade-out 650ms ease both; -webkit-animation: fx-fade-out 650ms ease both; }
.fx-m-dim { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(13, 17, 48, 0.75); animation: fx-fade-in 260ms ease both; -webkit-animation: fx-fade-in 260ms ease both; }
.fx-m-burst { position: absolute; left: -440px; top: -860px; width: 2800px; height: 2800px; background: #f4e93b; transform: rotate(45deg) scale(1); -webkit-transform: rotate(45deg) scale(1); animation: fx-burst 760ms cubic-bezier(0.77, 0, 0.175, 1) 220ms both; -webkit-animation: fx-burst 760ms cubic-bezier(0.77, 0, 0.175, 1) 220ms both; }
.fx-m-rays { position: absolute; left: 960px; top: 560px; width: 0; height: 0; animation: fx-spin 13000ms linear 900ms both; -webkit-animation: fx-spin 13000ms linear 900ms both; }
.fx-m-ray { position: absolute; left: 0; top: -80px; width: 1400px; height: 160px; transform-origin: 0 50%; -webkit-transform-origin: 0 50%; background: linear-gradient(90deg, rgba(21, 26, 66, 0.15), rgba(21, 26, 66, 0)); }
.fx-m-content { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #151a42; }
.fx-m-trophy { display: block; width: 92px; height: 92px; margin-bottom: 4px; animation: fx-pop-in 600ms cubic-bezier(0.23, 1, 0.32, 1) 900ms both; -webkit-animation: fx-pop-in 600ms cubic-bezier(0.23, 1, 0.32, 1) 900ms both; }
.fx-m-trophy .icon { width: 92px; height: 92px; }
.fx-m-word { font-size: 180px; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; white-space: nowrap; }
.fx-m-l { display: inline-block; animation-name: fx-letter; -webkit-animation-name: fx-letter; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); animation-fill-mode: both; -webkit-animation-fill-mode: both; }
.fx-m-photos { display: flex; margin-top: 22px; }
.fx-m-player { display: flex; flex-direction: column; align-items: center; margin: 0 22px; }
.fx-m-player.l { animation: fx-from-left 720ms cubic-bezier(0.23, 1, 0.32, 1) 1500ms both; -webkit-animation: fx-from-left 720ms cubic-bezier(0.23, 1, 0.32, 1) 1500ms both; }
.fx-m-player.r { animation: fx-from-right 720ms cubic-bezier(0.23, 1, 0.32, 1) 1620ms both; -webkit-animation: fx-from-right 720ms cubic-bezier(0.23, 1, 0.32, 1) 1620ms both; }
.stage .fx-m-ph { position: relative; width: 320px; height: 400px; border-radius: 24px; background: #151a42; overflow: hidden; }
.fx-m-shine { position: absolute; top: 0; bottom: 0; left: 0; width: 45%; opacity: 0; pointer-events: none; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)); animation-name: fx-shine; -webkit-animation-name: fx-shine; animation-timing-function: ease; -webkit-animation-timing-function: ease; animation-fill-mode: both; -webkit-animation-fill-mode: both; }
.fx-m-name { margin-top: 16px; max-width: 380px; height: 84px; display: flex; align-items: center; font-size: 76px; font-weight: 800; line-height: 1; text-transform: uppercase; white-space: nowrap; overflow: hidden; animation: fx-up 600ms cubic-bezier(0.23, 1, 0.32, 1) 2000ms both; -webkit-animation: fx-up 600ms cubic-bezier(0.23, 1, 0.32, 1) 2000ms both; }
.fx-m-sets { display: flex; margin-top: 22px; }
.fx-m-set { margin: 0 10px; padding: 6px 28px; border-radius: 18px; background: #151a42; color: #f4e93b; font-size: 64px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; animation-name: fx-up; -webkit-animation-name: fx-up; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); animation-fill-mode: both; -webkit-animation-fill-mode: both; }
.fx-m-meta { margin-top: 18px; font-size: 40px; font-weight: 700; color: rgba(21, 26, 66, 0.8); animation: fx-up 600ms cubic-bezier(0.23, 1, 0.32, 1) 2900ms both; -webkit-animation: fx-up 600ms cubic-bezier(0.23, 1, 0.32, 1) 2900ms both; }
.fx-confetti { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; }
.fx-c { position: absolute; top: -50px; width: 18px; height: 28px; border-radius: 3px; backface-visibility: hidden; -webkit-backface-visibility: hidden; animation-timing-function: linear; -webkit-animation-timing-function: linear; animation-fill-mode: both; -webkit-animation-fill-mode: both; animation-iteration-count: 2; -webkit-animation-iteration-count: 2; }
.fx-c.v0 { animation-name: fx-fall-0; -webkit-animation-name: fx-fall-0; }
.fx-c.v1 { animation-name: fx-fall-1; -webkit-animation-name: fx-fall-1; }
.fx-c.v2 { animation-name: fx-fall-2; -webkit-animation-name: fx-fall-2; }
.fx-c.v3 { animation-name: fx-fall-3; -webkit-animation-name: fx-fall-3; }














@keyframes fx-pop { 0% { transform: scale(1); } 35% { transform: scale(1.08); } 100% { transform: scale(1); }}
@-webkit-keyframes fx-pop { 0% { -webkit-transform: scale(1); } 35% { -webkit-transform: scale(1.08); } 100% { -webkit-transform: scale(1); }}
@keyframes fx-ring { 0% { opacity: 1; transform: scale(0.92); } 45% { opacity: 1; } 100% { opacity: 0; transform: scale(1.16); }}
@-webkit-keyframes fx-ring { 0% { opacity: 1; -webkit-transform: scale(0.92); } 45% { opacity: 1; } 100% { opacity: 0; -webkit-transform: scale(1.16); }}
@keyframes fx-sweep { 0% { opacity: 1; transform: translate3d(-100%, 0, 0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate3d(250%, 0, 0); }}
@-webkit-keyframes fx-sweep { 0% { opacity: 1; -webkit-transform: translate3d(-100%, 0, 0); } 70% { opacity: 1; } 100% { opacity: 0; -webkit-transform: translate3d(250%, 0, 0); }}
@keyframes fx-band-in { 0% { transform: translate3d(-118%, 0, 0) skewX(-8deg); } 100% { transform: translate3d(0, 0, 0) skewX(-8deg); }}
@-webkit-keyframes fx-band-in { 0% { -webkit-transform: translate3d(-118%, 0, 0) skewX(-8deg); } 100% { -webkit-transform: translate3d(0, 0, 0) skewX(-8deg); }}
@keyframes fx-band-out { 0% { transform: translate3d(0, 0, 0) skewX(-8deg); } 100% { transform: translate3d(118%, 0, 0) skewX(-8deg); }}
@-webkit-keyframes fx-band-out { 0% { -webkit-transform: translate3d(0, 0, 0) skewX(-8deg); } 100% { -webkit-transform: translate3d(118%, 0, 0) skewX(-8deg); }}
@keyframes fx-slide-x { 0% { opacity: 0; transform: translate3d(-90px, 0, 0); } 100% { opacity: 1; transform: translate3d(0, 0, 0); }}
@-webkit-keyframes fx-slide-x { 0% { opacity: 0; -webkit-transform: translate3d(-90px, 0, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); }}
@keyframes fx-pop-in { 0% { opacity: 0; transform: scale(0.6); } 100% { opacity: 1; transform: scale(1); }}
@-webkit-keyframes fx-pop-in { 0% { opacity: 0; -webkit-transform: scale(0.6); } 100% { opacity: 1; -webkit-transform: scale(1); }}
@keyframes fx-fade-in { 0% { opacity: 0; } 100% { opacity: 1; }}
@-webkit-keyframes fx-fade-in { 0% { opacity: 0; } 100% { opacity: 1; }}
@keyframes fx-fade-out { 0% { opacity: 1; } 100% { opacity: 0; }}
@-webkit-keyframes fx-fade-out { 0% { opacity: 1; } 100% { opacity: 0; }}
@keyframes fx-burst { 0% { transform: rotate(45deg) scale(0); } 100% { transform: rotate(45deg) scale(1); }}
@-webkit-keyframes fx-burst { 0% { -webkit-transform: rotate(45deg) scale(0); } 100% { -webkit-transform: rotate(45deg) scale(1); }}
@keyframes fx-spin { 0% { opacity: 0; transform: rotate(0deg); } 10% { opacity: 1; } 100% { opacity: 1; transform: rotate(45deg); }}
@-webkit-keyframes fx-spin { 0% { opacity: 0; -webkit-transform: rotate(0deg); } 10% { opacity: 1; } 100% { opacity: 1; -webkit-transform: rotate(45deg); }}
@keyframes fx-letter { 0% { opacity: 0; transform: translate3d(0, 100px, 0) rotate(-8deg) scale(0.8); } 100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }}
@-webkit-keyframes fx-letter { 0% { opacity: 0; -webkit-transform: translate3d(0, 100px, 0) rotate(-8deg) scale(0.8); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }}
@keyframes fx-from-left { 0% { opacity: 0; transform: translate3d(-460px, 0, 0); } 100% { opacity: 1; transform: translate3d(0, 0, 0); }}
@-webkit-keyframes fx-from-left { 0% { opacity: 0; -webkit-transform: translate3d(-460px, 0, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); }}
@keyframes fx-from-right { 0% { opacity: 0; transform: translate3d(460px, 0, 0); } 100% { opacity: 1; transform: translate3d(0, 0, 0); }}
@-webkit-keyframes fx-from-right { 0% { opacity: 0; -webkit-transform: translate3d(460px, 0, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); }}
@keyframes fx-shine { 0% { opacity: 1; transform: translate3d(-120%, 0, 0); } 100% { opacity: 1; transform: translate3d(260%, 0, 0); }}
@-webkit-keyframes fx-shine { 0% { opacity: 1; -webkit-transform: translate3d(-120%, 0, 0); } 100% { opacity: 1; -webkit-transform: translate3d(260%, 0, 0); }}
@keyframes fx-up { 0% { opacity: 0; transform: translate3d(0, 44px, 0); } 100% { opacity: 1; transform: translate3d(0, 0, 0); }}
@-webkit-keyframes fx-up { 0% { opacity: 0; -webkit-transform: translate3d(0, 44px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); }}
@keyframes fx-fall-0 { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 100% { transform: translate3d(140px, 1200px, 0) rotate(540deg); }}
@-webkit-keyframes fx-fall-0 { 0% { -webkit-transform: translate3d(0, 0, 0) rotate(0deg); } 100% { -webkit-transform: translate3d(140px, 1200px, 0) rotate(540deg); }}
@keyframes fx-fall-1 { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 100% { transform: translate3d(-120px, 1200px, 0) rotate(-480deg); }}
@-webkit-keyframes fx-fall-1 { 0% { -webkit-transform: translate3d(0, 0, 0) rotate(0deg); } 100% { -webkit-transform: translate3d(-120px, 1200px, 0) rotate(-480deg); }}
@keyframes fx-fall-2 { 0% { transform: translate3d(0, 0, 0) rotate(20deg); } 100% { transform: translate3d(60px, 1200px, 0) rotate(700deg); }}
@-webkit-keyframes fx-fall-2 { 0% { -webkit-transform: translate3d(0, 0, 0) rotate(20deg); } 100% { -webkit-transform: translate3d(60px, 1200px, 0) rotate(700deg); }}
@keyframes fx-fall-3 { 0% { transform: translate3d(0, 0, 0) rotate(-20deg); } 100% { transform: translate3d(-40px, 1200px, 0) rotate(-640deg); }}
@-webkit-keyframes fx-fall-3 { 0% { -webkit-transform: translate3d(0, 0, 0) rotate(-20deg); } 100% { -webkit-transform: translate3d(-40px, 1200px, 0) rotate(-640deg); }}
@media (prefers-reduced-motion: reduce) { .fx-c, .fx-m-rays { display: none; } }
