* {
    box-sizing: border-box;
}

/* I valori stanno in assets/tema.css: qui solo i vecchi nomi, agganciati a quelli. */
:root {
    --primary: var(--ls-primary);
    --primary-light: var(--ls-primary-soft);
    --primary-dark-bg: var(--ls-primary-light);

    --secondary: #f59e0b;
    --secondary-light: #fef3c7;
    --secondary-dark: #b45309;
    --accent: var(--ls-primary-dark);
    --gradient: linear-gradient(135deg, var(--ls-primary) 0%, var(--ls-primary-dark) 100%);
    --bg: var(--ls-bg);
    --card-bg: var(--ls-surface);
    --text: var(--ls-text);
    --text-light: var(--ls-muted);
    --border: var(--ls-border);

    --live: var(--ls-live);

    --petrolio-profondo: var(--ls-header-bg);
    --petrolio-profondo-chiaro: var(--ls-primary-light);

    --rosso: var(--ls-live);
    --sidebar-w: 200px;
    --right-sidebar-w: 260px;
    --max-w: 1250px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--ls-radius-pill);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    width: fit-content;
    margin-bottom: 15px !important;
    font-family: var(--ls-font-text);
    font-size: 11px;
    transition: all 0.3s ease;
}

.breadcrumbs:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    background: #ffffff;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumbs a i {
    font-size: 12px;
}

.breadcrumbs a:hover {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumbs .separator {
    color: var(--ls-border-strong);
    font-size: 12px;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.breadcrumbs .current {
    color: var(--ls-muted);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    padding-left: 2px;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 4px 10px;
        font-size: 10px !important;
        margin-bottom: 12px !important;
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        background: #ffffff;
    }
    .breadcrumbs .current {
        max-width: 120px;
    }
}

.primary-color { color: var(--ls-primary) !important; }
.accent-color { color: var(--primary) !important; }
.primary-bg { background-color: var(--ls-primary) !important; }
.accent-bg { background-color: var(--primary) !important; }
.primary-gradient { background: linear-gradient(135deg, var(--ls-primary) 0%, var(--primary) 100%) !important; }

.goal-badge {
    background: var(--live);
    color: white !important;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: var(--ls-radius-sm);
    animation: pulse-goal 1s infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(var(--ls-primary-rgb), 0.3);
    text-transform: uppercase;
    line-height: 1;
    position: absolute;
    right: 35px;
    z-index: 10;
    white-space: nowrap;
}

@keyframes pulse-goal {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--ls-primary-rgb), 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(var(--ls-primary-rgb), 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--ls-primary-rgb), 0); }
}

body {
    font-family: var(--ls-font-text);
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.top-header {
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 10001;
    border-bottom: 1px solid var(--ls-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 50px;
}

.sticky-team-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--ls-surface-2);
    padding: 6px 15px;
    border-radius: var(--ls-radius-pill);
    border: 1px solid var(--ls-border);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 10px);
    margin: 0;
    z-index: 5;
}

.sticky-team-header.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) !important;
}

.sticky-match-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--ls-surface-2);
    padding: 6px 15px;
    border-radius: var(--ls-radius-pill);
    border: 1px solid var(--ls-border);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 10px);
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sticky-match-header.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) !important;
}

.sticky-match-logo {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain !important;
}

.sticky-match-score {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    background: transparent !important;
    padding: 0 10px !important;
    min-width: unset !important;
    text-align: center !important;
    font-family: var(--ls-font-text) !important;
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 6px !important;
        justify-content: space-between;
        gap: 4px !important;
    }

    .logo-new .logo-text {
        font-size: 14px !important;
        letter-spacing: -0.5px !important;
    }

    .logo-new img {
        width: 16px !important;
        height: 16px !important;
    }

    .sticky-match-logo {
        width: 18px !important;
        height: 18px !important;
    }

    .sticky-match-score {
        font-size: 13px !important;
        padding: 2px 5px !important;
        min-width: 32px !important;
        font-weight: 800;
    }

    .sticky-team-header {
        position: static;
        transform: scale(0.75) !important;
        max-width: 110px;
        padding: 3px 6px;
        margin: 0 auto;
        opacity: 0;
        visibility: hidden;
        z-index: 1;
        transition: all 0.3s;
        order: 3;
        background: var(--ls-surface-2);
        border: 1px solid var(--ls-border);
        border-radius: var(--ls-radius-pill);
    }

    .sticky-team-header.visible {
        opacity: 1;
        visibility: visible;
        transform: scale(1) !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        order: 1;
        font-size: 16px !important;
        padding: 5px !important;
    }

    .logo-new {
        order: 2;
        margin-right: 0;
        gap: 3px;
    }

    .sticky-match-header {
        position: static;
        transform: translateY(4px) !important;
        opacity: 0;
        visibility: hidden;
        order: 3;
        margin: 0 5px 0 auto !important;
        padding: 2px 4px !important;
        gap: 3px !important;
        left: auto;
        top: auto;
        border-radius: var(--ls-radius-pill);
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    .sticky-match-header.visible {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }

    .header-right {
        order: 4;
        margin-left: 0;
        gap: 15px !important;
        padding-right: 15px !important;
    }

    .search-toggle {
        font-size: 22px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .header-nav-item i {
        font-size: 22px !important;
    }
}

.sticky-team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.sticky-team-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--ls-text);
    text-overflow: ellipsis;
    overflow: hidden;
}
@media (max-width: 768px) {
    .header-nav-item span {
        display: none;
    }

    .header-right {
        gap: 10px;
    }
}

@media (max-width: 580px) {
    .logo-text {
        font-size: 14px;
        letter-spacing: -0.5px;
    }

    .sticky-team-header {
        max-width: 160px;
        padding: 6px 10px;
    }

    .sticky-team-logo {
        width: 26px;
        height: 26px;
    }

    .sticky-team-name {
        font-size: 12px;
        font-weight: 800;
    }
}

@media (max-width: 480px) {
    .logo-new .logo-text {
        font-size: 24px !important;
        letter-spacing: -0.5px !important;
    }
    .logo-new img {
        width: 24px !important;
        height: 24px !important;
    }

    .logo-new {
        order: 2 !important;
        margin-right: auto !important;
        gap: 3px;
    }

    .sticky-match-header {
        position: fixed !important;
        top: 60px !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(-100%) !important;
        display: flex !important;
        width: auto !important;
        min-width: 150px !important;
        height: 36px !important;
        background: #ffffff !important;
        border-radius: 0 0 var(--ls-radius) var(--ls-radius) !important;
        border: 1px solid var(--ls-border) !important;
        border-top: none !important;
        box-shadow: none !important;
        padding: 0 20px !important;
        gap: 12px !important;
        z-index: 10000 !important;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .sticky-match-header.visible {
        transform: translateX(-50%) translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .sticky-match-score {
        font-size: 13px !important;
        font-weight: 800 !important;
        padding: 0 5px !important;
        min-width: unset !important;
        background: transparent !important;
    }

    .sticky-match-logo {
        width: 18px !important;
        height: 18px !important;
    }
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    height: 100%;
}

.header-search-v2 {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    display: none;
}

.header-search-container {
    position: relative;
    transform: none;
    width: 300px;
    background: #ffffff;
    padding: 2px;
    border-radius: var(--ls-radius-pill);
    border: 1.5px solid var(--ls-border);
    display: flex;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-search-container:hover {
    border-color: var(--ls-border-strong);
}

.header-search-container:focus-within {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--ls-primary-rgb), 0.1), 0 8px 25px rgba(0,0,0,0.05);
}

.search-inner-icon {
    position: absolute;
    left: 20px;
    color: var(--primary);
    z-index: 10;
    font-size: 24px;
}

.header-search-container input {
    width: 100%;
    padding: 12px 20px 12px 55px;
    border-radius: var(--ls-radius-pill);
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    color: var(--ls-text);
}

@media (max-width: 992px) {

    .search-toggle {
        display: flex;
        background: transparent;
        border: none;
        color: var(--ls-text-2);
        font-size: 20px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
    }

    #header-search-container.header-search-container {
        position: absolute !important;
        right: 0 !important;
        top: 65px !important;
        transform: translateY(-15px) scale(0.95) !important;
        transform-origin: top center !important;
        width: 340px !important;
        background: white !important;
        opacity: 0 !important;
        visibility: hidden !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
        border-radius: var(--ls-radius) !important;
        z-index: 10003 !important;
        display: flex !important;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }

    @media (max-width: 480px) {
        #header-search-container.header-search-container {
            width: calc(100vw - 40px) !important;
            right: -65px !important;
            max-width: none !important;
        }
    }

    #header-search-container.header-search-container.active {
        transform: translateY(0) scale(1) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .header-search-container input {
        background: var(--ls-surface-2);
    }
}

.mobile-menu-toggle {
    display: none;
}

.logo-new {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s;
}

.logo-new:hover {
    transform: scale(1.02);
}

.logo-bolt {
    display: none;
}

.logo-text {
    font-family: var(--ls-font-text);
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a !important;
    letter-spacing: -1px;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    line-height: 1;
}

.logo-accent {
    color: var(--accent) !important;
    font-weight: 800;
    margin: 0;
}

.logo-accent.footer-accent {
    color: #ffffff !important;
}

.logo-end {
    font-weight: 500;
}

.logo-accent::after {
    display: none;
}

@media (max-width: 850px) {
    .logo-text { font-size: 18px; letter-spacing: -0.8px; }
    .logo-bolt { width: 20px; height: 20px; font-size: 12px; }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
}

.header-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--ls-text-2);
    font-size: 12px;
    font-weight: 700;
}

.header-nav-item i {
    font-size: 28px;
    color: var(--ls-text-2);
}

.live-now-btn {
    background: #000;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: var(--ls-radius-pill);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.live-now-btn:hover {
    transform: scale(1.02);
}

.live-now-btn span {
    background: var(--live);
    color: white;
    padding: 2px 6px;
    border-radius: var(--ls-radius);
    font-size: 12px;
}

.main-container {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

.left-sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 20px 0 15px;
    background: transparent;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.left-sidebar::-webkit-scrollbar {
    display: none;
}

.content-area {
    flex: 1;
    min-width: 0;
    padding-top: 20px;
}

.right-sidebar {
    width: var(--right-sidebar-w);
    flex-shrink: 0;
    position: sticky;
    top: 64px;
    height: fit-content;
    padding-top: 20px;
}

.date-navigation {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--ls-radius);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.date-nav-wrapper {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 54px;
}

.nav-tabs-left {
    display: flex;
    gap: 35px;
}

.tab-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tab-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: var(--ls-radius);
    min-width: 32px;
    text-align: center;
    transition: all 0.2s;
}

.badge-all {
    background: #f1f5f9;
    color: var(--ls-text-2);
}

.badge-live {
    background: var(--ls-live-soft);
    color: var(--live);
}

