/* RadarMeczy — profil drużyny v68
   Kierunek: prosty interfejs sportowy. Bez dekoracyjnych gradientów, wielkich kart i "AI dashboard" look. */

.team23-shell {
    background: #f5f7f6;
}

.team23-page {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 72px;
    display: grid;
    gap: 14px;
    color: #17211b;
}

.team23-page a {
    text-decoration: none;
}

.team23-page .back-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    color: #5d6872;
    font-size: 14px;
    font-weight: 700;
}

.team23-page .back-link:hover {
    color: #169b57;
}

/* Header drużyny */
.team23-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    min-height: 190px;
    padding: 30px 34px;
    border: 1px solid #e5e9e7;
    border-radius: 22px;
    background: #fff;
}

.team23-identity {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.team23-crest {
    width: 126px;
    height: 126px;
    flex: 0 0 126px;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 31px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .09);
    box-sizing: border-box;
}

.team23-crest img {
    display: block;
    width: 96px;
    height: 96px;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.team23-identity-copy {
    min-width: 0;
}

.team27-kicker {
    display: block;
    margin-bottom: 7px;
    color: #169b57;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
}

.team23-identity-copy h1 {
    margin: 0;
    color: #111b16;
    font: 800 clamp(30px, 3vw, 44px)/1.05 "Inter Tight", Arial, sans-serif;
    letter-spacing: -.035em;
}

.team23-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 14px;
    color: #66726c;
    font-size: 14px;
    font-weight: 600;
}

.team23-meta a,
.team23-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
}

.team23-meta a:hover {
    color: #169b57;
}

.team23-meta .crest-report-link-v50 {
    color: #169b57;
    font-weight: 700;
}

.team23-form {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
}

.team23-form-label {
    margin-right: 4px;
    color: #66726c;
    font-size: 13px;
    font-weight: 700;
}

