/* =====================================================================
   OHNE KÄSTEN (03.12.2026) – systemweit
   Nutzerwunsch: Werte/Namen in Profilen, Live, Vereinen, Spielseiten
   NICHT mehr in "Knöpfe"/Pillen/Kästchen packen, sondern als normalen Text.
   Bewusst NICHT angefasst: echte Aktionsknöpfe (Anmelden, Tippspiel, App,
   Spenden), Seitenzahlen, Formular-Felder, Form-Kreise S/U/N, Rückennummern
   auf dem Spielfeld (Aufstellung), Prozent-Balken, Avatare.
   Hohe Spezifität (:not(#id)) + !important, weil viele Seiten eigene
   Inline-Styles nach dem Header laden.
   ===================================================================== */

/* ---------- gemeinsame Entkastung ---------- */
html body:not(#ok-a):not(#ok-b) :is(
    .sp-kopf-nummer, .sp-kopf-verein, .pm-chip, .pm-chips > a, .pm-chips > span,
    .verein-erfolg, .spieler-zeile-nummer,
    .fb-match-score, .fb-match-time, .kk-ht,
    .spiel-kopf-zeit, .spiel-kopf-ergebnis,
    .ef-sa > span, .vh-ebene, .vh-bew,
    .stk-chip > b, .stk-stand, .sz-stand, .sx2-c,
    .live-tab > b, .sa-nummer
) {
    background: none !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    outline: 0 !important;
}

