.season-team-record-l {
    display: inline-block !important
}

.season-team-record-r {
    display: none !important
}

.season-card-full {
    width: 95%;
    max-width: 1200px;
    margin-bottom: 2rem
}

.season-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    /* NON deve avere overflow: hidden */
}

.season-matches-container {
    width: 100%;
    min-height: 200px
}

.season-week-content {
    display: none;
    animation: fadeIn .4s ease;
    width: 100%
}

.season-match-card {
    flex-wrap: wrap;
    background: #ffffff08;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px
}

.season-match-card:hover {
    background: #ffffff14;
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px #0000004d
}

.season-match-team {
    gap: 10px
}

.season-match-team.away {
    flex-direction: row-reverse !important;
    justify-content: flex-end;
    text-align: right
}

.season-match-team.home {
    justify-content: flex-start;
    flex-direction: row !important;
    text-align: left
}

.season-team-logo-small {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px #00000080)
}

.season-match-info {
    display: flex;
    flex-direction: column;
    flex: 1
}

.season-match-vs {
    justify-content: center;
    padding: 0 20px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 700;
    color: #ffffff4d;
    font-size: .9rem;
    opacity: .7;
    margin: 0
}

.season-match-team,
.season-match-vs {
    flex: 1;
    display: flex;
    align-items: center
}

.season-match-header {
    width: 100%;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #ffffff1a;
    font-size: .85rem;
    color: var(--primary-color, #ffd700);
    letter-spacing: 1px;
    /*margin-bottom: 10px;
    margin-top: 10px;
    padding-bottom: 8px;*/
    margin-top: 12px;
    margin-bottom: 4px;
}

.season-main-score-display {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    min-width: 120px
}

.season-big-score {
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px #00000080
}

.season-match-team-score-small {
    font-size: .8rem;
    display: block;
    opacity: .8;
    color: var(--primary-color)
}

/* Contenitore principale per centrare le card al 90% */
.season-main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 2rem 0;
}

/* Card specifica che occupa il 90% della larghezza reale */
.season-custom-card {
    display: flex !important;
    flex-direction: column;
    background: #000000a6;
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 90%;
    /* Occupa il 90% dello spazio orizzontale */
    max-width: none;
    /* Rimuove il limite dei 520px/1200px precedenti */
    box-shadow: var(--shadow-soft);
    animation: kickoffZoom .9s ease-out both;
    margin-bottom: 2rem;
    border: 1px solid #cfae704d;
}

.season-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    border-bottom: 1px solid #cfae704d;
    padding-bottom: 10px;
    text-align: center;
}

.season-week-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Abilita scroll fluido su iOS */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
    flex-wrap: nowrap;
    justify-content: safe center;
}

.season-week-nav::-webkit-scrollbar {
    height: 6px
}

.season-week-nav::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px
}

.season-week-btn {
    background: #1f293799;
    border: 1px solid #cfae704d;
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: "Montserrat Alternates", sans-serif;
    font-size: .8rem;
    white-space: nowrap;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    text-align: center
}

.season-week-btn.active,
.season-week-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px #cfae7066;
    font-weight: 700
}

.season-match-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform .2s ease
}

.season-match-link:hover {
    cursor: pointer
}

@media (max-width:720px) {
    .season-match-card {
        display: grid !important;
        grid-template-columns: 1fr auto;
        grid-gap: 15px;
        align-items: center;
        padding: 15px;
        gap: 6px
    }

    .season-match-vs {
        display: none !important
    }

    .season-match-team.away,
    .season-match-team.home {
        display: grid !important;
        grid-template-columns: 50px 1fr;
        grid-gap: 12px;
        align-items: center;
        width: 100%;
        text-align: left !important;
        flex-direction: row !important
    }

    .season-match-team.away {
        direction: ltr
    }

    .season-main-score-display {
        grid-column: 2;
        grid-row: 1/span 2;
        flex-direction: column;
        gap: 10px;
        min-width: 50px;
        border-left: 1px solid #ffffff1a;
        padding-left: 15px
    }

    .season-big-score {
        font-size: 1.5rem;
        line-height: 1;
        margin-top: 15px;
        margin-bottom: 15px
    }

    .season-match-info {
        display: flex;
        flex-direction: column;
        justify-content: center
    }

    .season-match-team-name {
        font-size: .95rem;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px
    }

    .season-match-team-score-small {
        margin-top: 2px;
        font-size: .8rem
    }

    .season-match-card:hover {
        transform: none
    }

    .season-team-record-r {
        display: inline-block !important
    }

    .season-team-record-l {
        display: none !important
    }
}