/* ==========================================================================
   FC Raron 2 – slideshow.css
   Vollbild-Praesentation "Die Chäru Ära" (slideshow.js).
   Masse in vmin/clamp, damit es auf Laptop und Beamer/TV gleich wirkt.
   ========================================================================== */

body.is-showing { overflow: hidden; }

.show {
  --gold: #e8c46b;
  position: fixed;
  inset: 0;
  z-index: 100;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  animation: show-in 0.4s ease-out;
  outline: none;
}

.show.is-leaving { animation: show-out 0.35s ease-in forwards; }

@keyframes show-in { from { opacity: 0; transform: scale(1.03); } }
@keyframes show-out { to { opacity: 0; transform: scale(0.98); } }

/* Hintergrund: Himbeere -> fast schwarz, Lichtkegel in Himmelblau, Wappen als Wasserzeichen. */
.show__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 85% 10%, rgb(43 167 223 / 0.28), transparent 70%),
    radial-gradient(70% 80% at 10% 100%, rgb(173 32 83 / 0.65), transparent 70%),
    linear-gradient(160deg, #5c1030 0%, #2a0a18 55%, #120509 100%);
}

/* Wasserzeichen: der Stern aus dem Wappen (das Logo-PNG hat keinen transparenten Hintergrund). */
.show__bg::after {
  content: "★";
  position: absolute;
  right: -6vmin;
  bottom: -22vmin;
  font-size: 95vmin;
  line-height: 1;
  color: rgb(255 255 255 / 0.035);
  transform: rotate(12deg);
}

.show__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 6vmin 6vmin 10vmin;
}

/* --- Bedienelemente ----------------------------------------------------- */
.show__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  color: #fff;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 50%;
  cursor: pointer;
}

