/* Kisure Sports v350: player data-quality presentation, youth honours and club-table dark mode. */

.football-player-honours-panel .football-honours-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-top: 1rem;
    padding: .75rem .1rem .45rem;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.football-player-honours-panel .football-honours-section-heading:first-of-type {
    margin-top: .55rem;
    border-top: 0;
}

.football-honours-section-heading strong {
    color: #0f172a;
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .02em;
}

.football-honours-section-heading span {
    color: #64748b;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.football-honours-section-heading--youth strong {
    color: #0b7f7c;
}

.football-honours-list--youth .football-honour-group {
    border-color: rgba(14, 165, 164, .2);
    background: linear-gradient(145deg, rgba(240, 253, 250, .96), rgba(255, 255, 255, .9));
}

.football-honour-group--youth .football-honour-group__head small {
    color: #0f766e;
}

/* The club default-table panel previously retained light rows inside dark mode. */
html[data-theme="dark"] .football-club-page-v337 .football-sidebar-stack--club > .football-side-panel {
    border-color: rgba(148, 163, 184, .18);
    background: #101927;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .football-club-page-v337 .football-sidebar-stack--club > .football-side-panel .site-kicker {
    color: #4fd1c5;
}

html[data-theme="dark"] .football-club-page-v337 .football-sidebar-stack--club > .football-side-panel h3 {
    color: #f8fafc;
}

html[data-theme="dark"] .football-club-page-v337 .football-sidebar-stack--club > .football-side-panel .football-muted {
    color: #94a3b8;
}

html[data-theme="dark"] .football-club-page-v337 .football-mini-table--team-default {
    border-color: rgba(148, 163, 184, .16);
    background: rgba(2, 8, 23, .32);
}

html[data-theme="dark"] .football-club-page-v337 .football-mini-table--team-default a {
    border-color: rgba(148, 163, 184, .12);
    background: rgba(15, 23, 42, .78);
    color: #e2e8f0;
}

html[data-theme="dark"] .football-club-page-v337 .football-mini-table--team-default a:hover {
    background: rgba(30, 41, 59, .94);
}

html[data-theme="dark"] .football-club-page-v337 .football-mini-table--team-default a.is-active {
    outline-color: rgba(45, 212, 191, .5);
    background: linear-gradient(90deg, rgba(13, 148, 136, .34), rgba(15, 23, 42, .96));
}

html[data-theme="dark"] .football-club-page-v337 .football-mini-table--team-default a > span {
    color: #94a3b8;
}

html[data-theme="dark"] .football-club-page-v337 .football-mini-table--team-default strong,
html[data-theme="dark"] .football-club-page-v337 .football-mini-table--team-default em {
    color: #f8fafc;
}

html[data-theme="dark"] .football-club-page-v337 .football-mini-table--team-default img {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .94);
}

html[data-theme="dark"] .football-club-page-v337 .football-panel-link--block {
    border-color: rgba(45, 212, 191, .2);
    background: rgba(13, 148, 136, .12);
    color: #5eead4;
}

html[data-theme="dark"] .football-club-page-v337 .football-panel-link--block:hover {
    background: rgba(13, 148, 136, .22);
    color: #ccfbf1;
}

html[data-theme="dark"] .football-player-honours-panel .football-honours-section-heading {
    border-color: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .football-honours-section-heading strong {
    color: #f8fafc;
}

html[data-theme="dark"] .football-honours-section-heading span {
    color: #94a3b8;
}

html[data-theme="dark"] .football-honours-section-heading--youth strong,
html[data-theme="dark"] .football-honour-group--youth .football-honour-group__head small {
    color: #5eead4;
}

html[data-theme="dark"] .football-honours-list--youth .football-honour-group {
    border-color: rgba(45, 212, 191, .22);
    background: linear-gradient(145deg, rgba(13, 148, 136, .13), rgba(15, 23, 42, .86));
}

@media (max-width: 760px) {
    .football-player-honours-panel .football-honours-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }
}

/* Fallback for club templates or cached markup that omit the versioned page wrapper. */
html[data-theme="dark"] .football-sidebar-stack--club .football-mini-table--team-default a,
html[data-theme="dark"] .football-sidebar-stack--club .football-mini-table--team-default a strong,
html[data-theme="dark"] .football-sidebar-stack--club .football-mini-table--team-default a em {
    color: #f8fafc;
}

html[data-theme="dark"] .football-sidebar-stack--club .football-mini-table--team-default a > span {
    color: #94a3b8;
}

html[data-theme="dark"] .football-sidebar-stack--club .football-mini-table--team-default a.is-active {
    background: linear-gradient(90deg, rgba(13, 148, 136, .34), rgba(15, 23, 42, .96));
}
