
.sp-profil { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* ===== KOPF: kompakt statt grossem Gradient-Banner ===== */
.sp-kopf { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-bottom: 3px solid #a70909; }
.sp-kopf-foto {
    width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    border: 2px solid #f0e6e6; background: #f0e6e6;
}
.sp-kopf-foto-platz {
    width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0; background: #f0e6e6; color: #c9a5a5;
    display: flex; align-items: center; justify-content: center;
}
.sp-kopf-info { min-width: 0; flex: 1; }
.sp-kopf-name { font-size: 1.15rem; font-weight: 800; color: #1a1a1a; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: 1.25; }
.sp-kopf-nummer { background: #f0e6e6; color: #a70909; font-size: 0.75rem; font-weight: 800; padding: 2px 9px; border-radius: 20px; flex-shrink: 0; }
.sp-kopf-meta { font-size: 0.82rem; color: #888; margin-top: 3px; }
.sp-kopf-verein { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.82rem; font-weight: 700; color: #a70909; text-decoration: none; }
.sp-kopf-verein:hover { text-decoration: underline; }
.sp-kopf-verein img { height: 17px; width: auto; object-fit: contain; }

/* ===== MARKTWERT: prominent direkt unter dem Kopf, wie bei Transfermarkt ===== */
.sp-marktwert { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 0.7rem 1rem; background: #f4faf6; border-bottom: 1px solid #eef2ef; }
.sp-marktwert .wert { font-size: 1.25rem; font-weight: 800; color: #1a8a3d; }
.sp-marktwert .label { font-size: 0.72rem; color: #888; text-transform: uppercase; letter-spacing: 0.02em; }

/* ===== TABS: gleiche Optik wie /spieler/ Liga-Hub (.subtab-nav) ===== */
.subtab-nav { display: flex; gap: 0.5rem; padding: 0.9rem 1.2rem 0; flex-wrap: wrap; }
.subtab-nav a { padding: 0.5rem 1rem; border-radius: 8px; font-weight: 700; font-size: 0.85rem; background: #f5f0f0; color: #4a3a3a; border: none; cursor: pointer; font-family: inherit; text-decoration: none; display: inline-block; }
.subtab-nav a.aktiv { background: #a70909; color: #fff; }

/* ===== VEREINS-NAV innerhalb "Leistungsdaten" (2. Ebene, kompakter) ===== */
.sp-verein-nav { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.sp-verein-nav button {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0.4rem 0.8rem; border-radius: 20px; font-weight: 700; font-size: 0.78rem;
    background: #f5f0f0; color: #4a3a3a; border: none; cursor: pointer; font-family: inherit;
}
.sp-verein-nav button img { width: 15px; height: 15px; object-fit: contain; flex-shrink: 0; }
.sp-verein-nav button.aktiv { background: #a70909; color: #fff; }
.sp-verein-inhalt[hidden] { display: none; }

.sp-tab-inhalt { padding: 1.2rem; }
.sp-tab-inhalt[hidden] { display: none; }

.spieler-abschnitt-titel {
    font-size: 0.8rem; font-weight: 800; color: #a70909; text-transform: uppercase; letter-spacing: 0.03em;
    margin: 1.4rem 0 0.7rem; padding-bottom: 0.3rem; border-bottom: 2px solid #f0e6e6;
}
.spieler-abschnitt-titel:first-child { margin-top: 0; }
.sp-saison-dropdown {
    margin-left: 8px; font-size: 0.8rem; font-weight: 700; color: #a70909;
    border: 1px solid #f0e6e6; border-radius: 6px; padding: 3px 6px; background: #fff;
    font-family: inherit; cursor: pointer; vertical-align: middle; text-transform: none; letter-spacing: normal;
}

.spieler-daten-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; }
.spieler-daten-grid .label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.02em; color: #999; display: block; }
.spieler-daten-grid .wert { font-size: 0.92rem; color: #1a1a1a; font-weight: 600; margin-top: 2px; }

/* Immer alle 5 Werte nebeneinander (auch mobile) - keine Auto-Fit-Umbrueche,
   stattdessen Schrift/Padding auf schmalen Screens per Media Query verkleinern. */
.spieler-stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; text-align: center; }
.spieler-stat-box { background: #faf7f7; border-radius: 10px; padding: 0.7rem 0.3rem; min-width: 0; }
.spieler-stat-box strong { display: block; font-size: 1.3rem; color: #a70909; }
.spieler-stat-box span { display: block; font-size: 0.68rem; color: #888; text-transform: uppercase; margin-top: 2px; }
.spieler-stat-verein { font-weight: 700; font-size: 0.88rem; color: #1a1a1a; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 6px; }
.spieler-stat-verein img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
@media (max-width: 480px) {
    .spieler-stat-grid { gap: 0.3rem; }
    .spieler-stat-box { padding: 0.5rem 0.15rem; border-radius: 8px; }
    .spieler-stat-box strong { font-size: 1rem; }
    .spieler-stat-box span { font-size: 0.56rem; }
}

/* ===== SAISON-TABELLEN in "Karriere": gleicher Listen-Stil wie die
   Wettbewerbs-Tabellen unten (.sp-wb-tabelle), permanent sichtbar statt
   ausklappbar - eine Tabelle je Saison. ===== */
.spieler-saison-titel {
    font-weight: 700; font-size: 0.85rem; color: #1a1a1a;
    background: #faf7f7; padding: 0.6rem 0.9rem; border-radius: 8px 8px 0 0;
}
.spieler-saison-titel + .sp-wb-wrap { margin-bottom: 1.2rem; }
.spieler-saison-titel + .sp-wb-wrap .sp-wb-tabelle { background: #faf7f7; border-radius: 0 0 8px 8px; overflow: hidden; }
.spieler-saison-titel + .sp-wb-wrap .sp-wb-tabelle td, .spieler-saison-titel + .sp-wb-wrap .sp-wb-tabelle th { padding-left: 0.9rem; padding-right: 0.9rem; }

/* ===== WETTBEWERBS-TABELLE: "Leistungsdaten der gesamten Karriere" ===== */
.sp-wb-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sp-wb-tabelle { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 420px; }
.sp-wb-tabelle th { text-align: right; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.02em; color: #999; font-weight: 700; padding: 0 0.4rem 0.5rem; }
.sp-wb-tabelle th:first-child, .sp-wb-tabelle td:first-child { text-align: left; padding-left: 0; }
.sp-wb-tabelle td { padding: 0.55rem 0.4rem; text-align: right; border-top: 1px solid #f0e6e6; color: #1a1a1a; font-weight: 600; }
.sp-wb-name { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.sp-wb-name img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.sp-wb-tabelle tfoot td { border-top: 2px solid #a70909; font-weight: 800; color: #a70909; }
@media (max-width: 480px) {
    .sp-wb-tabelle { font-size: 0.78rem; }
}

/* ===== TRANSFER-HISTORIE: eine Karte je Wechsel, Verein-A -> Verein-B ===== */
.sp-transfer-karte { background: #faf7f7; border-radius: 8px; padding: 0.8rem 0.9rem; margin-bottom: 0.6rem; }
.sp-transfer-wechsel { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; flex-wrap: wrap; }
.sp-transfer-verein { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #1a1a1a; }
.sp-transfer-verein img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.sp-transfer-pfeil { color: #c9a5a5; }
.sp-transfer-meta { display: flex; gap: 0.9rem; margin-top: 0.5rem; font-size: 0.75rem; color: #888; flex-wrap: wrap; }
.sp-transfer-meta strong { color: #555; font-weight: 700; }

@media (max-width: 480px) {
    .sp-kopf { padding: 1rem; gap: 0.8rem; }
    .sp-kopf-foto, .sp-kopf-foto-platz { width: 56px; height: 56px; }
    .sp-kopf-name { font-size: 1.02rem; }
    .subtab-nav { padding: 0.8rem 0.9rem 0; }
    .sp-tab-inhalt { padding: 1rem 0.9rem; }
}
