/* Glass Rally v20.5 — player-colored motion lettering across the spectator glass planes. */
.spectator-echo{position:absolute;top:0;bottom:0;left:0;width:80%;z-index:3;pointer-events:none;overflow:hidden;--echo-color:#f6f6f6;}
.spectator-echo[data-player="1"]{--echo-color:#96b3ff;}
.spectator-echo[data-player="2"]{--echo-color:#f8da48;}
.spectator-echo[data-player="0"]{--echo-color:#f5f5f5;}
.echo-panel{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;opacity:0;color:var(--echo-color)}
.echo-clear{clip-path:inset(12% 4% 11% 4%);}
.echo-frost{clip-path:inset(0 4% 88% 4%);}
.echo-word{position:absolute;left:50%;top:21%;width:max-content;max-width:none;white-space:nowrap;transform:translateX(-50%);font-family:'Samsung Head','Samsung Sharp Sans',Arial,sans-serif;font-size:clamp(125px,16.4cqw,350px);font-weight:700;line-height:.78;letter-spacing:-.025em;text-align:center;}
/* Crisp letters in the main body; soft blur only above the frosted bar boundary. */
.echo-frost .echo-word{filter:blur(5px);-webkit-filter:blur(5px)}
.spectator-echo.playing .echo-panel{animation:echoOpacity 3.1s cubic-bezier(.2,.7,.24,1) both;}
.spectator-echo.playing .echo-word{animation:echoFloat 3.1s cubic-bezier(.18,.55,.23,1) both;}
@keyframes echoOpacity{0%{opacity:0}13%{opacity:.10}62%{opacity:.10}100%{opacity:0}}
@keyframes echoFloat{0%{transform:translate(-50%,0)}100%{transform:translate(-50%,-25cqh)}}
@media(prefers-reduced-motion:reduce){.spectator-echo.playing .echo-panel{animation:echoOpacityReduced 1.9s ease-out both}.spectator-echo.playing .echo-word{animation:none}@keyframes echoOpacityReduced{0%,100%{opacity:0}20%,75%{opacity:.10}}}

/* The words belong to the 80% feature lane, never the leaderboard or broadcast chrome. */
.screen.live-camera .spectator-echo{opacity:0;}