.badge-scheduled {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-tab.active .badge-all {
    background: var(--ls-text-2);
    color: white;
}

.nav-tab.active .badge-live {
    background: var(--live);
    color: white;
}

.nav-tab.active .badge-scheduled {
    background: var(--primary);
    color: white;
}

.nav-tab {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--ls-muted-2);
    padding: 10px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-tab:hover {
    color: var(--primary);
}

.nav-tab.active {
    color: var(--primary);
}

.nav-tab.live-tab {
    color: var(--live);
}

.nav-tab.live-tab.active {
    color: var(--live);
}

@media (max-width: 768px) {
    .date-navigation {
        margin-bottom: 12px !important;
    }
    .date-nav-wrapper {
        flex-direction: column !important;
        height: auto !important;
        padding: 8px 6px !important;
        gap: 8px !important;
    }

    .nav-tabs-left {
        width: 100% !important;
        gap: 4px !important;
        display: flex !important;
        justify-content: space-between !important;
    }

    .nav-tab {
        flex: 1 !important;
        background: var(--ls-surface-2) !important;
        border-radius: var(--ls-radius) !important;
        padding: 5px 2px !important;
        font-size: 11px !important;
        min-width: 0 !important;
        border: 1px solid #f1f5f9 !important;
        text-align: center !important;
    }

    .nav-tab.active {
        background: white !important;
        border-color: var(--primary) !important;
    }

    .tab-content-wrapper {
        gap: 1px !important;
    }

    .tab-badge {
        font-size: 9px !important;
        padding: 1px 5px !important;
        min-width: 20px !important;
    }

    .date-picker-pill {
        width: 85% !important;
        margin: 0 auto !important;
        justify-content: center !important;
        background: #f1f5f9 !important;
        border: none !important;
        padding: 2px !important;
        height: 32px !important;
    }

    .current-date-display {
        font-size: 13px !important;
        font-weight: 700 !important;
        min-width: 80px !important;
        text-align: center !important;
        padding: 0 10px !important;
        color: var(--primary) !important;
    }

    .date-nav-arrow {
        width: 28px !important;
        height: 28px !important;
        background: white !important;
        font-size: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

.date-picker-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: var(--ls-radius-pill);
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.date-nav-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50%;
    transition: background 0.2s;
}

.date-nav-arrow:hover {
    background: #f1f5f9;
}

.current-date-display {
    padding: 0 20px;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    min-width: 120px;
    text-align: center;
    transition: background 0.2s;
    border-radius: var(--ls-radius);
}

.current-date-display:hover {
    background: #f1f5f9;
}

.current-date-display i {
    color: var(--ls-muted);
    font-size: 14px;
}

@media (max-width: 850px) {
    .date-nav-wrapper {
        padding: 0 15px;
        height: 55px;
    }

    .nav-tabs-left {
        gap: 20px;
    }

    .nav-tab {
        font-size: 14px;
        padding: 15px 0;
    }

    .date-picker-pill {
        padding: 1px;
    }

    .current-date-display {
        padding: 0 15px;
        font-size: 13px;
        min-width: 70px;
    }

    .date-nav-arrow {
        width: 30px;
        height: 30px;
    }
}

.league-group {
    margin-bottom: 40px;
}

.league-group[data-league-id] ~ .league-group[data-league-id] ~ .league-group[data-league-id] {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.league-header {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.league-header img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.league-header span {
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

.match-wrapper {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.match-wrapper:hover {
    background: #ffffff;
}

.match-row {
    display: grid;
    grid-template-columns: 40px 70px 1px 1fr 40px;
    align-items: center;
    padding: 4px 0;
    gap: 0;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

.match-fav {
    color: #d2d5da;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.match-fav:hover {
    color: #f59e0b;
}

.match-fav.active {
    color: #f59e0b;
}

.match-fav.active i {
    font-weight: 900 !important;
}

.match-status-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    min-width: 70px;
}

.m-time {
    font-size: 14px;
    font-weight: 600;
    color: #6d6d6d;
    line-height: 1.2;
}

.m-time.live-text-label {
    font-size: 11px;
    font-weight: 400;
    color: var(--petrolio-profondo) !important;
    letter-spacing: 0.2px;
    font-style: normal;
    white-space: nowrap;
    opacity: 1;
    background-image: linear-gradient(100deg,
        var(--petrolio-profondo) 0%, var(--petrolio-profondo) 42%,
        var(--petrolio-profondo-chiaro) 50%,
        var(--petrolio-profondo) 58%, var(--petrolio-profondo) 100%);
    background-size: 300% 100%;
    background-position: 100% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: live-riflesso 4s ease-in-out infinite;
}
@keyframes live-riflesso {
    0%, 70% { background-position: 100% 0; }
    100%    { background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .m-time.live-text-label { animation: none; }
}

.m-minute {
    font-size: 13px;
    font-weight: 900;
    color: #bbb;
    line-height: 1.2;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.match-row.is-live .m-minute {
    color: var(--live);
}

.match-separator {
    width: 1px;
    height: 35px;
    background-color: #eee;
    margin: 0;
}

.match-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 0 20px;
}

.match-content-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-info img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.team-name {
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

.score-item {

    font-family: var(--ls-font-text);
    font-variant-numeric: tabular-nums;
    font-size: 16.5px;
    line-height: 1.2;
    font-weight: 800;
    color: #000;
    min-width: 20px;
    text-align: right;
}

.match-row.is-live .score-item {
    color: var(--live);
}

.match-action {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e5e5e5;
    font-size: 14px;
    cursor: pointer;
}

.match-score {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--ls-font-num);
    font-weight: 800;
    font-size: 18px;
    text-align: right;
    color: #000;
}

.live-badge {
    color: var(--live);
    font-weight: 900;
    font-size: 15px;
}

.widget-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 25px;
    color: #000;
}

.squadre-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.2s;
}

.squadre-item:hover {
    padding-left: 5px;
}

.squadre-item img {
    width: 32px;
    height: 32px;
    margin-right: 15px;
}

.squadre-name {
    font-weight: 800;
    font-size: 15px;
    color: #000;
    display: block;
    margin-bottom: 2px;
}

.squadre-follow-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
}

.follow-icon-plus {
    margin-left: auto;
    font-size: 18px;
    color: var(--primary);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.squadre-item:hover .follow-icon-plus {
    opacity: 1;
    transform: scale(1.1);
}

.squadre-item:hover .squadre-follow-tag {
    opacity: 1;
}

@media (max-width: 992px) {
    body.sidebar-open .main-container {
        position: relative;
    }

    .header-search {
        display: none;
    }

    .live-now-btn {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .main-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }

    .content-area {
        padding-top: 0;
        width: 100% !important;
    }

    .right-sidebar {
        width: 100% !important;
        padding: 0 !important;
    }

    .widget {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        margin-bottom: 15px !important;
        padding: 15px !important;
        width: 100% !important;
        box-shadow: none !important;
    }

    .league-group {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    .left-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 300px;
        background: white;
        z-index: 30005;
        transition: left 0.3s ease;
        padding: 20px;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
        border-right: none;
    }

    .left-sidebar.mobile-active {
        left: 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 30000;
        cursor: pointer;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .right-sidebar {
        width: 100%;
    }

    .match-row {
        grid-template-columns: 35px 72px 1px 1fr 30px;
        padding: 7px 0;
    }

    .match-status-col {
        padding: 0 5px;
        min-width: 72px;
    }

    .ht-badge {
        padding: 2px 6px !important;
        font-size: 9px !important;
    }

    .m-time { font-size: 13px; }
    .m-minute { font-size: 11px; }

    .team-info img {
        width: 20px;
        height: 20px;
    }

    .team-name {
        font-size: 14px;
        font-weight: 400;
    }

    .score-item {
        font-size: 14px;
    }

    .leagues-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .country-link {
        padding: 15px 20px;
        font-size: 15px;
    }

    .league-link {
        padding: 12px 20px 12px 52px;
        font-size: 14px;
    }
}

@keyframes live-blink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.match-row.is-live {
    background: #ffffff;
}

.ht-badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: var(--ls-radius-sm);
    font-size: 10px;
    font-weight: 800;
    border: 1px solid rgba(var(--ls-primary-rgb), 0.2);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    margin-right: 2px;
}

.league-group {
    background: #ffffff;
    border-radius: var(--ls-radius);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.league-header {
    background: #ffffff;
    color: white;
    padding: 6px 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.league-header i { color: #000; }

.match-wrapper {
    width: 100%;
}

.match-wrapper:last-child { border-bottom: none; }

.favorite-star {
    padding: 0 15px;
    cursor: pointer;
    font-size: 16px;
    color: #ffc107;
    transition: all 0.2s;
}

.favorite-star:hover {
    transform: scale(1.2);
}

.match-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.match-arrow {
    display: none;
}

.match-arrow.active {
    opacity: 1;
    visibility: visible;
    color: #00ff85 !important;
    filter: drop-shadow(0 0 8px #00ff85);
    animation: arrowBlink 0.6s infinite alternate;
}

@keyframes arrowBlink {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.6); opacity: 0.8; }
}

#h2h .match-row {
    grid-template-columns: 80px 1fr 40px 60px;
}

.match-row:hover {
    background-color: #ffffff;
}

.match-row:last-child { border-bottom: none; }

.match-row.is-live .match-score {
    background: transparent;
    color: var(--live);
    box-shadow: none;
    border: none;
}

.match-row.is-live .match-score span {
    color: var(--live) !important;

    -webkit-text-stroke: 0.35px var(--live);
}

.match-status {
    text-align: right;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-light);
}

.is-live .match-status {
    color: var(--live);
}

.live-min {
    color: var(--live);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.gambling-warning-mini {
    font-size: 8px !important;
    color: var(--ls-muted-2) !important;
    text-align: center !important;
    margin-bottom: 8px !important;
    font-weight: 400 !important;
    opacity: 0.7 !important;
}

.gambling-warning-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    padding: 10px !important;
    background: var(--ls-surface-2) !important;
    border-radius: var(--ls-radius) !important;
    margin-top: 15px !important;
    opacity: 0.8 !important;
}

.gambling-warning-text {
    font-size: 8px !important;
    color: var(--ls-muted) !important;
    line-height: 1.3 !important;
    text-align: left !important;
    max-width: 300px !important;
}

.adm-logo-container img {
    max-width: 80px !important;
    height: auto !important;
    filter: grayscale(1) !important;
    opacity: 0.6 !important;
}

.match-odds-mini {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
}

.view-odds-live {
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.match-link:hover .view-odds-live {
    color: var(--accent);
    transform: translateX(3px);
}

.odd-row-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--primary);
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: var(--ls-radius);
    transition: all 0.2s;
    border: 1px solid transparent;
}

.odd-row-pill:hover {
    background: white;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.odd-row-pill span {
    font-weight: 800;
    color: var(--text-light);
    opacity: 0.4;
    font-size: 9px;
}

.odd-row-pill strong {
    color: var(--primary);
    font-weight: 700;
}

.odd-row-pill.empty {
    opacity: 0.3;
    background: transparent;
    border: 1px dashed var(--border);
}

.odd-row-pill.odds-updating {
    transition: all 0.3s ease;
}

.odd-row-pill.odds-flash {
    animation: odds-flash 0.8s ease-in-out;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 255, 133, 0.3);
}

.odd-row-pill.odds-changed {
    background: linear-gradient(135deg, var(--secondary) 0%, #f59e0b 100%) !important;
    color: var(--primary) !important;
    animation: odds-changed-pulse 2s ease-in-out infinite;
    position: relative;
}

.odd-row-pill.odds-changed::after {
    content: '⬆';
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--rosso);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    animation: bounce-in 0.5s ease-out;
}

@keyframes odds-flash {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes odds-changed-pulse {
    0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); }
    70% { box-shadow: 0 0 0 3px rgba(251, 191, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

@keyframes bounce-in {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
    100% { transform: scale(1) rotate(360deg); opacity: 1; }
}

.standings-table tr.position-changed {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    color: white !important;
}

.standings-table tr.points-changed {
    background: linear-gradient(135deg, var(--secondary) 0%, #f59e0b 100%) !important;
    color: var(--primary) !important;
}

.standings-table tr.position-flash {
    animation: standings-position-flash 1.2s ease-in-out;
    box-shadow: 0 0 20px rgba(var(--ls-primary-rgb), 0.5);
}

.standings-table tr.points-flash {
    animation: standings-points-flash 1.2s ease-in-out;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.standings-table tr.position-changed td:first-child::after {
    content: '↕';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--rosso);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: standings-change-indicator 0.8s ease-out;
}

.standings-table tr.points-changed td:nth-child(3)::after {
    content: '+';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: #16a34a;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: standings-change-indicator 0.8s ease-out;
}

@keyframes standings-position-flash {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}

@keyframes standings-points-flash {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes standings-change-indicator {
    0% { transform: translateY(-50%) scale(0) rotate(0deg); opacity: 0; }
    50% { transform: translateY(-50%) scale(1.3) rotate(180deg); opacity: 1; }
    100% { transform: translateY(-50%) scale(1) rotate(360deg); opacity: 1; }
}

.form-dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.form-dot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.form-opp-logo {
    width: 12px;
    height: 12px;
    object-fit: contain;
    opacity: 0.8;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
}
.form-W { background-color: var(--ls-win) !important; }
.form-D { background-color: var(--ls-draw) !important; }
.form-L { background-color: var(--ls-loss) !important; }

@media (max-width: 480px) {
    .form-dots-container {
        gap: 4px;
    }
    .form-badge {
        width: 15px;
        height: 15px;
        font-size: 8px;
    }
    .form-opp-logo {
        width: 10px;
        height: 10px;
    }
}

.red-cards-container {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 6px;
    vertical-align: middle;
    flex-wrap: nowrap;
}

.red-card-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 10px;
    height: 14px;
    margin-left: 0;
    padding: 0;
    border-radius: var(--ls-radius-sm);
    background: var(--rosso) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    animation: gdRossoEntra 0.45s cubic-bezier(.34, 1.56, .64, 1);
    color: #ffffff !important;
    font-family: var(--ls-font-text);
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1;
    text-align: center;

}

.team-info > .red-card-badge { margin-left: -5px; }

.red-card-badge:not(:empty) {
    margin-right: 3px;
    box-shadow: 1px -1px 0 #fff, 3px -2px 0 var(--rosso);
}
@keyframes gdRossoEntra {
    0% { opacity: 0; transform: scale(.4) translateY(-6px); }
    100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .red-card-badge { animation: none; }
}

@media (max-width: 768px) {
    .red-cards-container {
        margin-left: 4px;
        gap: 4px;
    }
    .red-card-badge {
        width: 10px;
        height: 14px;
        margin-left: 0;
        font-size: 9px !important;
    }
}

.goal-flash {
    position: relative;
    z-index: 10;
    transition: background 0.5s ease;
}

.status-badge {
    padding: 3px 5px;
    border: 0;
    color: #ffffff;
    letter-spacing: .04em;
    font-size: 10px;
    font-weight: 800;
    border-radius: var(--ls-radius-sm);
    text-transform: uppercase;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ls-live);
}

.status-badge.gol-badge {
    animation: badgePulse 1s infinite;
}

.status-badge.var-badge {
    position: relative;
}

.status-badge.var-badge::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid var(--rosso);
    border-radius: var(--ls-radius);
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: rotateBorder 1.5s linear infinite;
}

@keyframes badgePulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scoreBlink {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.score-blink, .score-flash {
    animation: scoreBlink 1s ease-in-out infinite !important;
    display: inline-block;
    z-index: 10;
}

.right-sidebar {
    width: var(--right-sidebar-w);
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.widget {
    background: var(--card-bg);
    border-radius: var(--ls-radius);
    padding: 20px;
    border: 1px solid var(--border);
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.widget-title {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    color: var(--primary);
}

.scorer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: var(--ls-radius);
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.scorer-item:hover {
    background: rgba(0,255,133,0.05);
    transform: translateX(2px);
    box-shadow: 0 3px 8px rgba(0,255,133,0.08);
}

.scorer-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
}

.scorer-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.scorer-item:hover .scorer-img {
    transform: scale(1.05);
}

.scorer-info {
    flex: 1;
    min-width: 0;
}

.scorer-info strong {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scorer-item:hover .scorer-info strong {
    color: var(--accent);
}

.scorer-team {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
}

.scorer-team img {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.scorer-team small {
    color: var(--text-light);
    font-weight: 600;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scorer-stats {
    display: flex;
    gap: 6px;
    font-size: 9px;
    flex-wrap: wrap;
}

.scorer-stats span {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--text);
    font-weight: 600;
    padding: 2px 4px;
    border-radius: var(--ls-radius-sm);
    background: rgba(0,0,0,0.03);
    white-space: nowrap;
}

.scorer-stats .goals {
    color: #006400;
    background: rgba(0,100,0,0.1);
}

.scorer-stats .assists {
    color: var(--ls-muted);
    background: rgba(100, 116, 139, 0.1);
}

.scorer-stats .appearances {
    color: var(--primary);
    background: rgba(var(--ls-primary-rgb), 0.1);
}

.scorer-stats i {
    font-size: 8px;
    opacity: 0.8;
}

.injury-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: var(--ls-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    border: 1px solid rgba(220, 38, 38, 0.1);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.06);
    position: relative;
    overflow: hidden;
}

.injury-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--rosso) 0%, var(--rosso) 100%);
    border-radius: 0 var(--ls-radius-sm) var(--ls-radius-sm) 0;
    transition: width 0.3s ease;
}

.injury-item:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.02) 0%, rgba(239, 68, 68, 0.03) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.2);
}

.injury-item:hover::before {
    width: 6px;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.injury-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: linear-gradient(135deg, var(--rosso), var(--rosso)) padding-box,
                linear-gradient(135deg, var(--rosso), var(--rosso)) border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.injury-img::after {
    content: '🏥';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--rosso);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.injury-item:hover .injury-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.injury-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.injury-info strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.injury-item:hover .injury-info strong {
    color: var(--rosso);
    text-shadow: 0 0 8px rgba(220, 38, 38, 0.2);
}

.injury-team {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.injury-team img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.injury-item:hover .injury-team img {
    transform: scale(1.1);
}

.injury-team small {
    color: var(--text-light);
    font-weight: 700;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.injury-item:hover .injury-team small {
    color: var(--rosso);
}

.injury-type {
    display: flex;
    align-items: center;
}

.injury-badge {
    font-size: 9px;
    font-weight: 900;
    color: white;
    background: linear-gradient(135deg, var(--rosso) 0%, var(--rosso) 100%);
    padding: 4px 10px;
    border-radius: var(--ls-radius);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.injury-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.injury-item:hover .injury-badge::before {
    left: 100%;
}

.injury-item:hover .injury-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

@media (max-width: 850px) {
    .mobile-menu-toggle { display: block !important; }
    .header-date { display: none; }
    .header-container { justify-content: space-between; gap: 10px; padding: 0 10px; height: 60px; }

    .logo { font-size: 18px; gap: 3px; }
    .logo span { display: none; }

    .header-right { gap: 10px; }
    .header-nav-item { gap: 1px; }
    .header-nav-item i { font-size: 16px; }
    .header-nav-item span { font-size: 9px; font-weight: 800; }

    .date-navigation { margin-bottom: 15px; }
    .nav-tab { font-size: 13px; padding: 12px 0; }
    .nav-tabs-left { gap: 15px; }

    .gambling-warning-box {
        padding: 10px;
        margin-bottom: 15px;
    }

    .gambling-warning-text {
        font-size: 9px;
    }

    .adm-logo-container img {
        max-width: 140px;
    }

    .league-group {
        margin-bottom: 20px;
        border-radius: var(--ls-radius) !important;
    }

    .league-header {
        padding: 8px 15px;
        gap: 10px;
    }

    .league-header img {
        width: 20px;
        height: 20px;
    }

    .match-row {
        grid-template-columns: 40px 60px 1px 1fr 30px;
        padding: 7px 0;
    }

    .team-name {
        max-width: 160px;
    }

    .match-row {
        grid-template-columns: 35px 55px 1px 1fr 30px;
        padding: 7px 0;
        gap: 0;
    }

    .match-status-col {
        padding: 0 5px;
        min-width: 55px;
    }

    .m-time { font-size: 12px; font-weight: 700; }
    .m-minute { font-size: 11px; font-weight: 800; }

    .team-info img {
        width: 20px;
        height: 20px;
    }

    .team-name {
        font-size: 13px;
        font-weight: 400;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
    }

    .score-item {
        font-size: 14px;
        font-weight: 800;
    }

    .match-link {
        padding: 0 20px;
    }

    .match-content-main {
        gap: 4px;
    }

    .match-score span { color: var(--primary); }
    .is-live .match-score span, .match-row.is-live .match-score span { color: var(--live) !important; font-weight: 800; }
    .is-live .match-score span:nth-child(2), .match-row.is-live .match-score span:nth-child(2) { opacity: 1 !important; }
    .match-odds-mini { display: flex !important; flex-direction: row !important; width: auto !important; gap: 2px !important; padding: 0 !important; background: transparent !important; justify-content: flex-end !important; align-items: center !important; }
    .odd-row-pill { font-size: 8px !important; padding: 2px 4px !important; background: #f1f5f9 !important; border-radius: var(--ls-radius-sm) !important; color: var(--primary) !important; gap: 2px !important; flex-shrink: 0 !important; }
    .odd-row-pill span { font-size: 8px !important; opacity: 0.6 !important; }
    .view-odds-live { font-size: 9px !important; }
    .match-status { font-size: 9px; text-align: center; }
    .match-status i { display: none; }
}

@media (max-width: 480px) {
    .match-status-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
    }
    .m-minute {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }
    .logo-subtitle { display: none; }
    .logo-main-text { font-size: 16px; }
    .logo-svg { max-height: 24px; }
    .detail-header { padding: 25px 15px; }
    .detail-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 15px; align-items: center; }
    .detail-team img { width: 45px; height: 45px; margin-bottom: 8px; }
    .detail-team h2 { font-size: 13px; line-height: 1.2; }
    .detail-score {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 32px !important;
        gap: 15px !important;
        font-weight: 800;
        white-space: nowrap !important;
    }
    .detail-score span:nth-child(2)::before { content: '-'; margin-right: 5px; opacity: 0.5; }
    .detail-tabs { overflow-x: auto; justify-content: flex-start; padding: 5px; gap: 5px; -webkit-overflow-scrolling: touch; }
    .tab-link { white-space: nowrap; padding: 10px 15px; font-size: 11px; }
    .stat-item-v2 span { font-size: 14px !important; }
    .stat-item-v2 div div { font-size: 9px !important; }
    .ai-box { padding: 15px !important; gap: 10px !important; }
    .ai-box-icon { width: 35px !important; height: 35px !important; font-size: 16px !important; }
    .ai-box-title { font-size: 9px !important; }
    .ai-box-text { font-size: 12px !important; }
    .ai-box-advice { font-size: 15px !important; }
}

@media (max-width: 850px) {
    .date-navigation {
        padding: 5px;
        border-radius: var(--ls-radius);
        gap: 2px;
        justify-content: space-between;
    }
    .date-nav-wrapper {
        gap: 2px;
        flex: 1;
        padding: 0 5px;
        height: 55px;
    }
    .date-nav-item {
        padding: 5px 2px;
        min-width: 55px;
        flex: 1;
    }
    .date-nav-item .day-name { font-size: 8px; }
    .date-nav-item .day-date { font-size: 11px; }

    .calendar-btn { width: 35px; height: 35px; }
    .calendar-btn i { font-size: 14px; }
    .calendar-btn span { font-size: 7px; }

    .main-container { padding: 10px; }
    .content-area { padding: 0; }

    .match-detail-container { margin: 0; border-radius: 0; }
    .detail-header { padding: 15px 10px; }
    .detail-teams {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        gap: 10px !important;
        align-items: center !important;
    }
    .detail-team { text-align: center; }
    .detail-team img { width: 40px; height: 40px; margin-bottom: 5px; }
    .detail-team h2 { font-size: 12px; line-height: 1.2; margin: 0; }
    .detail-score { font-size: 28px !important; }

    .detail-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 5px;
        gap: 5px;
        -webkit-overflow-scrolling: touch;
        border-bottom: 1px solid var(--border);
    }
    .tab-link { white-space: nowrap; padding: 10px 15px; font-size: 11px; }
    .tab-content { padding: 15px 10px; }

    .col-hide-mobile { display: none !important; }

    .standings-table-wrapper, .scores-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;

        margin: 0;
        padding: 0;
    }

    .standings-table-modern, .scores-container table {
        min-width: 0;
        width: 100%;
    }

    .pitch-container { max-width: 100%; height: auto; min-height: 350px; }
    .player-on-pitch { width: 45px; }
    .player-on-pitch img { width: 22px; height: 22px; }
    .player-name { font-size: 7px; padding: 1px 2px; }

    .substitutes-container { grid-template-columns: 1fr; gap: 15px; }

    .ai-box { padding: 15px !important; gap: 10px !important; }
    .ai-box-icon { width: 30px !important; height: 30px !important; font-size: 14px !important; }
    .ai-box-advice { font-size: 14px !important; }

    .live-now-calendar-btn { display: none !important; }
}

.pitch-container { background: #2e7d32; border: 4px solid white; border-radius: var(--ls-radius); position: relative; width: 100%; max-width: 380px; aspect-ratio: 2/3; margin: 30px auto; overflow: hidden; box-shadow: inset 0 0 100px rgba(0,0,0,0.2); }
.pitch-line { position: absolute; border: 2px solid rgba(255,255,255,0.5); }
.pitch-center-circle { width: 100px; height: 100px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.pitch-center-line { width: 100%; top: 50%; left: 0; }
.pitch-penalty-area-top { width: 60%; height: 15%; top: 0; left: 20%; border-top: none; }
.pitch-penalty-area-bottom { width: 60%; height: 15%; bottom: 0; left: 20%; border-bottom: none; }
.player-on-pitch { position: absolute; display: flex; flex-direction: column; align-items: center; width: 60px; transform: translate(-50%, -50%); z-index: 10; }
.player-on-pitch img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid white; background: white; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.player-on-pitch .player-name { font-size: 8px; font-weight: 800; color: white; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); text-align: center; margin-top: 4px; white-space: nowrap; background: rgba(0,0,0,0.4); padding: 1px 4px; border-radius: var(--ls-radius-sm); }
.player-on-pitch .player-number { position: absolute; top: -8px; right: 5px; background: var(--accent); color: var(--primary); font-size: 8px; font-weight: 900; width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid white; }
.tab-content { display: none; padding: 30px; }
.tab-content.active { display: block; }

@media (max-width: 768px) {
    .info-grid { grid-template-columns: 1fr; gap: 10px; }
    .substitutes-container { grid-template-columns: 1fr; gap: 20px; }
    .tab-content { padding: 15px; }
    .timeline::before { left: 20px; }
    .event-item { flex-direction: row; text-align: left; }
    .event-home, .event-away { text-align: left; padding: 0 0 0 50px; }
    .event-time { position: absolute; left: 5px; top: 0; }
    .detail-team img { width: 50px; height: 50px; }
    .detail-team h2 { font-size: 16px; }
}

#goal-notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    align-items: flex-end;
}

.goal-notification {
    background: #ffffff;
    border-radius: var(--ls-radius);
    width: 320px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    animation: slideInRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.goal-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient);
}

.goal-notif-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.notif-logo {
    height: 24px;
    width: auto;
}

.goal-notif-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.goal-notif-match {
    font-size: 16px;
    font-weight: 700;
    color: var(--ls-text);
    margin-bottom: 10px;
}

.goal-notif-score {
    font-size: 32px;
    font-weight: 900;
    color: var(--ls-text);
    background: var(--ls-surface-2);
    display: inline-block;
    padding: 4px 16px;
    border-radius: var(--ls-radius);
    letter-spacing: -1px;
}

.goal-notif-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--ls-muted-2);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.goal-notif-close:hover {
    color: var(--ls-text-2);
}

.blink-red {
    color: var(--ls-live);
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes slideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}

.goal-notif-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.goal-notif-close:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--ls-text);
    color: white;
    padding: 14px 24px;
    border-radius: var(--ls-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    max-width: 320px;
}

