/* Encabezado igual en todas las páginas, sesión como píldora y detalles de pulido (igual que SIC, con los colores del club). */
html body header.sic-header{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:10px!important;text-align:center!important;padding:22px 16px 20px!important;margin:0!important}
html body header.sic-header,html body header.sic-header *{font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important}
html body header.sic-header>img{display:block!important;width:auto!important;height:62px!important;margin:0 auto 2px!important;padding:0!important;background:none!important;border-radius:0!important;box-shadow:none!important;object-fit:contain}
html body header.sic-header>strong,html body header.sic-header>div>strong{display:block!important;font-size:19px!important;font-weight:700!important;letter-spacing:-.2px!important;text-transform:none!important;margin:0!important}
html body header.sic-header>div{text-align:center!important}
html body header.sic-header>div>small{display:block;margin-top:3px;font-size:10px!important;letter-spacing:2px!important}
html body header.sic-header .club-nav{margin:4px auto 0!important}
html body header.sic-header #acceso-club{margin:6px auto 0!important}
html body:has(>header.sic-header){margin:0!important}
html[data-club-auth="signed-in"] body #acceso-club{display:flex!important;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;width:fit-content;max-width:100%;box-sizing:border-box;padding:6px 6px 6px 16px!important;border-radius:999px!important;font:13px system-ui!important;visibility:visible}
html[data-club-auth="signed-in"] body #acceso-club p{margin:0!important;font-size:13px!important}
html[data-club-auth="signed-in"] body #acceso-club>button{padding:7px 14px!important;border-radius:999px!important;background:transparent!important;font:600 13px system-ui!important;cursor:pointer;white-space:nowrap;box-shadow:none!important}
@media(max-width:650px){html[data-club-auth="signed-in"] body #acceso-club{border-radius:14px!important;padding:8px 8px 8px 14px!important}}
html body header.sic-header{background:#fff!important;color:var(--ev-azul-hondo)!important;border:0!important;border-top:3px solid var(--ev-dorado)!important;border-bottom:1px solid var(--ev-borde)!important;box-shadow:0 6px 20px #0000000d!important}
  html body header.sic-header>strong,html body header.sic-header>div>strong{color:var(--ev-azul)!important}
  html body header.sic-header>div>small{color:var(--ev-dorado-texto)!important}
  html body header.sic-header>img{filter:none}
  html[data-club-auth="signed-in"] body #acceso-club{background:var(--ev-fondo)!important;border:1px solid var(--ev-borde)!important;color:var(--ev-azul-hondo)!important}
  html[data-club-auth="signed-in"] body #acceso-club p{color:var(--ev-azul-hondo)!important}
  html[data-club-auth="signed-in"] body #acceso-club>button{border:1px solid var(--ev-azul)!important;color:var(--ev-azul)!important}
  html[data-club-auth="signed-in"] body #acceso-club>button:hover{background:var(--ev-azul)!important;color:#fff!important}
/* Plantel: el encabezado nuevo reemplaza a la barra vieja, al encabezado interno y a la fila de secciones grises. */
html body>nav.nav-vieja{display:none!important}
html body #sic-roster>header,html body #sic-roster>nav{display:none!important}
html body #sic-roster{margin:24px auto!important;max-width:1100px}
/* Detalles. */
html body #status:empty{display:none!important}
html body main>a:first-child{display:block!important;width:fit-content;margin:0 0 10px!important;font-size:13px!important;font-weight:600!important;color:#5d7891!important;text-decoration:none!important}
html body main>a:first-child:hover{text-decoration:underline!important}
/* Inicio: tarjetas con el mismo estilo que las tarjetas de equipo. */
html body main>.grid#equipos>a.card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:190px;padding:24px 24px 26px!important;border:1px solid #2a3294!important;border-top:3px solid var(--ev-dorado)!important;border-radius:14px;background:linear-gradient(135deg,#1a2390,#0d1356)!important;box-shadow:0 8px 20px #0000002a;color:#fff!important;text-decoration:none;overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}
html body main>.grid#equipos>a.card .number{font-size:10px!important;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#f2d48a!important}
html body main>.grid#equipos>a.card h2{font-size:28px!important;font-weight:700;letter-spacing:-.6px;line-height:1.2;margin:10px 0!important;color:#fff!important;padding-right:44px}
html body main>.grid#equipos>a.card p{font-size:14px;line-height:1.5;margin:0 0 18px!important;color:#d6d9f2!important;padding-right:44px}
html body main>.grid#equipos>a.card span{margin-top:auto;font-size:12px!important;font-weight:600;color:#d6d9f2!important}
html body main>.grid#equipos>a.card::after{content:'↗';position:absolute;right:20px;bottom:20px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #5a62c4;border-radius:50%;color:#fff;font-size:20px;background:#ffffff09}
html body main>.grid#equipos>a.card:hover{transform:translateY(-4px);border-color:#f2d48a!important;box-shadow:0 13px 26px #00000040;background:linear-gradient(135deg,#222ca6,#121a66)!important}
@media(prefers-reduced-motion:reduce){html body main>.grid#equipos>a.card{transition:none}html body main>.grid#equipos>a.card:hover{transform:none}}


/* Botones de eliminar / borrar / quitar: siempre en rojo, en todas las páginas */
html body :is(.btn-rojo,.danger,.btn-borrar,.cut-borrar,.tl-borrar,.vt-borrar,.vb-borrar,[data-action="delete"],[data-borrar-boton],#delete,#deleteImported,#match-delete,#playlist [data-remove]){background:#c62828!important;border:1px solid #a51f1f!important;color:#fff!important;font-weight:700}
html body :is(.btn-rojo,.danger,.btn-borrar,.cut-borrar,.tl-borrar,.vt-borrar,.vb-borrar,[data-action="delete"],[data-borrar-boton],#delete,#deleteImported,#match-delete,#playlist [data-remove]):hover:not(:disabled){background:#9f1d1d!important;border-color:#7f1515!important;color:#fff!important}
html body :is(.btn-rojo,.danger,.btn-borrar,.cut-borrar,.tl-borrar,.vt-borrar,.vb-borrar,[data-action="delete"],[data-borrar-boton],#delete,#deleteImported,#match-delete,#playlist [data-remove]):disabled{opacity:.55}
html body .btn-chico{font-weight:400!important}
