/* =====================================================
   VALLA MENOS VENCIDA V2.7 · CRISTAL MUNICIPAL
   Solo afecta la vista pública de Valla
   ===================================================== */

html body .public .lc-defense-v27 {
    --df-blue: #10244d;
    --df-muted: #344b70;
    color: #10244d;
    background: transparent !important;
}

/* Encabezado y textos sobre el estadio */
html body .public .lc-defense-header h2 {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,15,65,.35);
}

html body .public .lc-defense-header p {
    color: #ffe000 !important;
}

html body .public .lc-defense-header > div > span {
    color: #ffffff !important;
}

html body .public .lc-defense-count {
    background: rgba(255,255,255,.88) !important;
    color: #10244d !important;
    border: 1px solid rgba(255,255,255,.45);
}

/* Premio principal: azul translúcido */
html body .public .lc-defense-hero {
    background: rgba(10,25,85,.86) !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

html body .public .lc-defense-hero h3,
html body .public .lc-defense-leader .team-cell,
html body .public .lc-defense-leader .team-cell-name {
    color: #ffffff !important;
}

html body .public .lc-defense-hero p,
html body .public .lc-defense-hero-number span {
    color: #e1e9ff !important;
}

html body .public .lc-defense-kicker,
html body .public .lc-defense-hero-number strong {
    color: #ffe000 !important;
}

/* Cristal en los equipos líderes y el número principal */
html body .public .lc-defense-leader,
html body .public .lc-defense-hero-number {
    background: rgba(255,255,255,.10) !important;
    background-image: none !important;
    border-color: rgba(255,255,255,.25) !important;
}

/* Tarjetas de métricas */
html body .public .lc-defense-metric {
    background: rgba(255,255,255,.65) !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0,15,65,.10);
}

html body .public .lc-defense-metric strong,
html body .public .lc-defense-metric span,
html body .public .lc-defense-metric small {
    color: #10244d !important;
}

/* Contenedor de clasificación */
html body .public .lc-defense-list {
    background: rgba(255,255,255,.10) !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,.45) !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

html body .public .lc-defense-list-head {
    background: rgba(255,255,255,.65) !important;
    color: #10244d !important;
}

html body .public .lc-defense-list-head h3,
html body .public .lc-defense-list-head p,
html body .public .lc-defense-list-head > span {
    color: #10244d !important;
}

/* Quitar fondos sólidos de las capas de la tabla */
html body .public .lc-defense-scroll,
html body .public .lc-defense-table,
html body .public .lc-defense-table thead,
html body .public .lc-defense-table tbody,
html body .public .lc-defense-table tr {
    background: transparent !important;
    background-image: none !important;
}

/* Encabezado amarillo */
html body .public .lc-defense-table thead th {
    background: rgba(255,225,0,.90) !important;
    background-image: none !important;
    color: #10244d !important;
    border-color: rgba(16,36,77,.12) !important;
}

/* Todas las filas, incluido el líder */
html body .public .lc-defense-table tbody td,
html body .public .lc-defense-table tbody tr.is-leader td {
    background: rgba(255,255,255,.65) !important;
    background-image: none !important;
    color: #10244d !important;
    border-bottom: 1px solid rgba(255,255,255,.55) !important;
}

/* Hover sin cambiar a azul o amarillo sólido */
html body .public .lc-defense-table tbody tr:hover td,
html body .public .lc-defense-table tbody tr.is-leader:hover td {
    background: rgba(255,255,255,.76) !important;
}

/* Nombres y estadísticas */
html body .public .lc-defense-table .team-cell,
html body .public .lc-defense-table .team-cell-name,
html body .public .lc-defense-table .lc-defense-num {
    color: #10244d !important;
}

/* Cápsula de goles recibidos */
html body .public .lc-defense-goals {
    background: rgba(255,255,255,.85) !important;
    color: #0001c5 !important;
}

/* Conservar el distintivo del primer lugar */
html body .public .lc-defense-rank.is-first {
    background: #ffdc61 !important;
    color: #654500 !important;
}

/* Pie de clasificación */
html body .public .lc-defense-footer {
    background: rgba(255,255,255,.65) !important;
    color: #10244d !important;
}

/* Mensaje cuando todavía no hay partidos */
html body .public .lc-defense-empty {
    background: rgba(255,255,255,.65) !important;
    border-color: rgba(255,255,255,.55) !important;
}

html body .public .lc-defense-empty strong,
html body .public .lc-defense-empty p {
    color: #10244d !important;
}