.toast i {
    font-size: 16px;
    color: var(--primary);
}

@keyframes toast-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toast-out {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@media (max-width: 600px) {
    #goal-notification-container {
        left: 10px;
        bottom: 10px;
        right: 10px;
    }
    .goal-notification {
        min-width: unset;
        width: 100%;
    }
}

.search-box-container {
    position: relative;
}

.search-box-container .input-wrapper {
    position: relative;
    width: 100%;
}

#team-search-input {
    width: 100%;
    padding: 10px 15px 10px 38px;
    border-radius: var(--ls-radius);
    border: 1px solid var(--border);
    background: var(--ls-surface-2);
    font-size: 13px;
    color: var(--text);
    transition: all 0.2s;
    outline: none;
}

#team-search-input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

#team-search-input:focus {
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 14px;
    pointer-events: none;
}

#team-search-input:focus + .search-icon {
    color: var(--accent);
}

.search-loading-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: 2px solid #f1f5f9;
    border-top: 2px solid var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: var(--ls-radius);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 10002;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    padding: 8px 0;
    backdrop-filter: blur(10px);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--ls-text);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #f1f5f9;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--ls-surface-2);
    padding-left: 20px;
}

.search-result-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background: var(--ls-surface-2);
    border-radius: var(--ls-radius);
    padding: 4px;
}

