/* ================================
   DARK THEME — Component overrides
   Loaded after all component sheets.
   Design-token overrides live in main.css.
================================ */

/* ================================
   clubes.css — Clubs & teams
================================ */

:root[data-theme="dark"] .clubs-sport-card,
:root[data-theme="dark"] .club-detail-hero,
:root[data-theme="dark"] .club-detail-card,
:root[data-theme="dark"] .club-public-card,
:root[data-theme="dark"] .club-team-card,
:root[data-theme="dark"] .club-match-card,
:root[data-theme="dark"] .club-news-card,
:root[data-theme="dark"] .team-detail-page .club-detail-card,
:root[data-theme="dark"] .team-detail-page .club-detail-hero {
    background: linear-gradient(180deg, rgba(19, 31, 45, 0.98) 0%, rgba(14, 24, 36, 0.98) 100%);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 14px 28px rgba(0,0,0,0.24);
}

:root[data-theme="dark"] .clubs-sport-card:hover,
:root[data-theme="dark"] .club-detail-card:hover,
:root[data-theme="dark"] .club-public-card:hover {
    border-color: rgba(26, 199, 184, 0.24);
    box-shadow: 0 18px 34px rgba(0,0,0,0.30);
}

:root[data-theme="dark"] .clubs-sport-pill,
:root[data-theme="dark"] .club-public-tag,
:root[data-theme="dark"] .club-detail-tags span,
:root[data-theme="dark"] .team-detail-page .club-detail-tags span {
    background: rgba(26,199,184,.12);
    border-color: rgba(26,199,184,.22);
    color: #8ef0e7;
}

