/* Pizza Tornado – Tornado Delivery Rush (nur auf /spiele geladen). Alle Klassen mit Präfix „rush-“. */

.rush { --rush-w: 360px; --rush-seite: 0px; --rush-nacht: #151A22; position: relative; }
.rush-kopf { display: flex; flex-direction: column; gap: 8px; max-width: 780px; margin-bottom: clamp(16px, 2.4vw, 28px); }
.rush-kopf h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
.rush-text { color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); max-width: 660px; }
.rush-noscript { margin-top: 12px; padding: 14px 18px; border-radius: var(--r-s); background: var(--soft); font-weight: 600; }

/* ---------- Bühne: Spielfeld + Infos ---------- */
.rush-buehne { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.rush-feld { grid-column: 1 / -1; display: flex; justify-content: center; min-width: 0; }
.rush-seite { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 640px) {
  .rush-buehne:not(.is-breit) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.rush-buehne.is-breit { grid-template-columns: var(--rush-seite) var(--rush-w) var(--rush-seite); justify-content: center; align-items: start; gap: 18px; }
.rush-buehne.is-breit .rush-feld { grid-column: 2; grid-row: 1; }
.rush-buehne.is-breit .rush-seite-links { grid-column: 1; grid-row: 1; }
.rush-buehne.is-breit .rush-seite-rechts { grid-column: 3; grid-row: 1; }

/* ---------- Spielfeld ---------- */
.rush-rahmen { position: relative; width: var(--rush-w); height: calc(var(--rush-w) * 1.6); max-width: 100%; border-radius: clamp(18px, calc(var(--rush-w) * .06), 30px); overflow: hidden; isolation: isolate;
  background: #CFC8BA; box-shadow: 0 18px 44px rgba(22, 22, 22, .22), 0 0 0 1px rgba(22, 22, 22, .06); color: #fff; outline: none;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.rush-rahmen:focus-visible { box-shadow: 0 0 0 3px var(--card), 0 0 0 6px var(--accent), 0 18px 44px rgba(22, 22, 22, .22); }
.rush-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: pointer; }

/* Anzeige oben links (über dem linken Häuserstreifen, nicht über der Fahrbahn) */
.rush-hud { position: absolute; z-index: 2; left: calc(var(--rush-w) * .012); top: calc(var(--rush-w) * .012); min-width: calc(var(--rush-w) * .182); max-width: 34%;
  padding: calc(var(--rush-w) * .016) calc(var(--rush-w) * .018); border-radius: calc(var(--rush-w) * .032); background: rgba(16, 19, 26, .76);
  display: flex; flex-direction: column; gap: calc(var(--rush-w) * .012); pointer-events: none; line-height: 1; }
.rush-hud-punkte { display: flex; flex-direction: column; gap: 3px; }
.rush-hud-label { font-size: max(8.5px, calc(var(--rush-w) * .021)); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--highlight); }
.rush-hud-punkte b { font-size: max(15px, calc(var(--rush-w) * .05)); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rush-hud-werte { display: flex; flex-direction: column; gap: calc(var(--rush-w) * .008); }
.rush-hud-wert { display: flex; align-items: center; gap: calc(var(--rush-w) * .012); font-size: max(12px, calc(var(--rush-w) * .034)); font-weight: 800; font-variant-numeric: tabular-nums; }
.rush-hud-wert svg { width: max(14px, calc(var(--rush-w) * .042)); height: max(14px, calc(var(--rush-w) * .042)); flex: none; }
.rush-hud-wert.is-leer { color: #FF8A80; animation: rush-blinken 1s steps(2, start) infinite; }

/* Ziel-Leiste unten (hinter dem Roller – da stört sie nicht) */
.rush-ziel { position: absolute; z-index: 2; left: 21%; right: 21%; bottom: calc(var(--rush-w) * .022); display: flex; flex-direction: column; align-items: stretch; gap: 4px;
  padding: calc(var(--rush-w) * .012) calc(var(--rush-w) * .024) calc(var(--rush-w) * .016); border-radius: calc(var(--rush-w) * .03); background: rgba(16, 19, 26, .76);
  text-align: center; pointer-events: none; transition: opacity .2s ease; }
.rush-ziel.is-still { opacity: 0; }
.rush-ziel-text { font-size: max(10.5px, calc(var(--rush-w) * .029)); font-weight: 700; line-height: 1.2; }
.rush-ziel-spur { display: block; height: max(4px, calc(var(--rush-w) * .012)); border-radius: 99px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.rush-ziel-spur i { display: block; height: 100%; border-radius: inherit; background: var(--highlight); transform-origin: left center; transform: scaleX(0); transition: transform .25s linear; }
.rush-ziel[data-art="rekord"] .rush-ziel-spur i, .rush-ziel[data-art="best"] .rush-ziel-spur i { background: #7FD0FF; }
.rush-ziel[data-art="top"] .rush-ziel-spur i { background: #6FE09A; }

/* Ton & Pause oben rechts */
.rush-ecke { position: absolute; z-index: 4; right: calc(var(--rush-w) * .014); top: calc(var(--rush-w) * .014); display: flex; flex-direction: column; gap: calc(var(--rush-w) * .014); }
.rush-rund { width: clamp(36px, calc(var(--rush-w) * .1), 46px); height: clamp(36px, calc(var(--rush-w) * .1), 46px); padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(16, 19, 26, .76); color: #fff; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.rush-rund:hover { background: rgba(16, 19, 26, .92); transform: scale(1.05); }
.rush-rund svg { width: 54%; height: 54%; }
.rush-rund[aria-pressed="true"] { background: var(--highlight); color: var(--ink); }

/* Knöpfe zum Lenken am Handy (über den Häuserstreifen unten links/rechts) */
.rush-touch { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none; }
.rush-touch-knopf { position: absolute; bottom: calc(var(--rush-w) * .03); width: calc(var(--rush-w) * .175); height: calc(var(--rush-w) * .24); padding: 0; border: 0;
  border-radius: calc(var(--rush-w) * .05); display: grid; place-items: center; background: rgba(16, 19, 26, .5); color: #fff; pointer-events: auto; touch-action: none; cursor: pointer;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22); }
.rush-touch-knopf:first-child { left: calc(var(--rush-w) * .008); }
.rush-touch-knopf:last-child { right: calc(var(--rush-w) * .008); }
.rush-touch-knopf svg { width: 46%; height: auto; }
.rush-touch-knopf:active { background: rgba(227, 36, 27, .78); }
.rush-rahmen[data-zustand="start"] .rush-touch, .rush-rahmen[data-zustand="ende"] .rush-touch, .rush-rahmen[data-zustand="pause"] .rush-touch { display: none; }
.rush-rahmen[data-zustand="start"] .rush-hud, .rush-rahmen[data-zustand="start"] .rush-ziel { visibility: hidden; }

/* ---------- Ebenen: Start, Countdown, Pause, Ergebnis ---------- */
.rush-schicht { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; padding: calc(var(--rush-w) * .06); text-align: center; color: #fff; }
.rush-schicht-start { align-items: flex-start; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, rgba(14, 18, 26, .5) 0%, rgba(14, 18, 26, .84) 34%, rgba(14, 18, 26, .9) 100%); }
.rush-schicht-countdown { flex-direction: column; gap: 8px; background: radial-gradient(circle at 50% 46%, rgba(14, 18, 26, .38), rgba(14, 18, 26, 0) 62%); pointer-events: none; touch-action: none; }
.rush-schicht-pause { background: rgba(14, 18, 26, .74); touch-action: none; }
.rush-schicht-ende { align-items: stretch; padding: 0; background: var(--rush-nacht); overflow-y: auto; overscroll-behavior: contain; -webkit-user-select: text; user-select: text; }

.rush-start { display: flex; flex-direction: column; align-items: center; gap: calc(var(--rush-w) * .032); width: 100%; margin: auto 0; }
/* sehr kleine Spielfläche (z. B. Handy quer): Regeln weglassen, „Los geht’s“ bleibt groß */
.rush-mini-tipp { display: none; max-width: 92%; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .8); }
.rush-buehne.is-mini .rush-regeln, .rush-buehne.is-mini .rush-start .rush-tasten { display: none; }
.rush-buehne.is-mini .rush-start-titel { font-size: 30px; }
.rush-buehne.is-mini .rush-start-marke { gap: 0; font-size: 0; }
@media (orientation: landscape) and (pointer: coarse) { .rush-buehne.is-mini .rush-mini-tipp { display: block; } }
.rush-start-marke { display: inline-flex; align-items: center; gap: 8px; font-size: max(11px, calc(var(--rush-w) * .03)); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--highlight); }
.rush-start-logo { width: max(26px, calc(var(--rush-w) * .085)); height: max(26px, calc(var(--rush-w) * .085)); object-fit: contain; border-radius: 50%; background: #fff; padding: 2px; }
.rush-start-titel { margin: 0; font-size: max(34px, calc(var(--rush-w) * .135)); font-weight: 800; line-height: .9; letter-spacing: -.05em; text-shadow: 0 4px 18px rgba(0, 0, 0, .4); }
.rush-start-titel span { display: block; font-size: .5em; letter-spacing: -.02em; color: #fff; }
.rush-start-titel { color: var(--highlight); font-style: italic; }
.rush-start-titel span { font-style: normal; }
.rush-regeln { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: calc(var(--rush-w) * .02); text-align: left; max-width: 94%;
  font-size: max(12px, calc(var(--rush-w) * .033)); line-height: 1.3; }
.rush-regeln li { display: flex; align-items: center; gap: calc(var(--rush-w) * .028); }
.rush-regeln svg { width: max(22px, calc(var(--rush-w) * .07)); height: max(22px, calc(var(--rush-w) * .07)); flex: none; }
.rush-regeln b { color: var(--highlight); }
.rush-los { min-height: max(50px, calc(var(--rush-w) * .14)); padding: 0 calc(var(--rush-w) * .085); font-size: max(16px, calc(var(--rush-w) * .05)); box-shadow: 0 10px 26px rgba(227, 36, 27, .45); }
.rush-tasten { font-size: max(11px, calc(var(--rush-w) * .028)); color: rgba(255, 255, 255, .72); }
.rush-start-ziel { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: max(11px, calc(var(--rush-w) * .03)); }
.rush-start-ziel-titel { width: 100%; font-weight: 700; color: rgba(255, 255, 255, .78); }
.rush-chip { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 11px; border-radius: 99px; background: rgba(255, 197, 49, .16); box-shadow: inset 0 0 0 1px rgba(255, 197, 49, .45); color: #FFE7A6; font-weight: 600; }
.rush-chip b { color: #fff; font-weight: 800; }
.rush-chip-gewonnen { background: rgba(111, 224, 154, .16); box-shadow: inset 0 0 0 1px rgba(111, 224, 154, .5); color: #CFF5DC; }
.rush-start-werte { width: 100%; margin-top: 2px; color: rgba(255, 255, 255, .78); }
.rush-start-werte b { color: #fff; }

.rush-countdown { margin: 0; font-size: calc(var(--rush-w) * .3); font-weight: 800; line-height: 1; letter-spacing: -.04em; text-shadow: 0 6px 26px rgba(0, 0, 0, .5), 0 0 3px rgba(0, 0, 0, .55); }
.rush-countdown.is-neu { animation: rush-zahl .5s cubic-bezier(.2, .9, .3, 1.25) both; }
.rush-rahmen[data-zustand="los"] .rush-countdown { color: var(--highlight); animation: rush-los .5s ease-out both; }
.rush-countdown-text { font-size: max(13px, calc(var(--rush-w) * .038)); font-weight: 800; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }

.rush-pause { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rush-pause-titel { font-size: calc(var(--rush-w) * .13); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.rush-pause-text { color: rgba(255, 255, 255, .82); max-width: 260px; }

/* Ergebnis */
.rush-ende { --metal: var(--rush-nacht); width: 100%; min-height: 100%; margin: auto 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: calc(var(--rush-w) * .03); padding: calc(var(--rush-w) * .07) calc(var(--rush-w) * .055) calc(var(--rush-w) * .06); text-align: center; }
.rush-ende-kopf { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rush-ende-pokal svg { width: calc(var(--rush-w) * .12); height: calc(var(--rush-w) * .12); animation: rush-pokal .7s cubic-bezier(.2, .9, .3, 1.3) both; }
.rush-ende-titel { font-size: max(21px, calc(var(--rush-w) * .07)); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.rush-ende-kopf.is-rekord .rush-ende-titel { color: var(--highlight); }
.rush-ende-unter { font-size: max(12px, calc(var(--rush-w) * .032)); color: rgba(255, 255, 255, .7); }
.rush-ende-punkte { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.rush-ende-punkte b { font-size: max(46px, calc(var(--rush-w) * .15)); font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.rush-ende-punkte span { margin-top: 4px; font-size: max(11px, calc(var(--rush-w) * .028)); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--highlight); }
.rush-ende-rechnung { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.rush-ende-rechnung li { grid-column: span 2; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px 7px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.rush-ende-rechnung li.is-tornado, .rush-ende-rechnung li.is-bonus { grid-column: span 3; }
.rush-ende-rechnung li.is-tornado { background: linear-gradient(135deg, rgba(227, 36, 27, .32), rgba(227, 36, 27, .1)); }
.rush-ende-rechnung li.is-bonus { background: linear-gradient(135deg, rgba(255, 197, 49, .22), rgba(255, 197, 49, .06)); }
.rush-ende-rechnung span { font-size: max(10px, calc(var(--rush-w) * .025)); line-height: 1.2; color: rgba(255, 255, 255, .7); }
.rush-ende-rechnung b { font-size: max(15px, calc(var(--rush-w) * .044)); line-height: 1.15; font-weight: 800; font-variant-numeric: tabular-nums; }
.rush-ende-rechnung small { font-size: max(10px, calc(var(--rush-w) * .024)); line-height: 1.2; color: var(--highlight); font-variant-numeric: tabular-nums; }
.rush-ende-info { font-size: max(12px, calc(var(--rush-w) * .03)); line-height: 1.45; color: rgba(255, 255, 255, .72); }
.rush-ende-info b { color: #fff; }
.rush-ende-gutschein { width: 100%; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.rush-ende-gutschein > .ticket, .rush-details .ticket { width: 100%; text-align: left; }
.rush-ende .ticket-main { padding: 12px 16px 10px; }
.rush-ende .ticket-amount { font-size: max(38px, calc(var(--rush-w) * .1)); margin: 2px 0 4px; }
.rush-ende .ticket-text { font-size: 13px; }
.rush-ende .ticket-stub { padding: 12px 14px 14px; gap: 8px; }
.rush-ende .ticket .code { font-size: max(18px, calc(var(--rush-w) * .05)); padding: 6px 12px; }
.rush-ende .ticket .meta { font-size: 12px; }
.rush-ende-laden { font-weight: 700; color: rgba(255, 255, 255, .85); }
.rush-spinner { display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: rush-drehen .8s linear infinite; }
.rush-ende-hinweis { padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .88); }
.rush-ende-hinweis span { color: rgba(255, 255, 255, .6); }
.rush-ende-schon { padding: 10px 14px; border-radius: 14px; background: rgba(111, 224, 154, .14); box-shadow: inset 0 0 0 1px rgba(111, 224, 154, .45); color: #CFF5DC; font-weight: 700; }
.rush-ende-badge { align-self: center; padding: 5px 14px; border-radius: 99px; background: var(--highlight); color: var(--ink); font-weight: 800; animation: rush-pokal .6s cubic-bezier(.2, .9, .3, 1.3) both; }
.rush-ende-naechste { display: flex; flex-direction: column; gap: 8px; padding: 10px 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); font-size: 14px; line-height: 1.35; }
.rush-ende-naechste b { color: var(--highlight); }
.rush-ende-spur { display: block; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.rush-ende-spur i { display: block; height: 100%; border-radius: inherit; background: var(--highlight); transform-origin: left center; }
.rush-ende-text { font-size: 14px; color: rgba(255, 255, 255, .82); }
.rush-details { text-align: center; }
.rush-details summary { cursor: pointer; font-weight: 700; color: var(--highlight); padding: 4px; }
.rush-details[open] summary { margin-bottom: 10px; }
@media (hover: none) and (pointer: coarse) { .rush-nur-tasten { display: none; } }
/* „Nochmal“ bleibt immer sichtbar – der Rest scrollt bei Bedarf darunter durch */
.rush-ende-fuss { position: sticky; bottom: 0; z-index: 1; align-self: stretch; display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin: 0 calc(var(--rush-w) * -.055) calc(var(--rush-w) * -.06); padding: calc(var(--rush-w) * .07) calc(var(--rush-w) * .055) calc(var(--rush-w) * .045);
  background: linear-gradient(180deg, rgba(21, 26, 34, 0), var(--rush-nacht) calc(var(--rush-w) * .065)); }
.rush-nochmal { min-width: min(100%, 220px); box-shadow: 0 10px 26px rgba(227, 36, 27, .4); }

/* ---------- Infos neben dem Spiel ---------- */
.rush-block { background: var(--soft); border-radius: var(--r-m); padding: 18px; }
.rush-block-titel { margin-bottom: 10px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.rush-werte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.rush-wert { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rush-wert span { font-size: 13px; font-weight: 700; color: var(--muted); }
.rush-wert b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rush-stufen-liste { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rush-stufe { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 10px 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.rush-stufe-punkte { font-size: 14px; }
.rush-stufe-punkte b { font-size: 17px; font-weight: 800; }
.rush-stufe-wert { padding: 3px 11px; border-radius: 99px; background: var(--highlight); font-size: 16px; font-weight: 800; white-space: nowrap; }
.rush-stufe-hinweis { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.rush-stufe.is-geschafft { box-shadow: inset 0 0 0 2px #2E9E54; }
.rush-stufe.is-geschafft .rush-stufe-punkte::after { content: " ✓"; color: #1E7E44; font-weight: 800; }
.rush-fortschritt-balken { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rush-fortschritt-balken i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #FF8A3D); transform-origin: left center; transform: scaleX(0); transition: transform .6s ease; }
.rush-fortschritt p { margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.rush-mein-gutschein { --metal: var(--soft); }
.rush-mein-gutschein .ticket-main { padding: 14px 14px 12px; }
.rush-mein-gutschein .ticket-amount { font-size: 40px; }
.rush-mein-gutschein .ticket-stub { padding: 14px 12px 16px; gap: 10px; }
.rush-mein-gutschein .ticket .code { font-size: 18px; letter-spacing: .05em; padding: 6px 10px; overflow-wrap: normal; white-space: nowrap; }
.rush-hilfe-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14px; line-height: 1.4; }
.rush-hilfe-liste li { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 10px; }
.rush-tasten-bild { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 3px; }
.rush-tasten-bild kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 7px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line), 0 2px 0 var(--line); font: inherit; font-size: 12px; font-weight: 800; }
.rush-hilfe-icon { justify-self: center; display: grid; place-items: center; width: 40px; height: 28px; border-radius: 8px; }
.rush-hilfe-icon svg { width: 24px; height: 24px; }
.rush-hilfe-abholen { background: rgba(255, 205, 60, .35); box-shadow: inset 0 0 0 2px #D9A200; }
.rush-hilfe-liefern { background: rgba(46, 224, 120, .28); box-shadow: inset 0 0 0 2px #1E9E5A; }
.rush-hilfe-bahn { background: linear-gradient(180deg, rgba(227, 36, 27, .55), rgba(227, 36, 27, .08)); box-shadow: inset 0 0 0 2px rgba(227, 36, 27, .6); }
.rush-hilfe-klein { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- Bestenliste (Top 10) ---------- */
.rush-besten-titel { display: flex; align-items: center; gap: 8px; }
.rush-besten-titel svg { width: 22px; height: 22px; flex: none; }
.rush-besten-titel small { margin-left: auto; padding: 2px 9px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 12px; font-weight: 800; color: var(--muted); }
.rush-besten-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rush-besten-zeile { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 8px; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.rush-besten-platz { grid-row: 1 / 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rush-besten-name { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.2; }
.rush-besten-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rush-besten-name svg { width: 17px; height: 17px; flex: none; }
.rush-besten-name em { flex: none; padding: 1px 6px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.rush-besten-punkte { grid-row: 1 / 3; grid-column: 3; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rush-besten-datum { grid-column: 2; font-size: 11.5px; line-height: 1.2; color: var(--muted); }
.rush-besten-datum:empty { display: none; }
.rush-besten-zeile.is-platz1 { padding-top: 9px; padding-bottom: 9px; background: linear-gradient(135deg, #FFF3C4, #FFE08A); box-shadow: inset 0 0 0 1.5px #E9B21A, 0 6px 16px rgba(233, 178, 26, .22); }
.rush-besten-zeile.is-platz1 .rush-besten-platz { background: #FFC531; box-shadow: inset 0 0 0 1.5px #A66A06; }
.rush-besten-zeile.is-platz1 .rush-besten-punkte { font-size: 17px; }
.rush-besten-zeile.is-platz1 .rush-besten-datum { color: #7A5A12; }
.rush-besten-zeile.is-platz2 .rush-besten-platz { background: #E4E7EB; box-shadow: inset 0 0 0 1.5px #A3AAB3; }
.rush-besten-zeile.is-platz3 .rush-besten-platz { background: #F3D2B3; box-shadow: inset 0 0 0 1.5px #B9773D; }
.rush-besten-zeile.is-ich { box-shadow: inset 0 0 0 2px var(--accent); }
.rush-besten-zeile.is-platz1.is-ich { box-shadow: inset 0 0 0 2px var(--accent), 0 6px 16px rgba(233, 178, 26, .22); }
.rush-besten-leer { padding: 14px; border-radius: 14px; background: var(--card); border: 1.5px dashed var(--line); font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; }
.rush-besten-fuss { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.rush-besten-fuss b { color: var(--ink); }
.rush-besten-luecke { text-align: center; line-height: .8; color: rgba(255, 255, 255, .5); }

/* Start: Rekord + Platz 2/3 */
.rush-start-besten { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 4px; padding: 7px 12px 8px; border-radius: 14px; background: rgba(255, 197, 49, .1); box-shadow: inset 0 0 0 1px rgba(255, 197, 49, .35); }
.rush-start-besten-eins { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #FFE7A6; }
.rush-start-besten-eins b { color: #fff; }
.rush-start-besten-eins svg { width: 18px; height: 18px; flex: none; }
.rush-start-besten-rest { font-size: .92em; color: rgba(255, 255, 255, .75); }
.rush-start-besten-rest b { color: #fff; font-weight: 700; }

/* Ergebnis: Namensfeld für die Bestenliste */
.rush-ende-rang { width: 100%; }
.rush-rang { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; border-radius: 16px; overflow: hidden; text-align: left;
  background: linear-gradient(135deg, rgba(255, 197, 49, .2), rgba(255, 197, 49, .06)); box-shadow: inset 0 0 0 1.5px rgba(255, 197, 49, .55); }
.rush-rang.is-erster { background: linear-gradient(135deg, rgba(255, 197, 49, .42), rgba(227, 36, 27, .22)); box-shadow: inset 0 0 0 2px #FFC531, 0 10px 30px rgba(255, 197, 49, .25); }
.rush-rang-titel { display: flex; align-items: center; gap: 8px; font-size: max(15px, calc(var(--rush-w) * .04)); font-weight: 800; line-height: 1.2; color: #fff; }
.rush-rang-titel svg { width: 26px; height: 26px; flex: none; }
.rush-rang.is-erster .rush-rang-titel svg { animation: rush-pokal .7s cubic-bezier(.2, .9, .3, 1.3) both; }
.rush-rang-label { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.rush-rang-zeile { display: flex; gap: 8px; }
.rush-rang-feld { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08); -webkit-user-select: text; user-select: text; }
.rush-rang-feld:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 3px rgba(255, 197, 49, .6); }
.rush-rang-feld:disabled { opacity: .7; }
.rush-rang-knopf { flex: none; height: 44px; min-height: 0; padding: 0 16px; }
.rush-rang-hinweis { font-size: 12px; color: rgba(255, 255, 255, .65); }
.rush-rang-fehler { padding: 7px 10px; border-radius: 10px; background: rgba(227, 36, 27, .25); box-shadow: inset 0 0 0 1px rgba(255, 138, 128, .6); font-size: 13px; font-weight: 700; line-height: 1.35; color: #FFD9D6; }
.rush-rang.is-fertig { gap: 10px; }
.rush-besten-mini .rush-besten-zeile { padding: 4px 9px 4px 5px; background: rgba(255, 255, 255, .08); box-shadow: none; color: #fff; }
.rush-besten-mini .rush-besten-platz { width: 22px; height: 22px; font-size: 12px; background: rgba(255, 255, 255, .14); color: #fff; }
.rush-besten-mini .rush-besten-name { font-size: 13px; }
.rush-besten-mini .rush-besten-punkte { font-size: 14px; }
.rush-besten-mini .rush-besten-datum { display: none; }
.rush-besten-mini .rush-besten-zeile.is-platz1 { background: rgba(255, 197, 49, .3); box-shadow: none; }
.rush-besten-mini .rush-besten-zeile.is-platz1 .rush-besten-platz { background: #FFC531; color: var(--ink); box-shadow: none; }
.rush-besten-mini .rush-besten-zeile.is-platz1 .rush-besten-punkte { font-size: 14px; }
.rush-besten-mini .rush-besten-zeile.is-ich { background: rgba(227, 36, 27, .55); box-shadow: inset 0 0 0 1.5px #FF8A80; }
.rush-konfetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rush-konfetti i { position: absolute; top: -12px; width: 7px; height: 11px; border-radius: 2px; opacity: 0; animation: rush-konfetti 1.6s cubic-bezier(.3, .6, .5, 1) both; }

/* Anzeige: großer Punktesprung, Tornado-Wirbel */
.rush-hud-punkte b { display: inline-block; transform-origin: left center; }
.rush-hud-punkte b.is-pop { animation: rush-pop .42s cubic-bezier(.2, .9, .3, 1.4); color: var(--highlight); }
.rush-hud.is-wirbel { box-shadow: 0 0 0 2px rgba(255, 197, 49, .85), 0 0 22px rgba(227, 36, 27, .55); }

@media (max-width: 560px) {
  .card.rush { padding-left: 12px; padding-right: 12px; }
  .rush-kopf { padding: 0 8px; }
  .rush-block { padding: 16px; }
}

@keyframes rush-zahl { from { transform: scale(1.7); opacity: 0; } 35% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes rush-los { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
@keyframes rush-blinken { to { opacity: .35; } }
@keyframes rush-drehen { to { transform: rotate(360deg); } }
@keyframes rush-pokal { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rush-pop { 0% { transform: scale(1); } 35% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes rush-konfetti { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(170px) rotate(540deg); } }

@media (prefers-reduced-motion: reduce) {
  .rush-countdown.is-neu, .rush-rahmen[data-zustand="los"] .rush-countdown, .rush-hud-wert.is-leer, .rush-ende-pokal svg, .rush-ende-badge,
  .rush-hud-punkte b.is-pop, .rush-rang.is-erster .rush-rang-titel svg, .rush-konfetti i { animation: none; }
  .rush-konfetti { display: none; }
  .rush-spinner { animation-duration: 2.4s; }
  .rush-ziel-spur i, .rush-fortschritt-balken i, .rush-rund { transition: none; }
}