.result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.search-result-item .team-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.search-result-item .team-country {
    font-size: 11px;
    color: var(--ls-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.search-no-results {
    padding: 30px 20px;
    text-align: center;
    color: var(--ls-muted);
    font-size: 14px;
    font-weight: 500;
}

.search-all-link {
    background: var(--ls-surface-2) !important;
    border-bottom: 2px solid var(--ls-border);
}

.search-all-link:hover {
    background: #f1f5f9 !important;
}

.search-spinner {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 15px;
    z-index: 15;
}

.bonus-bookmaker-widget {
    background: linear-gradient(135deg, #ffffff 0%, var(--ls-surface-2) 100%);
    border-radius: var(--ls-radius);
    padding: 20px;
    border: 1px solid rgba(0, 255, 133, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.bonus-bookmaker-widget::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 255, 133, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.bonus-widget-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.bonus-icon-box {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--ls-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 255, 133, 0.3);
}

.bonus-icon-box i {
    color: var(--primary);
    font-size: 20px;
}

.bonus-header-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-header-text p {
    margin: 0;
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.bonus-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: white;
    border-radius: var(--ls-radius);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.bonus-card img {
    width: 42px;
    height: 42px;
    border-radius: var(--ls-radius);
    object-fit: contain;
    padding: 4px;
    background: var(--ls-surface-2);
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.bonus-card-blue { border-left: 4px solid var(--primary); }
.bonus-card-green { border-left: 4px solid var(--primary); }
.bonus-card-orange { border-left: 4px solid #f59e0b; }
.bonus-card-red { border-left: 4px solid var(--rosso); }
.bonus-card-purple { border-left: 4px solid var(--primary); }

.bonus-card:hover {
    transform: translateX(5px);
}

.bonus-card-blue:hover { border-color: var(--primary); background: rgba(var(--ls-primary-rgb), 0.02); box-shadow: 0 8px 20px rgba(var(--ls-primary-rgb), 0.12); }
.bonus-card-green:hover { border-color: var(--primary); background: rgba(16, 185, 129, 0.02); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12); }
.bonus-card-orange:hover { border-color: #f59e0b; background: rgba(245, 158, 11, 0.02); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.12); }
.bonus-card-red:hover { border-color: var(--rosso); background: rgba(239, 68, 68, 0.02); box-shadow: 0 8px 20px rgba(239, 68, 68, 0.12); }
.bonus-card-purple:hover { border-color: var(--primary); background: rgba(var(--ls-primary-rgb), 0.02); box-shadow: 0 8px 20px rgba(var(--ls-primary-rgb), 0.12); }

.bm-name {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
}

.bm-bonus {
    display: inline-block;
    font-size: 11px;
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(5, 150, 105, 0.08);
    padding: 2px 8px;
    border-radius: var(--ls-radius-sm);
    margin-top: 2px;
}

.bonus-card-blue .bm-bonus { color: var(--primary); background: rgba(var(--ls-primary-rgb), 0.08); }
.bonus-card-green .bm-bonus { color: var(--primary); background: rgba(16, 185, 129, 0.08); }
.bonus-card-orange .bm-bonus { color: #f59e0b; background: rgba(245, 158, 11, 0.08); }
.bonus-card-red .bm-bonus { color: var(--rosso); background: rgba(239, 68, 68, 0.08); }
.bonus-card-purple .bm-bonus { color: var(--primary); background: rgba(var(--ls-primary-rgb), 0.08); }

.news-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.news-sidebar-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.news-sidebar-item:last-child {
    border-bottom: none;
}

.news-sidebar-item:hover {
    transform: translateX(3px);
}

.news-sidebar-img {
    width: 60px;
    height: 45px;
    border-radius: var(--ls-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.news-sidebar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-sidebar-info {
    flex: 1;
    min-width: 0;
}

.news-sidebar-date {
    display: block;
    font-size: 10px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 2px;
}

.news-sidebar-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--primary) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.news-sidebar-title * {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: inherit !important;
    text-transform: none !important;
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

.btn-view-all-news {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px;
    background: var(--ls-surface-2);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view-all-news:hover {
    background: var(--primary);
    color: white;
}

.bonus-footer-info {
    text-align: center;
    margin-top: 15px;
    font-size: 10px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-of-the-day-widget {
    background: linear-gradient(135deg, var(--primary) 0%, var(--ls-header-bg) 100%);
    color: white;
    border-radius: var(--ls-radius);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(0, 255, 133, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.match-of-the-day-widget:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--ls-primary-dark) 100%);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: var(--accent);
}

.match-of-the-day-widget::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 255, 133, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.match-of-the-day-widget .widget-title {
    color: var(--accent);
    border-bottom-color: rgba(0, 255, 133, 0.5);
    margin-bottom: 15px;
    padding-bottom: 8px;
    font-size: 14px;
    letter-spacing: 1px;
}

.match-of-the-day-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.match-of-the-day-link:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.motd-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.motd-league-flag {
    width: 20px;
    height: 15px;
    object-fit: contain;
    border-radius: var(--ls-radius-sm);
}

.motd-league-name {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.motd-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.motd-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.motd-team img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.motd-team span {
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.motd-score-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
}

.motd-time {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--ls-font-num);
    color: var(--accent);
}

.motd-date {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

.motd-status {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--ls-radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.motd-status.finished {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.motd-status.live {
    background: var(--live);
    color: white;
    animation: pulse 2s infinite;
}

.motd-final-score, .motd-live-score {
    font-size: 23px;
    font-weight: 800;
    font-family: var(--ls-font-num);
    color: white;
}

@media (max-width: 850px) {
    .motd-teams {
        gap: 5px;
    }

    .motd-team {
        gap: 4px;
    }

    .motd-team img {
        width: 30px;
        height: 30px;
    }

    .motd-team span {
        font-size: 11px;
    }

    .motd-score-time {
        gap: 2px;
    }

    .motd-time {
        font-size: 18px;
    }

    .motd-final-score, .motd-live-score {
        font-size: 25px;
    }

    .motd-status {
        font-size: 10px;
        padding: 2px 6px;
    }

    .motd-odd-pill {
        padding: 6px 10px;
        font-size: 12px;
        gap: 3px;
    }

    .motd-odd-pill span {
        font-size: 9px;
    }
}

.motd-odds {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.motd-odd-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 255, 133, 0.15);
    color: white;
    padding: 8px 15px;
    border-radius: var(--ls-radius);
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(0, 255, 133, 0.3);
    transition: all 0.2s;
}

.motd-odd-pill span {
    font-size: 11px;
    font-weight: 800;
    opacity: 0.7;
}

.motd-odd-pill strong {
    color: var(--accent);
}

.motd-odd-pill.empty {
    opacity: 0.5;
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,255,255,0.2);
}

.match-of-the-day-link:hover .motd-odd-pill {
    background: rgba(0, 255, 133, 0.25);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 255, 133, 0.2);
}

.top-shots-widget {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border-radius: var(--ls-radius);
    padding: 20px;
    border: 1px solid rgba(var(--ls-live-rgb), 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.top-shots-widget::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(var(--ls-live-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.top-shots-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.top-shots-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--ls-live) 0%, #ff1a53 100%);
    border-radius: var(--ls-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(var(--ls-live-rgb), 0.3);
}

.top-shots-icon i {
    color: white;
    font-size: 20px;
}

.top-shots-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    word-break: break-word;
}

.top-shots-title p {
    margin: 0;
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

.top-shots-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.top-shot-card {
    display: block;
    background: white;
    border-radius: var(--ls-radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.top-shot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    border-color: rgba(var(--ls-live-rgb), 0.3);
}

.top-shot-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-shot-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rank-badge {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--ls-radius);
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.ts-team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.ts-team.home {
    justify-content: flex-end;
    text-align: right;
}

.ts-team.away {
    justify-content: flex-start;
    text-align: left;
}

.ts-team img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.ts-team span {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ts-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    background: var(--ls-surface-2);
    padding: 6px 10px;
    border-radius: var(--ls-radius);
    border: 1px solid #f1f5f9;
}

.ts-score {
    font-family: var(--ls-font-num);
    font-weight: 800;
    font-size: 15px;
    color: var(--primary);
    line-height: 1;
}

.ts-status {
    font-size: 9px;
    font-weight: 700;
    color: var(--rosso);
    margin-top: 4px;
}

.ts-stat-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffebeb 100%);
    padding: 8px 15px;
    border-radius: var(--ls-radius);
    border: 1px solid rgba(var(--ls-live-rgb), 0.1);
}

.ts-stat-value {
    font-family: var(--ls-font-num);
    font-size: 18px;
    font-weight: 800;
    color: var(--ls-live);
}

.ts-stat-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .ts-team span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .ts-team span {
        display: none;
    }
    .ts-team img {
        width: 32px;
        height: 32px;
    }
    .ts-score-box {
        min-width: 60px;
    }
    .ts-stat-badge {
        padding: 6px 12px;
    }
    .ts-stat-value {
        font-size: 16px;
    }

@keyframes scoreFlash {
    0% { background-color: transparent; }
    50% { background-color: var(--accent); color: var(--primary); }
    100% { background-color: transparent; }
}

.score-flash {
    animation: scoreFlash 1s ease-in-out 3;
    border-radius: var(--ls-radius-sm);
    padding: 2px 4px;
}

@keyframes footballFlash {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; color: var(--accent); }
    100% { transform: scale(1); opacity: 1; }
}

.match-arrow.active i.fa-futbol {
    animation: footballFlash 0.5s ease-in-out 6;
}
}

.side-leagues-box {
    background: #ffffff !important;
    border-radius: var(--ls-radius) !important;
    border: 1px solid #f1f5f9 !important;
    margin-bottom: 25px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.side-leagues-title {
    background: #ffffff !important;
    color: var(--ls-text-2) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.side-leagues-title i {
    color: var(--primary) !important;
    font-size: 14px !important;
}

.side-leagues-list, .side-leagues-list li, .side-leagues-container, .side-leagues-container li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.side-country-item {
    border-bottom: 1px solid var(--ls-surface-2) !important;
}

.side-country-item:last-child {
    border-bottom: none !important;
}

.side-country-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #fff !important;
    cursor: pointer !important;
}

.side-country-header:hover {
    background: var(--ls-surface-2) !important;
}

.side-country-link {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 11px 15px 11px 20px !important;
    color: var(--ls-text-2) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.side-country-flag {
    margin-right: 12px !important;
    border-radius: var(--ls-radius-sm) !important;
    width: 16px !important;
    height: 12px !important;
    object-fit: cover !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.side-country-toggle {
    padding: 11px 20px !important;
    color: var(--ls-border-strong) !important;
    transition: all 0.3s ease !important;
}

.side-country-header.active .toggle-icon {
    transform: rotate(90deg) !important;
    color: var(--primary) !important;
}

.side-leagues-container {
    background: #fafafa !important;
    display: none;
    border-top: 1px solid var(--ls-surface-2) !important;
}

.side-league-link {
    display: block !important;
    padding: 9px 20px 9px 48px !important;
    font-size: 12px !important;
    color: var(--ls-muted) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.2s !important;
    border-left: 3px solid transparent !important;
}

.side-league-link:hover {
    color: var(--primary) !important;
    background: #f1f5f9 !important;
    padding-left: 52px !important;
}

.side-league-link.active {
    color: var(--primary) !important;
    font-weight: 700 !important;
    background: #f1f5f9 !important;
    border-left-color: var(--primary) !important;
}

.favorite-group {
    border: 1px solid #ffc107 !important;
    border-radius: var(--ls-radius);
    overflow: hidden;
    margin-bottom: 30px !important;
}

.favorite-group .league-header {
    border-bottom: none;
}

.responsive-ad-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 15px 0;
}
.responsive-ad-content {
    display: inline-block;
    transform-origin: top center;
    position: relative;
    max-width: none !important;
}

.responsive-ad-content * {
    max-width: none !important;
}

.bm-carousel-container {
    width: 100%;
    margin: 20px 0;
    padding: 0 10px;
    overflow: hidden;
}

.gambling-warning-mini {
    font-size: 10px;
    color: var(--ls-muted);
    text-align: center;
    margin-bottom: 8px;
    font-weight: 500;
}

.bm-carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 10px 0 10px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bm-carousel-wrapper:active {
    cursor: grabbing;
}

.bm-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.bm-dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.bm-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ls-border-strong);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.bm-dot.active {
    background: var(--primary);
    transform: scale(1.2);
    width: 20px;
    border-radius: var(--ls-radius-sm);
}

.bm-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    width: max-content;
    padding: 0 10px;
}

.bm-card {
    flex: 0 0 160px;
    background: #ffffff;
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius);
    padding: 12px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.bm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.news-carousel-container {
    width: 100%;
    margin: 20px 0;
    padding: 0 10px;
    overflow: hidden;
}

.section-title-mini {
    font-size: 14px;
    font-weight: 700;
    color: var(--ls-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-mini i {
    color: var(--primary);
}

.news-carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 5px 0 10px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.news-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    width: max-content;
    padding: 0 5px;
}

.news-card {
    flex: 0 0 220px;
    width: 220px;
    background: #ffffff;
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius);
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.news-image-box {
    width: 100%;
    height: 110px;
    overflow: hidden;
    background: #f1f5f9;
}

.news-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

img[loading="lazy"] {
    content-visibility: auto;
}

.news-card:hover .news-image-box img {
    transform: scale(1.05);
}

.news-content {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    font-size: 11px;
    color: var(--ls-muted);
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ls-text);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-dots-container {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 0;
}

.news-dot {
    position: relative;
    width: 24px;
    height: 24px;
    background: transparent;
    cursor: pointer;
    border: none;
    padding: 0;
}

.news-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ls-border-strong);
    transition: all 0.3s ease;
}

.news-dot.active::before {
    background: var(--primary);
    width: 15px;
    border-radius: var(--ls-radius-sm);
}

.bm-logo-box {
    width: 100%;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.bm-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bm-bonus-tag {
    background: #f0fdf4;
    color: #15803d;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: var(--ls-radius);
    margin-bottom: 8px;
    line-height: 1.2;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bm-cta {
    background: var(--primary);
    color: white !important;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 0;
    width: 100%;
    border-radius: var(--ls-radius);
    transition: background 0.2s;
}

.bm-card:hover .bm-cta {
    background: var(--accent);
}

@media (max-width: 768px) {
    .bm-card {
        flex: 0 0 140px;
        padding: 10px;
    }
    .bm-bonus-tag {
        font-size: 9px;
    }

    .bm-carousel-wrapper::-webkit-scrollbar {
        display: none;
    }
}

.players-carousel-container {
    width: 100%;
    margin: 20px 0;
    padding: 0 10px;
    overflow: hidden;
}

.players-carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 5px 0 15px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.players-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.players-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    width: max-content;
    padding: 0 5px;
}

.player-card {
    flex: 0 0 140px;
    width: 140px;
    background: #ffffff;
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.player-rating {
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: var(--ls-radius);
    z-index: 2;
}

.player-photo-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    margin-bottom: 10px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.player-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    text-align: center;
    width: 100%;
}

.player-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--ls-text);
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-team {
    font-size: 10px;
    color: var(--ls-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .player-card {
        flex: 0 0 120px;
        width: 120px;
        padding: 10px;
    }
    .player-photo-box {
        width: 50px;
        height: 50px;
    }
    .player-name {
        font-size: 11px;
    }
}

.match-of-the-day-widget-v2 {
    background: white;
    border-radius: var(--ls-radius);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.motd-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.motd-v2-badge {
    background: var(--secondary-light);
    color: var(--secondary-dark);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--ls-radius);
    letter-spacing: 0.5px;
}

.motd-v2-league {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ls-muted);
}

.motd-v2-teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 15px;
}

.motd-v2-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.motd-v2-team img {
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.motd-v2-team .team-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ls-text);
    line-height: 1.2;
}

.motd-v2-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.score-display {
    font-size: 28px;
    font-weight: 800;
    color: var(--ls-text);
    letter-spacing: -1px;
}

.score-display.live {
    color: var(--live);
}

.live-indicator {
    font-size: 10px;
    font-weight: 800;
    color: var(--live);
    margin-bottom: 4px;
    animation: pulse 2s infinite;
}

.time-display {
    font-size: 22px;
    font-weight: 800;
    color: var(--ls-text);
}

.date-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--ls-muted-2);
    text-transform: uppercase;
}

.motd-v2-odds-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.motd-v2-odd-item {
    background: var(--ls-surface-2);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius);
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s;
    text-decoration: none !important;
}

.motd-v2-odd-item:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.motd-v2-odd-item .label {
    font-size: 10px;
    font-weight: 700;
    color: var(--ls-muted-2);
    margin-bottom: 2px;
}

.motd-v2-odd-item .value {
    font-size: 15px;
    font-weight: 800;
    color: var(--ls-text);
}

.motd-v2-cta {
    text-align: center;
}

.btn-bet-now {
    display: inline-block;
    background: var(--primary);
    color: white !important;
    font-size: 13px;
    font-weight: 800;
    padding: 12px 30px;
    border-radius: var(--ls-radius);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(var(--ls-primary-rgb), 0.3);
}

.btn-bet-now:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--ls-primary-rgb), 0.4);
}

.motd-v2-warning {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.squadre-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.squadre-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--ls-surface-2);
    border-radius: var(--ls-radius);
    text-decoration: none !important;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.squadre-item:hover {
    background: white;
    border-color: var(--ls-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transform: translateX(5px);
}

.squadre-logo-box {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: var(--ls-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.squadre-logo-box img {
    max-width: 32px;
    max-height: 32px;
}

.squadre-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.squadre-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ls-text);
}

.squadre-action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.follow-text {
    display: none !important;
}

.notif-badge {
    color: var(--ls-muted-2);
    font-size: 12px;
}

.squadre-item:hover .follow-text {
    background: var(--primary);
    color: white;
}

.squadre-list.compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.squadre-item-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--ls-surface-2);
    border-radius: var(--ls-radius);
    border: 1px solid transparent;
    transition: all 0.2s;
}

.squadre-item-v2:hover {
    background: white;
    border-color: var(--ls-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.squadre-main-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    flex-grow: 1;
    color: var(--ls-text);
}

.squadre-main-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.squadre-main-link .squadre-name {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}

.squadre-follow-btn {
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.squadre-follow-btn:hover {
    background: var(--accent);
    transform: scale(1.05);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: var(--ls-radius);
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f5f9;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    color: var(--ls-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--ls-border);
    color: var(--ls-text);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--ls-text);
    margin: 0;
}

.modal-content p {
    font-size: 14px;
    color: var(--ls-muted);
    line-height: 1.5;
    margin-bottom: 25px;
}

#follow-form .form-group {
    margin-bottom: 15px;
}

#follow-form input {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--ls-radius);
    border: 2px solid var(--ls-border);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s;
}