/* ---------- Spielerprofil-Kopf ---------- */
html body:not(#ok-a):not(#ok-b) .sp-kopf-nummer { color: #CE2C2C !important; padding: 0 !important; font-weight: 800; }
html body:not(#ok-a):not(#ok-b) .sp-kopf-verein { padding: 0 !important; gap: 6px; }
html body:not(#ok-a):not(#ok-b) :is(.pm-chip, .pm-chips > a, .pm-chips > span) { padding: 0 !important; color: inherit; }
/* Trennpunkt zwischen Liga · Land */
html body:not(#ok-a):not(#ok-b) .pm-chips { gap: 0 !important; }
html body:not(#ok-a):not(#ok-b) :is(.pm-chip, .pm-chips > a, .pm-chips > span) + :is(.pm-chip, .pm-chips > a, .pm-chips > span)::before {
    content: "·"; margin: 0 8px; color: #999; font-weight: 400;
}

/* ---------- Verein: Erfolge-Leiste + Kader-Nummern ---------- */
html body:not(#ok-a):not(#ok-b) .verein-erfolg { padding: 2px 0 !important; margin-right: 14px; }
html body:not(#ok-a):not(#ok-b) .spieler-zeile-nummer { color: #CE2C2C !important; font-weight: 700; }

/* ---------- Ergebnisse / Live-Zeilen ---------- */
html body:not(#ok-a):not(#ok-b) :is(.fb-match-score, .fb-match-time) {
    color: #222 !important; padding: 2px 4px !important; min-width: 0 !important; opacity: 1 !important; font-weight: 800;
}
html body:not(#ok-a):not(#ok-b) .fb-match-time { color: #555 !important; font-weight: 700; }
/* laufende Spiele: Ergebnis grün statt grüner/gelber Kasten */
html body:not(#ok-a):not(#ok-b) :is(.fb-match-score.fb-score-live, .kk-live .fb-match-score) { color: #1e8e3e !important; }
/* Halbzeitstand klein und grau unter dem Ergebnis */
html body:not(#ok-a):not(#ok-b) .kk-ht { color: #888 !important; padding: 0 !important; }
/* kicker-Ergebnisbox (Liga-Ergebnisse, Vereinsspielplan, Live) ohne dunklen Rahmen */
html body:not(#ok-a):not(#ok-b) .kk-box { background: none !important; border: 0 !important; box-shadow: none !important; }

/* ---------- Spielseite: Uhrzeit / Ergebnis im Kopf ---------- */
html body:not(#ok-a):not(#ok-b) :is(.spiel-kopf-zeit, .spiel-kopf-ergebnis) { color: #222 !important; padding: 0 4px !important; }
html body:not(#ok-a):not(#ok-b) :is(.spiel-kopf-zeit, .spiel-kopf-ergebnis) * { color: inherit; background: none !important; }

/* ---------- Spielverlauf / Statistik / Aufstellung (Bank) ---------- */
html body:not(#ok-a):not(#ok-b) :is(.stk-stand, .sz-stand) { padding: 0 !important; font-weight: 800; color: inherit; }
html body:not(#ok-a):not(#ok-b) .stk-chip > b { padding: 0 !important; }
html body:not(#ok-a):not(#ok-b) .sa-nummer { color: #888 !important; font-weight: 700; }
html body:not(#ok-a):not(#ok-b) .sx2-c { padding: 0 !important; font-weight: 800; }

/* ---------- Spieler-Erfolge, Vereins-Historie ---------- */
html body:not(#ok-a):not(#ok-b) .ef-sa > span { padding: 0 !important; margin-right: 10px; }
html body:not(#ok-a):not(#ok-b) :is(.vh-ebene, .vh-bew) { padding: 0 !important; font-weight: 700; }
html body:not(#ok-a):not(#ok-b) .vh-bew { color: #1e8e3e; }

/* ---------- Live: Zähler in den Reitern ---------- */
html body:not(#ok-a):not(#ok-b) .live-tab > b { color: #888 !important; padding: 0 !important; margin-left: 4px; font-weight: 700; }

/* ---------- Dunkelmodus ---------- */
:root[data-theme="dark"] body:not(#ok-a):not(#ok-b) :is(.fb-match-score, .spiel-kopf-zeit, .spiel-kopf-ergebnis) { color: #eee !important; }
:root[data-theme="dark"] body:not(#ok-a):not(#ok-b) .fb-match-time { color: #bbb !important; }
:root[data-theme="dark"] body:not(#ok-a):not(#ok-b) :is(.fb-match-score.fb-score-live, .kk-live .fb-match-score) { color: #4cd06e !important; }

/* ---------- Live/Ergebnisse: abgesagt rot, Uhrzeit grau ---------- */
html body:not(#ok-a):not(#ok-b) .fb-match-score.fb-score-ausfall { color: #CE2C2C !important; font-weight: 700; }
html body:not(#ok-a):not(#ok-b) .fb-match-score.fb-score-zeit:not(.fb-score-ausfall) { color: #555 !important; font-weight: 700; }

/* ---------- Live: Spielzeilen ohne graue Kästen, nur feine Trennlinie ---------- */
html body:not(#ok-a):not(#ok-b) .fb-match.fb-zeile:not(.fb-match-live):not(.fb-rwe) {
    background: none !important; box-shadow: none !important; border-radius: 0 !important;
    border: 0 !important; border-bottom: 1px solid #eee !important;
}
html body:not(#ok-a):not(#ok-b) a.fb-match.fb-zeile:not(.fb-match-live):not(.fb-rwe):hover { background: rgba(206,44,44,.05) !important; }
:root[data-theme="dark"] body:not(#ok-a):not(#ok-b) .fb-match.fb-zeile:not(.fb-match-live):not(.fb-rwe) { border-bottom-color: rgba(255,255,255,.08) !important; }

/* ---------- Spielseite Liveticker-Filter (Alle/Tore/Karten/Wechsel) wie Kicker-Reiter ---------- */
html body:not(#ok-a):not(#ok-b) button.stk-chip {
    background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
    color: #333 !important; padding: 6px 4px !important; margin-right: 14px; border-bottom: 3px solid transparent !important;
}
html body:not(#ok-a):not(#ok-b) button.stk-chip.aktiv { color: #111 !important; font-weight: 700; border-bottom-color: #CE2C2C !important; }
html body:not(#ok-a):not(#ok-b) button.stk-chip > b { color: #888; margin-left: 3px; }
:root[data-theme="dark"] body:not(#ok-a):not(#ok-b) button.stk-chip { color: #ddd !important; }
:root[data-theme="dark"] body:not(#ok-a):not(#ok-b) button.stk-chip.aktiv { color: #fff !important; }

/* ---------- Vereins-Historie: Kennzahlen ohne Kacheln ---------- */
html body:not(#ok-a):not(#ok-b) .vh-kz > div {
    background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
    padding: 4px 18px 4px 0 !important;
}

/* ---------- Live-Reiter: Zahl bleibt neben dem Wort (mobil) ---------- */
html body:not(#ok-a):not(#ok-b) .live-tab { white-space: nowrap; }
