/* Terminación deportiva PAFClub. Conserva la identidad administrada desde el ERP. */
.liga-shell {
    --polish-line: color-mix(in srgb, var(--tenant-text) 14%, transparent);
    --polish-shadow: 0 22px 68px color-mix(in srgb, var(--tenant-background) 58%, rgba(0, 0, 0, .28));
}

.liga-shell .site-header {
    min-height: 72px;
    border-top-width: 3px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .14);
}

.liga-shell .brand-logo {
    width: 48px;
    height: 48px;
    padding: 3px;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    background: color-mix(in srgb, var(--tenant-surface) 78%, transparent);
}

.liga-shell .site-nav {
    gap: clamp(12px, 1.45vw, 23px);
}

.liga-shell .site-nav a {
    min-height: 68px;
    font-size: 14px;
}

.liga-shell .site-nav .nav-login {
    min-height: 38px;
    align-self: center;
    padding-inline: 14px;
    border: 1px solid color-mix(in srgb, var(--tenant-secondary) 52%, transparent);
    border-radius: min(var(--tenant-radius), 6px);
    color: var(--tenant-secondary);
}

.liga-shell .site-nav .nav-login::after {
    display: none;
}

.liga-shell .site-nav .nav-login:hover,
.liga-shell .site-nav .nav-login.active {
    color: var(--tenant-on-secondary);
    background: var(--tenant-secondary);
}

.liga-content {
    padding-top: clamp(30px, 3.2vw, 46px);
}

.league-hero {
    min-height: 275px;
    padding: clamp(28px, 3vw, 40px);
    box-shadow: var(--polish-shadow);
}

.hero-compact .league-hero { min-height: 230px; }
.hero-large .league-hero { min-height: 365px; }