#follow-form input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--ls-primary-rgb), 0.1);
}

.btn-follow-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--ls-radius);
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(var(--ls-primary-rgb), 0.3);
}

.btn-follow-submit:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--ls-primary-rgb), 0.4);
}

.modal-footer-text {
    font-size: 11px !important;
    color: var(--ls-muted-2) !important;
    margin-top: 20px;
    margin-bottom: 0 !important;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.gambling-warning-mini {
    font-size: 8px !important;
    color: var(--ls-muted-2) !important;
    text-align: center !important;
    margin-bottom: 8px !important;
    font-weight: 400 !important;
    opacity: 0.7 !important;
}

.gambling-warning-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    padding: 10px !important;
    background: var(--ls-surface-2) !important;
    border-radius: var(--ls-radius) !important;
    margin-top: 15px !important;
    opacity: 0.8 !important;
}

.gambling-warning-text {
    font-size: 8px !important;
    color: var(--ls-muted) !important;
    line-height: 1.3 !important;
    text-align: left !important;
    max-width: 300px !important;
}

.adm-logo-container img {
    max-width: 80px !important;
    height: auto !important;
    filter: grayscale(1) !important;
    opacity: 0.6 !important;
}

@media (max-width: 768px) {
    .motd-v2-teams-row {
        gap: 10px;
    }
    .score-display {
        font-size: 24px;
    }
    .time-display {
        font-size: 18px;
    }
    .motd-v2-team .team-name {
        font-size: 12px;
    }
    .modal-content {
        padding: 25px 20px;
    }
}

.vivaticket-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    width: 22px;
    height: 22px;
    background: rgba(var(--ls-primary-rgb), 0.12);
    border: 0;
    border-radius: var(--ls-radius);
    box-shadow: none;
    color: var(--primary);
    text-decoration: none !important;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.vivaticket-btn .viva-perf { stroke: rgba(var(--ls-primary-rgb), 0.12); }
.vivaticket-btn:hover .viva-perf { stroke: var(--primary); }

.vivaticket-btn:hover {
    transform: scale(1.08);
    background: var(--primary);
    color: #fff;
}

.vivaticket-btn .viva-ticket {
    width: 14px;
    height: 14px;
    display: block;
    overflow: visible;
}

.vivaticket-btn .viva-text {
    display: none !important;
}

.vivaticket-btn .viva-text-visible {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
}

.vivaticket-btn.has-text {
    width: auto;
    height: auto;
    padding: 7px 14px;
    border-radius: var(--ls-radius);
    gap: 8px;
    font-weight: 600;
    margin: 14px auto 6px;
}
.vivaticket-btn.has-text .viva-ticket { width: 16px; height: 16px; }

.match-wrapper { position: relative; }

.match-ticket-col {
    position: absolute;
    right: 96px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .vivaticket-btn:not(.has-text) { width: 20px; height: 20px; }
    .vivaticket-btn:not(.has-text) .viva-ticket {
        width: 12px;
        height: 12px;
    }

    .vivaticket-btn .viva-text-visible {
        font-size: 11px;
    }

    .match-ticket-col { right: 86px; }
}

.highlight-btn, .hl-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: var(--ls-radius);
    background: rgba(var(--ls-primary-rgb), 0.12);
    color: var(--primary);
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.highlight-btn:hover { background: var(--primary); color: #fff; transform: scale(1.08); }
.highlight-btn .hl-tv, .hl-chip .hl-tv { width: 14px; height: 14px; display: block; }
@media (max-width: 768px) {
    .highlight-btn { width: 20px; height: 20px; }
    .highlight-btn .hl-tv { width: 12px; height: 12px; }
}

.hl-blocco { margin: 20px 0; scroll-margin-top: 84px; }
.hl-titolo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--text);
}
.hl-titolo .hl-chip { width: 26px; height: 26px; border-radius: var(--ls-radius); }
.hl-titolo .hl-chip .hl-tv { width: 16px; height: 16px; }
.hl-copertina, .hl-iframe {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--ls-radius);
    overflow: hidden;
    background: #000;
    border: 0;
}
.hl-copertina img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.92;
    transition: opacity 0.2s ease, transform 0.3s ease;
}
.hl-copertina:hover img { opacity: 1; transform: scale(1.02); }
.hl-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 44px;
    transform: translate(-50%, -50%);
    background: var(--primary);
    border-radius: var(--ls-radius);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.hl-play::after {
    content: '';
    position: absolute;
    left: 26px;
    top: 12px;
    border-left: 18px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
.hl-fonte {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 0;
    font-size: 12px;
    color: #5a5f67;
}
.hl-fonte strong { color: var(--text); font-weight: 600; }
.hl-yt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 7px;
    border-radius: var(--ls-radius-pill);
    background: #fff;
    border: 1px solid var(--ls-border);
    color: var(--text);
    font-weight: 600;
    font-size: 11.5px;
    text-decoration: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hl-yt:hover { border-color: #ff0000; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.hl-yt svg { width: 16px; height: 16px; display: block; }

.btn-primary,
.btn-follow-submit,
.btn-view-all-news,
.live-now-btn,
.tp-btn-follow-v2 {
    background: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: #ffffff !important;
    border-radius: var(--ls-radius) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transition: background .15s ease, border-color .15s ease !important;
}
.btn-primary:hover,
.btn-follow-submit:hover,
.btn-view-all-news:hover,
.live-now-btn:hover,
.tp-btn-follow-v2:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}

.btn-light,
.btn-refresh-p,
.btn-refresh-lineups {
    background: #ffffff !important;
    border: 1px solid var(--ls-border) !important;
    color: var(--primary) !important;
    border-radius: var(--ls-radius) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}
.btn-light:hover,
.btn-refresh-p:hover,
.btn-refresh-lineups:hover {
    border-color: var(--primary) !important;
    background: var(--primary-light) !important;
}

.nav-tab,
.tab-link {
    background: transparent !important;
    border-radius: 0 !important;
    border-bottom: 2px solid transparent !important;
    color: var(--ls-muted) !important;
    font-weight: 700 !important;
    transition: color .15s ease, border-color .15s ease !important;
}
.nav-tab:hover,
.tab-link:hover { color: #0f172a !important; }
.nav-tab.active,
.tab-link.active {
    background: transparent !important;
    color: #0f172a !important;
    border-bottom-color: var(--primary) !important;
}

.match-status-pill.is-live {
    background: var(--live) !important;
    color: #ffffff !important;
    border-color: var(--live) !important;
}

.motd-v2-badge,
[class*="match-del-giorno"],
.badge-featured {
    background: var(--secondary-light) !important;
    color: var(--secondary-dark) !important;
    border: none !important;
    font-weight: 800 !important;
}
.fa-star, .fa-bookmark { color: var(--secondary) !important; }

.widget,
.stat-card,
.league-group,
.card,
.news-card {
    border-radius: var(--ls-radius) !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06) !important;
    border: 1px solid #e6e9ec !important;
}

a { color: var(--primary); }
a:hover { color: var(--accent); }

.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--live);
    margin-right: 5px;
    flex-shrink: 0;
    vertical-align: middle;
    animation: live-dot-batte 1.4s ease-in-out infinite;
}

@keyframes live-dot-batte {

    0%, 100% { opacity: 1;    box-shadow: 0 0 0 0 rgba(var(--ls-live-rgb), 0.55); }
    50%      { opacity: 0.55; box-shadow: 0 0 0 5px rgba(var(--ls-live-rgb), 0); }
}