:root[data-theme="dark"] .noticia-tag {
    background: color-mix(in srgb, var(--tag-color, #0aa89e) 16%, rgba(15,23,42,.92));
    border-color: color-mix(in srgb, var(--tag-color, #0aa89e) 36%, rgba(255,255,255,.12));
    color: #d7fffb;
}

:root[data-theme="dark"] .noticia-taxonomy .noticia-categoria {
    background: rgba(26,199,184,.12);
    border-color: rgba(26,199,184,.22);
    color: #8ef0e7;
}

:root[data-theme="dark"] .clubs-sport-title,
:root[data-theme="dark"] .club-public-card .club-nombre,
:root[data-theme="dark"] .club-detail-title,
:root[data-theme="dark"] .club-detail-card h2,
:root[data-theme="dark"] .club-detail-card h3,
:root[data-theme="dark"] .club-detail-card h4,
:root[data-theme="dark"] .team-detail-page .club-detail-card h2,
:root[data-theme="dark"] .team-detail-page .club-detail-card h3 {
    color: var(--ui-title);
}

:root[data-theme="dark"] .clubs-sport-meta span,
:root[data-theme="dark"] .club-public-localidad,
:root[data-theme="dark"] .club-public-equipos,
:root[data-theme="dark"] .club-detail-meta span,
:root[data-theme="dark"] .club-team-meta span,
:root[data-theme="dark"] .club-match-meta span,
:root[data-theme="dark"] .club-match-head span,
:root[data-theme="dark"] .team-detail-page .club-detail-meta span,
:root[data-theme="dark"] .team-detail-page .club-match-meta span,
:root[data-theme="dark"] .team-detail-page .club-match-head span {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
    color: var(--ui-muted);
}

:root[data-theme="dark"] .club-public-meta,
:root[data-theme="dark"] .club-detail-copy .u-muted,
:root[data-theme="dark"] .club-detail-card .u-muted,
:root[data-theme="dark"] .team-detail-page .u-muted {
    color: var(--ui-muted);
}

:root[data-theme="dark"] .club-public-link:hover .club-nombre,
:root[data-theme="dark"] .club-detail-toolbar a:hover {
    color: #8ef0e7;
}

:root[data-theme="dark"] .team-detail-page .club-match-item {
    background: linear-gradient(180deg, rgba(17, 29, 44, 0.94) 0%, rgba(12, 22, 34, 0.98) 100%);
    border-color: rgba(255,255,255,0.08);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 12px 24px rgba(0,0,0,.22);
}

:root[data-theme="dark"] .team-detail-page .club-match-item.is-win {
    border-color: rgba(34,197,94,.22);
}

:root[data-theme="dark"] .team-detail-page .club-match-item.is-draw {
    border-color: rgba(245,158,11,.22);
}

:root[data-theme="dark"] .team-detail-page .club-match-item.is-loss {
    border-color: rgba(239,68,68,.20);
}

:root[data-theme="dark"] .team-detail-page .club-match-item.is-upcoming {
    border-color: rgba(96,165,250,.22);
}

/* ================================
   diary.css — Agenda / Events
================================ */

:root[data-theme="dark"] .agenda.public-page-block,
:root[data-theme="dark"] .agenda-event-detail.public-page-block {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(14, 24, 36, 0.96) 0%, rgba(10, 18, 28, 0.98) 100%);
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .agenda.public-page-block .section-title,
:root[data-theme="dark"] .agenda-event-detail .section-title,
:root[data-theme="dark"] .agenda-event-summary-title {
    color: #eef6ff;
}

:root[data-theme="dark"] .agenda.public-page-block .public-list-subtitle,
:root[data-theme="dark"] .agenda-event-detail .public-list-subtitle,
:root[data-theme="dark"] .agenda-event-kicker {
    color: #9fb1c3;
}

:root[data-theme="dark"] .agenda-event-kicker {
    background: rgba(26, 199, 184, 0.12);
    border-color: rgba(126, 229, 220, 0.18);
}

:root[data-theme="dark"] .agenda.public-page-block .evento {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.08), transparent 38%),
        linear-gradient(180deg, rgba(14, 24, 36, 0.96) 0%, rgba(10, 18, 28, 0.98) 100%);
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .agenda.public-page-block .evento:hover {
    border-color: rgba(126, 229, 220, 0.22);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

:root[data-theme="dark"] .agenda.public-page-block .evento-fecha,
:root[data-theme="dark"] .agenda-event-date-card {
    background: linear-gradient(180deg, rgba(26, 199, 184, 0.18) 0%, rgba(26, 199, 184, 0.10) 100%);
    border-color: rgba(126, 229, 220, 0.20);
    color: #aef7f0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

:root[data-theme="dark"] .agenda.public-page-block .evento-fecha--empty {
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.12) 0%, rgba(148, 163, 184, 0.05) 100%);
    border-color: rgba(148, 163, 184, 0.16);
    color: #c8d4e0;
}

:root[data-theme="dark"] .agenda.public-page-block .evento-titulo,
:root[data-theme="dark"] .agenda-event-extract,
:root[data-theme="dark"] .agenda-event-summary-value {
    color: #eef6ff;
}

:root[data-theme="dark"] .agenda.public-page-block .evento-extracto,
:root[data-theme="dark"] .agenda.public-page-block .evento-lugar,
:root[data-theme="dark"] .agenda.public-page-block .evento-fecha-mes,
:root[data-theme="dark"] .agenda.public-page-block .evento-fecha-year,
:root[data-theme="dark"] .agenda-event-body,
:root[data-theme="dark"] .agenda-event-date-month,
:root[data-theme="dark"] .agenda-event-date-year {
    color: #c7d4df;
}

:root[data-theme="dark"] .agenda.public-page-block .evento-cta,
:root[data-theme="dark"] .agenda-event-summary-icon {
    color: #a4f4ec;
}

:root[data-theme="dark"] .agenda-event-summary-item {
    background: rgba(26, 199, 184, 0.08);
    border-color: rgba(126, 229, 220, 0.14);
}

:root[data-theme="dark"] .agenda-event-summary-icon {
    background: rgba(26, 199, 184, 0.12);
}

:root[data-theme="dark"] .agenda-event-summary-card {
    background:
        linear-gradient(180deg, rgba(16, 28, 41, 0.96) 0%, rgba(10, 18, 28, 0.98) 100%);
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .agenda-event-actions--footer {
    border-top-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .agenda-event-hero {
    background: #0f1a27;
    border-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .agenda-poster-image {
    background: #0f1a27;
}

/* ================================
   home.css - More news block
================================ */

:root[data-theme="dark"] #mas-noticias-lanzarote,
:root[data-theme="dark"] .home-news-grid-more-extra {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.08), transparent 38%),
        linear-gradient(180deg, rgba(14, 24, 36, 0.96) 0%, rgba(10, 18, 28, 0.98) 100%);
    border-color: rgba(126, 229, 220, 0.16);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] #mas-noticias-lanzarote .section-head,
:root[data-theme="dark"] .home-news-grid-more-extra .section-head {
    border-bottom-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] #mas-noticias-lanzarote .section-title::before,
:root[data-theme="dark"] .home-news-grid-more-extra .section-title::before {
    background: rgba(126, 229, 220, 0.82);
    box-shadow: 0 0 0 4px rgba(126, 229, 220, 0.12);
}

:root[data-theme="dark"] .agenda-poster-close {
    background: rgba(11, 20, 31, 0.94);
    color: #eef6ff;
    box-shadow: 0 8px 20px rgba(0,0,0,.32);
}

/* ================================
   ligas.css — League pages (block 1 — nav & shared cards)
================================ */

:root[data-theme="dark"] .tercera-section-head {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .tercera-head-badge {
    background: linear-gradient(180deg, rgba(26, 199, 184, 0.18) 0%, rgba(26, 199, 184, 0.10) 100%);
    border-color: rgba(26, 199, 184, 0.24);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    color: #8ef0e7;
}

:root[data-theme="dark"] .league-hero-stat {
    background: linear-gradient(180deg, rgba(19, 31, 45, 0.92), rgba(12, 22, 34, 0.94));
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .league-hero-stat__label {
    color: #8ba2b5;
}

:root[data-theme="dark"] .league-hero-stat__value {
    color: #eef6ff;
}

:root[data-theme="dark"] .league-section-nav {
    border-color: rgba(126, 229, 220, 0.18);
    background: rgba(45, 212, 191, 0.08);
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.10), 0 10px 22px rgba(0, 0, 0, 0.20);
}

:root[data-theme="dark"] .league-section-nav__link,
:root[data-theme="dark"] .contextual-nav__link,
:root[data-theme="dark"] .contextual-nav__club,
:root[data-theme="dark"] .tercera-print-btn,
:root[data-theme="dark"] .jornada-form select,
:root[data-theme="dark"] .contextual-nav,
:root[data-theme="dark"] .tercera-card,
:root[data-theme="dark"] .tercera-card--clasificacion,
:root[data-theme="dark"] .tercera-clasificacion-wrap,
:root[data-theme="dark"] .tercera-tabla-wrap,
:root[data-theme="dark"] .team-page-card,
:root[data-theme="dark"] .team-hero-card,
:root[data-theme="dark"] .team-summary-card,
:root[data-theme="dark"] .team-results-card,
:root[data-theme="dark"] .team-upcoming-card,
:root[data-theme="dark"] .team-classification-card {
    background: linear-gradient(180deg, rgba(19, 31, 45, 0.98) 0%, rgba(14, 24, 36, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--ui-text);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .league-section-nav__link,
:root[data-theme="dark"] .contextual-nav__link {
    color: #d8e1ea;
    background: transparent;
    box-shadow: none;
}

:root[data-theme="dark"] .league-section-nav__link:hover,
:root[data-theme="dark"] .league-section-nav__link.is-active,
:root[data-theme="dark"] .contextual-nav__link:hover {
    background: rgba(26, 199, 184, 0.12);
    border-color: rgba(26, 199, 184, 0.24);
    color: #8ef0e7;
}

:root[data-theme="dark"] .league-section-nav__link.is-active {
    background: linear-gradient(180deg, rgba(45, 212, 191, 0.24), rgba(20, 184, 166, 0.16));
    border-color: rgba(126, 229, 220, 0.38);
    color: #f8fafc;
    box-shadow: 0 8px 18px rgba(45, 212, 191, 0.14);
}

:root[data-theme="dark"] .league-seo-intro {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(19, 31, 45, 0.92), rgba(12, 22, 34, 0.94));
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .league-seo-intro p {
    color: #c7d4df;
}

:root[data-theme="dark"] .tercera-print-btn {
    color: #99f6e4;
    background: rgba(45, 212, 191, 0.11);
    border-color: rgba(126, 229, 220, 0.28);
}

:root[data-theme="dark"] .league-jornada-nav {
    background: rgba(45, 212, 191, 0.08);
    border-color: rgba(126, 229, 220, 0.18);
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.08);
}

:root[data-theme="dark"] .league-jornada-nav__btn {
    color: #a4f4ec;
    background: rgba(19, 31, 45, 0.92);
    border-color: rgba(126, 229, 220, 0.22);
}

:root[data-theme="dark"] .league-jornada-nav__btn:hover {
    color: #ecfffc;
    background: rgba(26, 199, 184, 0.16);
    border-color: rgba(126, 229, 220, 0.34);
}

:root[data-theme="dark"] .league-jornada-nav__btn.is-disabled {
    color: #7f94a8;
    background: rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .league-jornada-nav__current strong {
    color: #eef6ff;
}

:root[data-theme="dark"] .league-jornada-nav__current span {
    color: #9fb1c3;
}

:root[data-theme="dark"] .contextual-nav__title,
:root[data-theme="dark"] .contextual-nav__link-label,
:root[data-theme="dark"] .contextual-nav__clubs-title,
:root[data-theme="dark"] .tercera-card h2,
:root[data-theme="dark"] .tercera-card h3,
:root[data-theme="dark"] .team-page-card h2,
:root[data-theme="dark"] .team-page-card h3,
:root[data-theme="dark"] .team-page-card h4 {
    color: var(--ui-title);
}

:root[data-theme="dark"] .contextual-nav__eyebrow,
:root[data-theme="dark"] .contextual-nav__clubs-eyebrow,
:root[data-theme="dark"] .contextual-nav__count {
    color: #a4f4ec;
}

:root[data-theme="dark"] .contextual-nav__clubs-count {
    color: #a4f4ec;
    background: rgba(26, 199, 184, 0.10);
    border-color: rgba(126, 229, 220, 0.22);
}

:root[data-theme="dark"] .contextual-nav__count {
    background: rgba(26, 199, 184, 0.10);
    border-color: rgba(126, 229, 220, 0.22);
}

:root[data-theme="dark"] .contextual-nav__description,
:root[data-theme="dark"] .contextual-nav__clubs-title,
:root[data-theme="dark"] .team-page-card .u-muted,
:root[data-theme="dark"] .tercera-card .u-muted {
    color: var(--ui-muted);
}

:root[data-theme="dark"] .contextual-nav__clubs {
    border-top-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .contextual-nav__club:hover,
:root[data-theme="dark"] .tercera-print-btn:hover {
    border-color: rgba(26, 199, 184, 0.24);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .tercera-public table,
:root[data-theme="dark"] .tercera-public th,
:root[data-theme="dark"] .tercera-public td,
:root[data-theme="dark"] .team-page-card table,
:root[data-theme="dark"] .team-page-card th,
:root[data-theme="dark"] .team-page-card td {
    color: var(--ui-text);
    border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .tercera-public thead th,
:root[data-theme="dark"] .team-page-card thead th {
    background: rgba(255,255,255,0.04);
    color: var(--ui-title);
}

:root[data-theme="dark"] .tercera-public tr:nth-child(even),
:root[data-theme="dark"] .team-page-card tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* ================================
   ligas.css — League pages (block 2 — jornadas & standings)
================================ */

:root[data-theme="dark"] .tercera-public.public-page-block,
:root[data-theme="dark"] .tercera-card,
:root[data-theme="dark"] .jornada-group {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.08), transparent 38%),
        linear-gradient(180deg, rgba(14, 24, 36, 0.96) 0%, rgba(10, 18, 28, 0.98) 100%);
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .tercera-card.is-primary,
:root[data-theme="dark"] .jornada-group.is-current {
    border-color: rgba(126, 229, 220, 0.22);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(26, 199, 184, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

:root[data-theme="dark"] .tercera-card-head,
:root[data-theme="dark"] .jornada-group-head {
    border-bottom-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .tercera-title,
:root[data-theme="dark"] .jornada-group-title {
    color: #eef6ff;
}

:root[data-theme="dark"] .tercera-card-kicker,
:root[data-theme="dark"] .jornada-group-kicker,
:root[data-theme="dark"] .tercera-match-head,
:root[data-theme="dark"] .tercera-date,
:root[data-theme="dark"] .u-muted {
    color: #9fb1c3;
}

:root[data-theme="dark"] .tercera-card-badge {
    color: #eef6ff;
    border-color: rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(22, 34, 48, 0.96), rgba(13, 22, 34, 0.96));
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

:root[data-theme="dark"] .tercera-card-badge.is-soft {
    color: #c7d4df;
    border-color: rgba(255,255,255,0.08);
    background: rgba(148, 163, 184, 0.08);
    box-shadow: none;
}

:root[data-theme="dark"] .jornada-group-link {
    color: #a4f4ec;
    border-color: rgba(126, 229, 220, 0.22);
    background: rgba(26, 199, 184, 0.10);
}

:root[data-theme="dark"] .jornada-group-link:hover {
    color: #ecfffc;
    background: rgba(26, 199, 184, 0.18);
    border-color: rgba(126, 229, 220, 0.34);
}

:root[data-theme="dark"] .results-editorial > article {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.10), transparent 38%),
        linear-gradient(180deg, rgba(14, 24, 36, 0.96) 0%, rgba(10, 18, 28, 0.98) 100%);
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .results-editorial__eyebrow,
:root[data-theme="dark"] .results-table-podium em,
:root[data-theme="dark"] .results-bottom-list em {
    color: #a4f4ec;
}

:root[data-theme="dark"] .results-editorial h3,
:root[data-theme="dark"] .results-editorial__summary p,
:root[data-theme="dark"] .results-featured-match strong,
:root[data-theme="dark"] .results-leader-card strong,
:root[data-theme="dark"] .results-table-podium strong,
:root[data-theme="dark"] .results-bottom-list strong {
    color: #eef6ff;
}

:root[data-theme="dark"] .results-featured-match {
    background: rgba(26, 199, 184, 0.10);
    border-color: rgba(126, 229, 220, 0.16);
}

:root[data-theme="dark"] .results-featured-match > span {
    color: #a4f4ec;
}

:root[data-theme="dark"] .results-featured-match em {
    background: rgba(26, 199, 184, 0.28);
    color: #ecfffc;
}

:root[data-theme="dark"] .results-leader-card {
    background: rgba(26, 199, 184, 0.10);
    border-color: rgba(126, 229, 220, 0.16);
}

:root[data-theme="dark"] .results-leader-card small,
:root[data-theme="dark"] .results-latest-item span {
    color: #c7d4df;
}

:root[data-theme="dark"] .results-table-podium li,
:root[data-theme="dark"] .results-latest-item,
:root[data-theme="dark"] .results-bottom-list span {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .results-table-podium li > span {
    background: rgba(26, 199, 184, 0.24);
    color: #ecfffc;
}

:root[data-theme="dark"] .results-latest-item strong {
    color: #a4f4ec;
    background: rgba(26, 199, 184, 0.10);
    border-color: rgba(126, 229, 220, 0.18);
}

:root[data-theme="dark"] .jornada-index {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.10), transparent 38%),
        linear-gradient(180deg, rgba(14, 24, 36, 0.94) 0%, rgba(10, 18, 28, 0.98) 100%);
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .jornada-index__head {
    border-bottom-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .jornada-index__kicker,
:root[data-theme="dark"] .jornada-index__link strong {
    color: #a4f4ec;
}

:root[data-theme="dark"] .jornada-index__head h3 {
    color: #eef6ff;
}

:root[data-theme="dark"] .jornada-index__head span,
:root[data-theme="dark"] .jornada-index__link span {
    color: #9fb1c3;
}

:root[data-theme="dark"] .jornada-index__link {
    color: #eef6ff;
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 10px 22px rgba(0,0,0,.20);
}

:root[data-theme="dark"] .jornada-index__link:hover {
    border-color: rgba(126, 229, 220, 0.24);
    background: rgba(26, 199, 184, 0.12);
}

:root[data-theme="dark"] .tercera-match {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(18, 30, 44, 0.96) 0%, rgba(11, 19, 30, 0.98) 100%);
    border-color: rgba(255,255,255,0.08);
    box-shadow:
        0 10px 22px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

:root[data-theme="dark"] .tercera-match:hover {
    border-color: rgba(126, 229, 220, 0.20);
    box-shadow:
        0 18px 34px rgba(0,0,0,.32),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .tercera-matches--calendar .tercera-match {
    background: linear-gradient(180deg, rgba(15, 28, 43, 0.96) 0%, rgba(11, 20, 33, 0.98) 100%);
    border-color: rgba(96, 165, 250, 0.18);
}

:root[data-theme="dark"] .tercera-match.is-final {
    border-left-color: #1ac7b8;
}

:root[data-theme="dark"] .tercera-match.is-live {
    border-color: rgba(245, 158, 11, 0.26);
    box-shadow:
        0 18px 34px rgba(245, 158, 11, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .tercera-match.is-scheduled {
    border-left-color: rgba(96, 165, 250, 0.72);
}

:root[data-theme="dark"] .tercera-matches--calendar .tercera-match.is-final {
    border-left-color: #60a5fa;
}

:root[data-theme="dark"] .tercera-date {
    color: #c7d4df;
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .tercera-status {
    color: #d9e4ee;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

:root[data-theme="dark"] .tercera-status.final {
    color: #9ff0b0;
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.24);
}

:root[data-theme="dark"] .tercera-status.en-juego {
    color: #ffd089;
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.24);
}

:root[data-theme="dark"] .tercera-status.programado {
    color: #a9cfff;
    background: rgba(59, 130, 246, 0.16);
    border-color: rgba(59, 130, 246, 0.24);
}

:root[data-theme="dark"] .tercera-status.aplazado {
    color: #ffb89a;
    background: rgba(249, 115, 22, 0.16);
    border-color: rgba(249, 115, 22, 0.24);
}

:root[data-theme="dark"] .tercera-match-body .team,
:root[data-theme="dark"] .tercera-match-body .team > .team-link-inline,
:root[data-theme="dark"] .tercera-match-body .team > .team-link-inline:visited {
    color: #eef6ff;
}

:root[data-theme="dark"] .tercera-match-body .team > .team-link-inline:hover {
    color: #a4f4ec;
}

:root[data-theme="dark"] .tercera-match-body .team > .team-link-inline > .team-shield-wrap,
:root[data-theme="dark"] .tercera-match-body .team > .team-shield-wrap {
    background:
        radial-gradient(circle at 30% 30%, rgba(30,45,63,.96) 0%, rgba(20,31,45,.98) 48%, rgba(12,22,34,.98) 100%);
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 10px 20px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .tercera-match-body .score {
    background: linear-gradient(180deg, rgba(26, 199, 184, 0.18), rgba(26, 199, 184, 0.11));
    color: #a4f4ec;
    border-color: rgba(126, 229, 220, 0.30);
    box-shadow:
        0 10px 22px rgba(26, 199, 184, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

:root[data-theme="dark"] .tercera-matches--calendar .tercera-match-body .score.is-scheduled {
    background: rgba(59, 130, 246, 0.14);
    color: #b8d8ff;
    border-color: rgba(96, 165, 250, 0.20);
}

:root[data-theme="dark"] .tercera-match-action .match-info-link {
    color: #a4f4ec;
    border-color: rgba(126, 229, 220, 0.22);
    background: rgba(26, 199, 184, 0.10);
}

:root[data-theme="dark"] .tercera-match-action .match-info-link:hover {
    color: #ecfffc;
    background: rgba(26, 199, 184, 0.18);
    border-color: rgba(126, 229, 220, 0.34);
}

:root[data-theme="dark"] .tercera-table-wrap {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(8, 15, 24, 0.42);
}

:root[data-theme="dark"] .tercera-table {
    color: #e7f0f8;
}

:root[data-theme="dark"] .tercera-table thead th {
    background: rgba(255,255,255,0.04);
    color: #c7d4df;
}

:root[data-theme="dark"] .tercera-table th,
:root[data-theme="dark"] .tercera-table td {
    border-bottom-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .tercera-table tbody tr {
    background: rgba(255,255,255,0.01);
}

:root[data-theme="dark"] .tercera-table tbody tr:hover {
    background: rgba(26, 199, 184, 0.06);
}

:root[data-theme="dark"] .clasif-summary-item {
    background: linear-gradient(180deg, rgba(19, 31, 45, 0.92), rgba(12, 22, 34, 0.94));
    border-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .clasif-summary-item.is-leader {
    background: linear-gradient(180deg, rgba(26, 199, 184, 0.13), rgba(26, 199, 184, 0.07));
    border-color: rgba(126, 229, 220, 0.16);
}

:root[data-theme="dark"] .clasif-summary-label,
:root[data-theme="dark"] .clasif-summary-item span:last-child {
    color: #9fb1c3;
}

:root[data-theme="dark"] .clasif-summary-item strong {
    color: #eef6ff;
}

:root[data-theme="dark"] .team-detail-intro {
    color: #c7d4df;
}

:root[data-theme="dark"] .team-detail-hero-stat,
:root[data-theme="dark"] .team-detail-stat {
    background: linear-gradient(180deg, rgba(19, 31, 45, 0.92), rgba(12, 22, 34, 0.94));
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .team-detail-hero-stat span,
:root[data-theme="dark"] .team-detail-stat__label {
    color: #9fb1c3;
}

:root[data-theme="dark"] .team-detail-hero-stat strong,
:root[data-theme="dark"] .team-detail-stat__value {
    color: #eef6ff;
}

:root[data-theme="dark"] .clasif-pos {
    background: rgba(255,255,255,0.06);
    color: #dbe7f3;
}

:root[data-theme="dark"] .clasif-points {
    background: rgba(26, 199, 184, 0.14);
    border-color: rgba(126, 229, 220, 0.22);
    color: #aef7f0;
}

:root[data-theme="dark"] .tercera-table tbody tr.is-champion .clasif-pos,
:root[data-theme="dark"] .tercera-table tbody tr.is-final-phase .clasif-pos {
    background: rgba(16,185,129,.18);
    color: #86efac;
}

:root[data-theme="dark"] .tercera-table tbody tr.is-playoff .clasif-pos,
:root[data-theme="dark"] .tercera-table tbody tr.is-final-qualifier .clasif-pos {
    background: rgba(59,130,246,.18);
    color: #93c5fd;
}

:root[data-theme="dark"] .tercera-table tbody tr.is-relegation .clasif-pos {
    background: rgba(239,68,68,.16);
    color: #fca5a5;
}

:root[data-theme="dark"] .tercera-table th:nth-child(10) {
    background: rgba(26, 199, 184, 0.14);
    color: #aef7f0;
}

:root[data-theme="dark"] .tercera-table td:nth-child(10) {
    background: rgba(26, 199, 184, 0.08);
    color: #eef6ff;
}

:root[data-theme="dark"] .tercera-table td strong {
    color: #eef6ff;
}

:root[data-theme="dark"] .team-with-shield,
:root[data-theme="dark"] .team-meta-col > span:first-child,
:root[data-theme="dark"] .team-link-inline,
:root[data-theme="dark"] .team-link-inline:visited {
    color: #eef6ff;
}

:root[data-theme="dark"] .team-link-inline:hover {
    color: #a4f4ec;
}

:root[data-theme="dark"] .contextual-nav__club-name,
:root[data-theme="dark"] .contextual-nav__empty {
    color: #c7d4df;
}

:root[data-theme="dark"] .clasif-legend-item {
    color: #c7d4df;
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .racha-inline-mobile .racha-dot,
:root[data-theme="dark"] .racha-list .racha-dot {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 4px 10px rgba(0,0,0,.22);
}

:root[data-theme="dark"] .racha-inline-mobile .racha-dot.w,
:root[data-theme="dark"] .racha-list .racha-dot.w {
    background: rgba(34, 197, 94, 0.20);
    border-color: rgba(74, 222, 128, 0.36);
    color: #bbf7d0;
}

:root[data-theme="dark"] .racha-inline-mobile .racha-dot.d,
:root[data-theme="dark"] .racha-list .racha-dot.d {
    background: rgba(245, 158, 11, 0.20);
    border-color: rgba(251, 191, 36, 0.36);
    color: #fde68a;
}

:root[data-theme="dark"] .racha-inline-mobile .racha-dot.l,
:root[data-theme="dark"] .racha-list .racha-dot.l {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(248, 113, 113, 0.36);
    color: #fecaca;
}

:root[data-theme="dark"] .racha-inline-mobile .racha-dot.is-latest,
:root[data-theme="dark"] .racha-list .racha-dot.is-latest {
    box-shadow:
        inset 0 0 0 1px rgba(8, 15, 24, 0.90),
        0 0 0 1px rgba(255,255,255,0.18),
        0 6px 14px rgba(0,0,0,.28);
}

:root[data-theme="dark"] .tercera-table tbody tr.is-champion {
    background: rgba(16, 185, 129, 0.12);
}

:root[data-theme="dark"] .tercera-table tbody tr.is-playoff,
:root[data-theme="dark"] .tercera-table tbody tr.is-final-phase,
:root[data-theme="dark"] .tercera-table tbody tr.is-final-qualifier {
    background: rgba(59, 130, 246, 0.10);
}

:root[data-theme="dark"] .tercera-table tbody tr.is-relegation {
    background: rgba(239, 68, 68, 0.10);
}

/* ================================
   partidos.css — Match calendar (block 1 — layout & filters)
================================ */

:root[data-theme="dark"] .matches-calendar-section,
:root[data-theme="dark"] .matches-filter-bar,
:root[data-theme="dark"] .matches-live-strip,
:root[data-theme="dark"] .matches-month-block,
:root[data-theme="dark"] .matches-day-block,
:root[data-theme="dark"] .match-calendar-card {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .matches-calendar-section {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.12), transparent 34%),
        linear-gradient(180deg, #0f1722 0%, #101b28 100%);
}

:root[data-theme="dark"] .matches-calendar-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .matches-calendar-header .public-list-count,
:root[data-theme="dark"] .matches-active-filter,
:root[data-theme="dark"] .match-calendar-card__league,
:root[data-theme="dark"] .match-calendar-card__jornada {
    background: rgba(26, 199, 184, 0.10);
    color: #8ef0e7;
    border-color: rgba(26, 199, 184, 0.18);
}

:root[data-theme="dark"] .matches-filter-bar,
:root[data-theme="dark"] .matches-view-nav,
:root[data-theme="dark"] .matches-month-nav,
:root[data-theme="dark"] .matches-month-block,
:root[data-theme="dark"] .matches-day-block,
:root[data-theme="dark"] .match-calendar-card {
    background: linear-gradient(180deg, rgba(19, 31, 45, 0.98) 0%, rgba(14, 24, 36, 0.98) 100%);
}

:root[data-theme="dark"] .matches-live-strip {
    background:
        radial-gradient(circle at top left, rgba(220, 38, 38, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(29, 15, 18, 0.98), rgba(18, 29, 34, 0.98));
}

:root[data-theme="dark"] .matches-live-strip__head h2,
:root[data-theme="dark"] .matches-month-head h2,
:root[data-theme="dark"] .match-calendar-card h3,
:root[data-theme="dark"] .match-calendar-card__team-name,
:root[data-theme="dark"] .matches-filter-field .control-label {
    color: var(--ui-title);
}

:root[data-theme="dark"] .matches-month-head,
:root[data-theme="dark"] .matches-filter-bar,
:root[data-theme="dark"] .matches-view-nav,
:root[data-theme="dark"] .matches-month-nav {
    border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .matches-search-input,
:root[data-theme="dark"] .matches-select {
    background: #0f1a27;
    color: #e6eef5;
    border-color: rgba(255,255,255,0.10);
}

:root[data-theme="dark"] .matches-search-input::placeholder {
    color: #8ea1b4;
}

:root[data-theme="dark"] .matches-view-chip,
:root[data-theme="dark"] .matches-month-chip {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
    color: #d3dde7;
}

:root[data-theme="dark"] .matches-view-chip.is-active,
:root[data-theme="dark"] .matches-view-chip:hover,
:root[data-theme="dark"] .matches-month-chip.is-active,
:root[data-theme="dark"] .matches-month-chip:hover {
    background: rgba(26, 199, 184, 0.12);
    border-color: rgba(26, 199, 184, 0.24);
    color: #8ef0e7;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .match-calendar-card:hover {
    border-color: rgba(26, 199, 184, 0.24);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.30);
}

:root[data-theme="dark"] .match-calendar-card .proximo-liga,
:root[data-theme="dark"] .match-calendar-card__league,
:root[data-theme="dark"] .matches-calendar-header .public-list-subtitle,
:root[data-theme="dark"] .matches-empty-state,
:root[data-theme="dark"] .matches-filter-field .control-label {
    color: var(--ui-muted);
}

/* ================================
   partidos.css — Match calendar (block 2 — cards detail & sidebar)
================================ */

:root[data-theme="dark"] .matches-calendar-section {
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .matches-calendar-header .section-title,
:root[data-theme="dark"] .matches-day-label,
:root[data-theme="dark"] .matches-live-strip__head h2,
:root[data-theme="dark"] .matches-month-head h2 {
    color: #eef6ff;
}

:root[data-theme="dark"] .matches-calendar-header .public-list-subtitle,
:root[data-theme="dark"] .matches-month-head,
:root[data-theme="dark"] .matches-empty-state .u-muted {
    color: #9fb1c3;
}

:root[data-theme="dark"] .matches-filter-bar {
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .matches-search-wrap,
:root[data-theme="dark"] .matches-select-wrap {
    color: #c7d4df;
}

:root[data-theme="dark"] .matches-search-icon,
:root[data-theme="dark"] .matches-select-icon,
:root[data-theme="dark"] .matches-search-clear {
    color: #9fb1c3;
}

:root[data-theme="dark"] .matches-search-clear:hover {
    color: #ecfffc;
}

:root[data-theme="dark"] .matches-active-filter {
    color: #dbe7f3;
    box-shadow: inset 0 0 0 1px rgba(126, 229, 220, 0.10);
}

:root[data-theme="dark"] .matches-active-filter a {
    color: #a4f4ec;
}

:root[data-theme="dark"] .matches-view-nav,
:root[data-theme="dark"] .matches-month-nav {
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

:root[data-theme="dark"] .matches-live-strip {
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .matches-live-strip__badge {
    color: #ffd5d5;
    background: rgba(220, 38, 38, 0.14);
    border-color: rgba(248, 113, 113, 0.20);
    box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.06);
}

:root[data-theme="dark"] .matches-month-block,
:root[data-theme="dark"] .matches-day-block {
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

:root[data-theme="dark"] .matches-day-block {
    background: linear-gradient(180deg, rgba(17, 29, 42, 0.92) 0%, rgba(12, 22, 33, 0.96) 100%);
}

:root[data-theme="dark"] .matches-day-badge.hoy {
    background: rgba(26, 199, 184, 0.14);
    color: #aef7f0;
    border-color: rgba(126, 229, 220, 0.20);
}

:root[data-theme="dark"] .matches-day-badge.manana {
    background: rgba(59, 130, 246, 0.14);
    color: #b8d8ff;
    border-color: rgba(96, 165, 250, 0.20);
}

:root[data-theme="dark"] .match-calendar-card {
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .match-calendar-card.is-live {
    border-color: rgba(248, 113, 113, 0.20);
    box-shadow:
        0 14px 28px rgba(91, 18, 18, 0.26),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .match-calendar-card .proximo-liga,
:root[data-theme="dark"] .match-calendar-card__time,
:root[data-theme="dark"] .match-calendar-card__team > span:not(.team-shield-wrap),
:root[data-theme="dark"] .match-calendar-card__team > .team-link-inline > span:not(.team-shield-wrap) {
    color: #dbe7f3;
}

:root[data-theme="dark"] .match-calendar-card__time {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

:root[data-theme="dark"] .match-calendar-card__time.is-pending {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.24);
    color: #ffd089;
}

:root[data-theme="dark"] .match-calendar-card__local-badge {
    background: rgba(59, 130, 246, 0.16);
    color: #b8d8ff;
    border-color: rgba(96, 165, 250, 0.20);
}

:root[data-theme="dark"] .match-calendar-card__live-state {
    background: rgba(220, 38, 38, 0.18);
    color: #ffd5d5;
    border-color: rgba(248, 113, 113, 0.22);
}

:root[data-theme="dark"] .match-calendar-card__live-state.is-break {
    background: rgba(245, 158, 11, 0.18);
    color: #ffd089;
    border-color: rgba(245, 158, 11, 0.24);
}

:root[data-theme="dark"] .match-calendar-card__team .team-link-inline:hover > span:not(.team-shield-wrap) {
    color: #a4f4ec;
}

:root[data-theme="dark"] .match-calendar-card__team > .team-shield-wrap,
:root[data-theme="dark"] .match-calendar-card__team > .team-link-inline > .team-shield-wrap {
    border-color: rgba(255,255,255,0.08);
    background:
        radial-gradient(circle at 30% 30%, rgba(30,45,63,.96) 0%, rgba(20,31,45,.98) 48%, rgba(12,22,34,.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 10px 20px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .match-calendar-card__team > .team-shield-wrap::after,
:root[data-theme="dark"] .match-calendar-card__team > .team-link-inline > .team-shield-wrap::after {
    border-color: rgba(255,255,255,.14);
}

:root[data-theme="dark"] .match-calendar-card__team > .team-shield-wrap .team-shield-fallback,
:root[data-theme="dark"] .match-calendar-card__team > .team-link-inline > .team-shield-wrap .team-shield-fallback,
:root[data-theme="dark"] .match-calendar-card__team > .team-shield-fallback,
:root[data-theme="dark"] .match-calendar-card__team > .team-link-inline > .team-shield-fallback {
    background: rgba(26, 199, 184, 0.12);
    border-color: rgba(126, 229, 220, 0.20);
    color: #aef7f0;
}

:root[data-theme="dark"] .match-calendar-card__versus {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: #c7d4df;
}

:root[data-theme="dark"] .match-calendar-card__versus:hover {
    background: rgba(26, 199, 184, 0.14);
    border-color: rgba(126, 229, 220, 0.20);
    color: #aef7f0;
}

:root[data-theme="dark"] .match-calendar-card .partido-card-action .match-info-link {
    color: #a4f4ec;
    border-color: rgba(126, 229, 220, 0.22);
    background: rgba(26, 199, 184, 0.10);
}

:root[data-theme="dark"] .match-calendar-card .partido-card-action .match-info-link:hover {
    color: #ecfffc;
    background: rgba(26, 199, 184, 0.18);
    border-color: rgba(126, 229, 220, 0.34);
}

:root[data-theme="dark"] .matches-empty-state .u-muted {
    border-color: rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(19, 31, 45, 0.98) 0%, rgba(14, 24, 36, 0.98) 100%);
}

:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-card {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(14, 24, 36, 0.96) 0%, rgba(10, 18, 28, 0.98) 100%);
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-head {
    border-bottom-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-title {
    color: #eef6ff;
}

:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-subtitle,
:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-links a {
    color: #c7d4df;
}

:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-list li,
:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-match-item,
:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-live-item {
    background: rgba(255,255,255,0.03);
}

:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-score-link,
:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-next-link,
:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-live-link.match-info-link {
    border-color: rgba(126, 229, 220, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-live-link.match-info-link {
    background: linear-gradient(180deg, rgba(44, 19, 22, 0.96), rgba(19, 31, 37, 0.98));
}

:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-next-link {
    background: linear-gradient(180deg, rgba(19, 31, 45, 0.98), rgba(14, 24, 36, 0.98));
}

:root[data-theme="dark"] .matches-content-layout > .home-sidebar .sidebar-team .team-link-inline:hover > span:last-child {
    color: #a4f4ec;
}

/* ================================
   partido.css — Match detail page
================================ */

:root[data-theme="dark"] .partido-info-card,
:root[data-theme="dark"] .partido-summary-card,
:root[data-theme="dark"] .partido-sidebar .sidebar-card,
:root[data-theme="dark"] .partido-events-card,
:root[data-theme="dark"] .partido-lineups-card,
:root[data-theme="dark"] .partido-stats-card {
    background: linear-gradient(180deg, rgba(19,31,45,.98) 0%, rgba(14,24,36,.98) 100%);
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 14px 30px rgba(0,0,0,.24);
    color: var(--ui-text);
}

:root[data-theme="dark"] .partido-info-top > span,
:root[data-theme="dark"] .partido-info-estado,
:root[data-theme="dark"] .partido-summary-pos,
:root[data-theme="dark"] .partido-stat,
:root[data-theme="dark"] .partido-timeline-minute,
:root[data-theme="dark"] .partido-timeline-tag {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
    color: var(--ui-muted);
}

:root[data-theme="dark"] .partido-info-liga,
:root[data-theme="dark"] .partido-summary-side,
:root[data-theme="dark"] .partido-info-side-badge.is-home {
    color: #8ef0e7;
    background: rgba(26,199,184,.14);
    border-color: rgba(26,199,184,.22);
}

:root[data-theme="dark"] .partido-info-side-badge.is-away {
    color: #93c5fd;
    background: rgba(37,99,235,.14);
    border-color: rgba(37,99,235,.22);
}

:root[data-theme="dark"] .partido-info-team > .team-link-inline:hover > span:not(.team-shield-wrap),
:root[data-theme="dark"] .partido-summary-team a:hover,
:root[data-theme="dark"] .partido-lineup-player a:hover {
    color: #8ef0e7;
}

:root[data-theme="dark"] .partido-info-page .partido-info-team > .team-shield-wrap,
:root[data-theme="dark"] .partido-info-page .partido-info-team > .team-link-inline > .team-shield-wrap {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 16px 30px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .partido-info-score {
    background: linear-gradient(180deg, #162332 0%, #101a28 100%);
    border-color: rgba(126, 229, 220, 0.30);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 16px 30px rgba(0,0,0,.24);
    color: #a4f4ec;
}

:root[data-theme="dark"] .partido-info-score::after {
    background: linear-gradient(90deg, rgba(26,199,184,.58), rgba(37,99,235,.34));
}

:root[data-theme="dark"] .partido-info-estado.final {
    color: #86efac;
    background: rgba(16,185,129,.16);
    border-color: rgba(16,185,129,.24);
}

:root[data-theme="dark"] .partido-info-estado.en-juego {
    color: #fca5a5;
    background: rgba(220,38,38,.18);
    border-color: rgba(220,38,38,.24);
}

:root[data-theme="dark"] .partido-info-estado.programado {
    color: #93c5fd;
    background: rgba(37,99,235,.16);
    border-color: rgba(37,99,235,.24);
}

:root[data-theme="dark"] .partido-info-estado.aplazado {
    color: #cbd5e1;
    background: rgba(107,114,128,.18);
    border-color: rgba(107,114,128,.24);
}

:root[data-theme="dark"] .partido-info-estado.descanso {
    color: #fcd34d;
    background: rgba(245,158,11,.18);
    border-color: rgba(245,158,11,.24);
}

:root[data-theme="dark"] .partido-info-preview,
:root[data-theme="dark"] .partido-summary {
    border-top-color: rgba(255,255,255,.08);
}

:root[data-theme="dark"] .partido-info-preview h2,
:root[data-theme="dark"] .partido-summary h2,
:root[data-theme="dark"] .partido-summary-team,
:root[data-theme="dark"] .partido-info-card h3,
:root[data-theme="dark"] .partido-info-card h4 {
    color: var(--ui-title);
}

:root[data-theme="dark"] .partido-info-preview p,
:root[data-theme="dark"] .partido-summary p,
:root[data-theme="dark"] .partido-meta,
:root[data-theme="dark"] .partido-lineup-meta,
:root[data-theme="dark"] .partido-event-note {
    color: var(--ui-muted);
}

:root[data-theme="dark"] .partido-mini-table,
:root[data-theme="dark"] .partido-mini-table td,
:root[data-theme="dark"] .partido-mini-table th,
:root[data-theme="dark"] .partido-stats-table,
:root[data-theme="dark"] .partido-stats-table td,
:root[data-theme="dark"] .partido-stats-table th {
    color: var(--ui-text);
    border-color: rgba(255,255,255,.08);
}

:root[data-theme="dark"] .partido-mini-table th,
:root[data-theme="dark"] .partido-stats-table th {
    background: rgba(255,255,255,.04);
    color: var(--ui-title);
}

:root[data-theme="dark"] .partido-timeline-item,
:root[data-theme="dark"] .partido-lineup-player,
:root[data-theme="dark"] .partido-stat-row {
    border-color: rgba(255,255,255,.08);
}

:root[data-theme="dark"] .partido-info-page.public-page-block {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(14, 24, 36, 0.96) 0%, rgba(10, 18, 28, 0.98) 100%);
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .partido-info-page .section-title,
:root[data-theme="dark"] .partido-info-page .partido-summary-card h3 {
    color: #eef6ff;
}

:root[data-theme="dark"] .partido-info-page .section-link,
:root[data-theme="dark"] .partido-info-page .match-info-link {
    color: #a4f4ec;
    border-color: rgba(126, 229, 220, 0.24);
    background: rgba(26, 199, 184, 0.10);
}

:root[data-theme="dark"] .partido-info-page .section-link:hover,
:root[data-theme="dark"] .partido-info-page .match-info-link:hover {
    color: #ecfffc;
    border-color: rgba(126, 229, 220, 0.34);
    background: rgba(26, 199, 184, 0.18);
}

:root[data-theme="dark"] .home-live-status {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
    color: #9fb1c3;
}

:root[data-theme="dark"] .partido-info-top > span {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .partido-info-team > .team-link-inline > span:not(.team-shield-wrap) {
    color: #eef6ff;
}

:root[data-theme="dark"] .partido-summary-card {
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="dark"] .partido-summary-card li {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}

:root[data-theme="dark"] .partido-summary-card .metric-label {
    color: #9fb1c3;
}

:root[data-theme="dark"] .partido-summary-card .metric-value {
    color: #eef6ff;
}

:root[data-theme="dark"] .partido-info-preview iframe {
    border-color: rgba(255,255,255,0.10) !important;
    background: #0f1a27 !important;
}

:root[data-theme="dark"] .partido-sidebar .sidebar-card {
    background:
        radial-gradient(circle at top right, rgba(26, 199, 184, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(14, 24, 36, 0.96) 0%, rgba(10, 18, 28, 0.98) 100%);
    border-color: rgba(126, 229, 220, 0.14);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