.league-hero.no-image {
    background: linear-gradient(112deg,
        color-mix(in srgb, var(--tenant-primary) 78%, #07101f),
        color-mix(in srgb, var(--tenant-primary) 96%, #07101f));
}

.league-hero.no-image .hero-shade {
    background: linear-gradient(90deg, rgba(3, 7, 18, .58), rgba(3, 7, 18, .06));
}

.league-hero.has-image .hero-shade {
    background: linear-gradient(90deg, rgba(3, 7, 18, .9) 0%, rgba(3, 7, 18, .58) 52%, rgba(3, 7, 18, .24) 100%);
}

.league-hero .hero-copy {
    position: relative;
    z-index: 2;
}

.league-hero.no-image .hero-copy {
    max-width: 66%;
}

.league-hero h1,
.font-small .league-hero h1,
.font-large .league-hero h1 {
    font-size: clamp(36px, 3.7vw, 52px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.league-hero p {
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.55;
}

.league-hero .button {
    min-height: 48px;
    padding-inline: 21px;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.league-hero .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.hero-brand-art {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: clamp(34px, 7vw, 110px);
    width: clamp(230px, 27vw, 420px);
    transform: translateY(-50%);
    opacity: .16;
}

.hero-brand-art img {
    display: block;
    width: 100%;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .3));
}

.liga-shell .section {
    margin-top: clamp(30px, 3.2vw, 46px);
}

/* Stable columns keep every result and its score aligned across rows. */
.liga-shell .result-row,
.liga-shell .result-list.full .result-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(0, 1.2fr) 78px minmax(0, 1.2fr);
    gap: 12px;
    align-items: center;
}

.liga-shell .result-row > * { min-width: 0; }
.liga-shell .result-row > strong:nth-child(2) { text-align: right; }
.liga-shell .result-row > strong:last-child { text-align: left; }
.liga-shell .result-row > b { width: 78px; text-align: center; font-variant-numeric: tabular-nums; }

/* The action label is explicit; an extra direction arrow adds visual noise. */
.liga-shell a .card-action:not(.muted-action) {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0;
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid color-mix(in srgb, currentColor 42%, transparent);
    border-radius: 7px;
    background: color-mix(in srgb, currentColor 8%, transparent);
    font-size: 13px;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.liga-shell .card-action::after { content: none; }

.liga-shell a:hover .card-action:not(.muted-action) {
    border-color: currentColor;
    background: color-mix(in srgb, currentColor 14%, transparent);
}
.liga-shell .muted-action::after { content: none; }

.liga-shell .club-card {
    min-height: 274px;
    padding: 22px;
}

.liga-shell .club-card .club-metrics {
    margin-top: 22px;
}

.liga-shell .club-card .card-action {
    margin-top: 18px;
    padding-top: 6px;
    align-self: flex-start;
}

.liga-shell .club-card-header span,
.liga-shell .club-metrics span {
    font-size: 12px;
    font-weight: 700;
}

.liga-shell .section-heading {
    margin-bottom: 20px;
    padding-bottom: 14px;
}

.liga-shell .section-heading h2 {
    font-size: clamp(30px, 3vw, 40px);
    letter-spacing: -.025em;
}

.liga-shell .schedule-notice { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: 5px 9px; border-radius: 7px; background: color-mix(in srgb, var(--tenant-secondary) 18%, var(--tenant-surface)); color: var(--tenant-text); font-size: 12px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.liga-shell .match-schedule-notice { margin: 0 0 18px; padding: 12px 15px; font-size: 14px; }

/* Text below 12px and synthetic ultra-bold weights made the public site hard to read. */
.liga-shell .brand-copy small,
.liga-shell .module-lockup > span,
.liga-shell .section-kicker,
.liga-shell .scoreboard-header > span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.liga-shell .filter-field > span,
.liga-shell .filter-summary span,
.liga-shell .metric-strip span,
.liga-shell .match-facts span,
.liga-shell .match-team small,
.liga-shell .roster-summary span,
.liga-shell .statistics-metrics span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: none;
}

.liga-shell th {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.liga-shell .upcoming-match header,
.liga-shell .upcoming-match footer,
.liga-shell .match-day-heading span,
.liga-shell .standing-group-heading > span,
.liga-shell .fixture-date span,
.liga-shell .fixture-teams > span,
.liga-shell .fixture-score span,
.liga-shell .fixture-venue,
.liga-shell .result-row > span,
.liga-shell .match-card > span {
    font-size: 13px;
    line-height: 1.4;
}

.liga-shell .upcoming-match header span,
.liga-shell .upcoming-match time,
.liga-shell .team-monogram,
.liga-shell .tournament-card > span,
.liga-shell .tournament-card small,
.liga-shell .status-pill,
.liga-shell .status-chip,
.liga-shell .segmented-control button {
    font-weight: 700;
}

.liga-shell .team-monogram {
    font-size: 17px;
}

.liga-shell .status-pill,
.liga-shell .status-chip,
.liga-shell .segmented-control button,
.liga-shell .statistics-table td strong + small,
.liga-shell .public-squad-list > span small {
    font-size: 12px;
}

.liga-shell .footer-brand span,
.liga-shell .footer-nav a,
.liga-shell .site-footer small,
.liga-shell .team-card-copy > span,
.liga-shell .club-card-header span,
.liga-shell .club-metrics span {
    font-size: 13px;
    line-height: 1.4;
}

.liga-shell .footer-nav a,
.liga-shell .club-card-header span,
.liga-shell .club-metrics span {
    font-weight: 600;
}

.liga-shell .tournament-strip {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 420px));
}

.liga-shell .tournament-card {
    min-height: 205px;
    padding: 25px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .1);
}

.liga-shell .table-wrap,
.liga-shell .result-row,
.liga-shell .empty-state {
    box-shadow: 0 12px 34px rgba(0, 0, 0, .08);
}

.delegate-app {
    background: #eef2f7;
}

.standings-scroll-hint { display: none; }

.delegate-header {
    min-height: 78px;
    border-top: 3px solid var(--tenant-secondary);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .12);
}

.delegate-brand img {
    width: 46px;
    height: 46px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.delegate-brand {
    gap: 14px;
}

.delegate-brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--tenant-primary), color-mix(in srgb, var(--tenant-primary) 72%, #0b234b));
    font-family: var(--sports-body-font);
    font-size: 17px;
    letter-spacing: .02em;
}

/* The generic brand span layout is flex; keep initials centered in their mark. */
.delegate-brand > .delegate-brand-mark {
    display: grid;
    place-items: center;
    text-align: center;
}

.delegate-brand > span:last-child {
    gap: 3px;
}

.delegate-brand strong {
    display: -webkit-box;
    max-width: min(48vw, 520px);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--tenant-text);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: -.015em;
    text-overflow: clip;
    white-space: normal;
}