@media (prefers-reduced-motion: reduce) {
    .live-dot { animation: none; }
}

@media (max-width: 850px) {
    .standings-table {
        table-layout: fixed !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .standings-table th:nth-child(1),
    .standings-table td:nth-child(1) { width: 36px !important; padding-left: 4px !important; padding-right: 0 !important; }

    .standings-table th:nth-child(3),
    .standings-table td:nth-child(3) { width: 46px !important; padding-left: 0 !important; padding-right: 6px !important; }

    .standings-table td:nth-child(2) {
        max-width: 0 !important;
        overflow: hidden;
    }
    .standings-table td:nth-child(2) a { min-width: 0; }
    .standings-table td:nth-child(2) span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }
    .standings-table td:nth-child(2) img { flex-shrink: 0; }
}

.attesa-box {
    background: var(--card-bg);
    border: 1px solid #f1f5f9;
    border-radius: var(--ls-radius);
    padding: 34px 28px 28px;
    text-align: center;
}

.attesa-titolo {
    font-size: 12px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase;
    color: var(--ls-muted-2); margin-bottom: 22px;
}
.attesa-titolo i { color: var(--primary); margin-right: 5px; }

.attesa-conto { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.attesa-unita {
    background: var(--ls-surface-2); border: 1px solid #f1f5f9; border-radius: var(--ls-radius);
    padding: 12px 6px 10px; min-width: 78px;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.attesa-n {
    font-family: var(--ls-font-num);
    font-size: 30px; font-weight: 700; color: var(--primary);
    line-height: 1; letter-spacing: -1px;

    font-variant-numeric: tabular-nums;
}
.attesa-e { font-size: 9px; font-weight: 800; letter-spacing: 0.8px; color: var(--ls-muted-2); text-transform: uppercase; }

.attesa-partita {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin-top: 26px; padding: 14px 18px;
    background: var(--primary-light); border: 1px solid rgba(var(--ls-primary-rgb), 0.14);
    border-radius: var(--ls-radius); text-decoration: none; transition: background .15s;
}
.attesa-partita:hover { background: var(--ls-primary-soft); }
.attesa-squadra { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; color: var(--ls-text); flex: 1; min-width: 0; }
.attesa-squadra.casa { justify-content: flex-end; text-align: right; }
.attesa-squadra.ospite { justify-content: flex-start; text-align: left; }
.attesa-squadra img { flex-shrink: 0; object-fit: contain; }
.attesa-vs { color: var(--ls-muted-2); font-weight: 800; flex-shrink: 0; }

.attesa-data { margin-top: 14px; font-size: 12.5px; color: var(--ls-muted); }
.attesa-via { font-size: 18px; font-weight: 800; color: var(--primary); padding: 14px 0; }

.attesa-box.vuoto { padding: 46px 28px; }
.attesa-box.vuoto .attesa-titolo { margin-bottom: 10px; }
.attesa-box.vuoto .attesa-data { max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.65; }

.attesa-guasto { border-color: #fde68a; background: #fffbeb; }
.attesa-guasto .attesa-titolo { color: #92400e; }
.attesa-guasto .attesa-titolo i { color: #d97706; }
.attesa-riprova {
    display: inline-block; padding: 9px 18px;
    border: 1px solid rgba(var(--ls-primary-rgb), 0.22); border-radius: var(--ls-radius);
    background: var(--primary-light); color: var(--primary);
    font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.attesa-riprova:hover { background: var(--ls-primary-soft); }

@media (max-width: 560px) {
    .attesa-box { padding: 26px 16px 22px; }
    .attesa-conto { gap: 7px; }
    .attesa-unita { min-width: 0; flex: 1; padding: 10px 2px 8px; }
    .attesa-n { font-size: 23px; }
    .attesa-partita { gap: 9px; padding: 12px; }
    .attesa-squadra { font-size: 12.5px; gap: 6px; }
    .attesa-squadra img { width: 22px; height: 22px; }
}

.detail-tabs {
    display: flex !important;
    gap: 2px;
    background: var(--ls-bg) !important;
    padding: 5px !important;
    border: none !important;
    border-bottom: 1px solid #e9ebed !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: 60px;
    z-index: 40;
}
.detail-tabs::-webkit-scrollbar { display: none; }
.detail-tabs.incollata { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important; }

.tab-link {

    flex: 1 1 auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 10px !important;
    font-family: var(--ls-font-text);
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: #7b8088 !important;
    background: transparent !important;
    border: none !important;
    border-radius: var(--ls-radius) !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease !important;
}

.tab-ico { width: 15px; height: 15px; flex-shrink: 0; opacity: .75; }

.tab-link:hover { color: #232931 !important; background: rgba(255, 255, 255, .6) !important; }

.tab-link.active {
    background: #ffffff !important;
    color: var(--primary) !important;
    font-weight: 800 !important;
    box-shadow: 0 1px 2px rgba(var(--ls-dark-rgb), .07), 0 2px 6px rgba(var(--ls-dark-rgb), .05) !important;
}
.tab-link.active .tab-ico { opacity: 1; }

@media (max-width: 768px) {
    .detail-tabs { padding: 4px !important; top: 56px; }
    .tab-link {
        flex: 0 0 auto !important;
        padding: 9px 11px !important;
        font-size: 11px !important;
        letter-spacing: .45px;
        gap: 6px;
    }
    .tab-ico { width: 14px; height: 14px; }
}

.sponsor-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--ls-radius);
    padding: 10px;
    margin-bottom: 16px;
    text-align: center;
    line-height: 0;
}
.sponsor-box .sponsor-eyebrow {
    display: block;
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #999ea5;
    line-height: 1;
    margin-bottom: 8px;
    text-align: left;
}
.sponsor-box .sponsor-link {
    display: inline-block;
    max-width: 100%;
}
.sponsor-box .sponsor-link + .sponsor-link {
    margin-top: 10px;
}
.sponsor-box img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--ls-radius);
}

.sponsor-box .sponsor-html {
    line-height: normal;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
}
.sponsor-box .sponsor-html + .sponsor-html {
    margin-top: 10px;
}
.sponsor-box .sponsor-html img,
.sponsor-box .sponsor-html iframe {
    max-width: 100%;
    display: inline-block;
}
.sponsor-testa {
    margin-bottom: 16px;
}
@media (max-width: 768px) {
    .sponsor-box { padding: 8px; }
}

.cl-legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 16px 20px;
    background: var(--ls-surface-2);
    border-top: 1px solid var(--border);
}
.cl-legenda span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-light);
}
.cl-legenda i {
    width: 10px;
    height: 10px;
    border-radius: var(--ls-radius-sm);
    flex-shrink: 0;
}

.sp-riga {
    display: grid;
    grid-template-columns: 40px 70px 1px 1fr 40px;
    align-items: center;
    gap: 0;
    padding: 10px 0;

    min-height: 71px;
    border-bottom: 1px solid var(--border);

    background: linear-gradient(90deg,
        rgba(var(--ls-primary-rgb), .13) 0%,
        rgba(var(--ls-primary-rgb), .03) 22%,
        #fbfcfd 45%);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.sp-riga:hover {
    background: linear-gradient(90deg,
        rgba(var(--ls-primary-rgb), .20) 0%,
        rgba(var(--ls-primary-rgb), .06) 22%,
        #f5f7f9 45%);
}

.sp-riga-eti {

    grid-column: 1 / 3;
    text-align: center;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .6px;
    color: var(--primary);
    text-transform: uppercase;
    white-space: nowrap;
}

.sp-riga-sep { width: 1px; height: 35px; background-color: #eee; }

.sp-riga-corpo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 30px;
    min-width: 0;
}
.sp-riga-corpo > .sp-riga-logo { margin-left: -8px; }

.sp-riga-logo {
    flex: 0 0 34px;
    width: 34px; height: 34px;
    border-radius: var(--ls-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    padding: 2px;
    display: flex; align-items: center; justify-content: center;
}
.sp-riga-logo img { width: 100%; height: 100%; object-fit: contain; }
.sp-riga-sigla {
    background: var(--ls-text);
    border-color: var(--ls-text);
    color: #fff;
    font-size: 10px; font-weight: 800; letter-spacing: -.3px;
}

.sp-riga-testo { min-width: 0; }
.sp-riga-titolo {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    line-height: 1.25;
    white-space: normal;
}
.sp-riga-sotto {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 2px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}
.sp-riga-cta {
    display: flex; justify-content: center; align-items: center;
    color: #e5e5e5;
    font-size: 14px;
}

@media (max-width: 992px) {
    .sp-riga { grid-template-columns: 35px 72px 1px 1fr 30px; min-height: 63px; padding: 8px 0; }

    .sp-riga-corpo { gap: 6px; }
}
@media (max-width: 850px) {
    .sp-riga { grid-template-columns: 35px 55px 1px 1fr 30px; min-height: 69px; padding: 10px 0; }

    .sp-riga-corpo { padding: 0 20px; gap: 6px; }
    .sp-riga-eti { font-size: 8.5px; letter-spacing: .3px; }
    .sp-riga-logo { flex: 0 0 30px; width: 30px; height: 30px; border-radius: var(--ls-radius); }
    .sp-riga-titolo { font-size: 13px; }
    .sp-riga-sotto { font-size: 12px; }
}

.gd-gol-card {
    width: 290px;
    border-radius: var(--ls-radius);
    overflow: hidden;
    position: relative;
    background: #ffffff;
    border: 1px solid var(--ls-border);
    border-left: 5px solid var(--petrolio-profondo);
    box-shadow: 0 12px 30px rgba(var(--ls-dark-rgb), 0.14);
    color: var(--ls-text);
    cursor: pointer;
}

.gd-gol-testa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px 0;
}

.gd-gol-marchio {
    font-family: var(--ls-font-text);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: -0.3px;
    color: var(--ls-muted-2);
}
.gd-gol-marchio span { color: var(--petrolio-profondo); }

.gd-gol-chiudi {
    font-size: 16px;
    line-height: 1;
    color: #b5bac0;
}

.gd-gol-corpo { padding: 4px 14px 14px; }

.gd-gol-titolo {
    font-family: var(--ls-font-text);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--petrolio-profondo);
    margin-bottom: 8px;
    animation: gd-gol-lampeggia 5s ease-in-out forwards;
}

@keyframes gd-gol-lampeggia {
    0%   { opacity: 0; transform: scale(0.85); }
    8%   { opacity: 1; transform: scale(1.06); }
    14%  { opacity: 1; transform: scale(1); }
    26%  { opacity: 0.2; }
    34%  { opacity: 1; }
    46%  { opacity: 0.2; }
    54%  { opacity: 1; }
    66%  { opacity: 0.2; }
    74%  { opacity: 1; }
    100% { opacity: 1; }
}

.gd-gol-partita {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gd-gol-sq {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.gd-gol-sq:last-child { flex-direction: row-reverse; }

.gd-gol-sq img { width: 22px; height: 22px; object-fit: contain; }

.gd-gol-sq span {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ls-muted);
}

.gd-gol-sq.ha-segnato span { color: var(--petrolio-profondo); font-weight: 900; }

.gd-gol-punteggio {
    font-family: var(--ls-font-num);
    font-size: 19px;
    font-weight: 900;
    color: #0f172a;
    white-space: nowrap;
}

.gd-gol-marcatore {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--petrolio-profondo);
}

.gd-gol-barra {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--petrolio-profondo);
    transform-origin: left center;
    animation: gd-gol-svuota 5s linear forwards;
}

@keyframes gd-gol-svuota {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

@media (max-width: 600px) {
    .gd-gol-card { width: 100%; }
    .gd-gol-titolo { font-size: 23px; }
}

#notification-container-v3.ha-riga {
    width: 420px !important;
    max-width: calc(100vw - 40px) !important;
}
@media (max-width: 767px) {
    #notification-container-v3.ha-riga {
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
        max-width: none !important;
    }
    #gd-gol-riga { margin: 0 12px; }
}
#gd-gol-riga {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 6px 14px;
    border-radius: var(--ls-radius);
    background: linear-gradient(105deg, var(--ls-header-bg) 0%, var(--ls-header-bg) 55%, var(--ls-header-bg-2) 100%);
    color: #ffffff;
    font-family: var(--ls-font-text);
    font-size: 14px;
    line-height: 1.2;
    box-shadow: 0 8px 22px rgba(var(--ls-dark-rgb), 0.28);
    cursor: pointer;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(120%);
}

#gd-gol-riga.visibile {
    opacity: 1;
    transform: translateY(0);
    animation: gd-gol-riga-entra 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
#gd-gol-riga.via {
    opacity: 0;
    transform: translateY(120%);
    animation: gd-gol-riga-esce 0.3s ease-in both;
}
@keyframes gd-gol-riga-esce {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(120%); }
}
@keyframes gd-gol-riga-entra {
    from { opacity: 0; transform: translateY(120%); }
    to   { opacity: 1; transform: translateY(0); }
}
.gd-gol-riga-gol {
    flex-shrink: 0;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.06em;

    background: var(--live);
    color: #ffffff;
    padding: 2px 7px;
    border-radius: var(--ls-radius);
}
.gd-gol-riga-sq {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    opacity: 0.85;
}
.gd-gol-riga-sq:last-child { text-align: right; }
.gd-gol-riga-sq.ha-segnato { font-weight: 800; opacity: 1; }
.gd-gol-riga-pt {
    flex-shrink: 0;
    font-family: var(--ls-font-text);
    font-weight: 700;
    font-size: 17px;
    white-space: nowrap;
}

