/* Estilos generales */
html, body {
    min-height: 100%;
    margin: 0;
    background: linear-gradient(to bottom, #f0f0f5, #ffffff);
}

/* El contenedor ya no necesita flex:1 cuando usas header/footer fixed */
.container-fluid {
    width: 100%;
}

/* HEADER */
.nav-wrapper {
    background-color: #c1283c; /* Color primario */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
.page-footer {
    background-color: #1b2e4c; /* Color secundario */
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.collection-item.avatar .circle {
    background-color: #c1283c; /* Fondo de los íconos circulares */
}

.center-align {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.center-align img {
    display: block;
}

a:hover, .collection-item:hover {
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

/* Estilos para los íconos sociales */
.social-icons a {
    margin: 0 10px;
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #cccccc;
}

/* Botones de footer */
.footer-button {
    background-color: #c1283c;
    color: #fff;
    border-radius: 25px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-button i {
    margin-right: 8px;
}

/* Estilo de las tarjetas */
.card {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-content {
    padding: 20px;
    font-size: 1rem;
    position: relative; /* Necesario para posicionar elementos como la hora */
    text-align: left; /* Alinear el texto a la izquierda */
}

.card-title {
    font-size: 1.3rem;
    color: #1b2e4c; /* Color del título */
    margin-bottom: 10px;
}

.collection-item {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    position: relative; /* Para que la hora se posicione dentro del contenedor */
}

.collection-header h6 {
    font-weight: bold;
    font-size: 1.2rem;
    color: #1b2e4c;
    margin-bottom: 10px;
}

.secondary-content {
    font-weight: bold;
    font-size: 1rem;
    color: #1b2e4c;
    position: absolute;
    right: 10px;
    top: 10px;
    white-space: nowrap;
}

.title small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9rem;
}

/* Estilo del ícono de información */
.info-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #c1283c;
}

.card-content:hover .info-icon {
    color: #1b2e4c;
}

/* Estilo para el buscador */
.search-container {
    margin-bottom: 20px;
}

.search-container input {
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    font-size: 16px;
}

.slides .caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 10px;
}

/* Cambia el color del texto y el icono del botón de "Like" al hacer clic */
.card-action .like-button.liked,
.card-action .like-button.liked i {
    color: #ff5252;
}

.my-bordered-table {
    border-collapse: collapse;
    min-width: 700px;
}

.my-bordered-table th,
.my-bordered-table td {
    border: 1px solid #ccc;
    padding: 8px;
}

/* =========================================================
   FIXED HEADER/FOOTER SOLO EN MÓVIL
   ========================================================= */
@media only screen and (max-width: 600px) {

    /* Header fijo */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    /* Footer fijo */
    footer.page-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        margin: 0; 
        padding: 8px 0 !important; /* Más compacto */
    }

    /* Compensar el espacio del header y footer para que no tapen contenido */
    body {
        padding-top: 56px;   
        padding-bottom: 250px; /* Suficiente espacio para que el patrocinador suba del footer */
    }

    .main-wrapper{
        padding-bottom: 16px;
    }

    /* En móvil conviene que el footer se vea como barra */
    footer.page-footer .center-align {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
}


/* --- Estilos globales de index.php --- */
:root{
            --everest-red:#a3172f;
            --everest-red-dark:#8b1227;
            --everest-blue:#173765;
            --everest-blue-2:#214b8f;
            --everest-orange:#f46a1f;
            --everest-white:#ffffff;
            --everest-light:#f4f4f4;
            --everest-text:#1f2937;
            --everest-soft:#eef2f7;
        }

        body{
            margin:0;
            background:
                linear-gradient(180deg, rgba(23,55,101,.85) 0%, rgba(17,36,67,.92) 100%),
                url('https://copa-everest.com/assets/fondo-home.jpg') center center / cover no-repeat fixed;
            font-family: "Roboto", sans-serif;
            color: var(--everest-text);
        }

        .main-wrapper{
            min-height:100vh;
            display:flex;
            flex-direction:column;
        }

        nav{
            background: transparent;
            box-shadow:none;
            padding-top:8px;
        }

        .nav-wrapper{
            width:92%;
            margin:0 auto;
            background: rgba(255,255,255,0.08);
            border:1px solid rgba(255,255,255,0.12);
            border-radius:18px;
            backdrop-filter: blur(4px);
            padding:0 10px;
        }

        .brand-logo{
            font-size:1.1rem !important;
            font-weight:700;
            letter-spacing:.4px;
        }

        .sidenav-trigger,
        nav .brand-logo,
        nav ul a,
        nav a{
            color:#fff !important;
        }

        .hero{
            width:92%;
            margin:10px auto 18px auto;
            background: linear-gradient(135deg, var(--everest-blue) 0%, #254f95 100%);
            border-radius:24px;
            padding:16px 14px 14px;
            color:#fff;
            box-shadow:0 16px 34px rgba(0,0,0,.22);
            position:relative;
            overflow:hidden;
        }

        .hero::before{
            content:"";
            position:absolute;
            right:-30px;
            top:-30px;
            width:130px;
            height:130px;
            border:3px solid rgba(255,255,255,.12);
            border-radius:50%;
        }

        .hero::after{
            content:"";
            position:absolute;
            left:-45px;
            bottom:-45px;
            width:140px;
            height:140px;
            border:3px solid rgba(255,255,255,.10);
            border-radius:50%;
        }

        .hero-top{
            display:flex;
            flex-direction:row;
            align-items:center;
            justify-content:center;
            gap:15px;
            margin-bottom:8px;
        }

        .hero-logo{
            width:64px;
            height:auto;
            object-fit:contain;
            background:transparent;
            border-radius:0;
            padding:0;
        }

        .hero-title{
            text-align:left;
        }

        .hero-title .mini{
            display:block;
            font-size:1rem;
            font-weight:900;
            letter-spacing:1px;
            opacity:1;
            text-transform:uppercase;
            line-height:1.08;
            margin-bottom:2px;
        }

        .hero-title h1{
            margin:0;
            font-size:2.8rem;
            line-height:.95;
            font-weight:900;
        }

        .hero-title p{
            margin:4px 0 0;
            font-size:0.9rem;
            opacity:.95;
            font-weight:700;
        }

        .hero-badge{
            display:block;
            width:fit-content;
            margin:12px auto 0;
            background:#f4001c;
            color:#fff;
            font-weight:900;
            font-size:1.05rem;
            line-height:1;
            padding:8px 16px;
            border-radius:4px;
            letter-spacing:.6px;
            text-transform:uppercase;
            transform:rotate(-2.2deg);
            box-shadow:0 8px 16px rgba(0,0,0,.25);
        }

        .hero-subtext{
            margin-top:8px;
            font-size:.82rem;
            line-height:1.35;
            opacity:.95;
            text-align:center;
        }

        .hero-anniversary{
            margin-top:10px;
            display:flex;
            justify-content:center;
            align-items:flex-end;
            gap:20px;
        }

        .hero-anniversary .anniversary-img{
            width:56px;
            height:auto;
            object-fit:contain;
            filter:drop-shadow(0 6px 10px rgba(0,0,0,.25));
        }

        .hero-anniversary .mascotas-img{
            width:105px;
            height:auto;
            object-fit:contain;
            filter:drop-shadow(0 6px 10px rgba(0,0,0,.25));
        }

        .content-panel{
            width:92%;
            margin:0 auto 18px auto;
            background: var(--everest-light);
            border-radius:28px 28px 0 0;
            padding:18px 14px 150px;
            flex:1;
            box-shadow:0 -8px 24px rgba(0,0,0,.08);
        }

        .section-title{
            color:var(--everest-blue);
            font-size:1.2rem;
            font-weight:900;
            margin:4px 4px 14px;
            text-transform:uppercase;
            letter-spacing:.5px;
        }

        .menu-list{
            display:flex;
            flex-direction:column;
            gap:14px;
        }

        .menu-card{
            display:flex;
            align-items:center;
            gap:14px;
            background:#fff;
            border-radius:20px;
            padding:14px;
            text-decoration:none;
            color:inherit;
            box-shadow:0 10px 22px rgba(18,38,63,.08);
            border-left:6px solid var(--everest-blue);
            transition:transform .2s ease, box-shadow .2s ease;
        }

        .menu-card:active,
        .menu-card:hover{
            transform:translateY(-2px);
            box-shadow:0 14px 28px rgba(18,38,63,.12);
        }

        .menu-icon-wrap{
            width:58px;
            height:58px;
            min-width:58px;
            border-radius:16px;
            background:linear-gradient(135deg, var(--everest-blue), var(--everest-blue-2));
            display:flex;
            align-items:center;
            justify-content:center;
            box-shadow:0 8px 18px rgba(33,75,143,.22);
        }

        .menu-icon-wrap img{
            width:32px;
            height:32px;
            object-fit:contain;
            filter: brightness(0) invert(1);
        }

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

        .menu-info .title{
            display:block;
            font-size:1.05rem;
            font-weight:800;
            color:var(--everest-blue);
            margin-bottom:4px;
        }

        .menu-info p{
            margin:0;
            color:#516074;
            font-size:.9rem;
            line-height:1.35;
        }

        .menu-arrow{
            width:38px;
            height:38px;
            min-width:38px;
            border-radius:50%;
            background:rgba(244,106,31,.12);
            color:var(--everest-orange);
            display:flex;
            align-items:center;
            justify-content:center;
        }

        .quick-banner{
            margin:0 2px 16px;
            background:linear-gradient(90deg, var(--everest-red) 0%, var(--everest-red-dark) 100%);
            color:#fff;
            border-radius:18px;
            padding:14px 16px;
            display:flex;
            align-items:center;
            gap:12px;
            box-shadow:0 10px 20px rgba(163,23,47,.18);
        }

        .quick-banner i{
            font-size:1.8rem;
            color:#fff;
        }

        .quick-banner strong{
            display:block;
            font-size:.98rem;
        }

        .quick-banner span{
            font-size:.86rem;
            opacity:.92;
        }

        .event-alert{
            margin:0 2px 16px;
            background:linear-gradient(135deg, #173765 0%, #214b8f 100%);
            color:#fff;
            border-radius:18px;
            padding:14px;
            box-shadow:0 10px 20px rgba(23,55,101,.2);
        }

        .event-alert .title{
            display:flex;
            align-items:center;
            gap:8px;
            font-size:.92rem;
            font-weight:900;
            text-transform:uppercase;
            letter-spacing:.5px;
            margin-bottom:8px;
        }

        .event-alert p{
            margin:0;
            font-size:.9rem;
            line-height:1.4;
            opacity:.95;
        }

        .info-list{
            margin:0 2px 18px;
            display:flex;
            flex-direction:column;
            gap:10px;
        }

        .info-item{
            background:#fff;
            border-radius:14px;
            padding:12px;
            box-shadow:0 8px 16px rgba(18,38,63,.07);
            border:1px solid #ebeff5;
        }

        .info-item strong{
            display:block;
            color:var(--everest-blue);
            font-size:.88rem;
            margin-bottom:4px;
        }

        .info-item span{
            display:block;
            color:#475569;
            font-size:.84rem;
            line-height:1.35;
        }

        .sponsors-showcase{
            margin:0 2px 18px;
            background:linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
            border:2px solid rgba(23,55,101,.12);
            border-radius:20px;
            padding:14px;
            box-shadow:0 12px 24px rgba(23,55,101,.10);
        }

        .sponsors-label{
            display:inline-flex;
            align-items:center;
            gap:8px;
            background:var(--everest-orange);
            color:#fff;
            font-size:.78rem;
            font-weight:900;
            letter-spacing:.5px;
            text-transform:uppercase;
            border-radius:999px;
            padding:6px 12px;
            margin-bottom:10px;
        }

        .sponsors-title{
            margin:0 0 10px;
            color:var(--everest-blue);
            font-size:1.02rem;
            font-weight:900;
        }

        .sponsors-global {
            margin: 20px 14px 100px !important;
            clear: both;
        }

        .sponsors-image-wrap{
            position:relative;
            border-radius:16px;
            overflow:hidden;
            background:linear-gradient(135deg, #173765, #214b8f);
            padding:10px;
        }

        .sponsors-image-wrap img{
            width:100%;
            height:auto;
            display:block;
            border-radius:12px;
            background:#fff;
        }

        .sports-panel{
            /* padding removido, hereda de .content-panel */
        }

        .sports-banner{
            margin-bottom:18px;
        }

        .sports-grid{
            display:flex;
            flex-direction:column;
            gap:12px;
        }

        .sport-card{
            display:flex;
            align-items:center;
            gap:14px;
            background:#fff;
            border-radius:20px;
            padding:14px;
            text-decoration:none;
            color:inherit;
            box-shadow:0 10px 24px rgba(18,38,63,.08);
            border:1px solid #e8eef6;
            transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }

        .sport-card:hover,
        .sport-card:active{
            transform:translateY(-2px);
            box-shadow:0 14px 30px rgba(18,38,63,.12);
            border-color:rgba(23,55,101,.22);
        }

        .sport-icon{
            width:60px;
            height:60px;
            min-width:60px;
            border-radius:18px;
            background:linear-gradient(135deg, rgba(23,55,101,.12), rgba(33,75,143,.20));
            display:flex;
            align-items:center;
            justify-content:center;
            overflow:hidden;
        }

        .sport-icon img{
            width:42px;
            height:42px;
            object-fit:contain;
        }

        .sport-copy{
            flex:1;
            min-width:0;
        }

        .sport-name{
            display:block;
            color:var(--everest-blue);
            font-size:1.02rem;
            font-weight:900;
            line-height:1.2;
            margin-bottom:4px;
        }

        .sport-desc{
            display:block;
            color:#5b6b80;
            font-size:.88rem;
            line-height:1.35;
        }

        .sport-arrow{
            width:38px;
            height:38px;
            min-width:38px;
            border-radius:50%;
            background:rgba(244,106,31,.12);
            color:var(--everest-orange);
            display:flex;
            align-items:center;
            justify-content:center;
        }

        .category-panel{
            /* padding removido, hereda de .content-panel */
        }

        .page-back-row{
            margin:0 2px 14px;
        }

        .page-back-link{
            display:inline-flex;
            align-items:center;
            gap:8px;
            min-height:40px;
            padding:0 14px;
            border-radius:999px;
            background:rgba(23,55,101,.10);
            color:var(--everest-blue);
            text-decoration:none;
            font-size:.9rem;
            font-weight:900;
            letter-spacing:.2px;
            box-shadow:0 8px 18px rgba(18,38,63,.06);
            transition:transform .2s ease, background .2s ease;
        }

        .page-back-link:hover,
        .page-back-link:active{
            background:rgba(23,55,101,.16);
            transform:translateY(-1px);
        }

        .page-back-link i{
            font-size:1.1rem;
        }

        .category-banner{
            margin-bottom:16px;
        }

        .category-search{
            margin:0 2px 16px;
        }

        .category-search input{
            height:auto;
            margin:0;
            padding:14px 16px;
            background:#fff;
            border:1px solid #dde6f1 !important;
            border-radius:18px !important;
            box-shadow:0 8px 18px rgba(18,38,63,.06);
            color:var(--everest-blue);
            box-sizing:border-box;
        }

        .category-search input:focus{
            border-bottom:1px solid rgba(23,55,101,.35) !important;
            box-shadow:0 10px 22px rgba(18,38,63,.10) !important;
        }

        .category-search input::placeholder{
            color:#7c8da5;
        }

        .category-actions{
            margin:0 2px 18px;
        }

        .category-action-card{
            display:flex;
            align-items:center;
            gap:12px;
            padding:14px;
            border-radius:18px;
            background:linear-gradient(135deg, #173765 0%, #214b8f 100%);
            color:#fff;
            text-decoration:none;
            box-shadow:0 12px 24px rgba(23,55,101,.18);
        }

        .category-action-icon{
            width:44px;
            height:44px;
            min-width:44px;
            border-radius:14px;
            background:rgba(255,255,255,.14);
            display:flex;
            align-items:center;
            justify-content:center;
        }

        .category-action-copy{
            display:flex;
            flex-direction:column;
            gap:2px;
        }

        .category-action-copy strong{
            font-size:.96rem;
            font-weight:900;
        }

        .category-action-copy small{
            color:rgba(255,255,255,.9);
            font-size:.82rem;
            line-height:1.35;
        }

        .category-grid{
            display:flex;
            flex-direction:column;
            gap:12px;
        }

        .category-card,
        .category-empty{
            display:flex;
            align-items:center;
            gap:14px;
            background:#fff;
            border-radius:20px;
            padding:15px;
            text-decoration:none;
            color:inherit;
            border:1px solid #e8eef6;
            box-shadow:0 10px 24px rgba(18,38,63,.08);
            transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }

        .category-card:hover,
        .category-card:active{
            transform:translateY(-2px);
            box-shadow:0 14px 30px rgba(18,38,63,.12);
            border-color:rgba(23,55,101,.22);
        }

        .category-card-highlight{
            border-left:6px solid var(--everest-orange);
        }

        .category-card-copy{
            flex:1;
            min-width:0;
        }

        .category-card-title{
            display:block;
            color:var(--everest-blue);
            font-size:1rem;
            font-weight:900;
            line-height:1.25;
            margin-bottom:4px;
        }

        .category-card-subtitle{
            display:block;
            color:#5b6b80;
            font-size:.87rem;
            line-height:1.35;
        }

        .category-card-arrow{
            width:38px;
            height:38px;
            min-width:38px;
            border-radius:50%;
            background:rgba(244,106,31,.12);
            color:var(--everest-orange);
            display:flex;
            align-items:center;
            justify-content:center;
        }

        .category-empty{
            justify-content:center;
            text-align:center;
            padding:18px;
        }

        .roles-panel{
            padding-bottom:32px;
        }

        .roles-banner{
            margin-bottom:16px;
        }

        .roles-toolbar{
            display:flex;
            flex-direction:column;
            gap:14px;
            margin:0 2px 18px;
        }

        .roles-filter-card{
            background:#fff;
            border-radius:18px;
            padding:12px 14px 2px;
            border:1px solid #dde6f1;
            box-shadow:0 8px 18px rgba(18,38,63,.06);
        }

        .roles-filter-label{
            display:block;
            color:var(--everest-blue);
            font-size:.86rem;
            font-weight:900;
            text-transform:uppercase;
            letter-spacing:.4px;
            margin-bottom:6px;
        }

        .roles-select-field{
            margin:0;
        }

        .roles-select-field input.select-dropdown{
            border-bottom:none !important;
            margin:0 !important;
            height:auto !important;
            line-height:1.35 !important;
            padding:0 28px 10px 0 !important;
            color:var(--everest-blue) !important;
            font-weight:700;
        }

        .roles-select-field .caret{
            fill:var(--everest-blue);
        }

        .roles-search{
            margin:0;
        }

        .roles-news-btn{
            align-self:stretch;
            width:100%;
            border-radius:16px;
            background:linear-gradient(90deg, var(--everest-red) 0%, var(--everest-red-dark) 100%);
            box-shadow:0 10px 20px rgba(163,23,47,.18);
            text-transform:none;
            font-weight:800;
            letter-spacing:.2px;
        }

        .roles-groups-card{
            margin:0 2px 18px;
            background:#fff;
            border-radius:20px;
            padding:16px;
            border:1px solid #e8eef6;
            box-shadow:0 10px 24px rgba(18,38,63,.08);
        }

        .roles-groups-header{
            margin-bottom:12px;
        }

        .roles-groups-title{
            display:block;
            color:var(--everest-blue);
            font-size:1rem;
            font-weight:900;
            margin-bottom:4px;
        }

        .roles-groups-subtitle{
            display:block;
            color:#5b6b80;
            font-size:.85rem;
            line-height:1.35;
        }

        .roles-group-buttons{
            display:flex;
            flex-wrap:wrap;
            gap:10px;
        }

        .roles-group-chip{
            display:inline-flex;
            align-items:center;
            justify-content:center;
            min-height:38px;
            padding:0 14px;
            border-radius:999px;
            background:rgba(23,55,101,.10);
            color:var(--everest-blue);
            text-decoration:none;
            font-weight:800;
            font-size:.88rem;
        }

        .roles-day-list{
            display:flex;
            flex-direction:column;
            gap:16px;
        }

        .roles-day-group{
            display:flex;
            flex-direction:column;
            gap:10px;
        }

        .roles-day-header{
            margin:0 2px;
            color:var(--everest-blue);
            font-size:.96rem;
            font-weight:900;
            text-transform:uppercase;
            letter-spacing:.4px;
        }

        .roles-cards{
            display:flex;
            flex-direction:column;
            gap:12px;
        }

        .match-card{
            background:#fff;
            border-radius:20px;
            padding:14px;
            border:1px solid #e8eef6;
            box-shadow:0 10px 24px rgba(18,38,63,.08);
        }

        .match-card-top{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:10px;
            margin-bottom:12px;
        }

        .match-time{
            display:inline-flex;
            align-items:center;
            min-height:32px;
            padding:0 12px;
            border-radius:999px;
            background:rgba(244,106,31,.12);
            color:var(--everest-orange);
            font-size:.84rem;
            font-weight:900;
            text-transform:uppercase;
        }

        .match-meta{
            color:#5b6b80;
            font-size:.82rem;
            font-weight:700;
            text-align:right;
        }

        .match-team-row{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:12px;
        }

        .match-team-text{
            flex:1;
            min-width:0;
        }

        .match-team-text strong{
            display:block;
            color:var(--everest-blue);
            font-size:.98rem;
            line-height:1.25;
        }

        .match-team-text small{
            display:block;
            color:#64748b;
            font-size:.82rem;
            line-height:1.35;
            margin-top:2px;
        }

        .match-team-link{
            display:inline-flex;
            align-items:center;
            gap:6px;
            margin-top:8px;
            color:var(--everest-orange);
            font-size:.82rem;
            font-weight:900;
            text-decoration:none;
        }

        .match-team-link i{
            font-size:1rem;
        }

        .match-score{
            min-width:44px;
            text-align:center;
            color:var(--everest-blue);
            font-size:1.2rem;
            font-weight:900;
        }

        .match-vs{
            margin:8px 0;
            color:#94a3b8;
            font-size:.82rem;
            font-weight:900;
            text-transform:uppercase;
            letter-spacing:.8px;
            text-align:center;
        }

        .match-footer{
            display:flex;
            flex-wrap:wrap;
            gap:8px 12px;
            margin-top:12px;
            padding-top:12px;
            border-top:1px solid #edf2f7;
        }

        .match-footer span{
            color:#5b6b80;
            font-size:.82rem;
            font-weight:700;
        }

        .role-link-card{
            margin:0 2px;
        }

        .roster-panel{
            padding-bottom:32px;
        }

        .roster-banner{
            margin-bottom:16px;
        }

        .roster-summary-card{
            margin:0 2px 16px;
            background:#fff;
            border-radius:20px;
            padding:15px;
            border:1px solid #e8eef6;
            box-shadow:0 10px 24px rgba(18,38,63,.08);
        }

        .roster-summary-title{
            display:block;
            color:var(--everest-blue);
            font-size:1rem;
            font-weight:900;
            line-height:1.3;
        }

        .roster-summary-text{
            margin:8px 0 0;
            color:#5b6b80;
            font-size:.87rem;
            line-height:1.45;
        }

        .roster-grid{
            display:flex;
            flex-direction:column;
            gap:12px;
        }

        .roster-card{
            display:flex;
            align-items:center;
            gap:14px;
            margin:0 2px;
            background:#fff;
            border-radius:20px;
            padding:14px;
            border:1px solid #e8eef6;
            box-shadow:0 10px 24px rgba(18,38,63,.08);
        }

        .roster-photo,
        .roster-avatar{
            width:58px;
            height:58px;
            min-width:58px;
            border-radius:16px;
        }

        .roster-photo{
            object-fit:cover;
            background:#eef2f7;
        }

        .roster-avatar{
            display:flex;
            align-items:center;
            justify-content:center;
            background:linear-gradient(135deg, rgba(23,55,101,.12), rgba(33,75,143,.22));
            color:var(--everest-blue);
            font-size:1rem;
            font-weight:900;
            letter-spacing:.6px;
            text-transform:uppercase;
        }

        .roster-copy{
            min-width:0;
            flex:1;
        }

        .roster-name{
            display:block;
            color:var(--everest-blue);
            font-size:.98rem;
            font-weight:900;
            line-height:1.3;
        }

        .roster-role{
            display:block;
            color:#64748b;
            font-size:.82rem;
            margin-top:4px;
        }

        .map-panel{
            padding-bottom:32px;
        }

        .map-banner{
            margin-bottom:16px;
        }

        .map-card{
            margin:0 2px 16px;
            background:#fff;
            border-radius:20px;
            padding:15px;
            border:1px solid #e8eef6;
            box-shadow:0 10px 24px rgba(18,38,63,.08);
        }

        .map-card-header{
            margin-bottom:12px;
        }

        .map-card-title{
            display:block;
            color:var(--everest-blue);
            font-size:1rem;
            font-weight:900;
            line-height:1.3;
            margin-bottom:4px;
        }

        .map-card-subtitle{
            display:block;
            color:#5b6b80;
            font-size:.86rem;
            line-height:1.4;
        }

        .map-frame-wrap{
            overflow:hidden;
            border-radius:16px;
            background:linear-gradient(135deg, #173765, #214b8f);
            padding:8px;
            box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
        }

        .map-frame-wrap iframe{
            display:block;
            width:100%;
            min-height:420px;
            border:0;
            border-radius:12px;
            background:#fff;
        }

        .standings-panel{
            padding-bottom:32px;
        }

        .standings-banner{
            margin-bottom:16px;
        }

        .standings-summary-card{
            margin:0 2px 16px;
            background:#fff;
            border-radius:20px;
            padding:15px;
            border:1px solid #e8eef6;
            box-shadow:0 10px 24px rgba(18,38,63,.08);
        }

        .standings-group-badge{
            display:inline-flex;
            align-items:center;
            min-height:34px;
            padding:0 14px;
            border-radius:999px;
            background:rgba(23,55,101,.10);
            color:var(--everest-blue);
            font-size:.88rem;
            font-weight:900;
            text-transform:uppercase;
            letter-spacing:.4px;
        }

        .standings-summary-text{
            margin:10px 0 0;
            color:#5b6b80;
            font-size:.88rem;
            line-height:1.45;
        }

        .standings-table-card{
            margin:0 2px;
            background:#fff;
            border-radius:22px;
            padding:14px;
            border:1px solid #e8eef6;
            box-shadow:0 10px 24px rgba(18,38,63,.08);
            overflow:hidden;
        }

        .standings-table-wrap{
            overflow-x:auto;
            -webkit-overflow-scrolling:touch;
            border-radius:16px;
            border:1px solid #edf2f7;
            background:#f8fafc;
        }

        .standings-table{
            width:100%;
            min-width:760px;
            border-collapse:separate;
            border-spacing:0;
            background:#fff;
        }

        .standings-table thead th{
            position:sticky;
            top:0;
            z-index:1;
            background:var(--everest-blue);
            color:#fff;
            font-size:.82rem;
            font-weight:900;
            letter-spacing:.3px;
            text-transform:uppercase;
            border:none;
            padding:12px 10px;
            white-space:nowrap;
        }

        .standings-table tbody tr:nth-child(even){
            background:#f8fbff;
        }

        .standings-table td{
            border:none;
            border-bottom:1px solid #edf2f7;
            padding:12px 10px;
            color:#334155;
            font-size:.9rem;
            vertical-align:middle;
            white-space:nowrap;
        }

        .standings-table tbody tr:last-child td{
            border-bottom:none;
        }

        .standings-table td:not(:nth-child(2)),
        .standings-table th:not(:nth-child(2)){
            text-align:center;
        }

        .standings-rank{
            color:var(--everest-blue);
            font-size:1rem;
            font-weight:900;
        }

        .standings-team-name{
            color:var(--everest-blue);
            font-weight:900;
            line-height:1.25;
            white-space:normal;
        }

        .standings-team-subname{
            color:#64748b;
            font-size:.78rem;
            line-height:1.3;
            margin-top:3px;
            white-space:normal;
        }

        footer.page-footer{
            background: var(--everest-blue);
            padding:22px 16px 26px;
            margin-top:0;
            border-top:4px solid var(--everest-orange);
        }

        .footer-logo{
            width:56px;
            height:56px;
            object-fit:contain;
            margin-bottom:10px;
        }

        .footer-title{
            color:#fff;
            font-weight:800;
            font-size:1rem;
            margin-bottom:10px;
        }

        .social-icons{
            display:flex;
            justify-content:center;
            align-items:center;
            gap:14px;
            margin-top:8px;
        }

        .social-icons a{
            width:34px;
            height:34px;
            display:flex;
            align-items:center;
            justify-content:center;
            border-radius:50%;
            background:rgba(255,255,255,.10);
            color:#fff;
            font-size:0.95rem;
            transition:.2s ease;
        }

        .social-icons a:hover{
            background:var(--everest-orange);
            transform:translateY(-2px);
        }

        .footer-site{
            color:rgba(255,255,255,.8);
            font-size:.82rem;
            margin-top:2px;
        }

        footer.page-footer .center-align{
            display:flex;
            flex-direction:row;
            align-items:center;
            justify-content:space-around;
            gap:12px;
            padding:0 16px;
            flex-wrap:wrap;
        }

        .footer-logo{
            width:36px;
            height:36px;
            object-fit:contain;
            border-radius:8px;
        }

        .footer-title{
            color:#fff;
            font-weight:900;
            font-size:.88rem;
            text-align:center;
        }

        /* ── Sidenav / Menú lateral ── */
        .sidenav-copa{
            padding-top:0 !important;
            width:280px !important;
        }

        .sidenav-copa li{
            min-height:auto;
            line-height:normal;
        }

        .sidenav-header-copa{
            display:flex;
            align-items:center;
            gap:12px;
            padding:40px 18px 24px;
            background:linear-gradient(135deg, var(--everest-blue) 0%, #254f95 100%);
        }

        .sidenav-logo{
            width:44px;
            height:44px;
            object-fit:contain;
            border-radius:10px;
        }

        .sidenav-header-text{
            color:#fff;
        }

        .sidenav-header-text strong{
            display:block;
            font-size:1rem;
            font-weight:900;
            line-height:1.2;
        }

        .sidenav-header-text span{
            display:block;
            font-size:.82rem;
            opacity:.85;
            margin-top:2px;
        }

        .sidenav-divider{
            height:1px;
            background:#e8eef6;
            margin:8px 16px;
        }

        .sidenav-link-copa{
            display:flex !important;
            align-items:center;
            gap:14px;
            padding:14px 18px !important;
            color:var(--everest-blue) !important;
            font-weight:800 !important;
            font-size:.95rem !important;
            text-decoration:none;
            border-radius:12px;
            margin:2px 10px;
            transition:background .2s ease;
            height:auto !important;
            line-height:normal !important;
        }

        .sidenav-link-copa:hover,
        .sidenav-link-copa:focus{
            background:rgba(23,55,101,.08) !important;
        }

        .sidenav-link-copa i{
            width:36px;
            height:36px;
            min-width:36px;
            display:flex;
            align-items:center;
            justify-content:center;
            border-radius:10px;
            background:linear-gradient(135deg, var(--everest-blue), var(--everest-blue-2));
            color:#fff !important;
            font-size:1.15rem;
        }

        .sidenav-link-secondary{
            color:#7c8da5 !important;
            font-weight:700 !important;
            font-size:.88rem !important;
        }

        .sidenav-link-secondary i{
            background:rgba(23,55,101,.10);
            color:var(--everest-blue) !important;
        }

        /* ── Mapa ── */
        .map-panel{
            padding-bottom: 180px !important;
        }

        .map-banner{
            margin-bottom:18px;
        }

        .map-card{
            background:#fff;
            border-radius:20px;
            overflow:hidden;
            box-shadow:0 10px 24px rgba(18,38,63,.08);
            border:1px solid #e8eef6;
            margin:0 2px 18px;
        }

        .map-card-header{
            padding:16px;
        }

        .map-card-title{
            display:block;
            color:var(--everest-blue);
            font-size:1.05rem;
            font-weight:900;
        }

        .map-card-subtitle{
            display:block;
            color:#5b6b80;
            font-size:.88rem;
            margin-top:4px;
        }

        .map-frame-wrap{
            width:100%;
            background:#e8eef6;
        }

        .map-frame-wrap iframe{
            display:block;
            width:100%;
            height:350px;
            border:0;
        }

        .modal{
            border-radius:18px;
        }

        .whatsapp-float{
            position:fixed;
            right:14px;
            bottom:16px;
            z-index:999;
            width:56px;
            height:56px;
            border-radius:50%;
            background:#25d366;
            color:#fff;
            display:flex;
            align-items:center;
            justify-content:center;
            box-shadow:0 10px 24px rgba(0,0,0,.25);
            text-decoration:none;
        }

        .whatsapp-float i{
            font-size:1.7rem;
            line-height:1;
        }

        /* ── PWA Banner ── */
        #pwa-banner{
            display:none;
            position:fixed;
            bottom:0; left:0; right:0;
            background:#fff;
            border-top:4px solid var(--everest-orange);
            border-radius:20px 20px 0 0;
            box-shadow:0 -8px 30px rgba(0,0,0,.18);
            z-index:10000;
            padding:18px 20px 32px;
            font-family:'Roboto',sans-serif;
            animation: slideUp .35s ease;
        }

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

        #pwa-banner .pwa-row{
            display:flex;
            align-items:center;
            gap:14px;
            margin-bottom:14px;
        }

        #pwa-banner .pwa-icon{
            width:50px;
            height:50px;
            border-radius:12px;
            object-fit:contain;
            box-shadow:0 4px 12px rgba(23,55,101,.2);
        }

        #pwa-banner .pwa-texts .pwa-title{
            font-weight:900;
            font-size:1rem;
            color:var(--everest-blue);
        }

        #pwa-banner .pwa-texts .pwa-desc{
            font-size:.84rem;
            color:#516074;
            margin-top:3px;
            line-height:1.4;
        }

        #pwa-banner .pwa-actions{
            display:flex;
            gap:10px;
            justify-content:flex-end;
        }

        #pwa-banner .btn-later{
            background:none;
            border:1px solid #cbd5e1;
            border-radius:10px;
            padding:9px 18px;
            font-size:.9rem;
            color:#718096;
            cursor:pointer;
            font-weight:700;
            font-family:'Roboto',sans-serif;
        }

        #pwa-banner .btn-install{
            background:var(--everest-orange);
            border:none;
            border-radius:10px;
            padding:9px 22px;
            font-size:.9rem;
            color:#fff;
            cursor:pointer;
            font-weight:900;
            font-family:'Roboto',sans-serif;
            box-shadow:0 6px 16px rgba(244,106,31,.35);
        }

        /* ── Estilos de Social ── */
        .social-panel {
            padding-bottom: 150px;
        }

        .social-banner {
            margin-bottom: 18px;
        }

        .social-toolbar {
            margin: 0 2px 18px;
            display: flex;
            justify-content: flex-end;
        }

        .social-primary-btn {
            background: var(--everest-orange) !important;
            color: #fff !important;
            border-radius: 12px;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(244,106,31,.3);
            text-transform: none;
            letter-spacing: 0.5px;
            display: inline-flex;
            align-items: center;
        }

        .social-primary-btn i {
            margin-right: 8px;
        }

        .social-secondary-btn {
            background: var(--everest-blue) !important;
            color: #fff !important;
            border-radius: 12px;
            text-transform: none;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .social-upload-card {
            background: #fff;
            border-radius: 20px;
            padding: 16px;
            margin: 0 2px 20px;
            box-shadow: 0 10px 24px rgba(18,38,63,.08);
            border: 1px solid #e8eef6;
        }

        .social-card-header {
            margin-bottom: 16px;
        }

        .social-card-title {
            display: block;
            color: var(--everest-blue);
            font-size: 1.1rem;
            font-weight: 900;
        }

        .social-card-subtitle {
            display: block;
            color: #5b6b80;
            font-size: 0.88rem;
            margin-top: 4px;
        }

        .social-input-field {
            margin-bottom: 12px;
        }

        .social-input-field input, .social-input-field textarea {
            border-radius: 12px !important;
            border: 1px solid #dde6f1 !important;
            padding: 12px 16px !important;
            box-sizing: border-box;
            width: 100%;
            background: #f9fafb !important;
            box-shadow: inset 0 2px 4px rgba(0,0,0,.02) !important;
            color: var(--everest-blue);
            font-family: 'Roboto', sans-serif;
            min-height: unset !important;
        }
        
        .social-input-field .file-field .btn {
            line-height: normal;
        }

        .social-input-field textarea {
            min-height: 80px !important;
            resize: vertical;
        }

        .social-input-field input:focus, .social-input-field textarea:focus {
            border-color: rgba(23,55,101,.35) !important;
            box-shadow: 0 4px 10px rgba(18,38,63,.06) !important;
            background: #fff !important;
        }

        .social-wall {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin: 0 2px;
        }

        .category-empty {
            text-align: center;
            padding: 30px;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 10px 24px rgba(18,38,63,.08);
            border: 1px solid #e8eef6;
            margin: 0 2px 18px;
        }

        .category-empty .category-card-title {
            display: block;
            color: var(--everest-blue);
            font-size: 1.1rem;
            font-weight: 900;
            margin-bottom: 6px;
        }

        .category-empty .category-card-subtitle {
            color: #5b6b80;
            font-size: 0.9rem;
        }

        .social-post-card {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 24px rgba(18,38,63,.08);
            border: 1px solid #e8eef6;
        }

        .social-post-image-wrap {
            width: 100%;
            background: #f4f4f4;
            position: relative;
        }

        .social-post-image {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            max-height: 500px;
        }

        .social-post-content {
            padding: 16px;
        }

        .social-post-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .social-post-author {
            font-weight: 900;
            color: var(--everest-blue);
            font-size: 0.95rem;
        }

        .social-post-date {
            color: #7c8da5;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .social-post-description {
            color: #475569;
            font-size: 0.92rem;
            line-height: 1.5;
            margin: 0 0 16px 0;
        }

        .social-post-stats {
            display: flex;
            gap: 16px;
            border-top: 1px solid #e8eef6;
            padding-top: 14px;
        }

        .social-stat {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #516074;
            font-size: 0.85rem;
            font-weight: bold;
        }

        .social-stat i {
            font-size: 1.1rem;
            color: #a3b1c6;
        }

        .social-post-actions {
            display: flex;
            justify-content: space-between;
            padding: 12px 16px;
            background: #fcfcfd;
            border-top: 1px solid #e8eef6;
        }

        .social-action-link {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #5b6b80;
            font-weight: bold;
            font-size: 0.9rem;
            text-decoration: none;
            transition: color 0.2s ease;
            cursor: pointer;
        }

        .social-action-link:hover {
            color: var(--everest-blue);
        }

        .social-action-link.liked {
            color: var(--everest-red) !important;
        }

        .social-action-link.liked i {
            color: var(--everest-red) !important;
        }

        .social-comment-form {
            padding: 16px;
            background: #fff;
            border-top: 1px solid #e8eef6;
        }

        .social-comments {
            padding: 16px;
            background: #f8fafc;
            border-top: 1px solid #e8eef6;
        }

        .social-comment-item {
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #e2e8f0;
        }

        .social-comment-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .social-comment-item strong {
            display: block;
            color: var(--everest-blue);
            font-size: 0.9rem;
            margin-bottom: 2px;
            font-weight: 900;
        }

        .social-comment-item p {
            margin: 0 0 6px 0;
            color: #475569;
            font-size: 0.88rem;
            line-height: 1.4;
        }

        .social-comment-item small {
            color: #94a3b8;
            font-size: 0.75rem;
            font-weight: bold;
        }

        .social-comment-empty {
            color: #64748b;
            font-size: 0.9rem;
            text-align: center;
            padding: 10px 0;
            font-weight: bold;
        }

        /* ── Roles por Día ── */
        .roles-dia-panel {
            /* hereda padding-bottom de .content-panel */
        }

        .roles-dia-banner {
            margin-bottom: 18px;
        }

        .roles-dia-filter {
            margin: 0 2px 16px;
        }

        .roles-dia-filter-label {
            display: flex;
            align-items: center;
            gap: 6px;
            color: var(--everest-blue);
            font-size: 0.88rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            margin-bottom: 8px;
        }

        .roles-dia-selects {
            display: flex;
            gap: 10px;
        }

        .roles-dia-select {
            display: block !important;
            flex: 1;
            height: 48px;
            padding: 0 14px;
            border-radius: 14px;
            border: 1px solid #dde6f1;
            background: #fff;
            color: var(--everest-blue);
            font-size: 0.95rem;
            font-weight: 700;
            font-family: 'Roboto', sans-serif;
            box-shadow: 0 6px 14px rgba(18,38,63,.06);
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23173765'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            cursor: pointer;
        }

        .roles-dia-select:focus {
            outline: none;
            border-color: rgba(23,55,101,.35);
            box-shadow: 0 8px 18px rgba(18,38,63,.10);
        }

        .roles-dia-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 0 2px;
        }

        .roles-dia-loading {
            text-align: center;
            padding: 24px 0;
        }

        .role-badge-loading {
            display: inline-block;
            padding: 8px 20px;
            border-radius: 999px;
            background: rgba(23,55,101,.10);
            color: var(--everest-blue);
            font-weight: 900;
            font-size: 0.9rem;
            animation: pulse 1.2s ease-in-out infinite;
        }

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

        .roles-dia-card {
            background: #fff;
            border-radius: 18px;
            padding: 14px 16px;
            box-shadow: 0 8px 20px rgba(18,38,63,.07);
            border: 1px solid #e8eef6;
            border-left: 5px solid var(--everest-blue);
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .roles-dia-card-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .roles-dia-hora {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: rgba(23,55,101,.10);
            color: var(--everest-blue);
            font-size: 0.82rem;
            font-weight: 900;
            border-radius: 999px;
            padding: 3px 10px;
        }

        .roles-dia-cancha {
            font-size: 0.82rem;
            color: #7c8da5;
            font-weight: 700;
        }

        .roles-dia-equipos {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 4px;
        }

        .roles-dia-equipo {
            flex: 1 1 0;
            min-width: 0;
            text-align: center;
            color: var(--everest-blue);
            font-weight: 800;
            font-size: 0.85rem;
            line-height: 1.3;
            word-break: break-word;
        }

        .roles-dia-equipo strong {
            display: block;
            font-size: 1.1rem;
            color: var(--everest-red);
            margin-bottom: 2px;
        }

        .roles-dia-equipo small {
            display: block;
            font-size: 0.72rem;
            color: #7c8da5;
            font-weight: 700;
        }

        .roles-dia-vs {
            flex-shrink: 0;
            background: var(--everest-orange);
            color: #fff;
            font-weight: 900;
            font-size: 0.78rem;
            border-radius: 999px;
            padding: 3px 10px;
        }

        .roles-dia-categoria {
            font-size: 0.82rem;
            color: #94a3b8;
            margin-top: 2px;
            font-weight: 700;
        }

        @media only screen and (max-width: 360px){
            .hero-title h1{ font-size:2.5rem; }
            .hero-title .mini{ font-size:1rem; }
            .brand-logo{ font-size:1rem !important; }
            .menu-info .title{ font-size:1rem; }
            .menu-info p{ font-size:.85rem; }
            .hero-badge{ font-size:1.02rem; padding:10px 16px; }
        }

        @media only screen and (min-width: 768px){
            .nav-wrapper,
            .hero,
            .content-panel{ width:min(92%, 760px); }
            .hero{ padding:20px 22px; }
            .menu-list{ gap:12px; }
            .menu-card{ padding:12px; }
            .sports-grid{
                display:grid;
                grid-template-columns:repeat(2, minmax(0, 1fr));
            }
            .category-grid{
                display:grid;
                grid-template-columns:repeat(2, minmax(0, 1fr));
            }
            .roles-cards{
                display:grid;
                grid-template-columns:repeat(2, minmax(0, 1fr));
            }
            .roster-grid{
                display:grid;
                grid-template-columns:repeat(2, minmax(0, 1fr));
            }
            .whatsapp-float{ right:22px; bottom:22px; }
        }

        @media only screen and (min-width: 1200px){
            .nav-wrapper,
            .hero,
            .content-panel{ width:min(88%, 860px); }
            .hero-title h1{ font-size:3.4rem; }
            .hero-title p{ font-size:.85rem; }
            .menu-icon-wrap{ width:52px; height:52px; min-width:52px; }
            .menu-icon-wrap img{ width:28px; height:28px; }
        }