.team23-form-chip {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.team23-form-chip.is-w { background: #169b57; }
.team23-form-chip.is-d { background: #84918a; }
.team23-form-chip.is-l { background: #d95454; }

.team23-favorite-v46 {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border: 1px solid #169b57;
    border-radius: 12px;
    background: #169b57;
    color: #fff;
    font: 800 14px/1 "Inter Tight", Arial, sans-serif;
    cursor: pointer;
    transition: .16s ease;
}

.team23-favorite-v46:hover,
.team23-favorite-v46[aria-pressed="true"] {
    background: #117e48;
    border-color: #117e48;
    color: #fff;
}

/* Nawigacja profilu */
.team27-section-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px;
    overflow-x: auto;
    border: 1px solid #e5e9e7;
    border-radius: 15px;
    background: #fff;
    scrollbar-width: none;
}

.team27-section-nav::-webkit-scrollbar { display: none; }

.team27-section-nav a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 10px;
    color: #5d6862;
    font-size: 14px;
    font-weight: 700;
}

.team27-section-nav a:hover {
    background: #f1f7f3;
    color: #169b57;
}

/* Forma — jeden płaski moduł zamiast kafelkowego dashboardu */
.team24-form-radar {
    scroll-margin-top: 90px;
    overflow: hidden;
    border: 1px solid #dde4e0;
    border-radius: 12px;
    background: #fff;
}

.team24-form-radar-head {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    border-bottom: 1px solid #e7ece9;
}

.team24-form-radar-head h2,
.team23-section-head h2,
.related-squads-head-v50 h2 {
    margin: 0;
    color: #17211b;
    font: 800 21px/1.15 "Inter Tight", Arial, sans-serif;
    letter-spacing: -.015em;
}

.team24-form-radar-head p,
.team23-section-head p,
.related-squads-head-v50 p {
    margin: 4px 0 0;
    color: #7b8781;
    font-size: 13px;
}

.team24-form-radar-head > strong {
    color: #169b57;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.team24-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.team24-stat {
    min-width: 0;
    padding: 17px 16px;
    border-right: 1px solid #edf0ee;
}

.team24-stat:nth-child(6) {
    border-right: 0;
}

.team24-stat > span,
.team24-stat > small {
    display: block;
    color: #7b8781;
    font-size: 12px;
    line-height: 1.3;
}

.team24-stat > strong {
    display: block;
    margin: 6px 0 4px;
    color: #101713;
    font: 800 25px/1 "Inter Tight", Arial, sans-serif;
}

.team24-stat-wide {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-top: 1px solid #e7ece9;
    background: #fafbfa;
}

.team24-stat-wide > span {
    font-weight: 750;
}

.team24-stat-wide > strong {
    margin: 0;
    color: #169b57;
    font-size: 16px;
}

.team24-stat-wide > small {
    margin-left: auto;
    text-align: right;
}

/* Tekst SEO — dyskretny */
.team24-intro {
    margin: 0;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #7c8781;
    font-size: 13px;
    line-height: 1.55;
}

.team24-intro p { margin: 0; }
.team24-intro a { color: #137e49; font-weight: 700; }

/* Drużyny tego samego klubu */
.related-squads-v50 {
    padding: 0;
    border: 1px solid #dde4e0;
    border-radius: 12px;
    background: #fff;
}

.related-squads-head-v50 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #e7ece9;
}

.related-squads-head-v50 > a {
    color: #137e49;
    font-size: 13px;
    font-weight: 750;
}

.related-squads-grid-v50 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.related-squad-card-v50 {
    min-height: 70px;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-right: 1px solid #edf0ee;
    color: #17211b;
}

.related-squad-card-v50:nth-child(even) { border-right: 0; }
.related-squad-card-v50.is-current { background: #f3faf6; }
.related-squad-card-v50 small { display:block; color:#7c8781; font-size:11px; }
.related-squad-card-v50 strong { display:block; margin-top:2px; font-size:14px; }
.related-squad-card-v50 b { color:#169b57; font-size:11px; }
.related-squad-card-v50 i { color:#9aa39e; }
.related-squad-crest-v50 { width:38px; height:38px; display:grid; place-items:center; }
.related-squad-crest-v50 img { max-width:34px; max-height:34px; object-fit:contain; }

/* Ostatni / następny — proste bloki meczowe */
.team23-highlight-grid {
    scroll-margin-top: 90px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.team23-highlight {
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid #dde4e0;
    border-radius: 12px;
    background: #fff;
}

.team23-highlight.is-next {
    border-left: 4px solid #169b57;
}

.team23-highlight-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.team27-section-label {
    display: block;
    margin-bottom: 3px;
    color: #76827c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.team23-highlight-top strong {
    color: #17211b;
    font-size: 15px;
}

.team23-status-chip {
    padding: 5px 8px;
    border-radius: 6px;
    background: #eef1ef;
    color: #64716a;
    font-size: 10px;
    font-weight: 850;
}

.team23-status-chip.is-green {
    background: #eaf7f0;
    color: #137e49;
}

.team23-highlight-match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 20px 0 17px;
    color: #17211b;
}

.team23-highlight-side {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team23-highlight-side.is-away {
    flex-direction: row-reverse;
    text-align: right;
}

.team23-highlight-side > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 750;
}

.team23-mini-crest {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
}

.team23-mini-crest img {
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
}

.team23-highlight-score {
    color: #111914;
    font: 850 30px/1 "Inter Tight", Arial, sans-serif;
    white-space: nowrap;
}

.team23-highlight-score span { color:#98a19c; padding:0 2px; }
.team23-highlight-score.is-vs { color:#88928d; font-size:16px; }

.team23-highlight-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #edf0ee;
    color: #7b8781;
    font-size: 12px;
}

.team23-highlight-bottom a { color:#137e49; font-weight:750; }
.team23-highlight-empty { padding: 22px 0 8px; color:#7b8781; font-size:13px; }

/* Układ główny */
.team23-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) 330px;
    align-items: start;
    gap: 14px;
}

.team23-main-column,
.team23-side-column {
    min-width: 0;
    display: grid;
    gap: 14px;
}

.team23-side-column {
    position: sticky;
    top: 84px;
}

.team23-card {
    scroll-margin-top: 90px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dde4e0;
    border-radius: 12px;
    background: #fff;
}

.team23-section-head {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #e7ece9;
}

.team23-section-head.compact { min-height:60px; }
.team23-muted { color:#85908a; font-size:12px; white-space:nowrap; }
.team24-section-link { color:#137e49; font-size:13px; font-weight:750; }

/* Listy meczów */
.team23-match-list {
    padding: 0;
}

.team23-match-row {
    min-height: 68px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 34px 62px 18px;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #edf0ee;
    color: #17211b;
}

.team23-match-row:last-child { border-bottom:0; }
.team23-match-row:hover { background:#f8faf9; }

.team23-match-date strong { display:block; font-size:15px; }
.team23-match-date span { display:block; margin-top:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#8a948f; font-size:10px; }

.team23-match-teams { min-width:0; display:grid; gap:3px; }
.team23-match-teams span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#5b6861; font-size:14px; }
.team23-match-teams .is-team { color:#17211b; font-weight:800; }

.team23-match-result {
    width: 28px;
    height: 28px;
    display:grid;
    place-items:center;
    border-radius:50%;
    color:#fff;
    font-size:11px;
    font-weight:850;
}
.team23-match-result.is-w { background:#169b57; }
.team23-match-result.is-d { background:#84918a; }
.team23-match-result.is-l { background:#d95454; }
.team23-match-result.is-neutral { background:#dfe5e1; color:#66736c; }

.team23-match-score { text-align:right; color:#111914; font-size:17px; font-weight:850; }
.team23-row-arrow { text-align:right; color:#a3aca7; }
.team23-match-competition { color:#8a948f; font-size:11px; }

.team23-empty { padding:24px 18px; color:#7c8781; font-size:13px; }
.team23-empty strong { display:block; margin-bottom:5px; color:#4d5a53; font-size:14px; }
.team23-empty span { display:block; }

/* Tabela */
.team24-table-wrap { overflow-x:auto; }
.team24-table { width:100%; border-collapse:collapse; font-size:13px; }
.team24-table th,
.team24-table td { padding:10px 9px; border-bottom:1px solid #edf0ee; text-align:center; white-space:nowrap; }
.team24-table th { background:#fafbfa; color:#78837d; font-size:11px; text-transform:uppercase; }
.team24-table th:nth-child(2),
.team24-table td:nth-child(2) { text-align:left; }
.team24-table tr:last-child td { border-bottom:0; }
.team24-table tr.is-current { background:#edf8f2; }
.team24-table tr.is-current td:first-child { color:#137e49; font-weight:850; }
.team24-table a { color:#17211b; font-weight:750; }

/* Pełny sezon */
.team23-round-list { display:grid; }
.team23-round { border-bottom:1px solid #edf0ee; }
.team23-round:last-child { border-bottom:0; }
.team23-round summary { min-height:62px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 18px; cursor:pointer; list-style:none; }
.team23-round summary::-webkit-details-marker { display:none; }
.team23-round summary strong { display:block; color:#17211b; font-size:14px; }
.team23-round summary small { display:block; margin-top:3px; color:#87918c; font-size:11px; }
.team23-round-count { color:#8a948f; font-size:11px; }
.team23-round[open] summary { background:#f8faf9; }
.team23-round-fixtures { padding:0 18px 14px; }
.team23-round-row { display:grid; grid-template-columns:100px minmax(0,1fr) 46px minmax(0,1fr); gap:10px; align-items:center; padding:8px 0; border-top:1px solid #edf0ee; font-size:13px; }
.team23-round-row time { color:#7d8882; }
.team23-round-row strong { text-align:center; }
.team23-round-row span:last-child { text-align:right; }
.team23-round-link { display:inline-flex; margin-top:8px; color:#137e49; font-size:12px; font-weight:750; }

/* Prawa kolumna */
.team23-league-list { display:grid; }
.team23-league-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; padding:14px 16px; border-bottom:1px solid #edf0ee; color:#17211b; }
.team23-league-row:hover { background:#f8faf9; }
.team23-league-copy { min-width:0; }
.team23-league-copy > span { display:block; margin-bottom:4px; color:#169b57; font-size:10px; font-weight:850; }
.team23-league-copy strong { display:block; font-size:13px; line-height:1.3; }
.team23-league-copy small { display:block; margin-top:3px; color:#8a948f; font-size:11px; }
.team23-position { text-align:right; }
.team23-position strong { display:block; color:#111914; font-size:20px; }
.team23-position span { display:block; margin-top:2px; color:#7d8882; font-size:11px; }
.team23-position.is-cup strong { max-width:110px; font-size:12px; line-height:1.25; }
.team23-position .is-advanced { color:#169b57; }
.team23-position .is-eliminated { color:#d95454; }
.team23-league-stats { display:flex; justify-content:space-between; gap:8px; padding:10px 16px; border-bottom:1px solid #edf0ee; background:#fafbfa; color:#7b8781; font-size:11px; }
.team23-league-stats b { color:#17211b; }

.team23-venue-copy { padding:15px 16px; }
.team23-venue-copy h3 { margin:0; font-size:16px; }
.team23-venue-copy h3 a { color:#17211b; }
.team23-venue-copy p { margin:6px 0 9px; color:#758079; font-size:13px; line-height:1.45; }
.team23-city-link { color:#137e49; font-size:12px; font-weight:750; }
.team24-route-link { display:inline-flex; align-items:center; gap:7px; margin-top:12px; padding:9px 11px; border:1px solid #d9e3dd; border-radius:8px; color:#137e49; font-size:12px; font-weight:750; }
.team24-route-link:hover { border-color:#169b57; background:#f3faf6; }
.team23-venue-map { height:230px; border-top:1px solid #e7ece9; background:#edf1ef; }
.team23-venue-map.is-empty { display:grid; place-items:center; color:#86918b; font-size:12px; }

@media (max-width: 1050px) {
    .team23-crest { width:112px; height:112px; flex-basis:112px; border-radius:28px; }
    .team23-crest img { width:84px; height:84px; max-width:none; max-height:none; }
}

@media (max-width: 1020px) {
    .team24-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .team24-stat { border-bottom:1px solid #edf0ee; }
    .team24-stat:nth-child(3n) { border-right:0; }
    .team24-stat-wide { grid-column:1/-1; }
    .team23-layout { grid-template-columns:1fr; }
    .team23-side-column { position:static; grid-template-columns:repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
    .team23-page { width:calc(100% - 24px); padding-top:18px; }
    .team23-hero { grid-template-columns:1fr; gap:16px; padding:22px; }
    .team23-identity { align-items:flex-start; gap:16px; }
    .team23-crest { width:84px; height:84px; flex-basis:84px; padding:0; border-radius:22px; box-shadow:0 10px 24px rgba(15,23,42,.08); }
    .team23-crest img { width:64px; height:64px; max-width:none; max-height:none; }
    .team23-identity-copy h1 { font-size:29px; }
    .team23-meta { gap:6px 10px; font-size:13px; }
    .team23-favorite-v46 { width:100%; }
    .team24-stat-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
    .team24-stat:nth-child(3n) { border-right:1px solid #edf0ee; }
    .team24-stat:nth-child(2n) { border-right:0; }
    .team24-stat-wide { display:grid; grid-template-columns:1fr auto; gap:4px 10px; }
    .team24-stat-wide > small { grid-column:1/-1; margin-left:0; text-align:left; }
    .team23-highlight-grid { grid-template-columns:1fr; }
    .team23-side-column { grid-template-columns:1fr; }
    .related-squads-grid-v50 { grid-template-columns:1fr; }
    .related-squad-card-v50 { border-right:0; border-bottom:1px solid #edf0ee; }
    .related-squad-card-v50:last-child { border-bottom:0; }
    .team23-match-row { grid-template-columns:54px minmax(0,1fr) 28px 50px; padding-inline:12px; }
    .team23-row-arrow { display:none; }
    .team23-section-head { padding-inline:14px; }
    .team23-round-row { grid-template-columns:78px minmax(0,1fr) 42px minmax(0,1fr); font-size:12px; }
}

@media (max-width: 480px) {
    .team23-identity { display:grid; grid-template-columns:84px minmax(0,1fr); }
    .team23-crest { width:84px; height:84px; flex-basis:84px; padding:0; border-radius:22px; }
    .team23-crest img { width:64px; height:64px; max-width:none; max-height:none; }
    .team23-identity-copy h1 { font-size:25px; }
    .team23-meta { font-size:12px; }
    .team24-form-radar-head { align-items:flex-start; }
    .team24-stat { padding:14px 12px; }
    .team24-stat > strong { font-size:22px; }
    .team23-highlight { padding:16px; }
    .team23-highlight-match { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:8px; }
    .team23-mini-crest { width:34px; height:34px; flex-basis:34px; }
    .team23-mini-crest img { max-width:31px; max-height:31px; }
    .team23-highlight-side > span:last-child { font-size:12px; }
    .team23-highlight-score { font-size:25px; }
    .team23-highlight-bottom { align-items:flex-start; flex-direction:column; }
    .team23-round-row { grid-template-columns:1fr 36px 1fr; }
    .team23-round-row time { grid-column:1/-1; }
}

/* =========================================================
   RadarMeczy v28 — produktowy profil drużyny
   Inspiracja: czytelność aplikacji sportowych, bez kopiowania UI.
   Jasny, informacyjny, z zielenią RadarMeczy jako akcentem.
   ========================================================= */

.team28-match-showcase {
    scroll-margin-top: 90px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .85fr);
    gap: 14px;
}

.team28-featured-match {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce4df;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(16, 31, 23, .045);
}

.team28-featured-match.is-next {
    border-top: 3px solid #169b57;
}

.team28-match-heading {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #edf1ef;
}

.team28-match-heading > div {
    min-width: 0;
}

.team28-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #6f7d75;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.team28-match-heading strong {
    display: block;
    overflow: hidden;
    color: #162019;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team28-live-label,
.team28-ft-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .035em;
}

.team28-live-label {
    background: #e9f7ef;
    color: #137e49;
}

.team28-ft-label {
    background: #eef1ef;
    color: #627068;
}

.team28-featured-body {
    min-height: 170px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 24px 22px 20px;
    color: #17211b;
}

.team28-featured-body:hover .team28-featured-team strong {
    color: #137e49;
}

.team28-featured-team {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.team28-featured-team strong {
    max-width: 100%;
    overflow: hidden;
    color: #17211b;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    transition: color .15s ease;
}


.team28-kickoff {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-inline: 1px solid #edf1ef;
    color: #738078;
    text-align: center;
}

.team28-kickoff > span {
    font-size: 12px;
    font-weight: 650;
}

.team28-kickoff > strong {
    color: #101713;
    font: 850 30px/1 "Inter Tight", Arial, sans-serif;
    letter-spacing: -.025em;
}

.team28-kickoff > small {
    margin-top: 2px;
    color: #98a29d;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
}

.team28-match-footer {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 14px 10px 18px;
    border-top: 1px solid #edf1ef;
    background: #fbfcfb;
}

.team28-venue-line {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #66736c;
    font-size: 12px;
}

.team28-venue-line i {
    flex: 0 0 auto;
    color: #169b57;
}

.team28-venue-line span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team28-match-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #cee6d8;
    border-radius: 8px;
    background: #edf8f2;
    color: #137e49;
    font-size: 12px;
    font-weight: 800;
}

.team28-match-cta:hover {
    border-color: #169b57;
    background: #169b57;
    color: #fff;
}

.team28-last-body {
    min-height: 170px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: stretch;
    color: #17211b;
}

.team28-last-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-right: 1px solid #edf1ef;
    background: #fafbfa;
    color: #27352d;
}

.team28-last-date > span {
    font-size: 13px;
    font-weight: 800;
}

.team28-last-date > small {
    color: #8b9690;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.team28-last-teams {
    display: grid;
    align-content: center;
    gap: 13px;
    padding: 20px 18px;
}

.team28-last-teams > div {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.team28-last-teams strong {
    overflow: hidden;
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team28-last-teams b {
    color: #111914;
    font: 850 21px/1 "Inter Tight", Arial, sans-serif;
}


.team28-match-footer.is-last-footer {
    color: #7a867f;
    font-size: 11px;
}

.team28-match-footer.is-last-footer > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #137e49;
    font-size: 12px;
    font-weight: 800;
}

.team28-match-empty {
    min-height: 150px;
    display: grid;
    place-items: center;
    padding: 22px;
    color: #7b8781;
    font-size: 13px;
    text-align: center;
}

/* Rozgrywki — normalna liga + prosty komunikat po odpadnięciu z pucharu */
.team23-side-card .team23-league-list {
    padding: 0 12px 12px;
}

.team23-side-card .team23-league-row {
    margin-top: 10px;
    padding: 13px 12px;
    border: 1px solid #e4e9e6;
    border-radius: 9px;
    background: #fff;
}

.team23-side-card .team23-league-row:hover {
    border-color: #cfe4d7;
    background: #f8fcfa;
}

.team23-side-card .team23-league-stats {
    margin: 0 0 0;
    padding: 9px 12px;
    border: 0;
    border-inline: 1px solid #e4e9e6;
    border-bottom: 1px solid #e4e9e6;
    border-radius: 0 0 9px 9px;
    background: #f8faf9;
}

.team23-side-card .team23-league-row + .team23-league-stats {
    margin-top: -1px;
}

.team23-side-card .team23-league-row:has(+ .team23-league-stats) {
    border-radius: 9px 9px 0 0;
}

.team28-cup-finished {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin-top: 10px;
    padding: 13px 12px;
    border: 1px solid #eadfdf;
    border-radius: 9px;
    background: #fdfafa;
}

.team28-cup-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f6eaea;
    color: #bd4c4c;
    font-size: 14px;
}

.team28-cup-finished > div {
    min-width: 0;
}

.team28-cup-finished small,
.team28-cup-finished strong,
.team28-cup-finished b {
    display: block;
}

.team28-cup-finished small {
    margin-bottom: 2px;
    color: #a46b6b;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.team28-cup-finished strong {
    color: #3d302f;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
}

.team28-cup-finished b {
    margin-top: 4px;
    color: #c14d4d;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

/* Nieco bardziej produktowy rytm pozostałych sekcji */
.team23-card,
.team24-form-radar {
    box-shadow: 0 7px 24px rgba(16, 31, 23, .035);
}

.team23-hero,
.team27-section-nav {
    box-shadow: 0 8px 26px rgba(18, 27, 23, .045);
}

.team24-form-radar-head {
    background: #fbfcfb;
}

.team24-stat {
    position: relative;
}

.team24-stat::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #d8e8df;
}

.team24-stat > strong {
    letter-spacing: -.025em;
}

@media (max-width: 900px) {
    .team28-match-showcase {
        grid-template-columns: 1fr;
    }

    .team28-featured-body {
        min-height: 154px;
    }
}

@media (max-width: 600px) {
    .team28-match-heading {
        padding: 12px 14px;
    }

    .team28-match-heading strong {
        white-space: normal;
    }

    .team28-featured-body {
        grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
        gap: 8px;
        padding: 20px 12px 16px;
    }


    .team28-featured-team strong {
        font-size: 13px;
    }

    .team28-kickoff > strong {
        font-size: 24px;
    }

    .team28-match-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 11px 14px;
    }

    .team28-match-cta {
        width: 100%;
        justify-content: center;
    }

    .team28-last-body {
        min-height: 142px;
    }
}


/* RadarMeczy v30 — przejścia między drużynami z tabeli */
.team30-standing-team-link {
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#17211b !important;
    text-decoration:none;
    font-weight:750;
    transition:color .15s ease;
}
.team30-standing-team-link i {
    font-size:9px;
    color:#9aa39e;
    opacity:0;
    transform:translate(-2px, 2px);
    transition:opacity .15s ease, transform .15s ease, color .15s ease;
}
.team30-standing-team-link:hover { color:#169b57 !important; }
.team30-standing-team-link:hover i {
    color:#169b57;
    opacity:1;
    transform:translate(0, 0);
}
.team30-standing-team-name { font-weight:750; color:#17211b; }
.team24-table tr.is-current .team30-standing-team-link { color:#137e49 !important; }


/* v31 — spójne herby i herby w tabeli */
.team30-standing-team-link,
.team30-standing-team-name {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #17211b;
    font-weight: 750;
    line-height: 1.2;
}

.team30-standing-team-link:hover .team31-standing-name {
    color: #169b57;
}

.team31-standing-crest {
    position: relative;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e5ebe7;
    border-radius: 8px;
    background: #fff;
}

.team31-standing-crest > img {
    width: auto;
    height: auto;
    max-width: 21px;
    max-height: 21px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.team31-standing-crest > span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #748078;
    background: #f1f5f2;
    font-size: 11px;
    font-weight: 850;
}

.team31-standing-crest.has-logo > span {
    display: none;
}

.team31-standing-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Herby w kartach meczu — jeden kontrolowany kadr dla wszystkich proporcji plików. */
.team28-featured-crest {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e6ebe8;
    border-radius: 14px;
    background: #fbfcfb;
}

.team28-featured-crest img {
    width: auto;
    height: auto;
    max-width: 46px;
    max-height: 46px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.team28-last-crest {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e6ebe8;
    border-radius: 8px;
    background: #fff;
}

.team28-last-crest img {
    width: auto;
    height: auto;
    max-width: 23px;
    max-height: 23px;
    object-fit: contain;
    object-position: center;
    display: block;
}

@media (max-width: 720px) {
    .team28-featured-crest {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .team28-featured-crest img {
        max-width: 38px;
        max-height: 38px;
    }

    .team31-standing-crest {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .team31-standing-crest > img {
        max-width: 18px;
        max-height: 18px;
    }
}