.show__bar {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px;
  background: rgb(0 0 0 / 0.25);
  border-radius: 999px;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.show__bar:hover { opacity: 1; }

.show__nav {
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 1;
  color: #fff;
  background: rgb(255 255 255 / 0.12);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.show__nav:disabled { opacity: 0.3; cursor: default; }

.show__counter {
  min-width: 4.5em;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.show__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgb(255 255 255 / 0.1);
}

.show__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ad2053, #2ba7df);
  transition: width 0.5s ease;
}

.show :focus-visible { outline: 3px solid #2ba7df; outline-offset: 3px; }

/* --- Folie allgemein ---------------------------------------------------- */
.slide {
  width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.slide.enter { animation: slide-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.slide.enter-back { animation: slide-in-back 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }

@keyframes slide-in { from { opacity: 0; transform: translateX(6vmin); } }
@keyframes slide-in-back { from { opacity: 0; transform: translateX(-6vmin); } }

.slide__head { margin-bottom: clamp(16px, 4vmin, 44px); }

.kicker {
  margin: 0 0 0.6em;
  font-size: clamp(0.8rem, 1.9vmin, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2ba7df;
}

.slide h2 {
  margin: 0;
  font-size: clamp(2rem, 8vmin, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.sub {
  margin: 0.6em 0 0;
  font-size: clamp(0.95rem, 2.4vmin, 1.4rem);
  color: rgb(255 255 255 / 0.7);
}

.hint {
  margin-top: 5vmin;
  font-size: 0.95rem;
  color: rgb(255 255 255 / 0.55);
  animation: pulse 2s ease-in-out infinite;
}

.hint kbd {
  padding: 1px 7px;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 4px;
  font-family: inherit;
}

@keyframes pulse { 50% { opacity: 0.35; } }

/* Gestaffeltes Einblenden ueber --i. */
@keyframes rise {
  from { opacity: 0; transform: translateY(4vmin) scale(0.96); }
}

/* --- Titel / Ende ------------------------------------------------------- */
.title__logo {
  width: clamp(110px, 24vmin, 240px);
  margin-bottom: 3vmin;
  border-radius: 16px;
  filter: drop-shadow(0 12px 30px rgb(0 0 0 / 0.45));
  animation: logo-drop 1.1s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

@keyframes logo-drop {
  from { opacity: 0; transform: translateY(-20vmin) rotate(-12deg) scale(0.6); }
}

.slide--title .kicker { animation: rise 0.7s 0.5s both; }

.title__name {
  margin: 0;
  font-size: clamp(2.6rem, 12vmin, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  animation: rise 0.8s 0.7s both;
}

.title__name span,
.end__title span {
  background: linear-gradient(90deg, #fff 0%, #2ba7df 45%, #fff 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine { to { background-position: -200% 0; } }

.title__range {
  margin: 2vmin 0 0;
  font-size: clamp(1.1rem, 3.4vmin, 2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: rgb(255 255 255 / 0.8);
  animation: rise 0.7s 1s both;
}

.end__title {
  font-size: clamp(2.6rem, 11vmin, 8rem) !important;
  animation: rise 0.8s 0.4s both;
}

.slide--end .sub { animation: rise 0.7s 0.7s both; }

.end__back {
  margin-top: 5vmin;
  padding: 14px 28px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ad2053;
  background: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.35);
  animation: rise 0.7s 1s both;
}

.end__back:hover { background: #f3cfdc; }

/* --- Zahlen ------------------------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2.4vmin, 24px);
  width: 100%;
}

.tile {
  padding: clamp(14px, 3.4vmin, 36px) 12px;
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 18px;
  animation: rise 0.7s calc(var(--i) * 0.12s + 0.2s) both;
}

.tile .count {
  display: block;
  font-size: clamp(2.2rem, 9vmin, 6rem);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.tile:nth-child(odd) .count { color: #2ba7df; }

.tile__label {
  display: block;
  margin-top: 0.6em;
  font-size: clamp(0.8rem, 2vmin, 1.1rem);
  font-weight: 600;
  color: rgb(255 255 255 / 0.75);
}

.numbers__foot {
  margin: 3.5vmin 0 0;
  font-size: clamp(0.85rem, 2.1vmin, 1.15rem);
  color: rgb(255 255 255 / 0.7);
  animation: rise 0.7s 1.1s both;
}

.numbers__foot b { color: var(--gold); }

/* --- Der Weg ------------------------------------------------------------ */
.journey {
  width: 100%;
  max-height: 58vh;
  overflow: visible;
}

.journey__grid { stroke: rgb(255 255 255 / 0.15); stroke-dasharray: 6 8; }

.journey__axis {
  fill: rgb(255 255 255 / 0.45);
  font-size: 15px;
  font-weight: 600;
}

.journey__line {
  fill: none;
  stroke: #2ba7df;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 8px rgb(43 167 223 / 0.6));
  animation: draw 2s 0.3s ease-in-out forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.journey__pt {
  animation: rise 0.6s calc(var(--i) * 0.4s + 0.3s) both;
  text-anchor: middle;
}

.journey__pt circle {
  fill: #ad2053;
  stroke: #fff;
  stroke-width: 3;
}

.journey__pt.is-champ circle { fill: var(--gold); }

.journey__rank { fill: #fff; font-size: 24px; font-weight: 900; }
.journey__pt.is-champ .journey__rank { fill: #2a0a18; }

.journey__star {
  fill: var(--gold);
  font-size: 34px;
  animation: twinkle 1.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes twinkle { 50% { transform: scale(1.25); opacity: 0.7; } }

.journey__season { fill: #fff; font-size: 20px; font-weight: 800; }
.journey__league { fill: rgb(255 255 255 / 0.6); font-size: 15px; font-weight: 600; }

.journey__change {
  text-anchor: middle;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  animation: rise 0.6s calc(var(--i) * 0.4s + 1.6s) both;
}

.journey__change.is-up { fill: #6fd38f; }
.journey__change.is-down { fill: #ff8a9f; }

/* --- Meister ------------------------------------------------------------ */
.champ__star {
  font-size: clamp(4rem, 18vmin, 12rem);
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 40px rgb(232 196 107 / 0.6);
  animation: star-pop 1s cubic-bezier(0.2, 1.6, 0.4, 1) both, twinkle 2.4s 1s ease-in-out infinite;
}

@keyframes star-pop { from { opacity: 0; transform: scale(0.2) rotate(-180deg); } }

.slide--champ .kicker { animation: rise 0.6s 0.4s both; }

.champ__title {
  font-size: clamp(3rem, 15vmin, 10rem) !important;
  text-transform: uppercase;
  color: var(--gold);
  animation: rise 0.7s 0.6s both;
}

.champ__stats {
  display: flex;
  gap: clamp(20px, 6vmin, 70px);
  margin-top: 4vmin;
  animation: rise 0.7s 0.9s both;
}

.champ__stats b {
  display: block;
  font-size: clamp(1.8rem, 6.5vmin, 4.2rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.champ__stats > div > span {
  font-size: clamp(0.8rem, 2vmin, 1.1rem);
  color: rgb(255 255 255 / 0.7);
}

.champ__people {
  margin: 4vmin 0 0;
  font-size: clamp(0.95rem, 2.4vmin, 1.35rem);
  color: rgb(255 255 255 / 0.8);
  animation: rise 0.7s 1.2s both;
}

/* --- Podium ------------------------------------------------------------- */
.slide--podium { height: 100%; justify-content: center; }
.slide--podium .slide__head { margin-bottom: 2vmin; }

.podium-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(16px, 4vmin, 56px);
  align-items: end;
  width: 100%;
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: clamp(6px, 1.4vmin, 14px);
  height: clamp(280px, 52vh, 560px);
}

.podium__col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.podium__player {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1.4vmin;
  opacity: 0;
  transform: translateY(-3vmin);
  transition: opacity 0.5s 0.45s, transform 0.6s 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.podium__block {
  display: grid;
  place-items: start center;
  padding-top: 1.6vmin;
  border-radius: 14px 14px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s cubic-bezier(0.3, 1.3, 0.5, 1);
}

.podium__block span {
  font-size: clamp(2rem, 8vmin, 5.5rem);
  font-weight: 900;
  line-height: 1;
  opacity: 0.9;
}

.podium__col--1 .podium__block {
  height: 46%;
  background: linear-gradient(180deg, #f2d68c, #c89c3a);
  color: #4a3200;
  box-shadow: 0 0 50px rgb(232 196 107 / 0.35);
}

.podium__col--2 .podium__block {
  height: 33%;
  background: linear-gradient(180deg, #e6ecf2, #9aa7b4);
  color: #2b3540;
}

.podium__col--3 .podium__block {
  height: 24%;
  background: linear-gradient(180deg, #e0a676, #a5653a);
  color: #3b1e08;
}

.podium__col.is-in .podium__block { transform: scaleY(1); }
.podium__col.is-in .podium__player { opacity: 1; transform: none; }

.podium__col--1.is-in .podium__player { animation: bounce 0.9s 0.9s; }

@keyframes bounce {
  30% { transform: translateY(-2.4vmin) scale(1.06); }
  60% { transform: translateY(0); }
}

.jersey { width: clamp(54px, 10vmin, 110px); height: auto; overflow: visible; }

.jersey__body { fill: #ad2053; stroke: #fff; stroke-width: 3; stroke-linejoin: round; }
.jersey__collar { fill: none; stroke: #2ba7df; stroke-width: 5; }

.jersey text {
  fill: #fff;
  font-size: 34px;
  font-weight: 900;
  text-anchor: middle;
}

.jersey--gold .jersey__body { fill: #2ba7df; }
.jersey--gold .jersey__collar { stroke: #e8c46b; }

.podium__first {
  margin-top: 0.8vmin;
  font-size: clamp(0.8rem, 2.1vmin, 1.2rem);
  font-weight: 600;
  color: rgb(255 255 255 / 0.75);
  line-height: 1.1;
}

.podium__last {
  font-size: clamp(1rem, 3vmin, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.podium__col--1 .podium__last { color: var(--gold); font-size: clamp(1.15rem, 3.6vmin, 2.2rem); }

.podium__value {
  margin-top: 0.6vmin;
  font-size: clamp(1.2rem, 4vmin, 2.6rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.podium__value small {
  font-size: 0.4em;
  font-weight: 600;
  color: rgb(255 255 255 / 0.6);
  letter-spacing: 0.04em;
}

/* Plaetze 4-10 */
.runners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.9vmin, 10px);
  text-align: left;
}

.runners li {
  display: grid;
  grid-template-columns: 2.4em 1fr auto;
  align-items: center;
  padding: clamp(6px, 1.3vmin, 12px) clamp(10px, 2vmin, 18px);
  background: rgb(255 255 255 / 0.07);
  border-left: 3px solid #2ba7df;
  border-radius: 8px;
  font-size: clamp(0.85rem, 2.2vmin, 1.25rem);
  opacity: 0;
  transform: translateX(4vmin);
  transition: opacity 0.4s, transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  transition-delay: calc(var(--i) * 0.11s);
}

.runners.is-in li { opacity: 1; transform: none; }

.runners__rank { font-weight: 800; color: rgb(255 255 255 / 0.5); }
.runners__name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.runners__value { font-weight: 900; font-variant-numeric: tabular-nums; padding-left: 12px; }

.podium__teaser {
  min-height: 1.4em;
  margin: 2.4vmin 0 0;
  font-size: clamp(0.9rem, 2.2vmin, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2ba7df;
  animation: pulse 1.6s ease-in-out infinite;
}

/* --- Torschuetzenkoenige ------------------------------------------------ */
.scorers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(10px, 2vmin, 20px);
  width: 100%;
}

.scorer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(14px, 3vmin, 30px) 10px;
  background: rgb(255 255 255 / 0.07);
  border-top: 4px solid #ad2053;
  border-radius: 14px;
  animation: rise 0.7s calc(var(--i) * 0.18s + 0.2s) both;
}

.scorer:nth-child(even) { border-top-color: #2ba7df; }

.scorer__season { font-weight: 800; color: rgb(255 255 255 / 0.7); }

.scorer__goals {
  margin-top: 1vmin;
  font-size: clamp(2.4rem, 9vmin, 5.5rem);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.scorer__unit { font-size: 0.85rem; color: rgb(255 255 255 / 0.6); }

.scorer__names {
  margin-top: 1.6vmin;
  font-size: clamp(0.9rem, 2.2vmin, 1.2rem);
  font-weight: 800;
  line-height: 1.25;
}

/* --- Immer dabei -------------------------------------------------------- */
.loyal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: clamp(8px, 1.4vmin, 14px);
  width: 100%;
}

.loyal li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: clamp(8px, 1.4vmin, 14px);
  text-align: left;
  background: rgb(255 255 255 / 0.07);
  border-radius: 12px;
  animation: rise 0.5s calc(var(--i) * 0.07s + 0.2s) both;
}

.jersey--small { width: clamp(36px, 6vmin, 52px); grid-row: span 2; }
.jersey--small text { font-size: 36px; }

.loyal__name { font-weight: 800; font-size: clamp(0.85rem, 2vmin, 1.1rem); align-self: end; }
.loyal__value { font-size: 0.8rem; color: rgb(255 255 255 / 0.6); align-self: start; }

/* Zusatz beim Sieger (z.B. "Perfekt: 14 von 14"). */
.podium__extra {
  margin-top: 6px;
  padding: 3px 12px;
  font-size: clamp(0.72rem, 1.6vmin, 0.95rem);
  font-weight: 800;
  color: #2a1608;
  background: #e8c46b;
  border-radius: 999px;
  max-width: 100%;
  line-height: 1.25;
  text-align: center;
}

/* Handy: schmale Podiumsspalten, Hinweis darf umbrechen statt die Spalte zu verbreitern. */
@media (max-width: 760px) {
  .podium__extra { border-radius: 10px; padding: 3px 8px; font-size: 0.68rem; }
}

/* --- An der Seitenlinie (Trainer) -------------------------------------- */
/* Bilanz als Balken: Sieg (blau) | Remis (grau, neutrale Mitte) | Niederlage (rosa).
   Laenge = Spiele relativ zum Trainer mit den meisten Spielen; Bilanz steht als Text daneben. */
.slide--bench { --w-win: #2ba7df; --w-draw: #b9aab2; --w-loss: #e2557f; }
.slide--bench .slide__head { margin-bottom: clamp(8px, 1.6vmin, 18px); }

.bench__legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0 0 clamp(8px, 1.6vmin, 16px);
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.7);
  animation: rise 0.5s 0.2s both;
}

.bench__legend span { display: inline-flex; align-items: center; gap: 6px; }
.bench__legend i { width: 12px; height: 12px; border-radius: 3px; }

.bench__legend .is-w, .bench__bar .is-w { background: var(--w-win); }
.bench__legend .is-d, .bench__bar .is-d { background: var(--w-draw); }
.bench__legend .is-l, .bench__bar .is-l { background: var(--w-loss); }

.bench {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(980px, 100%);
  display: grid;
  gap: clamp(6px, 1.1vmin, 10px);
}

.bench li {
  display: grid;
  grid-template-columns: auto minmax(0, 19em) 1fr 4.5em;
  align-items: center;
  column-gap: clamp(10px, 1.6vmin, 16px);
  padding: clamp(6px, 1vmin, 10px) clamp(10px, 1.4vmin, 14px);
  text-align: left;
  background: rgb(255 255 255 / 0.07);
  border-radius: 12px;
  animation: rise 0.5s calc(var(--i) * 0.08s + 0.25s) both;
}

.bench .jersey--small { grid-row: auto; width: clamp(30px, 4.6vmin, 44px); }

.bench__who { display: flex; flex-direction: column; min-width: 0; }
.bench__name { font-weight: 800; font-size: clamp(0.9rem, 2vmin, 1.15rem); line-height: 1.15; }
.bench__games { font-size: 0.78rem; color: rgb(255 255 255 / 0.6); }

/* Balken waechst von links (Basislinie) auf seine Laenge; 2px Luecke zwischen den Teilen. */
.bench__bar {
  display: flex;
  gap: 2px;
  width: calc(var(--w) * 100%);
  min-width: 6px;
  height: clamp(12px, 1.8vmin, 18px);
  transform-origin: left center;
  animation: bench-grow 0.8s calc(var(--i) * 0.08s + 0.5s) cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bench__bar i { min-width: 3px; border-radius: 2px; }
.bench__bar i:first-child { border-top-left-radius: 4px; border-bottom-left-radius: 4px; }
.bench__bar i:last-child { border-top-right-radius: 4px; border-bottom-right-radius: 4px; }

@keyframes bench-grow { from { transform: scaleX(0); } }

/* Quer (Beamer/Laptop): zwei Spalten, von oben nach unten gelesen; Name oben, Balken darunter. */
@media (orientation: landscape) and (min-width: 761px) {
  .bench {
    width: min(1300px, 100%);
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(var(--rows), auto);
    grid-auto-flow: column;
    column-gap: clamp(12px, 2vmin, 24px);
  }
  .bench li {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "shirt who rec" "shirt bar bar";
    row-gap: 6px;
  }
  .bench .jersey--small { grid-area: shirt; }
  .bench__who { grid-area: who; }
  .bench__rec { grid-area: rec; }
  .bench__bar { grid-area: bar; }
}

.bench__rec {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}


/* --- Konfetti ----------------------------------------------------------- */
.show__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti {
  position: absolute;
  top: -20px;
  border-radius: 2px;
  animation-name: fall;
  animation-timing-function: cubic-bezier(0.3, 0.4, 0.6, 1);
  animation-fill-mode: both;
}

@keyframes fall {
  to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); }
}

/* --- Handy / hochkant --------------------------------------------------- */
@media (max-width: 760px), (orientation: portrait) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .podium-wrap { grid-template-columns: 1fr; }
  .podium { height: clamp(240px, 38vh, 420px); }
  .runners li { padding: 5px 10px; }
  .champ__stats { flex-wrap: wrap; justify-content: center; }

  /* Immer dabei: zwei kompakte Spalten, damit 15+ Spieler auf einen Screen passen. */
  .loyal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .loyal li { column-gap: 8px; padding: 6px 8px; border-radius: 10px; }
  .loyal .jersey--small { width: 28px; }
  .loyal__name { font-size: 0.78rem; line-height: 1.15; overflow-wrap: anywhere; }
  .loyal__value { font-size: 0.68rem; }

  .bench li {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "shirt who rec" "shirt bar bar";
    row-gap: 4px;
    padding: 6px 10px;
  }
  .bench .jersey--small { grid-area: shirt; width: 28px; }
  .bench__who { grid-area: who; }
  .bench__rec { grid-area: rec; font-size: 0.85rem; }
  .bench__bar { grid-area: bar; height: 10px; }
  .bench__name { font-size: 0.85rem; }
  .bench__games { font-size: 0.68rem; }
}

/* Kleine Handys (wenig Hoehe): Namen einzeilig, Kopf kompakter. */
@media (orientation: portrait) and (max-height: 760px) {
  .slide--loyal .slide__head { margin-bottom: 10px; }
  .slide--loyal .slide__head h2 { font-size: 2rem; }
  .slide--loyal .sub { font-size: 0.85rem; }
  .loyal__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .loyal li { padding: 5px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .show *,
  .show *::before,
  .show *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .journey__line { stroke-dashoffset: 0; }
}