.delegate-brand small {
    color: color-mix(in srgb, var(--tenant-text) 76%, transparent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.2;
    text-transform: none;
}

.delegate-main {
    padding: clamp(34px, 4.5vw, 64px) clamp(18px, 4vw, 60px);
}

.delegate-login-grid {
    width: min(1260px, 100%);
    min-height: 620px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #d3dbe6;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .15);
}

.delegate-login-intro {
    position: relative;
    padding: clamp(48px, 6vw, 84px);
    color: #ffffff;
    background: color-mix(in srgb, #050816 88%, var(--tenant-primary));
}

.delegate-login-intro::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--tenant-secondary);
}

.delegate-login-intro h1 {
    max-width: 9ch;
    font-size: clamp(52px, 5.2vw, 72px);
    line-height: .96;
    letter-spacing: -.035em;
}

.delegate-login-intro > p {
    max-width: 54ch;
    color: #d9e4f3;
    font-size: 18px;
    line-height: 1.65;
}

.delegate-login-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
    padding-top: 42px;
    background: transparent;
}

/* Este panel siempre es oscuro, independientemente del tema del tenant. */
.delegate-login-intro .delegate-login-points span {
    min-width: 0;
    padding: 17px 15px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    color: #f5f8ff;
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    line-height: 1.35;
}

.delegate-login-intro .delegate-login-points strong {
    color: #ffca55;
}

.delegate-login-form-wrap {
    position: relative;
    padding: clamp(44px, 5.5vw, 78px);
    background: #ffffff;
}

.delegate-login-form-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--tenant-primary);
}

.delegate-login-form h2 {
    font-size: clamp(34px, 3.2vw, 46px);
    letter-spacing: -.025em;
}

.delegate-login-form input {
    min-height: 52px;
    border-color: #cbd5e1;
    border-radius: 7px;
    background: #fbfcfe;
}

.delegate-login-form input:hover {
    border-color: #94a3b8;
}

.delegate-login-form .delegate-button {
    min-height: 52px;
    margin-top: 2px;
}

.delegate-login-note {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.delegate-footer {
    min-height: 78px;
}

@media (max-width: 1180px) {
    .liga-shell .site-nav {
        gap: 11px;
    }

    .liga-shell .site-nav a {
        font-size: 13px;
    }
}

@media (max-width: 1000px) {
    .liga-shell .site-header {
        min-height: 70px;
    }

    .liga-shell .site-nav a,
    .liga-shell .site-nav .nav-login {
        min-height: 44px;
        align-self: stretch;
        border: 0;
        border-radius: 0;
    }

    .league-hero.no-image .hero-copy {
        max-width: 72%;
    }

    .league-hero { min-height: 265px; }
    .hero-compact .league-hero { min-height: 225px; }
    .hero-large .league-hero { min-height: 350px; }

    .delegate-login-grid {
        min-height: 560px;
    }
}

@media (max-width: 720px) {
    .delegate-brand {
        gap: 10px;
    }

    .delegate-brand-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 15px;
    }

    .delegate-brand strong {
        max-width: calc(100vw - 100px);
        font-size: 16px;
    }

    .delegate-brand small {
        font-size: 11px;
    }

    .league-hero,
    .hero-compact .league-hero,
    .hero-large .league-hero {
        min-height: 0;
        padding: 32px 24px;
    }

    .league-hero.no-image .hero-copy {
        max-width: 100%;
    }

    .league-hero h1,
    .font-small .league-hero h1,
    .font-large .league-hero h1 {
        font-size: clamp(36px, 10vw, 50px);
    }

    .liga-shell .result-row,
    .liga-shell .result-list.full .result-row {
        grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
        gap: 8px;
    }

    .liga-shell .result-row > span { grid-column: 1 / -1; }
    .liga-shell .result-row > strong:nth-child(2) { grid-column: 1; }
    .liga-shell .result-row > b { grid-column: 2; width: 64px; }
    .liga-shell .result-row > strong:last-child { grid-column: 3; }

    .liga-shell .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .liga-shell .section-heading a {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }

    .standings-scroll-hint {
        display: block;
        margin: 0 0 8px;
        color: var(--tenant-text);
        font-size: 12px;
    }

    .hero-brand-art {
        right: -50px;
        width: 270px;
        opacity: .1;
    }

    .delegate-main {
        padding: 22px 12px 34px;
    }

    .delegate-login-grid {
        min-height: 0;
        border-radius: 9px;
    }

    .delegate-login-intro,
    .delegate-login-form-wrap {
        padding: 26px 24px;
    }

    .delegate-login-intro {
        min-height: 0;
    }

    .delegate-login-intro h1 {
        max-width: 12ch;
        font-size: 36px;
        line-height: 1.05;
    }

    .delegate-login-intro > p {
        font-size: 15px;
        line-height: 1.5;
    }

    .delegate-login-points {
        display: none;
    }
}

