/* Spielseite (spiel.php, assets/js/spiel.js): Anzeigetafel, Feld mit Aufstellung, Punkteverlauf, Spielverlauf, Kader.
   Kacheln und LIVE-Marke kommen aus apps.css bzw. startseite-spiele.css. Teamfarben setzt spiel.js als --trikot/--akzent. */
.spiel-ansicht { margin-top: 8px; display: flex; flex-direction: column; gap: 20px; }
.spiel-hinweis { margin: 0; }

/* ---------- Anzeigetafel ---------- */
.app-games__tile.spiel-kopf {
  --heim: var(--brand-orange); --gast: #64748b;
  position: relative; overflow: hidden; padding: 22px 24px 26px; border: 0; color: #fff;
  background:
    radial-gradient(120% 140% at 0% 100%, color-mix(in srgb, var(--heim) 38%, transparent) 0%, transparent 55%),
    radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--gast) 38%, transparent) 0%, transparent 55%),
    linear-gradient(160deg, #111827 0%, #1f2937 100%);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.22);
}
.spiel-kopf::after {   /* Teamfarben als feine Leiste unten */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--heim) 0 50%, var(--gast) 50% 100%);
}
.sk-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin: 0 0 18px; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.sk-meta .hg-bewerb { background: rgba(255,255,255,0.12); color: #fff; border-color: transparent; }
.sk-paarung { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.sk-team { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sk-heim { justify-content: flex-end; text-align: right; }
.sk-gast { flex-direction: row-reverse; justify-content: flex-end; }
.sk-heim .sk-logo { order: 2; }
.sk-logo { width: 56px; height: 56px; padding: 6px; object-fit: contain; flex: 0 0 auto; background: #fff; border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.sk-name { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.7rem; font-weight: 700; line-height: 1.05; color: #fff; }
.sk-stand { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 8em; }
.sk-stand > b { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 3.4rem; font-weight: 800; line-height: 0.9; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.sk-stand > b.sk-zeit { font-size: 2.2rem; color: rgba(255,255,255,0.85); }
.sk-stand small { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; font-size: 0.78rem; }
.sk-stand small span { padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); font-variant-numeric: tabular-nums; }
.sk-stand small .sk-satz-live { background: #d6001c; color: #fff; font-weight: 700; }
.sk-stand .hg-live { box-shadow: 0 0 0 4px rgba(214,0,28,0.25); }
@media (max-width: 640px) {
  .app-games__tile.spiel-kopf { padding: 18px 14px 22px; }
  .sk-paarung { gap: 8px; }
  .sk-team, .sk-heim, .sk-gast { flex-direction: column; justify-content: flex-start; text-align: center; gap: 8px; }
  .sk-heim .sk-logo { order: 0; }
  .sk-logo { width: 44px; height: 44px; padding: 5px; border-radius: 12px; }
  .sk-name { font-size: 1.05rem; }
  .sk-stand { min-width: 6em; }
  .sk-stand > b { font-size: 2.6rem; }
  .sk-stand small { max-width: 7.5em; }
}

/* ---------- Anordnung ---------- */
.spiel-bericht { display: flex; flex-direction: column; gap: 20px; }
.sb-oben, .sb-unten { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .sb-oben, .sb-unten { grid-template-columns: 1fr; } }
.sb-kachel { min-width: 0; }

/* Satz-Reiter als Segmente */
.sb-saetze { display: flex; gap: 4px; padding: 4px; margin-bottom: 14px; background: var(--surface-muted); border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.sb-saetze::-webkit-scrollbar { display: none; }
.sb-satz {
  flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 12px; border: 0; border-radius: 9px;
  background: transparent; font: inherit; color: var(--ink-600); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s;
}
.sb-satz span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.sb-satz b { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sb-satz:hover { color: var(--ink-900); }
.sb-satz.is-active { background: var(--surface); color: var(--ink-900); box-shadow: 0 1px 3px rgba(17,24,39,0.12); }
.sb-satz.is-active b { color: var(--brand-orange); }
.sb-satz.is-live span::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-radius: 50%; background: #d6001c; vertical-align: 1px; animation: hg-puls 1.4s ease-in-out infinite; }

.sb-lage { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; }
.sb-lage-stand { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.sb-lage-auf { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  background: color-mix(in srgb, var(--akzent) 14%, #fff); color: var(--ink-900); }
.sb-lage-auf .sb-ball { width: 18px; height: 18px; }
.sb-lage-ende { padding: 3px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: var(--surface-muted); color: var(--ink-700); }
.sb-lage { min-height: 32px; }
.sb-lage time { margin-left: auto; font-size: 0.82rem; color: var(--ink-400); font-variant-numeric: tabular-nums; }
.sb-live { padding: 4px 10px; border: 1px solid #d6001c; border-radius: 999px; background: #fff; color: #d6001c; font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.sb-live:hover { background: #d6001c; color: #fff; }

/* ---------- Feld ---------- */
.sb-feld {
  display: grid; grid-template-columns: 1fr 8px 1fr; aspect-ratio: 2 / 1.08; padding: 24px 22px; border-radius: 18px;
  background: radial-gradient(120% 120% at 50% 0%, #2b5a8a 0%, #1b3b5f 60%, #142c48 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 8px 24px rgba(20,44,72,0.25);
}
.sb-haelfte {
  display: grid; grid-template-rows: repeat(3, 1fr); grid-template-columns: 1fr 1fr; position: relative; padding: 4px;
  background: linear-gradient(180deg, #f39a52 0%, #e6823b 100%); border: 2px solid rgba(255,255,255,0.92);
}
.sb-haelfte.sb-home { border-right: 0; border-radius: 4px 0 0 4px; }
.sb-haelfte.sb-away { border-left: 0; border-radius: 0 4px 4px 0; }
/* Angriffslinie 3 m vor dem Netz (ein Drittel der Hälfte), Vorderzone etwas heller */
.sb-haelfte::before { content: ''; position: absolute; top: 0; bottom: 0; width: 33.3%; background: rgba(255,255,255,0.1); }
.sb-haelfte::after { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.92); }
.sb-haelfte.sb-home::before { right: 0; } .sb-haelfte.sb-home::after { right: 33.3%; }
.sb-haelfte.sb-away::before { left: 0; }  .sb-haelfte.sb-away::after { left: 33.3%; }
/* Netz: schmale, glänzende Anthrazit-Leiste mit feinem hellem Rand und Schatten, ragt etwas über die Seitenlinien hinaus.
   --rand = Abstand Feldrand -> Seitenlinie (Padding von .sb-feld). */
.sb-netz { --rand: 24px; position: relative; margin: calc(-1 * var(--rand)) 0; z-index: 2; }
.sb-netz-band {
  position: absolute; top: calc(var(--rand) - 10px); bottom: calc(var(--rand) - 10px); left: 2px; right: 2px; border-radius: 999px;
  background: linear-gradient(90deg, #0b0f17 0%, #374151 45%, #1f2937 55%, #0b0f17 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.75), 3px 6px 14px rgba(0,0,0,0.4);
}
/* Zonen: quer – Heim links (Netz rechts), Gast rechts (Netz links); Zone 1 = Aufschlag hinten rechts aus Sicht des Teams */
.sb-haelfte.sb-home .sb-z1 { grid-area: 3 / 1; } .sb-haelfte.sb-home .sb-z2 { grid-area: 3 / 2; } .sb-haelfte.sb-home .sb-z3 { grid-area: 2 / 2; }
.sb-haelfte.sb-home .sb-z4 { grid-area: 1 / 2; } .sb-haelfte.sb-home .sb-z5 { grid-area: 1 / 1; } .sb-haelfte.sb-home .sb-z6 { grid-area: 2 / 1; }
.sb-haelfte.sb-away .sb-z1 { grid-area: 1 / 2; } .sb-haelfte.sb-away .sb-z2 { grid-area: 1 / 1; } .sb-haelfte.sb-away .sb-z3 { grid-area: 2 / 1; }
.sb-haelfte.sb-away .sb-z4 { grid-area: 3 / 1; } .sb-haelfte.sb-away .sb-z5 { grid-area: 3 / 2; } .sb-haelfte.sb-away .sb-z6 { grid-area: 2 / 2; }

.sb-sp { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; position: relative; z-index: 1; will-change: transform; }
.sb-token { position: relative; display: block; }
.sb-trikot {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.35rem; font-weight: 800; line-height: 1;
  color: var(--trikot-text);
  background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--trikot) 55%, #fff) 0%, var(--trikot) 55%, color-mix(in srgb, var(--trikot) 75%, #000) 100%);
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 6px 12px rgba(60,25,0,0.35), inset 0 -3px 6px rgba(0,0,0,0.15);
}
.sb-libero .sb-trikot { color: #0f172a; background: radial-gradient(circle at 32% 28%, #fff 0%, #f1f5f9 60%, #cbd5e1 100%); border: 3px solid var(--trikot); }
.sb-tag {
  position: absolute; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 6px;
  font-size: 0.62rem; font-style: normal; font-weight: 800; line-height: 1; box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.sb-tag-l { top: -4px; right: -6px; background: #0f172a; color: #fff; }
.sb-tag-c { bottom: -3px; right: -6px; background: #fff; color: var(--brand-orange); border: 1.5px solid var(--brand-orange); }
/* Aufschlag: weißer Ball oben links am Trikot, dazu ein weißer Ring */
.sb-sp .sb-ball { position: absolute; width: 22px; height: 22px; left: -9px; top: -7px; border-radius: 50%; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35)); }
.sb-aufschlag .sb-trikot { box-shadow: 0 0 0 3px rgba(255,255,255,0.95), 0 6px 12px rgba(60,25,0,0.35); }
.sb-name {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 1px 7px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 600; color: #fff; background: rgba(15,23,42,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.sb-name:empty { display: none; }

/* Handy: Feld bleibt quer wie am Computer, nur kompakter (kleinere Plaketten, Namen kürzen sich mit …) */
@media (max-width: 600px) {
  .sb-feld { aspect-ratio: 2 / 1.25; padding: 14px 10px; }
  .sb-haelfte { padding: 2px; }
  .sb-netz { --rand: 14px; }
  .sb-sp { gap: 2px; }
  .sb-trikot { width: 32px; height: 32px; font-size: 0.95rem; border-width: 1.5px; }
  .sb-name { font-size: 0.56rem; padding: 0 4px; max-width: 64px; }
  .sb-sp .sb-ball { width: 16px; height: 16px; left: -7px; top: -5px; }
  .sb-tag { min-width: 13px; height: 13px; font-size: 0.5rem; }
  .sb-tag-l { top: -3px; right: -5px; } .sb-tag-c { bottom: -2px; right: -5px; }
}

/* ---------- Punkteverlauf (Führung je Punkt) ---------- */
.sb-kurve { margin: 18px 0 4px; cursor: pointer; touch-action: pan-y; border-radius: 6px; -webkit-user-select: none; user-select: none; }
.sb-kurve:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 4px; }
.sb-kurve-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; margin-bottom: 8px; }
.sb-kurve-titel { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-400); }
.sb-kurve-legende { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.sb-kurve-label { display: inline-flex; align-items: center; gap: 5px; font-size: 0.7rem; color: var(--ink-600); }
.sb-kurve-label i { width: 8px; height: 8px; border-radius: 2px; }
.sb-kurve-flaeche { position: relative; }
.sb-kurve svg { display: block; width: 100%; height: 64px; overflow: visible; }
.sb-kurve .sb-null { stroke: var(--ink-400); stroke-width: 1; stroke-dasharray: 3 3; }
.sb-kurve .sb-linie { fill: none; stroke: var(--ink-900); stroke-width: 1.5; stroke-linejoin: round; opacity: 0.55; }
.sb-marke {   /* oranger Punkt auf der Mittellinie: hier bin ich gerade */
  position: absolute; top: 32px; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none;   /* 32px = Mitte der 64px hohen Kurve (Nulllinie) */
  background: var(--brand-orange); box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0,0,0,0.35);
  transition: left .35s cubic-bezier(.2,.8,.2,1);
}
.sb-tipp { position: absolute; top: -34px; transform: translateX(-50%); padding: 4px 8px; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-md); border: 1px solid var(--border); font-size: 0.75rem; white-space: nowrap; pointer-events: none; color: var(--ink-700); z-index: 2; }

/* ---------- Pfeile (ein Ereignis vor/zurück) in der Lage-Zeile ---------- */
.sb-schritte { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.sb-schritte time { margin-right: 4px; }
.sb-lage .sb-schritte time { margin-left: 0; }
.sb-knopf { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--ink-700); cursor: pointer; transition: border-color .15s, color .15s, transform .1s; }
.sb-knopf:hover:not(:disabled) { border-color: var(--brand-orange); color: var(--brand-orange); }
.sb-knopf:active:not(:disabled) { transform: scale(0.92); }
.sb-knopf:disabled { opacity: 0.35; cursor: default; }
.sb-knopf svg { width: 15px; height: 15px; }

/* ---------- Bank, Zähler ---------- */
.sb-baenke { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (max-width: 560px) { .sb-baenke { grid-template-columns: 1fr; } }
.sb-bank { padding: 12px 14px; border-radius: 14px; background: var(--surface-muted); }
.sb-bank h4, .sb-kader h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 0.95rem; color: var(--ink-900); }
.sb-bank h4 .sb-ball { width: 16px; height: 16px; margin-left: auto; }
.sb-farbe { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 4px; background: var(--trikot); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); }
.sb-zaehler { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; font-size: 0.78rem; color: var(--ink-600); }
.sb-zaehler > span { display: inline-flex; align-items: center; gap: 6px; }
.sb-zaehler b { color: var(--ink-900); font-variant-numeric: tabular-nums; }
.sb-punkte { display: inline-flex; gap: 3px; }
.sb-punkte i { width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: background .3s; }
.sb-punkte i.ja { background: var(--akzent); }
.sb-bankliste { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.sb-chip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 8px 2px 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 0.78rem; }
.sb-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-400); margin-right: 6px; }

/* Nummern-Plakette in Trikotfarbe (Bank, Verlauf, Kader, MVP) */
.sb-wer { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sb-num {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 999px;
  font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 0.85rem; font-weight: 800; line-height: 1;
  background: var(--trikot); color: var(--trikot-text); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.sb-tag-inline { display: inline-grid; place-items: center; margin-left: 4px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 5px; font-size: 0.6rem; font-style: normal; font-weight: 800; background: #0f172a; color: #fff; }
.sb-tag-inline.sb-c { background: var(--brand-orange); }

/* ---------- Spielverlauf ---------- */
.sb-verlauf-kopf { display: flex; justify-content: space-between; gap: 8px; margin: -2px 0 8px; font-size: 0.75rem; font-weight: 700; color: var(--ink-600); }
.sb-verlauf-kopf span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.sb-liste { list-style: none; margin: 0 -6px; padding: 0 6px; max-height: 680px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (max-width: 900px) { .sb-liste { max-height: 440px; } }
/* Desktop: Spielverlauf genau so hoch wie die Aufstellung links. Die Liste liegt absolut im Rahmen und zählt
   dadurch nicht zur Höhe der Kachel – die Höhe gibt die Aufstellung vor, der Verlauf scrollt darin. */
@media (min-width: 901px) {
  .sb-oben { align-items: stretch; }
  .sb-verlauf { display: flex; flex-direction: column; }
  .sb-liste-rahmen { position: relative; flex: 1; min-height: 240px; }
  .sb-liste { position: absolute; inset: 0; max-height: none; }
}
.sb-zeile { display: grid; align-items: center; gap: 8px; margin: 2px 0; padding: 4px 8px; border-radius: 10px; font-size: 0.85rem; cursor: pointer; transition: background .15s; }
.sb-zeile:hover { background: var(--surface-muted); }
.sb-zeile[aria-current] { background: #fff4e6; box-shadow: inset 0 0 0 1.5px var(--brand-orange); }
.sb-zeile time { font-size: 0.7rem; color: var(--ink-400); text-align: right; font-variant-numeric: tabular-nums; }

/* Punkt: Balken zur Seite, die gepunktet hat */
.sb-punktzeile { grid-template-columns: 1fr 4.6em 1fr 2.6em; padding-top: 2px; padding-bottom: 2px; }
.sb-balken { height: 6px; border-radius: 999px; opacity: 0; transform: scaleX(0.3); transition: transform .3s; }
.sb-balken-h { background: var(--h); transform-origin: right; justify-self: end; width: 70%; }
.sb-balken-g { background: var(--g); transform-origin: left; width: 70%; }
.sbp-home .sb-balken-h, .sbp-away .sb-balken-g { opacity: 1; transform: none; }
.sb-stand { display: flex; justify-content: center; gap: 2px; font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.05rem; font-variant-numeric: tabular-nums; color: var(--ink-400); }
.sb-stand b { font-weight: 600; min-width: 1.3em; }
.sb-stand b:first-child { text-align: right; }
.sb-stand b.sb-hat { font-weight: 800; color: var(--ink-900); }

/* Ereignis: Karte mit Teamfarbe auf der Seite des Teams */
.sb-ereignis { grid-template-columns: 1fr 2.6em; padding: 0 8px 0 0; }   /* rechts wie alle Zeilen, damit die Uhrzeiten bündig sind */
.sb-karte-inhalt {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 12px; border-radius: 10px;
  background: color-mix(in srgb, var(--akzent) 9%, #fff); border: 1px solid color-mix(in srgb, var(--akzent) 25%, #fff);
}
.sbe-home .sb-karte-inhalt { border-left: 4px solid var(--akzent); margin-right: 18%; }
.sbe-away .sb-karte-inhalt { border-right: 4px solid var(--akzent); margin-left: 18%; justify-content: flex-end; text-align: right; }
/* Markierung/Hover bei Ereignissen an der Karte selbst, nicht an der ganzen Zeile (sonst doppelter Rahmen neben der Karte) */
.sb-ereignis:hover, .sb-ereignis[aria-current] { background: none; box-shadow: none; }
.sb-ereignis:hover .sb-karte-inhalt { background: color-mix(in srgb, var(--akzent) 15%, #fff); }
.sb-ereignis[aria-current] .sb-karte-inhalt { box-shadow: 0 0 0 2px var(--brand-orange); }
.sb-ereignis-team { flex-basis: 100%; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-400); }
.sb-chiplabel { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--ink-900); }
.sb-rein, .sb-raus { display: inline-flex; align-items: center; gap: 4px; }
.sb-rein::before { content: '\2191'; color: #15803d; font-weight: 800; }
.sb-raus::before { content: '\2193'; color: #b91c1c; font-weight: 800; }
.sb-raus .sb-wer { opacity: 0.7; }
.sb-karte { display: inline-block; width: 10px; height: 13px; border-radius: 2px; border: 1px solid rgba(0,0,0,0.25); }
.sb-karte-gelb { background: #facc15; }
.sb-karte-rot { background: #dc2626; }
.sb-karte-rotgelb { background: linear-gradient(90deg, #dc2626 50%, #facc15 50%); }

/* Trenner (Satzbeginn/-ende) und Hinweise */
.sb-trenner, .sb-hinweis { grid-template-columns: 1fr 2.6em; }
.sb-trenner span { display: flex; align-items: center; gap: 10px; font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-900); }
.sb-trenner span::before, .sb-trenner span::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.sb-hinweis span { text-align: center; font-size: 0.8rem; font-style: italic; color: var(--ink-600); }
@media (max-width: 480px) {
  .sb-punktzeile { grid-template-columns: 1fr 4.2em 1fr; }
  .sb-zeile time { display: none; }
  .sb-ereignis, .sb-trenner, .sb-hinweis { grid-template-columns: 1fr; }
  .sbe-home .sb-karte-inhalt { margin-right: 8%; }
  .sbe-away .sb-karte-inhalt { margin-left: 8%; }
}

/* ---------- Kader, Spiel ---------- */
.sb-kaderpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
@media (max-width: 560px) { .sb-kaderpaar { grid-template-columns: 1fr; } }
.sb-kader ol { list-style: none; margin: 4px 0 0; padding: 0; }
.sb-kader li { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--ink-700); }
.sb-kader li .sb-num { min-width: 26px; height: 26px; }
.sb-stab { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 0; font-size: 0.85rem; color: var(--ink-700); }
.sb-info { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: 0.9rem; }
.sb-info dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-400); padding-top: 2px; }
.sb-info dd { margin: 0; color: var(--ink-900); line-height: 1.7; }
.sb-leise { color: var(--ink-400); font-size: 0.8rem; }

@media (prefers-reduced-motion: reduce) {
  .sb-satz.is-live span::after { animation: none; }
  .sb-marke { transition: none; }
}