.gd-gol-riga-n.cambia {
    color: #ffffff;
    animation: gd-gol-cifra-lampeggia 0.5s steps(1, end) 6;
}
@keyframes gd-gol-cifra-lampeggia {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.15; }
}

@media (prefers-reduced-motion: reduce) {
    #gd-gol-riga.visibile { animation: none; opacity: 1; transform: none; }
    #gd-gol-riga.via      { animation: none; }
    .gd-gol-riga-n.cambia { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    .gd-gol-titolo { animation: none; opacity: 1; }
}

.match-row .m-minute .ht-badge {
    padding: 1px 4px;
    font-size: 8px;
    margin-right: 0;
}
.match-row .m-minute .live-dot { margin-right: 3px; }

.match-row .match-status-col { padding: 0 6px; }
@media (max-width: 850px) {
    .match-row { grid-template-columns: 35px 62px 1px 1fr 30px; }
    .match-status-col { min-width: 62px; padding: 0 4px; }
    .m-time.live-text-label { font-size: 10px; }
    .match-row .m-minute .ht-badge { font-size: 8px; padding: 1px 4px; }
}

.match-row.gd-gol-sotto { position: relative; }

.gd-gol-sotto .match-fav,
.gd-gol-sotto .match-status-col,
.gd-gol-sotto .match-separator,
.gd-gol-sotto .match-link { position: relative; z-index: 1; }

.gd-gol-lastra {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(105deg, var(--ls-header-bg) 0%, var(--ls-header-bg) 55%, var(--ls-header-bg-2) 100%);
    animation: gd-gol-accende 0.3s ease-out both,
               gd-gol-spegne 0.5s ease-in 9.5s both;
}

@keyframes gd-gol-accende { from { opacity: 0; } to { opacity: 1; } }
@keyframes gd-gol-spegne  { from { opacity: 1; } to { opacity: 0; } }

.match-row .team-name,
.match-row .score-item,
.match-row .m-time,
.match-row .m-minute,
.match-row .live-minute-badge,
.match-row .match-fav,
.match-row .match-separator,
.match-row .live-dot,
.match-row .team-info img {
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.gd-gol-acceso .team-name,
.gd-gol-acceso .score-item,
.gd-gol-acceso .m-minute,
.gd-gol-acceso .live-minute-badge { color: #ffffff !important; }
.gd-gol-acceso .m-time          { color: rgba(255, 255, 255, 0.85) !important; }

.gd-gol-acceso .m-time.live-text-label {
    background-image: none;
    -webkit-text-fill-color: #ffffff;
    animation: none;
}
.gd-gol-acceso .match-fav       { color: rgba(255, 255, 255, 0.5) !important; }
.gd-gol-acceso .match-fav.active { color: var(--secondary) !important; }
.gd-gol-acceso .match-separator { background: rgba(255, 255, 255, 0.35) !important; }
.gd-gol-acceso .live-dot        { background: #ffffff !important; }
.gd-gol-acceso .ht-badge        { background: rgba(255, 255, 255, 0.2) !important; color: #ffffff !important; }

.gd-gol-acceso .team-info img {
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #ffffff;
}

.gd-gol-parola {
    position: absolute;
    right: 34px;
    top: 50%;
    margin-top: -6px;
    transform-origin: right center;
    font-family: var(--ls-font-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    white-space: nowrap;
    z-index: 2;
    animation: gd-gol-batte 0.95s cubic-bezier(0.34, 1.56, 0.64, 1) 10 both;
}

@keyframes gd-gol-batte {
    0%   { opacity: 0; transform: scale(0.72); filter: blur(7px); letter-spacing: 0.04em; }
    30%  { opacity: 1; transform: scale(1.12); filter: blur(0);   letter-spacing: 0.16em; }
    58%  { opacity: 1; transform: scale(1);    filter: blur(0);   letter-spacing: 0.16em; }
    100% { opacity: 0; transform: scale(1);    filter: blur(0);   letter-spacing: 0.22em; }
}

.match-row .score-item.score-flash,
.match-row .score-item.score-blink {
    animation: none !important;
}

@media (max-width: 600px) {

    .gd-gol-parola { right: 28px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .gd-gol-lastra { animation: gd-gol-accende 0.01s both, gd-gol-spegne 0.01s 9.99s both; }
    .gd-gol-parola { animation: none; opacity: 1; }
}

.audio-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--ls-border);
    border-radius: 50%;
    background: var(--ls-surface-2);
    color: var(--ls-muted-2);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.audio-tab:hover {
    border-color: var(--ls-primary);
    color: var(--ls-primary);
    background: #ffffff;
}

.audio-tab:active { transform: scale(0.92); }

.audio-tab.e-acceso {
    background: var(--ls-primary);
    border-color: var(--ls-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(var(--ls-primary-rgb), 0.3);
}

.audio-tab.e-acceso i {
    animation: gd-cassa-batte 0.5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes gd-cassa-batte {
    0%   { transform: scale(0.7); }
    60%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.nav-tab.live-tab .tab-conta { background: rgba(var(--ls-live-rgb), .10); color: var(--live); }
.nav-tab.live-tab.active .tab-conta { background: var(--live); color: #ffffff; }
.tab-pallino { display: none; }

.tab-conta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 4px;
    border-radius: var(--ls-radius-pill);
    background: #f1f5f9;
    color: var(--ls-primary);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}

.nav-tab.active .tab-conta {
    background: var(--ls-primary);
    color: #ffffff;
}

@media (max-width: 768px) {
    .nav-tabs-left {
        gap: 6px !important;
        align-items: center !important;
    }

    .nav-tab {
        flex: 1 1 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        height: 36px !important;
        padding: 0 6px !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 2px solid transparent !important;
        border-radius: 0 !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        color: var(--ls-muted) !important;
        text-transform: capitalize !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        transition: color 0.2s ease, border-color 0.2s ease !important;
    }

    .nav-tab.active {
        background: transparent !important;
        color: #0f172a !important;
        border-bottom-color: var(--primary) !important;
        box-shadow: none !important;
    }

    .nav-tab.live-tab.active {
        border-bottom-color: var(--live) !important;
    }

    .nav-tab.active::after { display: none !important; }

    .tab-in { display: none !important; }

    .tab-pallino {
        display: inline-block !important;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--live);
        flex: 0 0 auto;
        animation: gd-pallino-batte 1.6s ease-in-out infinite;
    }

    .nav-tab.active .tab-pallino {
        background: var(--live);
    }

    .tab-conta {
        min-width: 17px;
        height: 17px;
        margin-left: 2px;
        background: rgba(var(--ls-live-rgb), .10) !important;
        color: var(--live) !important;
        font-size: 10px;
    }

    .nav-tab.active .tab-conta {
        background: var(--live) !important;
        color: #ffffff !important;
    }

    .audio-tab {
        width: 36px !important;
        height: 36px !important;
        flex: 0 0 36px !important;
        font-size: 13px !important;
    }

    .date-picker-pill {
        width: 100% !important;
        height: 36px !important;
        border-radius: var(--ls-radius-pill) !important;
    }
}

@keyframes gd-pallino-batte {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.35; transform: scale(0.8); }
}

@media (max-width: 380px) {
    .nav-tab {
        font-size: 11px !important;
        padding: 0 4px !important;
        text-overflow: ellipsis !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tab-pallino { animation: none !important; }
}

#favorites-section {
    border: 1px solid #f0eeea !important;
    border-radius: var(--ls-radius);
    overflow: hidden;
}

#favorites-section > .league-header {
    background: #ffffff;
    color: #000000;
    border-bottom: 1px solid #f2f2f0;
    border-radius: 0;
}

#favorites-section > .league-header span { color: #000000; }

#favorites-section > .league-header i {
    color: var(--secondary);
    margin-right: 10px;
}

.match-wrapper.is-fav {
    background: #fff8e6;
    border-left: 4px solid var(--secondary);
}

header.top-header {
    background: linear-gradient(180deg, var(--ls-header-bg-2) 0%, var(--ls-header-bg) 100%);
    border-bottom: 3px solid var(--ls-primary);
    box-shadow: 0 6px 22px rgba(15, 23, 42, .22);
}

@media (min-width: 993px) {
    header.top-header {
        max-width: 1160px;
        margin: 10px auto 0;
        border-radius: var(--ls-radius) var(--ls-radius) 0 0;
        padding: 6px 0;
        box-shadow: none;
    }

    html.gd-fermo header.top-header { border-radius: 0; box-shadow: 0 4px 18px rgba(15, 23, 42, .18); transition: border-radius .15s, box-shadow .15s; }

    .main-container {
        max-width: 1160px;
        padding: 0 16px;
        gap: 16px;
        background: var(--bg);
        border-radius: 0;
        box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), 0 14px 40px rgba(15, 23, 42, .10);
    }
    header.top-header .header-container { padding: 0 16px; }
    header.top-header .header-search-container { height: 38px; padding: 1px; }
    header.top-header .header-search-container input { height: 36px; font-size: 14px; }
    header.top-header .header-search-container .search-icon,
    header.top-header .header-search-v2 svg { width: 28px; height: 28px; }
    header.top-header .header-nav-item { height: 40px; }
    header.top-header .logo-new { transform: scale(.9); transform-origin: left center; }
    .main-container { margin-top: 0; }

    .left-sidebar {
        position: sticky; top: 78px;
        height: auto; max-height: none; overflow: visible;

        align-self: flex-start;
    }
    .right-sidebar { top: 78px; }
}

body {
    background: linear-gradient(180deg, var(--ls-border) 0%, #f1f5f9 380px, var(--bg) 900px) no-repeat, var(--bg);
    min-height: 100vh;
}

@media (min-width: 993px) {
    body { background: var(--ls-border); }
}

header.top-header .logo-text,
header.top-header .logo-accent,
header.top-header button,
header.top-header .header-right a,
header.top-header .header-right span,
header.top-header .header-right i { color: #ffffff !important; }

header.top-header .logo-tag { color: var(--ls-primary-light) !important; }
header.top-header .logo-img { display: block; height: 30px; width: auto; }

header.top-header .logo-segno circle { stroke: #ffffff !important; }
header.top-header .logo-segno circle:last-of-type { fill: #ffffff !important; stroke: none !important; }

header.top-header .header-search-container {
    background: rgba(0, 0, 0, .16);
    border: 1px solid rgba(255, 255, 255, .22);
}

header.top-header .header-search-container:focus-within {
    background: rgba(0, 0, 0, .26);
    border-color: rgba(255, 255, 255, .45);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
}
header.top-header .header-search-container input {
    background: transparent !important;
    border: 0 !important;
    color: #ffffff !important;
}
header.top-header .header-search-container input::placeholder { color: rgba(255, 255, 255, .75) !important; }
header.top-header .search-inner-icon { color: rgba(255, 255, 255, .85) !important; }

header.top-header .header-right .search-results-dropdown,
header.top-header .header-right .search-results-dropdown *,
header.top-header .header-right .search-results-dropdown span,
header.top-header .header-right .search-results-dropdown i { color: #1a1a1a !important; }
header.top-header .header-right .search-results-dropdown { background: #ffffff !important; }

@media (max-width: 992px) {
    header.top-header .header-search-container {
        background: #ffffff !important;
        border: 0 !important;
    }
    header.top-header .header-search-container input {
        background: var(--ls-surface-2) !important;
        color: #1a1a1a !important;
    }
    header.top-header .header-search-container input::placeholder { color: #737373 !important; }
    header.top-header .header-search-container .search-inner-icon { color: #737373 !important; }
}

.btn-primary,
.btn-follow-submit,
.btn-view-all-news,
.live-now-btn,
.tp-btn-follow-v2,
.primary-bg,
.accent-bg,
.bm-cta,
.btn-bet-now,
.gironi-nav a[style*="var(--primary)"] {
    background: linear-gradient(100deg, var(--ls-header-bg-2) 0%, var(--ls-header-bg) 55%, var(--ls-header-bg) 100%) !important;
    border-color: var(--ls-header-bg) !important;
}
.btn-primary:hover,
.btn-follow-submit:hover,
.btn-view-all-news:hover,
.live-now-btn:hover,
.tp-btn-follow-v2:hover,
.gironi-nav a[style*="var(--primary)"]:hover {
    background: var(--ls-header-bg) !important;
}

.carosello {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 6px 0 12px;
    margin: -6px 0 6px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
}
.carosello::-webkit-scrollbar { display: none; }
.carosello.al-fondo { -webkit-mask-image: none; mask-image: none; }

.carosello-box { position: relative; }
.carosello-freccia {
    position: absolute;
    top: calc(50% - 3px);
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ls-text);
    font: 800 26px/1 var(--ls-font-num);
    padding: 0 0 3px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 6px 18px rgba(15, 23, 42, .16);
    transition: opacity .2s ease, background .15s ease, color .15s ease;
}
.carosello-freccia-sx { left: -14px; }
.carosello-freccia-dx { right: -14px; }
.carosello-freccia:hover { background: var(--primary); color: #fff; }
.carosello-box.in-cima .carosello-freccia-sx, .carosello-box.al-fondo .carosello-freccia-dx, .carosello-box.tutto-dentro .carosello-freccia { opacity: 0; pointer-events: none; }
.tessera {
    --tinta: var(--primary);
    position: relative;
    flex: 0 0 200px;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border-radius: var(--ls-radius);
    color: var(--ls-text);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}
.tessera::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--tinta) 14%, transparent) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .2s ease;
}
.tessera:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 14px 30px rgba(15, 23, 42, .12); }
.tessera:hover::before { opacity: 1; }
.tessera-a { --tinta: var(--ls-primary); }
.tessera-b { --tinta: #2563eb; }
.tessera-c { --tinta: #ea580c; }
.tessera-d { --tinta: #7c3aed; }
.tessera-f { --tinta: #db2777; }
.tessera-p { --tinta: #16a34a; }
.tessera-i { --tinta: #b91c1c; }
.tessera-l { --tinta: #1e3a8a; }

.tessera-cerchio {
    position: relative;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: var(--ls-radius);
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, color-mix(in srgb, var(--tinta) 18%, #fff) 0%, color-mix(in srgb, var(--tinta) 6%, #fff) 100%);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--tinta) 18%, transparent), inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: transform .2s ease, box-shadow .2s ease;
}
.tessera:hover .tessera-cerchio {
    transform: scale(1.06);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--tinta) 26%, transparent), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.tessera-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(15, 23, 42, .18));
}
.tessera-testo { position: relative; min-width: 0; flex: 1; }
.tessera-nome {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.1px;
}
.tessera-sotto {
    display: block;
    margin-top: 2px;
    font-size: 10.5px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tessera-freccia {
    position: relative;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--tinta);
    background: color-mix(in srgb, var(--tinta) 8%, #fff);
    font-size: 13px;
    line-height: 1;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.tessera:hover .tessera-freccia { background: var(--tinta); color: #fff; transform: translateX(2px); }
@media (max-width: 1100px) { .tessera-freccia { display: none; } }
.tessera[aria-current="page"] { box-shadow: 0 0 0 2px var(--tinta), 0 6px 20px rgba(15, 23, 42, .06); }

@media (max-width: 900px) {
    .carosello {
        gap: 10px;
        scroll-padding-left: 12px;
        padding: 14px 12px 6px;
        margin: 0 0 6px;
    }
    .tessera { flex: 0 0 160px; padding: 10px; gap: 8px; }
    .tessera-cerchio { flex: 0 0 48px; width: 48px; height: 48px; border-radius: var(--ls-radius); }
    .tessera-logo { width: 35px; height: 35px; }
    .carosello-freccia { display: none; }
}

header.top-header .sticky-match-header {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 10px !important;
}
header.top-header .sticky-match-team {
    display: flex; align-items: center; justify-content: center;
    flex: none;
    width: 34px; height: 34px; border-radius: 50%;

}
header.top-header .sticky-match-logo { width: 30px !important; height: 30px !important; }
header.top-header .sticky-match-name { display: none; }
header.top-header .sticky-match-score {
    display: inline-flex; align-items: center; justify-content: center;
    box-sizing: border-box;
    height: 36px; min-width: 64px !important;
    padding: 0 12px !important;
    border-radius: var(--ls-radius);
    background: rgba(255, 255, 255, .14) !important;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #ffffff !important;
    font-size: 20px !important; font-weight: 800 !important;
    font-variant-numeric: tabular-nums; letter-spacing: -.02em;
    white-space: nowrap;
}

@media (max-width: 992px) {
    header.top-header .sticky-match-header { gap: 6px !important; margin: 0 6px 0 auto !important; }
    header.top-header .sticky-match-team { width: 26px; height: 26px; }
    header.top-header .sticky-match-logo { width: 22px !important; height: 22px !important; }
    header.top-header .sticky-match-score {
        height: 26px; min-width: 48px !important;
        padding: 0 8px !important;
        font-size: 14px !important;
        border-radius: var(--ls-radius);
    }
}

@media (max-width: 480px) {
    header.top-header .sticky-match-header {
        left: 0 !important;

        top: 80px !important;
        width: 100% !important; min-width: 0 !important;
        height: 44px !important;
        padding: 0 12px !important; gap: 8px !important;
        border-radius: 0 !important;
        background: var(--ls-header-bg) !important;
        border: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, .10) !important;
        box-shadow: 0 6px 16px rgba(15, 23, 42, .28) !important;
        box-sizing: border-box;
        transform: translateY(-100%) !important;
        justify-content: space-between !important;
    }
    header.top-header .sticky-match-header.visible { transform: translateY(0) !important; }

    header.top-header .sticky-match-team {
        flex: 1 1 0; min-width: 0;
        width: auto; height: auto; border-radius: 0;
        background: transparent; box-shadow: none;
        justify-content: flex-start; gap: 8px;
    }
    header.top-header .sticky-match-team:last-child { flex-direction: row-reverse; }
    header.top-header .sticky-match-logo {
        width: 24px !important; height: 24px !important;
        flex: none;
    }
    header.top-header .sticky-match-name {
        display: block;
        color: #ffffff;
        font-size: 12px; font-weight: 700; letter-spacing: .01em;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    header.top-header .sticky-match-score {
        flex: none;
        height: 30px; min-width: 60px !important;
        padding: 0 10px !important;
        font-size: 16px !important;
        border-radius: var(--ls-radius);
    }
}

img[src$="/loghi/496.webp"] { filter: invert(1); }
.gd-gol-sq img[src$="/loghi/496.webp"] { filter: none; }

.search-group-label {
    padding: 8px 16px 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--ls-muted);
    background: #fbfcfb;
}
.search-result-item.giocatore img {
    border-radius: 50%;
    object-fit: cover;
    padding: 0;
    background: var(--ls-border);
}

.search-result-item .maglia {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    min-width: 16px;
    padding: 0 4px;
    margin-left: 4px;
    border-radius: var(--ls-radius-sm);
    text-align: center;
    color: #fff;
    background: #898e95;
    vertical-align: 1px;
}

body.gd-scheda-aperta { overflow: hidden; }
.gd-scheda-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(var(--ls-dark-rgb), 0.55);
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.gd-scheda-overlay.aperta { display: flex; }
.gd-scheda-pannello {
    position: relative;
    width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    background: #fff;
    border-radius: var(--ls-radius) var(--ls-radius) 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: gd-scheda-su 0.22s ease-out;
}
@keyframes gd-scheda-su { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.gd-scheda-chiudi {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ls-text);
    font-size: 22px;
    line-height: 34px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.gd-scheda-corpo {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.gd-scheda-attesa { padding: 60px 20px; text-align: center; color: var(--ls-muted); font-size: 22px; }
@media (min-width: 768px) {
    .gd-scheda-overlay { align-items: center; padding: 20px; }
    .gd-scheda-pannello { width: 560px; max-height: 88vh; border-radius: var(--ls-radius); }
}

.gio-testa {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px 14px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: #fff;
}
.gio-testa img.gio-foto {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ls-border);
    border: 3px solid rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}
.gio-testa h1 {
    margin: 0 0 4px;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    padding-right: 30px;
}
.gio-testa .gio-sotto { font-size: 13px; opacity: 0.92; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.gio-testa .gio-sotto a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.gio-testa .gio-sotto a img { width: 18px; height: 18px; object-fit: contain; background: #fff; border-radius: 50%; padding: 1px; }
.gio-testa .gio-num { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; background: rgba(255,255,255,0.18); border-radius: var(--ls-radius); padding: 1px 7px; }
.gio-testa .gio-num i { font-style: normal; font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.4px; opacity: 0.85; }
.gio-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: var(--ls-live);
    color: #fff;
    border-radius: var(--ls-radius-pill);
    padding: 2px 8px;
}
.gio-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: gd-lampeggia 1s infinite; }
@keyframes gd-lampeggia { 50% { opacity: 0.2; } }
.gio-sez { padding: 14px 18px; border-bottom: 1px solid #f1f5f9; }
.gio-sez h2 {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--ls-muted);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.gio-sez h2 small { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 11px; }
.gio-anagrafica { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; font-size: 13px; margin: 0; }
.gio-anagrafica div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed #f1f5f9; padding: 3px 0; }
.gio-anagrafica dt { color: var(--ls-muted); font-weight: 500; }
.gio-anagrafica dd { margin: 0; font-weight: 700; color: #1a1a1a; text-align: right; }
.gio-numeri { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gio-numeri .n {
    background: var(--ls-surface-2);
    border-radius: var(--ls-radius);
    padding: 9px 6px;
    text-align: center;
}
.gio-numeri .n b { display: block; font-size: 21px; line-height: 1.1; font-weight: 800; color: var(--primary); font-family: var(--ls-font-text); }
.gio-numeri .n span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--ls-muted); font-weight: 600; margin-top: 3px; }
.gio-numeri .n.live b { color: var(--ls-live); }
.gio-numeri .n.live b::after { content: '•'; font-size: 12px; vertical-align: top; margin-left: 2px; animation: gd-lampeggia 1s infinite; }
.gio-tabella { width: 100%; border-collapse: collapse; font-size: 13px; }
.gio-tabella td { padding: 5px 0; border-bottom: 1px dashed #f1f5f9; }
.gio-tabella td:first-child { color: var(--ls-muted); }
.gio-tabella td:last-child { text-align: right; font-weight: 700; color: #1a1a1a; }
.gio-carriera { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.gio-carriera li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #f1f5f9; }
.gio-carriera li:last-child { border-bottom: 0; }
.gio-carriera .d { color: var(--ls-muted); font-size: 12px; width: 78px; flex-shrink: 0; }
.gio-carriera img { width: 22px; height: 22px; object-fit: contain; }
.gio-carriera .t { flex: 1; font-weight: 600; color: #1a1a1a; }
.gio-carriera .t small { display: block; font-weight: 500; color: var(--ls-muted); font-size: 11px; }
.gio-carriera .tipo { font-size: 11px; color: var(--ls-muted); font-weight: 600; text-align: right; flex-shrink: 0; }
.gio-trofei { display: flex; flex-wrap: wrap; gap: 6px; }
.gio-trofei span { background: #fff7e6; color: #8a5a00; border: 1px solid #f5dfb0; border-radius: var(--ls-radius-pill); padding: 3px 10px; font-size: 12px; font-weight: 600; }
.gio-nota { font-size: 11px; color: var(--ls-muted); margin: 8px 0 0; }
.gio-link-pagina { display: block; padding: 12px 18px 16px; font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none; text-align: center; }

.gio-corpo { min-width: 0; }
.gio-briciole { font-size: 12px; color: var(--ls-muted-2); margin-bottom: 14px; }
.gio-briciole a { color: var(--primary); text-decoration: none; font-weight: 600; }
.gio-due { display: grid; grid-template-columns: 1fr 276px; gap: 16px; align-items: start; }
.gio-centro { min-width: 0; }
@media (max-width: 1250px) { .gio-due { grid-template-columns: 1fr; } }
.gio-pagina { background: #fff; border-radius: var(--ls-radius); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06); overflow: hidden; margin-bottom: 20px; }
.gio-pagina .gio-testa { border-radius: var(--ls-radius) var(--ls-radius) 0 0; }
@media (max-width: 480px) {
    .gio-numeri { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .gio-numeri .n b { font-size: 19px; }
    .gio-anagrafica { grid-template-columns: 1fr; }
}
.gio-bottone {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--primary);
    border-radius: var(--ls-radius);
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.gio-bottone:disabled { opacity: 0.6; cursor: default; }
.gio-stagioni th { font-size: 10px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--ls-muted); padding: 4px 0; border-bottom: 1px solid var(--ls-border); }
.gio-stagioni td { text-align: center; }

.match-status-col .gd-etichette { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 2px; }
.gd-etichetta { font-size: 8px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; padding: 1px 4px; border-radius: var(--ls-radius-pill); border-left: 2px solid currentColor; line-height: 12px; white-space: nowrap; }
.gd-etichetta-derby { background: var(--ls-primary-soft); color: var(--ls-primary-dark); }
.gd-etichetta-big { background: #f1f5f9; color: var(--ls-text-2); }

.match-link { position: relative; }
.gd-pron {
    position: absolute; right: 56px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    width: 34px; box-sizing: border-box; padding: 0;
    font-family: var(--ls-font-num); font-size: 9px; line-height: 1;
    pointer-events: none;
}
.gd-pron b {
    display: block; width: 100%; text-align: center; padding: 3px 0; border-radius: var(--ls-radius-sm);
    font-weight: 600; color: var(--primary); background: rgba(var(--ls-primary-rgb), 0.12);
}
.gd-pron b:last-child { color: var(--live); background: rgba(var(--ls-live-rgb), 0.12); }

.gd-pron b::after { content: "%"; font-size: 7px; opacity: .75; margin-left: 1px; }
.gd-pron i { display: none; }
.match-row.is-live .gd-pron { display: none; }
.match-row:has(.gd-pron):not(.is-live) .match-ticket-col { right: 138px; }
@media (max-width: 768px) {
    .match-row:has(.gd-pron):not(.is-live) .match-ticket-col { right: 128px; }
}
@media (max-width: 640px) {

    .gd-pron { right: 40px; width: 30px; }
    .match-row:has(.gd-pron) .team-name { max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .match-row:has(.gd-pron):not(.is-live) .match-ticket-col { right: 106px; }
    .match-row:has(.gd-pron):has(.vivaticket-btn) .team-name { max-width: 88px; }
}