@media (max-width: 380px) {
    .liga-shell .result-row,
    .liga-shell .result-list.full .result-row {
        grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
        column-gap: 5px;
    }

    .liga-shell .result-row > b {
        width: 56px;
        padding-inline: 3px;
    }

    .liga-shell .result-row > strong {
        overflow-wrap: anywhere;
        line-height: 1.25;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .liga-shell *,
    .liga-shell *::before,
    .liga-shell *::after,
    .delegate-app *,
    .delegate-app *::before,
    .delegate-app *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* One crest treatment across roster, standings and every match surface. */
.liga-shell .team-crest {
    display: inline-grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    vertical-align: middle;
}
.liga-shell .team-crest.small { width: 28px; height: 28px; flex-basis: 28px; }
.liga-shell .team-crest.large { width: 86px; height: 86px; flex-basis: 86px; }
.liga-shell .team-crest img { display: block; width: 100%; height: 100%; object-fit: contain; }
.liga-shell .team-crest-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--tenant-primary);
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
}
.liga-shell .team-crest.small .team-crest-fallback { font-size: 14px; }
.liga-shell .team-crest.large .team-crest-fallback { font-size: 36px; }
.liga-shell .standing-team,
.liga-shell .fixture-team,
.liga-shell .result-team { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.liga-shell .standing-team { white-space: nowrap; }
.liga-shell .standing-group-heading { align-items: end; margin-bottom: 13px; }
@media (max-width: 640px) {
    .liga-shell .standing-group-heading { align-items: stretch; text-align: left; }
}
.liga-shell .standing-group-heading h2 { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.liga-shell .standing-group-heading .section-kicker { color: var(--tenant-primary); }
.liga-shell .standings-table {
    overflow-x: auto;
    border: 1px solid var(--paf-line);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(18, 33, 58, .055);
}
.liga-shell .standings-table table { min-width: 790px; table-layout: fixed; }
.liga-shell .standings-table col.standing-rank-col { width: 46px; }
.liga-shell .standings-table col.standing-name-col { width: 29%; }
.liga-shell .standings-table thead tr:not(.standing-zone-row) th { height: 40px; background: color-mix(in srgb, var(--tenant-surface) 92%, var(--tenant-background)); }
.liga-shell .standings-table .standing-zone-row th {
    height: 38px;
    padding: 9px 15px;
    color: var(--tenant-text);
    background: var(--tenant-surface);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
}
.liga-shell .standings-table thead tr:not(.standing-zone-row) th:first-child,
.liga-shell .standings-table tbody td:first-child { width: 46px; padding-inline: 15px 4px; }
.liga-shell .standings-table thead tr:not(.standing-zone-row) th:nth-child(2),
.liga-shell .standings-table tbody td:nth-child(2) { width: 29%; padding-left: 4px; text-align: left; }
.liga-shell .standings-table thead tr:not(.standing-zone-row) th:nth-child(n+3),
.liga-shell .standings-table tbody td:nth-child(n+3) { text-align: center; }
.liga-shell .standings-table tbody td { height: 50px; padding-block: 9px; font-size: 13px; }
.liga-shell .standings-table tbody td:nth-child(2) strong { color: var(--tenant-text); font-size: 14px; font-weight: 700; }
.liga-shell .standings-table .standing-team { gap: 9px; }
.liga-shell .standings-table .team-crest.small { width: 24px; height: 24px; flex-basis: 24px; }
.liga-shell .standings-table .team-crest.small .team-crest-fallback { font-size: 13px; }
.liga-shell .standings-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--tenant-surface) 97%, var(--tenant-background)); }
.liga-shell .standings-table tbody tr:hover { background: color-mix(in srgb, var(--tenant-surface) 93%, var(--tenant-primary)); }
.liga-shell .standings-table .rank { width: auto; font-size: 14px; font-weight: 700; }
.liga-shell .standings-table .standing-points strong { color: var(--tenant-primary); font-size: 15px; font-weight: 800; }
.liga-shell .standings-table .standing-diff.positive { color: color-mix(in srgb, var(--tenant-text) 62%, #14a879); font-weight: 700; }
.liga-shell .standings-table .standing-diff.negative { color: color-mix(in srgb, var(--tenant-text) 62%, #d24a5c); font-weight: 700; }
.liga-shell .standings-table .standing-diff.neutral { color: var(--paf-muted); }
.liga-shell .standings-legend { margin: 9px 2px 0; color: var(--paf-muted); font-size: 12px; line-height: 1.5; }
@media (max-width: 640px) {
    .liga-shell .standings-table { scrollbar-width: thin; }
    .liga-shell .standings-table thead tr:not(.standing-zone-row) th:first-child,
    .liga-shell .standings-table tbody td:first-child { position: sticky; left: 0; z-index: 2; background: var(--tenant-surface); }
    .liga-shell .standings-table thead tr:not(.standing-zone-row) th:nth-child(2),
    .liga-shell .standings-table tbody td:nth-child(2) { position: sticky; left: 46px; z-index: 2; background: var(--tenant-surface); box-shadow: 1px 0 0 var(--paf-line); }
    .liga-shell .standings-table thead tr:not(.standing-zone-row) th:nth-child(-n+2) { z-index: 3; background: color-mix(in srgb, var(--tenant-surface) 92%, var(--tenant-background)); }
    .liga-shell .standings-table tbody tr:nth-child(even) td:nth-child(-n+2) { background: color-mix(in srgb, var(--tenant-surface) 97%, var(--tenant-background)); }
}
.liga-shell .fixture-team { width: fit-content; }
.liga-shell .result-team.local { flex-direction: row-reverse; justify-content: flex-start; }
.liga-shell .result-team.away { justify-content: flex-start; }
.liga-shell .upcoming-team .team-crest { grid-column: 1; grid-row: 1; }
.liga-shell .upcoming-team.away .team-crest { grid-column: 2; grid-row: 1; }
@media (max-width: 640px) {
    .liga-shell .result-team { gap: 5px; font-size: 12px; overflow-wrap: anywhere; }
    .liga-shell .result-team .team-crest { width: 24px; height: 24px; flex-basis: 24px; }
    .liga-shell .standing-team { gap: 6px; }
}

/* The match is centered as a unit, with clubs mirrored around the score. */
.liga-shell .result-list.full .result-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 240px) 78px minmax(0, 240px) minmax(0, 1fr);
}
.liga-shell .result-list.full .result-row > span:first-child { grid-column: 1; }
.liga-shell .result-list.full .result-row > .result-team.local { grid-column: 2; }
.liga-shell .result-list.full .result-row > b { grid-column: 3; }
.liga-shell .result-list.full .result-row > .result-team.away { grid-column: 4; }
.liga-shell .result-list.full .result-row::after { content: ""; grid-column: 5; }
.liga-shell .result-list.full .result-row:has(.result-event-preview) { row-gap: 10px; }
.liga-shell .result-list.full .result-row > .result-event-preview {
    grid-column: 2 / 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
    gap: 6px 10px;
    padding-top: 10px;
    border-top: 1px solid var(--paf-line);
    color: var(--tenant-text);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}
.liga-shell .result-event-side { display: flex; flex-wrap: wrap; gap: 5px 12px; align-content: start; }
.liga-shell .result-event-side.local { grid-column: 1; justify-content: flex-end; }
.liga-shell .result-event-side.away { grid-column: 3; justify-content: flex-start; }
.liga-shell .result-event { display: inline-flex; align-items: center; gap: 4px; color: var(--tenant-text); font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.35; text-transform: none; white-space: nowrap; }
.liga-shell .result-event small { color: var(--paf-muted); font-size: 11px; }
.liga-shell .event-symbol { display: inline-grid; place-items: center; width: 15px; height: 15px; flex: 0 0 15px; font-size: 12px; line-height: 1; }
.liga-shell .event-symbol.yellow-card,
.liga-shell .event-symbol.red-card { color: inherit; background: transparent; }
.liga-shell .event-symbol.yellow-card::before,
.liga-shell .event-symbol.red-card::before { content: ""; display: block; width: 10px; height: 14px; border-radius: 2px; transform: rotate(-9deg); }
.liga-shell .event-symbol.yellow-card::before { background: #f4c640; border: 1px solid #ba8b10; }
.liga-shell .event-symbol.red-card::before { background: #d73745; border: 1px solid #9f1d2c; }
.liga-shell .match-event-panel { margin-top: 20px; padding: 22px; border: 1px solid var(--paf-line); border-radius: var(--tenant-radius); background: var(--tenant-surface); }
.liga-shell .match-event-list { margin: 0; padding: 0; list-style: none; }
.liga-shell .match-event-list li { display: grid; grid-template-columns: 38px 18px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--paf-line); }
.liga-shell .match-event-list time { color: var(--tenant-primary); font-weight: 800; font-variant-numeric: tabular-nums; }
.liga-shell .match-event-list li > span:last-child { display: grid; gap: 2px; }
.liga-shell .match-event-list small { color: var(--paf-muted); }

.liga-shell .rank {
    width: 28px;
    height: auto;
    color: var(--tenant-text);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}
.liga-shell .top-position { box-shadow: none; }
.liga-shell .top-position .rank { color: var(--tenant-primary); }
.liga-shell .team-card { min-height: 178px; padding: 22px; }
.liga-shell .match-heading .status-pill {
    color: #17233b;
    background: #f2bf4b;
    border-color: #d39716;
    font-size: 12px;
    font-weight: 800;
    text-transform: none;
    white-space: normal;
}

@media (max-width: 1050px) {
    .liga-shell .result-list.full .result-row {
        grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
        row-gap: 8px;
    }
    .liga-shell .result-list.full .result-row > span:first-child { grid-column: 1 / -1; }
    .liga-shell .result-list.full .result-row > .result-team.local { grid-column: 1; }
    .liga-shell .result-list.full .result-row > b { grid-column: 2; }
    .liga-shell .result-list.full .result-row > .result-team.away { grid-column: 3; }
    .liga-shell .result-list.full .result-row::after { display: none; }
    .liga-shell .result-list.full .result-row > .result-event-preview { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .liga-shell .result-list.full .result-row > .result-event-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .liga-shell .result-event-side.local { grid-column: 1; justify-content: flex-start; }
    .liga-shell .result-event-side.away { grid-column: 2; }
    .liga-shell .result-event { white-space: normal; overflow-wrap: anywhere; }
}

/* Navegación por jornada: visible y fácil de usar con el pulgar. */
.liga-shell .fixture-date-nav { display:flex; align-items:center; gap:8px; overflow-x:auto; margin:16px 0 20px; padding:0 0 6px; scrollbar-width:thin; }
.liga-shell .fixture-date-nav > button { flex:none; min-height:39px; padding:8px 13px; border:1px solid var(--paf-line); border-radius:9px; background:var(--tenant-surface); color:var(--tenant-text); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.liga-shell .fixture-date-nav > button:hover,.liga-shell .fixture-date-nav > button.active { border-color:var(--tenant-primary); color:var(--tenant-primary); background:color-mix(in srgb,var(--tenant-primary) 8%,var(--tenant-surface)); }
.liga-shell .fixture-date-nav > button:focus-visible,.liga-shell .fixture-date-input input:focus-visible { outline:3px solid var(--tenant-primary); outline-offset:2px; }
.liga-shell .fixture-date-input { display:flex; flex:none; align-items:center; gap:8px; color:var(--paf-muted); font-size:12px; white-space:nowrap; }
.liga-shell .fixture-date-input input { min-height:39px; padding:6px 9px; border:1px solid var(--paf-line); border-radius:9px; background:var(--tenant-surface); color:var(--tenant-text); font:inherit; font-size:13px; }
@media(max-width:640px) { .liga-shell .fixture-date-nav { margin-inline:-16px; padding-inline:16px; } .liga-shell .fixture-date-input span { display:none; } }
.liga-shell .mobile-league-shortcuts { display:none; }
@media(max-width:640px) {
    .liga-shell .mobile-league-shortcuts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:12px 0; }
    .liga-shell .mobile-league-shortcuts a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:9px 11px; border:1px solid var(--paf-line); border-radius:10px; background:var(--tenant-surface); color:var(--tenant-text); font-size:13px; font-weight:750; text-align:center; text-decoration:none; }
    .liga-shell .mobile-league-shortcuts a:focus-visible { outline:3px solid var(--tenant-primary); outline-offset:2px; }
    .liga-shell .mobile-league-shortcuts + .league-hero { min-height:0; }
}

/* En el fixture, los dos equipos y el marcador forman una sola unidad visual. */
.liga-shell .fixture-row { position: relative; grid-template-columns: 88px minmax(0, 1fr) minmax(130px, 170px); gap: 18px; }
.liga-shell .fixture-matchup { display: grid; grid-template-rows: auto 1fr; align-self: stretch; min-width: 0; }
.liga-shell .fixture-matchup-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; align-self: start; margin-bottom: 0; color: var(--tenant-primary); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.liga-shell .fixture-matchup-meta .schedule-notice { color: var(--paf-muted); font-weight: 650; letter-spacing: 0; text-transform: none; }
.liga-shell .fixture-corner-notice { position: absolute; top: 10px; right: 12px; max-width: 152px; padding: 3px 7px; font-size: 10px; text-align: center; }
.liga-shell .fixture-opponents { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; align-self: center; width: min(100%, 620px); margin-inline: auto; }
.liga-shell .fixture-opponents .fixture-team { width: auto; min-width: 0; gap: 7px; font-size: 14px; line-height: 1.3; }
.liga-shell .fixture-opponents .fixture-team.local { justify-content: flex-end; text-align: right; }
.liga-shell .fixture-opponents .fixture-team.away { justify-content: flex-start; text-align: left; }
.liga-shell .fixture-opponents .fixture-score { width: 66px; min-width: 66px; }
.liga-shell .fixture-opponents .fixture-score span { max-width: 66px; white-space: nowrap; color: var(--sports-muted); font-size: 9px; line-height: 1.1; font-weight: 650; letter-spacing: -.015em; text-transform: capitalize; }
.liga-shell .fixture-row .fixture-venue { align-self: center; transform: translateY(9px); color: var(--sports-muted); font-size: 14px; font-weight: 500; line-height: 1.4; text-align: center; }
.liga-shell .fixture-opponents .fixture-score b { min-width: 0; min-height: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--sports-muted); font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.liga-shell .result-list.full .result-row > b { width: 66px; min-width: 66px; min-height: 34px; border: 1px solid color-mix(in srgb, var(--tenant-primary) 45%, var(--tenant-surface)); border-radius: 6px; background: color-mix(in srgb, var(--tenant-surface) 86%, var(--tenant-primary)); box-shadow: none; color: var(--tenant-text); font-size: 18px; font-variant-numeric: tabular-nums; }
.liga-shell .dashboard-panel .result-list:not(.full) .result-row { grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-content: stretch; gap: 6px 10px; padding: 12px 14px 10px; }
.liga-shell .dashboard-panel .result-list:not(.full) .result-row > .result-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; align-self: start; gap: 4px 9px; grid-column: 1 / -1; color: var(--tenant-primary); font-size: 12px; line-height: 1.2; text-align: center; text-transform: uppercase; letter-spacing: .025em; }
.liga-shell .dashboard-panel .result-list:not(.full) .result-row > .result-meta strong { font-weight: 800; }
.liga-shell .dashboard-panel .result-list:not(.full) .result-row > .result-meta small { color: var(--sports-muted); font-size: 10px; font-weight: 700; }
.liga-shell .dashboard-panel .result-list:not(.full) .result-row > .result-team.local { grid-column: 1; justify-content: flex-start; text-align: right; }
.liga-shell .dashboard-panel .result-list:not(.full) .result-row > b { display: grid; place-items: center; grid-column: 2; width: 66px; min-width: 66px; min-height: 34px; padding: 3px 5px; border: 1px solid color-mix(in srgb, var(--tenant-primary) 45%, var(--tenant-surface)); border-radius: 6px; background: color-mix(in srgb, var(--tenant-surface) 86%, var(--tenant-primary)); box-shadow: none; color: var(--tenant-text); font-size: 18px; font-variant-numeric: tabular-nums; }
.liga-shell .dashboard-panel .result-list:not(.full) .result-row > .result-team.away { grid-column: 3; justify-content: flex-start; text-align: left; }
@media (min-width: 701px) {
    .liga-shell .league-dashboard:not(.single) > .dashboard-panel:last-child { display: flex; flex-direction: column; }
    .liga-shell .league-dashboard:not(.single) > .dashboard-panel:last-child > .result-list { flex: 1; grid-auto-rows: minmax(0, 1fr); }
}
@media (max-width: 900px) {
    .liga-shell .fixture-row { grid-template-columns: 76px minmax(0, 1fr); gap: 10px 14px; }
    .liga-shell .fixture-row .fixture-venue { grid-column: 2; align-self: auto; transform: none; text-align: center; }
    .liga-shell .fixture-corner-notice { max-width: 120px; font-size: 10px; }
}
@media (max-width: 560px) {
    .liga-shell .fixture-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .liga-shell .fixture-row .fixture-date { justify-self: start; display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; }
    .liga-shell .fixture-row .fixture-venue { grid-column: 1; }
    .liga-shell .fixture-opponents { gap: 6px; }
    .liga-shell .fixture-opponents .fixture-team { gap: 4px; font-size: 12px; overflow-wrap: anywhere; }
    .liga-shell .fixture-opponents .team-crest.small { width: 24px; height: 24px; flex-basis: 24px; }
    .liga-shell .fixture-opponents .fixture-score { width: 58px; min-width: 58px; }
    .liga-shell .fixture-opponents .fixture-score span { max-width: 58px; font-size: 8px; }
    .liga-shell .result-list.full .result-row > b { width: 58px; min-width: 58px; font-size: 17px; }
    .liga-shell .dashboard-panel .result-list:not(.full) .result-row { grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr); gap: 6px; }
    .liga-shell .dashboard-panel .result-list:not(.full) .result-row > b { width: 58px; min-width: 58px; font-size: 17px; }
}
.liga-shell .notice-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); gap: 22px; align-items: start; }
.liga-shell .notice-card { border: 1px solid rgba(255,255,255,.14); border-top: 4px solid var(--league-accent,#f2b705); border-radius: 18px; padding: clamp(20px,3vw,30px); background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025)); box-shadow: 0 14px 35px rgba(0,0,0,.1); }
.liga-shell .notice-meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 16px; font-size:.76rem; letter-spacing:.05em; text-transform:uppercase; opacity:.85; }
.liga-shell .notice-meta span { color:var(--league-accent,#f2b705); font-weight:800; }
.liga-shell .notice-card h2 { margin:22px 0 12px; font-size:clamp(1.45rem,2vw,2rem); line-height:1.13; text-wrap:balance; }
.liga-shell .notice-summary { font-size:1.04rem; font-weight:600; line-height:1.5; }
.liga-shell .notice-body { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; opacity:.88; }
.publication-date { margin-top: .55rem; font-size: .82rem; letter-spacing: .02em; opacity: .8; }
.liga-shell .advanced-filter-fields { display: contents; }
.liga-shell .mobile-filter-toggle { display: none; }
@media (max-width: 640px) {
    .liga-shell .mobile-filter-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--paf-line); border-radius: var(--tenant-radius); color: var(--tenant-text); background: var(--tenant-surface); font: inherit; font-weight: 750; cursor: pointer; }
    .liga-shell .mobile-filter-toggle::after { content: '⌄'; font-size: 1.2rem; line-height: 1; }
    .liga-shell .mobile-filter-toggle[aria-expanded="true"]::after { content: '⌃'; }
    .liga-shell .mobile-filter-toggle .active-filter-count { margin-left: auto; color: var(--tenant-primary); font-size: .78rem; }
    .liga-shell .advanced-filter-fields { display: none; }
    .liga-shell .advanced-filter-fields.is-open { display: grid; gap: 12px; }
}
