/* Livescore 17.86 — regole necessarie migrate da site-legacy.css;
   mantenere le regole per ambito e unificarle gradualmente con le classi comuni. */
/**
        * Template Name: NiceAdmin - v2.2.2
        * Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
        * Author: BootstrapMade.com
        * License: https://bootstrapmade.com/license/
*/


/*--------------------------------------------------------------
        # General
--------------------------------------------------------------*/
:root:where(.live-app-shell){
    scroll-behavior: smooth;
    --bs-primary: #094fa3;
    --bs-primary-rgb: 9,79,163;
    --bs-orange: #e26603;
}

:where(html.live-app-shell) body{
    font-family: "Nunito", sans-serif;
    background: #f6f9ff;
    color: #444444;
}

:where(html.live-app-shell) a{
    /*color: #094fa3;*/
    color: #00387c;
    text-decoration: none;
}

:where(html.live-app-shell) a:hover{
    /*color: #717ff5;*/
    color: #003d88;
    text-decoration: underline;
}

:where(html.live-app-shell) h1, :where(html.live-app-shell) h2, :where(html.live-app-shell) h3, :where(html.live-app-shell) h4, :where(html.live-app-shell) h5, :where(html.live-app-shell) h6{
    /*color: #094fa3;*/
    color: #00387c;
}

:where(html.live-app-shell) .solid-border{
    border-bottom: 1px solid #e26603 !important;
    padding-bottom: 5px !important;
}


/*--------------------------------------------------------------
        # Main
--------------------------------------------------------------*/
:where(html.live-app-shell) #main{
    margin-top: 60px;
    padding: 0px 0px 0px 0px;
    transition: all 0.3s;
}
/* @media (max-width: 1199px) { */
/* #main { */
/* padding: 20px; */
/* } */
/* } */

:where(html.live-app-shell) section{
    width: 100% !important;
}

:where(html.live-app-shell) section .row{
    margin-left: 0px !important;
    margin-right: 0px !important;
}


/*--------------------------------------------------------------
        # Page Title
--------------------------------------------------------------*/
:where(html.live-app-shell) .pagetitle{
    margin: 0.5rem;
    padding: 0.5rem;
}
:where(html.live-app-shell) .pagetitle h1{
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
}


/*--------------------------------------------------------------
        # Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
:where(html.live-app-shell) .dropdown-menu{
    border-radius: 4px;
    padding: 10px 0;
    -webkit-animation-name: dropdown-animate;
    animation-name: dropdown-animate;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}
:where(html.live-app-shell) .dropdown-menu .dropdown-header, :where(html.live-app-shell) .dropdown-menu .dropdown-footer{
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}
:where(html.live-app-shell) .dropdown-menu .dropdown-footer a{
    color: #444444;
    text-decoration: underline;
}
:where(html.live-app-shell) .dropdown-menu .dropdown-footer a:hover{
    text-decoration: none;
}
:where(html.live-app-shell) .dropdown-menu .dropdown-divider{
    color: #a5c5fe;
    margin: 0;
}
:where(html.live-app-shell) .dropdown-menu .dropdown-item{
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}
:where(html.live-app-shell) .dropdown-menu .dropdown-item i{
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}
:where(html.live-app-shell) .dropdown-menu .dropdown-item:hover{
    background-color: #f6f9ff;
}

@media (min-width: 768px) {
    :where(html.live-app-shell) .dropdown-menu-arrow::before{
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}
@-webkit-keyframes dropdown-animate {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
    0% {
        opacity: 0;
    }
}
@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
    0% {
        opacity: 0;
    }
}
/* Light Backgrounds */
:where(html.live-app-shell) .bg-primary-light{
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

:where(html.live-app-shell) .bg-secondary-light{
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

:where(html.live-app-shell) .bg-success-light{
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

:where(html.live-app-shell) .bg-danger-light{
    background-color: #f8d7da;
    border-color: #f8d7da;
}

:where(html.live-app-shell) .bg-warning-light{
    background-color: #fff3cd;
    border-color: #fff3cd;
}

:where(html.live-app-shell) .bg-info-light{
    background-color: #cff4fc;
    border-color: #cff4fc;
}

:where(html.live-app-shell) .bg-dark-light{
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}


/*--------------------------------------------------------------
        # Button cards
        
        #f6f9ff -> Bianco sporco
        #e26603 -> Arancione
        #094fa3 -> Blu
--------------------------------------------------------------*/

:where(html.live-app-shell) .card{
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    /* box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1); */
}

:where(html.live-app-shell) .card-header{
    border: none;
    color: #ffffff;
    background: #094fa3;
    background: -webkit-linear-gradient(60deg, #094fa3 70%, transparent 20%);
    background: linear-gradient(60deg, #094fa3 70%, transparent 20%);
}

:where(html.live-app-shell) .card-body{
    padding: 0 20px 20px 20px;
    background-color: #ffffff;
    border-radius: 5px;
}

:where(html.live-app-shell) .card-footer{
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

:where(html.live-app-shell) .card-title{
    padding: 20px 0 15px 0;
    /* font-size: 18px; */
    font-weight: 500;
    /* color: #012970; */
    color: #e26603;
    font-family: "Dosis", sans-serif;
}
:where(html.live-app-shell) .card-title span{
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

:where(html.live-app-shell) .card-img-overlay{
    background-color: rgba(255, 255, 255, 0.6);
}


/*--------------------------------------------------------------
        # Button cards 
--------------------------------------------------------------*/
:where(html.live-app-shell) .btn-card{
    min-width: 18rem;
    max-height: 20rem;
    background: transparent;
}

:where(html.live-app-shell) .btn-card:hover, :where(html.live-app-shell) .btn-card:hover span{
    color: #e26603;
    text-decoration: none;
}

:where(html.live-app-shell) .btn-card:hover .card-header, :where(html.live-app-shell) .card-header.active, :where(html.live-app-shell) button.btn-card[aria-expanded="true"] .card-header{
    background: #e26603;
    background: -webkit-linear-gradient(60deg, #e26603 70%, transparent 20%);
    background: linear-gradient(60deg, #e26603 70%, transparent 20%);
}

:where(html.live-app-shell) .btn-card .card-body{
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

:where(html.live-app-shell) .btn-card .btn-card-img{
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: all 1s ease;
}

:where(html.live-app-shell) .btn-card:hover .btn-card-img, :where(html.live-app-shell) button.btn-card[aria-expanded="true"] .btn-card-img{
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    filter: grayscale(0%);
    transition: all 1s ease;
    transform: scale(1.2);
}

/* Alerts */
:where(html.live-app-shell) .alert-heading{
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
:where(html.live-app-shell) .btn-close{
    background-size: 25%;
}
:where(html.live-app-shell) .btn-close:focus{
    outline: 0;
    box-shadow: none;
}

/* Accordion */
:where(html.live-app-shell) .accordion-item{
    border: 1px solid #ebeef4;
}

:where(html.live-app-shell) .accordion-button:focus{
    outline: 0;
    box-shadow: none;
}
:where(html.live-app-shell) .accordion-button:not(.collapsed){
    color: #012970;
    /*background-color: #f6f9ff;*/
}

:where(html.live-app-shell) .accordion-flush .accordion-button{
    padding: 15px 0;
    background: none;
    border: 0;
}
:where(html.live-app-shell) .accordion-flush .accordion-button:not(.collapsed){
    box-shadow: none;
    color: #4154f1;
}
:where(html.live-app-shell) .accordion-flush .accordion-body{
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
:where(html.live-app-shell) .breadcrumb{
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
}
:where(html.live-app-shell) .breadcrumb a{
    color: #899bbd;
    transition: 0.3s;
}
:where(html.live-app-shell) .breadcrumb a:hover{
    color: #51678f;
}
:where(html.live-app-shell) .breadcrumb .breadcrumb-item::before{
    color: #899bbd;
}
:where(html.live-app-shell) .breadcrumb .active{
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */
:where(html.live-app-shell) .nav-tabs-bordered{
    border-bottom: 2px solid #ebeef4;
}
:where(html.live-app-shell) .nav-tabs-bordered .nav-link{
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}
:where(html.live-app-shell) .nav-tabs-bordered .nav-link:hover, :where(html.live-app-shell) .nav-tabs-bordered .nav-link:focus{
    color: #4154f1;
}
:where(html.live-app-shell) .nav-tabs-bordered .nav-link.active{
    background-color: #fff;
    color: #4154f1;
    border-bottom: 2px solid #4154f1;
}


/*--------------------------------------------------------------
        # Header
--------------------------------------------------------------*/
/* .logo { */
/* line-height: 1; */
/* } */
@media (min-width: 1200px) {
    :where(html.live-app-shell) .logo{
        width: 280px;
    }
}
:where(html.live-app-shell) .logo img{
    max-height: 26px;
    max-height: 50px;
    margin-right: 6px;
}
:where(html.live-app-shell) .logo span{
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: "Nunito", sans-serif;
}

:where(html.live-app-shell) .header{
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.70);
    background-color: #fff;
    background: #e26603;
    background: -webkit-linear-gradient(120deg, #094fa3 20%, #f6f9ff 40%, #f6f9ff 60%, #e26603 80%);
    background: linear-gradient(120deg, #094fa3 20%, #f6f9ff 40%, #f6f9ff 60%, #e26603 80%);

}
:where(html.live-app-shell) .header .toggle-sidebar-btn{
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: #f6f9ff;
}
:where(html.live-app-shell) .header .search-bar{
    min-width: 360px;
    padding: 0 20px;
}
@media (max-width: 1199px) {
    :where(html.live-app-shell) .header .search-bar{
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }
    :where(html.live-app-shell) .header .search-bar-show{
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}
:where(html.live-app-shell) .header .search-form{
    width: 100%;
}
:where(html.live-app-shell) .header .search-form input{
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}
:where(html.live-app-shell) .header .search-form input:focus, :where(html.live-app-shell) .header .search-form input:hover{
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}
:where(html.live-app-shell) .header .search-form button{
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}
:where(html.live-app-shell) .header .search-form button i{
    color: #012970;
}


/*--------------------------------------------------------------
        # Header Nav
--------------------------------------------------------------*/
:where(html.live-app-shell) .header-nav ul{
    list-style: none;
}
:where(html.live-app-shell) .header-nav > ul{
    margin: 0;
    padding: 0;
}
:where(html.live-app-shell) .header-nav .nav-icon{
    font-size: 1.3rem;
    color: #012970;
}
:where(html.live-app-shell) .header-nav .nav-profile{
    color: #012970;
}
:where(html.live-app-shell) .header-nav .nav-profile img{
	max-height: 2.5rem;
    object-fit: contain;
}
:where(html.live-app-shell) .header-nav .nav-profile span{
    font-size: 14px;
    font-weight: 600;
}
:where(html.live-app-shell) .header-nav .badge-number{
    position: absolute;
    inset: 4px auto auto;
    font-weight: normal;
    font-size: 11px;
    padding: 3px 6px;
	transform: translate(-50%, -50%) !important;
}
:where(html.live-app-shell) .header-nav .notifications .notification-item{
    /*display: flex !important;*/
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}
:where(html.live-app-shell) .header-nav .notifications .notification-item, :where(html.live-app-shell) .notification-item a{

}

:where(html.live-app-shell) .notification-item a{
    text-decoration: none;
}

:where(html.live-app-shell) .header-nav .notifications .notification-item i{
    margin: 0 20px 0 10px;
    font-size: 24px;
}
:where(html.live-app-shell) .header-nav .notifications .notification-item h4{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}
:where(html.live-app-shell) .header-nav .notifications .notification-item p{
    font-size: 13px;
    margin-bottom: 0;
    color: #919191;
}
:where(html.live-app-shell) .header-nav .notifications .notification-item:hover{
    background-color: #f6f9ff;
}
:where(html.live-app-shell) .header-nav .messages .message-item{
    padding: 15px 10px;
    transition: 0.3s;
}
:where(html.live-app-shell) .header-nav .messages .message-item a{
    display: flex;
}
:where(html.live-app-shell) .header-nav .messages .message-item img{
    margin: 0 20px 0 10px;
    max-height: 40px;
}
:where(html.live-app-shell) .header-nav .messages .message-item h4{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}
:where(html.live-app-shell) .header-nav .messages .message-item p{
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}
:where(html.live-app-shell) .header-nav .messages .message-item:hover{
    background-color: #f6f9ff;
}
:where(html.live-app-shell) .header-nav .profile{
    min-width: 240px;
    padding-bottom: 0;
}
:where(html.live-app-shell) .header-nav .profile .dropdown-header h6{
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}
:where(html.live-app-shell) .header-nav .profile .dropdown-header span{
    font-size: 14px;
}
:where(html.live-app-shell) .header-nav .profile .dropdown-item{
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}
:where(html.live-app-shell) .header-nav .profile .dropdown-item i{
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}
:where(html.live-app-shell) .header-nav .profile .dropdown-item:hover{
    background-color: #f6f9ff;
}


/*--------------------------------------------------------------
        # Sidebar
        Colors:
        #f6f9ff -> Bianco sporco
        #e26603 -> Arancione
        #094fa3 -> Blu
        
--------------------------------------------------------------*/
:where(html.live-app-shell) .sidebar{
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.70);
    background-color: #094fa3;
}
@media (max-width: 1199px) {
    :where(html.live-app-shell) .sidebar{
        left: -300px;
    }
}
:where(html.live-app-shell) .sidebar::-webkit-scrollbar{
    width: 5px;
    height: 8px;
    background-color: #fff;
}
:where(html.live-app-shell) .sidebar::-webkit-scrollbar-thumb{
    background-color: #aab7cf;
}

@media (min-width: 1200px) {
    :where(html.live-app-shell) #main, :where(html.live-app-shell) #footer{
        /*margin-left: 300px;*/
        margin: 60px 0 0 300px;
    }
}
@media (max-width: 1199px) {
    :where(html.live-app-shell) .toggle-sidebar .sidebar{
        left: 0;
    }
}
@media (min-width: 1200px) {
    :where(html.live-app-shell) .toggle-sidebar #main, :where(html.live-app-shell) .toggle-sidebar #footer{
        margin-left: 0;
    }
    :where(html.live-app-shell) .toggle-sidebar .sidebar{
        left: -300px;
    }
}

:where(html.live-app-shell) .sidebar-nav{
    padding: 0;
    margin: 0;
    list-style: none;
}
:where(html.live-app-shell) .sidebar-nav li{
    /* padding: 0; */
    /* margin: 0; */
    list-style: none;
}
:where(html.live-app-shell) .sidebar-nav .nav-item{
    /* margin-bottom: 5px; */
	padding: 0;
}

:where(html.live-app-shell) .sidebar .nav-item a{
	padding: .6rem;
}

:where(html.live-app-shell) .sidebar-nav .nav-heading{
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 10px 0 5px 15px;
}

:where(html.live-app-shell) .sidebar-nav .nav-link, :where(html.live-app-shell) .sidebar-nav .nav-link.root.active{
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #f6f9ff;
    transition: 0.3;
    background: #e26603;
    background: -webkit-linear-gradient(120deg, #e26603 80%, transparent 0%);
    background: linear-gradient(120deg, #e26603 80%, transparent 0%);
}

:where(html.live-app-shell) .sidebar-nav .nav-link div, :where(html.live-app-shell) .sidebar-nav .nav-link.collapsed div{
    width: 100% !important;
}

:where(html.live-app-shell) .sidebar-nav .nav-link i, :where(html.live-app-shell) .sidebar-nav .nav-link svg, :where(html.live-app-shell) .sidebar-nav .nav-content svg{
    font-size: 16px;
    margin-right: 10px;
}

:where(html.live-app-shell) .sidebar-nav .nav-link.collapsed:not(.active), :where(html.live-app-shell) .sidebar-nav .nav-link.root:not(.active){
    color: #f6f9ff;
    background: #094fa3;
}

:where(html.live-app-shell) .sidebar-nav .nav-link.collapsed i{
    color: #f6f9ff;
}
:where(html.live-app-shell) .sidebar-nav .nav-link:hover, :where(html.live-app-shell) .sidebar-nav .nav-link.root:hover, :where(html.live-app-shell) .sidebar-nav .nav-link.collapsed:hover{
    color: #e26603;
    background: #f6f9ff;
    background: -webkit-linear-gradient(120deg, #f6f9ff 80%, transparent 0%);
    background: linear-gradient(120deg, #f6f9ff 80%, transparent 0%);
}
:where(html.live-app-shell) .sidebar-nav .nav-link:hover i, :where(html.live-app-shell) .sidebar-nav .nav-link:hover svg{
    color: #e26603;
    text-decoration: none !important;
}
:where(html.live-app-shell) .sidebar-nav .nav-link .bi-chevron-down{
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}
:where(html.live-app-shell) .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down{
    transform: rotate(180deg);
}
:where(html.live-app-shell) .sidebar-nav .nav-content{
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}
:where(html.live-app-shell) .sidebar-nav .nav-content a{
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #f6f9ff;
    transition: 0.3;
    padding: 10px 20px 10px 10px;
    transition: 0.3s;
}

:where(html.live-app-shell) .sidebar-nav a:hover i, :where(html.live-app-shell) .sidebar-nav .nav-content a:hover i{
    text-decoration: none !important;
}

:where(html.live-app-shell) .sidebar-nav .nav-content a.active{
    color: #e26603;
}

:where(html.live-app-shell) .sidebar-nav .nav-content a.active i{
    background-color: #e26603;
}

:where(html.live-app-shell) .sidebar-nav .nav-content a i{
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

:where(html.live-app-shell) .sidebar-nav .nav-content a.nav-link:not(.collapsed){
    color: #f6f9ff;
}

:where(html.live-app-shell) .sidebar-nav .nav-content a.nav-link:hover, :where(html.live-app-shell) .sidebar-nav .nav-content a:hover{
    color: #e26603;
    background: #f6f9ff;
    background: -webkit-linear-gradient(120deg, #f6f9ff 80%, transparent 0%);
    background: linear-gradient(120deg, #f6f9ff 80%, transparent 0%);
}


/*--------------------------------------------------------------
        # Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
:where(html.live-app-shell) .dashboard .filter{
    position: absolute;
    right: 0px;
    top: 15px;
}
:where(html.live-app-shell) .dashboard .filter .icon{
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}
:where(html.live-app-shell) .dashboard .filter .icon:hover, :where(html.live-app-shell) .dashboard .filter .icon:focus{
    color: #4154f1;
}
:where(html.live-app-shell) .dashboard .filter .dropdown-header{
    padding: 8px 15px;
}
:where(html.live-app-shell) .dashboard .filter .dropdown-header h6{
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
}
:where(html.live-app-shell) .dashboard .filter .dropdown-item{
    padding: 8px 15px;
}


/*--------------------------------------------------------------
        # Icons list page
--------------------------------------------------------------*/
:where(html.live-app-shell) .iconslist{
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}
:where(html.live-app-shell) .iconslist .icon{
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
}
:where(html.live-app-shell) .iconslist i{
    margin: 0.25rem;
    font-size: 2.5rem;
}
:where(html.live-app-shell) .iconslist .label{
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}


/*--------------------------------------------------------------
        # Profie Page
--------------------------------------------------------------*/
:where(html.live-app-shell) .profile .profile-card img{
    max-width: 120px;
}
:where(html.live-app-shell) .profile .profile-card h2{
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}
:where(html.live-app-shell) .profile .profile-card h3{
    font-size: 18px;
}
:where(html.live-app-shell) .profile .profile-card .social-links a{
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}
:where(html.live-app-shell) .profile .profile-card .social-links a:hover{
    color: #012970;
}
:where(html.live-app-shell) .profile .profile-overview .row{
    margin-bottom: 20px;
    font-size: 15px;
}
:where(html.live-app-shell) .profile .profile-overview .card-title{
    color: #012970;
}
:where(html.live-app-shell) .profile .profile-overview .label{
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}
:where(html.live-app-shell) .profile .profile-edit label{
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}
:where(html.live-app-shell) .profile .profile-edit img{
    max-width: 120px;
}


/*--------------------------------------------------------------
        # Error 404
--------------------------------------------------------------*/
:where(html.live-app-shell) .error-404{
    padding: 30px;
}
:where(html.live-app-shell) .error-404 h1{
    font-size: 180px;
    font-weight: 700;
    color: #4154f1;
    margin-bottom: 0;
    line-height: 150px;
}
:where(html.live-app-shell) .error-404 h2{
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
}
:where(html.live-app-shell) .error-404 .btn{
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}
:where(html.live-app-shell) .error-404 .btn:hover{
    background: #3e4f6f;
}
@media (min-width: 992px) {
    :where(html.live-app-shell) .error-404 img{
        max-width: 50%;
    }
}


/*--------------------------------------------------------------
        # Footer
--------------------------------------------------------------*/
:where(html.live-app-shell) .footer{
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #cddfff;
    color: #000000;
    background-color: #e26603;
    background: -webkit-linear-gradient(230deg, #fcab69 60%, #e26603 0%);
    background: linear-gradient(230deg, #fcab69 60%, #e26603 0%);
}
:where(html.live-app-shell) .footer .copyright{
    text-align: center;
}
:where(html.live-app-shell) .footer .credits{
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
}

:where(html.live-app-shell) .footer h1, :where(html.live-app-shell) .footer h2, :where(html.live-app-shell) .footer h3, :where(html.live-app-shell) .footer h4, :where(html.live-app-shell) .footer h5, :where(html.live-app-shell) .footer h6{
    color: #000000;
}

:where(html.live-app-shell) .footer a, :where(html.live-app-shell) .footer a:hover{
    color: #012970;
    text-decoration: underline;
}


/*--------------------------------------------------------------
        # Preloader
--------------------------------------------------------------*/
:where(html.live-app-shell) #preloader{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #094fa3;
}

:where(html.live-app-shell) #preloader:before{
    content: "";
    position: fixed;
    top: calc(50% - 0px);
    left: calc(50% - 30px);
    border: 6px solid #e26603;
    border-top-color: #094fa3;
    border-bottom-color: #094fa3;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*--------------------------------------------------------------
        # Heroes background images
--------------------------------------------------------------*/

@-webkit-keyframes firstzoomout {
    0% {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

}

@-webkit-keyframes zoomin {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

}

@-webkit-keyframes zoomout {
    0% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

}

/* #hero-header a:hover { */
/* -webkit-animation: zoomin 2s ease-in-out; */
/* animation: zoomin 2s ease-in-out; */
/* animation-fill-mode: forwards; */
/* -webkit-filter: grayscale(0%); */
/* -moz-filter: grayscale(0%); */
/* filter: grayscale(0%); */
/* transition: all 1s ease; */
/* transform: scale(1.2); */
/* } */


/*--------------------------------------------------------------
        # Team images animation
--------------------------------------------------------------*/
:where(html.live-app-shell) .bt-image .img-team_picture-card{
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    filter: grayscale(0%);
    transition: all 1s ease;
    transform: scale(1);
}

:where(html.live-app-shell) .bt-image .img-team_picture-card:hover{
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: all 1s ease;
    transform: scale(1.2);
}

:where(html.live-app-shell) .bt-image svg{
    display: none;
}

:where(html.live-app-shell) .bt-image:hover svg{
    display: block;
}


/*--------------------------------------------------------------
        # Person card
        
        #f6f9ff -> Bianco sporco
        #e26603 -> Arancione
        #094fa3 -> Blu
--------------------------------------------------------------*/
:where(html.live-app-shell) .person-card{
    width: 14rem;
    min-width: 12rem;
}

:where(html.live-app-shell) .person-card, :where(html.live-app-shell) .person-card .card-body{
    background-color: #ffffff !important;
}

:where(html.live-app-shell) .person-card .card-body{
    margin: 0 auto;
    padding: 0.5rem;
    text-align: center;
}

:where(html.live-app-shell) .person-card .card-title{
    text-align: center;
}

:where(html.live-app-shell) button.person-card:hover, :where(html.live-app-shell) button.person-card:hover .card-body, :where(html.live-app-shell) button.person-card:hover .card-title, :where(html.live-app-shell) button.person-card:hover li{
    color: #f6f9ff !important;
    background-color: #e26603 !important;
}

:where(html.live-app-shell) button.person-card:hover .card-title i{
    color: #000000 !important;
}

:where(html.live-app-shell) button.person-card:hover .card-body, :where(html.live-app-shell) button.person-card:hover .card-title, :where(html.live-app-shell) button.person-card:hover li{
    border-color: #e26603;
}

:where(html.live-app-shell) .img-person-card{
    transition: all 1s ease;
}

:where(html.live-app-shell) .person-card:hover .img-person-card{
    transition: all 1s ease;
    transform: scale(1.2);
}


/*--------------------------------------------------------------
        # Team card
        
        #f6f9ff -> Bianco sporco
        #e26603 -> Arancione
        #094fa3 -> Blu
--------------------------------------------------------------*/
:where(html.live-app-shell) .team-card{
    width: 20rem;
    min-width: 15rem;
}

:where(html.live-app-shell) .team-card, :where(html.live-app-shell) .team-card .card-body{
    background-color: #ffffff !important;
}

:where(html.live-app-shell) button.team-card:hover, :where(html.live-app-shell) button.team-card:hover .card-body{
    background-color: rgba(22, 22, 26, 0.18) !important;
}

:where(html.live-app-shell) button.team-card:hover .card-body .text-muted{
    color: #f6f9ff !important;
}

:where(html.live-app-shell) .img-team-card{
    object-fit: cover;
    width: 100%;
    height: 10rem;
    transition: all 1s ease;
}

:where(html.live-app-shell) .team-card:hover .img-team-card{
    transition: all 1s ease;
    transform: scale(1.2);
}


/*--------------------------------------------------------------
        # Modals
--------------------------------------------------------------*/
:where(html.live-app-shell) .modal{
    z-index: 9999;
}

:where(html.live-app-shell) .modal .modal-header .modal-header-actions{
    padding: 0.5rem 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}


/*--------------------------------------------------------------
        # Carousel Next Matches
--------------------------------------------------------------*/
:where(html.live-app-shell) .carousel-inner{
    height: 100vh;
    max-height: 380px;
}

:where(html.live-app-shell) .carousel-item{
    height: 100%;
}


:where(html.live-app-shell) .carousel-caption{
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 0;
    padding-bottom: 0;
    color: #fff;
    text-align: center;
    height: 100%;
}

:where(html.live-app-shell) .carousel-img_soccer{
    background-image: url("../img/slider-soccer.jpg");
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    /* background-attachment: fixed !important; */
    background-size: cover !important;
    background-position: center !important;
    filter: brightness(0.5);
}

:where(html.live-app-shell) .carousel-img_volley{
    background-image: url("../img/slider-volley.jpg");
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    /* background-attachment: fixed !important; */
    background-size: cover !important;
    background-position: center !important;
    filter: brightness(0.5);
}

:where(html.live-app-shell) .carousel-img_soccer7{
    background-image: url("../img/slider-soccer7.jpg");
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    /* background-attachment: fixed !important; */
    background-size: cover !important;
    background-position: center !important;
    filter: brightness(0.5);
}

:where(html.live-app-shell) .carousel-img_basket{
    background-image: url("../img/slider-basket.jpg");
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    /* background-attachment: fixed !important; */
    background-size: cover !important;
    background-position: center !important;
    filter: brightness(0.5);
}

:where(html.live-app-shell) .carousel-img_soccer5{
    background-image: url("../img/slider-soccer5.jpg");
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    /* background-attachment: fixed !important; */
    background-size: cover !important;
    background-position: center !important;
    filter: brightness(0.5);
}

:where(html.live-app-shell) .carousel-img_soccer5f{
    background-image: url("../img/slider-soccer5f.jpg");
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    /* background-attachment: fixed !important; */
    background-size: cover !important;
    background-position: center !important;
    filter: brightness(0.5);
}


/*--------------------------------------------------------------
        # nav-pills and nav-item
--------------------------------------------------------------*/
:where(html.live-app-shell) .nav-pills .nav-link a, :where(html.live-app-shell) .nav-pills .nav-link{
    /*color: #094fa3;*/
    color: #00387c;
}

:where(html.live-app-shell) .nav-pills .nav-link.active, :where(html.live-app-shell) .nav-pills .show>.nav-link{
    color: #ffffff;
    background-color: #094fa3;
}

:where(html.live-app-shell) .nav-pills .nav-link:hover, :where(html.live-app-shell) .nav-pills .show > .nav-link:hover{
    color: #ffffff;
    background: #e26603;
}

:where(html.live-app-shell) .nav-tabs .nav-link{
    --bs-text-opacity: 1;
    color: rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important;
}

:where(html.live-app-shell) .nav-tabs .nav-link.active{
    color: #495057 !important;
}


/*--------------------------------------------------------------
        # Section title
--------------------------------------------------------------*/
:where(html.live-app-shell) .section-title{
    padding-bottom: 40px;
    margin: 0 1rem;
}

:where(html.live-app-shell) .section-title h2{
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaaaaa;
    font-family: "Poppins", sans-serif;
}

:where(html.live-app-shell) .section-title h2::after{
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: #e26603;
    margin: 4px 10px;
}


/*--------------------------------------------------------------
        # Edit form customization
--------------------------------------------------------------*/
:where(html.live-app-shell) .edit-form .img-container{
    position: relative;
    text-align: center;
    width: auto !important;
    padding: 0;
    align-items: center;
}

:where(html.live-app-shell) .edit-form .img-container img{
    max-height: 18rem;
    width: 100%;
    object-fit: scale-down;
}

:where(html.live-app-shell) .edit-form .btn-remove-image{
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translate(-50%,0%)!important;
    width: 100px;
    height: 30px;
}


/*--------------------------------------------------------------
        # Override Bootstrap form validations
--------------------------------------------------------------*/
/* .form-control.is-valid, .form-select.is-valid, .was-validated .form-control:valid, .was-validated .form-select:valid { */
/* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important; */
/* } */

/* .form-control.is-invalid, .form-select.is-invalid, .was-validated .form-control:invalid, .was-validated .form-select:invalid { */
/* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important; */
/* } */


/*--------------------------------------------------------------
        # Override Select2 menu  validations
--------------------------------------------------------------*/
:where(html.live-app-shell) .select2-container{
    width: 100% !important;
}

:where(html.live-app-shell) .was-validated select.select2:invalid + .select2.select2-container.select2-container--bootstrap-5 span.select2-selection, :where(html.live-app-shell) select.select2.is-invalid + .select2.select2-container.select2-container--bootstrap-5 span.select2-selection{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

:where(html.live-app-shell) .was-validated select.select2:valid + .select2.select2-container.select2-container--bootstrap-5 span.select2-selection, :where(html.live-app-shell) select.select2.is-valid + .select2.select2-container.select2-container--bootstrap-5 span.select2-selection{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

:where(html.live-app-shell) .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear{
    right: 2rem;
}


:where(html.live-app-shell) .googleCalendar-festivity{
    background-color: #8b0000;
    border-color: red;
}


/*--------------------------------------------------------------
        # Override Full Calendar
--------------------------------------------------------------*/
:where(html.live-app-shell) .fc-event, :where(html.live-app-shell) .fc-event *{
    cursor: pointer !important;
}


/*--------------------------------------------------------------
        # Override Tooltip bootstrap default
--------------------------------------------------------------*/
:where(html.live-app-shell) .tooltip{
    z-index: 10000 !important;
}


/*--------------------------------------------------------------
        # Celle e Tooltip designazioni arbitrali
--------------------------------------------------------------*/
:where(html.live-app-shell) table.table-assignments-results tbody tr{
    vertical-align: middle !important;
}

:where(html.live-app-shell) table.table-assignments-results td.ref-cell{
    border: 1px solid #dee2e6
}

:where(html.live-app-shell) table.table-assignments-results td.ref-cell.edit:hover{
    border: 2px solid red;
    cursor: pointer;
}

:where(html.live-app-shell) .tooltip .assignment-tooltip{
    background-color: #ffffff;
    color: #000;
    border: 1px solid #444;
    padding: 0.5rem;
    max-width: 25rem;
    font-size: 0.8rem;
    border-radius: 0.25rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
}

:where(html.live-app-shell) .tooltip .assignment-tooltip-header h6{
    background-color: #00387c;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #ccc;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

:where(html.live-app-shell) .tooltip .assignment-tooltip-header small{
    display: block;
    color: #333;
    text-align: start;
    margin-bottom: 0.25rem;
}

:where(html.live-app-shell) .assignment-tooltip-details{
    display: inline-block;
    gap: 1rem;
    align-items: start;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
}

:where(html.live-app-shell) .assignment-tooltip-details .team-wrapper{
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    align-items: center;
}

:where(html.live-app-shell) .assignment-tooltip-details .team_logo{
    flex-shrink: 0 !important;
    height: 2rem;
    max-width: 2.5rem;
}

:where(html.live-app-shell) .assignment-tooltip-details .team-name{
    flex-grow: 1 !important;
    font-size: 0.85rem;
    color: #222;
}

/* Rimuove sfondo nero solo per questi tooltip */
:where(html.live-app-shell) .tooltip:has(.assignment-tooltip) .tooltip-inner{
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}


/*--------------------------------------------------------------
        # Override Trumbowyg Editor
--------------------------------------------------------------*/
:where(html.live-app-shell) .trumbowyg-editor-box{
    background-color: #fff !important;
}


/*--------------------------------------------------------------
        # Override form-floating
--------------------------------------------------------------*/
:where(html.live-app-shell) .form-floating{
	width: 100%;
}

/* altezza come form-select */
:where(html.live-app-shell) .form-floating .select2-container .select2-selection--single{
    height: calc(3.5rem + 2px);
    padding: 1.625rem 0.75rem 0.375rem;
}

/* testo */
:where(html.live-app-shell) .form-floating .select2-container--default
.select2-selection--single .select2-selection__rendered{
    line-height: 1.25;
}

/* freccia */
:where(html.live-app-shell) .form-floating .select2-container--default
.select2-selection--single .select2-selection__arrow{
    height: 100%;
    top: 0;
}

/* label flottante quando selezionato */
:where(html.live-app-shell) .form-floating
select.select2:not(:placeholder-shown) ~ label, :where(html.live-app-shell) .form-floating
.select2-container--focus ~ label{
    opacity: .65;
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}

:where(html.live-app-shell) .input-suffix{
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.875rem;
    pointer-events: none;
    white-space: nowrap;
}

:where(html.live-app-shell) .form-control:placeholder-shown + .input-suffix{
    opacity: .4;
}

:where(html.live-app-shell) .form-control:not(:placeholder-shown) + .input-suffix{
    opacity: .85;
}

/* Livescore design system esistente */

/* ========================================================================
   Livescore 17.84 - componenti UI condivisi (frontend e backoffice)
   Gli elementi espongono varianti tramite custom properties, non duplicano
   il box model; le classi delle pagine conservano solo struttura e contenuto.
   ======================================================================== */
:root{
  --live-ui-surface:#fff;
  --live-ui-line:#e0e7f3;
  --live-ui-primary:#21409a;
  --live-ui-accent:#f37021;
  --live-ui-muted:#718096;
  --live-ui-card-radius:18px;
  --live-ui-control-radius:10px;
  --live-ui-card-shadow:0 8px 26px rgba(17,41,91,.055);
}
.live-ui-surface,
.live-ui-filter-panel{
  min-width:0;
  background:var(--live-ui-surface-bg,var(--live-ui-surface));
  border:var(--live-ui-surface-line,1px solid var(--live-ui-line));
  border-radius:var(--live-ui-surface-radius,var(--live-ui-card-radius));
  box-shadow:var(--live-ui-surface-shadow,var(--live-ui-card-shadow));
}
.live-ui-action{
  display:inline-flex;align-items:center;gap:7px;
  border:1px solid var(--live-ui-action-line,#cfdaeb);
  border-radius:var(--live-ui-control-radius);
  padding:8px 11px;background:var(--live-ui-surface);
  color:var(--live-ui-primary);font-size:12px;font-weight:800;
  white-space:nowrap;cursor:pointer;
}
.live-ui-copy{
  display:grid;place-items:center;flex:0 0 28px;
  width:28px;height:28px;padding:0;border:1px solid #d8e0ee;
  border-radius:8px;background:var(--live-ui-surface);
  color:var(--live-ui-primary);cursor:pointer;
}
.live-ui-status{
  font-size:10px;font-weight:800;white-space:nowrap;
  padding:6px 9px;border-radius:6px;
}
/* Fine primitive. Le singole viste definiscono solo differenze di layout. */

/* CSI Bologna · Template condiviso front-office · Bootstrap 5.3.x
   Source: design system consolidato. Nessuna dipendenza da release numerate. */
/* === home-live.css / CSS frontend integrato === */
/* LIVE SCORE 2026 · Home page, design isolato dalle altre viste. */
:root{--live-primary:#21409A;--live-accent:#F37021;--live-red:var(--live-accent);--live-red-dark:#D75C12;--live-ink:#132039;--live-muted:#718096;--live-line:#e7ebf1;--live-canvas:#f6f7fa;--live-card:#fff;--live-radius:17px;--live-shadow:0 15px 45px rgba(21,33,56,.055)}
html{scroll-behavior:smooth}body.live-home{background:var(--live-canvas);color:var(--live-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}body.live-home *{box-sizing:border-box}body.live-home a{text-decoration:none}body.live-home button{font:inherit}body.live-home :focus-visible{outline:3px solid rgba(243,112,33,.45);outline-offset:3px}.live-skip-link{position:absolute;z-index:2000;background:white;padding:12px}
.live-topbar{height:32px;background:#173477;color:#d4dbe7;font-size:11px;letter-spacing:.01em}.live-topbar .container-xxl{height:100%}.live-topbar i{margin-right:5px}.live-topbar a{color:#f4f5f7}.live-topbar a:hover{color:#fff}.live-header{background:#fff;border-bottom:1px solid var(--live-line);position:relative;z-index:100;box-shadow:0 4px 16px rgba(18,32,55,.025)}.live-header__inner{min-height:83px;display:flex;align-items:center;justify-content:space-between;gap:20px}.live-header__brand{display:flex;align-items:center;flex-shrink:0;gap:12px;color:var(--live-ink)}.live-header__brand img{object-fit:contain;width:112px;height:52px}.live-header__brand-divider{width:1px;height:35px;background:#d9dfe8}.live-header__brand-name{font-weight:800;font-size:18px;letter-spacing:-.09em;line-height:.95}.live-header__brand-name>span{color:var(--live-red)}.live-header__brand-name small{font-size:9px;display:block;margin-top:7px;letter-spacing:.26em;color:#748197}.live-header__nav{align-items:center;gap:7px}.live-header__nav a{color:#506078;font-size:13px;font-weight:700;padding:12px 14px;border-radius:9px;transition:.18s ease}.live-header__nav a:hover{background:#f4f6f8;color:var(--live-ink)}.live-header__nav a.is-current{color:var(--live-red);background:#fff5ed}.live-header__actions{display:flex;align-items:center;gap:13px}.live-search{width:min(245px,19vw);height:39px;border:1px solid #e4e9ef;border-radius:10px;background:#f7f8fa;align-items:center;overflow:hidden}.live-search input{min-width:0;width:100%;border:0;outline:0!important;background:transparent;padding:9px 0 9px 14px;font-size:12px;color:var(--live-ink)}.live-search input::placeholder{color:#97a2b0}.live-search button{padding:8px 13px;border:0;background:transparent;color:#5d6b7c}.live-icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #e4e9ef;color:var(--live-ink);background:#fff;border-radius:11px;font-size:19px}.live-icon-button:hover{background:#f7f8fa}.live-login{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:10px;padding:10px 15px;background:var(--live-ink);color:#fff;font-size:12px;font-weight:700;white-space:nowrap}.live-login:hover{background:var(--live-red)}.live-login i{font-size:16px}.live-profile{display:flex;align-items:center;gap:6px;padding:4px 6px;border:1px solid var(--live-line);border-radius:100px;background:#fff;color:var(--live-ink)}.live-profile img{border-radius:50%;object-fit:cover}.live-profile i{font-size:11px}.live-profile-menu{padding:9px;min-width:230px;border-radius:13px;border-color:var(--live-line);box-shadow:var(--live-shadow)}.live-profile-menu__intro{display:flex;flex-direction:column;padding:12px}.live-profile-menu__intro strong{font-size:13px}.live-profile-menu__intro span{color:var(--live-muted);font-size:11px;margin-top:3px}.live-profile-menu .dropdown-item{font-size:12px;font-weight:600;border-radius:8px;padding:10px 12px;display:flex;align-items:center;gap:9px}.live-profile-menu .dropdown-item i{font-size:16px}.live-mobile-search{border-top:1px solid var(--live-line);padding:12px 0}.live-mobile-search form{gap:8px}.live-offcanvas{max-width:340px}.live-offcanvas__links{display:flex;flex-direction:column;gap:7px}.live-offcanvas__links a{color:var(--live-ink);font-weight:700;padding:15px;border-radius:10px;background:#f5f7fa}.live-offcanvas__links a i{margin-right:10px;color:var(--live-red)}
.live-hero{background:radial-gradient(circle at 70% 20%,#2e51a6 0%,transparent 42%),linear-gradient(125deg,#142d75 8%,#21409A 75%,#18347b);color:#fff;overflow:hidden}.live-hero__content{min-height:300px;display:grid;grid-template-columns:1fr 330px;align-items:center;gap:30px;padding:52px 4px 49px}.live-hero__eyebrow{font-size:10px;font-weight:800;letter-spacing:.23em;color:#c3cbd8;margin:0 0 17px;display:flex;align-items:center;gap:10px}.live-hero__pulse{background:var(--live-red);width:8px;height:8px;border-radius:100%;box-shadow:0 0 0 5px rgba(243,112,33,.13)}.live-hero h1{margin:0;font-size:clamp(36px,4.1vw,58px);letter-spacing:-.065em;line-height:1.07;font-weight:800}.live-hero h1 span{color:#ffaa65}.live-hero__content p:not(.live-hero__eyebrow){font-size:13px;line-height:1.8;max-width:580px;color:#b9c7d8;margin:19px 0 23px}.live-hero__cta{display:inline-flex;gap:13px;align-items:center;padding:11px 17px;background:var(--live-red);color:white;border-radius:9px;font-weight:800;font-size:12px;transition:background .2s,transform .2s}.live-hero__cta:hover{background:#e5661a;color:#fff;transform:translateY(-2px)}.live-hero__illustration{min-height:245px;position:relative;display:flex;align-items:center;justify-content:center}.live-hero__orb{position:relative;z-index:2;width:169px;height:169px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:linear-gradient(145deg,#263d60,#152844);box-shadow:0 0 0 1px rgba(255,255,255,.15),0 0 0 25px rgba(255,255,255,.025),0 0 0 50px rgba(255,255,255,.018)}.live-hero__orb i{font-size:69px;color:#ff5a69;filter:drop-shadow(0 10px 20px rgba(224,36,55,.15))}.live-hero__line{position:absolute;width:270px;height:270px;border:1px dashed rgba(255,255,255,.15);border-radius:50%;transform:rotate(-15deg) scaleX(1.25)}.live-hero__line--two{width:315px;height:175px;transform:rotate(25deg);opacity:.7}.live-hero__tiny{position:absolute;bottom:-5px;font-size:9px;letter-spacing:.3em;color:#7789a4}
.live-sports{padding-top:44px;padding-bottom:43px}.live-section-title{display:flex;justify-content:space-between;gap:22px;align-items:end;margin-bottom:21px}.live-overline{font-size:10px!important;font-weight:800;letter-spacing:.19em;color:var(--live-red)!important;margin:0 0 8px!important}.live-section-title h2{font-size:24px;font-weight:800;letter-spacing:-.045em;margin:0}.live-section-description{font-size:12px;color:var(--live-muted)}.live-sports__scroll{display:flex;align-items:stretch;gap:11px;overflow-x:auto;padding:2px 2px 13px;scrollbar-width:thin;scrollbar-color:#cad2dc transparent}.live-sport-pill{flex:0 0 auto;display:flex;align-items:center;gap:10px;border:1px solid var(--live-line);border-radius:12px;padding:14px 18px;background:#fff;box-shadow:0 4px 15px rgba(23,39,65,.025);font-size:12px;font-weight:700;color:#536278;transition:.17s}.live-sport-pill i{font-size:19px;color:#697991}.live-sport-pill:hover{border-color:#f7c29e;color:var(--live-red);transform:translateY(-1px)}.live-sport-pill.is-selected{background:var(--live-red);border-color:var(--live-red);color:#fff;box-shadow:0 7px 16px rgba(243,112,33,.17)}.live-sport-pill.is-selected i{color:#fff}
.live-calendar{padding-bottom:80px;scroll-margin-top:20px}.live-section-title--calendar{align-items:end;margin-bottom:22px}.live-calendar__subtitle{margin:8px 0 0;color:var(--live-muted);font-size:12px}.live-date-form{display:flex;align-items:center;gap:8px}.live-date-form .form-control{width:auto;min-height:40px;border-color:var(--live-line);font-size:13px;font-weight:600;background:#fff;color:var(--live-ink)}.live-date-form button{font-weight:700;font-size:12px;padding:10px 17px;border-radius:10px;display:flex;align-items:center;gap:8px}.live-week{display:flex;align-items:stretch;gap:10px;background:white;border:1px solid var(--live-line);box-shadow:var(--live-shadow);padding:10px;border-radius:var(--live-radius);margin-bottom:24px}.live-week__arrow{color:#6e7c8d;width:46px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#f6f8fa}.live-week__arrow:hover{background:#edf1f6;color:var(--live-ink)}.live-week__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;flex:1;min-width:0}.live-week__day{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:67px;color:#627188;border-radius:10px;gap:4px}.live-week__day:hover{background:#f4f6f9;color:var(--live-red)}.live-week__day small{font-weight:700;font-size:11px}.live-week__day strong{font-weight:800;font-size:21px;line-height:1.1}.live-week__day.is-selected{background:var(--live-red);color:#fff;box-shadow:0 5px 14px rgba(243,112,33,.17)}
.live-calendar__layout{display:grid;grid-template-columns:minmax(0,1.76fr) minmax(320px,1fr);gap:23px;align-items:start}.live-calendar__primary{min-width:0}.live-panel-heading{display:flex;align-items:center;justify-content:space-between;margin:4px 0 17px}.live-panel-heading>div{display:flex;align-items:center;gap:10px}.live-panel-heading h3{margin:0;font-size:18px;font-weight:800;letter-spacing:-.04em}.live-count{background:#e9edf3;border-radius:6px;color:#596980;padding:5px 8px;font-size:11px;font-weight:700}.live-today-link{color:var(--live-red);font-weight:800;font-size:12px}.live-today-link:hover{color:var(--live-red-dark)}.live-status-tabs{display:flex;gap:8px;padding:5px;background:#eef0f5;border-radius:11px;margin-bottom:14px;overflow-x:auto}.live-status-tabs a{font-size:12px;font-weight:700;border-radius:8px;padding:9px 15px;color:#718095;white-space:nowrap;text-align:center;flex:1}.live-status-tabs a:hover{color:var(--live-ink)}.live-status-tabs a.is-active{background:#fff;box-shadow:0 2px 8px rgba(21,34,60,.07);color:var(--live-ink)}.live-match-list{display:grid;gap:12px}
.live-game-card{--live-ui-surface-bg:var(--live-card);--live-ui-surface-line:1px solid var(--live-line);--live-ui-surface-radius:14px;--live-ui-surface-shadow:0 5px 20px rgba(27,39,60,.028);transition:box-shadow .18s,border-color .18s,transform .18s;overflow:hidden}.live-game-card:hover{border-color:#e4b4bb;box-shadow:0 10px 27px rgba(27,39,60,.065);transform:translateY(-1px)}.live-game-card__link{display:block;color:var(--live-ink)}.live-game-card__link:hover{color:var(--live-ink)}.live-game-card__top{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:45px;padding:10px 17px;border-bottom:1px solid #f0f2f6}.live-game-card__league{display:inline-flex;align-items:center;gap:7px;min-width:0;font-size:11px;font-weight:800;color:#516079;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-game-card__league .bi{color:var(--live-red)}.live-game-card__muted{font-weight:500;color:#8a95a6;overflow:hidden;text-overflow:ellipsis}/* .live-ui-status now provides the common status badge shape. */.live-game-card__status.is-upcoming{background:#eff4ff;color:#21409A}.live-game-card__status.is-final{background:#e6f5eb;color:#2d8551}.live-game-card__status.is-provisional{background:#fff2e9;color:#bd5717}.live-game-card__body{display:grid;grid-template-columns:57px minmax(0,1fr) 32px 13px;gap:14px;align-items:center;padding:15px 17px}.live-game-card__time{border-right:1px solid var(--live-line);padding-right:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.live-game-card__time span{font-size:15px;font-weight:800;letter-spacing:-.045em}.live-game-card__time small{font-size:10px;color:#8793a4;font-weight:600}.live-game-card__teams{display:grid;gap:10px;min-width:0}.live-game-card__team{display:flex;align-items:center;gap:11px;min-width:0}.live-game-card__team img{object-fit:contain;width:30px;height:30px;flex-shrink:0}.live-game-card__team span{font-weight:750;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.live-game-card__score{display:grid;grid-template-rows:repeat(2,30px);gap:10px;text-align:center;align-items:center}.live-game-card__score strong{font-weight:800;font-size:18px;background:#f2f4f7;border-radius:6px;min-width:31px}.live-game-card__score--empty span{color:#a5aebe;font-weight:800;font-size:15px}.live-game-card__chevron{color:#aeb8c8;font-size:12px}.live-game-card__bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px 20px;border-top:1px solid #f0f2f6;padding:10px 17px;color:#8b97a7;font-size:10px;font-weight:600}.live-game-card__bottom i{margin-right:7px;color:#a0aabb}.live-game-card__bottom span{min-width:0;overflow-wrap:anywhere}
.live-empty{text-align:center;padding:64px 30px;background:#fff;border:1px solid var(--live-line);border-radius:14px}.live-empty>i{display:block;font-size:43px;color:#adb7c8;margin-bottom:18px}.live-empty h3{font-size:17px;font-weight:800}.live-empty p{margin:10px auto 18px;max-width:400px;color:var(--live-muted);font-size:12px;line-height:1.7}.live-empty a{font-size:12px;color:var(--live-red);font-weight:800}.live-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:17px}.live-pagination>span{font-size:12px;color:var(--live-muted)}.live-pagination>div{display:flex;gap:8px}.live-pagination .btn{font-size:11px;padding:9px 12px;border-radius:9px;font-weight:700}
.live-game-card--compact{box-shadow:none;border-radius:11px}.live-game-card--compact .live-game-card__top{padding:9px 11px;min-height:39px;gap:7px}.live-game-card--compact .live-game-card__league{font-size:10px}.live-game-card--compact .live-game-card__status{font-size:9px;padding:5px 6px}.live-game-card--compact .live-game-card__muted{display:none}.live-game-card--compact .live-game-card__body{grid-template-columns:43px minmax(0,1fr) 29px;gap:9px;padding:12px 11px}.live-game-card--compact .live-game-card__time{padding-right:9px}.live-game-card--compact .live-game-card__time span{font-size:12px}.live-game-card--compact .live-game-card__time small{font-size:9px}.live-game-card--compact .live-game-card__teams{gap:6px}.live-game-card--compact .live-game-card__team{gap:7px}.live-game-card--compact .live-game-card__team img{width:22px;height:22px}.live-game-card--compact .live-game-card__team span{font-size:10px}.live-game-card--compact .live-game-card__score{grid-template-rows:repeat(2,23px);gap:5px}.live-game-card--compact .live-game-card__score strong{font-size:14px;min-width:24px}.live-game-card--compact .live-game-card__chevron{display:none}.live-discover{background:linear-gradient(125deg,#21409A,#142c6c);border-radius:var(--live-radius);color:#fff;padding:27px 26px;margin-top:17px;box-shadow:var(--live-shadow)}.live-discover>i{font-size:27px;color:#ffb078}.live-discover h3{font-size:17px;margin:15px 0 9px;font-weight:800}.live-discover p{font-size:12px;color:#c1ccdc;line-height:1.75}.live-discover a{display:inline-flex;align-items:center;gap:11px;color:#fff;font-size:12px;font-weight:800;margin-top:5px}.live-discover a:hover{color:#ffc08f}
.live-footer{background:#173477;color:#c7d1df;padding:48px 0 18px}.live-footer__grid{display:grid;grid-template-columns:1.5fr .7fr .7fr 1.2fr;gap:44px}.live-footer__brand{font-size:23px;font-weight:800;letter-spacing:-.09em;color:#fff}.live-footer__brand span{color:#ffaf73}.live-footer__about p{max-width:290px;margin-top:16px}.live-footer h2{font-size:12px;font-weight:800;color:white;margin:5px 0 17px}.live-footer__grid>div{display:flex;align-items:flex-start;flex-direction:column}.live-footer p{font-size:11px;line-height:1.9;color:#9baec4}.live-footer a,.live-footer button{color:#aebed2;font-size:11px;padding:0;border:0;background:transparent;line-height:2.4;text-align:left}.live-footer a:hover,.live-footer button:hover{color:#fff}.live-footer__bottom{border-top:1px solid rgba(255,255,255,.09);margin-top:32px;padding-top:17px;display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;font-size:10px;color:#8da0b9}.live-footer__bottom a{font-size:inherit}
/* Preserve Bootstrap modal appearance: only this page uses these styles. */.live-home .modal{font-family:Inter,system-ui,sans-serif}.live-home .modal-content{border:0;border-radius:16px;box-shadow:0 20px 55px rgba(15,26,46,.22)}.live-home .modal-header,.live-home .modal-footer{padding:17px 23px}.live-home .modal-title{font-size:17px;font-weight:800}.live-home .modal-body{padding:19px 23px}.live-home .modal .btn-primary{background:var(--live-red);border-color:var(--live-red)}
@media (max-width:1199.98px){.live-header__nav{gap:1px}.live-header__nav a{padding:10px;font-size:12px}.live-calendar__layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:16px}}
@media (max-width:991.98px){.live-hero__content{grid-template-columns:1fr 180px;min-height:285px}.live-hero__orb{width:125px;height:125px}.live-hero__orb i{font-size:53px}.live-hero__line{width:180px;height:180px}.live-hero__line--two{width:205px;height:120px}.live-hero__tiny{display:none}.live-calendar__layout{grid-template-columns:1fr}.live-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}}
@media (max-width:767.98px){.live-topbar{display:none}.live-header__inner{min-height:72px;gap:9px}.live-header__brand{gap:9px}.live-header__brand img{width:85px;height:44px}.live-header__brand-divider{height:29px}.live-header__brand-name{font-size:15px}.live-header__brand-name small{font-size:7px}.live-header__actions{gap:6px}.live-login{padding:10px}.live-hero__content{grid-template-columns:1fr;gap:8px;padding:42px 4px}.live-hero h1{font-size:40px}.live-hero__illustration{display:none}.live-sports{padding-top:32px;padding-bottom:26px}.live-section-title{align-items:start;flex-direction:column;gap:8px}.live-section-title h2{font-size:22px}.live-section-description{font-size:11px}.live-sport-pill{padding:11px 14px}.live-date-form{width:100%}.live-date-form .form-control{flex:1;min-width:0}.live-week__days{gap:2px}.live-week{gap:3px;padding:5px}.live-week__day{min-height:64px}.live-week__day small{font-size:10px}.live-week__day strong{font-size:17px}.live-week__arrow{width:24px}.live-footer__grid{gap:30px}.live-footer{padding-top:33px}.live-footer__bottom{flex-direction:column}}
@media (max-width:440px){.live-header__brand img{width:66px}.live-header__brand-name{font-size:13px}.live-header__actions{gap:4px}.live-login{padding:9px}.live-icon-button{width:35px;height:35px}.live-hero h1{font-size:34px}.live-sports__scroll{gap:8px}.live-sport-pill{font-size:11px}.live-game-card__top{padding:10px 11px}.live-game-card__body{grid-template-columns:43px minmax(0,1fr) 27px 9px;gap:8px;padding:12px 11px}.live-game-card__time{padding-right:7px}.live-game-card__time span{font-size:12px}.live-game-card__team{gap:7px}.live-game-card__team img{width:24px;height:24px}.live-game-card__team span{font-size:10px}.live-game-card__score{grid-template-rows:repeat(2,24px);gap:6px}.live-game-card__score strong{font-size:15px;min-width:25px}.live-game-card__league{font-size:10px}.live-game-card__status{font-size:9px}.live-game-card__bottom{padding:9px 11px}.live-week__arrow{width:22px}.live-week__day{min-height:54px}.live-week__day strong{font-size:15px}.live-week__day small{font-size:9px}.live-footer__grid{grid-template-columns:1fr 1fr;gap:25px 12px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.live-home *{transition:none!important}}


/* FASE 1.2: grafica originale preservata, identità ufficiale CSI: blu #21409A e arancione #F37021. */
.live-home .btn-dark{background:var(--live-primary);border-color:var(--live-primary)}
.live-home .btn-dark:hover,.live-home .btn-dark:focus{background:#16317d;border-color:#16317d}
.live-home :focus-visible{outline-color:rgba(243,112,33,.5)}
.live-header{position:sticky;top:0;z-index:1025}
.live-header__brand-wrap{display:flex;align-items:center;gap:17px;min-width:0}
.live-menu-toggle{flex:0 0 auto;cursor:pointer;color:var(--live-primary)}
.live-menu-toggle:hover{background:#f3f6ff;color:var(--live-primary)}
.live-header__brand-name>span{color:var(--live-accent)}
.live-hero__cta{background:var(--live-accent)}
.live-hero__cta:hover{background:#df5d0d}
.live-sport-pill__image{display:block;width:30px;height:30px;object-fit:contain;flex:0 0 auto}
.live-sport-pill.is-selected{background:var(--live-primary);border-color:var(--live-primary);box-shadow:0 7px 16px rgba(33,64,154,.19)}
.live-sport-pill:hover{color:var(--live-primary);border-color:#9daddf}
.live-sport-pill.is-selected:hover{color:white}
.live-sport-pill.is-selected .live-sport-pill__image{background:white;border-radius:7px;padding:3px}
.live-status-tabs a.is-active{background:var(--live-primary);border-color:var(--live-primary);color:white}
.live-game-card__league{white-space:normal;overflow:visible;text-overflow:clip;display:flex;flex-wrap:wrap;align-items:center;gap:5px 7px;line-height:1.5}
.live-game-card__sport{display:inline-flex;gap:5px;align-items:center;font-weight:800;color:var(--live-primary);white-space:nowrap}
.live-game-card__sport img{width:19px;height:19px;object-fit:contain;flex:0 0 auto}
.live-game-card__separator{color:#a0aabd;font-size:15px}
.live-game-card__top{align-items:flex-start}
.live-game-card__status{margin-top:1px}
.live-game-card__time small{white-space:nowrap;font-size:9px}

/* Sidebar neutra in stile prima versione, con navigazione gerarchica nativa. */
:root{--live-sidebar-width:272px;--live-sidebar-mini:68px}
.live-home .live-topbar,.live-home .live-header,.live-home main#main-content,.live-home .live-footer{margin-left:var(--live-sidebar-width);transition:margin-left .2s ease}
.live-sidebar{position:fixed;z-index:1040;left:0;top:0;bottom:0;width:var(--live-sidebar-width);display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--live-line);box-shadow:3px 0 18px rgba(16,31,60,.04);color:var(--live-ink);transition:width .2s ease,transform .2s ease}
.live-sidebar__heading{height:70px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 18px 0 21px;border-bottom:1px solid var(--live-line);color:var(--live-primary);font-weight:800;font-size:11px;letter-spacing:.14em;flex:0 0 auto}
.live-side-nav{padding:18px 12px 24px;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:4px;flex:1;scrollbar-width:thin;scrollbar-color:#d8dfec transparent}
.live-side-nav__entry,.live-side-nav summary{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;min-height:42px;color:#4f617b;font-weight:700;font-size:12px;line-height:1.35;cursor:pointer;list-style:none;user-select:none}
.live-side-nav summary::-webkit-details-marker{display:none}
.live-side-nav summary::marker{content:""}
.live-side-nav__entry>i,.live-side-nav__group>summary>i:first-child{font-size:17px;flex:0 0 20px;text-align:center;color:var(--live-primary)}
.live-side-nav__entry>span,.live-side-nav summary>span{min-width:0;overflow-wrap:anywhere;flex:1}
.live-side-nav__entry:hover,.live-side-nav summary:hover{background:#f4f6fc;color:var(--live-primary)}
.live-side-nav__entry.is-current{background:#eff3ff;color:var(--live-primary)}
.live-side-nav__group{min-width:0}
.live-side-nav__arrow{font-size:11px!important;margin-left:auto;transition:transform .18s ease;flex:0 0 auto!important;color:#8897ac!important}
.live-side-nav__group[open]>summary .live-side-nav__arrow{transform:rotate(180deg)}
.live-side-nav__children{margin:1px 0 7px 15px;padding-left:8px;border-left:1px solid #e9eef6;display:flex;flex-direction:column;gap:2px}
.live-side-nav__children>a{display:flex;align-items:center;gap:8px;color:#51617b;font-size:11px;font-weight:600;line-height:1.45;padding:9px 8px;border-radius:7px;overflow-wrap:anywhere}
.live-side-nav__children>a:hover{color:var(--live-primary);background:#eff3ff}
.live-side-nav__overview{color:var(--live-primary)!important;font-weight:700!important;justify-content:space-between}
.live-side-nav__group--sport>summary,.live-side-nav__group--project>summary{font-size:11px;min-height:38px;padding:9px 6px;gap:7px}
.live-side-nav__group--sport>summary>img{width:21px;height:21px;flex:0 0 21px;object-fit:contain}
.live-side-nav__group--project>summary>i:first-child{font-size:14px;flex:0 0 15px}
.live-side-nav__children--leaf{margin-left:10px;padding-left:8px}
.live-side-nav__children--leaf>a>i{font-size:14px;color:var(--live-accent);flex:0 0 auto}
.live-side-nav__children--leaf>a>img{width:22px;height:22px;object-fit:contain;flex:0 0 auto}
.live-side-nav__children--leaf>a>span{min-width:0}
.live-side-nav__category{display:block;margin:18px 12px 6px;color:#97a3b7;font-size:9px;font-weight:800;letter-spacing:.12em}
.live-sidebar__footer{border-top:1px solid var(--live-line);padding:14px 18px 18px;display:flex;flex-direction:column;gap:4px}
.live-sidebar__footer span{font-size:9px;color:#8b98a8;text-transform:uppercase;letter-spacing:.08em}
.live-sidebar__footer strong{font-size:14px;color:var(--live-primary)}
.live-sidebar__footer small{color:#8794a8;font-size:10px}
.live-sidebar__mobile-close{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:#f3f6fd;border:0;border-radius:8px;color:var(--live-primary)}
.live-sidebar-backdrop{display:none}
.live-home.sidebar-collapsed .live-sidebar{width:var(--live-sidebar-mini)}
.live-home.sidebar-collapsed .live-sidebar__heading span,.live-home.sidebar-collapsed .live-sidebar__footer,.live-home.sidebar-collapsed .live-side-nav__category,.live-home.sidebar-collapsed .live-side-nav__entry span,.live-home.sidebar-collapsed .live-side-nav__group>summary span,.live-home.sidebar-collapsed .live-side-nav__arrow,.live-home.sidebar-collapsed .live-side-nav__children{display:none!important}
.live-home.sidebar-collapsed .live-sidebar__heading{padding:0;justify-content:center;font-size:0}
.live-home.sidebar-collapsed .live-sidebar__heading::before{content:"CSI";font-size:13px;letter-spacing:0;color:var(--live-primary);font-weight:800}
.live-home.sidebar-collapsed .live-side-nav{padding:18px 9px}
.live-home.sidebar-collapsed .live-side-nav__entry,.live-home.sidebar-collapsed .live-side-nav__group>summary{width:48px;padding:12px;justify-content:center}
.live-home.sidebar-collapsed .live-topbar,.live-home.sidebar-collapsed .live-header,.live-home.sidebar-collapsed main#main-content,.live-home.sidebar-collapsed .live-footer{margin-left:var(--live-sidebar-mini)}

@media (min-width:1280px){
 .live-calendar__layout{grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr)}
}
@media (min-width:992px) and (max-width:1279.98px){
 .live-calendar__layout{grid-template-columns:1fr}
}
@media (max-width:991.98px){
 .live-sidebar{width:min(310px,86vw);transform:translateX(-105%);box-shadow:10px 0 35px rgba(16,31,60,.15)}
 .live-sidebar__heading{height:74px}
 .live-home.sidebar-open .live-sidebar{transform:translateX(0)}
 .live-sidebar-backdrop{position:fixed;inset:0;background:rgba(13,25,45,.48);z-index:1039;opacity:0;pointer-events:none;display:block;transition:opacity .2s}
 .live-home.sidebar-open .live-sidebar-backdrop{opacity:1;pointer-events:auto}
 .live-home .live-topbar,.live-home .live-header,.live-home main#main-content,.live-home .live-footer,.live-home.sidebar-collapsed .live-topbar,.live-home.sidebar-collapsed .live-header,.live-home.sidebar-collapsed main#main-content,.live-home.sidebar-collapsed .live-footer{margin-left:0}
 .live-header__brand-wrap{gap:10px}
 .live-calendar__layout{grid-template-columns:1fr}
 
}
@media (max-width:767.98px){
 .live-header__brand-wrap{gap:8px}
 .live-sport-pill{padding:11px 13px}
 .live-sport-pill__image{width:25px;height:25px}
 

}
@media (max-width:440px){
 .live-header__brand img{width:60px}
 .live-header__brand-name{font-size:12px}
 .live-header__brand-wrap{gap:6px}
 .live-menu-toggle{width:35px;height:35px;flex:0 0 auto}
 .live-game-card__league{font-size:10px;gap:3px 5px}
 .live-game-card__sport img{width:16px;height:16px}
 .live-game-card__time small{font-size:8px}
 .live-game-card__top{gap:8px}
}

/* Contrasto dei piccoli testi e pulsanti sulla tinta arancione CSI. */
.live-overline{color:#a5480b!important}


/* === home-live-competition.css / CSS frontend integrato === */
/*
 * CSI Livescore — fase 2 / Campionati
 * Solo layout pubblico: nessuna modifica allo styling del backoffice.
 * Dipendenze: home-live.css della fase 1.2; Bootstrap 5.3.9.
 */
.live-home.live-competition{
  --live-competition-blue:#21409A;
  --live-competition-orange:#F37021;
  --live-competition-ink:#172b4b;
  --live-competition-line:#e5ebf3;
  --live-competition-subtle:#f4f7fc;
  background:#f6f8fc;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.live-home.live-competition a{text-decoration:none}
.live-home.live-competition .live-hero__cta,
.live-home.live-competition .live-hero__cta:hover{color:#fff}
.live-home.live-competition .live-side-nav__overview.is-current,
.live-home.live-competition .live-side-nav__children--leaf>a.is-current{background:#edf2ff;color:var(--live-competition-blue);font-weight:800}
.live-home.live-competition .live-side-nav__group.is-current-group>summary{color:var(--live-competition-blue);background:#f0f4ff}
.live-home.live-competition .live-overline{color:#a5480b}
.live-home.live-competition :focus-visible{outline:3px solid rgba(243,112,33,.35);outline-offset:3px}
.live-competition-main{min-width:0;padding-bottom:12px}
.live-competition-container{padding-top:24px;padding-bottom:20px}
.live-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 18px;min-height:20px;font-size:11px;font-weight:700;color:#8492aa;line-height:1.6}
.live-breadcrumbs>a{color:var(--live-competition-blue)}
.live-breadcrumbs>a:hover{text-decoration:underline}
.live-breadcrumbs>i{font-size:10px;color:#aeb9ca}
.live-breadcrumbs>span:last-child{color:#62728c}
.live-competition-banner{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:36px 40px;min-height:210px;color:#fff;border-radius:19px;overflow:hidden;
  background:radial-gradient(circle at 88% 15%,rgba(243,112,33,.24),transparent 31%),
    linear-gradient(123deg,#21409A 0%,#203c88 54%,#162d68 100%);
  box-shadow:0 14px 35px rgba(33,64,154,.17)
}
.live-competition-banner:after{content:"";position:absolute;inset:auto -80px -160px auto;width:360px;height:360px;border:1px solid rgba(255,255,255,.11);border-radius:50%;pointer-events:none}
.live-competition-banner>div:first-child{position:relative;z-index:1;min-width:0}
.live-competition-eyebrow{margin:0 0 11px;font-size:10px;line-height:1.6;letter-spacing:.15em;text-transform:uppercase;font-weight:800;color:#ffd5bb}
.live-competition-banner h1{font-size:clamp(26px,3vw,38px);font-weight:800;letter-spacing:-.04em;line-height:1.14;color:#fff;margin:0 0 11px}
.live-competition-banner p:not(.live-competition-eyebrow){font-size:13px;line-height:1.7;font-weight:500;color:#e7edfa;max-width:620px;margin:0}
.live-competition-banner__stats{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:22px}
.live-competition-banner__stats span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(255,255,255,.21);border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font-size:11px;font-weight:700;line-height:1.4}
.live-competition-banner__stats i{font-size:14px;color:#ffd2b2}
.live-competition-banner__art{position:relative;z-index:1;flex:0 0 auto;display:grid;place-items:center;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.2);box-shadow:inset 0 0 0 12px rgba(255,255,255,.06)}
.live-competition-banner__art i{font-size:68px;color:#ffd3b1}
.live-competition-banner__sport{position:relative;z-index:1;flex:0 0 auto;width:134px;height:134px;object-fit:contain;padding:16px;border-radius:28px;background:#fff;box-shadow:0 14px 30px rgba(0,0,0,.17)}
.live-competition-banner--detail{min-height:200px;padding:34px 36px}
.live-competition-banner--detail h1{font-size:clamp(26px,2.7vw,38px)}
.live-competition-section-heading{padding-top:31px;margin-bottom:14px}
.live-competition-sport-pills{margin-bottom:24px}
.live-competition-sport-pills .live-sport-pill{max-width:240px}
.live-competition-league-groups{display:grid;gap:24px}
.live-competition-sport-section{background:#fff;border:1px solid var(--live-competition-line);border-radius:18px;overflow:hidden;box-shadow:0 9px 26px rgba(25,44,86,.06)}
.live-competition-sport-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--live-competition-line);background:#fcfdff}
.live-competition-sport-header__identity{display:flex;align-items:center;gap:15px;min-width:0}
.live-competition-sport-header__identity img{width:62px;height:62px;object-fit:contain;padding:6px;border:1px solid #ecf0f7;border-radius:16px;background:white}
.live-competition-sport-header__identity .live-overline{margin:0 0 5px}
.live-competition-sport-header h2{margin:0;color:var(--live-competition-blue);font-size:22px;font-weight:800;letter-spacing:-.035em}
.live-competition-count{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:12px;background:#eef3fe;color:var(--live-competition-blue);font-size:12px;font-weight:800;white-space:nowrap}
.live-competition-count i{font-size:15px}
.live-competition-divisions{padding:4px 24px 18px}
.live-competition-division{padding-top:19px;padding-bottom:19px;border-bottom:1px solid #edf1f7}
.live-competition-division:last-child{border-bottom:0;padding-bottom:0}
.live-competition-division__heading{display:flex;align-items:center;gap:9px;margin-bottom:14px}
.live-competition-division__heading>i{font-size:16px;color:var(--live-competition-orange)}
.live-competition-division__heading h3{margin:0;color:var(--live-competition-ink);font-size:15px;font-weight:800;letter-spacing:-.015em}
.live-competition-division__heading span{font-size:11px;color:#8996aa;margin-left:auto;font-weight:700}
.live-competition-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:10px}
.live-competition-project{display:flex;align-items:center;gap:12px;min-height:76px;padding:15px 14px;border:1px solid #e7edf6;border-radius:12px;background:#fff;transition:box-shadow .16s ease,transform .16s ease,border-color .16s ease}
.live-competition-project:hover{border-color:#b7c6ec;transform:translateY(-2px);box-shadow:0 12px 23px rgba(33,64,154,.10)}
.live-competition-project__icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:11px;background:#eff3ff;color:var(--live-competition-blue)}
.live-competition-project__icon i{font-size:19px}
.live-competition-project__content{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.live-competition-project__content strong{font-size:12px;line-height:1.4;font-weight:800;color:var(--live-competition-ink)}
.live-competition-project__content small{font-size:10px;color:#8795aa;line-height:1.5}
.live-competition-project__arrow{font-size:16px;color:var(--live-competition-orange)}
.live-competition-endnote{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600;color:#76859b;margin:22px 2px 10px}
.live-competition-endnote i{color:var(--live-competition-blue)}

/* Vecchi widget del campionato: identici componenti e ID, nuovo guscio visivo. */
.live-competition-detail .live-competition-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:22px 0 18px}
.live-competition-action-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.live-competition-action-tabs .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dbe4f4;border-radius:10px;background:#fff;padding:10px 14px;font-size:12px;font-weight:800;color:var(--live-competition-blue);box-shadow:0 3px 12px rgba(25,44,86,.04);line-height:1.4}
.live-competition-action-tabs .btn:hover{background:#eef3ff;border-color:#b6c8ed}
.live-competition-manage-btn{display:inline-flex;align-items:center;gap:9px;border-radius:10px;background:var(--live-competition-orange);border:1px solid var(--live-competition-orange);padding:10px 15px;color:#fff;font-size:12px;font-weight:800}
.live-competition-manage-btn:hover{background:#d85c0f;border-color:#d85c0f;color:#fff}
.live-competition-detail .live-competition-widget{border:1px solid #e4eaf4;box-shadow:0 10px 28px rgba(21,39,74,.06);border-radius:17px;overflow:hidden;background:#fff;margin-bottom:0;min-width:0}
.live-competition-detail .live-competition-widget>.card-header{display:flex;align-items:center;gap:10px;min-height:55px;padding:14px 18px;background:linear-gradient(180deg,#fcfdff 0%,#f7f9fd 100%);border-bottom:1px solid #e8edf6;color:var(--live-competition-blue)}
.live-competition-detail .live-competition-widget>.card-header i{flex:0 0 auto;font-size:19px;color:var(--live-competition-orange)}
.live-competition-detail .live-competition-widget>.card-header h2{margin:0;font-size:16px;line-height:1.45;color:var(--live-competition-blue);font-weight:800;letter-spacing:-.02em}
.live-competition-detail .live-competition-widget>.card-header h2 small{margin-left:7px;font-size:10px;color:#96a2b6;letter-spacing:.04em;text-transform:uppercase;font-weight:700}
.live-competition-detail .live-competition-widget>.card-body{background:#fff;box-shadow:none!important;padding:18px}
.live-competition-detail .live-competition-details-layout{margin-top:18px}
.live-competition-detail #project-left-col{display:flex;flex-direction:column;gap:19px;min-width:0}
.live-competition-detail #project-right-col{min-width:0}
.live-competition-detail .live-competition-widget__carousel{padding:13px 12px 18px;overflow:hidden}
.live-competition-detail .live-competition-widget__carousel .swiper{min-width:0;max-width:100%}
.live-competition-detail .live-competition-widget__carousel .swiper-pagination{position:relative;margin:8px auto 0}
.live-competition-detail .live-competition-charts,.live-competition-detail .live-competition-standings{margin-top:20px}
.live-competition-detail #project-main .list-group-item{border-color:#edf1f6;background:#fff;font-size:12px}
.live-competition-detail #project-main .list-group-item a{color:var(--live-competition-blue)}
.live-competition-detail #project-main p{color:#66748c;font-size:13px;line-height:1.7}
.live-competition-detail .live-competition-widget #calendar{width:100%;min-width:0}
.live-competition-detail .fc .fc-button-primary{background:var(--live-competition-blue);border-color:var(--live-competition-blue)}
.live-competition-detail .fc .fc-button-primary:hover{background:#19327b;border-color:#19327b}
.live-competition-detail .fc .fc-toolbar-title{font-size:16px;font-weight:800;color:var(--live-competition-blue)}
.live-competition-detail .fc .fc-toolbar{gap:12px;flex-wrap:wrap}
.live-competition-detail .fc .fc-daygrid-event{font-size:10px}
.live-competition-detail .fc .fc-daygrid-day-number{font-size:11px;font-weight:700}
.live-competition-detail #project-sheets .card-body{min-width:0;overflow-x:auto}
.live-competition-detail #project-sheets .nav-tabs{gap:4px;border-bottom:1px solid #e1e8f3;flex-wrap:wrap}
.live-competition-detail #project-sheets .nav-tabs .nav-link{font-size:12px;font-weight:800;color:#6d7c93;border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 14px;margin:0;white-space:nowrap}
.live-competition-detail #project-sheets .nav-tabs .nav-link.active{border-bottom-color:var(--live-competition-orange);background:#f7f9fd;color:var(--live-competition-blue)}
.live-competition-detail #project-sheets .tab-pane{border-color:#e5ebf4!important;background:#fff;min-width:0}
.live-competition-detail #project-sheets .table{font-size:12px}
.live-competition-detail #project-sheets .table th{font-size:11px;white-space:nowrap}

.live-competition-detail #project-sheets .tab-content a{color:var(--live-competition-blue)}
.live-competition-detail #project-charts .echart{min-width:0;max-width:100%}
.live-competition-detail #back-to-content{position:fixed;z-index:1020;right:22px;bottom:22px;display:flex;gap:5px;padding:8px;border-radius:14px;background:#fff;border:1px solid #e3eaf4;box-shadow:0 12px 35px rgba(16,31,60,.16)}
.live-competition-detail #back-to-content .btn{display:grid;place-items:center;width:36px;height:36px;padding:0;border-radius:9px;background:var(--live-competition-blue);border-color:var(--live-competition-blue)}
.live-competition-detail #back-to-content .btn:hover{background:#152f7a}
/* I modali amministrativi conservano le regole e i componenti Bootstrap legacy. */
.live-competition-detail .modal .card-header{background:#f8faff}
.live-competition-detail .modal .card-header h2{color:var(--live-competition-ink)}

@media(max-width:991.98px){
  .live-competition-container{padding-top:18px}
  .live-competition-banner{padding:28px 26px}
  .live-competition-banner__art{width:112px;height:112px}
  .live-competition-banner__art i{font-size:56px}
  .live-competition-banner__sport{width:100px;height:100px;padding:12px}
  .live-competition-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .live-competition-detail .live-competition-widget>.card-body{padding:14px}
}
@media(max-width:767.98px){
  .live-breadcrumbs{font-size:10px}
  .live-competition-banner{padding:26px 20px;border-radius:15px;min-height:170px}
  .live-competition-banner__art,.live-competition-banner__sport{display:none}
  .live-competition-banner h1{font-size:27px}
  .live-competition-banner p:not(.live-competition-eyebrow){font-size:12px}
  .live-competition-banner__stats{margin-top:15px}
  .live-competition-banner__stats span{font-size:10px;padding:7px 9px}
  .live-competition-sport-header{padding:17px 16px}
  .live-competition-sport-header__identity img{width:52px;height:52px}
  .live-competition-sport-header h2{font-size:20px}
  .live-competition-count{font-size:10px;padding:8px}
  .live-competition-divisions{padding:0 16px 14px}
  .live-competition-project-grid{grid-template-columns:1fr}
  .live-competition-detail .live-competition-actions{margin:18px 0 16px}
  .live-competition-action-tabs{gap:6px}
  .live-competition-action-tabs .btn{padding:9px 10px;font-size:11px}
  .live-competition-detail #back-to-content{right:10px;bottom:12px;padding:6px}
  .live-competition-detail #back-to-content .btn{width:32px;height:32px}
  .live-competition-detail #project-sheets .nav-tabs .nav-link{font-size:10px;padding:10px 9px}
}
@media(max-width:420px){
  .live-competition-banner h1{font-size:24px}
  .live-competition-section-heading h2{font-size:21px}
  .live-competition-sport-header__identity{gap:9px}
  .live-competition-sport-header__identity img{width:44px;height:44px}
  .live-competition-sport-header h2{font-size:17px}
  .live-competition-count{font-size:9px}
}


/* === home-live-project.css / CSS frontend integrato === */
/* Presentazione della scheda campionato, senza logica di risultati/classifiche. */
.live-competition-detail .live-competition-project-summary{margin-top:18px}
.live-competition-detail .live-project-feed{margin-top:24px}
.live-competition-detail .live-project-feed__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.live-project-feed__column{min-width:0}
.live-project-feed__heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.live-project-feed__heading h2{display:flex;align-items:center;gap:9px;color:#21409a;font-size:19px;font-weight:800;letter-spacing:-.035em;margin:0}
.live-project-feed__heading h2 i{color:#f37021;font-size:19px}
.live-project-feed__count{font-size:11px;color:#21409a;font-weight:800;white-space:nowrap;background:#edf3ff;border-radius:999px;padding:8px 11px}
.live-project-feed__cards{display:grid;gap:12px}
.live-project-feed__cards .live-game-card{width:100%;min-width:0;margin:0}
.live-project-feed__cards .live-game-card__league{min-width:0;flex-wrap:wrap}
.live-project-feed__cards .live-game-card__bottom{flex-wrap:wrap;gap:8px 12px}
.live-project-feed__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:190px;border:1px dashed #d7e0ef;background:#fff;border-radius:14px;text-align:center;padding:25px;color:#7c8ba0}
.live-project-feed__empty i{font-size:28px;color:#adc0dd}
.live-project-feed__empty p{margin:0;font-size:12px;line-height:1.6}
.live-competition-detail .live-competition-project-calendar{margin-top:26px}
.live-project-calendar__heading{flex-wrap:wrap}
.live-project-calendar__hint{font-size:11px;font-weight:600;color:#8795ac;margin-left:auto}
.live-competition-detail .live-project-calendar__body{position:relative;min-height:350px;padding:18px}
.live-calendar-loader{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;gap:13px;align-items:center;justify-content:center;background:rgba(255,255,255,.84);color:#21409a;font-size:12px;font-weight:800;text-align:center}
.live-calendar-loader .spinner-border{width:2.5rem;height:2.5rem;border-width:.23rem;color:#f37021}
.live-project-calendar-error{font-size:12px;color:#a42a29;border:1px solid #f8c8c7;background:#fff1f0;padding:12px 14px;border-radius:10px;margin-bottom:12px}
.live-competition-detail #calendar{min-width:0}
.live-competition-detail .fc .fc-button-primary{background:#21409a;border-color:#21409a}
.live-competition-detail .fc .fc-button-primary:hover,.live-competition-detail .fc .fc-button-primary:focus{background:#19347e;border-color:#19347e}
.live-competition-detail .fc .fc-button-primary:not(:disabled).fc-button-active{background:#f37021;border-color:#f37021}
.live-competition-detail .fc .fc-toolbar-title{font-size:18px;font-weight:800;color:#21409a}
.live-competition-detail .fc .fc-event{cursor:pointer}
.live-competition-detail .fc .fc-daygrid-day.fc-day-today{background:#eff3ff}
.live-competition-detail .fc .fc-daygrid-event{border-radius:5px;padding:1px 3px;font-size:11px}
.live-competition-detail .fc .fc-col-header-cell-cushion,.live-competition-detail .fc .fc-daygrid-day-number{color:#21409a}
.live-competition-detail .live-competition-standings{margin-top:24px}
/* Rankings/results: visual rules live in CSS; PHP components retain sport-specific columns. */
.live-competition-detail #project-sheets .table{border-collapse:separate;border-spacing:0;vertical-align:middle}





.live-competition-detail #project-sheets .nav-tabs .nav-link.active{border-bottom-color:#f37021}
.live-competition-detail .live-ranking-team-logo{max-width:3rem;max-height:3rem;object-fit:contain}
.live-competition-detail .live-results-match{min-height:5rem}
.live-competition-detail .live-results-match__logos{width:3rem;flex-shrink:0}
.live-competition-detail .live-results-match__logo{height:2rem;max-width:2.5rem;object-fit:contain}
.live-competition-detail .live-results-match__address{font-size:.8em}

.live-competition-detail #project-sheets .accordion-button{font-size:13px;font-weight:800;color:#21409a}
.live-competition-detail #project-sheets .accordion-button:not(.collapsed){background:#eef3fd;color:#21409a;box-shadow:none}
@media(max-width:1500px){.live-competition-detail .live-project-feed__grid{grid-template-columns:1fr}}
@media(max-width:767.98px){
 .live-project-feed__heading h2{font-size:17px}
 .live-competition-detail .live-project-calendar__body{padding:12px}
 .live-competition-detail .fc .fc-toolbar{gap:10px}
 .live-competition-detail .fc .fc-toolbar-title{font-size:14px}
 .live-competition-detail .fc .fc-button{font-size:12px;padding:6px 8px}
 .live-project-calendar__hint{flex-basis:100%;margin-left:0}
}

/* ==================== CSI LIVE · FASE 2.2 ==================== */
/* La presentazione rimane nel CSS, i calcoli sportivi nei componenti PHP esistenti. */
.live-competition-detail #project-sheets,
.live-competition-detail #project-calendar,
.live-competition-detail #project-last_results,
.live-competition-detail #project-next_matches { scroll-margin-top:105px; }
.live-competition-detail .live-competition-banner--detail{
  background:radial-gradient(circle at 95% 17%,rgba(255,255,255,.17),transparent 24%),linear-gradient(120deg,#173077,#21409a 61%,#365abb);
  border-radius:20px;box-shadow:0 18px 42px rgba(33,64,154,.22);
}
.live-project-hero__quicklinks{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:21px}
.live-project-hero__quicklinks a{display:inline-flex;align-items:center;gap:9px;border-radius:12px;padding:10px 13px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);font-size:12px;color:#fff;font-weight:800;transition:background .16s,transform .16s}
.live-project-hero__quicklinks a:hover,.live-project-hero__quicklinks a:focus-visible{color:#fff;background:rgba(255,255,255,.22);transform:translateY(-2px)}
.live-project-hero__quicklinks i{font-size:15px;color:#ffd8bd}
.live-competition-detail .live-competition-actions{background:#fff;padding:13px 14px;border:1px solid #e2e8f5;border-radius:17px;box-shadow:0 8px 25px rgba(33,64,154,.07);margin:18px 0 18px}
.live-competition-detail .live-competition-action-tabs{gap:9px}
.live-competition-detail .live-competition-action-tabs .btn{border-color:#dce4f5;border-radius:12px;min-height:42px;padding:10px 14px;background:#f6f8fd;color:#21409a;box-shadow:none;transition:background .18s,transform .18s}
.live-competition-detail .live-competition-action-tabs .btn:hover,.live-competition-detail .live-competition-action-tabs .btn.is-active{background:#21409a;color:#fff;border-color:#21409a;transform:translateY(-1px)}
.live-competition-detail .live-competition-action-tabs .btn i{font-size:16px;color:#f37021}
.live-competition-detail .live-competition-action-tabs .btn.is-active i{color:#ffd1ae}
.live-competition-detail .live-competition-manage-btn{border-radius:12px;padding:10px 14px;font-weight:800}
.live-competition-detail .live-project-feed{margin-top:15px}
.live-competition-detail .live-project-feed__grid{gap:20px}
.live-project-feed__column{background:#fff;border:1px solid #e3eaf5;border-radius:20px;padding:17px;box-shadow:0 11px 28px rgba(33,64,154,.075);align-self:start}
.live-project-feed__heading{align-items:center;border-bottom:1px solid #ecf0f8;margin-bottom:15px;padding:1px 2px 14px}
.live-project-feed__heading h2{font-size:19px}
.live-project-feed__heading h2 i{width:33px;height:33px;display:grid;place-items:center;background:#fff0e7;border-radius:10px}
.live-project-feed__count{background:#ebf0fd;color:#21409a;font-size:12px}
.live-project-feed__cards{max-height:700px;overflow-y:auto;overscroll-behavior:contain;padding:2px 6px 3px 1px;scrollbar-color:#d3def4 transparent;scrollbar-width:thin}
.live-project-feed__cards .live-game-card{border:1px solid #e6ebf5;box-shadow:0 5px 16px rgba(33,64,154,.06);transition:box-shadow .16s,transform .16s}
.live-project-feed__cards .live-game-card:hover{box-shadow:0 10px 25px rgba(33,64,154,.13);transform:translateY(-1px)}
.live-competition-detail .live-competition-project-calendar{margin-top:24px}
.live-competition-detail #project-calendar{border-radius:21px;box-shadow:0 13px 35px rgba(33,64,154,.09)}
.live-competition-detail #project-calendar >.card-header{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(120deg,#fff,#f6f8ff);padding:20px 23px}
.live-project-calendar__heading-title{display:flex;align-items:center;gap:14px;min-width:0}
.live-project-calendar__heading-icon{display:grid;place-items:center;flex:0 0 auto;width:49px;height:49px;border-radius:15px;color:#fff;background:#21409a}
.live-competition-detail #project-calendar .live-project-calendar__heading-icon i{color:#fff;font-size:23px}
.live-project-calendar__heading-title .live-overline{margin:0 0 4px}
.live-competition-detail #project-calendar .live-project-calendar__heading-title h2{font-size:21px;line-height:1.25;margin:0 0 4px}
.live-project-calendar__heading-title small{font-size:12px;font-weight:600;color:#7b88a3;line-height:1.5}
.live-project-calendar__legend{display:flex;gap:11px;align-items:center;flex-wrap:wrap;flex:0 0 auto}
.live-project-calendar__legend span{display:flex;gap:6px;align-items:center;font-size:11px;font-weight:800;color:#586a89;padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #e1e7f3}
.live-dot{width:9px;height:9px;border-radius:50%;background:#f37021}
.live-dot--played{background:#21409a}
.live-competition-detail .live-project-calendar__body{padding:22px;min-height:360px}
.live-calendar-loader[hidden],.live-project-calendar-error[hidden],.live-project-sheets__status[hidden]{display:none!important}
.live-calendar-loader{border-radius:0 0 20px 20px;backdrop-filter:blur(5px);background:rgba(249,251,255,.91);font-size:14px}
.live-competition-detail .fc{--fc-border-color:#e5ebf5;--fc-today-bg-color:#eff4ff;--fc-page-bg-color:#fff;--fc-neutral-bg-color:#f7f9fd;color:#263a61;font-family:Inter,system-ui,sans-serif}
.live-competition-detail .fc .fc-toolbar{margin-bottom:18px;gap:14px}
.live-competition-detail .fc .fc-toolbar-title{font-size:22px;font-weight:800;letter-spacing:-.04em;color:#21409a;text-transform:capitalize}
.live-competition-detail .fc .fc-button{font-size:12px;font-weight:800;border-radius:10px;padding:9px 13px;box-shadow:none!important;text-transform:capitalize}
.live-competition-detail .fc .fc-button-primary{background:#f2f5fc;color:#21409a;border:1px solid #d9e2f4}
.live-competition-detail .fc .fc-button-primary:hover,.live-competition-detail .fc .fc-button-primary:focus{background:#e6edfb;color:#21409a;border-color:#bfcfe9}
.live-competition-detail .fc .fc-button-primary:not(:disabled).fc-button-active{background:#21409a;color:#fff;border-color:#21409a}
.live-competition-detail .fc .fc-scrollgrid{border-radius:15px;overflow:hidden;border-color:#e5ebf5}
.live-competition-detail .fc .fc-col-header-cell{background:#f5f7fd;padding:12px 5px}
.live-competition-detail .fc .fc-col-header-cell-cushion{color:#607299;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:11px}
.live-competition-detail .fc .fc-daygrid-day{background:#fff;transition:background .15s}
.live-competition-detail .fc .fc-daygrid-day:hover{background:#f8faff}
.live-competition-detail .fc .fc-daygrid-day.fc-day-today{background:#edf3ff}
.live-competition-detail .fc .fc-daygrid-day-number{color:#21409a;font-weight:800;font-size:12px;padding:8px 10px}
.live-competition-detail .fc .fc-day-today .fc-daygrid-day-number{background:#21409a;color:#fff;border-radius:999px;margin:3px}
.live-competition-detail .fc .fc-daygrid-event-harness{margin:3px 5px 4px}
.live-competition-detail .fc a.fc-event.live-fc-event,.live-competition-detail .fc .live-fc-event{display:block;white-space:normal!important;border:1px solid #e2e8f7!important;border-left:4px solid #f37021!important;background:#fff!important;color:#273b60!important;border-radius:10px;padding:0!important;box-shadow:0 3px 8px rgba(24,49,120,.075);overflow:hidden;min-width:0}
.live-competition-detail .fc .live-fc-event--played{border-left-color:#21409a!important;background:#f8faff!important}
.live-competition-detail .fc .live-fc-event:hover{box-shadow:0 6px 13px rgba(24,49,120,.16);border-color:#bdd0f2!important}
.live-competition-detail .fc .live-fc-event .fc-event-main{color:inherit;padding:0}
.live-fc-game{padding:7px 8px;min-width:0;font-size:10px;line-height:1.3}
.live-fc-game__time{color:#21409a;font-weight:900;font-size:10px;letter-spacing:.01em;margin-bottom:5px}
.live-fc-game__teams{display:grid;gap:4px}
.live-fc-game__team{display:flex;align-items:center;gap:5px;min-width:0;font-weight:750;color:#243c70}
.live-fc-game__team span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.live-fc-game__logo{width:17px;height:17px;object-fit:contain;flex:0 0 auto}
.live-fc-game__bottom{display:flex;gap:6px;align-items:center;justify-content:space-between;border-top:1px solid #edf1f8;margin-top:6px;padding-top:5px;flex-wrap:wrap}
.live-fc-game__result{font-weight:900;background:#21409a;color:#fff;padding:3px 6px;border-radius:5px;white-space:nowrap}
.live-fc-game__validation{font-size:9px;color:#697c9d}
.live-fc-game__scheduled{font-size:9px;color:#b35b1e;font-weight:900}
.live-fc-game__field{color:#7b8aa3;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.live-competition-detail .fc .fc-daygrid-more-link{font-size:10px;color:#21409a;background:#edf2ff;border-radius:7px;padding:5px 7px;font-weight:800}
.live-competition-detail .fc .fc-popover{box-shadow:0 19px 50px rgba(27,51,112,.22);border-radius:13px;overflow:hidden}
.live-competition-detail .fc .fc-list{border-radius:14px;border:1px solid #e5ebf5;overflow:hidden}
.live-competition-detail .fc .fc-list-day-cushion{background:#eff3fc!important;color:#21409a;font-weight:800;padding:11px 15px!important}
.live-competition-detail .fc .fc-list-event:hover td{background:#f5f7fd}
.live-competition-detail .fc .fc-list-event-graphic,.live-competition-detail .fc .fc-list-event-time{color:#21409a;font-size:12px;font-weight:800}
.live-competition-detail .fc .fc-list-event-dot{border-color:#f37021}
.live-competition-detail .fc .fc-list-event-title .live-fc-game{padding:7px 11px}
.live-competition-detail .fc .fc-list-event-title .live-fc-game__team span{white-space:normal}
.live-competition-detail .fc .fc-list-event-title .live-fc-game__field{max-width:none}
.live-competition-detail .live-competition-standings{margin-top:25px}
.live-competition-detail #project-sheets{border-radius:21px;box-shadow:0 13px 35px rgba(33,64,154,.09);overflow:hidden}
.live-competition-detail #project-sheets >.card-header{padding:19px 22px;background:linear-gradient(120deg,#fff,#f6f8ff)}
.live-project-sheets__heading .live-overline{margin-bottom:6px}
.live-competition-detail #project-sheets .live-project-sheets__heading h2{font-size:21px;display:flex;align-items:center;gap:10px;margin-bottom:7px}
.live-project-sheets__heading p:last-child{margin:0;font-size:12px;color:#7586a5;line-height:1.7}
.live-competition-detail #project-sheets .live-project-sheets__body{padding:22px;min-height:170px}
.live-project-sheets__status{display:flex;align-items:center;gap:12px;background:#eef3ff;padding:14px 16px;color:#21409a;border-radius:12px;font-size:13px;font-weight:700;margin-bottom:12px}
.live-project-sheets__status::before{content:"";width:18px;height:18px;border:3px solid rgba(33,64,154,.22);border-top-color:#21409a;border-radius:50%;animation:live-project-spin .75s linear infinite;flex:0 0 auto}
.live-project-sheets__status.is-error{background:#fff0e8;color:#a4480f}.live-project-sheets__status.is-error::before{display:none}
@keyframes live-project-spin{to{transform:rotate(360deg)}}
.live-project-sheets__error{font-size:13px;color:#b4461a;padding:20px;border-radius:12px;background:#fff4eb}
.live-competition-detail #project-sheets .nav-tabs{border:0;background:#f4f7fc;display:flex;flex-wrap:wrap;gap:7px;border-radius:14px;padding:7px;margin:0 0 16px}
.live-competition-detail #project-sheets .nav-tabs .nav-link{border:0!important;border-radius:10px;color:#5e7197;font-size:12px;font-weight:800;padding:11px 15px}
.live-competition-detail #project-sheets .nav-tabs .nav-link:hover{background:#e5ecf9;color:#21409a}
.live-competition-detail #project-sheets .nav-tabs .nav-link.active{background:#21409a;color:#fff !important;box-shadow:0 6px 15px rgba(33,64,154,.19)}
.live-competition-detail #project-sheets .tab-pane{border:0!important;padding:8px 0 6px!important}
.live-competition-detail #project-sheets .tab-pane h5.solid-border{color:#21409a;font-weight:800;border-left:4px solid #f37021;padding-left:14px;margin:14px 0 12px;font-size:17px}
.live-competition-detail #project-sheets .table-responsive{border:1px solid #e5eafa;border-radius:14px;box-shadow:0 4px 16px rgba(33,64,154,.04);overflow-x:auto}
.live-competition-detail #project-sheets .table{margin-bottom:0;border:0;min-width:650px;background:#fff;font-variant-numeric:tabular-nums}



.live-competition-detail #project-sheets table.ranking tbody tr td:first-child{color:#21409a;font-weight:900;font-size:15px}
.live-competition-detail #project-sheets table.ranking tbody tr:nth-child(1) td:first-child{color:#d66217}
.live-competition-detail #project-sheets table.ranking tbody tr:nth-child(2) td:first-child{color:#4565ad}
.live-competition-detail #project-sheets table.ranking tbody tr:nth-child(3) td:first-child{color:#497c96}
.live-competition-detail #project-sheets table.ranking tbody tr td:nth-child(3){font-size:15px;font-weight:900;color:#21409a}
.live-competition-detail #project-sheets .live-ranking-team-logo{width:38px;max-width:38px;height:38px;max-height:38px;object-fit:contain;background:#fff;border-radius:10px;padding:3px;border:1px solid #e9eef7}



.live-competition-detail #project-sheets .accordion-item{border:1px solid #e4eafa;border-radius:13px;overflow:hidden;margin:10px 0}
.live-competition-detail #project-sheets .accordion-button{font-size:14px;font-weight:800;color:#21409a;padding:16px 19px}
.live-competition-detail #project-sheets .accordion-button:not(.collapsed){background:#eff4ff;color:#21409a;box-shadow:none}
.live-competition-detail .live-competition-project-summary{margin-top:20px}
.live-project-details{border:1px solid #e2e9f6;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(33,64,154,.055);overflow:hidden}
.live-project-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:17px 21px;font-size:14px;color:#21409a;font-weight:800;cursor:pointer;background:#f8faff}
.live-project-details>summary::-webkit-details-marker{display:none}
.live-project-details>summary span{display:flex;align-items:center;gap:10px}.live-project-details>summary span i{color:#f37021;font-size:18px}
.live-project-details>summary>i{transition:transform .2s}.live-project-details[open]>summary>i{transform:rotate(180deg)}
.live-project-details__body{padding:18px 22px}
@media(max-width:1199.98px){.live-project-calendar__legend{width:100%}}
@media(max-width:767.98px){
 .live-competition-detail .live-competition-banner--detail{padding:24px 18px}
 .live-competition-detail .live-competition-actions{padding:9px}
 .live-competition-detail .live-competition-action-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;width:100%}
 .live-competition-detail .live-competition-action-tabs .btn{white-space:nowrap;flex-shrink:0}
 .live-project-feed__column{padding:12px;border-radius:15px}
 .live-project-feed__cards{max-height:580px}
 .live-competition-detail #project-calendar >.card-header{padding:16px}
 .live-project-calendar__heading-title{align-items:flex-start;gap:11px}
 .live-project-calendar__heading-icon{width:40px;height:40px;border-radius:12px}
 .live-competition-detail #project-calendar .live-project-calendar__heading-title h2{font-size:17px}
 .live-competition-detail #project-calendar .live-project-calendar__body{padding:12px}
 .live-competition-detail .fc .fc-toolbar{flex-wrap:wrap;justify-content:space-between}
 .live-competition-detail .fc .fc-toolbar-title{font-size:17px}
 .live-competition-detail #project-sheets .live-project-sheets__body{padding:13px}
 .live-project-details__body{padding:12px}
}


/* === live-loader.css / CSS frontend integrato === */
/* Shared, layout-independent loader for both old and new pages. */
.live-page-loader[hidden],.live-calendar-loader[hidden],.live-project-calendar-error[hidden]{display:none!important}
.live-page-loader{
 position:fixed;inset:0;z-index:1100;display:flex;align-items:center;justify-content:center;
 background:rgba(247,249,253,.95);font-family:Inter,system-ui,Arial,sans-serif;
 opacity:1;transition:opacity .22s ease,visibility .22s ease
}
.live-page-loader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.live-page-loader__panel{display:flex;flex-direction:column;gap:9px;align-items:center;text-align:center;color:#21409a;padding:24px}
.live-page-loader__panel strong{font-size:19px;letter-spacing:-.03em}
.live-page-loader__panel>span{font-size:12px;color:#657591}
.live-page-loader__mark{display:flex;gap:8px;align-items:center;justify-content:center;height:48px}
.live-page-loader__mark span{height:12px;width:12px;border-radius:999px;background:#21409a;animation:live-loader-bounce .9s ease-in-out infinite}
.live-page-loader__mark span:nth-child(2){background:#f37021;animation-delay:.14s}
.live-page-loader__mark span:nth-child(3){animation-delay:.28s}
@keyframes live-loader-bounce{0%,60%,100%{transform:scale(.72);opacity:.55}30%{transform:scale(1.12);opacity:1}}
@media(prefers-reduced-motion:reduce){.live-page-loader__mark span{animation:none}.live-page-loader{transition:none}}



/* ================================================================
   Design system CSI · classifiche, risultati, marcatori, provvedimenti
   Mantiene classi/ID e i dati originali: soltanto presentazione.
   ================================================================ */
.live-home{--csi-blue:#21409A;--csi-orange:#F37021;--csi-ink:#172C51;--csi-line:#e5ebf4;--csi-cloud:#f5f8fe}
.live-home .live-hero__cta,.live-home .live-hero__cta:hover{color:#fff}
.live-home .live-header__brand{display:flex;align-items:center;flex-shrink:0;gap:12px}
.live-home .tooltip{--bs-tooltip-bg:var(--csi-orange);--bs-tooltip-color:#fff;--bs-tooltip-opacity:1}
.live-home .tooltip .tooltip-inner{background:var(--csi-orange);color:#fff;border-radius:9px;font-weight:700;font-size:12px;box-shadow:0 8px 18px rgba(243,112,33,.2)}
.live-home .tooltip.bs-tooltip-auto{--bs-tooltip-bg:var(--csi-orange)}
/* Tooltip component appended at end of body by Bootstrap (may be outside .live-home). */
.tooltip{--bs-tooltip-bg:#F37021;--bs-tooltip-color:#fff;--bs-tooltip-opacity:1}
.tooltip .tooltip-inner{background:#F37021!important;color:#fff!important;border-radius:9px;font-weight:700}

.live-competition-detail #project-sheets{border:1px solid #e1e8f3;box-shadow:0 13px 36px rgba(33,64,154,.065)}
.live-competition-detail #project-sheets .nav-tabs{background:#f1f5fb;border-radius:13px;padding:7px;gap:6px}
.live-competition-detail #project-sheets .nav-tabs .nav-link.active{background:#21409a;color:#fff!important;box-shadow:0 6px 15px rgba(33,64,154,.19)}
.live-competition-detail #project-sheets .tab-pane{padding:12px 0 18px!important}
.live-competition-detail #project-sheets .tab-pane .row>.col-12{min-width:0}
.live-competition-detail #project-sheets .tab-pane h5.solid-border{padding:16px 19px;margin:10px 0 15px;border:1px solid #e5ebf5;border-left:5px solid #F37021;border-radius:13px;background:#f9fbff;color:#21409a;font-size:16px;box-shadow:0 4px 12px rgba(33,64,154,.035)}
.live-competition-detail #project-sheets .tab-pane h5.solid-border a{font-weight:800;color:#21409a}
.live-competition-detail #project-sheets .table-responsive{border:1px solid #e0e8f3;border-radius:16px;box-shadow:0 6px 22px rgba(33,64,154,.045);background:#fff}













.live-competition-detail #project-sheets .live-ranking-team-logo{width:42px;max-width:42px;height:42px;max-height:42px;padding:4px;object-fit:contain;background:#fff;border:1px solid #e9edf4;border-radius:12px;box-shadow:none}
.live-competition-detail #project-sheets .ranking td.d-flex{gap:8px!important;min-width:200px;display:flex!important;align-items:center}
.live-rank-position{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;border-radius:10px;background:#ecf1fd;color:#21409a;font-size:14px;font-weight:900}
.live-rank-position--first{background:#fff2e7;color:#ad520a}
.live-rank-position--second{background:#edf2f8;color:#526888}
.live-rank-position--third{background:#ecf5f4;color:#287478}
.live-competition-detail #project-sheets .ranking td.live-ranking-points>strong{display:inline-flex;align-items:center;justify-content:center;min-width:39px;padding:7px 9px;border-radius:10px;background:#21409a;color:#fff;font-size:15px;font-weight:900}
.live-form-dots{display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
.live-form-dot{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;border-radius:7px;font-size:10px;font-weight:800}
.live-form-dot--w{background:#e3f4ea;color:#087449}
.live-form-dot--d{background:#eaf0fa;color:#62779b}
.live-form-dot--l{background:#fff0eb;color:#c45029}

/* Fixture column: football/volley/basket results without the legacy italic score. */

.live-result-fixture{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px 14px;min-width:250px;align-items:center}
.live-result-fixture__teams{display:grid;gap:9px;min-width:0}
.live-result-fixture__team{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px;font-weight:750}
.live-result-fixture__team img{width:32px;height:32px;object-fit:contain;padding:3px;border-radius:9px;background:#fff;border:1px solid #e7edf6;flex:0 0 auto}
.live-result-fixture__team a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;max-width:100%}
.live-result-fixture__score{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center}
.live-result-fixture__score>span{display:flex;align-items:center;justify-content:center;width:34px;height:33px;background:#eef3fb;color:#21409a;border-radius:9px;font-size:16px;font-weight:900;font-variant-numeric:tabular-nums}
.live-result-fixture__score.is-pending>span{background:#f6f7fa;color:#a4afc1}
.live-result-fixture__meta{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:1px}
.live-result-state{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.01em;line-height:1.2}
.live-result-state i{font-size:12px}
.live-result-state--final{background:#e5f5eb;color:#167047}
.live-result-state--unofficial{background:#fff0e5;color:#a84911}
.live-result-state--pending{background:#edf2fb;color:#61728f}
.live-result-fixture__partials{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.live-partial-pill{padding:4px 7px;border-radius:6px;border:1px solid #e6ebf3;background:#f8fafc;color:#5b6b84;font-size:10px;font-weight:750;font-variant-numeric:tabular-nums}
.live-result-datetime{display:flex;flex-direction:column;gap:4px;min-width:102px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.live-result-datetime span{font-size:12px;color:#21409a}
.live-result-datetime strong{font-size:13px;color:#4c6082}
.live-result-number{display:inline-flex;align-items:center;padding:7px 9px;border-radius:8px;background:#eef3fc;color:#21409a!important;font-weight:800;white-space:nowrap}
.live-result-location{display:flex;align-items:flex-start;gap:8px;min-width:120px}.live-result-location>i{color:#f37021;font-size:16px;margin-top:2px}
.live-result-location__name{display:block;line-height:1.4}
.live-result-location__address{display:block;color:#8290a7!important;font-size:11px!important;font-weight:500!important;margin-top:3px}







.live-competition-detail #project-sheets .accordion-item{border:1px solid #e2eaf6;background:#fff;border-radius:15px;box-shadow:0 7px 16px rgba(33,64,154,.04);overflow:hidden;margin:12px 0}
.live-competition-detail #project-sheets .accordion-button{background:#fff;font-size:14px;font-weight:800;color:#21409a;padding:19px 20px}
.live-competition-detail #project-sheets .accordion-button:not(.collapsed){background:#f0f4fd!important;color:#21409a;box-shadow:none}
.live-competition-detail #project-sheets .accordion-button:focus{box-shadow:0 0 0 3px rgba(243,112,33,.19)}
.live-competition-detail #project-sheets .nav-pills{display:flex;gap:6px;flex-wrap:wrap}
.live-competition-detail #project-sheets .nav-pills .nav-link{border:1px solid #dfe7f4;background:#fff;color:#21409a;border-radius:9px;padding:9px 15px;font-size:11px;font-weight:800}
.live-competition-detail #project-sheets .nav-pills .nav-link.active{background:#21409a;border-color:#21409a;color:#fff!important}
.live-competition-detail #project-sheets table.scorers tbody td:nth-child(2),.live-competition-detail #project-sheets table.mvps tbody td:nth-child(2){font-weight:800}
.live-competition-detail #project-sheets .dropdown-menu{border:1px solid #e4eaf3;border-radius:13px;box-shadow:0 12px 30px rgba(33,64,154,.13)}
.live-competition-detail #project-sheets .dropdown-item{font-size:12px;font-weight:700;padding:10px 15px}
.live-competition-detail #project-sheets .dropdown-item:hover{background:#eef3fc;color:#21409a}
@media(max-width:768px){
 .live-competition-detail #project-sheets .live-project-sheets__body{padding:13px}
 
 .live-competition-detail #project-sheets .nav-tabs .nav-link{padding:9px 10px;font-size:11px}
 .live-competition-detail #project-sheets .table-responsive{border-radius:12px}
 .live-result-fixture{min-width:190px;grid-template-columns:minmax(0,1fr) 36px}
 .live-result-fixture__team img{width:26px;height:26px}
 .live-result-fixture__score>span{width:30px;height:29px;font-size:13px}
}

/* === Frontend / Scheda gara (game.php) ================================ */
.live-game-detail{--game-blue:#21409a;--game-orange:#f37021}
.live-game-detail .live-competition-main{padding-bottom:40px}
.live-game-detail [id^="match-"]{scroll-margin-top:110px}
.live-game-hero{overflow:hidden;background:linear-gradient(120deg,#21409a 0%,#17367d 100%);color:#fff;border-radius:23px;box-shadow:0 16px 38px rgba(33,64,154,.16);margin:18px 0 20px}
.live-game-hero__top{padding:25px 30px 12px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}
.live-game-hero__eyebrow{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.45;letter-spacing:.06em;text-transform:uppercase;font-weight:800;color:#dce7ff;margin:0 0 11px}
.live-game-hero__eyebrow img{width:26px;height:26px;border-radius:9px;padding:2px;background:#fff;object-fit:contain}
.live-game-hero__top h1{color:#fff;font-size:29px;line-height:1.2;font-weight:800;letter-spacing:-.04em;margin:0 0 6px}
.live-game-hero__top h1 span{color:#ffba8a}
.live-game-hero__top p:last-child{color:#cfddfc;font-size:13px;margin:0}
.live-game-hero__state{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.16);font-size:12px;font-weight:800;color:#fff;white-space:nowrap}
.live-game-hero__state.is-final{background:#e6f7ec;color:#146842}
.live-game-hero__state.is-provisional{background:#fff0e4;color:#a84800}
.live-game-hero__scoreboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.8fr) minmax(0,1fr);align-items:center;gap:18px;padding:26px 36px 36px}
.live-game-hero__team{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;text-align:center;color:#fff!important}
.live-game-hero__team img{background:#fff;width:88px;height:88px;border-radius:24px;object-fit:contain;padding:8px;box-shadow:0 10px 24px rgba(8,22,53,.17)}
.live-game-hero__team strong{font-size:19px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.live-game-hero__team small{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#d9e6fe;font-weight:700}
.live-game-hero__team:hover strong{text-decoration:underline}
.live-game-hero__center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;min-width:0}
.live-game-hero__numbers{display:flex;align-items:center;justify-content:center;gap:11px;font-size:clamp(36px,5vw,66px);line-height:1;letter-spacing:-.06em;font-weight:800;font-variant-numeric:tabular-nums;color:#fff}
.live-game-hero__numbers b{font-size:.6em;color:#ffad77;font-weight:800}
.live-game-hero__versus{display:flex;align-items:center;justify-content:center;width:70px;height:70px;border:2px solid rgba(255,255,255,.3);border-radius:50%;font-size:29px;font-weight:800;letter-spacing:-.06em}
.live-game-hero__stage{font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:#dce7ff}
.live-game-hero__partials{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;max-width:390px;margin-top:5px}
.live-game-hero__partials span{display:flex;flex-direction:column;gap:2px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:7px 10px;min-width:52px;font-weight:800;font-size:13px}
.live-game-hero__partials small{font-size:9px;color:#dae5ff;white-space:nowrap;font-weight:600}
.live-game-hero__facts{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px 28px;background:rgba(0,0,0,.12);border-top:1px solid rgba(255,255,255,.12);padding:15px 24px}
.live-game-hero__facts span{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#f0f5ff}
.live-game-hero__facts i{font-size:15px;color:#ffb37b}
.live-game-hero__facts a{color:inherit!important;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:3px}
.live-game-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.live-game-navigation__links{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.live-game-navigation__links a{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #d8e2ef;border-radius:12px;padding:11px 14px;font-size:12px;font-weight:800;color:#21409a!important;box-shadow:0 4px 14px rgba(33,64,154,.06)}
.live-game-navigation__links a:hover{background:#edf3ff;border-color:#9fb4e5}
.live-game-navigation__links i{color:#f37021}
.live-game-actions{background:#f37021!important;border:1px solid #e9681d!important;color:#fff!important;border-radius:12px!important;padding:10px 16px!important;font-size:13px!important;font-weight:800!important}
.live-game-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);align-items:start;gap:20px}
.live-game-grid__primary,.live-game-grid__secondary{display:flex;flex-direction:column;gap:20px;min-width:0}
.live-game-panel{--live-ui-surface-bg:#fff;--live-ui-surface-line:1px solid #dfe7f2;--live-ui-surface-radius:20px;--live-ui-surface-shadow:0 8px 27px rgba(22,48,99,.055);overflow:hidden;min-width:0}
.live-game-panel__heading{padding:19px 22px 16px;border-bottom:1px solid #e7edf6;background:#f9fbfe}
.live-game-panel__heading .live-overline{margin:0 0 6px;font-size:10px;font-weight:800;letter-spacing:.14em;color:#f37021}
.live-game-panel__heading h2{display:flex;align-items:center;gap:10px;font-size:18px;line-height:1.3;color:#21409a;font-weight:800;letter-spacing:-.02em;margin:0}
.live-game-panel__heading h2 i{color:#f37021}
.live-game-panel__body{padding:22px;overflow-wrap:anywhere}
.live-game-panel__body a:not(.btn){color:#21409a;font-weight:600}
.live-game-panel__body a:not(.btn):hover{color:#f37021}
.live-game-panel__body--map{padding:20px}
.live-game-panel__field-name{font-size:16px;font-weight:800;color:#21409a;margin:0 0 5px}
.live-game-panel__field-address{font-size:12px;color:#60728e;margin:0 0 15px}
.live-game-panel__body--map .field-map-wrap #map{border:0!important;border-radius:15px!important;overflow:hidden}
.live-game-panel__body--report .contanier{max-width:100%;min-width:0}
.live-game-panel__body--report .solid-border{border-color:#e7edf7!important}
.live-game-panel__body--report .game-result-stage h1,.live-game-panel__body--report .game-result-stage h2,.live-game-panel__body--report .game-result-stage h3{color:#21409a}
.live-game-panel__body--report .contanier>div:nth-child(2) img{max-height:65px!important}
.live-game-panel__body--report .contanier>div:nth-child(2) h5{font-size:14px}
.live-game-panel .table{--bs-table-striped-bg:transparent;--bs-table-hover-bg:#f6f8fc}
.live-game-panel .table>tbody>tr>td,.live-game-panel .table>tbody>tr>th{border-color:#edf1f7}
.live-game-empty{text-align:center;background:#fff;padding:70px 20px;border:1px solid #dee7f3;border-radius:22px;margin:22px 0}
.live-game-empty>i{font-size:44px;color:#f37021;display:block;margin-bottom:14px}
.live-game-empty h1{font-size:26px;color:#21409a;font-weight:800}.live-game-empty p{color:#66758d}.live-game-empty a{color:#21409a;font-weight:800}
@media(max-width:1199.98px){.live-game-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr)}}
@media(max-width:991.98px){.live-game-grid{grid-template-columns:1fr}.live-game-grid__secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.live-game-grid__secondary #match-live{grid-column:1/-1}}
@media(max-width:767.98px){.live-game-hero__top{padding:22px 18px 8px}.live-game-hero__top h1{font-size:24px}.live-game-hero__scoreboard{grid-template-columns:1fr 1.1fr 1fr;padding:23px 16px;gap:8px}.live-game-hero__team img{width:68px;height:68px;border-radius:18px}.live-game-hero__team strong{font-size:14px}.live-game-hero__numbers{font-size:38px;gap:6px}.live-game-hero__versus{width:55px;height:55px;font-size:22px}.live-game-hero__facts{gap:12px;padding:14px 16px}.live-game-grid__secondary{display:flex}.live-game-panel__body{padding:15px}.live-game-panel__heading{padding:17px}.live-game-navigation__links{gap:6px}.live-game-navigation__links a{padding:9px 11px;font-size:11px}}
@media(max-width:420px){.live-game-hero__team img{width:58px;height:58px}.live-game-hero__scoreboard{padding:20px 10px}.live-game-hero__team strong{font-size:12px}.live-game-hero__numbers{font-size:32px}.live-game-hero__partials span{padding:5px 6px;min-width:41px;font-size:11px}}

/* Fase 3.1 – scheda gara: ufficiali nel risultato omologato */
.live-game-hero__officials{margin:18px 22px 0;padding:17px 0 0;border-top:1px solid rgba(255,255,255,.21)}
.live-game-hero__officials-title{display:flex;align-items:center;gap:9px;margin-bottom:12px;color:#fff;font-weight:800;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.live-game-hero__officials-title i{color:#ffcc9f;font-size:17px}
.live-game-hero__officials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px 14px;padding-bottom:4px}
.live-game-hero__official{display:flex;gap:10px;align-items:center;min-width:0;padding:11px 12px;border:1px solid rgba(255,255,255,.19);border-radius:13px;background:rgba(255,255,255,.10)}
.live-game-hero__official-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;flex:0 0 auto;background:rgba(243,112,33,.19);color:#ffcdab;font-size:16px}
.live-game-hero__official>span:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}
.live-game-hero__official small{font-size:10px;font-weight:700;color:#c8d9f8}
.live-game-hero__official strong{font-size:12px;line-height:1.35;font-weight:800;color:#fff;overflow-wrap:anywhere}

/* Forma storica prima delle probabilità: la barra è dati, non una stima. */
.live-game-form{padding:2px 0 22px;margin-bottom:18px;border-bottom:1px solid #e9edf5}
.live-game-form__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.live-game-form__head h3{margin:0;color:#21409A;font-size:17px;font-weight:800;letter-spacing:-.025em}
.live-game-form__asof{display:inline-flex;align-items:center;gap:7px;color:#63718d;background:#edf3ff;border:1px solid #e3ebfb;border-radius:999px;padding:7px 9px;font-size:10px;font-weight:700}
.live-game-form__hint{font-size:11px;line-height:1.55;color:#69768d;margin:9px 0 15px}
.live-game-form__teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.live-game-form__team{min-width:0;border:1px solid #e5eaf3;border-radius:15px;padding:14px 12px;background:#fff;box-shadow:0 3px 14px rgba(33,64,154,.045)}
.live-game-form__team-head{display:flex;align-items:center;gap:9px;min-width:0;margin-bottom:13px}
.live-game-form__team-head img{width:35px;height:35px;object-fit:contain;flex:0 0 auto}
.live-game-form__team-head strong{color:#21409A;font-size:12px;font-weight:800;line-height:1.4;overflow-wrap:anywhere}
.live-game-form__total{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:2px 8px;color:#64728b}
.live-game-form__total>strong:first-child{font-size:21px;color:#21409A;line-height:1;font-weight:800}
.live-game-form__total>span:nth-child(2){font-size:10px;font-weight:600}
.live-game-form__total .live-game-form__rate{font-size:20px;color:#F37021;text-align:right;font-weight:800;grid-column:3;grid-row:1}
.live-game-form__total>span:last-child{font-size:9px;font-weight:700;grid-column:3;grid-row:2;text-align:right}
.live-game-form__bar{height:10px;margin:15px 0 10px;overflow:hidden;border-radius:100px;background:#e8edf7;display:flex}
.live-game-form__bar span{height:100%;flex:none}
.live-game-form__bar .is-win,.live-game-form__legend i.is-win{background:#199a70}
.live-game-form__bar .is-draw,.live-game-form__legend i.is-draw{background:#f4ae4c}
.live-game-form__bar .is-loss,.live-game-form__legend i.is-loss{background:#db5670}
.live-game-form__legend{display:flex;gap:8px 11px;flex-wrap:wrap;font-size:10px;font-weight:600;color:#54657e}
.live-game-form__legend span{display:flex;align-items:center;gap:4px}
.live-game-form__legend i{width:7px;height:7px;flex:0 0 auto;border-radius:50%;display:inline-block}
.live-game-form__legend strong{font-size:11px;color:#21409A}
.live-game-form__recent{padding-top:13px;margin-top:12px;border-top:1px solid #ecf0f6;display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:8px}
.live-game-form__recent>small{font-size:10px;font-weight:700;color:#6a768c}
.live-game-form__chips{display:flex;gap:4px}
.live-game-form__chip{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:7px;font-weight:800;font-size:10px}
.live-game-form__chip.is-win{color:#007b51;background:#e0f3eb}
.live-game-form__chip.is-draw{color:#8b5315;background:#fff0d7}
.live-game-form__chip.is-loss{color:#b52849;background:#ffe6eb}
.live-game-form__no-games,.live-game-form__empty{font-size:11px;color:#7b869c}
.live-game-stats__history{padding-top:12px}
@media(max-width:767.98px){.live-game-hero__officials{margin:14px 10px 0}.live-game-hero__officials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575.98px){.live-game-form__teams{grid-template-columns:1fr}.live-game-hero__officials-grid{grid-template-columns:1fr}}

/* Campanella condivisa. Il contenuto viene caricato senza bloccare la pagina. */
.live-notifications{position:relative}
.live-notifications__toggle{position:relative;display:inline-flex;align-items:center;justify-content:center}
.live-notifications__toggle .bi-bell{font-size:19px}
.live-notifications__count{position:absolute;right:-4px;top:-7px;min-width:20px;height:20px;border-radius:12px;padding:1px 5px;background:#F37021;color:#fff;font-size:10px;line-height:18px;font-weight:800;text-align:center;box-shadow:0 0 0 2px #fff}
.live-notifications__count[hidden]{display:none!important}
.live-notifications__menu{width:min(400px,calc(100vw - 30px));max-height:min(68vh,550px);overflow-y:auto;padding:8px;border:1px solid #e2e8f3;border-radius:16px;box-shadow:0 20px 55px rgba(15,40,85,.18)}
.live-notifications__group-title{display:flex;justify-content:space-between;gap:12px;color:#21409A;font-size:11px;font-weight:800;letter-spacing:.02em;padding:11px 12px 7px}
.live-notifications__group-title span{color:#F37021}
.live-notifications__item{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:10px;color:#19345d!important}
.live-notifications__item:hover{background:#f2f6ff}
.live-notifications__item>i{color:#F37021;font-size:16px;margin-top:2px;flex:0 0 auto}
.live-notifications__item span{display:flex;flex-direction:column;gap:5px;min-width:0}
.live-notifications__item strong{font-size:11px;line-height:1.35;font-weight:800;overflow-wrap:anywhere}
.live-notifications__item small{font-size:10px;line-height:1.5;color:#697993}
.live-notifications__empty,.live-notifications__more{padding:18px 13px;color:#77859b;font-size:11px}
.live-notifications__empty i{color:#199a70;margin-right:4px}
.live-notifications__footer{border-top:1px solid #e5eaf3;padding:10px 12px 6px;text-align:center}
.live-notifications__footer a{font-size:11px;font-weight:800;color:#21409A!important}

/* ===== TEAM DETAILS / FRONTEND CSI - FASE 4 ===== */
.live-team-detail .live-competition-container{max-width:1460px}
.live-team-detail .live-team-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:center;min-height:275px;margin:6px 0 18px;padding:35px 38px;border-radius:22px;color:#fff;background:linear-gradient(118deg,#21409a,#152a69);box-shadow:0 18px 44px rgba(24,55,126,.15)}
.live-team-hero__cover{position:absolute;z-index:-2;right:0;top:0;width:55%;height:100%;object-fit:cover;object-position:center;opacity:.24;mask-image:linear-gradient(to right,transparent,#000 60%);-webkit-mask-image:linear-gradient(to right,transparent,#000 60%)}
.live-team-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 96% 0,rgba(243,112,33,.24),transparent 41%)}
.live-team-hero__identity{display:flex;align-items:center;gap:24px;min-width:0}
.live-team-hero__logo{width:104px;height:104px;flex:0 0 104px;object-fit:contain;background:#fff;border:5px solid rgba(255,255,255,.25);border-radius:24px;padding:9px;box-shadow:0 10px 25px rgba(9,26,71,.18)}
.live-team-hero__identity .live-overline{color:#ffc99f;letter-spacing:.11em;margin:0 0 10px}
.live-team-hero h1{font-size:clamp(29px,3.1vw,44px);line-height:1.12;letter-spacing:-.04em;font-weight:800;margin:0 0 10px;color:#fff}
.live-team-hero__season{margin:0;font-size:13px;font-weight:650;color:#e1eaff;display:flex;align-items:center;gap:8px}
.live-team-hero__facts{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:26px}
.live-team-hero__facts span,.live-team-hero__facts a{display:inline-flex;align-items:center;gap:8px;min-height:35px;padding:7px 11px;border-radius:10px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.14);color:#fff;font-size:12px;font-weight:650;line-height:1.3}
.live-team-hero__facts a:hover{background:rgba(255,255,255,.24);color:#fff}
.live-team-hero__facts i{font-size:14px;color:#ffc79f}
.live-team-hero__description{margin:19px 0 0;max-width:740px;font-size:13px;line-height:1.7;color:#ecf2ff}
.live-team-info{background:#fff;border:1px solid #e4eaf4;border-radius:16px;margin-bottom:14px;box-shadow:0 5px 19px rgba(22,51,108,.045)}
.live-team-info>summary{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:17px 20px;cursor:pointer;list-style:none;color:#21409a;font-size:14px;font-weight:750}
.live-team-info>summary::-webkit-details-marker{display:none}
.live-team-info>summary>span{display:flex;align-items:center;gap:9px}
.live-team-info>summary i{color:#f37021}
.live-team-info[open]>summary>i:last-child{transform:rotate(180deg)}
.live-team-info__grid{border-top:1px solid #eef1f8;display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:22px}
.live-team-info__column h3{font-size:13px;color:#21409a;font-weight:800;margin:7px 0 13px;display:flex;align-items:center;gap:9px}
.live-team-info__column h3:not(:first-child){margin-top:22px}.live-team-info__column h3 i{color:#f37021}
.live-team-info__column p{margin:0 0 11px;color:#66728b;font-size:13px;line-height:1.5}
.live-team-info__column p a{font-weight:700;color:#21409a}.live-team-info__column p a:hover{color:#f37021}
.live-team-info__column p small{display:block;font-size:11px;color:#7b869f;margin-top:2px}
.live-team-info__owners{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:7px}
.live-team-info__owners a{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:700;color:#21409a}
.live-team-info__owners a:hover{color:#f37021}.live-team-info__owners i{color:#f37021}
.live-team-info__social{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.live-team-info__social a{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #e1e8f6;border-radius:11px;font-size:12px;color:#21409a;font-weight:700}
.live-team-info__social a:hover{background:#f4f7ff}
.live-team-actionsbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 2px;margin-bottom:21px;border-bottom:1px solid #e5eaf3}
.live-team-actionsbar__links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.live-team-actionsbar__links a{display:inline-flex;align-items:center;gap:8px;border:1px solid #dbe3f1;border-radius:11px;padding:10px 14px;color:#21409a;background:#fff;font-size:12px;font-weight:750}
.live-team-actionsbar__links a i{color:#f37021}.live-team-actionsbar__links a:hover{border-color:#21409a;box-shadow:0 6px 18px rgba(33,64,154,.1)}
.live-team-detail .live-game-actions{background:#21409a;color:#fff;font-size:12px;font-weight:750;padding:10px 14px;border-radius:11px}
.live-team-detail .live-game-actions:hover,.live-team-detail .live-game-actions:focus{background:#173581;color:#fff}
.live-team-section{scroll-margin-top:115px;margin:33px 0 37px}
.live-team-section__heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:17px}
.live-team-section__heading .live-overline{margin-bottom:7px}
.live-team-section__heading h2{color:#21409a;font-size:clamp(19px,2vw,25px);font-weight:800;letter-spacing:-.035em;margin:0}
.live-team-section__heading>span{color:#748099;font-size:12px;font-weight:600;text-align:right}
.live-team-count{display:inline-flex;justify-content:center;align-items:center;min-width:29px;height:29px;border-radius:9px;background:#eef2fc;color:#21409a;font-size:12px;vertical-align:middle;margin-left:3px}
.live-team-matches-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.live-team-panel{--live-ui-surface-bg:#fff;--live-ui-surface-line:1px solid #e0e7f3;--live-ui-surface-radius:16px;--live-ui-surface-shadow:0 8px 26px rgba(17,41,91,.055);overflow:hidden;min-width:0}
.live-team-panel__heading{padding:18px 18px 15px;border-bottom:1px solid #edf0f7;display:flex;align-items:center;justify-content:space-between;gap:14px}
.live-team-panel__heading h3{margin:0;display:flex;align-items:center;gap:9px;color:#21409a;font-size:15px;font-weight:800}
.live-team-panel__heading h3 i{color:#f37021}
.live-team-panel__heading>span{background:#eef2fb;border-radius:9px;padding:6px 10px;color:#21409a;font-size:12px;font-weight:800}
.live-team-game-list{display:grid;gap:12px;padding:14px}
.live-team-game-list .live-game-card{box-shadow:none;border:1px solid #e5eaf4}
.live-team-game-list .live-game-card__body{min-width:0;grid-template-columns:54px minmax(0,1fr) 36px;gap:10px}
.live-team-game-list .live-game-card__chevron{display:none}
.live-team-game-list .live-game-card__team span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-team-game-list .live-game-card__top{padding:12px 13px;gap:7px}
.live-team-game-list .live-game-card__bottom{padding:11px 13px}
.live-team-game-list .live-game-card__time{padding-right:6px}
.live-team-game-list .live-game-card__time span{font-size:13px}
.live-team-game-list .live-game-card__time small{font-size:10px}
.live-team-game-list .live-game-card__score strong{font-size:17px}
.live-team-game-list .live-game-card__teams span{font-size:11px}
.live-team-game-list .live-game-card__team img{width:25px;height:25px}
.live-team-empty{min-height:110px;padding:25px 16px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center;color:#76819a;font-size:12px;font-weight:600}
.live-team-empty i{font-size:26px;color:#f37021}.live-team-empty p{margin:0}
.live-team-people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.live-team-person{min-width:0;background:#fff;border:1px solid #e2e8f3;border-radius:15px;overflow:hidden;box-shadow:0 7px 19px rgba(18,38,84,.05);transition:border-color .18s,transform .18s}
.live-team-person:hover{border-color:#d1dcf0;transform:translateY(-2px)}
.live-team-person__identity{display:flex;align-items:center;gap:12px;min-height:89px;padding:12px 15px;color:#213654}
.live-team-person__identity img{width:62px;height:62px;border-radius:13px;border:1px solid #e2e8f3;background:#f5f7fb;object-fit:cover;flex:0 0 62px}
.live-team-person__content{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.live-team-person__content strong{color:#21409a;font-size:13px;font-weight:800;line-height:1.4;overflow-wrap:anywhere}
.live-team-person__content small{color:#77839a;font-size:11px;font-weight:650}
.live-team-person__number{display:flex;align-items:center;justify-content:center;flex:0 0 32px;height:32px;border-radius:10px;background:#fff1e8;border:1px solid #ffd6b9;color:#b04b12;font-size:13px;font-weight:800}
.live-team-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.live-team-project{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid #e0e7f3;border-radius:14px;background:#fff;color:#21409a;transition:box-shadow .18s,border-color .18s}
.live-team-project:hover{border-color:#bdd0ed;box-shadow:0 12px 25px rgba(17,47,112,.08)}
.live-team-project>span{height:39px;width:39px;border-radius:12px;background:#fff0e5;color:#f37021;display:flex;align-items:center;justify-content:center;flex:0 0 39px}
.live-team-project strong{font-size:13px;font-weight:800;line-height:1.5;flex:1}
.live-team-project strong small{display:block;color:#78849b;font-size:11px}
.live-team-project>i{color:#8795b0}
@media(max-width:1199.98px){
 .live-team-matches-grid{grid-template-columns:1fr}
 .live-team-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .live-team-game-list .live-game-card__body{grid-template-columns:60px minmax(0,1fr) 40px}
}
@media(max-width:767.98px){
 .live-team-detail .live-team-hero{padding:25px 20px;min-height:235px}
 .live-team-hero__identity{gap:13px;align-items:flex-start}
 .live-team-hero__logo{width:72px;height:72px;flex-basis:72px;padding:5px;border-radius:17px}
 .live-team-hero h1{font-size:25px}
 .live-team-hero__facts{margin-top:18px}
 .live-team-info__grid{grid-template-columns:1fr;gap:10px;padding:16px}
 .live-team-actionsbar{align-items:flex-start;flex-wrap:wrap;gap:10px}
 .live-team-section__heading{flex-wrap:wrap}
 .live-team-project-grid{grid-template-columns:1fr}
}
@media(max-width:490px){
 .live-team-people-grid{grid-template-columns:1fr}
 .live-team-hero__identity{flex-direction:column}
 .live-team-game-list{padding:9px}
 .live-team-game-list .live-game-card__top{flex-wrap:wrap}
 .live-team-game-list .live-game-card__body{grid-template-columns:52px minmax(0,1fr) 32px;gap:7px;padding:11px 8px}
 .live-team-game-list .live-game-card__team span{font-size:10px}
 .live-team-game-list .live-game-card__team img{width:23px;height:23px}
 .live-team-actionsbar__links{width:100%}
 .live-team-actionsbar__links a{padding:8px 10px}
}

/* Scheda squadra: allenamenti effettivi, giorno + orario + impianto per ogni slot EAV. */
.live-team-training{margin-top:22px}
.live-team-info__column .live-team-training h3{margin-bottom:12px;flex-wrap:wrap}
.live-team-training__count{margin-left:auto;color:#64738c;font-size:11px;font-weight:600}
.live-team-training__list{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.live-team-training__slot{display:grid;grid-template-columns:minmax(108px,.7fr) minmax(0,1fr);gap:13px;align-items:center;padding:12px;border:1px solid #e6ecf6;border-radius:12px;background:#f9fbff}
.live-team-training__when{display:flex;flex-direction:column;gap:4px}
.live-team-training__when strong{color:#21409a;font-size:13px;font-weight:800}
.live-team-training__when span{display:inline-flex;align-items:center;gap:6px;color:#4b5e7b;font-size:12px;font-weight:700}
.live-team-training__when i,.live-team-training__where>i{color:#f37021}
.live-team-training__where{display:flex;align-items:flex-start;gap:8px;min-width:0;color:#5b6981;font-size:12px}
.live-team-training__where a{color:#21409a;font-weight:750;line-height:1.45;overflow-wrap:anywhere}
.live-team-training__where a:hover{color:#f37021}
.live-team-training__where small{display:block;color:#7b869f;line-height:1.4;margin-top:3px;font-size:11px}
@media(max-width:440px){.live-team-training__slot{grid-template-columns:1fr;gap:8px}.live-team-training__where{padding-top:8px;border-top:1px solid #e6ecf6}}

/* TEAM DETAILS: nuova panoramica e calendario (fase 4.1) */
.live-team-overview{margin:24px 0 16px}
.live-team-overview__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.live-team-overview__panel{padding:21px;background:#fff;border:1px solid #dfe6f2;border-radius:19px;box-shadow:0 12px 32px rgba(23,45,94,.045);min-width:0}
.live-team-overview__panel-title{display:flex;align-items:center;gap:12px;margin-bottom:19px}
.live-team-overview__panel-title>span{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;background:#eff3fe;color:#21409a;border-radius:14px;font-size:21px}
.live-team-overview__panel-title h3{font-size:16px;font-weight:800;color:#21409a;margin:0 0 4px}
.live-team-overview__panel-title p{font-size:11px;line-height:1.45;color:#7d899e;margin:0}
.live-team-schedule{padding:0;margin:0;list-style:none;display:grid;gap:9px}
.live-team-schedule__item{display:grid;grid-template-columns:minmax(96px,.5fr) minmax(0,1fr);gap:15px;align-items:center;background:#f8faff;border:1px solid #e9eef8;border-radius:13px;padding:13px}
.live-team-schedule__day{font-size:13px;color:#21409a;font-weight:800}
.live-team-schedule__item>div{display:grid;gap:6px}
.live-team-schedule__item strong,.live-team-schedule__item a{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.4}
.live-team-schedule__item strong{color:#253c63}
.live-team-schedule__item a{color:#21409a;font-weight:650}
.live-team-schedule__item i{color:#f37021}
.live-team-overview__empty{font-size:12px;color:#75829a;margin:0}
.live-team-contacts{display:grid;gap:12px}
.live-team-contact{display:flex;align-items:center;gap:14px;border:1px solid #e6ecf7;background:#fbfcff;padding:12px;border-radius:14px;min-width:0}
.live-team-contact>img{width:88px;height:96px;flex:0 0 88px;object-fit:contain;object-position:center;border:1px solid #e1e8f5;background:#f1f4fa;border-radius:12px}
.live-team-contact__body{min-width:0;display:grid;gap:6px;flex:1}
.live-team-contact__name{font-size:14px;font-weight:800;color:#21409a}
.live-team-contact__role{font-size:11px;color:#7a879b;font-weight:650}
.live-team-contact__action{display:flex;align-items:center;gap:7px;min-width:0}
.live-team-contact__action>a{font-size:12px;line-height:1.4;color:#42597d;overflow-wrap:anywhere;min-width:0;flex:1}
.live-team-contact__action>a i{color:#f37021;margin-right:5px}
/* The .live-ui-copy primitive styles owner contact copy buttons. */
.live-team-contact__action button:hover,.live-team-contact__action button.is-copied{background:#21409a;color:#fff}
.live-team-overview__fields{display:grid;gap:8px}
.live-team-overview__fields>a{display:flex;align-items:center;gap:10px;padding:11px;background:#f8faff;border:1px solid #e9eef8;border-radius:12px;color:#21409a}
.live-team-overview__fields>a>span{display:grid;gap:3px;flex:1;min-width:0}
.live-team-overview__fields>a strong{font-size:12px}.live-team-overview__fields>a small{font-size:11px;color:#7a879d}
.live-team-overview__fields>a>i:first-child{color:#f37021}
.live-team-overview__social{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
.live-team-overview__social a{display:inline-flex;align-items:center;gap:7px;background:#eef3ff;color:#21409a;padding:9px 11px;border-radius:10px;font-size:11px;font-weight:700}
.live-team-calendar-panel{background:#fff;border:1px solid #e0e7f3;border-radius:20px;box-shadow:0 12px 32px rgba(17,41,91,.06);padding:22px;position:relative;min-width:0}
.live-team-calendar-panel .live-project-calendar__legend{justify-content:flex-end;margin-bottom:16px}
.live-team-calendar-panel .live-calendar-loader[hidden],.live-team-calendar-panel .live-project-calendar-error[hidden]{display:none!important}
.live-team-detail .fc{color:#21409a;font-family:Inter,system-ui,sans-serif}
.live-team-detail .fc .fc-toolbar{flex-wrap:wrap;gap:10px}
.live-team-detail .fc .fc-toolbar-title{color:#21409a;font-size:22px;font-weight:800}
.live-team-detail .fc .fc-button{background:#eef3ff;color:#21409a;border:1px solid #dbe4f4;border-radius:10px;padding:9px 12px;font-size:12px;font-weight:700;box-shadow:none!important}
.live-team-detail .fc .fc-button:hover,.live-team-detail .fc .fc-button:focus{background:#e3eafd;color:#21409a;border-color:#c4d1e9}
.live-team-detail .fc .fc-button-primary:not(:disabled).fc-button-active{background:#21409a;color:#fff;border-color:#21409a}
.live-team-detail .fc .fc-daygrid-day.fc-day-today{background:#eff4ff}
.live-team-detail .fc .fc-col-header-cell{background:#f4f7ff}
.live-team-detail .fc .fc-event{cursor:pointer}
.live-team-detail .fc .fc-scrollgrid{border-radius:15px;overflow:hidden;border-color:#e0e7f3}
.live-team-form-panel{background:#fff;border:1px solid #e0e7f3;border-radius:20px;padding:25px;box-shadow:0 12px 32px rgba(17,41,91,.05)}
.live-team-form-panel__intro{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.live-team-form-panel__intro>i{width:47px;height:47px;border-radius:14px;display:grid;place-items:center;background:#21409a;color:#fff;font-size:22px}
.live-team-form-panel__intro>div{display:grid;gap:5px}.live-team-form-panel__intro strong{font-size:16px;color:#21409a}.live-team-form-panel__intro small{font-size:12px;color:#7b879f}
.live-team-form-summary{max-width:800px;display:grid;gap:19px}
.live-team-form-summary__top{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.live-team-form-summary__top strong{font-size:21px;color:#21409a}.live-team-form-summary__top span{font-size:13px;color:#f37021;font-weight:800}
.live-team-stats-loading{display:flex;align-items:center;gap:10px;font-size:13px;color:#64748f}
.live-team-detail .live-team-person__identity{min-height:128px;padding:16px;gap:16px}
.live-team-detail .live-team-person__identity img{width:104px;height:112px;flex:0 0 104px;object-fit:contain;object-position:center;background:#f5f7fc;border-radius:13px;padding:3px}
.live-team-detail .live-team-person__content strong{font-size:15px}.live-team-detail .live-team-person__content small{font-size:12px}
.live-team-history-card>img{width:108px;height:108px;flex:0 0 108px;object-fit:contain;object-position:center;background:#f5f7fc;border:1px solid #e0e7f3;border-radius:14px;padding:4px}
.live-team-history-card strong{font-size:15px}
@media(max-width:991.98px){.live-team-overview__grid{grid-template-columns:1fr}.live-team-detail .live-team-person__identity img{width:96px;height:104px;flex-basis:96px}}
@media(max-width:575.98px){.live-team-calendar-panel{padding:12px}.live-team-contact>img{width:74px;height:84px;flex-basis:74px}.live-team-detail .live-team-person__identity img{width:90px;height:100px;flex-basis:90px}.live-team-form-panel{padding:16px}.live-team-detail .fc .fc-toolbar-title{font-size:17px}}
@media(max-width:390px){.live-team-schedule__item{grid-template-columns:1fr}.live-team-history-card>img{width:82px;height:88px;flex-basis:82px}}

/* Stesso calendario-evento del campionato, senza dipendere dalla classe della pagina. */
.live-team-detail .fc a.fc-event.live-fc-event,.live-team-detail .fc .live-fc-event{display:block;white-space:normal!important;border:1px solid #e2e8f7!important;border-left:4px solid #f37021!important;background:#fff!important;color:#273b60!important;border-radius:10px;padding:0!important;box-shadow:0 3px 8px rgba(24,49,120,.075);overflow:hidden;min-width:0}
.live-team-detail .fc .live-fc-event--played{border-left-color:#21409a!important;background:#f8faff!important}
.live-team-detail .fc .live-fc-event:hover{box-shadow:0 6px 13px rgba(24,49,120,.16);border-color:#bdd0f2!important}
.live-team-detail .fc .live-fc-event .fc-event-main{color:inherit;padding:0}
.live-team-detail .fc .fc-list-event-title .live-fc-game{padding:7px 11px}
.live-team-detail .fc .fc-list-event-title .live-fc-game__team span{white-space:normal}
.live-team-detail .fc .fc-list-event-title .live-fc-game__field{max-width:none}

/* Scheda squadra: agenda unica, foto di squadra e contatti copiabili. */
.live-team-overview__layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.85fr);gap:16px;align-items:stretch}
.live-team-overview__layout:not(.has-team-photo) .live-team-overview__panel--schedule{grid-column:1/-1}
.live-team-overview__layout .live-team-overview__panel--contacts{grid-column:1/-1}
.live-team-overview__schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:18px}
.live-team-overview__schedule-block{min-width:0}
.live-team-overview__schedule-block h4,.live-team-overview__venues h4{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:800;color:#21409a;margin:0 0 14px}
.live-team-overview__schedule-block h4 i,.live-team-overview__venues h4 i{font-size:16px;color:#f37021}
.live-team-overview__schedule-block+.live-team-overview__schedule-block{padding-left:18px;border-left:1px solid #e8edf6}
.live-team-overview__schedule-block .live-team-schedule__item{grid-template-columns:minmax(70px,.52fr) minmax(0,1fr);gap:9px;padding:11px}
.live-team-overview__schedule-block .live-team-schedule__day{font-size:12px}
.live-team-overview__venues{padding-top:17px;border-top:1px solid #e8edf6}
.live-team-overview__venues .live-team-overview__fields{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.live-team-overview__photo{margin:0;background:#fff;border:1px solid #dfe6f2;border-radius:19px;box-shadow:0 12px 32px rgba(23,45,94,.06);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.live-team-overview__photo img{display:block;width:100%;height:100%;min-height:235px;max-height:460px;object-fit:contain;object-position:center;background:#f5f7fc;padding:12px;flex:1}
.live-team-overview__photo figcaption{display:flex;gap:8px;align-items:center;padding:13px 16px;color:#21409a;font-weight:750;font-size:12px;border-top:1px solid #e8edf6}
.live-team-overview__photo figcaption i{color:#f37021}
.live-team-overview__panel--contacts .live-team-contacts{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}
.live-team-copy:focus-visible{outline:2px solid #f37021;outline-offset:2px}
.live-team-copy.is-copied{background:#21409a;color:#fff}
.live-copy-tooltip{--bs-tooltip-bg:#f37021;--bs-tooltip-color:#fff;--bs-tooltip-opacity:1}
.live-copy-tooltip .tooltip-inner{background:#f37021;color:#fff;font-size:12px;font-weight:700;padding:8px 12px}
.live-team-empty a{color:#21409a;font-size:12px;font-weight:800;text-decoration:underline;text-decoration-color:#f37021;text-underline-offset:3px}
.live-team-empty a:hover{color:#f37021}

/* Classifiche e protagonisti: una richiesta separata per pannello. */
.live-sheet-pane[hidden]{display:none!important}
.live-sheet-loading{padding:30px 16px;display:flex;align-items:center;justify-content:center;gap:12px;color:#526b91;font-size:13px;font-weight:700;min-height:120px}
.live-sheet-loading .spinner-border{color:#f37021}
.live-sheet-empty{padding:36px 20px;text-align:center;background:#f8faff;border:1px dashed #dbe4f1;border-radius:15px;color:#61728e;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px}
.live-sheet-empty i{font-size:20px;color:#f37021}
.live-competition-detail .live-competition-action-tabs .btn.is-active{background:#21409a;border-color:#21409a;color:#fff!important;box-shadow:0 8px 19px rgba(33,64,154,.19)}
.live-competition-detail #project-sheets .live-sheet-pane{min-width:0}
.live-competition-detail #project-sheets .live-sheet-result-pane{display:block;min-width:0}
.live-competition-detail #project-sheets .live-sheet-pane .table-responsive{overflow-x:auto;max-width:100%}
@media(max-width:1199.98px){
 .live-team-overview__layout{grid-template-columns:minmax(0,1fr) minmax(240px,.8fr)}
 .live-team-overview__schedule-grid{grid-template-columns:1fr;gap:16px}
 .live-team-overview__schedule-block+.live-team-overview__schedule-block{padding:17px 0 0;border-left:0;border-top:1px solid #e8edf6}
}
@media(max-width:767.98px){
 .live-team-overview__layout{grid-template-columns:1fr}
 .live-team-overview__layout .live-team-overview__panel--contacts{grid-column:auto}
 .live-team-overview__photo img{min-height:210px;max-height:410px}
 .live-team-overview__schedule-grid{grid-template-columns:1fr}
}

/* Livescore CSI · squadra: calendario Google, modal gara e azioni (fase 4.3). */
.live-team-google-calendar{
    display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;
    padding:16px 20px;margin:0 0 16px;border-radius:19px;
    background:linear-gradient(100deg,#f5f8ff,#fff);border:1px solid #dae4f6;
    box-shadow:0 6px 18px rgba(33,64,154,.06)
}
.live-team-google-calendar__identity{display:flex;align-items:center;gap:12px;min-width:0}
.live-team-google-calendar__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#eaf0ff;color:#21409a;font-size:21px;flex:0 0 auto}
.live-team-google-calendar__identity>div{display:flex;flex-direction:column;gap:3px}
.live-team-google-calendar__identity strong{color:#21409a;font-size:14px;font-weight:800}
.live-team-google-calendar__identity small{color:#66768c;font-size:12px;line-height:1.45}
.live-team-google-calendar__actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.live-team-detail .live-team-google-calendar__open{display:inline-flex;align-items:center;gap:8px;padding:11px 13px;border-radius:12px;background:#21409a;color:#fff;font-size:12px;font-weight:800;text-decoration:none}
.live-team-detail .live-team-google-calendar__open:hover{background:#18327c;color:#fff}
.live-team-detail .live-team-google-calendar__copy,.live-team-detail .live-team-google-calendar__copy-ical{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid #d5dff0;
    border-radius:12px;padding:8px 12px;background:#fff;color:#21409a;font-size:12px;font-weight:800
}
.live-team-detail .live-team-google-calendar__copy:hover,.live-team-detail .live-team-google-calendar__copy-ical:hover{background:#edf3ff}
.live-team-detail .live-team-google-calendar__copy.is-copied,.live-team-detail .live-team-google-calendar__copy-ical.is-copied{background:#e4f6ee;border-color:#c5ecd9;color:#19764d}
.live-team-detail .live-team-google-calendar__ical{display:inline-flex;align-items:center;gap:7px;color:#21409a;padding:9px 6px;font-size:12px;font-weight:700;text-decoration:none}
.live-team-detail .live-team-google-calendar__ical:hover{color:#f37021}

/* Popup gara condiviso con il calendario campionato: varia solo la presentazione. */
.live-team-detail #eventModal .modal-dialog{max-width:min(700px,calc(100vw - 24px))}
.live-team-detail #eventModal .modal-content{border:1px solid rgba(33,64,154,.1);border-radius:22px;overflow:hidden;box-shadow:0 28px 70px rgba(14,35,74,.24)}
.live-team-detail #eventModal .modal-header{margin:0!important;padding:18px 22px;background:linear-gradient(115deg,#21409a,#3155af);color:#fff;border:0}
.live-team-detail #eventModal .modal-title{font-size:20px;font-weight:800;letter-spacing:-.025em;color:#fff}
.live-team-detail #eventModal .modal-header .btn-close{filter:invert(1) grayscale(100%) brightness(200%);opacity:.9}
.live-team-detail #eventModal .modal-header .dropdown-toggle{border:1px solid rgba(255,255,255,.36)!important;color:#fff;background:rgba(255,255,255,.13);border-radius:10px}
.live-team-detail #eventModal .modal-header .dropdown-toggle:hover{background:rgba(255,255,255,.25)}
.live-team-detail #eventModal .modal-body{padding:21px 25px;color:#233553}
.live-team-detail #eventModal .modal-body #modal-event-match_id{padding:0 0 10px!important;margin-bottom:8px;border-color:#e4eaf4!important;color:#61728e}
.live-team-detail #eventModal .modal-body .row.align-items-center{background:#f6f8fe;border:1px solid #e5ebf6;border-radius:18px;padding:24px 10px!important;margin:10px 0}
.live-team-detail #eventModal .modal-body .row.align-items-center img{width:56px;height:56px;max-width:100%;object-fit:contain}
.live-team-detail #eventModal .modal-body .row.align-items-center strong{display:block;color:#183875;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.live-team-detail #eventModal .modal-body .row.align-items-center h2{color:#21409a;font-size:clamp(21px,3vw,30px);font-weight:800;white-space:nowrap;margin:0}
.live-team-detail #eventModal .modal-footer{margin:0!important;padding:15px 23px;background:#f9fbff;border-top:1px solid #e7edf7}
.live-team-detail #eventModal .modal-footer #goToMatch{display:inline-flex;align-items:center;gap:8px;padding:10px 17px;background:#f37021;color:#fff;font-weight:800;border-radius:12px;text-decoration:none}
.live-team-detail #eventModal .modal-footer #goToMatch:hover{background:#dc6116;color:#fff}
.live-team-detail #match-edit-modal .modal-header,.live-team-detail #refund-edit-modal .modal-header{background:#f4f7ff}
.live-team-detail #match-edit-modal .modal-title,.live-team-detail #refund-edit-modal .modal-title{color:#21409a;font-weight:800}
@media(max-width:575.98px){
 .live-team-google-calendar{padding:14px;align-items:stretch}
 .live-team-google-calendar__actions{width:100%}
 .live-team-detail .live-team-google-calendar__open{flex:1;justify-content:center}
 .live-team-detail #eventModal .modal-body{padding:15px}
 .live-team-detail #eventModal .modal-body .row.align-items-center{padding:14px 0!important}
 .live-team-detail #eventModal .modal-body .row.align-items-center img{width:44px;height:44px}
 .live-team-detail #eventModal .modal-body .row.align-items-center strong{font-size:11px}
}

/* === CSI Live · Navigazione campionato condivisa (toolbar, sezione dati e accesso rapido) === */
.live-competition-detail .live-competition-actions>.live-competition-action-tabs{flex:1;min-width:0}
.live-competition-detail .live-competition-actions>.dropdown{margin-left:auto;flex:0 0 auto}
.live-competition-detail .live-competition-manage-btn{white-space:nowrap}
.live-competition-detail .live-competition-action-tabs--card{
    display:flex;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;max-width:100%;
    padding:13px 18px 15px;background:#f9fbff;border-bottom:1px solid #e6ecf6;
    scrollbar-width:thin;scrollbar-color:#ccd8ef transparent;
}
.live-competition-detail .live-competition-action-tabs--card .btn{
    flex:0 0 auto;white-space:nowrap;min-height:40px;
    border:1px solid #dce4f5;border-radius:11px;padding:9px 13px;
    color:#21409a;background:#fff;font-size:12px;font-weight:800;
}
.live-competition-detail .live-competition-action-tabs--card .btn:hover{
    border-color:#b4c7ed;background:#edf2ff;
}
.live-competition-detail .live-competition-action-tabs--card .btn.is-active{
    color:#fff!important;background:#21409a;border-color:#21409a;
    box-shadow:0 6px 15px rgba(33,64,154,.19);
}
.live-competition-detail .live-competition-action-tabs--card .btn i{color:#f37021}
.live-competition-detail .live-competition-action-tabs--card .btn.is-active i{color:#ffcfaa}
.live-competition-detail #back-to-content{
    max-width:calc(100vw - 24px);overflow-x:auto;scrollbar-width:thin;
}
.live-competition-detail #back-to-content .btn{flex:0 0 36px}
.live-competition-detail #back-to-content .btn.is-active{background:#f37021;border-color:#f37021;color:#fff}
@media(max-width:767.98px){
  .live-competition-detail .live-competition-actions{align-items:stretch}
  .live-competition-detail .live-competition-actions>.live-competition-action-tabs{
      flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;
  }
  .live-competition-detail .live-competition-actions>.live-competition-action-tabs .btn{white-space:nowrap;flex:0 0 auto}
  .live-competition-detail .live-competition-action-tabs--card{padding:11px 13px}
  .live-competition-detail .live-competition-action-tabs--card .btn{font-size:11px;padding:9px 11px}
  .live-competition-detail #back-to-content .btn{flex-basis:32px}
}

/* ===== Scheda impianto CSI: field.php ===== */
.live-field-detail .live-field-hero{display:grid;grid-template-columns:minmax(0,1fr) 34%;position:relative;overflow:hidden;isolation:isolate;border-radius:22px;background:linear-gradient(115deg,#21409a,#152961);color:#fff;margin:5px 0 23px;min-height:265px;box-shadow:0 18px 46px rgba(24,55,126,.15)}
.live-field-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 85% 12%,rgba(243,112,33,.23),transparent 40%)}
.live-field-hero__copy{padding:37px 37px 35px;position:relative;z-index:1;min-width:0}
.live-field-hero__copy .live-overline{color:#ffc79e;font-size:11px;letter-spacing:.11em;margin:0 0 12px}
.live-field-hero h1{margin:0 0 16px;color:#fff;font-size:clamp(27px,3vw,44px);line-height:1.14;letter-spacing:-.04em;font-weight:800}
.live-field-hero__copy>p:not(.live-overline){display:flex;gap:9px;align-items:flex-start;color:#e4edff;font-size:14px;line-height:1.6}
.live-field-hero__copy>p>i{color:#ffc79e;margin-top:2px}
.live-field-hero__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:22px}
.live-field-hero__actions>a,.live-field-hero__manage{border:1px solid rgba(255,255,255,.29);background:rgba(255,255,255,.14);border-radius:12px;padding:10px 14px;min-height:43px;color:#fff!important;display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:750}
.live-field-hero__actions>a:first-child{background:#f37021;border-color:#f37021}
.live-field-hero__actions>a:hover,.live-field-hero__manage:hover{background:rgba(255,255,255,.24);color:#fff}
.live-field-hero__actions>a:first-child:hover{background:#dc6016}
.live-field-hero__cover{height:100%;width:100%;object-fit:cover;object-position:center;min-height:265px;opacity:.89;mask-image:linear-gradient(to right,transparent,#000 28%);-webkit-mask-image:linear-gradient(to right,transparent,#000 28%)}
.live-field-overview{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:18px;margin-bottom:30px}
.live-field-card{--live-ui-surface-bg:#fff;--live-ui-surface-line:1px solid #e0e7f3;--live-ui-surface-radius:20px;--live-ui-surface-shadow:0 12px 32px rgba(17,41,91,.06);min-width:0;padding:22px;}
.live-field-card__heading{display:flex;align-items:center;gap:13px;margin:0 0 18px}
.live-field-card__icon{height:44px;width:44px;flex:0 0 44px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#edf2ff;color:#21409a;font-size:19px}
.live-field-card__heading .live-overline{font-size:10px;margin:0 0 4px;color:#f37021}
.live-field-card__heading h2,.live-field-card__heading h3{font-size:19px;letter-spacing:-.04em;color:#163677;font-weight:800;margin:0}
.live-field-card__heading h3 small{display:inline-block;font-size:12px;margin-left:7px;padding:5px 8px;color:#21409a;background:#edf2ff;border-radius:999px}
.live-field-card__heading p:not(.live-overline){font-size:12px;line-height:1.45;color:#6b7c98;margin:5px 0 0}
.live-field-info-row{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eef2f8;align-items:baseline}
.live-field-info-row>span{min-width:93px;flex:0 0 93px;font-size:12px;color:#75849d}
.live-field-info-row>strong,.live-field-info-row>a{font-size:13px;line-height:1.6;color:#213c74;font-weight:700;overflow-wrap:anywhere}
.live-field-info-row>a:hover{color:#f37021}
.live-field-description{margin-top:17px}.live-field-description h3{font-size:13px;font-weight:800;color:#21409a}.live-field-description p{color:#617491;font-size:13px;line-height:1.75;white-space:normal}
.live-field-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:17px}
.live-field-facts a{display:flex;flex-direction:column;align-items:center;gap:3px;background:#f6f8fd;border-radius:14px;padding:13px 7px;color:#21409a;text-align:center}
.live-field-facts a:hover{background:#edf2ff}.live-field-facts i{color:#f37021}.live-field-facts strong{font-size:23px;line-height:1.2;font-weight:800}.live-field-facts span{font-size:10px;color:#677a98;line-height:1.4}
.live-field-card--map{display:flex;flex-direction:column}
#live-field-map,.live-field-map__unavailable{position:relative;flex:1;min-height:280px;overflow:hidden;border-radius:14px;background:#edf2fa}
.live-field-map__placeholder,.live-field-map__unavailable{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;padding:18px;color:#697c9b;font-size:12px;line-height:1.6}
.live-field-map__placeholder>i,.live-field-map__unavailable>i{font-size:28px;color:#21409a}
.live-field-map--error{display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;color:#7c4b22;padding:22px}
.live-field-map__directions{display:inline-flex;align-items:center;gap:9px;margin:13px 3px 0;color:#21409a;font-weight:800;font-size:12px}
.live-field-map__directions:hover{color:#f37021}
.live-field-section{margin:28px 0 30px;scroll-margin-top:94px}
.live-field-fixtures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.live-field-card--fixtures{padding:18px 13px;min-width:0}
.live-field-card--fixtures .live-field-card__heading{padding:0 5px;gap:10px}
.live-field-card--fixtures .live-field-card__icon{height:40px;width:40px;flex-basis:40px}
.live-field-card--fixtures .live-field-card__heading h3{font-size:18px}
.live-field-game-list{display:grid;gap:12px}
.live-field-game-list .live-game-card{box-shadow:none}
.live-field-game-list .live-game-card__top{padding:11px 13px}
.live-field-game-list .live-game-card__body{grid-template-columns:54px minmax(0,1fr) 36px;gap:10px;padding:12px 13px}
.live-field-game-list .live-game-card__chevron{display:none}
.live-field-game-list .live-game-card__team img{width:28px;height:28px}
.live-field-game-list .live-game-card__team span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-field-game-list .live-game-card__time span{font-size:13px}
.live-field-game-list .live-game-card__time small{font-size:10px}
.live-field-game-list .live-game-card__score strong{font-size:17px}
.live-field-game-list .live-game-card__bottom{padding:10px 13px;gap:8px 12px}
.live-field-empty{padding:34px 18px;text-align:center;color:#6c7e9b;font-size:13px}
.live-field-empty i{display:block;font-size:25px;margin-bottom:10px;color:#a7b5cb}.live-field-empty p{margin:0 0 10px}.live-field-empty a{font-weight:750;color:#21409a}
.live-field-calendar-panel{padding:20px}
.live-field-teams-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.live-field-team{display:flex;align-items:center;gap:13px;border-radius:16px;border:1px solid #e0e7f3;background:#fff;padding:13px;min-width:0;box-shadow:0 8px 26px rgba(22,49,112,.04)}
.live-field-team:hover{border-color:#b5c5e4;transform:translateY(-1px)}
.live-field-team img{width:62px;height:62px;object-fit:contain;border-radius:13px;background:#f6f8fd;padding:7px}
.live-field-team strong{flex:1;min-width:0;color:#21409a;font-size:13px;font-weight:750;line-height:1.45}.live-field-team>i{color:#f37021}
@media(max-width:1199.98px){.live-field-fixtures{grid-template-columns:1fr}.live-field-overview{grid-template-columns:1fr}.live-field-card--map #live-field-map{height:320px;flex:none}}
@media(max-width:767.98px){.live-field-detail .live-field-hero{grid-template-columns:1fr;min-height:245px}.live-field-hero__copy{padding:27px 20px}.live-field-hero h1{font-size:27px}.live-field-hero__cover{position:absolute;inset:0 0 0 auto;z-index:-1;width:72%;height:100%;opacity:.22;min-height:0;mask-image:linear-gradient(to right,transparent,#000 70%);-webkit-mask-image:linear-gradient(to right,transparent,#000 70%)}.live-field-card{padding:17px}.live-field-card--fixtures{padding:15px 10px}.live-field-info-row{flex-direction:column;gap:5px}.live-field-info-row>span{flex:none}.live-field-teams-grid{grid-template-columns:1fr}}
@media(max-width:430px){.live-field-facts{gap:5px}.live-field-facts a{padding:10px 4px}.live-field-facts strong{font-size:19px}}


/* Calendario impianto: stesso stile delle gare campionato / squadra.
   L'HTML evento usa le classi live-fc-game gia' condivise. */
.live-field-detail .fc{--fc-border-color:#e5ebf5;--fc-today-bg-color:#eff4ff;--fc-page-bg-color:#fff;--fc-neutral-bg-color:#f7f9fd;color:#263a61;font-family:Inter,system-ui,sans-serif}
.live-field-detail .fc .fc-toolbar{margin-bottom:18px;gap:14px}
.live-field-detail .fc .fc-toolbar-title{font-size:22px;font-weight:800;letter-spacing:-.04em;color:#21409a;text-transform:capitalize}
.live-field-detail .fc .fc-button{font-size:12px;font-weight:800;border-radius:10px;padding:9px 13px;box-shadow:none!important;text-transform:capitalize}
.live-field-detail .fc .fc-button-primary{background:#f2f5fc;color:#21409a;border:1px solid #d9e2f4}
.live-field-detail .fc .fc-button-primary:hover,.live-field-detail .fc .fc-button-primary:focus{background:#e6edfb;color:#21409a;border-color:#bfcfe9}
.live-field-detail .fc .fc-button-primary:not(:disabled).fc-button-active{background:#21409a;color:#fff;border-color:#21409a}
.live-field-detail .fc .fc-scrollgrid{border-radius:15px;overflow:hidden;border-color:#e5ebf5}
.live-field-detail .fc .fc-col-header-cell{background:#f5f7fd;padding:12px 5px}
.live-field-detail .fc .fc-col-header-cell-cushion{color:#607299;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:11px}
.live-field-detail .fc .fc-daygrid-day{background:#fff;transition:background .15s}
.live-field-detail .fc .fc-daygrid-day:hover{background:#f8faff}
.live-field-detail .fc .fc-daygrid-day.fc-day-today{background:#edf3ff}
.live-field-detail .fc .fc-daygrid-day-number{color:#21409a;font-weight:800;font-size:12px;padding:8px 10px}
.live-field-detail .fc .fc-day-today .fc-daygrid-day-number{background:#21409a;color:#fff;border-radius:999px;margin:3px}
.live-field-detail .fc .fc-daygrid-event-harness{margin:3px 5px 4px}
.live-field-detail .fc a.fc-event.live-fc-event,.live-field-detail .fc .live-fc-event{display:block;white-space:normal!important;border:1px solid #e2e8f7!important;border-left:4px solid #f37021!important;background:#fff!important;color:#273b60!important;border-radius:10px;padding:0!important;box-shadow:0 3px 8px rgba(24,49,120,.075);overflow:hidden;min-width:0}
.live-field-detail .fc .live-fc-event--played{border-left-color:#21409a!important;background:#f8faff!important}
.live-field-detail .fc .live-fc-event:hover{box-shadow:0 6px 13px rgba(24,49,120,.16);border-color:#bdd0f2!important}
.live-field-detail .fc .live-fc-event .fc-event-main{color:inherit;padding:0}
.live-fc-game{padding:7px 8px;min-width:0;font-size:10px;line-height:1.3}
.live-fc-game__time{color:#21409a;font-weight:900;font-size:10px;letter-spacing:.01em;margin-bottom:5px}
.live-fc-game__teams{display:grid;gap:4px}
.live-fc-game__team{display:flex;align-items:center;gap:5px;min-width:0;font-weight:750;color:#243c70}
.live-fc-game__team span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.live-fc-game__logo{width:17px;height:17px;object-fit:contain;flex:0 0 auto}
.live-fc-game__bottom{display:flex;gap:6px;align-items:center;justify-content:space-between;border-top:1px solid #edf1f8;margin-top:6px;padding-top:5px;flex-wrap:wrap}
.live-fc-game__result{font-weight:900;background:#21409a;color:#fff;padding:3px 6px;border-radius:5px;white-space:nowrap}
.live-fc-game__validation{font-size:9px;color:#697c9d}
.live-fc-game__scheduled{font-size:9px;color:#b35b1e;font-weight:900}
.live-fc-game__field{color:#7b8aa3;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.live-field-detail .fc .fc-daygrid-more-link{font-size:10px;color:#21409a;background:#edf2ff;border-radius:7px;padding:5px 7px;font-weight:800}
.live-field-detail .fc .fc-popover{box-shadow:0 19px 50px rgba(27,51,112,.22);border-radius:13px;overflow:hidden}
.live-field-detail .fc .fc-list{border-radius:14px;border:1px solid #e5ebf5;overflow:hidden}
.live-field-detail .fc .fc-list-day-cushion{background:#eff3fc!important;color:#21409a;font-weight:800;padding:11px 15px!important}
.live-field-detail .fc .fc-list-event:hover td{background:#f5f7fd}
.live-field-detail .fc .fc-list-event-graphic,.live-field-detail .fc .fc-list-event-time{color:#21409a;font-size:12px;font-weight:800}
.live-field-detail .fc .fc-list-event-dot{border-color:#f37021}
.live-field-detail .fc .fc-list-event-title .live-fc-game{padding:7px 11px}
.live-field-detail .fc .fc-list-event-title .live-fc-game__team span{white-space:normal}
.live-field-detail .fc .fc-list-event-title .live-fc-game__field{max-width:none}

/* Esportazioni complete della stagione, distinte dalla navigazione mensile. */
.live-field-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:10px}
.live-field-calendar-toolbar .live-project-calendar__legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0}
.live-field-calendar-export{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.live-field-export-button{display:inline-flex;align-items:center;gap:8px;justify-content:center;padding:9px 13px;border:1px solid #d5deef;background:#fff;color:#21409a;font:700 12px Inter,system-ui,sans-serif;border-radius:10px;transition:box-shadow .15s,background .15s}
.live-field-export-button img{width:20px;height:20px;object-fit:contain}
.live-field-export-button:hover,.live-field-export-button:focus{background:#f2f5fe;border-color:#b4c5e8;box-shadow:0 4px 12px rgba(33,64,154,.10)}
.live-field-export-button:disabled{opacity:.48;cursor:progress}
.live-field-export-note{font-size:11px;color:#7583a1;margin:0 0 10px}
.live-field-export-status{margin:0;color:#21409a;font-size:12px;font-weight:600}
.live-field-export-status:empty{display:none}
.live-field-export-status.is-error{color:#b84222}
@media(max-width:767.98px){
  .live-field-calendar-toolbar{align-items:flex-start}
  .live-field-calendar-export{width:100%}
  .live-field-detail .fc .fc-toolbar{flex-wrap:wrap;justify-content:center;gap:8px}
  .live-field-detail .fc .fc-toolbar-title{font-size:17px}
  .live-field-detail .fc .fc-daygrid-day-number{padding:5px;font-size:11px}
  .live-field-detail .fc .fc-daygrid-event-harness{margin:2px 1px}
  .live-field-detail .fc .live-fc-game{padding:4px}
  .live-field-export-button{flex:1}
}

/* ==============================================================
   Catalogo impianti: pagina fields.php · design condiviso CSI
   Tutti gli stili sono limitati a .live-fields-catalog.
   ============================================================== */
.live-fields-catalog__hero .live-competition-banner__art i{font-size:clamp(100px,12vw,180px);opacity:.18}
.live-fields-catalog__filters{padding:16px 0 10px}
.live-fields-catalog__section-heading{margin-bottom:18px}
.live-fields-catalog__sports{margin-bottom:19px}
.live-fields-catalog__form{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:20px;border:1px solid #e3e9f5;background:#fff;border-radius:18px;box-shadow:0 7px 25px rgba(23,45,103,.055)}
.live-fields-catalog__form label{display:block;font-size:11px;color:#687794;font-weight:800;letter-spacing:.04em;margin-bottom:7px}
.live-fields-catalog__search{flex:1 1 270px}
.live-fields-catalog__search-input{display:flex;align-items:center;gap:11px;border:1px solid #d9e2f1;background:#f9fbff;border-radius:12px;height:46px;padding:0 14px;color:#21409a}
.live-fields-catalog__search-input:focus-within{border-color:#21409a;box-shadow:0 0 0 3px rgba(33,64,154,.11)}
.live-fields-catalog__search-input input{width:100%;height:100%;border:0;outline:none;background:transparent;color:#1c2c4b;font:600 13px Inter,system-ui,sans-serif}
.live-fields-catalog__search-input input::placeholder{color:#8793a9;font-weight:400}
.live-fields-catalog__zone{flex:0 1 205px;min-width:160px}
.live-fields-catalog__zone .form-select{height:46px;border:1px solid #d9e2f1;border-radius:12px;background-color:#f9fbff;color:#21409a;font-size:12px;font-weight:700}
.live-fields-catalog__submit{height:46px;border:0;border-radius:12px;padding:0 18px;background:#21409a;color:#fff;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}
.live-fields-catalog__submit:hover{background:#172e73}
.live-fields-catalog__clear{height:46px;display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#66738d;font-weight:700;padding:0 5px}
.live-fields-catalog__clear:hover{color:#f37021}
.live-fields-catalog__results{padding:31px 0 25px;scroll-margin-top:95px}
.live-fields-catalog__section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:17px}
.live-fields-catalog__section-head h2{font-weight:800;color:#1d337b;font-size:24px;line-height:1.25;letter-spacing:-.045em;margin:0 0 5px}
.live-fields-catalog__section-head span{font-size:12px;color:#6d7892}
.live-fields-catalog__map-link{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #dfe5f1;background:#fff;border-radius:11px;font-weight:800;color:#21409a;font-size:12px}
.live-fields-catalog__map-link:hover{border-color:#b7c5e2;background:#f5f7ff}
.live-fields-catalog__layout{display:grid;grid-template-columns:minmax(0,1.46fr) minmax(305px,.85fr);align-items:start;gap:19px}
.live-fields-catalog__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.live-fields-catalog__card{--live-ui-surface-bg:#fff;--live-ui-surface-line:1px solid #e2e8f3;--live-ui-surface-radius:18px;--live-ui-surface-shadow:0 10px 26px rgba(25,46,99,.065);min-width:0;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s,transform .2s}
.live-fields-catalog__card:hover{transform:translateY(-2px);border-color:#c8d5ee;box-shadow:0 16px 34px rgba(25,46,99,.12)}
.live-fields-catalog__cover{position:relative;display:block;height:145px;overflow:hidden;background:#e7edf9}
.live-fields-catalog__cover>img{height:100%;width:100%;object-fit:cover;transition:transform .4s}
.live-fields-catalog__card:hover .live-fields-catalog__cover>img{transform:scale(1.035)}
.live-fields-catalog__cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 36%,rgba(11,23,54,.46) 100%);pointer-events:none}
.live-fields-catalog__sport{position:absolute;left:13px;bottom:11px;display:inline-flex;align-items:center;gap:6px;padding:5px 9px 5px 6px;border:1px solid rgba(255,255,255,.48);background:#fff;color:#21409a;border-radius:999px;z-index:1;font-size:10px;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.15);max-width:calc(100% - 26px)}
.live-fields-catalog__sport img{width:20px;height:20px;object-fit:contain}
.live-fields-catalog__card-body{padding:16px 16px 13px;flex:1}
.live-fields-catalog__card-body h3{font-size:16px;line-height:1.35;font-weight:800;color:#1b327a;margin:0 0 10px;letter-spacing:-.025em}
.live-fields-catalog__card-body h3 a:hover{color:#f37021}
.live-fields-catalog__address{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.5;font-weight:600;color:#66738d;margin:0 0 10px}
.live-fields-catalog__address i{color:#f37021;font-size:14px;flex:0 0 auto}
.live-fields-catalog__zone-badge{display:inline-flex;align-items:center;gap:5px;background:#f2f6fe;border-radius:6px;padding:4px 8px;color:#21409a;font-size:10px;font-weight:700;margin-bottom:9px}
.live-fields-catalog__description{font-size:11px;line-height:1.55;color:#63728f;margin:0}
.live-fields-catalog__card-actions{padding:10px 13px;border-top:1px solid #eff2f8;display:flex;align-items:center;justify-content:space-between;gap:10px}
.live-fields-catalog__card-actions>a:first-child{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:#21409a}
.live-fields-catalog__card-actions>a:first-child:hover{color:#f37021}
.live-fields-catalog__card-actions>a:last-child i.bi-arrow-right{color:#f37021}
.live-fields-catalog__directions{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe7f5;border-radius:9px;color:#21409a;font-size:15px}
.live-fields-catalog__directions:hover{background:#eef3fe;border-color:#b8c9ec}
.live-fields-catalog__pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:18px;font-size:12px;color:#6e7d97}
.live-fields-catalog__pagination a{display:inline-flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid #dfe6f3;background:#fff;color:#21409a;border-radius:9px;font-weight:800}
.live-fields-catalog__pagination a:hover{background:#f1f5ff}
.live-fields-catalog__map-column{position:sticky;top:112px;scroll-margin-top:100px}
.live-fields-catalog__map-panel{padding:15px;background:#fff;border:1px solid #e1e8f3;border-radius:18px;box-shadow:0 10px 26px rgba(25,46,99,.07)}
.live-fields-catalog__map-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 4px 14px}
.live-fields-catalog__map-heading h3{font-weight:800;line-height:1.2;color:#1d337b;font-size:18px;letter-spacing:-.03em;margin:0 0 4px}
.live-fields-catalog__map-heading span{font-size:11px;color:#6a7893}
.live-fields-catalog__map-heading>i{font-size:24px;color:#f37021}
#live-fields-map{height:455px;min-height:280px;background:#f1f5fc;border:1px solid #e5ebf4;border-radius:13px;overflow:hidden}
.live-fields-catalog__map-loading,.live-fields-catalog__map-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:100%;padding:26px;text-align:center;color:#687b9b;font-size:12px;line-height:1.7}
.live-fields-catalog__map-loading i{font-size:33px;color:#21409a}
.live-fields-catalog__map-bottom{display:flex;gap:10px;color:#74829d;font-size:10px;line-height:1.5;margin-top:12px}
.live-fields-catalog__map-bottom i{color:#f37021;margin-right:5px}
.live-fields-catalog__infowindow{display:flex;flex-direction:column;gap:7px;max-width:245px;font:13px Inter,system-ui,sans-serif;color:#25365a}
.live-fields-catalog__infowindow strong{font-size:14px;color:#21409a}
.live-fields-catalog__infowindow small{line-height:1.4;color:#64738f}
.live-fields-catalog__infowindow a{color:#21409a;font-weight:800;text-decoration:underline;text-underline-offset:3px}
@media (max-width:1250px){
  .live-fields-catalog__layout{grid-template-columns:minmax(0,1fr) minmax(260px,.78fr)}
  .live-fields-catalog__grid{grid-template-columns:1fr}
}
@media (max-width:991.98px){
  .live-fields-catalog__layout{grid-template-columns:1fr}
  .live-fields-catalog__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .live-fields-catalog__map-column{position:static}
  #live-fields-map{height:380px}
}
@media (max-width:640px){
  .live-fields-catalog__grid{grid-template-columns:1fr}
  .live-fields-catalog__section-head h2{font-size:22px}
  .live-fields-catalog__form{padding:14px;gap:12px}
  .live-fields-catalog__zone{flex:1 1 150px}
  .live-fields-catalog__submit{flex:1 1 155px}
  .live-fields-catalog__cover{height:160px}
  #live-fields-map{height:340px}
}

/* ===== Fase 7 · Archivio stagioni sportive ============================ */
.live-seasons-archive__banner .live-competition-banner__art i{font-size:75px;opacity:.9}
.live-seasons-archive__picker{padding:28px 0 18px}
.live-seasons-archive__heading{margin-bottom:18px}
.live-seasons-archive__years{display:flex;align-items:stretch;gap:12px;overflow-x:auto;padding:4px 2px 15px;scrollbar-width:thin;scrollbar-color:#c6d2e6 transparent;scroll-snap-type:x proximity}
.live-seasons-archive__year{flex:0 0 228px;min-width:0;display:flex;align-items:center;gap:12px;padding:17px 15px;border:1px solid #dfe6f3;border-radius:16px;background:#fff;box-shadow:0 7px 18px rgba(25,45,99,.045);color:#21409a;scroll-snap-align:start;transition:transform .16s,border-color .16s,background .16s}
.live-seasons-archive__year:hover{color:#21409a;background:#f5f8ff;border-color:#b6c6e9;transform:translateY(-2px)}
.live-seasons-archive__year.is-selected{background:#21409a;border-color:#21409a;color:#fff;box-shadow:0 12px 25px rgba(33,64,154,.18)}
.live-seasons-archive__year.is-selected:hover{color:#fff;background:#1c3687}
.live-seasons-archive__year-icon{display:grid;place-items:center;flex:0 0 41px;width:41px;height:41px;border-radius:12px;background:#edf2fc;color:#21409a;font-size:19px}
.live-seasons-archive__year.is-selected .live-seasons-archive__year-icon{color:#21409a;background:#fff}
.live-seasons-archive__year-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.live-seasons-archive__year-text strong{font-size:15px;font-weight:800;letter-spacing:-.03em;line-height:1.25;overflow-wrap:anywhere}
.live-seasons-archive__year-text small{font-size:10px;font-weight:600;color:#8592a9}
.live-seasons-archive__year.is-selected .live-seasons-archive__year-text small{color:#d7e3ff}
.live-seasons-archive__year-arrow{font-size:13px;color:#f37021;align-self:flex-start}
.live-seasons-archive__current-badge{font-size:9px;line-height:1;border-radius:999px;background:#ecf8f0;color:#187347;padding:5px 7px;font-weight:800;align-self:flex-start}
.live-seasons-archive__competitions{padding:9px 0 26px;scroll-margin-top:105px}
.live-seasons-archive__selected{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:12px 0 16px;padding:19px 22px;border:1px solid #dfe7f5;background:linear-gradient(115deg,#fff,#f7f9fe);border-radius:18px}
.live-seasons-archive__selected-heading{display:flex;align-items:center;gap:13px}
.live-seasons-archive__selected-icon{display:grid;place-items:center;flex:0 0 49px;width:49px;height:49px;border-radius:13px;background:#e9effc;color:#21409a;font-size:23px}
.live-seasons-archive__selected .live-overline{margin-bottom:5px!important}
.live-seasons-archive__selected h2{font-size:26px;color:#1b347f;margin:0;font-weight:800;letter-spacing:-.045em;line-height:1.25}
.live-seasons-archive__selected-info{display:flex;gap:10px;flex-wrap:wrap}
.live-seasons-archive__selected-info span{display:inline-flex;gap:7px;align-items:center;border-radius:999px;background:#fff;border:1px solid #e1e8f5;padding:8px 11px;font-size:11px;font-weight:700;color:#5b6a86}
.live-seasons-archive__selected-info i{color:#f37021;font-size:15px}
.live-seasons-archive__season-description{font-size:12px;line-height:1.7;color:#687891;margin:0 0 22px;padding:0 3px}
.live-seasons-archive__sports{margin:7px 0 20px}
.live-seasons-archive__sections{display:grid;gap:21px}
.live-seasons-archive__sport-section{overflow:hidden;border-radius:18px;border:1px solid #e1e7f4;background:#fff;box-shadow:0 11px 26px rgba(25,45,100,.06)}
.live-seasons-archive__sport-header{position:relative;min-height:132px;display:flex;align-items:stretch;background:linear-gradient(110deg,#1a327f,#2a4d9e);overflow:hidden}
.live-seasons-archive__sport-header:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#1d357b 15%,rgba(29,53,123,.92) 53%,rgba(29,53,123,.2));pointer-events:none}
.live-seasons-archive__sport-cover{position:absolute;right:0;top:0;width:65%;height:100%;object-fit:cover;opacity:.78}
.live-seasons-archive__sport-identity{z-index:1;position:relative;display:flex;align-items:center;gap:15px;padding:23px 25px;min-width:0}
.live-seasons-archive__sport-icon{flex:0 0 61px;width:61px;height:61px;display:grid;place-items:center;border-radius:15px;background:#fff}
.live-seasons-archive__sport-icon img{width:40px;height:40px;object-fit:contain}
.live-seasons-archive__sport-identity .live-overline{color:#ffbc85!important;font-size:10px!important}
.live-seasons-archive__sport-identity h3{font-size:23px;font-weight:800;line-height:1.2;color:#fff;letter-spacing:-.035em;margin:0 0 6px}
.live-seasons-archive__sport-identity small{color:#e5edff;font-size:11px;font-weight:600}
.live-seasons-archive .live-competition-divisions{padding:4px 23px 21px}
.live-seasons-archive .live-competition-division__heading h4{font-size:15px;font-weight:800;letter-spacing:-.015em;color:#1d337b;margin:0}
.live-seasons-archive__project{min-width:0}
.live-seasons-archive__project .live-competition-project__content small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.live-seasons-archive__empty{margin:22px 0}
@media(max-width:767.98px){
 .live-seasons-archive__picker{padding:23px 0 10px}
 .live-seasons-archive__year{flex-basis:207px;padding:14px 12px}
 .live-seasons-archive__selected{padding:15px}
 .live-seasons-archive__selected h2{font-size:22px}
 .live-seasons-archive__selected-info{width:100%}
 .live-seasons-archive__sport-header{min-height:112px}
 .live-seasons-archive__sport-identity{padding:18px 15px;gap:12px}
 .live-seasons-archive__sport-identity h3{font-size:19px}
 .live-seasons-archive__sport-icon{width:49px;height:49px;flex-basis:49px}
 .live-seasons-archive__sport-icon img{width:33px;height:33px}
 .live-seasons-archive .live-competition-divisions{padding:0 14px 14px}
}
@media(max-width:480px){
 .live-seasons-archive__selected-info{gap:6px}
 .live-seasons-archive__selected-info span{font-size:10px}
 .live-seasons-archive__sport-cover{width:82%}
 .live-seasons-archive__sport-header:after{background:linear-gradient(90deg,#1d357b 12%,rgba(29,53,123,.90) 75%,rgba(29,53,123,.43))}
}

/* ========================================================================
   FASE 8 · Ricerca globale: stessi colori/forme del restyling CSI
   ======================================================================== */
.live-search-page__banner .live-competition-banner__art i{font-size:84px;opacity:.87}
.live-search-page__search-box{--live-ui-surface-bg:#fff;--live-ui-surface-line:1px solid #dfe6f3;--live-ui-surface-radius:19px;--live-ui-surface-shadow:0 11px 30px rgba(29,50,106,.055);margin:23px 0 27px;padding:25px 27px;}
.live-search-page__search-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px}
.live-search-page__search-heading .live-overline{margin:0 0 5px!important}
.live-search-page__search-heading h2{font-weight:800;font-size:23px;letter-spacing:-.035em;color:#203b87;margin:0}
.live-search-page__reset{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#60708e;text-decoration:none;white-space:nowrap}
.live-search-page__reset:hover{color:#21409a}
.live-search-page__form>label{display:block;font-size:12px;font-weight:800;color:#24396c;margin-bottom:9px}
.live-search-page__input-row{display:flex;gap:10px;align-items:stretch}
.live-search-page__input-wrap{position:relative;display:flex;align-items:center;flex:1;min-width:0}
.live-search-page__input-wrap>i{position:absolute;z-index:1;left:17px;color:#8393ae;font-size:20px;pointer-events:none}
.live-search-page__input-wrap input{width:100%;height:54px;padding:11px 17px 11px 49px;border:1px solid #cfd9e9;outline:none;border-radius:12px;background:#f9fbff;font-size:14px;font-weight:500;color:#1b347b;transition:border-color .2s,box-shadow .2s}
.live-search-page__input-wrap input::placeholder{font-weight:400;color:#8290a9}
.live-search-page__input-wrap input:focus{background:#fff;border-color:#21409a;box-shadow:0 0 0 3px rgba(33,64,154,.1)}
.live-search-page__submit{display:flex;gap:9px;align-items:center;justify-content:center;min-height:54px;padding:0 27px;border:0;border-radius:12px;color:#fff;background:#21409a;font-size:13px;font-weight:800;transition:background .2s,transform .2s}
.live-search-page__submit:hover{background:#f37021;transform:translateY(-1px)}
.live-search-page__submit:focus-visible,.live-search-page__filter:focus-visible,.live-search-page__more:focus-visible{outline:3px solid #f37021;outline-offset:2px}
.live-search-page__season-scope{display:flex;gap:17px;align-items:center;flex-wrap:wrap;margin:18px 0 0;padding:0;border:0;min-width:0}
.live-search-page__season-scope legend{float:none;width:auto;margin:0 5px 0 0;font-size:11px;font-weight:800;color:#70819f}
.live-search-page__season-scope label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;margin:0;font-size:12px;font-weight:650;color:#405578}
.live-search-page__season-scope input{width:16px;height:16px;accent-color:#21409a;cursor:pointer;margin:0}
.live-search-page__results{padding:0 0 32px}
.live-search-page__results-top{display:flex;align-items:center;justify-content:space-between;gap:17px;margin:0 1px 17px}
.live-search-page__results-top .live-overline{margin:0 0 6px!important}
.live-search-page__results-top h2{font-size:23px;line-height:1.25;letter-spacing:-.035em;font-weight:800;color:#1d367b;margin:0 0 7px;overflow-wrap:anywhere}
.live-search-page__results-top p:not(.live-overline){margin:0;color:#6d7e9c;font-size:12px}
.live-search-page__results-count{display:inline-flex;align-items:center;gap:7px;color:#1f5b46;background:#e9f6ee;border:1px solid #cdebd8;padding:8px 12px;border-radius:99px;font-size:11px;font-weight:800;white-space:nowrap}
.live-search-page__filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 22px;padding:11px;border:1px solid #e1e7f3;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(30,55,111,.035)}
.live-search-page__filter{display:inline-flex;gap:7px;align-items:center;min-height:39px;padding:8px 12px;border-radius:10px;border:1px solid transparent;background:transparent;color:#536687;font-size:11px;font-weight:800;transition:background .2s,color .2s}
.live-search-page__filter:hover{background:#f0f4fc;color:#21409a}
.live-search-page__filter.is-active{background:#21409a;color:#fff;box-shadow:0 3px 10px rgba(33,64,154,.17)}
.live-search-page__filter>i{font-size:13px}
.live-search-page__filter>span{font-size:10px;font-weight:800;padding:3px 6px;border-radius:8px;background:#e9eef9;color:#314c87}
.live-search-page__filter.is-active>span{background:rgba(255,255,255,.18);color:#fff}
.live-search-page__sections{display:grid;gap:25px}
.live-search-page__group[hidden],.live-search-page__card[hidden],.live-search-page__more[hidden],.live-search-page__group-show[hidden]{display:none!important}
.live-search-page__group{scroll-margin-top:90px}
.live-search-page__group-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}
.live-search-page__group-title{display:flex;align-items:center;gap:10px;min-width:0}
.live-search-page__group-title>span{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:#edf2fc;color:#21409a;font-size:17px}
.live-search-page__group-title h3{font-size:18px;font-weight:850;letter-spacing:-.025em;color:#1d367b;margin:0}
.live-search-page__group-title small{font-size:11px;font-weight:650;color:#7e8da5}
.live-search-page__group-show{border:0;background:none;color:#21409a;font-size:11px;font-weight:750;text-decoration:none;white-space:nowrap;padding:7px;cursor:pointer}
.live-search-page__group-show:hover{color:#f37021}
.live-search-page__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.live-search-page__card{display:flex;align-items:center;gap:14px;min-height:108px;padding:16px;border:1px solid #e0e8f4;border-radius:15px;background:#fff;box-shadow:0 6px 16px rgba(30,55,111,.035);color:inherit!important;text-decoration:none!important;min-width:0;transition:border-color .2s,box-shadow .2s,transform .2s}
.live-search-page__card:hover{border-color:#bdcde9;box-shadow:0 11px 26px rgba(30,55,111,.09);transform:translateY(-2px)}
.live-search-page__thumb{display:grid;place-items:center;flex:0 0 70px;width:70px;height:70px;overflow:hidden;border:1px solid #edf1f7;border-radius:12px;background:#f6f9fe}
.live-search-page__thumb img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;padding:6px}
.live-search-page__thumb.is-icon{background:#edf2ff;color:#21409a}
.live-search-page__thumb>i{font-size:25px}
.live-search-page__card-main{display:flex;flex-direction:column;min-width:0;gap:6px;flex:1}
.live-search-page__card-kind{text-transform:uppercase;letter-spacing:.065em;color:#f37021;font-size:9px;font-weight:850}
.live-search-page__card-main>strong{font-size:14px;line-height:1.35;font-weight:800;color:#203b80;overflow-wrap:anywhere}
.live-search-page__card-meta{font-size:11px;line-height:1.5;color:#7787a1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.live-search-page__card-arrow{color:#a4b3ca;font-size:16px;align-self:center;transition:color .2s}
.live-search-page__card:hover .live-search-page__card-arrow{color:#f37021}
.live-search-page__more-wrap{display:flex;justify-content:center;padding:17px 0 3px}
.live-search-page__more{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 19px;border:1px solid #d9e3f4;border-radius:10px;background:#fff;color:#21409a;font-size:11px;font-weight:800}
.live-search-page__more:hover{border-color:#21409a;background:#f4f7fe}
.live-search-page__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;margin:4px 0 28px;padding:57px 24px;border:1px dashed #ced9ec;border-radius:18px;background:linear-gradient(135deg,#fff,#f7f9fe)}
.live-search-page__empty>span{display:grid;place-items:center;width:66px;height:66px;border-radius:17px;color:#21409a;background:#ecf2ff;font-size:29px;margin-bottom:4px}
.live-search-page__empty h2{font-size:21px;font-weight:850;color:#203b80;letter-spacing:-.03em;margin:0;overflow-wrap:anywhere}
.live-search-page__empty p{max-width:520px;color:#6d7e99;font-size:12px;line-height:1.7;margin:0}
.live-search-page__quick-links{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:12px}
.live-search-page__quick-links a{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid #e0e8f5;border-radius:10px;color:#21409a;background:#fff;text-decoration:none;font-size:11px;font-weight:800}
.live-search-page__quick-links a:hover{background:#21409a;color:#fff}
.live-search-page__noscript{font-size:12px;color:#687996}
@media(max-width:991.98px){.live-search-page__grid{grid-template-columns:1fr}}
@media(max-width:575.98px){
 .live-search-page__search-box{padding:20px 15px;margin:16px 0 23px;border-radius:15px}
 .live-search-page__banner .live-competition-banner__art{display:none}
 .live-search-page__search-heading h2{font-size:20px}
 .live-search-page__input-row{flex-direction:column}
 .live-search-page__input-wrap input{height:52px;font-size:13px}
 .live-search-page__submit{min-height:44px}
 .live-search-page__season-scope{gap:12px}
 .live-search-page__season-scope legend{width:100%;margin-bottom:0}
 .live-search-page__results-count{display:none}
 .live-search-page__results-top h2{font-size:20px}
 .live-search-page__filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;justify-content:flex-start;padding:9px}
 .live-search-page__filter{flex:0 0 auto;white-space:nowrap}
 .live-search-page__group-title{gap:8px;flex-wrap:wrap}
 .live-search-page__group-title h3{font-size:17px}
 .live-search-page__group-head{align-items:flex-start}
 .live-search-page__group-show{font-size:10px;white-space:normal;text-align:right;max-width:120px}
 .live-search-page__card{padding:12px;gap:11px;min-height:95px}
 .live-search-page__thumb{width:61px;height:61px;flex-basis:61px}
 .live-search-page__card-main>strong{font-size:13px}
 .live-search-page__card-meta{font-size:10px}
 .live-search-page__empty{padding:45px 17px}
}

/* Fase 9: scheda società CSI – continuità con squadra, impianti e campionati. */
.live-club-detail .live-competition-container{max-width:1460px}
.live-club-hero{position:relative;padding-right:170px}
.live-club-actions{position:absolute;right:30px;top:28px}
.live-club-actions__button{background:#fff;color:#21409a;font-weight:750;border-radius:10px;border:1px solid rgba(255,255,255,.8)}
.live-club-actions__button:hover{background:#f4f6ff;color:#142d70}
.live-club-sports{display:flex;flex-wrap:wrap;gap:11px}
.live-club-sport{display:inline-flex;align-items:center;gap:12px;padding:12px 17px;background:#fff;color:#21409a;border:1px solid #e2e8f5;border-radius:14px;font-size:14px;font-weight:750;box-shadow:0 3px 14px rgba(36,64,123,.05);text-decoration:none}
.live-club-sport:hover{border-color:#f37021;color:#21409a;transform:translateY(-2px)}
.live-club-sport img{width:40px;height:40px;object-fit:contain}
.live-club-sport .bi{color:#f37021}
.live-club-team-group{scroll-margin-top:110px;margin:23px 0 34px}
.live-club-team-group h3{display:flex;align-items:center;gap:11px;margin:0 0 15px;font-size:17px;font-weight:780;color:#21409a}
.live-club-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.live-club-team{display:block;min-width:0;overflow:hidden;background:#fff;border-radius:18px;border:1px solid #e3e9f4;box-shadow:0 4px 20px rgba(25,56,116,.06);text-decoration:none;color:#243759;transition:box-shadow .18s,transform .18s}
.live-club-team:hover{color:#21409a;box-shadow:0 12px 30px rgba(25,56,116,.13);transform:translateY(-3px)}
.live-club-team__media{height:175px;background:linear-gradient(130deg,#eff3fc,#dde9ff);display:flex;justify-content:center;align-items:center}
.live-club-team__media img{width:100%;height:100%;object-fit:contain}
.live-club-team__media img.live-club-team__fallback{width:88px;height:88px}
.live-club-team__details{display:flex;gap:12px;align-items:center;padding:14px}
.live-club-team__details>img{width:56px;height:56px;flex-shrink:0;object-fit:contain}
.live-club-team__details span{min-width:0;flex:1;display:grid;gap:5px}
.live-club-team__details strong{font-size:14px;line-height:1.35;font-weight:750;overflow-wrap:anywhere}
.live-club-team__details small{font-size:12px;color:#697893}
.live-club-team__details .bi{color:#f37021}
.live-club-contacts{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.live-club-empty{padding:25px;border:1px dashed #d6e0ee;border-radius:15px;background:#f9fbff;color:#6e7d96}
.live-club-history-panel{border:1px solid #e1e8f3;background:#fff;border-radius:17px;overflow:hidden}
.live-club-history-button{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:18px 20px;background:#fff;border:0;color:#21409a;font-weight:750;text-align:left}
.live-club-history-button .bi:first-child{color:#f37021;font-size:21px}
.live-club-history-button .bi:last-child{margin-left:auto;transition:transform .2s}
.live-club-history-button[aria-expanded="true"] .bi:last-child{transform:rotate(180deg)}
.live-club-history-button:hover{background:#f7f9fd}
.live-club-history-content{padding:18px 19px;border-top:1px solid #e1e8f3}
.live-club-history-legacy .section-title{display:flex;align-items:center;gap:12px;margin:23px 0 12px!important;border:0;padding:0!important}
.live-club-history-legacy .section-title h2{font-size:17px;margin:0;color:#21409a}
.live-club-history-legacy .section-title h5{font-size:15px;margin:0;color:#f37021}
.live-club-history-legacy .table-responsive{overflow-x:auto}
.live-club-history-legacy .table{min-width:660px;--bs-table-striped-bg:#f5f8fd;font-size:13px;border-color:#e6ecf6}
.live-club-history-legacy .table th{background:#f3f6fc;font-size:12px;color:#21409a;white-space:nowrap;padding:11px}
.live-club-history-legacy .table td{padding:10px;vertical-align:middle}
.live-club-history-legacy .table a{font-weight:650;color:#21409a;text-decoration:none}
.live-club-history-legacy .table a:hover{color:#f37021}
.live-club-history-legacy .table img{object-fit:contain}
@media(max-width:1100px){.live-club-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.live-club-team-grid{grid-template-columns:1fr}.live-club-hero{padding-right:20px;padding-bottom:70px}.live-club-actions{top:auto;right:20px;bottom:18px}.live-club-sport{flex:1 1 45%;font-size:13px;min-width:0;padding:11px}.live-club-sport img{width:32px;height:32px}.live-club-team__media{height:190px}.live-club-history-content{padding:13px}}

.live-club-sport--historical{opacity:.68;cursor:default}

/* Fase 9.1: azioni sempre nell'hero dell'entità. */
.live-entity-hero-actions{position:absolute;z-index:8;top:22px;right:25px}
.live-entity-hero-actions .btn.dropdown-toggle,.live-entity-game-actions .btn.dropdown-toggle{background:#fff!important;color:#21409a!important;border:1px solid #fff!important;border-radius:10px;font-weight:800;box-shadow:0 5px 18px rgba(17,31,69,.12)}
.live-entity-hero-actions--competition{top:22px;right:25px}
.live-competition-banner--detail{position:relative;padding-right:165px}
.live-competition-banner--detail .live-entity-hero-actions{z-index:12}
.live-team-detail .live-team-hero{padding-right:170px}
.live-entity-game-actions{position:absolute;z-index:10;right:22px;top:94px}
.live-game-hero{position:relative}
@media(max-width:767.98px){
 .live-team-detail .live-team-hero{padding-right:20px;padding-bottom:80px}
 .live-entity-hero-actions{top:auto;bottom:18px;right:18px}
 .live-competition-banner--detail{padding-right:22px;padding-bottom:75px}
 .live-entity-hero-actions--competition{top:auto;bottom:16px;right:18px}
 .live-entity-game-actions{top:14px;right:14px}
 .live-game-hero__top{padding-right:110px}
}
/* Squadre societarie: immagini a copertura e schede di altezza uniforme. */
.live-club-team-grid{align-items:stretch}
.live-club-team{display:flex;flex-direction:column;height:100%;min-width:0}
.live-club-team__media{height:auto;aspect-ratio:16/10;flex:0 0 auto;overflow:hidden}
.live-club-team__media img:not(.live-club-team__fallback){object-fit:cover;object-position:center;display:block}
.live-club-team__details{flex:1;min-height:96px;align-items:center}
.live-club-team__details strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.live-club-team__details small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.live-club-contact__roles{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 7px}
.live-club-contact__role{display:inline-flex;padding:5px 8px;border-radius:7px;background:#eef3ff;color:#21409a;font-size:11px;font-weight:750;line-height:1.25}
/* Un solo loader dinamico per contenitore; il page-loader resta separato e comune. */
.live-async-loader{display:flex;align-items:center;justify-content:center;gap:11px;padding:22px;min-height:90px;color:#526b91;font-size:13px;font-weight:700}
.live-async-loader .spinner-border{color:#f37021;flex:0 0 auto}
.live-async-loader[hidden],.live-calendar-loader[hidden]{display:none!important}
.live-calendar-loader{min-height:90px}
.live-calendar-loader .live-async-loader{min-height:90px}
.live-calendar-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.live-calendar-export,.live-sheet-export{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
/* .live-export-button is now implemented by .live-ui-action; contextual hover rules remain below. */
.live-export-button:hover,.live-export-button:focus-visible{background:#eff3ff;border-color:#21409a}
.live-export-button:disabled{opacity:.55;cursor:wait}
.live-export-button .bi-file-earmark-pdf{color:#c03938}
.live-export-button .bi-file-earmark-excel{color:#16804a}
.live-export-status,.live-sheet-export [data-export-status]{flex-basis:100%;text-align:right;font-size:11px;color:#47669a}
.live-export-status.is-error,.live-sheet-export [data-export-status].is-error{color:#b42318}
.live-sheet-export{border-top:1px solid #e7edf7;padding:13px 0 10px;margin:0 0 4px}
.live-sheet-export__title{margin-right:auto;font-size:12px;color:#5b6e8c}
@media(max-width:767px){.live-calendar-heading{align-items:flex-start;flex-direction:column}.live-calendar-export,.live-sheet-export{justify-content:flex-start}.live-export-status{text-align:left}}

/* Un solo formato visivo FullCalendar per progetto / squadra / impianto, anche in vista elenco. */
.live-home [data-live-calendar] .fc a.fc-event.live-fc-event,
.live-home [data-live-calendar] .fc .live-fc-event{
 display:block;white-space:normal!important;border:1px solid #e2e8f7!important;
 border-left:4px solid #f37021!important;background:#fff!important;color:#273b60!important;
 border-radius:10px;padding:0!important;box-shadow:0 3px 8px rgba(24,49,120,.075);overflow:hidden;min-width:0;
}
.live-home [data-live-calendar] .fc .live-fc-event--played{border-left-color:#21409a!important;background:#f8faff!important}
.live-home [data-live-calendar] .fc .live-fc-event:hover{box-shadow:0 6px 13px rgba(24,49,120,.16);border-color:#bdd0f2!important}
.live-home [data-live-calendar] .fc .live-fc-event .fc-event-main{color:inherit;padding:0}
.live-home [data-live-calendar] .fc .fc-list-event-title .live-fc-game{padding:7px 11px}
.live-home [data-live-calendar] .fc .fc-list-event-title .live-fc-game__team span{white-space:normal}
.live-home [data-live-calendar] .fc .fc-list-event-title .live-fc-game__field{max-width:none}

/* La gara tiene stato e Azioni affiancati nell'intestazione senza sovrapporsi. */
.live-game-hero__controls{display:flex;flex-direction:column;align-items:flex-end;gap:10px;position:relative;z-index:12}
.live-game-hero__controls .live-entity-game-actions{position:static}
@media(max-width:767.98px){.live-game-hero__top{padding-right:18px}.live-game-hero__controls{align-items:flex-start}}

/* I dropdown delle azioni devono aprirsi fuori dagli hero senza essere tagliati. */
.live-competition-banner--detail,.live-team-detail .live-team-hero,
.live-game-hero,.live-field-detail .live-field-hero{overflow:visible}
.live-competition-banner--detail:after{display:none}
.live-team-hero__cover{border-radius:inherit}
.live-field-hero__cover{border-radius:0 22px 22px 0}
.live-team-detail .live-team-hero,.live-competition-banner--detail,.live-game-hero,.live-field-detail .live-field-hero{z-index:2}
.live-calendar-loader .live-async-loader .spinner-border{width:1.15rem;height:1.15rem;border-width:.18em}

/* FASE 10 · Scheda persona: portrait, privacy e carriera responsiva. */
.live-person-hero{position:relative;min-height:230px;display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap}
.live-person-hero__identity{display:flex;align-items:center;gap:clamp(18px,3vw,38px);min-width:0;flex:1 1 650px}
.live-person-hero__portrait{width:clamp(130px,16vw,188px);height:clamp(158px,19vw,225px);flex:0 0 auto;border:3px solid rgba(255,255,255,.24);border-radius:20px;background:rgba(255,255,255,.13);overflow:hidden;display:flex;align-items:center;justify-content:center}
.live-person-hero__portrait img{width:100%;height:100%;object-fit:contain;object-position:center}
.live-person-hero__text{min-width:0;flex:1}
.live-person-hero__text h1{overflow-wrap:anywhere}
.live-person-hero__nickname{margin:4px 0 16px;font-size:1.05rem;opacity:.95;font-weight:600}
.live-person-hero__description{max-width:760px;margin:14px 0 0;line-height:1.6;white-space:normal;color:rgba(255,255,255,.89)}
.live-person-hero .live-club-actions{align-self:flex-start;margin-left:auto}
.live-person-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.live-person-panel{--live-ui-surface-bg:#fff;--live-ui-surface-line:1px solid #e6eaf2;--live-ui-surface-radius:18px;--live-ui-surface-shadow:0 12px 28px rgba(20,40,92,.045);min-width:0;padding:clamp(18px,2.5vw,27px);}
.live-person-panel--wide{padding:18px 22px}
.live-person-panel__heading{display:flex;align-items:center;gap:11px;font-weight:800;font-size:1.05rem;color:#21409a;margin-bottom:16px}
.live-person-panel__heading i{color:#f37021;font-size:1.25rem}
.live-person-info-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #edf0f5}
.live-person-info-row>span{color:#66748a;font-size:.9rem;flex:0 0 124px}
.live-person-info-row strong{font-size:.95rem;color:#1a2d56}
.live-person-contact{display:flex;align-items:center;gap:9px;min-width:0;max-width:100%}
.live-person-contact a{color:#21409a;font-weight:700;overflow-wrap:anywhere;font-size:.93rem}
.live-person-clubs{display:grid;gap:10px}
.live-person-club{display:flex;gap:13px;align-items:center;text-decoration:none;padding:10px;border:1px solid #e8ebf2;border-radius:13px;color:#1d376c;font-weight:750;transition:background .2s,border-color .2s}
.live-person-club:hover{background:#f5f8ff;border-color:#c7d4f6}
.live-person-club img{object-fit:contain;flex:0 0 54px}
.live-person-club span{flex:1;min-width:0;overflow-wrap:anywhere}
.live-person-club>.bi{color:#f37021}
.live-person-sports{margin-top:16px;display:flex;flex-wrap:wrap;gap:10px}
.live-person-sports span{display:inline-flex;gap:7px;align-items:center;border:1px solid #e3e9f7;border-radius:999px;padding:6px 12px;background:#f7faff;color:#21409a;font-weight:700;font-size:.85rem}
.live-person-sports img{object-fit:contain}
.live-person-empty{margin:0;color:#728096;line-height:1.6}
.live-person-career{background:#fff;border:1px solid #e4e9f3;border-radius:18px;overflow:hidden}
.live-person-career__content{padding:20px;min-width:0}
.live-person-career__content[hidden]{display:none}
.live-person-career-legacy .nav-tabs{gap:8px;border-bottom:1px solid #dee6f6;padding:0 0 12px!important}
.live-person-career-legacy .nav-link{border:1px solid #dfe5f1;border-radius:10px;color:#21409a;font-weight:750;background:#f9fbff;padding:10px 16px}
.live-person-career-legacy .nav-link.active{background:#21409a;border-color:#21409a;color:#fff}
.live-person-career-legacy .tab-pane{border:0!important;padding:15px 0!important}
.live-person-career-legacy .accordion-button{font-weight:750;color:#21409a}
.live-person-career-legacy .accordion-button:not(.collapsed){background:#eef3ff;color:#21409a}
.live-person-career-legacy .table-responsive{overflow-x:auto}
.live-person-career-legacy .table{min-width:630px;font-size:.88rem;vertical-align:middle}
.live-person-career-legacy .table thead th{background:#eef3ff;color:#21409a;white-space:nowrap}

.live-person-private-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:12px}
.live-person-detail #calendar{min-height:360px}
@media(max-width:900px){.live-person-info-grid{grid-template-columns:1fr}}
@media(max-width:600px){.live-person-hero{align-items:stretch}.live-person-hero__identity{align-items:flex-start;flex-wrap:wrap}.live-person-hero__portrait{width:128px;height:153px}.live-person-hero__text{flex-basis:190px}.live-person-hero__text h1{font-size:clamp(1.5rem,6.5vw,2rem)}.live-person-hero .live-club-actions{margin-left:0}.live-person-info-row{align-items:flex-start;flex-direction:column;gap:6px}.live-person-info-row>span{flex:auto}.live-person-career__content{padding:12px}.live-person-panel--wide{padding:12px}}


/* FASE 10.1 – Menu Azioni unico in ogni hero: il pulsante della squadra e' il riferimento. */
.live-home .live-entity-action-menu{
    display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
    min-height:38px!important;padding:8px 13px!important;
    background:#fff!important;color:#21409a!important;border:1px solid rgba(255,255,255,.92)!important;
    font-size:12px!important;font-weight:800!important;line-height:1.2!important;
    border-radius:10px!important;box-shadow:0 5px 18px rgba(14,37,89,.13)!important;
    white-space:nowrap;
}
.live-home .live-entity-action-menu:hover,.live-home .live-entity-action-menu:focus-visible{background:#eef3ff!important;color:#173581!important}
.live-home .live-entity-action-menu .bi{color:#21409a!important}
.live-home .live-entity-action-list{min-width:220px;border:1px solid #e2e8f4;border-radius:13px;padding:5px!important;box-shadow:0 14px 34px rgba(20,43,98,.17);z-index:1080}
.live-home .live-entity-action-list>li+li{border-top:1px solid #e8edf6}
.live-home .live-entity-action-list .dropdown-divider{display:none}
.live-home .live-entity-action-list .dropdown-item{display:flex;align-items:center;gap:9px;min-height:38px;padding:9px 10px;border-radius:7px;color:#233960;font-size:12px;font-weight:700}
.live-home .live-entity-action-list .dropdown-item:hover{background:#edf3ff;color:#21409a}
.live-home .live-entity-action-list .dropdown-item .bi{width:18px;font-size:15px;text-align:center;flex:none}
.live-home .live-entity-action-list .dropdown-item .bi.bi-trash,.live-home .live-entity-action-list .dropdown-item .bi.bi-trash3{color:#c23c39!important}
.live-home .live-entity-action-list .dropdown-item .bi.bi-pencil,.live-home .live-entity-action-list .dropdown-item .bi.bi-pencil-square{color:#f37021!important}
.live-home .live-entity-action-list .dropdown-item .bi.bi-check-circle,.live-home .live-entity-action-list .dropdown-item .bi.bi-check-circle-fill{color:#198754!important}
.live-home .live-entity-action-list .dropdown-item .bi.bi-file-earmark-pdf{color:#c23c39!important}
.live-home .live-entity-action-list .dropdown-item .bi.bi-copy{color:#1680ad!important}
.live-field-hero .live-field-hero__actions{position:static}
.live-field-hero .live-field-hero__actions>.dropdown{position:absolute;top:22px;right:25px;z-index:12}

/* Hero persona: compatto e bilanciato, fotografia adattiva senza stiramenti o tagli. */
.live-person-detail .live-person-hero.live-team-hero{
    min-height:0!important;height:auto!important;display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;
    padding:26px 170px 26px 30px!important;margin:6px 0 20px!important;gap:20px;
    background:linear-gradient(112deg,#21409a 0%,#1a347b 62%,#203164 100%);
}
.live-person-detail .live-person-hero__identity{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:22px;flex-wrap:nowrap}
.live-person-detail .live-person-hero__portrait{
    width:132px;height:158px;max-width:132px;max-height:158px;flex:0 0 132px;
    border:3px solid rgba(255,255,255,.38);border-radius:16px;
    background:linear-gradient(135deg,#f8faff,#e6edfa);overflow:hidden;
    display:flex;align-items:center;justify-content:center;box-shadow:0 10px 23px rgba(5,15,40,.2);
}
.live-person-detail .live-person-hero__portrait img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;max-width:100%;max-height:100%}
.live-person-detail .live-person-hero__text h1{font-size:clamp(1.8rem,3.1vw,2.75rem);line-height:1.12;margin:4px 0 10px}
.live-person-detail .live-person-hero__nickname{margin:2px 0 10px}
.live-person-detail .live-person-hero__description{margin-top:10px;font-size:13px;line-height:1.4;max-width:660px}
.live-person-detail .live-person-hero .live-club-actions{top:22px;right:25px;bottom:auto;position:absolute;margin:0;z-index:12}
@media(max-width:767px){
 .live-person-detail .live-person-hero.live-team-hero{padding:22px 18px 80px!important;flex-direction:column!important;align-items:flex-start!important;flex-wrap:nowrap!important}
 .live-person-detail .live-person-hero__portrait{width:110px;height:132px;flex-basis:110px;max-width:110px;max-height:132px}
 .live-person-detail .live-person-hero__identity{gap:15px;align-items:center}
 .live-person-detail .live-person-hero .live-club-actions{top:auto;bottom:17px;right:18px}
}
@media(max-width:400px){.live-person-detail .live-person-hero__portrait{width:90px;height:110px;flex-basis:90px}.live-person-detail .live-person-hero__text h1{font-size:1.55rem}}

/* Tabella storia e carriera: medesima tipografia, bordi, badge e interazione. */
.live-history-season{margin:16px 0 23px;background:#fff;border:1px solid #e0e8f4;border-radius:17px;overflow:hidden;box-shadow:0 9px 25px rgba(20,47,110,.06)}
.live-history-season__header{display:flex;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(100deg,#f5f8ff,#fff);border-bottom:1px solid #e0e8f4}
.live-history-season__icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:#e8efff;color:#21409a}
.live-history-season__header h3{font-size:17px;color:#21409a;font-weight:800;line-height:1.25;margin:1px 0 0}
.live-history-season__header .live-overline{font-size:10px}
.live-history-season__count{margin-left:auto;padding:6px 10px;background:#fff0e8;border-radius:30px;color:#b75516;font-size:11px;font-weight:750;white-space:nowrap}
.live-history-table-wrap{overflow-x:auto}
.live-home .live-history-table{--bs-table-bg:#fff;--bs-table-striped-bg:#fff;border-collapse:separate;border-spacing:0;min-width:640px;width:100%;font-size:13px;line-height:1.42;vertical-align:middle}
.live-home .live-history-table thead th,.live-person-career-legacy .live-history-table thead th{padding:13px 14px;background:#eff4fc!important;color:#21409a!important;font-size:11px;font-weight:800;letter-spacing:.025em;white-space:nowrap;border-bottom:1px solid #dbe5f3!important}
.live-home .live-history-table tbody td{padding:13px 14px;color:#263a59;border-bottom:1px solid #edf1f7;vertical-align:middle;background:transparent}
.live-home .live-history-table tbody tr:hover{background:#f8faff}
.live-home .live-history-table tbody tr:last-child td{border-bottom:0}
.live-history-team-link{display:flex;align-items:center;gap:10px;min-width:160px;text-decoration:none;font-weight:750}
.live-history-team-link img{width:45px;height:45px;object-fit:contain;flex:none;background:#f5f7fc;border:1px solid #e7ecf5;border-radius:9px}
.live-history-position{display:inline-block;padding:6px 10px;border-radius:9px;background:#eef3ff;color:#21409a;font-size:12px;font-weight:750;white-space:nowrap}
.live-person-career-legacy .live-history-accordion .accordion-item{margin:10px 0;border:1px solid #e0e8f4;border-radius:14px;overflow:hidden}
.live-person-career-legacy .live-history-accordion .accordion-button{padding:15px 18px;background:#f8faff;font-size:14px;font-weight:800;color:#21409a}
.live-person-career-legacy .live-history-accordion .accordion-button:not(.collapsed){background:#eaf0fe}
.live-person-career-legacy .live-history-accordion .accordion-body{padding:0!important}
.live-person-career-legacy .live-history-table img{max-height:40px;object-fit:contain}
@media(max-width:650px){.live-history-season__header{flex-wrap:wrap;padding:12px}.live-history-season__count{margin-left:0}.live-history-table{font-size:12px}}

/* Storia squadre: identiche card della societa', foto protagonista, logo sotto. */
.live-team-history-grid .live-club-team__media img{object-fit:cover;width:100%;height:100%}
.live-team-history-grid .live-club-team__details>img{width:54px;height:54px;object-fit:contain}
.live-team-history-grid .live-club-team__details strong{font-size:14px}

/* Utenze dentro Dettagli e calendario personale comune. */
.live-person-account-list{margin-top:16px;border-top:1px solid #e8eef7;padding-top:13px}
.live-person-account-list__heading{display:flex;align-items:center;gap:8px;color:#21409a;font-size:12px;font-weight:800;margin-bottom:7px}
.live-person-account-list__heading .bi{color:#f37021}
.live-person-account{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #edf1f7}
.live-person-account>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.live-person-account strong{font-size:13px;overflow-wrap:anywhere;color:#263b63}
.live-person-account small{font-size:11px;color:#71809a}
.live-person-calendar-panel{background:#fff;border:1px solid #e0e8f4;border-radius:18px;padding:clamp(12px,2vw,20px);box-shadow:0 10px 28px rgba(24,52,120,.045)}
.live-person-calendar-legend{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#6b7690}
.live-person-calendar-legend .bi{color:#c94845}
.live-person-calendar-help{font-size:12px;color:#5b6f90;display:flex;gap:7px;align-items:flex-start;margin:12px 0}
.live-person-calendar-help .bi{color:#f37021}
.live-person-calendar__unavailable-event{padding:7px 8px;font-size:11px;font-weight:800;color:#a22828;background:#fff0ef;border-left:4px solid #ce4b48;border-radius:8px}
.live-home [data-live-calendar="person"] .fc .live-person-calendar__unavailable-event{border:0;background:transparent}
.live-home [data-live-calendar="person"] .fc .live-person-calendar__unavailable-event.fc-event{background:#fff0ef!important;border:1px solid #ecc9c6!important;border-left:4px solid #ce4b48!important;border-radius:9px}

.live-team-history-grid .live-club-team__media img.live-club-team__fallback{width:100%;height:100%;object-fit:contain;padding:20px}

/* Fase 10.2: le regole legacy di site-legacy.css impostano il testo dei tab
   attivi a #495057 !important; prevalere soltanto nella carriera persona. */
.live-person-detail .live-person-career-legacy .nav-tabs .nav-link.active,
.live-person-detail .live-person-career-legacy .nav-tabs .nav-link.active:hover,
.live-person-detail .live-person-career-legacy .nav-tabs .nav-link.active:focus {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    background-color: #21409a !important;
    border-color: #21409a !important;
}
.live-person-detail .live-person-career-legacy .nav-tabs .nav-link:not(.active) {
    color: #21409a !important;
    -webkit-text-fill-color: #21409a;
}
.live-person-detail .live-person-career-legacy .nav-tabs .nav-link:not(.active):hover {
    background-color: #edf3ff;
}
.live-career-attendance-summary {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px; margin: 12px 0 17px;
    padding: 13px 17px; border-radius: 13px; border: 1px solid #dce5f7;
    background: linear-gradient(100deg, #f1f5ff, #fff);
    color: #21409a;
}
.live-career-attendance-summary span { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 750; }
.live-career-attendance-summary span i { color: #f37021; font-size: 18px; }
.live-career-attendance-summary strong { font-size: 22px; font-variant-numeric: tabular-nums; font-weight: 850; }
.live-career-attendance-season {
    display: inline-flex; align-items: center; gap: 6px;
    margin-left: auto; margin-right: 14px; flex-shrink: 0;
    border: 1px solid #d8e2f8; background: #fff;
    color: #21409a; border-radius: 999px;
    padding: 5px 9px; font-size: 11px; font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.live-career-attendance-season i { color: #f37021; }
@media(max-width:575px) {
    .live-career-attendance-summary { padding: 12px 13px; }
    .live-career-attendance-season { margin-left: 8px; margin-right: 6px; }
    .live-person-career-legacy .live-history-accordion .accordion-button { flex-wrap: wrap; gap: 9px; }
}

/* Fase 10.3: una sola UX per le indisponibilità in tutti i calendari pubblici. */
.live-home [data-live-calendar] .fc .live-person-calendar__unavailable-event.fc-event,
.live-home [data-live-calendar] .fc a.live-person-calendar__unavailable-event{
  background:#fff0ef!important;border:1px solid #ecc9c6!important;
  border-left:4px solid #ce4b48!important;border-radius:9px;color:#9e2926!important;
  cursor:pointer;
}
.live-home [data-live-calendar] .fc .live-person-calendar__unavailable-event .fc-event-main{color:#9e2926!important}
.live-home [data-live-calendar] .fc .fc-addUnavailability-button{
  background:#fff2e9!important;border:1px solid #f6bf9a!important;color:#a8470c!important;
  border-radius:10px!important;font-weight:750!important;font-size:12px!important;
}
.live-home [data-live-calendar] .fc .fc-addUnavailability-button:hover{background:#ffe5d5!important}
.live-availability-hint{margin:8px 0 14px}
/* Modal di inserimento/rimozione: esattamente la geometria dei modal entity.
   Non centrati e senza header pieno; titolo blu, separatore e azioni nel footer. */
.live-home .live-availability-modal .modal-dialog{max-width:min(560px,calc(100vw - 28px));margin-top:clamp(12px,4vh,38px)}
.live-home .live-availability-modal .modal-content{border:1px solid #dfe6f1;border-radius:16px;box-shadow:0 22px 56px rgba(17,39,79,.18);overflow:hidden}
.live-home .live-availability-modal .modal-header{display:block;padding:17px 21px 4px;background:#fff;color:#21409a;border:0}
.live-home .live-availability-modal .modal-header .solid-border{padding-bottom:13px;border-bottom:2px solid #dfe8f9}
.live-home .live-availability-modal .modal-header .btn-close{filter:none;opacity:.65}
.live-home .live-availability-modal .modal-header .btn-close:hover{opacity:1}
.live-home .live-availability-modal .modal-title{font-size:17px;font-weight:800;color:#21409a!important;margin:0}
.live-home .live-availability-modal__icon{color:#f37021;font-size:19px;line-height:1}
.live-home .live-availability-modal .modal-body{padding:18px 21px;color:#31456b;font-size:14px}
.live-home .live-availability-modal .modal-footer{padding:14px 21px;border-top:1px solid #e8edf7;gap:8px;background:#fafbfe}
.live-home .live-availability-modal .btn{border-radius:9px;font-weight:750}
.live-home .live-availability-modal .btn-primary{background:#21409a;border-color:#21409a;color:#fff}
.live-home .live-availability-modal .btn-primary:hover{background:#19357f;border-color:#19357f}
.live-home .live-availability-modal .btn-danger{background:#dc3545;border-color:#dc3545;color:#fff}
.live-availability-range{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.live-availability-range label{font-size:12px;font-weight:750;color:#354b73;display:grid;gap:6px}
.live-availability-range .form-control{border:1px solid #cbd7ed;border-radius:9px;min-height:43px}
.live-availability-range__error{grid-column:1/-1;color:#b42327;font-size:12px}
.live-availability-notice{position:fixed;right:20px;bottom:20px;z-index:11000;max-width:min(380px,calc(100vw - 40px));
  padding:13px 17px;background:#21409a;color:#fff;box-shadow:0 10px 30px rgba(20,40,91,.2);border-radius:12px;font-size:13px;font-weight:700}
.live-availability-notice.is-error{background:#ae3332}
@media(max-width:767px){
  .live-home [data-live-calendar] .fc .fc-toolbar{gap:8px;flex-wrap:wrap}
  .live-home [data-live-calendar] .fc .fc-addUnavailability-button{padding:7px 9px!important}
  .live-availability-range{grid-template-columns:1fr}
}

/* Fase 10.4: bordo gara e legenda condivisi su tutti i FullCalendar pubblici.
   La variabile viene assegnata soltanto agli autenticati dal medesimo status EAV
   usato dal servizio designazioni; per gli anonimi rimane la grafica esistente. */
.live-home [data-live-calendar] .fc a.fc-event.live-fc-event,
.live-home [data-live-calendar] .fc .live-fc-event{
  border-left-color:var(--live-game-status-color,#f37021)!important;
}
.live-home [data-live-calendar] .fc .live-fc-event--played{
  border-left-color:var(--live-game-status-color,#21409a)!important;
}
.live-home [data-live-calendar] .fc .fc-list-event[style*="--live-game-status-color"] .fc-list-event-dot{
  border-color:var(--live-game-status-color)!important;
}
.live-home [data-live-calendar] .fc .fc-list-event[style*="--live-game-status-color"] .fc-list-event-title{
  box-shadow:inset 4px 0 0 var(--live-game-status-color);
}
.live-calendar-status-legend{display:flex;flex-wrap:wrap;align-items:center;gap:9px 16px;
  padding:12px 14px;margin:0 0 14px;border:1px solid #e2e9f6;border-radius:12px;
  background:#f8faff;color:#405575;font-size:11px;line-height:1.35}
.live-calendar-status-legend__heading{font-weight:850;color:#21409a;margin-right:3px}
.live-calendar-status-legend__item{display:inline-flex;align-items:center;gap:6px;white-space:normal}
.live-calendar-status-legend__swatch{display:inline-block;width:13px;height:13px;flex:0 0 13px;
  border-radius:4px;border:1px solid rgba(35,51,79,.24);box-shadow:0 1px 2px rgba(20,33,70,.07)}
@media(max-width:575px){
 .live-calendar-status-legend{gap:8px 11px;padding:11px}
 .live-calendar-status-legend__heading{width:100%}
 .live-home .live-availability-modal .modal-dialog{margin:12px auto}
}

/* Fase 10.5: filtri multi-ruolo e marcatori personali, indipendenti dal bordo di stato. */
.live-calendar-role-filters{display:flex;flex-wrap:wrap;align-items:center;gap:9px 14px;
 padding:12px 14px;margin:0 0 15px;border:1px solid #d8e3f7;border-radius:12px;background:#fff}
.live-calendar-role-filters__title{color:#21409a;font-size:12px;white-space:nowrap}
.live-calendar-role-filters__buttons{display:flex;flex-wrap:wrap;gap:7px;flex:1}
.live-calendar-role-filter{display:inline-flex;align-items:center;justify-content:center;gap:6px;
 border:1px solid #d7e0f2;background:#f7f9fd;color:#21409a;border-radius:10px;
 font-weight:700;font-size:11px;padding:7px 10px;line-height:1.25;cursor:pointer}
.live-calendar-role-filter:hover,.live-calendar-role-filter:focus-visible{border-color:#21409a;color:#21409a}
.live-calendar-role-filter.is-active{background:#21409a;border-color:#21409a;color:#fff}
.live-calendar-role-filter__swatch{width:11px;height:11px;flex:0 0 11px;display:inline-block;
 border-radius:50%;border:1px solid rgba(0,0,0,.15)}
.live-calendar-role-filters__help{width:100%;font-size:11px;color:#5d708f}
.live-fc-game__roles{display:flex;gap:4px;flex-wrap:wrap;margin:4px 0 1px}
.live-fc-game__role-tag{display:inline-block;background:#f8faff;border:1px solid #dbe4f6;
 border-left:3px solid var(--live-personal-role-color,#21409a);border-radius:5px;
 color:#294363;font-size:9px;font-weight:750;padding:1px 5px}
.live-calendar-role-hidden{display:none!important}
@media(max-width:767px){.live-calendar-role-filters{padding:10px}.live-calendar-role-filters__title{width:100%}
 .live-calendar-role-filter{font-size:10px;padding:7px 8px}}


/* FASE 10.6 · FullCalendar condiviso: il nodo data-live-calendar e' anche la radice .fc.
   Le precedenti regole cercavano erroneamente una .fc discendente, lasciando il bordo arancione. */
.live-home [data-live-calendar].fc a.fc-event.live-fc-event,
.live-home [data-live-calendar].fc .live-fc-event,
.live-home [data-live-calendar] .fc a.fc-event.live-fc-event,
.live-home [data-live-calendar] .fc .live-fc-event {
    border-left:4px solid var(--live-game-status-color,#f37021)!important;
}
/* Non sovrascrivere il colore del backend al passaggio del mouse. */
.live-home [data-live-calendar].fc .live-fc-event:hover,
.live-home [data-live-calendar] .fc .live-fc-event:hover {
    border-left-color:var(--live-game-status-color,#f37021)!important;
}
/* Legenda e filtri di risultato indipendenti dai filtri sui ruoli personali. */
.live-calendar-result-filters{display:flex;align-items:center;flex-wrap:wrap;gap:9px 14px;
    padding:12px 14px;margin:0 0 15px;border:1px solid #d8e3f7;border-radius:12px;background:#fff}
.live-calendar-result-filters__title{color:#21409a;font-size:12px;white-space:nowrap;font-weight:800}
.live-calendar-result-filters__buttons{display:flex;flex-wrap:wrap;gap:7px;flex:1}
.live-calendar-result-filter{display:inline-flex;align-items:center;justify-content:center;gap:6px;
    border:1px solid #d7e0f2;background:#f7f9fd;color:#21409a;border-radius:10px;
    font-weight:700;font-size:11px;padding:7px 10px;line-height:1.25;cursor:pointer}
.live-calendar-result-filter:hover,.live-calendar-result-filter:focus-visible{border-color:#21409a;color:#21409a}
.live-calendar-result-filter.is-active{background:#21409a;border-color:#21409a;color:#fff}
.live-calendar-result-filter i{font-size:12px}
.live-fc-game__status-badge{display:inline-flex;align-items:center;padding:3px 6px;border-radius:5px;
    border:1px solid transparent;font-size:9px;line-height:1.2;font-weight:800;white-space:nowrap}
.live-fc-game__status-badge--scheduled{background:#eef3ff;border-color:#cddafa;color:#21409a}
.live-fc-game__status-badge--unofficial{background:#fff0e3;border-color:#f4cba6;color:#a24e18}
.live-fc-game__status-badge--validated{background:#e6f4ec;border-color:#a6d5bc;color:#16633e}
@media(max-width:767px){.live-calendar-result-filters{padding:10px}
    .live-calendar-result-filters__title{width:100%}
    .live-calendar-result-filter{font-size:10px;padding:7px 8px}}
/* Per i visitatori senza stato di designazione, conserva il bordo blu delle gare con risultato. */
.live-home [data-live-calendar].fc .live-fc-event--played,
.live-home [data-live-calendar] .fc .live-fc-event--played,
.live-home [data-live-calendar].fc .live-fc-event--played:hover,
.live-home [data-live-calendar] .fc .live-fc-event--played:hover {
    border-left-color:var(--live-game-status-color,#21409a)!important;
}

/* ============================================================================
   FASE 11 — Contatti e Privacy. Un unico layout informativo, nessun CSS per pagina.
   ============================================================================ */
.live-public-info .live-public-info__hero{margin-bottom:30px;min-height:205px}
.live-public-info__heading{margin:26px 0 18px}
.live-public-info__contacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.live-public-info__contact-card{min-width:0;display:flex;flex-direction:column;gap:18px;background:#fff;border:1px solid #e3e9f5;border-radius:18px;padding:25px;box-shadow:0 10px 28px rgba(28,47,99,.05)}
.live-public-info__contact-icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;color:#21409a;background:#eef2ff;font-size:23px}
.live-public-info__contact-icon--orange{background:#fff2e8;color:#ee6b16}
.live-public-info__contact-card h3{font-size:22px;font-weight:800;letter-spacing:-.035em;margin:5px 0;color:#24365b}
.live-public-info__contact-description{font-size:12px;line-height:1.6;color:#6c7891;margin:0}
.live-public-info__contact-items{display:grid;gap:11px;margin-top:auto}
.live-public-info__contact-item{display:flex;gap:12px;align-items:center;padding:12px;background:#f8faff;border:1px solid #edf0f7;border-radius:11px;min-width:0}
.live-public-info__contact-item>i{font-size:19px;color:#21409a;flex:0 0 20px}
.live-public-info__contact-item>div{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.live-public-info__contact-item small{font-size:10px;letter-spacing:.055em;text-transform:uppercase;color:#8390a6;font-weight:800}
.live-public-info__contact-item a,.live-public-info__contact-item span{font-size:12px;color:#24365b;font-weight:700;overflow-wrap:anywhere;line-height:1.5}
.live-public-info__contact-item a:hover,.live-public-info__commission a:hover{color:#ee6b16}
.live-public-info__contact-action{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border:1px solid #d9e2f3;border-radius:9px;background:white;color:#21409a;transition:background .16s,border-color .16s}
.live-public-info__contact-action:hover{background:#eef2ff;border-color:#abbce7;color:#21409a}
.live-public-info__social-links{display:flex;gap:9px;flex-wrap:wrap}
.live-public-info__social-links a{border:1px solid #e2e7f3;border-radius:9px;padding:9px 12px;font-size:12px;color:#21409a;font-weight:700;display:inline-flex;gap:7px;align-items:center}
.live-public-info__social-links a:hover{background:#f1f5ff}
.live-public-info__map-section{display:grid;grid-template-columns:minmax(270px,.82fr) minmax(0,1.18fr);gap:0;border:1px solid #dfe6f2;border-radius:18px;background:#fff;overflow:hidden;margin:24px 0 34px;box-shadow:0 8px 24px rgba(30,48,91,.04)}
.live-public-info__map-copy{padding:35px;display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:15px}
.live-public-info__map-copy h2{font-size:clamp(23px,2vw,30px);font-weight:800;letter-spacing:-.04em;margin:0;color:#22385c}
.live-public-info__map-copy>p:not(.live-overline){font-size:13px;line-height:1.7;color:#687890;margin:0}
.live-public-info__map-copy>small{font-size:11px;color:#8b96a9;line-height:1.5}
.live-public-info__map-buttons{display:flex;gap:9px;flex-wrap:wrap}
.live-public-info__map-buttons a,.live-public-info__map-buttons button{border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 14px;font-size:12px;font-weight:800;text-decoration:none}
.live-public-info__map-buttons button{background:#21409a;border:1px solid #21409a;color:#fff}
.live-public-info__map-buttons button:hover{background:#182f7b}
.live-public-info__map-buttons button:disabled{background:#eff4fc;color:#536785;border-color:#e2e7f3;cursor:default}
.live-public-info__map-buttons a{background:white;border:1px solid #dce4f0;color:#21409a}
.live-public-info__map-buttons a:hover{background:#f7faff}
.live-public-info__map-frame{min-height:310px;position:relative;background:linear-gradient(135deg,#e6edfb 0%,#f9fbff 70%)}
.live-public-info__map-frame iframe{display:block;width:100%;height:100%;min-height:310px;border:0}
.live-public-info__map-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#21409a;text-align:center;padding:24px;background-image:linear-gradient(25deg,transparent 46%,rgba(33,64,154,.08) 47%,rgba(33,64,154,.08) 48%,transparent 49%),linear-gradient(105deg,transparent 46%,rgba(33,64,154,.08) 47%,rgba(33,64,154,.08) 48%,transparent 49%);background-size:90px 90px}
.live-public-info__map-placeholder>i{display:grid;place-items:center;border:1px solid #c4d3ef;border-radius:50%;width:66px;height:66px;background:#fff;font-size:30px;color:#f37021;box-shadow:0 10px 20px rgba(31,62,141,.1)}
.live-public-info__map-placeholder span{font-weight:800;font-size:17px}
.live-public-info__map-placeholder small{color:#667a9c;line-height:1.5}
.live-public-info__commissions{margin:0 0 56px}
.live-public-info__commission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.live-public-info__commission{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;background:#fff;border:1px solid #e3e9f5;border-radius:12px;transition:border-color .18s,transform .18s}
.live-public-info__commission:hover{border-color:#bcc9e7;transform:translateY(-1px)}
.live-public-info__commission-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:11px;background:#eef2ff;color:#21409a;font-size:18px}
.live-public-info__commission>div{min-width:0;flex:1}
.live-public-info__commission h3{font-size:13px;font-weight:800;color:#293957;margin:0 0 5px}
.live-public-info__commission a{font-size:11px;overflow-wrap:anywhere;color:#50658b}
.live-public-policy__section{margin:25px 0 56px}
.live-public-policy__intro{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:10px;margin-bottom:17px}
.live-public-policy__intro h2{font-size:24px;color:#21385e;font-weight:800;letter-spacing:-.035em;margin:6px 0 0}
.live-public-policy__intro>p{font-size:12px;color:#76849a;margin:0}
.live-public-policy__tabs{gap:10px;padding:7px;background:#f0f4fc;border:1px solid #e0e7f3;border-radius:13px;width:fit-content;max-width:100%;margin-bottom:16px}
.live-public-policy__tabs .nav-link{display:inline-flex;align-items:center;gap:8px;color:#21409a;font-size:12px;font-weight:800;border-radius:9px;padding:11px 15px;white-space:normal;text-align:left}
.live-public-policy__tabs .nav-link.active,.live-public-policy__tabs .nav-link.active:hover{background:#21409a;color:#fff}
.live-public-policy__tabs .nav-link:hover:not(.active){background:#fff;color:#21409a}
.live-public-policy__content{border:1px solid #dfe6f2;border-radius:16px;background:#fff;overflow:hidden;padding:24px;box-shadow:0 8px 24px rgba(30,48,91,.04)}
.live-public-policy__content .row{margin:0}
.live-public-policy__content .row>*{padding:0}
.live-public-policy__content .card{background:transparent;border:0;box-shadow:none!important;padding:0!important;margin:0;max-width:100%}
.live-public-policy__content .card-body{padding:0!important;line-height:1.75;color:#53647e;font-size:13px}
.live-public-policy__content .card-title{padding:0;margin:0 0 20px;color:#21409a;font-size:22px;font-weight:800}
.live-public-policy__content h3{font-size:17px;font-weight:800;color:#21409a;margin:26px 0 11px}
.live-public-policy__content p,.live-public-policy__content li{overflow-wrap:anywhere}
.live-public-policy__content ul{padding-left:25px}
.live-public-policy__content li{margin-bottom:9px}
@media(max-width:991.98px){.live-public-info__contacts{grid-template-columns:1fr}.live-public-info__commission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-public-info__map-section{grid-template-columns:1fr}.live-public-info__map-frame,.live-public-info__map-frame iframe{min-height:290px}}
@media(max-width:575.98px){.live-public-info__contact-card{padding:20px}.live-public-info__map-copy{padding:24px}.live-public-info__commission-grid{grid-template-columns:1fr}.live-public-policy__content{padding:18px}.live-public-policy__tabs{width:100%}.live-public-policy__tabs .nav-link{flex:1;font-size:11px;padding:10px}.live-public-info__map-frame,.live-public-info__map-frame iframe{min-height:260px}}


/* Fase 12 — accesso e pagine di errore. Solo CSS condiviso. */
.live-auth{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(315px,.92fr);gap:clamp(28px,5vw,70px);align-items:center;margin:20px 0 28px;border-radius:24px;padding:clamp(26px,5vw,70px);min-height:420px;background:linear-gradient(126deg,#203d90 0%,#172f71 62%,#203765 100%);color:#fff;position:relative;overflow:hidden}
.live-auth::after{content:"";position:absolute;width:320px;height:320px;border:65px solid rgba(255,255,255,.035);border-radius:50%;top:-150px;right:30%;pointer-events:none}
.live-auth__intro{position:relative;z-index:1}
.live-auth__eyebrow{display:inline-flex;align-items:center;gap:8px;letter-spacing:.11em;font-size:11px;font-weight:800;color:#ffbb8a;margin-bottom:16px}
.live-auth__intro h1{color:#fff;font-size:clamp(29px,3.45vw,47px);line-height:1.12;letter-spacing:-.045em;font-weight:850;max-width:600px;margin:0 0 19px}
.live-auth__intro h1 em{font-style:normal;color:#ffc29c}
.live-auth__intro>p{line-height:1.7;font-size:14px;max-width:440px;color:#d9e3ff;margin:0 0 27px}
.live-auth__benefits{display:grid;gap:11px}
.live-auth__benefits span{display:flex;gap:11px;align-items:center;font-size:12px;font-weight:650;color:#eef4ff}
.live-auth__benefits i{color:#f79451;font-size:15px}
.live-auth__card{background:#fff;color:#263b5d;border-radius:19px;padding:clamp(24px,3vw,37px);box-shadow:0 22px 50px rgba(9,24,65,.23);position:relative;z-index:1}
.live-auth__card-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#ecf1ff;color:#21409a;font-size:23px;margin-bottom:20px}
.live-auth__card h2{color:#213b71;font-size:clamp(23px,2.4vw,29px);font-weight:800;letter-spacing:-.035em;margin:0 0 8px}
.live-auth__card>p{color:#6b7893;font-size:13px;line-height:1.6;margin:0 0 18px}
.live-auth__form-wrap .modal-header{padding:0 0 13px;border:0}
.live-auth__form-wrap .modal-title,.live-auth__form-wrap .modal-header .btn-close{display:none}
.live-auth__form-wrap .modal-body{padding:0 0 15px}
.live-auth__form-wrap .input-group{margin-top:15px!important}
.live-auth__form-wrap .form-control,.live-auth__form-wrap .input-group-text{min-height:47px;border-color:#d8e1f1}
.live-auth__form-wrap .form-control:focus{border-color:#21409a;box-shadow:0 0 0 .17rem rgba(33,64,154,.12)}
.live-auth__form-wrap .input-group-text{color:#21409a;background:#f2f5fc}
.live-auth__form-wrap .modal-footer{border:0;padding:0;display:block}
.live-auth__form-wrap .modal-footer .btn{width:100%;min-height:46px;background:#21409a;border-color:#21409a;font-weight:750;border-radius:9px}
.live-auth__form-wrap .modal-footer .btn:hover{background:#182f75;border-color:#182f75}
.live-auth__privacy{margin:14px 0 0!important;font-size:11px!important;color:#7787a0!important;display:flex;align-items:flex-start;gap:8px}
.live-auth__privacy i{color:#1b8b63}
.live-auth__primary{border:0;background:#21409a;color:#fff!important;min-height:46px;border-radius:9px;padding:12px 16px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:750}
.live-auth__primary:hover{background:#182f75}
.live-auth__bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:40px;color:#6a7994;font-size:12px}
.live-auth__bottom a{color:#21409a;font-weight:750}
.live-error-state{margin:24px auto 54px;max-width:930px;background:#fff;border:1px solid #dfe6f2!important;border-radius:23px;box-shadow:0 15px 40px rgba(29,45,85,.055)}
.live-error-state__content{padding:clamp(30px,5.5vw,76px) 25px!important;text-align:center}
.live-error-state__icon{width:85px;height:85px;display:grid;place-items:center;border-radius:23px;background:#fff0e6;color:#e66816;font-size:39px;margin:0 auto 18px}
.live-error-state__icon--404{background:#ebf0fe;color:#21409a}
.live-error-state__code{display:block;letter-spacing:.16em;font-size:11px;font-weight:850;color:#e76c25;margin-bottom:9px}
.live-error-state__content h1,.live-error-state__content h2{color:#213b71;font-size:clamp(28px,3.2vw,40px);font-weight:850;letter-spacing:-.04em;margin:0 0 14px}
.live-error-state__content>p{max-width:530px;margin:0 auto 25px;line-height:1.7;font-size:14px;color:#68778f}
.live-error-state__actions{display:flex;justify-content:center;gap:11px;flex-wrap:wrap}
.live-error-state__actions .btn{display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:750;border-radius:9px;min-height:42px;padding:10px 18px}
.live-error-state__actions .btn-primary{background:#21409a;border-color:#21409a}
.live-error-state__actions .btn-outline-primary{color:#21409a;border-color:#ccd7ee}
.live-error-state__actions .btn-outline-primary:hover{background:#eff3fc}
.live-error-state__content>small{display:block;margin-top:21px;color:#8392aa;font-size:11px}
/* Il componente 403 e' utilizzato anche nelle vecchie pagine amministrative. */
.main .live-error-state,.section .live-error-state{margin:22px auto}
@media(max-width:900px){.live-auth{grid-template-columns:minmax(0,1fr);min-height:0;padding:clamp(25px,5vw,38px)}.live-auth__intro h1{max-width:670px}.live-auth__benefits{grid-template-columns:repeat(3,minmax(0,1fr))}.live-auth__benefits span{align-items:flex-start}}
@media(max-width:560px){.live-auth{margin:12px 0 24px;border-radius:17px;padding:24px 17px;gap:23px}.live-auth__benefits{grid-template-columns:1fr;gap:7px}.live-auth__card{padding:24px 19px;border-radius:14px}.live-auth__bottom{align-items:flex-start;flex-direction:column}.live-error-state{margin:16px auto 36px;border-radius:15px}.live-error-state__content{padding:30px 18px!important}}

/* Fase 13 — rifinitura del FullCalendar condiviso su telefoni.
   FullCalendar applica .fc anche al nodo [data-live-calendar] stesso. */
@media (max-width: 767.98px) {
  .live-home [data-live-calendar].fc .fc-header-toolbar,
  .live-home [data-live-calendar] .fc .fc-header-toolbar {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    column-gap:10px;
    row-gap:12px;
  }
  .live-home [data-live-calendar].fc .fc-toolbar-chunk,
  .live-home [data-live-calendar] .fc .fc-toolbar-chunk {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:6px;
    min-width:0;
  }
  .live-home [data-live-calendar].fc .fc-toolbar-title,
  .live-home [data-live-calendar] .fc .fc-toolbar-title {
    font-size:clamp(15px,4.5vw,19px);
    line-height:1.25;
    text-align:center;
    white-space:normal;
  }
  .live-home [data-live-calendar].fc .fc-toolbar .fc-button,
  .live-home [data-live-calendar] .fc .fc-toolbar .fc-button {
    white-space:nowrap;
    font-size:12px;
    min-height:36px;
  }
}
@media (max-width: 420px) {
  .live-home [data-live-calendar].fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2),
  .live-home [data-live-calendar] .fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
    width:100%;
    order:-1;
  }
}


/* ===== FASE 14 · Backoffice CSI (componenti legacy preservati) ===== */
.live-admin-sidebar{background:#173878;box-shadow:8px 0 28px rgba(13,33,68,.16);padding:13px 9px 22px;scrollbar-color:#7b91bd transparent}
.live-admin-sidebar .sidebar-nav>.nav-heading{color:#b9c9e6;font-size:10px;font-weight:850;letter-spacing:.16em;margin:20px 15px 10px}
.live-admin-sidebar .sidebar-nav>.nav-item{margin-bottom:3px;padding:0}
.live-admin-sidebar .sidebar-nav>.nav-item.border-bottom{border-color:rgba(255,255,255,.13)!important;padding-bottom:4px}
.live-admin-sidebar .sidebar-nav .nav-link,
.live-admin-sidebar .sidebar-nav .nav-link.root.active{background:transparent;border-radius:10px;min-height:41px;color:#e9eef9;line-height:1.35;padding:10px 11px!important;font-size:13px;font-weight:700;transition:background .15s,color .15s}
.live-admin-sidebar .sidebar-nav .nav-link.collapsed:not(.active),
.live-admin-sidebar .sidebar-nav .nav-link.root:not(.active){background:transparent;color:#dce7fb}
.live-admin-sidebar .sidebar-nav .nav-link:not(.collapsed),
.live-admin-sidebar .sidebar-nav .nav-link.root.active,
.live-admin-sidebar .sidebar-nav .nav-link.active{background:rgba(255,255,255,.12);color:#fff}
.live-admin-sidebar .sidebar-nav .nav-link:hover,
.live-admin-sidebar .sidebar-nav .nav-link.collapsed:hover{background:rgba(255,255,255,.12);color:#fff}
.live-admin-sidebar .sidebar-nav .nav-link:hover i,
.live-admin-sidebar .sidebar-nav .nav-link:hover svg{color:#ffb270}
.live-admin-sidebar .sidebar-nav .nav-link i,
.live-admin-sidebar .sidebar-nav .nav-link svg{color:#ffb270;font-size:15px;flex-shrink:0}
.live-admin-sidebar .sidebar-nav .nav-link div{display:flex;align-items:center;min-width:0}
.live-admin-sidebar .sidebar-nav .nav-link div>span{flex:1;min-width:0}
.live-admin-sidebar .sidebar-nav .nav-link .bi-chevron-down{margin-left:auto;margin-right:0;color:#cad8ef}
.live-admin-sidebar .sidebar-nav .nav-content{padding:3px 0 6px 12px;margin:0}
.live-admin-sidebar .sidebar-nav .nav-content a{border-radius:9px;background:transparent!important;color:#dce7fb;padding:9px 9px!important;font-size:12px;line-height:1.35;display:flex;align-items:center;gap:8px;text-decoration:none;transition:background .16s,color .16s}
.live-admin-sidebar .sidebar-nav .nav-content a:hover{background:rgba(255,255,255,.13)!important;color:#fff}
.live-admin-sidebar .sidebar-nav .nav-content a.active{background:rgba(243,112,33,.2)!important;color:#fff;border-left:3px solid #F37021;padding-left:6px!important}
.live-admin-sidebar .sidebar-nav .nav-content a i,
.live-admin-sidebar .sidebar-nav .nav-content a svg{color:#d1def3;font-size:13px;min-width:17px;margin-right:0;line-height:1.1}
.live-admin-sidebar .sidebar-nav .nav-content a.active i{background:transparent;color:#ffad6b}
.live-admin-sidebar a:focus-visible{outline:2px solid #ffd2ac;outline-offset:2px}
.live-admin-dashboard{background:#f5f7fb;color:#233147;padding:0 12px 40px!important}
.live-admin-dashboard .pagetitle{padding:15px 6px 5px}
.live-admin-dashboard .pagetitle h1{font-weight:850;color:#21409A;font-size:21px;letter-spacing:-.035em}
.live-admin-dashboard .pagetitle .breadcrumb{margin:6px 0 4px;font-size:12px}
.live-admin-welcome{border-radius:18px;background:radial-gradient(circle at 92% 5%,rgba(106,150,231,.22) 0,transparent 40%),linear-gradient(110deg,#172f72,#21409A 70%,#2d51a5);display:flex;justify-content:space-between;align-items:center;gap:20px;padding:29px clamp(19px,3vw,40px);color:white;margin:9px 6px 16px;box-shadow:0 13px 30px rgba(26,54,120,.12)}
.live-admin-welcome__main{min-width:0}
.live-admin-welcome__eyebrow{font-size:10px;font-weight:850;letter-spacing:.15em;color:#cbdaf9;display:flex;align-items:center;gap:9px}
.live-admin-welcome__dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#F37021;box-shadow:0 0 0 5px rgba(243,112,33,.18)}
.live-admin-welcome h2{color:#fff;font-size:clamp(23px,2.5vw,33px);font-weight:850;letter-spacing:-.04em;margin:15px 0 6px}
.live-admin-welcome p{font-size:13px;color:#dce5f6;margin:0 0 18px}
.live-admin-welcome__meta{display:flex;flex-wrap:wrap;gap:8px}
.live-admin-welcome__meta span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:8px;background:rgba(255,255,255,.12);font-size:11px;font-weight:700;color:#fff}
.live-admin-welcome__meta i{color:#ffbb86}
.live-admin-welcome__calendar{display:inline-flex;gap:9px;align-items:center;background:#F37021;color:white;border:0;border-radius:9px;padding:11px 15px;font-weight:800;font-size:12px;text-decoration:none;white-space:nowrap}
.live-admin-welcome__calendar:hover{background:#e06517;color:#fff}
.live-admin-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:0 6px 22px}
.live-admin-shortcuts a{display:inline-flex;align-items:center;gap:9px;border:1px solid #e4eaf3;background:white;color:#24407e;border-radius:11px;padding:12px 15px;font-size:12px;font-weight:800;box-shadow:0 5px 12px rgba(23,43,77,.035);text-decoration:none;transition:transform .15s,border-color .15s}
.live-admin-shortcuts a:hover{transform:translateY(-2px);border-color:#F37021;color:#21409A}
.live-admin-shortcuts a i:first-child{color:#F37021;font-size:16px}
.live-admin-shortcuts a i:last-child{color:#9aa9bd;font-size:12px}
.live-admin-dashboard__content>.row{display:flex;align-items:stretch;gap:0;row-gap:15px}
.live-admin-dashboard__content>.row>[class*=col-]{min-width:0}
.live-admin-dashboard__content>.row>[class*=col-]:empty{display:none}
.live-admin-dashboard__content .card{border:1px solid #e5e9f1;border-radius:15px;overflow:hidden;box-shadow:0 8px 22px rgba(21,40,75,.055);background:white;margin-bottom:0;height:auto}
.live-admin-dashboard__content .card-header{background:#fff;border-bottom:1px solid #edf0f5;padding:17px 18px;display:flex!important;align-items:center;gap:10px;color:#21409A}
.live-admin-dashboard__content .card-header>i,.live-admin-dashboard__content .card-header>svg{color:#F37021;font-size:19px;margin:0}
.live-admin-dashboard__content .card-header span.text-white{color:#21409A!important;font-size:16px!important;font-weight:850;letter-spacing:-.025em;margin-left:0!important}
.live-admin-dashboard__content .card-body{box-shadow:none!important;min-height:0}
.live-admin-dashboard__content .list-group-item{min-height:82px;display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:14px;align-content:center;position:relative;overflow:hidden;padding:13px 18px;border:0;border-bottom:1px solid #edf0f5;background:white;color:#25354d;text-decoration:none;transition:background .15s}
.live-admin-dashboard__content .list-group-item:last-child{border-bottom:0}
.live-admin-dashboard__content .list-group-item:hover{background:#f7f9fd;color:#21409A}
.live-admin-dashboard__content .list-group-item img.float-start{float:none!important;width:72px!important;height:58px;object-fit:cover;border-radius:9px;grid-column:1;grid-row:1 / span 2;margin:0!important}
.live-admin-dashboard__content .list-group-item h5{font-size:13px;color:#21409A;font-weight:850;letter-spacing:-.01em;grid-column:2;grid-row:1;margin:0!important;align-self:end}
.live-admin-dashboard__content .list-group-item p{font-size:11px;color:#6f7e92;line-height:1.5;grid-column:2;grid-row:2;margin:5px 0 0!important;align-self:start}
.live-admin-dashboard__content #admin-calendar{scroll-margin-top:85px}
.live-admin-dashboard__content #admin-calendar .card{height:auto}
.live-admin-dashboard__content #admin-calendar .card-body{padding:18px!important}
.live-admin-dashboard__content #admin-calendar .calendar-filters{line-height:1.5}
@media(max-width:767px){.live-admin-dashboard{padding:0 5px 28px!important}.live-admin-welcome{margin:8px 0 14px;padding:23px 18px;flex-direction:column;align-items:stretch}.live-admin-welcome__actions{display:flex}.live-admin-welcome__calendar{justify-content:center}.live-admin-shortcuts{margin:0 0 17px}.live-admin-shortcuts a{flex:1 1 auto;justify-content:center}.live-admin-dashboard__content .list-group-item{grid-template-columns:60px minmax(0,1fr);column-gap:11px;padding:12px}.live-admin-dashboard__content .list-group-item img.float-start{width:60px!important;height:56px}}


/* ===== Phase 15 · Backoffice aligned to frontend ===== */
body{background:#f5f7fb}
.live-admin-header{height:auto;min-height:86px;padding:0 18px;background:#fff;border-bottom:1px solid var(--live-line);box-shadow:0 4px 16px rgba(18,32,55,.025);left:0;right:0}
.live-admin-header__inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%}
.live-admin-header__brand-wrap{display:flex;align-items:center;gap:14px;min-width:0}
.live-admin-header .toggle-sidebar-btn{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid #e4e9ef;border-radius:11px;background:#fff;color:var(--live-ink);font-size:22px;box-shadow:none}
.live-admin-header .toggle-sidebar-btn:hover{background:#f7f8fa;color:var(--live-primary)}
.live-admin-header .logo,.live-admin-header .d-none.d-lg-block .logo{margin:0}
.live-admin-header__actions{display:flex;align-items:center;gap:12px;min-width:0}
.live-admin-header .search-bar{min-width:0;padding:0;position:static;visibility:visible;opacity:1;background:transparent;box-shadow:none}
.live-admin-search-wrap{width:min(280px,26vw)}
.live-admin-header .search-form{width:100%;height:39px;border:1px solid #e4e9ef;border-radius:10px;background:#f7f8fa;align-items:center;overflow:hidden}
.live-admin-header .search-form input{min-width:0;width:100%;border:0;outline:0!important;background:transparent;padding:9px 0 9px 14px;font-size:12px;color:var(--live-ink);box-shadow:none}
.live-admin-header .search-form input::placeholder{color:#97a2b0}
.live-admin-header .search-form button{padding:8px 13px;border:0;background:transparent;color:#5d6b7c;box-shadow:none}
.live-admin-header .header-nav>ul{gap:8px}
.live-admin-header .header-nav .nav-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #e4e9ef;color:var(--live-ink);background:#fff;border-radius:11px;font-size:19px;padding:0}
.live-admin-header .header-nav .nav-icon:hover{background:#f7f8fa}
.live-admin-header .header-nav .badge-number{right:-2px;top:-2px}
.live-admin-header .live-profile{border-color:#e4e9ef}
.live-admin-header .live-profile-menu{margin-top:12px}
@media (min-width:1200px){.live-admin-header,#header{padding-left:18px}#main,#footer{margin-left:300px;margin-top:86px}.toggle-sidebar #main,.toggle-sidebar #footer{margin-left:0}}
@media (max-width:1199px){#main,#footer{margin-top:86px}.live-admin-header{padding:0 12px}.live-admin-header__inner{min-height:78px;flex-wrap:wrap;padding:10px 0}.live-admin-search-wrap{order:3;width:100%}.live-admin-header .search-bar{display:none!important}.live-admin-header .search-bar.search-bar-show{display:block!important;padding-top:2px}}
.live-admin-sidebar{background:#fff;border-right:1px solid var(--live-line);box-shadow:3px 0 18px rgba(16,31,60,.04);padding:0;scrollbar-color:#d8dfec transparent}
.live-admin-sidebar__heading{height:70px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 18px 0 21px;border-bottom:1px solid var(--live-line);color:var(--live-primary);font-weight:800;font-size:11px;letter-spacing:.14em;flex:0 0 auto}
.live-admin-sidebar__mobile-close{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:#f3f6fd;border:0;border-radius:8px;color:var(--live-primary)}
.live-admin-sidebar .sidebar-nav{padding:18px 12px 24px;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:4px;height:calc(100% - 132px)}
.live-admin-sidebar .sidebar-nav>.nav-heading{color:#97a3b7;font-size:9px;font-weight:800;letter-spacing:.12em;margin:18px 12px 6px;text-transform:uppercase}
.live-admin-sidebar .sidebar-nav>.nav-item{margin-bottom:0;padding:0;border:0!important}
.live-admin-sidebar .sidebar-nav .nav-link,.live-admin-sidebar .sidebar-nav .nav-link.root.active{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;min-height:42px;color:#4f617b;font-weight:700;font-size:12px;line-height:1.35;background:transparent}
.live-admin-sidebar .sidebar-nav .nav-link div{display:flex;align-items:center;min-width:0;gap:12px;width:100%}
.live-admin-sidebar .sidebar-nav .nav-link div>span{min-width:0;overflow-wrap:anywhere;flex:1}
.live-admin-sidebar .sidebar-nav .nav-link.collapsed:not(.active),.live-admin-sidebar .sidebar-nav .nav-link.root:not(.active){background:transparent;color:#4f617b}
.live-admin-sidebar .sidebar-nav .nav-link:not(.collapsed),.live-admin-sidebar .sidebar-nav .nav-link.root.active,.live-admin-sidebar .sidebar-nav .nav-link.active{background:#eff3ff;color:var(--live-primary)}
.live-admin-sidebar .sidebar-nav .nav-link:hover,.live-admin-sidebar .sidebar-nav .nav-link.collapsed:hover{background:#f4f6fc;color:var(--live-primary)}
.live-admin-sidebar .sidebar-nav .nav-link i,.live-admin-sidebar .sidebar-nav .nav-link svg{color:var(--live-primary);font-size:16px;flex:0 0 20px;text-align:center}
.live-admin-sidebar .sidebar-nav .nav-link .bi-chevron-down{font-size:11px!important;margin-left:auto;color:#8897ac}
.live-admin-sidebar .sidebar-nav .nav-content{padding:1px 0 7px 23px;margin:1px 0 7px 15px;border-left:1px solid #e9eef6;display:flex;flex-direction:column;gap:2px}
.live-admin-sidebar .sidebar-nav .nav-content a{display:flex;align-items:center;gap:8px;color:#51617b;font-size:11px;font-weight:600;line-height:1.45;padding:9px 8px!important;border-radius:7px;background:transparent!important;text-decoration:none}
.live-admin-sidebar .sidebar-nav .nav-content a:hover{color:var(--live-primary);background:#eff3ff!important}
.live-admin-sidebar .sidebar-nav .nav-content a.active{background:#eff3ff!important;color:var(--live-primary);border-left:0;padding-left:8px!important}
.live-admin-sidebar .sidebar-nav .nav-content a i,.live-admin-sidebar .sidebar-nav .nav-content a svg{color:var(--live-accent);font-size:14px;min-width:15px;margin-right:0;line-height:1.1}
.live-admin-sidebar .sidebar-nav .nav-content a img{width:22px;height:22px;object-fit:contain;flex:0 0 auto}
.live-admin-sidebar__footer{border-top:1px solid var(--live-line);padding:14px 18px 18px;display:flex;flex-direction:column;gap:4px}
.live-admin-sidebar__footer span{font-size:9px;color:#8b98a8;text-transform:uppercase;letter-spacing:.08em}
.live-admin-sidebar__footer strong{font-size:14px;color:var(--live-primary)}
.live-admin-sidebar__footer small{color:#8794a8;font-size:10px}
.live-admin-dashboard{background:#f5f7fb;color:#233147;padding:0 12px 40px!important}
.live-admin-dashboard .pagetitle{padding:15px 6px 5px}
.live-admin-welcome{margin:9px 6px 14px}
.live-admin-calendar-shell{display:block;margin:0 6px 16px}
.live-admin-calendar-shell .card{border:1px solid #e5e9f1;border-radius:15px;overflow:hidden;box-shadow:0 8px 22px rgba(21,40,75,.055);background:white}
.live-admin-calendar-shell .card-header{background:#fff;border-bottom:1px solid #edf0f5;padding:17px 18px;display:flex!important;align-items:center;gap:10px;color:#21409A}
.live-admin-calendar-shell .card-header .text-white{color:#21409A!important;font-size:16px!important;font-weight:850;letter-spacing:-.025em}
.live-admin-calendar-shell .card-header>i{color:#F37021;font-size:19px}
.live-admin-shortcuts{margin:0 6px 22px}
.live-admin-dashboard__content>.row{row-gap:15px}
.live-admin-dashboard__content .list-group-item img.float-start{width:78px!important;height:60px;border-radius:12px;object-fit:cover;box-shadow:0 10px 18px rgba(20,39,76,.08)}
@media (max-width:767px){.live-admin-dashboard{padding:0 5px 28px!important}.live-admin-welcome{margin:8px 0 14px}.live-admin-calendar-shell{margin:0 0 14px}.live-admin-shortcuts{margin:0 0 17px}.live-admin-header .live-header__brand img{width:96px;height:44px}.live-admin-header .live-header__brand-name{font-size:16px}.live-admin-sidebar__heading{height:74px}}

/* ============================================================================
   FASE 16 — Design system per le pagine interne dell'amministrazione.
   Tutto sotto il namespace live-admin-workspace: non altera frontend, modal,
   dashboard né le colorazioni semantiche di gare e designazioni.
   ============================================================================ */
body.live-admin-workspace {
  --admin-blue:#21409A;
  --admin-orange:#F37021;
  --admin-text:#263a57;
  --admin-muted:#6f809a;
  --admin-line:#e4eaf3;
  --admin-surface:#fff;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) {
  background:#f5f7fb;
  color:var(--admin-text);
  min-height:calc(100vh - 86px);
  padding:22px clamp(14px,2.4vw,32px) 44px;
}
/* Breadcrumb e azioni nelle pagine elenco. */
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle {
  margin:0 0 20px;
  padding:2px 2px 15px;
  border-bottom:1px solid var(--admin-line);
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle > .row {
  align-items:center;
  row-gap:10px;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle h1 {
  color:var(--admin-blue);
  font-size:clamp(22px,2.3vw,28px);
  font-weight:850;
  line-height:1.2;
  letter-spacing:-.035em;
  margin:0 0 7px;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .breadcrumb {
  margin:0;
  font-size:12px;
  line-height:1.5;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .breadcrumb a {color:#647895;font-weight:650}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .breadcrumb .active {color:#304e8c;font-weight:700}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .btn {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:5px;
  min-height:40px;
  padding:8px 15px;
  border-radius:10px;
  font-size:12px;
  font-weight:750;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .btn-outline-secondary,
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .btn-outline-primary {
  background:#fff;
  border:1px solid #dce5f1;
  color:var(--admin-blue);
  box-shadow:0 4px 12px rgba(18,45,88,.04);
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .btn-outline-secondary:hover,
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .btn-outline-primary:hover {background:var(--admin-blue);border-color:var(--admin-blue);color:#fff}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .btn i {font-size:15px;color:var(--admin-orange)}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .btn:hover i {color:#fff}

/* Card e barra dei filtri: id condiviso dalle pagine amministrative esistenti. */
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .section > .row {row-gap:14px}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search {
  border:1px solid var(--admin-line);
  border-radius:16px;
  background:var(--admin-surface);
  box-shadow:0 8px 27px rgba(18,43,81,.05);
  overflow:visible;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header {
  background:#fff!important;
  border:0;
  border-bottom:1px solid #e9eef5;
  border-radius:16px 16px 0 0!important;
  box-shadow:none;
  display:block;
  padding:19px clamp(15px,2.2vw,24px);
  color:var(--admin-text);
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .row {row-gap:12px}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header h5,
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header > label,
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .solid-border {
  color:var(--admin-blue)!important;
  font-size:15px;
  font-weight:850;
  letter-spacing:-.02em;
  line-height:1.4;
  margin:0 0 10px;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header h5 i {color:var(--admin-orange)}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .form-label {
  display:block;
  color:#485b78!important;
  font-size:11px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:.006em;
  margin:0 0 6px;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .form-control,
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .form-select {
  min-height:39px;
  border:1px solid #d8e1ee;
  border-radius:9px;
  background-color:#fff;
  color:var(--admin-text);
  font-size:12px;
  box-shadow:none;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .form-control:focus,
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .form-select:focus {border-color:#809dd8;box-shadow:0 0 0 3px rgba(33,64,154,.10)}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header input::placeholder {color:#9aa8ba}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .select2-container {max-width:100%;width:100%!important}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .select2-container .select2-selection {border-radius:9px;border-color:#d8e1ee;background:#fff;min-height:39px;box-shadow:none}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .select2-container .select2-selection--single .select2-selection__rendered {padding-top:5px;color:#263d61;font-size:12px}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .select2-container--focus .select2-selection {border-color:#809dd8}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .btn-outline-light {border:1px solid #d8e1ee;border-radius:9px;background:#fff;color:var(--admin-blue);font-weight:750}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header .btn-outline-light:hover {background:#eff3ff;border-color:#aec1e3;color:#173477}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-body {min-width:0;border-radius:0 0 16px 16px}

/* DataTables: intestazioni, controlli, paginazione e viewport mobile.
   Non cambiamo i colori inline delle designazioni né gli status badges. */
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .table-responsive {
  margin:14px!important;
  max-width:calc(100% - 28px);
  padding:0!important;
  border:1px solid #e5eaf2!important;
  border-radius:12px;
  overflow-x:auto;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .table {
  margin-bottom:0;
  border-color:#ecf0f5;
  color:#354763;
  font-size:12px;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .table > thead > tr > th {
  padding:13px 11px;
  border:0;
  border-bottom:1px solid #e1e8f3;
  background:#f3f6fc;
  color:#254683;
  font-size:11px;
  font-weight:800;
  vertical-align:middle;
  white-space:nowrap;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .table > tbody > tr > td {
  padding:10px 11px;
  border-bottom:1px solid #f0f2f7;
  vertical-align:middle;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .table.table-striped > tbody > tr:nth-of-type(odd) > * {--bs-table-bg-type:#fff;--bs-table-accent-bg:transparent}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .table caption {padding:12px 11px 7px;color:#6c7c94;font-size:11px}


body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .dataTables_length,
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .dataTables_filter,
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .dataTables_info {color:#637590;font-size:11px;font-weight:650}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .dataTables_length select,
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .dataTables_filter input {max-width:100%;min-height:35px;padding:6px 9px;border:1px solid #d8e1ee;border-radius:8px;background:#fff;color:#263d61;font-size:12px}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .dataTables_paginate .pagination {gap:4px}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .dataTables_paginate .page-link {min-width:32px;border:1px solid #dfe7f2;border-radius:8px;background:#fff;color:#254683;font-size:11px;font-weight:750;text-align:center}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .dataTables_paginate .page-item.active .page-link {background:var(--admin-blue);border-color:var(--admin-blue);color:#fff}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .dataTables_paginate .page-item.disabled .page-link {background:#f7f9fc;color:#a0abc0}

/* Dropdown Azioni e stati focus: solo dentro il contenuto delle pagine admin. */
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) .dropdown-menu {padding:7px;border:1px solid #e5ebf3;border-radius:11px;box-shadow:0 12px 30px rgba(18,43,81,.12)}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) .dropdown-menu .dropdown-item {padding:8px 10px;border-radius:7px;color:#41526c;font-size:12px;font-weight:650}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) .dropdown-menu .dropdown-item:hover {background:#f0f4fc;color:var(--admin-blue)}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) .form-check-input:checked {background-color:var(--admin-blue);border-color:var(--admin-blue)}
body.live-admin-workspace :focus-visible {outline-color:var(--admin-orange);outline-offset:2px}

/* Header ricerca: un solo controllo; non deve sparire tra 992 e 1199px. */
@media(min-width:992px) {
  .live-admin-header .live-admin-search-wrap {display:block!important;position:static!important;visibility:visible!important;opacity:1!important}
}
@media(max-width:991.98px) {
  .live-admin-header .live-admin-search-wrap {display:none!important;position:absolute!important;top:calc(100% + 2px);left:12px;right:12px;width:auto!important;max-width:none;padding:10px!important;border:1px solid #e4eaf4;border-radius:12px;background:#fff!important;box-shadow:0 12px 30px rgba(18,43,81,.12)!important;z-index:1051}
  .live-admin-header .live-admin-search-wrap.search-bar-show {display:block!important;visibility:visible!important;opacity:1!important}
  .live-admin-header .live-admin-search-wrap .search-form {width:100%}
}
@media(max-width:767px) {
  body.live-admin-workspace main#main.main:not(.live-admin-dashboard) {padding:15px 9px 28px}
  body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle {margin-bottom:15px}
  body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > .pagetitle .btn {max-width:100%;width:100%}
  body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search > .card-header {padding:17px 14px}
  body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .table-responsive {margin:9px!important;max-width:calc(100% - 18px)}
  
  body.live-admin-workspace main#main.main:not(.live-admin-dashboard) #card-search .dataTables_paginate .pagination {flex-wrap:wrap;justify-content:flex-start!important}
}

/* Pagine elenco già rifattorizzate che usano ID specifici anziché #card-search. */
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) {
  border:1px solid var(--admin-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 27px rgba(18,43,81,.05);
  overflow:visible;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) > .card-header {
  padding:17px clamp(15px,2vw,23px);
  border:0;
  border-bottom:1px solid #e9eef5;
  border-radius:16px 16px 0 0!important;
  background:#fff!important;
  color:var(--admin-blue);
  font-size:14px;
  font-weight:800;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) > .card-header .text-white,
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) > .card-header .fw-semibold {
  color:var(--admin-blue)!important;
  font-weight:800!important;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) > .card-header > i {
  color:var(--admin-orange);
  font-size:18px;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) > .card-body.shadow {box-shadow:none!important}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) .table-responsive {
  max-width:calc(100% - 28px);
  margin:14px!important;
  padding:0!important;
  border:1px solid #e5eaf2!important;
  border-radius:12px;
  overflow-x:auto;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) .table > thead > tr > th {
  padding:13px 11px;
  border-bottom:1px solid #e1e8f3;
  background:#f3f6fc;
  color:#254683;
  font-size:11px;
  font-weight:800;
}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) .table > tbody > tr > td {padding:10px 11px;vertical-align:middle}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) .dataTables_paginate .page-link {border:1px solid #dfe7f2;border-radius:8px;background:#fff;color:#254683;font-size:11px}
body.live-admin-workspace main#main.main:not(.live-admin-dashboard) > section.section .card:not(#card-search) .dataTables_paginate .page-item.active .page-link {background:var(--admin-blue);border-color:var(--admin-blue);color:#fff}


/* Fase 16.1 - Calendario amministrativo: stessi componenti visivi del frontend */
.live-admin-calendar-shell .live-admin-calendar-card .card-body{padding:18px 20px 22px!important;background:#fff}
.live-admin-calendar-shell .live-admin-calendar-card .card-header{display:flex;align-items:center;gap:10px}
.live-admin-calendar-shell .live-admin-calendar-card .card-header span{color:#21409a;font-weight:850;font-size:16px}
.live-admin-calendar-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px 14px;margin:0 0 9px}
.live-admin-calendar-option{min-width:0;display:flex;flex-direction:column;gap:6px}
.live-admin-calendar-option>label{display:flex;align-items:center;gap:7px;color:#21409a;font-size:11px;font-weight:800;margin:0}
.live-admin-calendar-option>label>i{color:#f37021;font-size:14px}
.live-admin-calendar-option .form-select,.live-admin-calendar-option .select2-container .select2-selection{border-color:#d7e0f2;border-radius:10px;background:#f8faff;color:#273b60}
.live-admin-calendar-option .select2-container{width:100%!important;min-width:0}
.live-admin-calendar-option .select2-container--bootstrap-5 .select2-selection--multiple{min-height:39px;padding:3px 8px}
.live-admin-calendar-option .select2-selection__choice{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.live-admin-calendar-single-sport{display:flex;align-items:center;min-height:39px;color:#21409a;font-size:12px;font-weight:750;background:#f8faff;border:1px solid #d7e0f2;border-radius:10px;padding:8px 12px}
.live-admin-calendar-filter-note{font-size:10px;color:#6e7f9a;margin:3px 0 14px}
.live-admin-calendar-shell .live-calendar-status-legend{margin:0 0 12px}
.live-admin-calendar-shell .live-calendar-role-filters{margin:0 0 12px}
.live-admin-calendar-shell .live-calendar-result-filters{margin:0 0 13px}
.live-admin-calendar-shell .live-person-calendar-help{margin:3px 0 13px;color:#71809a;font-size:11px}
.live-admin-calendar-shell .live-person-calendar-help[hidden]{display:none!important}
.live-admin-calendar-loading{display:flex;align-items:center;gap:9px;margin:10px 0;color:#21409a;font-weight:700;font-size:11px}
.live-admin-calendar-loading.d-none{display:none!important}
.live-admin-fullcalendar.fc{--fc-border-color:#e1e8f6;--fc-button-bg-color:#f2f5fd;--fc-button-border-color:#d7e0f2;--fc-button-text-color:#21409a;--fc-button-hover-bg-color:#e8efff;--fc-button-hover-border-color:#bdcfee;--fc-button-active-bg-color:#21409a;--fc-button-active-border-color:#21409a;--fc-today-bg-color:#fffaf5;font-family:Inter,system-ui,Arial,sans-serif}
.live-admin-fullcalendar.fc .fc-toolbar{gap:14px;margin:16px 0}
.live-admin-fullcalendar.fc .fc-toolbar-title{font-size:clamp(17px,2vw,23px);font-weight:850;color:#21409a;letter-spacing:-.03em;text-transform:capitalize}
.live-admin-fullcalendar.fc .fc-button{font-size:11px;font-weight:800;border-radius:9px;padding:9px 12px;box-shadow:none!important}
.live-admin-fullcalendar.fc .fc-button:focus-visible{outline:2px solid #f37021;outline-offset:2px}
.live-admin-fullcalendar.fc .fc-col-header-cell{background:#f4f6fb;padding:10px 2px;font-size:10px;font-weight:850;color:#59719c;letter-spacing:.05em;text-transform:uppercase}
.live-admin-fullcalendar.fc .fc-daygrid-day-number{color:#21409a;font-size:12px;font-weight:800;text-decoration:none}
.live-admin-fullcalendar.fc .fc-daygrid-day.fc-day-today{background:#fffaf5}
.live-admin-fullcalendar.fc a.fc-event.live-fc-event,
.live-admin-fullcalendar.fc .live-fc-event,
.live-admin-fullcalendar .fc a.fc-event.live-fc-event,
.live-admin-fullcalendar .fc .live-fc-event{display:block;white-space:normal!important;border:1px solid #e2e8f7!important;border-left:4px solid var(--live-game-status-color,#f37021)!important;background:#fff!important;color:#273b60!important;border-radius:10px;padding:0!important;box-shadow:0 3px 8px rgba(24,49,120,.075);overflow:hidden;min-width:0;text-decoration:none}
.live-admin-fullcalendar.fc a.fc-event.live-fc-event:hover,
.live-admin-fullcalendar.fc .live-fc-event:hover{border-left-color:var(--live-game-status-color,#f37021)!important;box-shadow:0 6px 13px rgba(24,49,120,.16)}
.live-admin-fullcalendar.fc .live-fc-event .fc-event-main{color:inherit;padding:0;overflow:hidden}
.live-admin-fullcalendar.fc .fc-list-event-title .live-fc-game{padding:7px 11px}
.live-admin-fullcalendar.fc .fc-list-event-title .live-fc-game__team span{white-space:normal}
.live-admin-fullcalendar.fc .fc-list-event-title .live-fc-game__field{max-width:none}
.live-admin-fullcalendar.fc .fc-list-event-dot{border-color:var(--live-game-status-color,#f37021)}
.live-admin-fullcalendar.fc .fc-list-event-time{font-size:11px;font-weight:850;color:#21409a}
.live-admin-fullcalendar.fc .live-fc-game__team span{color:#243c70;font-weight:750}
.live-admin-fullcalendar.fc .live-fc-game__roles{display:flex;flex-wrap:wrap;gap:4px}
.live-admin-fullcalendar.fc .live-person-calendar__unavailable-event{background:#b91c1c!important;color:white!important;border:0!important;border-radius:8px}
.live-admin-fullcalendar.fc .live-person-calendar__unavailability{color:white!important;background:#b91c1c!important;padding:5px 9px;border-radius:8px;font-size:11px;font-weight:800}
.live-admin-fullcalendar.fc .googleCalendar-festivity{background:#f9fafb!important;color:#854d0e!important;border-color:#f4e2b2!important}
.live-admin-fullcalendar.fc .live-admin-holiday-label{font-size:10px;font-weight:700;padding:3px}
@media(max-width:1100px){.live-admin-calendar-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.live-admin-calendar-shell .live-admin-calendar-card .card-body{padding:12px!important}.live-admin-calendar-options{grid-template-columns:1fr;gap:10px}.live-admin-fullcalendar.fc .fc-toolbar{flex-wrap:wrap;gap:10px}.live-admin-fullcalendar.fc .fc-toolbar-chunk:nth-child(2){order:-1;width:100%;text-align:center}.live-admin-fullcalendar.fc .fc-toolbar-title{text-align:center;font-size:19px}.live-admin-fullcalendar.fc .fc-button{padding:7px 9px;font-size:10px}.live-admin-calendar-shell .live-calendar-status-legend{gap:7px 10px}}

/* Fase 16.2: stessa shell per frontend e amministrazione. */
.live-unified-shell .live-topbar,.live-unified-shell .live-header{margin-left:var(--live-sidebar-width);transition:margin-left .2s ease}
.live-unified-shell .live-topbar .container-fluid{height:100%;padding:0 24px}
.live-unified-shell .live-header__inner{padding:0 24px;max-width:none}
.live-unified-shell .live-sidebar{display:flex;width:var(--live-sidebar-width);left:0;top:0;bottom:0;background:#fff;box-shadow:3px 0 18px rgba(16,31,60,.04)}
.live-unified-shell #main,.live-unified-shell #footer{margin-left:var(--live-sidebar-width);transition:margin-left .2s ease}
.live-unified-shell #main{margin-top:0;padding-top:21px}
.live-unified-shell.sidebar-collapsed .live-topbar,.live-unified-shell.sidebar-collapsed .live-header,.live-unified-shell.sidebar-collapsed #main,.live-unified-shell.sidebar-collapsed #footer{margin-left:var(--live-sidebar-mini)}
.live-unified-shell .live-sidebar__heading{height:70px}
.live-unified-shell .live-shell-admin-navigation{flex:1;overflow-y:auto;overflow-x:hidden;padding:18px 12px 22px;scrollbar-width:thin;scrollbar-color:#d8dfec transparent}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav{display:flex;flex-direction:column;gap:4px;list-style:none;margin:0;padding:0}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav>li{padding:0;margin:0;border:0!important}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-heading{font-size:9px;font-weight:800;letter-spacing:.12em;color:#97a3b7;margin:17px 12px 6px;text-transform:uppercase}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link{display:flex;align-items:center;gap:11px;border-radius:10px;padding:12px!important;min-height:42px;background:transparent;color:#4f617b;font-weight:700;font-size:12px;line-height:1.35}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link>div{display:flex;align-items:center;gap:11px;min-width:0;width:100%}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link>div>span{min-width:0;overflow-wrap:anywhere;flex:1}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link.collapsed:not(.active){color:#4f617b;background:transparent}
/* Evidenzia solo il link attivo: la mancanza di collapsed NON indica la pagina corrente. */
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link.active,.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link.is-current,.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link[aria-current="page"]{color:#21409a;background:#eff3ff}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link:hover{color:#21409a;background:#f4f6fc}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link>div>i:first-child,.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link>div>svg:first-child{flex:0 0 20px;text-align:center;color:#21409a;font-size:17px}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link .bi-chevron-down{margin-left:auto;font-size:11px!important;color:#8997ac}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content{margin:2px 0 7px 14px;padding:3px 0 6px 9px;border-left:1px solid #e9eef6;display:flex;flex-direction:column;gap:2px;list-style:none}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content a{display:flex;align-items:center;gap:8px;font-size:11px;color:#51617b;background:transparent!important;padding:9px!important;border-radius:7px;line-height:1.35}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content a:hover,.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content a.active{background:#eff3ff!important;color:#21409a;border-left:0}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content a img{width:22px;height:22px;object-fit:contain}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content a i{color:#F37021;font-size:13px}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav a:focus-visible,.live-unified-shell .live-header button:focus-visible{outline:2px solid #21409a;outline-offset:2px}
.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation .sidebar-nav .nav-heading,.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation .sidebar-nav .nav-content,.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation .nav-link>div>span,.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation .nav-link .bi-chevron-down{display:none!important}
.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation{padding:18px 8px}
.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation .nav-link{width:48px;justify-content:center;padding:12px!important}
.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation .nav-link>div{justify-content:center}
.live-unified-shell.sidebar-collapsed .live-sidebar__footer{display:none}
.live-unified-shell .live-calendar-assignment-filters,.live-unified-shell .live-calendar-campaign-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px 13px;background:#fff;border:1px solid #d9e4f8;border-radius:12px;padding:10px 14px;margin:0 0 10px}
.live-unified-shell .live-calendar-assignment-filters__title,.live-unified-shell .live-calendar-campaign-filter label{color:#21409a;font-weight:800;font-size:12px;white-space:nowrap}
.live-unified-shell .live-calendar-assignment-filters__buttons{display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex:1}
.live-unified-shell .live-calendar-assignment-filter{display:inline-flex;align-items:center;gap:5px;min-height:32px;border:1px solid #d5e0f6;border-radius:9px;padding:6px 9px;color:#21409a;background:#f7f9ff;font-size:11px;font-weight:700;cursor:pointer}
.live-unified-shell .live-calendar-assignment-filter.is-active{background:#21409a;border-color:#21409a;color:#fff}
.live-unified-shell .live-calendar-assignment-filter .live-calendar-role-filter__swatch{flex:0 0 10px;width:10px;height:10px;border-radius:3px;display:inline-block;border:1px solid rgba(0,0,0,.12)}
.live-unified-shell .live-calendar-campaign-filter{max-width:460px;margin-top:10px;align-items:stretch;flex-direction:column}
.live-unified-shell .live-calendar-campaign-filter select{width:100%}
.live-unified-shell .live-calendar-campaign-filter .select2-container{width:100%!important}
.live-unified-shell .live-fc-game__status-badge--unofficial{white-space:nowrap}
.live-unified-shell .live-fc-event{border-left-color:var(--live-game-status-color,#F37021)!important}
@media(max-width:991.98px){
 .live-unified-shell .live-topbar,.live-unified-shell .live-header,.live-unified-shell #main,.live-unified-shell #footer,
 .live-unified-shell.sidebar-collapsed .live-topbar,.live-unified-shell.sidebar-collapsed .live-header,.live-unified-shell.sidebar-collapsed #main,.live-unified-shell.sidebar-collapsed #footer{margin-left:0}
 .live-unified-shell #main{margin-top:0}
 .live-unified-shell .live-sidebar{transform:translateX(-105%);width:min(340px,90vw)}
 .live-unified-shell.sidebar-open .live-sidebar{transform:translateX(0)}
 .live-unified-shell.sidebar-open .live-sidebar-backdrop{display:block}
 .live-unified-shell .live-shell-admin-navigation{padding-bottom:20px}
 .live-unified-shell .live-header__inner{padding:0 12px}
}
@media(max-width:767px){.live-unified-shell .live-calendar-assignment-filters{padding:10px}.live-unified-shell .live-calendar-assignment-filters__title{width:100%}}
/* Notifiche con azioni del backoffice conservate nella shell condivisa. */
.live-unified-header__notifications .nav-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #e4e9ef!important;color:#21409a!important;background:#fff;border-radius:11px;font-size:19px;padding:0!important}
.live-unified-header__notifications .nav-icon:hover{background:#f7f8fa}
.live-unified-header__notifications .badge-number{top:-4px;right:-5px}
.live-unified-header__notifications .dropdown-menu{max-width:min(460px,calc(100vw - 32px));max-height:70vh;overflow-y:auto}
/* Il filtro Campionati usa lo stesso Select2 e la stessa griglia di Sport/Arbitro/Squadre. */
.live-admin-calendar-options .live-calendar-campaign-filter{margin:0;padding:0;max-width:none;border:0;background:transparent;gap:6px;border-radius:0}
.live-admin-calendar-options .live-calendar-campaign-filter label{color:#21409a;font-size:11px;font-weight:800}
.live-admin-calendar-options .live-calendar-campaign-filter select{min-height:39px}
.live-admin-calendar-options .live-calendar-campaign-filter .select2-container--bootstrap-5 .select2-selection--multiple{min-height:39px;border:1px solid #d7e0f2;border-radius:10px;background:#f8faff}


/* ===== 16.3 | unica shell e calendario, niente override discordanti ===== */
.live-unified-shell .live-topbar .container-fluid,.live-unified-shell .live-header__inner{max-width:none;padding-left:24px;padding-right:24px}
.live-unified-shell .live-topbar{min-height:32px;height:32px}
.live-unified-shell .live-header{min-height:83px;height:auto;position:relative;top:auto}
.live-unified-shell .live-header__inner{min-height:83px}
.live-unified-shell .live-notifications__menu{min-width:min(355px,calc(100vw - 24px));max-width:min(450px,calc(100vw - 24px));max-height:min(70vh,640px);overflow-y:auto;padding:10px;border:1px solid #e1e7f2;border-radius:13px;box-shadow:0 12px 30px rgba(20,39,88,.12)}
.live-unified-shell .live-notifications__entry{padding-bottom:8px;border-bottom:1px solid #eef1f7;margin-bottom:5px}
.live-unified-shell .live-notifications__actions{display:flex;flex-wrap:wrap;gap:5px;padding:0 12px 5px 38px}
.live-unified-shell .live-notifications__actions .btn{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;font-size:10px;font-weight:700;border-radius:7px}
.live-unified-shell .live-notifications__actions .btn i{font-size:12px}
/* Il menu admin usa gli stessi details nativi del frontend: nessun Collapse JS. */
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group>summary{display:flex;align-items:center;gap:12px;min-height:42px;padding:12px;border-radius:10px;cursor:pointer;list-style:none;color:#4f617b;font-size:12px;font-weight:700;line-height:1.35}
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group>summary::-webkit-details-marker{display:none}
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group>summary::marker{content:""}
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group>summary>div{display:flex;align-items:center;gap:11px;min-width:0;width:100%}
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group>summary span{flex:1;min-width:0;overflow-wrap:anywhere}
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group>summary i:first-child{color:#21409a;font-size:17px;flex:0 0 20px;text-align:center}
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group>summary .live-side-nav__arrow{font-size:11px;flex:0 0 auto;margin-left:auto;transition:transform .16s}
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group[open]>summary .live-side-nav__arrow{transform:rotate(180deg)}
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group>summary:hover,.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group[open]>summary{background:#eff3ff;color:#21409a}
.live-unified-shell .live-shell-admin-navigation .nav-content{display:flex!important;flex-direction:column;margin:2px 0 7px 15px!important;padding:3px 0 7px 9px!important;gap:2px;border-left:1px solid #e9eef6}
.live-unified-shell .live-shell-admin-navigation a.is-current{background:#eff3ff!important;color:#21409a!important}
.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation details.live-side-nav__group>summary{width:48px;padding:12px;justify-content:center}
.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation details.live-side-nav__group>summary span,.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation details.live-side-nav__group>summary .live-side-nav__arrow,.live-unified-shell.sidebar-collapsed .live-shell-admin-navigation .nav-content{display:none!important}
/* FullCalendar: lo stesso nodo e le stesse regole per tutti i contesti. */
.live-unified-shell .live-calendar-status-legend,.live-home .live-calendar-status-legend{display:none!important}
.live-calendar-unified.fc{--fc-border-color:#e1e8f6;--fc-button-bg-color:#f2f5fd;--fc-button-border-color:#d7e0f2;--fc-button-text-color:#21409a;--fc-button-hover-bg-color:#e8efff;--fc-button-active-bg-color:#21409a;--fc-button-active-border-color:#21409a;--fc-today-bg-color:#fffaf5;font-family:Inter,system-ui,Arial,sans-serif}
.live-calendar-unified.fc .fc-toolbar{gap:12px;margin:14px 0 16px}
.live-calendar-unified.fc .fc-toolbar-title{font-size:clamp(17px,2vw,23px);font-weight:850;color:#21409a;letter-spacing:-.03em;text-transform:capitalize}
.live-calendar-unified.fc .fc-button{font-size:11px;font-weight:800;border-radius:9px;padding:9px 12px;box-shadow:none!important}
.live-calendar-unified.fc .fc-button:focus-visible{outline:2px solid #f37021;outline-offset:2px}
.live-calendar-unified.fc .fc-col-header-cell{background:#f4f6fb;padding:10px 2px;font-size:10px;font-weight:850;color:#59719c;letter-spacing:.05em;text-transform:uppercase}
.live-calendar-unified.fc .fc-daygrid-day-number{color:#21409a;font-size:12px;font-weight:800;text-decoration:none}
.live-calendar-unified.fc .fc-daygrid-day.fc-day-today{background:#fffaf5}
.live-calendar-unified.fc .fc-addUnavailability-button[hidden]{display:none!important}
/* Vista Elenco: FullCalendar aggiunge tempo, dot e wrapper TD oltre al nostro evento.
   Si vede UNA SOLA card; l'ora e' gia' contenuta nel renderer condiviso. */
.live-calendar-unified.fc .fc-list-event{display:block!important;margin:0 0 8px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.live-calendar-unified.fc .fc-list-event>td{border:0!important}
.live-calendar-unified.fc .fc-list-event-time,.live-calendar-unified.fc .fc-list-event-graphic,.live-calendar-unified.fc .fc-list-event-dot{display:none!important}
.live-calendar-unified.fc .fc-list-table{display:block!important;width:100%!important;border:0!important}
.live-calendar-unified.fc .fc-list-table>tbody{display:block!important;width:100%!important}
.live-calendar-unified.fc .fc-list-event-title{display:block!important;width:100%!important;max-width:none!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.live-calendar-unified.fc .fc-list-event-title .live-fc-game{width:100%!important;max-width:none!important;padding:11px 13px!important;background:#fff;border:1px solid #dfe7f7;border-left:4px solid var(--live-game-status-color,#21409a);border-radius:11px;box-shadow:0 3px 9px rgba(29,53,99,.065)}
.live-calendar-unified.fc .fc-list-event-title .live-fc-game__teams{max-width:none;width:100%}
.live-calendar-unified.fc .fc-list-event-title .live-fc-game__team span{white-space:normal}
.live-calendar-unified.fc .fc-list-event-title .live-fc-game__field{max-width:none}
.live-calendar-unified.fc .fc-list-event:hover>td{background:transparent!important}
.live-calendar-unified.fc .fc-list-event-title .live-fc-game:hover{border-color:#b7c7ed}
.live-calendar-unified.fc .fc-list-day{display:table-row!important;width:100%}
.live-calendar-unified.fc .fc-list-day>th{display:table-cell!important}
.live-calendar-unified.fc a.fc-event.live-fc-event,.live-calendar-unified.fc .live-fc-event{border:1px solid #e2e8f7!important;border-left:4px solid var(--live-game-status-color,#21409a)!important;background:#fff!important;color:#273b60!important;border-radius:10px;white-space:normal!important;text-decoration:none}
.live-calendar-unified.fc .fc-list-event.live-fc-event{border:0!important;background:transparent!important}
.live-calendar-unified.fc .live-fc-game__status-badge{gap:4px}
.live-calendar-unified.fc .live-fc-game__status-badge i{font-size:10px}
.live-calendar-result-filter--unofficial i{font-size:13px}
@media(max-width:767px){.live-unified-shell .live-header__inner{min-height:72px;padding-left:12px;padding-right:12px}.live-calendar-unified.fc .fc-toolbar{flex-wrap:wrap;gap:9px}.live-calendar-unified.fc .fc-toolbar-chunk:nth-child(2){order:-1;width:100%;text-align:center}.live-calendar-unified.fc .fc-toolbar-title{text-align:center;font-size:19px}.live-calendar-unified.fc .fc-button{padding:7px 9px;font-size:10px}}

.live-game-card__status i{font-size:11px;margin-right:3px}
.live-notification-confirm .modal-header{background:#fff;color:#21409a;border-bottom:1px solid #e3e9f5}
.live-notification-confirm .modal-title{font-weight:800;color:#21409a}
.live-calendar-unified.fc .fc-list-day{display:block!important;width:100%}
.live-calendar-unified.fc .fc-list-day>th{display:block!important;width:100%;box-sizing:border-box}
.live-calendar-unified.fc .fc-list-day-cushion{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 15px}

/* FullCalendar states shared by admin + frontend, including special/private events. */
.live-calendar-unified.fc .live-person-calendar__unavailable-event.fc-event{background:#fff0ef!important;border:1px solid #ecc9c6!important;border-left:4px solid #ce4b48!important;color:#9e2926!important;border-radius:9px}
.live-calendar-unified.fc .live-person-calendar__unavailability{color:#9e2926!important;background:#fff0ef!important;padding:5px 9px;border-radius:8px;font-size:11px;font-weight:800}
.live-calendar-unified.fc .live-admin-holiday-event{background:#f9fafb!important;color:#854d0e!important;border:1px solid #f4e2b2!important}
.live-calendar-unified.fc .live-admin-holiday-label{font-size:10px;font-weight:700;padding:3px}

.live-unified-shell .live-shell-admin-navigation .nav-content.collapse{display:none!important}
.live-unified-shell .live-topbar,.live-unified-shell .live-header{font-family:Inter,system-ui,Arial,sans-serif}


/* ===== 16.4 | ultime rifiniture dashboard e calendario ===== */
.live-admin-fullcalendar.fc,.live-calendar-unified.fc{--fc-button-active-text-color:#fff}
.live-admin-fullcalendar.fc .fc-button-primary:not(:disabled).fc-button-active,
.live-admin-fullcalendar.fc .fc-button-primary:not(:disabled):active,
.live-calendar-unified.fc .fc-button-primary:not(:disabled).fc-button-active,
.live-calendar-unified.fc .fc-button-primary:not(:disabled):active{background:#21409a!important;border-color:#21409a!important;color:#fff!important}
.live-admin-contacts{padding:16px!important}
.live-admin-contacts__groups{display:grid;gap:12px}
.live-admin-contacts__league,.live-admin-contacts__team{border:1px solid #d9e4f7;border-radius:16px;background:#fff;overflow:hidden}
.live-admin-contacts__league>summary,.live-admin-contacts__team>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:16px 18px;color:#21409a;font-weight:800}
.live-admin-contacts__league>summary::-webkit-details-marker,.live-admin-contacts__team>summary::-webkit-details-marker{display:none}
.live-admin-contacts__league>summary::marker,.live-admin-contacts__team>summary::marker{content:""}
.live-admin-contacts__league[open]>summary,.live-admin-contacts__team[open]>summary{background:#eef4ff}
.live-admin-contacts__league>summary i,.live-admin-contacts__team>summary i{transition:transform .18s ease;color:#21409a}
.live-admin-contacts__league[open]>summary i,.live-admin-contacts__team[open]>summary i{transform:rotate(180deg)}
.live-admin-contacts__teams{display:grid;gap:10px;padding:0 14px 14px}
.live-admin-contacts__team-heading{display:flex;align-items:center;gap:12px;min-width:0}
.live-admin-contacts__team-heading img{width:48px;height:48px;border-radius:12px;object-fit:cover;background:#f7f9fc;border:1px solid #dce5f5;flex:0 0 48px}
.live-admin-contacts__team-heading span{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.4;color:#21409a;font-weight:750}
.live-admin-contacts__owners{display:grid;gap:10px;padding:0 14px 14px}
.live-admin-contact-card{border:1px solid #e4ebf8;border-radius:14px;background:#fbfcff;padding:14px 16px;box-shadow:0 2px 8px rgba(33,64,154,.05)}
.live-admin-contact-card__header{margin-bottom:8px;color:#163067;font-size:18px}
.live-admin-contact-card__actions{display:grid;gap:8px}
.live-admin-contact-card__line{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:8px;color:#4f617b;font-size:14px}
.live-admin-contact-card__line i:first-child{color:#21409a}
.live-admin-contact-card__label{font-weight:700;color:#5f7291}
.live-admin-contact-card__line a{min-width:0;overflow-wrap:anywhere;color:#21409a;text-decoration:none}
.live-admin-contact-card__line .btn-link{color:#3552e2;text-decoration:none}
@media(max-width:767px){.live-admin-contacts__league>summary,.live-admin-contacts__team>summary{padding:13px 14px}.live-admin-contacts__team-heading img{width:40px;height:40px;flex-basis:40px}.live-admin-contacts__team-heading span{font-size:13px}.live-admin-contact-card{padding:12px}.live-admin-contact-card__header{font-size:16px}.live-admin-contact-card__line{grid-template-columns:auto 1fr auto;grid-template-areas:"icon label copy" "icon value copy";align-items:start}.live-admin-contact-card__line i:first-child{grid-area:icon;padding-top:2px}.live-admin-contact-card__label{grid-area:label}.live-admin-contact-card__line a{grid-area:value}.live-admin-contact-card__line .btn-link{grid-area:copy}}

/* ===== Fase 16.5 · Dashboard dei profili operativi ===== */
/* L'anchor delle scorciatoie non finisce nascosta sotto l'header. */
#dashboard-contacts { scroll-margin-top: 95px; }
/* Le colonne di Arbitro, Gestore e Designatore contengono più card: separarle
   anche quando il layout Bootstrap le inserisce nella STESSA colonna. */
.live-admin-dashboard--limited .live-admin-dashboard__content > .row {
  row-gap: 24px !important;
  align-items: flex-start;
}
.live-admin-dashboard--limited .live-admin-dashboard__content > .row > .col-lg-6 {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  gap: 22px;
}
.live-admin-dashboard--limited .live-admin-dashboard__content > .row > .col-lg-6 > .card {
  width: 100%;
  margin: 0 !important;
  flex: 0 0 auto;
}
.live-admin-dashboard--limited .live-admin-dashboard__content .card {
  box-shadow: 0 8px 20px rgba(24, 47, 91, .055);
}
.live-admin-dashboard--limited .live-admin-dashboard__content .card-header {
  min-height: 64px;
}
.live-admin-dashboard--limited .live-admin-dashboard__content .card-header > i {
  flex: 0 0 auto;
}
.live-admin-contacts__team-heading span { letter-spacing: 0; }
@media (max-width: 767.98px) {
  .live-admin-dashboard--limited .live-admin-dashboard__content > .row { row-gap: 18px !important; }
  .live-admin-dashboard--limited .live-admin-dashboard__content > .row > .col-lg-6 { gap: 18px; }
  .live-admin-dashboard--limited .live-admin-dashboard__content .card-header { min-height: 58px; }
}
/* Focus e interazioni tastiera coerenti nei collegamenti amministrativi. */
.live-admin-dashboard .live-admin-shortcuts a:focus-visible,
.live-admin-dashboard__content .list-group-item:focus-visible,
.live-admin-contacts__league > summary:focus-visible,
.live-admin-contacts__team > summary:focus-visible {
  outline: 2px solid #f37021;
  outline-offset: 2px;
}
.live-admin-contacts__league > summary:hover,
.live-admin-contacts__team > summary:hover { background-color: #f6f9ff; }


/* ===== Fase 16.7 | Stato dei menu e icone della sidebar condivisa =====
   L'header e il contenitore della sidebar sono gli stessi per sito e backoffice;
   il menu admin conserva le proprie voci e autorizzazioni. */
/* Il gruppo aperto non equivale alla pagina selezionata. */
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group[open]>summary{
  background:transparent;
  color:#4f617b;
}
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group[open]>summary:hover{
  background:#f4f6fc;
  color:#21409a;
}
/* Un solo link attivo; anche le voci root senza "collapsed" sono neutre. */
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link.root:not(.active):not(.is-current):not([aria-current="page"]){
  background:transparent;
  color:#4f617b;
}
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-link:is(.active,.is-current,[aria-current="page"]),
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content a:is(.active,.is-current,[aria-current="page"]){
  background:#eff3ff!important;
  color:#21409a!important;
}
/* Il vecchio backend applicava un fondo arancione agli <i> attivi, coprendo i
   glifi Bootstrap Icons e trasformando calendario e altri simboli in quadrati. */
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content a i,
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content a.active i,
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content a.is-current i{
  background:transparent!important;
  border-radius:0;
  line-height:1;
}
/* Larghezza e allineamento fissi per le icone reali (esclusi punti e cerchi
   decorativi dei sotto-menu dei campionati). */
.live-unified-shell .live-shell-admin-navigation .sidebar-nav .nav-content a>i.bi:not(.bi-circle):not(.bi-dot){
  display:inline-flex;
  flex:0 0 20px;
  width:20px;
  height:20px;
  margin-right:0;
  justify-content:center;
  align-items:center;
  font-size:16px;
  line-height:1;
}

/* Fase 17.1: una sola sidebar con lo stesso menu pubblico e le funzioni per ruolo. */
.live-unified-shell .live-sidebar__scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#d8dfec transparent}
.live-unified-shell .live-sidebar__scroll > .live-side-nav{flex:none;overflow:visible;padding-bottom:7px}
.live-unified-shell .live-sidebar__scroll > .live-shell-admin-navigation{overflow:visible;flex:none;padding-top:0}
.live-unified-shell .live-sidebar__scroll .live-shell-admin-navigation .nav-heading{margin-top:13px}
.live-unified-shell.sidebar-collapsed .live-sidebar__scroll{overflow-x:hidden}
/* Icone PDF/Excel uniformi in tutto il backoffice (come FullCalendar pubblico). */
.live-unified-shell .dt-buttons .live-export-button,
.live-unified-shell .admin-export-toolbar .live-export-button{
 display:inline-flex;gap:7px;align-items:center;justify-content:center;
 min-height:35px;border-radius:9px;border:1px solid #d7e2f4!important;
 color:#21409A!important;background:#fff!important;box-shadow:none!important;
 padding:7px 12px;font-size:12px;font-weight:800;line-height:1.3;text-decoration:none;
}
.live-unified-shell .dt-buttons .live-export-button i,
.live-unified-shell .admin-export-toolbar .live-export-button i{font-size:16px;line-height:1}
.live-unified-shell .dt-buttons .live-export-button.pdfButton i,
.live-unified-shell .admin-export-toolbar .live-export-button .bi-file-earmark-pdf{color:#c74646}
.live-unified-shell .dt-buttons .live-export-button.excelButton i,
.live-unified-shell .admin-export-toolbar .live-export-button .bi-file-earmark-excel{color:#278857}
.live-unified-shell .dt-buttons .live-export-button:hover,
.live-unified-shell .admin-export-toolbar .live-export-button:hover{background:#f2f5ff!important;border-color:#9bb4e3!important}
.live-unified-shell .dt-buttons .live-export-button:disabled,
.live-unified-shell .admin-export-toolbar .live-export-button:disabled{opacity:.5;cursor:wait}

/* Fase 17.2: Tipo designazione separato dallo stato in tutti i FullCalendar CSI. */
.live-unified-shell .live-calendar-assignment-type-filters{
 display:flex;flex-wrap:wrap;align-items:center;gap:10px 13px;background:#fff;
 border:1px solid #d9e4f8;border-radius:12px;padding:10px 14px;margin:0 0 10px;
}
.live-unified-shell .live-calendar-assignment-type-filters__title{
 color:#21409a;font-weight:800;font-size:12px;white-space:nowrap;
}
.live-unified-shell .live-calendar-assignment-type-filters__buttons{
 display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex:1;
}
.live-unified-shell .live-calendar-assignment-type-filter{
 display:inline-flex;align-items:center;gap:5px;min-height:32px;
 border:1px solid #d5e0f6;border-radius:9px;padding:6px 9px;
 color:#21409a;background:#f7f9ff;font-size:11px;font-weight:700;cursor:pointer;
}
.live-unified-shell .live-calendar-assignment-type-filter.is-active{background:#21409a;border-color:#21409a;color:#fff}
.live-unified-shell .live-calendar-assignment-type-filter .live-calendar-role-filter__swatch{
 display:inline-block;flex:0 0 10px;width:10px;height:10px;border:1px solid rgba(0,0,0,.12);border-radius:3px;
}
/* Shared drag: movimentare scrollLeft, mai il margin-left della tabella. */
.live-table-scroll,.table-responsive,.live-games-dt-scroll,.dataTables_scrollBody,.dt-scroll-body{overscroll-behavior-x:contain}
.live-table-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#9cabc6 #eef2f8}
.live-table-is-dragging,.live-table-is-dragging *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}
@media(max-width:767px){.live-unified-shell .live-calendar-assignment-type-filters{padding:10px}.live-unified-shell .live-calendar-assignment-type-filters__title{width:100%}}

/* Fase 17.3 · Filtri di esito coerenti con gli altri filtri a chip. */
.live-unified-shell .live-calendar-result-filter{font-size:11px;font-weight:800;padding:7px 10px;min-height:32px}
.live-unified-shell .live-calendar-result-filter i{font-size:14px;line-height:1}
.live-unified-shell .live-calendar-result-filter--scheduled i{color:#3975c7}
.live-unified-shell .live-calendar-result-filter--unofficial i{color:#e48b22}
.live-unified-shell .live-calendar-result-filter--validated i{color:#17865a}
.live-unified-shell .live-calendar-result-filter.is-active i{color:#fff}
.live-table-glossary{display:flex;flex-wrap:wrap;align-items:center;gap:7px 15px;margin:10px 0 14px;padding:12px 14px;background:#f7f9fe;border:1px solid #dde7f6;border-radius:10px;color:#4c6080;font-size:11.5px;line-height:1.6}
.live-table-glossary>strong{color:#21409a;font-size:12px;margin-right:6px}
.live-table-glossary>strong i{color:#f37021;margin-right:4px}
.live-table-glossary span{white-space:normal}
.live-table-glossary span b{color:#21409a;margin-right:3px}

/* ===============================================================
   FASE 17.4 — Hero pubblici e tabelle, componenti condivisi
   Le copertine già approvate di index.php, search.php e seasons.php
   NON vengono sovrascritte: nessun selettore interviene su quei banner.
   =============================================================== */

/* Stesso linguaggio grafico di .live-admin-welcome__main per tutte le
   intestazioni pubbliche: arancione leggibile su blu scuro. */
.live-home .live-public-hero{isolation:isolate;color:#fff;border-radius:20px}
.live-home .live-public-hero .live-admin-welcome__main{position:relative;z-index:1;min-width:0}
.live-home .live-public-hero .live-public-hero__eyebrow{
    display:inline-flex;align-items:center;gap:8px;margin:0 0 12px!important;
    color:#ffb678!important;font-size:11px!important;line-height:1.5!important;
    letter-spacing:.115em;font-weight:850!important;text-transform:uppercase;
    max-width:100%;
}
.live-home .live-public-hero .live-public-hero__eyebrow::before{
    content:"";display:inline-block;width:8px;height:8px;flex:0 0 8px;
    border-radius:50%;background:#ff812f;box-shadow:0 0 0 4px rgba(255,129,47,.22)
}
.live-home .live-public-hero .live-competition-banner__stats i,
.live-home .live-public-hero .live-team-hero__facts i,
.live-home .live-public-hero .live-field-hero__copy>p i,
.live-home .live-public-hero .live-team-hero__season i,
.live-home .live-public-hero .live-game-hero__controls i{color:#ff994e}
.live-home .live-public-hero .live-competition-banner__art i{color:#ffad70;opacity:1}

/* Le immagini degli hero sono gestite dal solo livello destro (Fase 17.4c).
   Nessuna background-image fotografica viene applicata al contenitore. */
/* Il pulsante Azioni dell'impianto ha la stessa posizione di Squadra e Campionato. */
.live-home .live-field-hero.live-public-hero{position:relative}
.live-home .live-field-hero__floating-actions{position:absolute;top:22px;right:24px;z-index:15}
.live-home .live-field-hero__floating-actions .dropdown{position:relative}
.live-home .live-field-hero__floating-actions .live-field-hero__manage{min-width:98px;background:white;color:#21409a!important;border-color:white}
.live-home .live-field-hero__floating-actions .live-field-hero__manage:hover{background:#f1f5ff;color:#21409a!important}
.live-home .live-field-hero__copy{padding-right:145px}
@media(max-width:767.98px){
  .live-home .live-public-hero{border-radius:16px}
  .live-home .live-field-hero__copy{padding-right:20px;padding-bottom:85px}
  .live-home .live-field-hero__floating-actions{top:auto;bottom:18px;right:20px}
}

/* Un unico linguaggio tabellare, pubblico e amministrativo. */








/* Nessun bordo pesante nei gruppi di una classifica o dei risultati. */


/* Ordine: due frecce sovrapposte e centrate verticalmente, non sparse tra le colonne. */





/* Tutte le pagine hanno la ricerca libera al centro sopra la tabella. */






/* Pagine specchiate in alto e in basso; la numerazione superiore usa la stessa API DataTables. */







@media(max-width:900px){
 
 
 
 
}
/* Reset al termine di tutti i chip di stato/tipo, non a fianco del primo filtro. */
main.live-admin-games .live-games-filter-reset-end{margin:19px 0 2px;padding-top:14px;border-top:1px solid rgba(255,255,255,.22);display:flex;justify-content:flex-end}
main.live-admin-games .live-games-filter-reset-end .btn{padding:9px 15px;font-size:12px;font-weight:800;border-radius:10px}

/* Anche le tabelle non inizializzate come DataTables condividono tipografia
   e bordi: solo contenuto pagina, non piccoli selettori nei form/modali. */
body.live-home main#main-content .table-responsive>table.table:not(.table-borderless),
body.live-unified-shell main#main .table-responsive>table.table:not(.table-borderless){
 border-collapse:separate!important;border-spacing:0;border:1px solid #e0e8f6;
 border-radius:12px;font-family:Inter,system-ui,sans-serif;font-size:13px;
 color:#304a71;background:#fff;
}
body.live-home main#main-content .table-responsive>table.table:not(.table-borderless)>thead th,
body.live-unified-shell main#main .table-responsive>table.table:not(.table-borderless)>thead th{
 background:#eef3fc;color:#21409a;font-size:12px;font-weight:850;vertical-align:middle;
 border-bottom:1px solid #dce5f5;padding:12px 13px;
}
body.live-home main#main-content .table-responsive>table.table:not(.table-borderless)>tbody td,
body.live-unified-shell main#main .table-responsive>table.table:not(.table-borderless)>tbody td{
 padding:12px 13px;font-size:13px;line-height:1.55;vertical-align:middle;
 border-bottom:1px solid #e8edf5;
}


/* ===== FASE 17.4c · hero CSI, UNA SOLA FOTO A DESTRA =====
   Contenitore: solo blu dashboard. La foto è esclusivamente un livello
   laterale (pseudo-elemento) oppure l'IMG già presente in Squadra/Impianto.
   In particolare non usare mai background-image fotografici sull'hero. */
.live-home .live-public-hero{
  position:relative;isolation:isolate;overflow:hidden;color:#fff;border-radius:22px;
  background:radial-gradient(circle at 92% 5%,rgba(106,150,231,.22) 0,transparent 40%),linear-gradient(110deg,#172f72,#21409A 70%,#2d51a5);
  box-shadow:0 13px 30px rgba(26,54,120,.12);
}
/* Non si sovrappone al testo: l'immagine è confinata sul lato destro. */
.live-home .live-public-hero::after{
  content:"";position:absolute;top:0;right:0;bottom:0;left:auto;
  width:min(46%,600px);height:100%;z-index:-1;
  background-image:var(--live-hero-image,none);background-size:cover;background-position:center;
  opacity:.39;
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.75) 30%,#000 62%);
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.75) 30%,#000 62%);
  pointer-events:none;
}
/* Pagine senza immagine propria: una fotografia tematica, usando gli asset
   già forniti dal progetto. Le immagini specifiche prevalgono via variabile. */
.live-home .live-competition-banner.live-public-hero{--live-hero-image:url("../img/dashboard-leagues.webp")}
.live-home .live-competition-banner--detail.live-public-hero{--live-hero-image:url("../img/dashboard-projects.webp")}
.live-home .live-fields-catalog__hero.live-public-hero{--live-hero-image:url("../img/dashboard-fields.webp")}
.live-home .live-public-info__hero.live-public-hero{--live-hero-image:url("../img/dashboard-clubs.webp")}
.live-home .live-public-policy__hero.live-public-hero{--live-hero-image:url("../img/dashboard-persons.webp")}
.live-home .live-club-hero.live-public-hero{--live-hero-image:url("../img/dashboard-clubs.webp")}
.live-home.live-person-detail .live-person-hero.live-team-hero.live-public-hero{
  background:radial-gradient(circle at 92% 5%,rgba(106,150,231,.22) 0,transparent 40%),linear-gradient(110deg,#172f72,#21409A 70%,#2d51a5);
}
.live-home .live-person-hero.live-public-hero{--live-hero-image:url("../img/dashboard-persons.webp")}
.live-home .live-game-hero.live-public-hero{--live-hero-image:url("../img/dashboard-matches.webp")}
.live-home .live-team-hero--no-photo.live-public-hero{--live-hero-image:url("../img/dashboard-teams.webp")}
/* Squadra e Impianto hanno già un IMG dedicato sulla destra: non se ne aggiunge un altro. */
.live-home .live-team-hero--has-photo.live-public-hero::after,
.live-home .live-field-hero.live-public-hero::after{display:none!important}
/* Per le squadre esistenti che hanno cover, preserva il comportamento originale. */
.live-home .live-team-hero__cover,
.live-home .live-field-hero__cover{
  position:absolute;top:0;right:0;height:100%;width:min(47%,560px);
  object-fit:cover;object-position:center;
  opacity:.36;mask-image:linear-gradient(to right,transparent 0%,#000 34%);
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 34%);
}
.live-home .live-public-hero .live-admin-welcome__eyebrow,
.live-home .live-public-hero .live-public-hero__eyebrow{
  font-size:10px!important;font-weight:850!important;letter-spacing:.15em!important;color:#cbdaf9!important;
  display:flex!important;align-items:center!important;gap:9px!important;margin:0 0 15px!important;text-transform:uppercase;
}
.live-home .live-public-hero .live-admin-welcome__eyebrow::before,
.live-home .live-public-hero .live-public-hero__eyebrow::before{
  content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#F37021;
  box-shadow:0 0 0 5px rgba(243,112,33,.18);flex:0 0 8px;
}
.live-home .live-public-hero h1,
.live-home .live-public-hero h2{
  color:#fff!important;font-size:clamp(23px,2.5vw,33px)!important;font-weight:850!important;
  letter-spacing:-.04em!important;line-height:1.14!important;margin:15px 0 6px!important;
}
.live-home .live-public-hero .live-admin-welcome__main>p:not(.live-admin-welcome__eyebrow):not(.live-public-hero__eyebrow),
.live-home .live-public-hero .live-field-hero__copy>p:not(.live-admin-welcome__eyebrow):not(.live-public-hero__eyebrow),
.live-home .live-public-hero .live-team-hero__description,
.live-home .live-public-hero .live-person-hero__description,
.live-home .live-public-hero .live-person-hero__nickname,
.live-home .live-public-hero .live-team-hero__season{
  font-size:13px!important;color:#dce5f6!important;margin:0 0 18px!important;
}
.live-home .live-public-hero .live-competition-banner__stats span,
.live-home .live-public-hero .live-team-hero__facts span,
.live-home .live-public-hero .live-team-hero__facts a,
.live-home .live-public-hero .live-admin-welcome__meta span,
.live-home .live-public-hero .live-field-hero__actions>a,
.live-home .live-public-hero .live-field-hero__manage{
  display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:8px;
  background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.12)!important;
  font-size:11px!important;font-weight:700!important;color:#fff!important;
}
.live-home .live-public-hero .live-competition-banner__stats i,
.live-home .live-public-hero .live-team-hero__facts i,
.live-home .live-public-hero .live-team-hero__season i,
.live-home .live-public-hero .live-field-hero__copy>p i,
.live-home .live-public-hero .live-field-hero__actions i{color:#ffbb86!important}
.live-home .live-public-hero .live-entity-hero-actions,
.live-home .live-public-hero .live-field-hero__floating-actions{z-index:12}
.live-home .live-competition-banner--detail,
.live-home .live-team-detail .live-team-hero,
.live-home .live-club-hero,
.live-home .live-person-detail .live-person-hero.live-team-hero,
.live-home .live-game-hero,
.live-home .live-field-detail .live-field-hero{padding-right:170px}
.live-home .live-competition-banner__art,
.live-home .live-competition-banner__sport{display:none!important}
/* L'hero gare dell'amministrazione mantiene il layout della dashboard, con
   una sola foto sul lato destro, non un background su tutta la superficie. */
body.live-admin-workspace main.live-admin-games .live-games-welcome{position:relative;isolation:isolate;overflow:hidden}
body.live-admin-workspace main.live-admin-games .live-games-welcome::after{
  content:"";position:absolute;z-index:-1;top:0;right:0;height:100%;width:min(43%,530px);
  background:url("../img/dashboard-matches.webp") center/cover no-repeat;opacity:.30;
  mask-image:linear-gradient(to right,transparent,#000 44%);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 44%);pointer-events:none;
}
body.live-admin-workspace main.live-admin-games .live-games-welcome>div{position:relative;z-index:1}
@media(max-width:767.98px){
  .live-home .live-public-hero{border-radius:18px}
  .live-home .live-public-hero::after{width:72%;opacity:.22;mask-image:linear-gradient(to right,transparent,#000 70%);-webkit-mask-image:linear-gradient(to right,transparent,#000 70%)}
  .live-home .live-team-hero__cover,.live-home .live-field-hero__cover{width:72%;opacity:.22;min-height:0}
  .live-home .live-competition-banner--detail,
  .live-home .live-team-detail .live-team-hero,
  .live-home .live-club-hero,
  .live-home .live-person-detail .live-person-hero.live-team-hero,
  .live-home .live-game-hero,
  .live-home .live-field-detail .live-field-hero{padding-right:20px;padding-bottom:80px}
  body.live-admin-workspace main.live-admin-games .live-games-welcome::after{width:65%;opacity:.18}
}












@media(max-width:767.98px){
  
  
}


/* ===== FASE 17.5: DataTables CSI unificate =====
   Una sola cornice attorno alla tabella, nessuna cornice extra al wrapper.
   Questo stile e' usato da frontend e backoffice, inclusi tab AJAX. */










/* Il contenitore dello scroll non disegna un secondo bordo. */
.live-table-frame,
.live-competition-detail #project-sheets .table-responsive,
.live-competition-detail #project-sheets .table-responsive.live-table-frame{
  max-width:100%;min-width:0;width:100%;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;
}
/* Full width anche per i pannelli inseriti dinamicamente e i gironi. */
.live-competition-detail #project-sheets .live-project-sheets__body,
.live-competition-detail #project-sheets .live-sheet-pane,
.live-competition-detail #project-sheets .live-sheet-result-pane,
.live-competition-detail #project-sheets .live-sheet-result-pane > .row,
.live-competition-detail #project-sheets .tab-content,
.live-competition-detail #project-sheets .tab-pane,
.live-competition-detail #project-sheets .accordion-body{
  width:100%;max-width:100%;min-width:0;
}




/* Titoli: niente titolo Poppins e sottolineatura legacy arancione a tutta pagina. */
.live-competition-detail #project-sheets h5.solid-border,
.live-competition-detail #project-sheets .tab-pane h5.solid-border,
.live-competition-detail #project-sheets .live-sheet-pane h5.solid-border{
  display:flex;align-items:center;min-width:0;gap:9px;
  margin:10px 0 16px!important;padding:0 0 0 13px!important;
  border:0!important;border-left:3px solid #f37021!important;
  font:800 16px/1.45 Inter,system-ui,sans-serif!important;
  letter-spacing:-.02em;color:#21409a!important;
}
.live-competition-detail #project-sheets h5.solid-border a{color:#21409a;font:inherit;text-decoration:none}
.live-competition-detail #project-sheets h5.solid-border a:hover{color:#df641b}
/* Le classifiche restano curate, ma si integrano con le altre tabelle. */
.live-competition-detail #project-sheets .ranking .live-ranking-points strong{font-weight:900}
/* Le frecce di ordinamento del plugin restano allineate al titolo. */

/* Elenco gare: una sola legenda, dopo la paginazione. */
.live-admin-games .live-games-data > .live-table-glossary{margin:14px 0 4px}
@media(max-width:767.98px){
 .live-competition-detail #project-sheets .live-project-sheets__body{padding:12px!important}
 .live-competition-detail #project-sheets h5.solid-border{font-size:15px!important}
 
}

/* Fase 17.5b: descrizioni HTML sanificate dagli editor, mantenendo il layout. */
.live-richtext{overflow-wrap:anywhere;line-height:1.6}
.live-richtext p{margin:0 0 .55em!important;color:inherit!important;font-size:inherit!important;line-height:inherit!important}
.live-richtext p:last-child{margin-bottom:0!important}
.live-richtext ul,.live-richtext ol{margin:.3em 0 .7em;padding-left:1.35em;list-style-position:outside}
.live-richtext li{margin:.2em 0}
.live-richtext a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.live-richtext blockquote{border-left:3px solid #f37021;padding-left:12px;margin:.7em 0}
.live-richtext h3,.live-richtext h4,.live-richtext h5,.live-richtext h6{font-size:inherit!important;line-height:1.45;font-weight:800;color:inherit;margin:.8em 0 .35em}
.live-admin-games .live-games-group-heading>a{color:#21409a;font-weight:850;text-decoration:none}
.live-admin-games .live-games-group-heading>a:hover{text-decoration:underline}

/* Fase 17.15: badge stato piccolo e allineato al risultato, golden/OT tra i parziali. */
.live-game-hero__center .live-game-hero__state--compact{padding:5px 10px;font-size:10px;line-height:1.2;gap:5px;margin-top:2px;letter-spacing:.015em}
.live-game-hero__partials span.live-game-hero__special{background:rgba(255,178,107,.22);border-color:rgba(255,188,126,.56);color:#fff;min-width:75px}
.live-game-hero__partials span.live-game-hero__special small{color:#ffdfbd}


/* Fase 17.38 | Intestazione orizzontale fissa e sidebar sottostante.
   L'header non cambia larghezza con il burger; solo il contenuto si adatta. */
.live-unified-shell .live-topbar,
.live-unified-shell .live-header,
.live-unified-shell.sidebar-collapsed .live-topbar,
.live-unified-shell.sidebar-collapsed .live-header,
.live-home .live-topbar,
.live-home .live-header,
.live-home.sidebar-collapsed .live-topbar,
.live-home.sidebar-collapsed .live-header{
  margin-left:0!important;width:100%;
}
.live-unified-shell .live-topbar,.live-home .live-topbar{position:sticky;top:0;z-index:1037}
.live-unified-shell .live-header,.live-home .live-header{position:sticky;top:32px;z-index:1037}
.live-unified-shell .live-sidebar,.live-home .live-sidebar{
  top:var(--live-shell-chrome-bottom,115px)!important;bottom:0!important;
  height:auto;z-index:1036;
}
.live-unified-shell .live-sidebar-backdrop,.live-home .live-sidebar-backdrop{
  top:var(--live-shell-chrome-bottom,115px);
}
.live-unified-shell .live-sidebar__heading,.live-home .live-sidebar__heading{height:47px;min-height:47px}
.live-unified-shell.sidebar-collapsed .live-sidebar__heading::before,
.live-home.sidebar-collapsed .live-sidebar__heading::before{content:"MENU";font-size:10px;letter-spacing:.04em}
/* I gruppi del menu amministrativo per ogni ruolo devono avere un'icona
   con la stessa area occupata dai gruppi del menu pubblico. */
.live-unified-shell .live-shell-admin-navigation details.live-side-nav__group > summary > div > i.bi:first-child{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 20px;width:20px;min-width:20px;font-size:17px;
  color:#21409a;background:none!important;
}
/* Il tooltip Bootstrap viene portato nel body: non è ritagliato
   dal contenitore scrollabile della sidebar chiusa. */
.live-shell-menu-tip{--bs-tooltip-bg:#1f376d;--bs-tooltip-color:#fff;
  font-size:12px;font-weight:700;z-index:1050}
@media(max-width:991.98px){
 .live-unified-shell .live-header,.live-home .live-header{top:0}
 .live-unified-shell .live-sidebar-backdrop,.live-home .live-sidebar-backdrop{
   top:var(--live-shell-chrome-bottom,72px)
 }
 .live-unified-shell .live-sidebar,.live-home .live-sidebar{
   top:var(--live-shell-chrome-bottom,72px)!important
 }
}

/* Fase 17.56 | stessa sidebar in root e admin, indipendente da site-legacy.css legacy. */
.live-unified-shell .live-sidebar .live-shell-admin-navigation .sidebar-nav{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px}
.live-unified-shell .live-sidebar .live-shell-admin-navigation .sidebar-nav>li{margin:0;padding:0;border:0!important;list-style:none}
.live-unified-shell .live-sidebar .live-shell-admin-navigation .sidebar-nav>li>.nav-link,
.live-unified-shell .live-sidebar .live-shell-admin-navigation details.live-side-nav__group>summary{
 display:flex;align-items:center;gap:11px;min-height:42px;padding:12px!important;
 border-radius:10px;background:transparent;color:#4f617b;font-size:12px;font-weight:700;line-height:1.35;text-decoration:none;
}
.live-unified-shell .live-sidebar .live-shell-admin-navigation .sidebar-nav>li>.nav-link:hover,
.live-unified-shell .live-sidebar .live-shell-admin-navigation details.live-side-nav__group>summary:hover,
.live-unified-shell .live-sidebar .live-shell-admin-navigation .sidebar-nav a.is-current{
 background:#eff3ff!important;color:#21409a!important;
}
.live-unified-shell .live-sidebar .live-shell-admin-navigation .sidebar-nav .bi{
 font-family:"bootstrap-icons"!important;font-style:normal;
}

/* 17.77: barra export FullCalendar omogenea in team, league, field e person. */
.live-calendar-heading{display:flex;align-items:center;justify-content:flex-end;width:100%;gap:8px;}
.live-calendar-export{margin-left:auto;justify-content:flex-end;gap:9px;}
.live-calendar-export__hint{font-size:12px;color:#73839c;font-weight:650;margin-right:2px;white-space:nowrap;}
@media(max-width:767px){.live-calendar-heading,.live-calendar-export{justify-content:flex-end;}.live-calendar-export__hint{flex-basis:100%;text-align:right;}}
/* La stessa dimensione del bottone Copia della scheda squadra. */
/* Copy buttons in person and team details use the common .live-ui-copy. */
.live-person-contact .live-team-copy:hover,.live-person-contact .live-team-copy.is-copied{background:#21409a;color:#fff;}

/* Pulsanti calendario squadra: tutti espliciti e con stile coerente. */
.live-team-detail .live-team-google-calendar__ical{border:1px solid #d8e0ee;border-radius:10px;padding:10px 12px;background:#fff;color:#21409a;}
.live-team-detail .live-team-google-calendar__ical:hover{background:#edf3ff;color:#21409a;}
.live-team-detail .live-team-google-calendar__copy-ical{display:inline-flex;align-items:center;gap:7px;width:auto;height:auto;min-height:38px;padding:8px 11px;border-radius:10px;}

/* ===== Frontend: catalogo Squadre (17.82, consolidato nel tema condiviso) ===== */
/* Componenti del catalogo pubblico: filtri, ricerca, schede, griglia e paginazione.
   Vengono mantenuti selettori circoscritti a .live-teams-page per non modificare
   altre pagine. Per nuovi cataloghi valutare la riusabilità dei componenti. */
.live-teams-page .live-teams-page__filters{--live-ui-surface-bg:#fff;--live-ui-surface-line:1px solid #e1e9f5;--live-ui-surface-radius:20px;--live-ui-surface-shadow:0 12px 30px rgba(21,45,105,.04);margin:22px 0 30px;padding:24px 26px 18px;}
.live-teams-page .live-teams-page__filters .live-section-title{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}
.live-teams-page .live-teams-page__search{display:grid;grid-template-columns:minmax(240px,1.6fr) minmax(180px,.8fr) auto auto;align-items:end;gap:14px;margin:0;padding:0 0 22px;border-bottom:1px solid #e9eef7}
.live-teams-page .live-teams-page__search-field,.live-teams-page .live-teams-page__sport-field{min-width:0;display:flex;flex-direction:column;gap:7px}
.live-teams-page .live-teams-page__search label{font-size:12px;font-weight:750;color:#304a79;line-height:1.3}
.live-teams-page .live-teams-page__search-input{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:0 13px;background:#f8faff;border:1px solid #dce5f3;border-radius:12px;color:#8290ab}
.live-teams-page .live-teams-page__search-input:focus-within{border-color:#21409a;box-shadow:0 0 0 3px rgba(33,64,154,.08)}
.live-teams-page .live-teams-page__search-input input{min-width:0;width:100%;background:transparent;border:0;outline:0;box-shadow:none;font-size:13px;color:#172f67;height:42px}
.live-teams-page .live-teams-page__search-input input::placeholder{color:#98a5ba}
.live-teams-page .live-teams-page__sport-field .form-select{min-height:44px;background-color:#f8faff;border:1px solid #dce5f3;border-radius:12px;color:#243f78;font-size:13px;padding:9px 34px 9px 13px}
.live-teams-page .live-teams-page__submit,.live-teams-page .live-teams-page__reset{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:12px;font-size:12px;font-weight:750;white-space:nowrap;text-decoration:none}
.live-teams-page .live-teams-page__submit{background:#21409a;color:#fff;border:1px solid #21409a;box-shadow:0 5px 12px rgba(33,64,154,.12)}
.live-teams-page .live-teams-page__submit:hover,.live-teams-page .live-teams-page__submit:focus{background:#182f73;color:white}
.live-teams-page .live-teams-page__reset{color:#21409a;background:#fff;border:1px solid #dbe4f2}
.live-teams-page .live-teams-page__reset:hover{background:#f3f6fe}
.live-teams-page .live-teams-page__pills{margin-top:17px;padding:0 0 5px;overflow-x:auto;max-width:100%;flex-wrap:nowrap;scrollbar-width:thin}
.live-teams-page .live-teams-page__results{margin:18px 0 55px}
.live-teams-page .live-teams-page__results-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:0 0 18px}
.live-teams-page .live-teams-page__results-heading h2{font-size:clamp(20px,2vw,26px);letter-spacing:-.025em;color:#142c67;font-weight:800;margin:0}
.live-teams-page .live-teams-page__results-heading span{font-size:12px;color:#6b7f9c;font-weight:650}
.live-teams-page .live-teams-page__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.live-teams-page .live-teams-page__card{--live-ui-surface-bg:#fff;--live-ui-surface-line:1px solid #e0e8f4;--live-ui-surface-radius:17px;--live-ui-surface-shadow:0 6px 20px rgba(25,51,102,.045);min-width:0;display:grid;grid-template-columns:76px minmax(0,1fr) 17px;align-items:center;gap:14px;min-height:120px;padding:18px;text-decoration:none;color:#21409a;transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease}
.live-teams-page .live-teams-page__card:hover,.live-teams-page .live-teams-page__card:focus-visible{transform:translateY(-2px);border-color:#a8b9e6;box-shadow:0 12px 25px rgba(25,51,102,.12);color:#21409a}
.live-teams-page .live-teams-page__logo{width:76px;height:76px;border:1px solid #ecf0f8;border-radius:15px;background:#f7f9fd;display:grid;place-items:center;overflow:hidden}
.live-teams-page .live-teams-page__logo img{display:block;width:66px;height:66px;max-width:100%;max-height:100%;object-fit:contain}
.live-teams-page .live-teams-page__info{min-width:0;display:flex;flex-direction:column;gap:5px}
.live-teams-page .live-teams-page__sport{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:800;color:#ee6d22;line-height:1.35}
.live-teams-page .live-teams-page__sport img{width:16px;height:16px;object-fit:contain}
.live-teams-page .live-teams-page__info h3{font-size:15px;font-weight:800;line-height:1.32;margin:0;color:#21409a;overflow-wrap:anywhere}
.live-teams-page .live-teams-page__info p{font-size:11px;line-height:1.5;color:#72829c;margin:0;overflow-wrap:anywhere}
.live-teams-page .live-teams-page__arrow{color:#9aacca;align-self:center;font-size:14px}
.live-teams-page .live-teams-page__pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;margin:28px 0 0;font-size:12px;font-weight:700;color:#667897}
.live-teams-page .live-teams-page__pagination a{border:1px solid #dce5f4;background:#fff;border-radius:10px;padding:10px 13px;text-decoration:none;color:#21409a}
.live-teams-page .live-teams-page__pagination a:hover{background:#f3f6ff}
.live-teams-page .live-teams-page__results .live-empty{border:1px dashed #cbd7ea;border-radius:17px;background:#fff;padding:44px 24px;text-align:center}
@media(max-width:1100px){.live-teams-page .live-teams-page__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-teams-page .live-teams-page__search{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.live-teams-page .live-teams-page__search .live-teams-page__reset{justify-self:start}}
@media(max-width:650px){.live-teams-page .live-teams-page__filters{padding:19px 16px}.live-teams-page .live-teams-page__filters .live-section-title{flex-direction:column;align-items:start}.live-teams-page .live-teams-page__search{grid-template-columns:minmax(0,1fr)}.live-teams-page .live-teams-page__search .live-teams-page__submit,.live-teams-page .live-teams-page__search .live-teams-page__reset{width:100%}.live-teams-page .live-teams-page__grid{grid-template-columns:minmax(0,1fr)}.live-teams-page .live-teams-page__card{min-height:105px;grid-template-columns:68px minmax(0,1fr) 14px;padding:13px}.live-teams-page .live-teams-page__logo{width:68px;height:68px}.live-teams-page .live-teams-page__logo img{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.live-teams-page .live-teams-page__card{transition:none}}


/* === Livescore 17.83 / tournament-bracket.css — stili migrati nel foglio condiviso === */
.tree-overflow {
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 10px;
}

.tree-container {
    flex-wrap: nowrap !important;
    display: inline-flex !important;
    width: min-content !important;
    margin: 0 20px;
}

.level-block {
    flex: 1 0 0%;
    padding: 0;
    text-align: center;
}

.row-block {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    align-self: center !important;
}

.h-connector {
    width: 30px;
    float: left;
    border-top: 2px solid rgb(58,95,153);
}

.v-connector {
    border-left: 2px solid rgb(58,95,153) !important;
}

.tree-card {
    display: flex;
    flex-direction: column;
    width: 250px;
    height: 200px;
    margin: 0;
    padding: 0 5px;
    font-size: 0.9rem;
    border-radius: 10px;
    margin-bottom: 10px;
}

.tree-card:hover {
    background-color: rgba(22, 22, 26, 0.18) !important;
    cursor: pointer;
}

.not_played {
    width: 250PX;
    /*float: left;*/
    border-top: 2px solid rgb(58,95,153);
    /*margin: 220px 0 0 0;*/
    padding: 0;
}

.tree-edit-card {
    width: 350px;
    height: 320px;
    margin: 0;
    padding: 0 5px;
    font-size: 0.9rem;
    border-radius: 10px;
}

.tree-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
    padding: 2px 0;
    font-size: 12px;
    border-bottom: 1px solid #e26603;
}

.tree-card-body {
    flex-grow: 1; /* Occupa tutto lo spazio disponibile */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Se vuoi distribuire gli elementi */
    text-align: left !important;
}

.tree-card-body-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 5px;
}

.tree-card-body-row .result {
    font-size: 1.5rem;
    color: #094fa3;
    margin: 0 5px;
}

.tree-card-footer {
    margin: 20px 0 0 0;
    vertical-align: bottom !important;
    border-top: 1px solid rgba(22, 22, 26, 0.18);
}


/* === Livescore 17.83 / live-calendar-admin-roles.css — stili migrati nel foglio condiviso === */

.live-calendar-admin-roles{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 14px;margin:12px 14px 4px;border:1px solid #d8e3f7;border-radius:12px;background:#f8faff}
.live-calendar-admin-roles strong{color:#21409a;font-size:13px;margin-right:5px}
.live-admin-role-btn{border:1px solid #d4dff1;border-radius:9px;background:white;color:#21409a;padding:7px 9px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:6px}
.live-admin-role-btn i{display:inline-block;width:11px;height:11px;border-radius:50%;border:1px solid #aaa}
.live-admin-role-btn.is-active{background:#21409a;border-color:#21409a;color:white}
.live-calendar-admin-roles small{width:100%;color:#687a9d}
.live-admin-role-hidden{display:none!important}

.live-admin-event-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px;line-height:1.25}
.live-admin-event-tag{font-size:10px;font-weight:700;border-radius:5px;background:#fff;color:#244064;
 padding:2px 5px;border:1px solid #d8e4f5;border-left:3px solid var(--role-color,#21409a)}

/* Golden set in tabellone: punti extra distinti dai set del risultato. */
.tree-card-golden-set{padding:3px 6px 5px;color:#24437d;border-top:1px solid #e1e7ef;}


/* === 17.87 — Tipografia, navigazione e componenti condivisi === */
:root { --live-base-font: 16px; --live-modal-radius: 18px; }
body.live-home, body.live-unified-shell, body.live-app-shell,
html.live-app-shell body { font-size: var(--live-base-font); line-height: 1.52; }
body .form-control, body .form-select, body .select2-selection,
body .modal .modal-body, body .table { font-size: .95rem; }
body .btn, body .modal .modal-footer .btn { font-size: .94rem; }
body.live-unified-shell .live-sidebar .nav-link,
html.live-app-shell .sidebar-nav .nav-link {font-size: .98rem;}
body.live-unified-shell .live-sidebar .nav-content a,
html.live-app-shell .sidebar-nav .nav-content a {font-size: .92rem;}
@media (min-width:1200px) {
  html.live-app-shell body:not(.live-unified-shell) .sidebar{width:320px;}
  html.live-app-shell body:not(.live-unified-shell) #main,
  html.live-app-shell body:not(.live-unified-shell) #footer{margin-left:320px;}
  html.live-app-shell body:not(.live-unified-shell) .toggle-sidebar #main,
  html.live-app-shell body:not(.live-unified-shell) .toggle-sidebar #footer{margin-left:0;}
  html.live-app-shell body:not(.live-unified-shell) .toggle-sidebar .sidebar{left:-320px;}
}
@media (max-width:1199px){html.live-app-shell .sidebar{left:-320px}}

/* Base unica per modal del backoffice e frontend, inclusi quelli montati in JS. 
   Le classi Bootstrap modal-sm/lg/xl e fullscreen decidono soltanto la larghezza. */
body .modal .modal-content {
  border:1px solid #dce4f2;
  border-radius:var(--live-modal-radius);
  background:#fff;
  box-shadow:0 26px 70px rgba(15,35,75,.22);
  overflow:hidden;
}
body .modal .modal-header {
  padding:1.1rem 1.35rem;
  border:0;
  border-bottom:1px solid #e3eaf5;
  background:#f5f8ff;
  color:#213e86;
  min-height:66px;
  margin:0!important;
}
body .modal .modal-header .modal-title{font-size:1.12rem;font-weight:800;line-height:1.3;color:inherit;}
body .modal .modal-header .solid-border,
body .modal .modal-header > .solid-border{border:0!important;padding:0!important;margin:0!important;width:100%;}
body .modal .modal-body{padding:1.25rem 1.35rem;min-width:0;}
body .modal .modal-footer{padding:1rem 1.35rem;border:0;border-top:1px solid #e3eaf5;background:#f8faff;gap:.5rem;margin:0!important;}
body .modal .modal-footer .btn,
body .modal .modal-header .btn:not(.btn-close){border-radius:10px;}
body .modal .modal-header .btn-close{opacity:.75;}
body .modal .modal-header .btn-close:hover{opacity:1;}
/* Non schiacciare gli editor complessi o la galleria fullscreen. */
body .modal .modal-dialog.modal-fullscreen .modal-content{border-radius:0;}
@media (max-width:575.98px){
  body .modal:not(.modal-fullscreen) .modal-header, body .modal:not(.modal-fullscreen) .modal-footer{padding:.9rem 1rem;}
  body .modal:not(.modal-fullscreen) .modal-body{padding:1rem;}
}

/* Home hero multidsicplinare: un solo asset WebP, nessun nuovo foglio CSS. */
.live-home .live-hero--sports{
 background-image:linear-gradient(90deg,#112b67 0%,rgba(16,42,102,.99) 30%,rgba(16,42,102,.78) 52%,rgba(16,42,102,.06) 100%),url('../img/live-home-hero-sports.webp');
 background-position:center,center center;
 background-size:cover;
 background-repeat:no-repeat;
 border-radius:0 0 26px 26px;
 box-shadow:0 18px 45px rgba(20,45,95,.18);
}
.live-home .live-hero--sports .live-hero__content{min-height:355px;display:flex;align-items:center;padding-top:60px;padding-bottom:60px;}
.live-home .live-hero--sports .live-hero__content>div:first-child{max-width:650px;position:relative;z-index:1;}
.live-home .live-hero--sports .live-hero__content p:not(.live-hero__eyebrow){font-size:1.03rem;color:#e1eafb;}
.live-home .live-hero--sports .live-hero__illustration{display:none;}
@media (max-width:767px){
 .live-home .live-hero--sports{background-position:center,62% center;background-image:linear-gradient(90deg,rgba(16,42,102,.95),rgba(16,42,102,.79)),url('../img/live-home-hero-sports.webp');}
 .live-home .live-hero--sports .live-hero__content{min-height:330px;padding:43px 4px;}
}

/* Un solo calendario: risultati e gare nello stesso elenco, intervallo dal/al. */
.live-home .live-calendar__layout--single{display:block;}
.live-home .live-calendar__layout--single .live-calendar__primary{width:100%;max-width:none;}
.live-home .live-date-range-form{display:flex;align-items:end;flex-wrap:wrap;gap:10px;}
.live-home .live-date-range-form label{display:flex;flex-direction:column;gap:5px;font-size:.83rem;font-weight:750;color:#536b91;}
.live-home .live-date-range-form .form-control{font-size:.95rem;min-width:150px;}
.live-home .live-date-range-form button{min-height:42px;}
.live-home .live-calendar[aria-busy=true] .live-match-list{opacity:.62;transition:opacity .2s;}
.live-home-range-loading{margin-left:12px;vertical-align:middle;}
@media(max-width:600px){.live-home .live-date-range-form{width:100%;}.live-home .live-date-range-form label{flex:1 1 130px;}.live-home .live-date-range-form button{flex:1 1 100%;justify-content:center;}}

/* Standard comune con precedenza sulle vecchie varianti delle singole modali. */
body .modal .modal-content{border-radius:var(--live-modal-radius)!important;}
body .modal .modal-dialog.modal-fullscreen .modal-content{border-radius:0!important;}
body .modal .modal-header{
 background:#f5f8ff!important;color:#213e86!important;
 border-bottom:1px solid #e3eaf5!important;
}
body .modal .modal-footer{
 background:#f8faff!important;border-top:1px solid #e3eaf5!important;
}
body .modal .modal-header .btn-close{filter:none!important;}
.live-team-detail #eventModal .modal-header .dropdown-toggle{
 color:#213e86!important;background:#fff!important;border:1px solid #d4deed!important;
}

.live-home .live-discover--inline{display:flex;align-items:center;gap:12px;margin-top:24px;padding:15px 18px;}
.live-home .live-discover--inline>span{flex:1;font-size:.95rem;font-weight:650;}
.live-home .live-discover--inline>i{font-size:1.2rem;}
.live-home .live-discover--inline>a{white-space:nowrap;}
@media(max-width:550px){.live-home .live-discover--inline{flex-wrap:wrap;}.live-home .live-discover--inline>span{flex-basis:70%;}.live-home .live-discover--inline>a{margin-left:auto;}}

/* Andamento ultime cinque: stesse icone su classifica, team e storico gara. */
.live-game-form__chips{gap:5px;}
.live-game-form__chip{border-radius:50%;width:26px;height:26px;font-size:17px;font-weight:900;color:#fff;}
.live-game-form__chip.is-win{background:#1a9d60;color:#fff;}
.live-game-form__chip.is-draw{background:#9499a8;color:#fff;}
.live-game-form__chip.is-loss{background:#e04e4f;color:#fff;}
.live-game-form__chip.is-latest{outline:2px solid currentColor;outline-offset:2px;}


/* === 17.88: elementi condivisi, senza CSS di pagina aggiuntivi === */
/* Chiudi: simbolo Bootstrap leggibile e target di almeno 44px, anche con vecchio .btn-close{background-size:25%}. */
body .modal .modal-header .btn-close,
body .modal .modal-header button.close:not(.btn-close) {
  box-sizing:border-box;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;
  margin:0 0 0 auto!important;padding:0!important;
  border:1px solid #d6deef;border-radius:12px;background-color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  opacity:1!important;transition:background-color .16s,border-color .16s,box-shadow .16s;
}
body .modal .modal-header .btn-close {
  background-size:17px 17px!important;background-position:center!important;background-repeat:no-repeat!important;
}
body .modal .modal-header button.close:not(.btn-close){font-size:27px;line-height:1;color:#21409a;}
body .modal .modal-header .btn-close:hover,
body .modal .modal-header button.close:not(.btn-close):hover {background-color:#e9efff;border-color:#9aaddd;}
body .modal .modal-header .btn-close:focus-visible,
body .modal .modal-header button.close:not(.btn-close):focus-visible {outline:3px solid #f37021;outline-offset:2px;box-shadow:none;}
/* L'unico contenitore calendario mantiene le coppie di azioni leggibili e non troncate. */
.live-team-google-calendar__actions{
  flex:1 1 650px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
.live-team-google-calendar__group{display:flex;flex-direction:column;gap:9px;min-width:0;padding:12px;border:1px solid #e0e7f5;border-radius:14px;background:#fff;}
.live-team-google-calendar__group-label{color:#536b92;font-weight:800;font-size:12px;line-height:1.3;}
.live-team-google-calendar__group-buttons{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;flex-wrap:wrap;}
.live-team-detail .live-team-google-calendar__group-buttons :is(a,button){
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  flex:0 0 auto;width:auto;min-height:42px;margin:0;padding:9px 12px;border-radius:10px;
  font-size:12px;font-weight:750;line-height:1.25;white-space:nowrap;overflow-wrap:normal;word-break:normal;text-decoration:none;
}
.live-team-detail .live-team-google-calendar__group-buttons :is(a,button) span{white-space:nowrap;}
.live-team-detail .live-team-google-calendar__group-buttons .live-team-google-calendar__open{background:#21409a;color:white;border:1px solid #21409a;}
.live-team-detail .live-team-google-calendar__group-buttons .live-team-google-calendar__copy,
.live-team-detail .live-team-google-calendar__group-buttons .live-team-google-calendar__copy-ical,
.live-team-detail .live-team-google-calendar__group-buttons .live-team-google-calendar__ical{background:#fff;border:1px solid #d8e0ee;color:#21409a;}
@media(max-width:1100px){.live-team-google-calendar__actions{grid-template-columns:1fr;}}
@media(max-width:560px){
 .live-team-google-calendar__actions{grid-template-columns:minmax(0,1fr);width:100%;}
 .live-team-google-calendar__group-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
 .live-team-detail .live-team-google-calendar__group-buttons :is(a,button){width:100%;min-width:0;font-size:11px;padding:9px 6px;}
}
/* Sport, passione, comunità: motto nuovamente visibile nel nuovo hero. */
.live-home .live-hero--sports .live-hero__content p.live-hero__motto {
  display:block;margin:0 0 21px;max-width:none;font-weight:900;letter-spacing:.17em;
  font-size:clamp(12px,1.2vw,15px);color:#fff;line-height:1.4;text-transform:uppercase;
}
.live-home .live-hero--sports .live-hero__motto span{color:#ffa65f;margin:0 .3em;}
/* Tre scorciatoie leggere, sovrapposte al fondo dell'hero. */
.live-home .live-home-quicklinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;position:relative;z-index:2;margin-top:-23px;}
.live-home .live-home-quicklink{display:flex;align-items:center;gap:13px;min-width:0;padding:16px 19px;border-radius:16px;
 background:#fff;color:#21409a;border:1px solid #e1e8f5;box-shadow:0 10px 30px rgba(21,43,96,.10);text-decoration:none;transition:transform .17s,box-shadow .17s;}
.live-home .live-home-quicklink:hover{color:#21409a;transform:translateY(-3px);box-shadow:0 17px 34px rgba(21,43,96,.15);}
.live-home .live-home-quicklink__icon{display:grid;place-items:center;flex:0 0 47px;height:47px;border-radius:13px;background:#e9efff;color:#21409a;font-size:21px;}
.live-home .live-home-quicklink__icon--orange{background:#fff0e5;color:#e76b1c;}
.live-home .live-home-quicklink>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px;}
.live-home .live-home-quicklink strong{font-size:15px;font-weight:850;}
.live-home .live-home-quicklink small{font-size:12px;line-height:1.35;color:#74829a;}
.live-home .live-home-quicklink>i:last-child{margin-left:auto;color:#f37021;font-size:16px;}
/* Le stesse immagini in mini-card, sidebar e testata delle gare. */
.live-home .live-sports{padding-top:37px;}
.live-home .live-sports__scroll{gap:12px;padding:4px 3px 18px;}
.live-home .live-sport-pill{min-width:191px;max-width:250px;min-height:88px;padding:10px;gap:12px;align-items:center;border-radius:16px;
 background:linear-gradient(145deg,#fff,#f8faff);box-shadow:0 8px 22px rgba(29,54,107,.07);font-size:13px;}
.live-home .live-sport-pill__image{width:64px;height:64px;min-width:64px;object-fit:cover;border-radius:12px;box-shadow:0 4px 10px rgba(15,34,65,.12);}
.live-home .live-sport-pill__copy{display:flex;flex-direction:column;gap:5px;min-width:0;text-align:left;line-height:1.2;}
.live-home .live-sport-pill__copy strong{font-weight:800;font-size:13px;white-space:normal;}
.live-home .live-sport-pill__copy small{font-size:11px;color:#8291a9;}
.live-home .live-sport-pill.is-selected{background:#21409a;color:#fff;border-color:#21409a;}
.live-home .live-sport-pill.is-selected .live-sport-pill__image{padding:0;background:transparent;}
.live-home .live-sport-pill.is-selected .live-sport-pill__copy small{color:#d7e2ff;}
/* Più profondità nell'elenco senza sacrificare densità e leggibilità. */
.live-home #calendario .live-panel-heading h3{font-size:21px;}
.live-home #calendario .live-game-card{position:relative;border-color:#e0e8f3;box-shadow:0 7px 19px rgba(20,41,85,.045);}
.live-home #calendario .live-game-card:hover{border-color:#b1c3e7;box-shadow:0 14px 29px rgba(20,41,85,.11);}
.live-home #calendario .live-game-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#dae4f7;pointer-events:none;}
.live-home #calendario .live-game-card:has(.live-game-card__status.is-final)::before{background:#21a66d;}
.live-home #calendario .live-game-card:has(.live-game-card__status.is-upcoming)::before{background:#f37021;}
.live-home #calendario .live-game-card__score strong{background:#eaf0fd;color:#163d91;}
.live-home #calendario .live-week{border:1px solid #dce5f5;box-shadow:0 9px 22px rgba(20,41,85,.06);}
@media(max-width:850px){
 .live-home .live-home-quicklinks{grid-template-columns:1fr;gap:8px;margin-top:12px;}
 .live-home .live-home-quicklink{padding:11px 14px;}
 .live-home .live-sports{padding-top:26px;}
}
@media(max-width:520px){
 .live-home .live-sport-pill{min-width:163px;min-height:72px;padding:8px;gap:9px;}
 .live-home .live-sport-pill__image{width:53px;height:53px;min-width:53px;}
 .live-home .live-sport-pill__copy strong{font-size:12px;}
 .live-home .live-sport-pill__copy small{font-size:10px;}
}
@media(prefers-reduced-motion:reduce){.live-home .live-home-quicklink{transition:none;}}


/* 17.89a — sidebar con palloni realistici scontornati; nessun riquadro artificiale. */
.live-side-nav__sport-symbol--ball,
.live-side-nav__group--sport summary:hover .live-side-nav__sport-symbol--ball{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 34px;width:34px;height:34px;padding:0;
  border:0;border-radius:0;background:transparent!important;box-shadow:none;
}
.live-side-nav__sport-symbol--ball img{
  display:block;width:32px;height:32px;max-width:none;object-fit:contain;
  filter:drop-shadow(0 1px 2px rgba(16,35,78,.18));
}
.live-side-nav__sport-symbol--ball i{font-size:19px;color:#21409a}

/* 17.89a — motto allineato dentro la griglia dell'hero, mai assoluto o fuori sezione. */
.live-home .live-hero--sports .live-hero__content{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,305px);
  align-items:center;gap:clamp(16px,3vw,42px);min-height:385px;
  padding-top:49px;padding-bottom:58px;
}
.live-home .live-hero--sports .live-hero__content>div:first-child{max-width:660px;min-width:0}
.live-home .live-hero--sports .live-hero__motto-panel{
  display:flex;flex-direction:column;align-items:flex-start;justify-self:end;
  width:min(100%,305px);padding:25px 27px;
  border:1px solid rgba(255,255,255,.23);
  border-left:4px solid #ff984c;border-radius:18px;
  color:#fff;background:linear-gradient(125deg,rgba(9,33,91,.84),rgba(15,39,91,.64));
  box-shadow:0 13px 36px rgba(8,20,52,.18);
  backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
  position:relative;z-index:2;pointer-events:none;
}
.live-home .live-hero--sports .live-hero__motto-kicker{
  color:#f6c6a3;font-size:10px;font-weight:850;letter-spacing:.15em;line-height:1.6;
}
.live-home .live-hero--sports .live-hero__motto-panel strong{
  margin-top:12px;color:#fff;font-size:clamp(24px,2.5vw,35px);
  font-weight:900;letter-spacing:-.045em;line-height:1.12;
}
.live-home .live-hero--sports .live-hero__motto-panel em{color:#ffa36b;font-style:normal}
.live-home .live-hero--sports .live-hero__motto-rule{display:block;width:55px;height:3px;margin-top:17px;background:#ff994e;border-radius:4px}

/* 17.89a — cataloghi: foto rettangolare a filo, senza ovali, cerchi o maschere ellittiche. */
.live-home .live-public-hero--leagues{--live-hero-image:url('../img/public-hero-leagues.webp')}
.live-home .live-public-hero--venues{--live-hero-image:url('../img/public-hero-venues.webp')}
.live-home .live-public-hero--archive{--live-hero-image:url('../img/public-hero-archive.webp')}
.live-home .live-teams-page__hero.live-public-hero{--live-hero-image:url('../img/dashboard-teams.webp')}
.live-home .live-public-hero--competition{background:linear-gradient(112deg,#15346f,#234ba0 75%,#172e66)}
.live-home .live-competition-banner.live-public-hero::after{
  content:""!important;display:block!important;
  position:absolute;inset:0 0 0 auto!important;width:min(52%,680px)!important;height:100%!important;
  border:none!important;border-radius:0!important;clip-path:none!important;transform:none!important;
  background:var(--live-hero-image,none) center/cover no-repeat!important;
  opacity:.45!important;pointer-events:none!important;z-index:0;
  mask-image:linear-gradient(to right,transparent 0%,#000 55%)!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 55%)!important;
}
.live-home .live-competition-banner.live-public-hero>.live-competition-banner__art{
  display:none!important;
}
.live-home .live-competition-banner.live-public-hero>div:first-child{position:relative;z-index:2;max-width:min(100%,750px)}
.live-home .live-public-hero--archive::before{
  content:'2008  ·  2014  ·  2020  ·  2026';position:absolute;right:27px;bottom:18px;
  font-size:12px;letter-spacing:.16em;color:#e8eaf8;opacity:.6;pointer-events:none;z-index:2;
}
/* Il dettaglio squadra rimane senza foto duplicata nell'hero. */
.live-home .live-team-hero--identity{
  background:linear-gradient(112deg,#16346f 0%,#244b9f 100%);min-height:280px;
}
.live-home .live-team-hero--identity::after{display:none!important}
.live-team-hero__watermark{position:absolute;right:4%;top:-58px;font-size:260px;line-height:1;transform:rotate(-17deg);color:rgba(255,255,255,.075);pointer-events:none}
.live-team-hero__watermark i{font-size:inherit}

/* L'overview resta nel flusso e non si sovrappone al motto. */
.live-home-overview{display:grid;grid-template-columns:minmax(240px,1fr) minmax(400px,1.6fr);gap:28px;align-items:center;margin-top:25px;margin-bottom:26px;padding:29px 32px;border:1px solid #dfe7f6;border-radius:20px;background:linear-gradient(115deg,#fff,#f5f8ff);box-shadow:0 12px 28px rgba(23,47,109,.045)}
.live-home-overview__intro h2{font-size:clamp(22px,2.1vw,29px);font-weight:850;color:#173577;letter-spacing:-.035em;margin:7px 0}
.live-home-overview__intro p{font-size:14px;color:#687e9e;margin-bottom:11px}
.live-home-overview__intro a{color:#21409a;font-size:13px;font-weight:800;text-decoration:none}
.live-home-overview__figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.live-home-overview__figures>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;min-height:135px;padding:18px 19px;background:#fff;border:1px solid #e0e8f7;border-radius:15px}
.live-home-overview__figures i{color:#f37021;font-size:20px}
.live-home-overview__figures strong{font-size:clamp(25px,2.4vw,35px);line-height:1;font-weight:900;color:#173577}
.live-home-overview__figures span{font-size:12px;color:#637796;line-height:1.4}

@media(max-width:1000px){
 .live-home .live-hero--sports .live-hero__content{grid-template-columns:minmax(0,1fr) minmax(195px,245px);min-height:345px;gap:14px}
 .live-home .live-hero--sports .live-hero__motto-panel{padding:19px 18px}
}
@media(max-width:767.98px){
 .live-home .live-hero--sports .live-hero__content{grid-template-columns:1fr;min-height:0;padding-top:40px;padding-bottom:37px;gap:22px}
 .live-home .live-hero--sports .live-hero__motto-panel{
  width:100%;max-width:440px;justify-self:stretch;
  padding:14px 18px;border-radius:13px;
 }
 .live-home .live-hero--sports .live-hero__motto-panel strong{font-size:23px;line-height:1.18}
 .live-home .live-competition-banner.live-public-hero::after{width:65%!important;opacity:.23!important}
 .live-home-overview{grid-template-columns:1fr;padding:20px;gap:18px}
 .live-home-overview__figures{gap:7px}
 .live-home-overview__figures>div{min-height:112px;padding:12px}
 .live-home-overview__figures span{font-size:10px}
 .live-team-hero__watermark{font-size:170px;top:5px}
}


/* 17.90: schede statistiche comuni a squadra, campionato e partita. */
.live-public-stats-section{margin:26px 0 30px}
.live-public-stats-section .live-team-section__heading{margin-bottom:18px}
.live-public-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 22px}
.live-public-metric{display:flex;flex-direction:column;gap:7px;align-items:flex-start;min-width:0;padding:19px 18px;border:1px solid #dce7f6;border-radius:15px;background:linear-gradient(160deg,#fff,#f8faff);box-shadow:0 7px 18px rgba(19,46,106,.045)}
.live-public-metric>i{font-size:21px;color:#f37021}
.live-public-metric__label{font-size:12px;font-weight:800;color:#506a90}
.live-public-metric__value{color:#173577;font-size:clamp(19px,2vw,26px);line-height:1.1;font-weight:850;overflow-wrap:anywhere}
.live-public-metric>small{font-size:11px;color:#7484a0;line-height:1.4}
.live-game-panel .live-public-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.live-game-panel .live-public-metric{padding:12px 10px}
.live-game-panel .live-public-metric__value{font-size:16px}
@media(max-width:850px){.live-public-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.live-game-panel .live-public-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.live-public-metrics{gap:8px}.live-public-metric{padding:13px 10px}.live-game-panel .live-public-metrics{grid-template-columns:1fr}.live-public-metric__value{font-size:19px}}


/* Livescore 17.91 · icone sport, hero e statistiche evidenti — tutte regole condivise. */
.live-side-nav__sport-symbol--ball,
.live-side-nav__group--sport summary:hover .live-side-nav__sport-symbol--ball{
  width:26px!important;height:26px!important;flex:0 0 26px!important;min-width:26px;
  border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
}
.live-side-nav__sport-symbol--ball img{
  width:22px!important;height:22px!important;max-width:22px!important;object-fit:contain;
  filter:none!important;display:block;
}
/* L'hero della squadra valorizza lo stemma, non duplica la foto dei media. */
.live-home.live-team-detail .live-team-hero--identity{
  position:relative;isolation:isolate;overflow:hidden;min-height:305px;
  background:radial-gradient(ellipse at 80% 20%,rgba(108,164,255,.30),transparent 45%),
    repeating-linear-gradient(146deg,transparent 0,transparent 46px,rgba(255,255,255,.025) 47px,transparent 49px),
    linear-gradient(112deg,#0c275b 0%,#1d418d 55%,#315db0 100%);
}
.live-home.live-team-detail .live-team-hero--identity::after{
  content:""!important;display:block!important;position:absolute;inset:auto -4% -35% auto!important;
  width:52%!important;height:120%!important;border:2px solid rgba(255,255,255,.09)!important;
  border-radius:50%!important;clip-path:none!important;transform:rotate(-20deg)!important;
  background:none!important;mask:none!important;-webkit-mask:none!important;
  pointer-events:none;opacity:1!important;
}
.live-home .live-team-hero--identity .live-team-hero__watermark{
  position:absolute;inset:50% 5% auto auto;width:min(32%,300px);height:auto;
  transform:translateY(-50%) rotate(-8deg);opacity:.16;filter:grayscale(1) brightness(2.1);
  z-index:0;pointer-events:none;
}
.live-home .live-team-hero--identity .live-team-hero__watermark img{
  display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;
}
.live-home .live-team-hero--identity .live-team-hero__content,
.live-home .live-team-hero--identity .live-entity-hero-actions{position:relative;z-index:2}
/* Motto tipografico, piccolo e in basso: niente card o elementi flottanti. */
.live-home .live-hero--sports .live-hero__content{align-items:center;grid-template-columns:minmax(0,1fr) minmax(210px,290px)}
.live-home .live-hero--sports .live-hero__motto-inline{
  align-self:end;justify-self:end;max-width:290px;margin:0 0 34px;padding:0 0 0 16px;
  color:#fff;border:0;border-left:3px solid #ff9449;background:transparent;
  text-align:left;filter:drop-shadow(0 2px 5px rgba(0,0,0,.2));
}
.live-home .live-hero--sports .live-hero__motto-inline small{
  display:block;color:#f6be97;letter-spacing:.14em;font-size:10px;font-weight:800;margin-bottom:6px;
}
.live-home .live-hero--sports .live-hero__motto-inline strong{
  font-size:clamp(16px,1.5vw,21px);line-height:1.25;display:block;font-weight:850;letter-spacing:-.025em;
}
.live-home .live-hero--sports .live-hero__motto-inline em{color:#ffa36b;font-style:normal}
/* Le sezioni statistiche sono blocchi autonomi, subito dopo l'hero. */
.live-public-stats-section--game,.live-public-stats-section--league{
  padding:22px clamp(16px,2.5vw,28px);border-radius:20px;
  border:1px solid #dfe7f5;background:linear-gradient(120deg,#fff 0%,#f6f8fd 100%);
  box-shadow:0 12px 30px rgba(13,45,100,.055);margin:20px 0 26px;
}
.live-public-stats-section--game .live-team-section__heading,
.live-public-stats-section--league .live-team-section__heading{margin:0 0 12px}
.live-public-stats-section__subheading{display:flex;align-items:center;gap:9px;margin:24px 0 12px;color:#21409a}
.live-public-stats-section__subheading h3{font-size:17px;font-weight:850;margin:0}
.live-public-stats-section__subheading i{font-size:19px;color:#f37021}
.live-public-stats-section--game .live-public-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.live-public-stats-section--league .live-public-metrics{margin:12px 0 16px}
.live-public-stats-empty{margin:15px 0;color:#647c9e;font-weight:600}
@media(max-width:850px){
 .live-public-stats-section--game .live-public-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767.98px){
 .live-home.live-team-detail .live-team-hero--identity{min-height:265px}
 .live-home .live-team-hero--identity .live-team-hero__watermark{width:48%;right:1%;opacity:.08}
 .live-home .live-hero--sports .live-hero__content{grid-template-columns:1fr}
 .live-home .live-hero--sports .live-hero__motto-inline{
    align-self:end;justify-self:end;width:auto;max-width:100%;margin:0 0 0 auto;padding-left:12px;
 }
 .live-home .live-hero--sports .live-hero__motto-inline strong{font-size:16px}
 .live-public-stats-section--game,.live-public-stats-section--league{padding:17px 13px}
}
@media(max-width:480px){
 .live-public-stats-section--game .live-public-metrics{grid-template-columns:1fr 1fr}
 .live-public-stats-section--game .live-public-metric{padding:12px 10px}
 .live-public-stats-section--game .live-public-metric__value{font-size:17px}
}
/* Nessun ovale residuo nell'hero squadra: il fondale resta fotografico-free, a texture diagonale. */
.live-home.live-team-detail .live-team-hero--identity::after,
.live-home.live-team-detail .live-team-hero--identity::before{display:none!important}
