/* Web de la redacción (artículos que lee Google): misma marca que la app, lima y negro, cabecera oscura. */
:root { --fondo: #f4f5f2; --tarjeta: #fff; --texto: #14161b; --suave: #5d6168; --linea: #e3e5e0; --marca: #d7ff3a; --oscuro: #0e0f11; }
@media (prefers-color-scheme: dark) { :root { --fondo: #0e0f11; --tarjeta: #17191d; --texto: #f2f2ee; --suave: #a3a6ad; --linea: #26292e; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--fondo); color: var(--texto); font-family: 'Inter Tight', system-ui, sans-serif; line-height: 1.6; -webkit-text-size-adjust: 100%; }
a { color: inherit; }
.w-barra { position: sticky; top: 0; z-index: 5; background: var(--oscuro); border-bottom: 3px solid var(--marca); }
.w-barra-in { display: flex; align-items: center; gap: 22px; max-width: 1280px; margin: 0 auto; padding: 10px 20px; }
.w-menu { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.w-menu a { padding: 8px 12px; border-radius: 10px; color: #c9ccd2; font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.w-menu a:hover { color: #fff; background: rgba(255,255,255,.07); }
.w-marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: 'Saira Condensed', sans-serif; font-size: 24px; font-weight: 800; }
.w-marca b { color: var(--marca); }
.w-app { padding: 8px 14px; border-radius: 999px; background: var(--marca); color: #121417; font-weight: 800; font-size: 14px; text-decoration: none; }
.w-main { max-width: 720px; margin: 0 auto; padding: 20px 16px 40px; }
.w-main.ancho { max-width: 1280px; padding: 18px 20px 40px; }
.w-titulo { font-family: 'Saira Condensed', sans-serif; font-size: 40px; line-height: 1; margin: 6px 0 18px; }
.w-lista { display: grid; gap: 10px; }
.w-item { display: block; padding: 14px 16px; border-radius: 16px; background: var(--tarjeta); text-decoration: none; }
.w-item small { color: var(--suave); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.w-item b { display: block; margin: 4px 0; font-size: 18px; line-height: 1.3; }
.w-item span { color: var(--suave); font-size: 14.5px; }
.w-art { background: var(--tarjeta); border-radius: 20px; padding: 22px 20px 26px; }
.w-seccion { margin: 0; color: var(--suave); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.w-rumor { padding: 1px 8px; border-radius: 999px; background: var(--marca); color: #121417; }
.w-art h1 { font-family: 'Saira Condensed', sans-serif; font-size: 36px; line-height: 1.05; margin: 8px 0 10px; text-wrap: balance; }
.w-bajada { font-size: 18px; line-height: 1.5; color: var(--suave); margin: 0 0 10px; }
.w-meta { font-size: 13px; color: var(--suave); margin: 0 0 14px; }
.w-eqs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.w-eq { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--fondo); text-decoration: none; font-weight: 700; font-size: 14px; }
.w-eq img { object-fit: contain; }
.w-texto { font-family: 'Inter Tight', Georgia, serif; font-size: 17.5px; }
.w-texto p { margin: 0 0 16px; }
.w-texto h2 { font-family: 'Saira Condensed', sans-serif; font-size: 26px; margin: 26px 0 8px; }
.w-fuentes { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--linea); font-size: 14px; color: var(--suave); }
.w-boton { display: block; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--oscuro); color: #fff; text-align: center; font-weight: 800; text-decoration: none; border: 2px solid var(--marca); }
.w-anuncio { margin: 18px 0; min-height: 100px; }
.w-pie { max-width: 1280px; margin: 0 auto; padding: 0 16px 40px; text-align: center; color: var(--suave); font-size: 13.5px; }

/* ---------- franja de partidos en vivo ---------- */
.w-cinta { background: #17191d; border-bottom: 1px solid #26292e; }
.w-cinta-in { display: flex; align-items: stretch; gap: 8px; max-width: 1280px; margin: 0 auto; padding: 8px 20px; overflow-x: auto; scrollbar-width: none; }
.w-cinta-tit { display: flex; align-items: center; gap: 6px; padding-right: 6px; color: #ff5a63; font-family: 'Saira Condensed', sans-serif; font-weight: 800; font-size: 15px; white-space: nowrap; }
.w-cinta-tit i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b45; animation: w-late 1.4s infinite; }
@keyframes w-late { 50% { opacity: .3; } }
.w-chip { flex: none; display: grid; gap: 2px; min-width: 150px; padding: 6px 10px; border-radius: 10px; background: #22252a; color: #f2f2ee; text-decoration: none; font-size: 12.5px; }
.w-chip small { color: #ff6b73; font-weight: 800; font-size: 11px; }
.w-chip span { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 6px; }
.w-chip img { width: 18px; height: 18px; object-fit: contain; }
.w-chip b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-chip em { font-style: normal; font-weight: 800; color: var(--marca); }

/* ---------- inicio en 3 columnas ---------- */
.w-inicio { display: grid; grid-template-columns: 340px minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.w-col { display: grid; gap: 16px; min-width: 0; }
.w-izq { position: sticky; top: 76px; max-height: calc(100vh - 90px); overflow: auto; scrollbar-width: thin; }
.w-caja { background: var(--tarjeta); border-radius: 18px; padding: 14px 16px; box-shadow: 0 1px 0 var(--linea); }
.w-caja-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.w-caja-cab h2 { margin: 0; font-family: 'Saira Condensed', sans-serif; font-size: 22px; }
.w-caja-cab a, .w-caja-cab small { color: var(--suave); font-size: 13px; font-weight: 700; text-decoration: none; }
.w-pestanas { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 10px; }
.w-caja-cab .w-pestanas { margin: 0; }
.w-pestanas button { flex: none; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--fondo); color: var(--texto); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.w-pestanas button.activo { background: var(--oscuro); color: var(--marca); }
.w-cargando { color: var(--suave); font-size: 14px; margin: 8px 0; }
.w-ver { display: block; margin-top: 10px; color: var(--suave); font-size: 13.5px; font-weight: 700; text-align: center; text-decoration: none; }
.w-ver:hover { color: var(--texto); }
.w-liga { margin-bottom: 8px; }
.w-liga-cab { display: flex; align-items: baseline; gap: 6px; padding: 8px 2px 6px; border-bottom: 1px solid var(--linea); text-decoration: none; }
.w-liga-cab b { font-size: 13.5px; }
.w-liga-cab small { color: var(--suave); font-size: 12px; }
.w-partido { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 8px; padding: 8px 2px; border-bottom: 1px solid var(--linea); text-decoration: none; font-size: 14px; }
.w-partido:hover { background: var(--fondo); }
.w-min { color: var(--suave); font-size: 12.5px; font-weight: 700; text-align: center; }
.w-partido.vivo .w-min { color: #e23c45; }
.w-eqs-col { display: grid; gap: 4px; min-width: 0; }
.w-eqs-col span { display: flex; align-items: center; gap: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-eqs-col img, .w-sin-escudo { width: 18px; height: 18px; object-fit: contain; flex: none; }
.w-sin-escudo { display: inline-block; border-radius: 50%; background: var(--linea); }
.w-goles { display: grid; gap: 4px; text-align: right; font-weight: 800; }
.w-partido.vivo .w-goles { color: #e23c45; }
.w-nota { display: grid; grid-template-rows: 120px auto; border-radius: 16px; overflow: hidden; background: var(--tarjeta); text-decoration: none; box-shadow: 0 1px 0 var(--linea); }
.w-nota-portada { display: flex; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at 30% 20%, #2a2f12, #0e0f11 70%); color: var(--marca); font-family: 'Saira Condensed', sans-serif; font-size: 22px; font-weight: 800; }
.w-nota-portada img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.w-nota-texto { padding: 12px 14px 14px; }
.w-nota-texto small { color: var(--suave); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.w-nota-texto b { display: block; margin-top: 4px; font-size: 16px; line-height: 1.3; }
.w-nota-texto span { display: block; margin-top: 6px; color: var(--suave); font-size: 15px; line-height: 1.5; }
.w-nota.grande { grid-template-rows: 240px auto; }
.w-nota.grande .w-nota-portada img { width: 110px; height: 110px; }
.w-nota.grande .w-nota-portada { font-size: 40px; gap: 28px; }
.w-nota.grande b { font-family: 'Saira Condensed', sans-serif; font-size: 32px; line-height: 1.05; }
.w-notas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.w-destacado { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 8px 0 14px; text-decoration: none; }
.w-dest-eq { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 15px; }
.w-dest-eq img { width: 56px; height: 56px; }
.w-dest-centro { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.w-dest-marcador, .w-dest-hora { font-family: 'Saira Condensed', sans-serif; font-size: 40px; line-height: 1; }
.w-dest-centro small { color: var(--suave); font-weight: 700; }
.w-dest-centro small.vivo { color: #e23c45; }
.w-prob { display: flex; gap: 3px; height: 8px; border-radius: 6px; overflow: hidden; }
.w-prob div:nth-child(1) { background: var(--marca); } .w-prob div:nth-child(2) { background: #8b8f96; } .w-prob div:nth-child(3) { background: #3b82f6; }
.w-prob-ley { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--suave); }
.w-prob-ley b { color: var(--texto); }
.w-tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.w-tabla th { color: var(--suave); font-size: 12px; font-weight: 700; padding: 6px 4px; text-align: center; }
.w-tabla td { padding: 7px 4px; border-top: 1px solid var(--linea); text-align: center; }
.w-tabla .izq { text-align: left; }
.w-tabla td.izq a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.w-tabla img { width: 20px; height: 20px; object-fit: contain; }
.w-tabla .forma i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin: 0 1px; border-radius: 5px; font-style: normal; font-size: 10px; font-weight: 800; color: #fff; }
.w-tabla .forma .fG { background: #1f9d55; } .w-tabla .forma .fE { background: #8b8f96; } .w-tabla .forma .fP { background: #e23c45; }
.w-goleador { display: grid; grid-template-columns: 18px 34px 1fr auto; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--linea); }
.w-goleador span { color: var(--suave); font-weight: 800; font-size: 13px; }
.w-goleador img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--fondo); }
.w-goleador b { display: block; font-size: 14px; }
.w-goleador small { color: var(--suave); font-size: 12px; }
.w-goleador em { font-style: normal; font-family: 'Saira Condensed', sans-serif; font-size: 22px; font-weight: 800; }
.w-app-caja { display: flex; gap: 12px; background: var(--oscuro); color: #fff; }
.w-app-caja p { margin: 4px 0 10px; color: #c9ccd2; font-size: 13.5px; line-height: 1.45; }
.w-app-caja .w-app { display: inline-block; }
.w-pub { min-height: 250px; display: grid; place-items: center; }
.w-pub-vacia { border: 2px dashed var(--linea); background: transparent; box-shadow: none; color: var(--suave); }
.w-semana-l { display: flex; justify-content: space-around; margin: 8px 0; }
.w-semana-l span { position: relative; display: flex; flex-direction: column; align-items: center; width: 25%; font-size: 11px; text-align: center; }
.w-semana-l img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--fondo); }
.w-semana-l em { position: absolute; top: -4px; right: 6px; padding: 0 4px; border-radius: 5px; background: var(--marca); color: #121417; font-style: normal; font-weight: 800; font-size: 10px; }
.w-semana-l b { margin-top: 3px; font-weight: 700; }
.w-vacio p { color: var(--suave); }

/* Tablet: dos columnas (la derecha baja). Celular: una sola. */
@media (max-width: 1100px) { .w-inicio { grid-template-columns: 320px minmax(0, 1fr); } .w-der { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (max-width: 760px) {
  .w-inicio { grid-template-columns: 1fr; }
  .w-izq { position: static; max-height: none; }
  .w-menu { display: none; }
  .w-barra-in, .w-cinta-in, .w-main.ancho { padding-left: 16px; padding-right: 16px; }
  .w-notas { grid-template-columns: 1fr; }
  .w-nota.grande { grid-template-rows: 180px auto; }
  .w-nota.grande b { font-size: 26px; }
  .w-tabla .forma { display: none; }
}
/* Que nada de adentro (pestañas, equipo de la semana) ensanche las columnas. */
.w-col > *, .w-caja { min-width: 0; }
.w-caja { overflow: hidden; }
/* ---------- portada fija (Cloudflare): sin en vivo ---------- */
.w-inicio.fija { grid-template-columns: minmax(0, 1fr) 360px; }
.w-vivo-app { color: var(--suave); font-size: 12px; font-weight: 700; white-space: nowrap; }
.w-partido:hover .w-vivo-app { color: var(--texto); }
.w-dia-mini { margin-top: 8px; color: var(--suave); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; }
.w-boton-app { display: block; margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--oscuro); color: #fff; text-align: center; font-weight: 800; text-decoration: none; border: 2px solid var(--marca); }
.w-destacado-fijo .w-dest-eq img { width: 64px; height: 64px; object-fit: contain; }
.w-tabla-pais h3 { margin: 14px 0 6px; font-family: 'Saira Condensed', sans-serif; font-size: 18px; }
.w-actualizado { text-align: center; color: var(--suave); font-size: 12.5px; margin: 18px 0 0; }
@media (max-width: 1100px) { .w-inicio.fija { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 760px) { .w-inicio.fija { grid-template-columns: 1fr; } .w-vivo-app { display: none; } }
/* Web sin conexión: franja de HOY y detalles. */
.w-cinta-tit.hoy { color: var(--marca); }
.w-chip small.gris { color: #a3a6ad; }
.w-tabla-eq { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.w-app-pagina { text-align: center; }
.w-app-pagina ul { text-align: left; max-width: 420px; margin: 16px auto; line-height: 1.8; }
/* ---------- página de partido terminado ---------- */
.p-partido { max-width: 760px; margin: 0 auto; }
.p-marcador { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 14px 0 6px; padding: 20px 12px; border-radius: 18px; background: var(--oscuro); color: #f2f2ee; border-bottom: 3px solid var(--marca); }
.p-eq { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 15px; }
.p-eq img { width: 64px; height: 64px; object-fit: contain; padding: 8px; box-sizing: content-box; border-radius: 50%; background: #f2f2ee; }
.p-res { display: grid; justify-items: center; }
.p-res b { font-family: 'Saira Condensed', sans-serif; font-size: 52px; line-height: 1; color: var(--marca); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-res small { color: #a3a6ad; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }
.p-goleadores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; color: var(--suave); }
.p-goleadores ul { list-style: none; margin: 0; padding: 0; } .p-goleadores ul.der { text-align: right; }
.p-goleadores li::before { content: '⚽ '; font-size: 11px; }
.p-partido .w-meta { text-align: center; margin-top: 10px; }
.p-partido .w-pestanas { margin: 6px 0 12px; }
.p-partido section { background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 16px; padding: 14px; }
.p-partido h3 { margin: 18px 0 8px; font-size: 15px; } .p-partido h4 { display: flex; align-items: center; gap: 6px; margin: 10px 0 6px; font-size: 13px; color: var(--suave); }
.p-suceso { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--linea); font-size: 14px; }
.p-suceso:last-child { border-bottom: 0; }
.p-suceso.der { flex-direction: row-reverse; text-align: right; }
.p-min { flex: none; min-width: 40px; font-weight: 800; color: var(--suave); font-variant-numeric: tabular-nums; }
.p-txt small { display: block; color: var(--suave); }
.p-txt em { font-style: normal; font-weight: 800; padding: 0 6px; border-radius: 6px; background: var(--marca); color: #121417; }
.p-est { padding: 8px 0; }
.p-est-num { display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; font-size: 14px; text-align: center; }
.p-est-num b:first-child { text-align: left; } .p-est-num b:last-child { text-align: right; } .p-est-num span { color: var(--suave); font-size: 13px; }
.p-est-barra { display: flex; gap: 4px; height: 6px; margin-top: 5px; }
.p-est-barra i { display: block; border-radius: 4px; background: var(--marca); min-width: 2px; } .p-est-barra i.v { background: #8b8f96; }
.p-cancha-cab { display: flex; justify-content: space-between; align-items: center; padding: 6px 2px; font-size: 14px; }
.p-cancha-cab b { display: flex; align-items: center; gap: 6px; } .p-cancha-cab small { color: var(--suave); font-weight: 800; }
.p-cancha { position: relative; aspect-ratio: 68 / 100; max-height: 760px; margin: 0 auto; border-radius: 14px; overflow: hidden;
  background: repeating-linear-gradient(0deg, #1f7a3a 0 8%, #23843f 8% 16%); }
.p-linea { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid rgba(255,255,255,.45); }
.p-circulo { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.45); border-radius: 50%; }
.p-area { position: absolute; left: 22%; right: 22%; height: 13%; border: 2px solid rgba(255,255,255,.45); }
.p-area.arriba { top: -2px; } .p-area.abajo { bottom: -2px; }
.p-jug { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; width: 72px; }
.p-cara { position: relative; width: 40px; height: 40px; }
.p-cara img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #e9ebe6; border: 2px solid #fff; }
.p-jug.mejor .p-cara img { border-color: var(--marca); }
.p-cara .p-nota { position: absolute; top: -6px; right: -16px; }
.p-marcas { position: absolute; bottom: -4px; left: -12px; font-size: 11px; }
.p-salio { position: absolute; bottom: -4px; right: -14px; padding: 0 3px; border-radius: 5px; background: rgba(0,0,0,.7); color: #ff9aa0; font-size: 10px; font-weight: 800; }
.p-nombre { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.p-nombre i { font-style: normal; opacity: .75; margin-right: 3px; }
.p-nota { display: inline-block; padding: 0 4px; border-radius: 5px; font-size: 10.5px; font-weight: 800; color: #fff; font-style: normal; font-variant-numeric: tabular-nums; }
.p-nota.n8 { background: #1d4ed8; } .p-nota.n7 { background: #a3e635; color: #121417; } .p-nota.n6 { background: #ca8a04; } .p-nota.n5 { background: #dc2626; }
.p-mvp { margin-top: 12px; padding: 8px 10px; border-radius: 12px; background: var(--oscuro); color: #f2f2ee; border-left: 4px solid var(--marca); }
.p-mvp .p-persona { border: 0; } .p-mvp small { color: var(--marca); }
.p-persona { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--linea); font-size: 14px; }
.p-persona img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #e9ebe6; flex: none; }
.p-persona div { flex: 1; min-width: 0; display: grid; } .p-persona small { color: var(--suave); }
.p-banco { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.p-banco span { display: grid; justify-items: center; gap: 3px; font-size: 12px; text-align: center; }
.p-banco img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #e9ebe6; }
.p-banco i { font-style: normal; color: var(--suave); font-size: 11px; } .p-banco b { font-weight: 600; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .p-res b { font-size: 40px; } .p-eq img { width: 48px; height: 48px; } .p-jug { width: 60px; } .p-cara, .p-cara img { width: 34px; height: 34px; } .p-nombre { font-size: 10px; max-width: 60px; } }
/* ---------- lupa y página de equipo ---------- */
.w-lupa { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #f2f2ee; cursor: pointer; transition: background .2s; }
.w-lupa:hover, .w-lupa[aria-expanded="true"] { background: var(--marca); color: #121417; }
.w-buscar { border-top: 1px solid #26292e; background: var(--oscuro); }
.w-buscar-in { max-width: 720px; margin: 0 auto; padding: 12px 16px 14px; }
.w-buscar input { width: 100%; box-sizing: border-box; padding: 12px 16px; border-radius: 12px; border: 2px solid var(--marca); background: #17191d; color: #f2f2ee; font: inherit; font-size: 16px; outline: none; }
.w-buscar-res { display: grid; margin-top: 8px; max-height: 60vh; overflow-y: auto; }
.w-buscar-res a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 10px; color: #f2f2ee; text-decoration: none; }
.w-buscar-res a:hover, .w-buscar-res a:focus { background: #22252a; }
.w-buscar-res img { width: 26px; height: 26px; object-fit: contain; }
.w-buscar-res span { display: grid; } .w-buscar-res small { color: #a3a6ad; }
.w-buscar-res p { margin: 8px; color: #a3a6ad; }
.w-tabla-eq { text-decoration: none; } a.w-tabla-eq:hover { text-decoration: underline; }
/* ---------- página de equipo (pantalla completa; en el celular se apila) ---------- */
.e-equipo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.e-portada { position: relative; overflow: hidden; border-radius: 20px; color: #f2f2ee; background: #0e0f11; border-bottom: 3px solid var(--marca); }
.e-portada::before { content: ''; position: absolute; inset: 0; background: var(--foto, none) center / cover no-repeat; opacity: .55; }
.e-portada::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,15,17,.96) 0%, rgba(14,15,17,.82) 45%, rgba(14,15,17,.55) 100%); }
.e-portada-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px 36px; min-height: 190px; }
.e-id { display: flex; align-items: center; gap: 26px; min-width: 0; }
.e-id > img { width: 104px; height: 104px; object-fit: contain; padding: 12px; border-radius: 26px; background: rgba(242,242,238,.96); flex: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.e-liga { display: flex; align-items: center; gap: 8px; margin: 0; color: #c9ccd2; font-weight: 700; font-size: 14px; }
.e-liga img { width: 18px; height: 18px; object-fit: contain; background: #f2f2ee; border-radius: 4px; padding: 1px; }
.e-id h1 { margin: 4px 0 12px; font-family: 'Saira Condensed', sans-serif; font-size: clamp(38px, 5vw, 64px); line-height: .95; letter-spacing: -.5px; color: #fff; text-wrap: balance; }
.e-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.e-chips > span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 14px; color: #e4e6e9; }
.e-chips b { color: var(--marca); font-size: 16px; }
.e-forma { gap: 4px !important; }
.e-sig { flex: none; width: 340px; padding: 16px 18px; border-radius: 16px; background: rgba(14,15,17,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.e-sig > small { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: #a3a6ad; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.e-sig .e-torneo { color: var(--marca); margin: 0; text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.e-sig-eqs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 12px 0 10px; text-align: center; }
.e-sig-eqs span { display: grid; justify-items: center; gap: 6px; font-size: 14px; }
.e-sig-eqs img { width: 46px; height: 46px; object-fit: contain; }
.e-sig-eqs em { font-style: normal; font-family: 'Saira Condensed', sans-serif; font-weight: 800; font-size: 20px; color: var(--marca); }
.e-sig p { margin: 0; text-align: center; font-size: 14px; color: #e4e6e9; } .e-sig p b { color: var(--marca); font-size: 18px; } .e-sig p small { color: #a3a6ad; text-transform: none; }
.e-numeros { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.e-numeros div { display: grid; justify-items: center; gap: 2px; padding: 14px 8px; border-radius: 14px; background: var(--tarjeta); border: 1px solid var(--linea); }
.e-numeros b { font-family: 'Saira Condensed', sans-serif; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.e-numeros small { color: var(--suave); font-size: 12.5px; font-weight: 600; text-align: center; }
.e-numeros div:last-child { background: var(--oscuro); border-color: var(--marca); } .e-numeros div:last-child b { color: var(--marca); } .e-numeros div:last-child small { color: #a3a6ad; }
.e-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.e-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.e-col > .w-caja { margin: 0; }
.e-p { display: grid; grid-template-columns: 54px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--linea); text-decoration: none; color: inherit; border-radius: 8px; transition: background .2s; }
.e-p:last-of-type { border-bottom: 0; }
a.e-p:hover { background: var(--fondo); }
.e-torneo { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--suave); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; }
.e-torneo img { width: 16px; height: 16px; object-fit: contain; }
.e-p-fecha { display: grid; justify-items: center; gap: 3px; } .e-p-fecha small { color: var(--suave); font-size: 11px; font-weight: 600; text-transform: capitalize; text-align: center; } .e-p-fecha b { font-size: 14px; }
.e-p-eqs { display: grid; gap: 5px; min-width: 0; font-size: 14.5px; }
.e-p-eqs span { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.e-p-eqs span.yo { font-weight: 800; }
.e-p-eqs img { width: 20px; height: 20px; object-fit: contain; flex: none; }
.e-p-goles { display: grid; gap: 5px; font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.e-res { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-style: normal; font-weight: 800; font-size: 12px; color: #fff; }
.e-res.g { background: #16a34a; } .e-res.e { background: #8b8f96; } .e-res.p { background: #dc2626; }
.e-notas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.e-notas:first-child { margin-top: 0; }
.e-nota { display: grid; grid-template-rows: auto 1fr; border-radius: 14px; overflow: hidden; background: var(--fondo); text-decoration: none; color: inherit; transition: transform .2s; }
.e-nota:hover { transform: translateY(-2px); }
.e-nota-foto { position: relative; display: block; aspect-ratio: 16 / 9; background: radial-gradient(circle at 30% 20%, #2a2f12, #0e0f11 70%); overflow: hidden; }
.e-nota-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.e-nota-foto em { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(14,15,17,.85); color: var(--marca); font-style: normal; font-weight: 800; font-size: 11.5px; }
.e-nota-txt { display: grid; align-content: space-between; gap: 8px; padding: 12px 14px 14px; }
.e-nota-txt b { font-size: 15.5px; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.e-nota-txt small { color: var(--suave); font-size: 12.5px; }
.e-nota.grande { grid-template-columns: 1.25fr 1fr; grid-template-rows: none; }
.e-nota.grande .e-nota-foto { aspect-ratio: auto; min-height: 240px; }
.e-nota.grande .e-nota-txt { align-content: center; padding: 22px; } .e-nota.grande b { font-size: 22px; -webkit-line-clamp: 5; font-family: 'Saira Condensed', sans-serif; line-height: 1.12; }
.e-notas .w-nota { background: var(--fondo); }
.e-aviso { margin: 14px 0 0; color: var(--suave); font-size: 12.5px; }
.e-puesto { margin: 16px 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--suave); }
.e-plantilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.e-jug { display: grid; justify-items: center; gap: 4px; padding: 12px 8px; border-radius: 12px; background: var(--fondo); text-align: center; }
.e-jug img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: #e9ebe6; }
.e-jug b { font-size: 13.5px; line-height: 1.2; } .e-jug small { color: var(--suave); font-size: 12px; }
.e-tabla tr.yo td { background: rgba(215,255,58,.28); font-weight: 800; }
.e-persona { display: flex; align-items: center; gap: 12px; padding: 4px 0 12px; border-bottom: 1px solid var(--linea); }
.e-persona img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #e9ebe6; flex: none; }
.e-persona div, .e-estadio div { display: grid; gap: 1px; } .e-persona small, .e-estadio small { color: var(--suave); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.e-persona span, .e-estadio span { color: var(--suave); font-size: 13.5px; }
.e-estadio { display: grid; gap: 10px; padding-top: 12px; }
.e-estadio img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #e9ebe6; }
.e-fundado { margin: 12px 0 0; color: var(--suave); font-size: 14px; } .e-fundado b { color: var(--texto); }
@media (max-width: 1180px) { .e-grid { grid-template-columns: 320px minmax(0, 1fr); } .e-grid > .e-col:last-child { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } .e-numeros { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) {
  .e-portada-in { flex-direction: column; align-items: stretch; padding: 22px 18px; }
  .e-sig { width: auto; }
  .e-id { gap: 16px; } .e-id > img { width: 72px; height: 72px; padding: 8px; border-radius: 18px; }
  .e-grid { grid-template-columns: minmax(0, 1fr); } .e-grid > .e-col:last-child { grid-template-columns: minmax(0, 1fr); }
  .e-centro { order: -1; }
  .e-numeros { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .e-numeros div { padding: 10px 4px; } .e-numeros small { font-size: 11px; }
  .e-numeros b { font-size: 24px; }
  .e-nota.grande { grid-template-columns: 1fr; } .e-nota.grande .e-nota-foto { min-height: 0; aspect-ratio: 16 / 9; } .e-nota.grande .e-nota-txt { padding: 14px; } .e-nota.grande b { font-size: 19px; }
}
@media (max-width: 520px) { .e-notas { grid-template-columns: 1fr; } .e-plantilla { grid-template-columns: repeat(3, 1fr); } }
.e-nota-escudos { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px; }
.e-nota-escudos img { position: static; inset: auto; width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.e-nota.grande .e-nota-escudos img { width: 104px; height: 104px; }
.e-nota-escudos i { font-style: normal; font-family: 'Saira Condensed', sans-serif; font-weight: 800; font-size: 26px; color: var(--marca); }
/* Partido en la computadora: los tres paneles a la vista (en el celular siguen las pestañas). */
.p-panel-tit { display: none; margin: 0 0 10px; font-family: 'Saira Condensed', sans-serif; font-size: 22px; }
.p-partido { max-width: 760px; }
@media (min-width: 1100px) {
  .p-partido { max-width: none; }
  .p-partido > .w-pestanas { display: none; }
  .p-paneles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; }
  .p-paneles > section { order: 1; } .p-paneles > section[data-l="alineacion"] { order: 2; } .p-paneles > section[data-l="estadisticas"] { order: 3; }
  .p-paneles > section[hidden] { display: block; }
  .p-panel-tit { display: block; }
  .p-marcador { padding: 28px 40px; } .p-eq img { width: 84px; height: 84px; } .p-res b { font-size: 72px; } .p-eq { font-size: 20px; }
  .p-goleadores { max-width: 900px; margin: 0 auto; }
  .p-partido > .w-boton { max-width: 520px; margin-left: auto; margin-right: auto; }
}
/* Partido: nombres bajo el escudo (enlazan al equipo), columna derecha con más resultados. */
.p-eq a { display: grid; justify-items: center; gap: 8px; color: inherit; text-decoration: none; }
.p-eq a:hover b { color: var(--marca); }
.p-col3 > .w-caja, .p-col3 > section { margin-top: 18px; }
.p-otros .w-partido { color: inherit; }
@media (min-width: 1100px) {
  .p-paneles > .p-col3 { order: 3; display: grid; gap: 18px; }
  .p-col3 > .w-caja, .p-col3 > section { margin-top: 0; }
  .p-cancha { aspect-ratio: 60 / 100; max-height: none; }
}
.p-partido .w-app-caja { background: var(--oscuro); border-color: var(--oscuro); color: #fff; }
@media (min-width: 1100px) { .p-col3 > section[hidden] { display: block; } }
@media (max-width: 860px) { .e-sig-eqs b { font-size: 13px; overflow-wrap: anywhere; } .e-chips > span { font-size: 13px; padding: 5px 10px; } }
.w-app { white-space: nowrap; }
@media (max-width: 520px) { .w-barra-in { gap: 10px; } .w-barra .w-app { padding: 8px 12px; font-size: 13px; } .w-marca img { width: 30px; height: 30px; } }
/* Menú de torneos de la tabla del equipo */
.e-menu { position: relative; }
.e-menu-btn { display: inline-flex; align-items: center; gap: 7px; max-width: 210px; padding: 6px 10px 6px 8px; border-radius: 10px; border: 1px solid var(--linea); background: var(--fondo); color: var(--texto); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: border-color .2s; }
.e-menu-btn:hover, .e-menu-btn[aria-expanded="true"] { border-color: var(--marca); }
.e-menu-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.e-menu-btn i { font-style: normal; color: var(--suave); }
.e-menu-btn img, .e-menu-lista img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.e-menu-lista { position: absolute; right: 0; top: calc(100% + 6px); z-index: 4; display: grid; min-width: 230px; padding: 6px; border-radius: 12px; background: var(--tarjeta); border: 1px solid var(--linea); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.e-menu-lista[hidden] { display: none; }
.e-menu-lista button { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--texto); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.e-menu-lista button:hover { background: var(--fondo); }
.e-menu-lista button.activo { background: var(--oscuro); color: var(--marca); }
.e-tabla-caja.larga { max-height: 620px; overflow-y: auto; }
.p-sin-foto { display: block; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #d9dcd6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f4f5f2'%3E%3Ccircle cx='12' cy='9' r='4'/%3E%3Cpath d='M4 21c1-4.5 4.5-6.5 8-6.5s7 2 8 6.5z'/%3E%3C/svg%3E") center / 70% no-repeat; }
.e-persona .p-sin-foto { width: 54px; height: 54px; }
/* ---------- páginas de liga, página "Ligas" y menús de ligas de la portada ---------- */
.e-menu-grupo { display: block; padding: 10px 10px 4px; color: var(--suave); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.e-menu-lista { max-height: 420px; overflow-y: auto; }
.w-menu-ligas { margin-bottom: 10px; } .w-menu-ligas .e-menu-btn { max-width: 100%; } .w-menu-ligas .e-menu-lista { left: 0; right: auto; }
.l-portada { background: radial-gradient(circle at 85% 20%, #2a2f12, #0e0f11 60%); }
.l-portada .e-id > img { object-fit: contain; }
.l-lider small { color: #a3a6ad; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.l-lider-eq { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.l-lider-eq img { width: 56px; height: 56px; object-fit: contain; }
.l-lider-eq div { display: grid; gap: 2px; } .l-lider-eq b { font-size: 18px; } .l-lider-eq span { color: #c9ccd2; font-size: 14px; } .l-lider-eq span b { color: var(--marca); font-size: 15px; }
.l-numeros { grid-template-columns: repeat(4, 1fr); }
.l-grupo { margin: 18px 0 6px; font-size: 14px; color: var(--suave); text-transform: uppercase; letter-spacing: .4px; } .l-grupo:first-child { margin-top: 0; }
.l-tabla tr.z-copa td:first-child { box-shadow: inset 4px 0 0 #3b82f6; } .l-tabla tr.z-desc td:first-child { box-shadow: inset 4px 0 0 #dc2626; }
.l-leyenda { display: flex; gap: 16px; margin: 10px 0 0; color: var(--suave); font-size: 12.5px; }
.l-leyenda span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.l-leyenda .z-copa::before { background: #3b82f6; } .l-leyenda .z-desc::before { background: #dc2626; }
.l-final { color: var(--suave); font-weight: 800; font-size: 11px !important; text-transform: uppercase !important; }
.l-mini { width: 14px; height: 14px; object-fit: contain; vertical-align: -2px; margin-right: 4px; }
.l-equipos { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.l-equipos a, .l-equipos span { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 12px; background: var(--fondo); text-align: center; text-decoration: none; color: inherit; font-size: 13px; transition: transform .2s; }
.l-equipos a:hover { transform: translateY(-2px); }
.l-equipos img { width: 34px; height: 34px; object-fit: contain; }
.l-region { margin: 22px 0 8px; } .l-region h2 { margin: 0 0 12px; font-family: 'Saira Condensed', sans-serif; font-size: 26px; }
.l-cartas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.l-carta { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--tarjeta); border: 1px solid var(--linea); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.l-carta:hover { border-color: var(--marca); transform: translateY(-2px); }
.l-carta > img { width: 48px; height: 48px; object-fit: contain; flex: none; padding: 4px; border-radius: 12px; background: #f2f2ee; }
.l-carta div { display: grid; gap: 2px; min-width: 0; } .l-carta b { font-size: 15.5px; } .l-carta small { color: var(--suave); }
.l-carta span { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--suave); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-carta span img { width: 16px; height: 16px; object-fit: contain; }
.e-liga a, .w-seccion a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; } .e-liga a:hover, .w-seccion a:hover { color: var(--marca); }
@media (max-width: 1100px) { .l-tabla .l-ext { display: none; } }
@media (max-width: 860px) { .l-numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.w-goleador small img.l-mini { width: 14px; height: 14px; border-radius: 0; background: none; object-fit: contain; display: inline-block; margin: 0 4px 0 0; }
.l-tabla { table-layout: fixed; width: 100%; } .l-tabla th:first-child { width: 34px; } .l-tabla th:nth-child(n+3) { width: 40px; } .l-tabla th.izq { width: auto; }
.l-tabla td.izq { overflow: hidden; } .l-tabla .w-tabla-eq { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-tabla .w-tabla-eq { min-width: 0; } .l-tabla .w-tabla-eq img { flex: none; } .l-tabla .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- "Lo más importante" (solo celular): 2 noticias compactas, una al lado de la otra ---------- */
.w-principales { display: none; }
.w-princ-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.w-princ[hidden] { display: none; }
.w-pnota { display: grid; grid-template-rows: 104px auto; height: 100%; border-radius: 14px; overflow: hidden; background: var(--fondo); text-decoration: none; }
.w-pnota-foto { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden; background: #22252a; }
.w-pnota-foto img { width: 100%; height: 100%; object-fit: cover; }
.w-pnota-foto.escudos { background: radial-gradient(circle at 30% 20%, #2a2f12, #0e0f11 70%); color: var(--marca); font-family: 'Saira Condensed', sans-serif; font-weight: 800; }
.w-pnota-foto.escudos img { width: 44px; height: 44px; object-fit: contain; }
.w-pnota-foto.escudos i { font-style: normal; }
.w-pnota-foto em { position: absolute; left: 6px; bottom: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(14,15,17,.82); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; }
.w-pnota-txt { display: grid; align-content: start; gap: 3px; padding: 8px 10px 10px; }
.w-pnota-txt small { color: var(--suave); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-pnota-txt b { font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.w-pnota-txt span { color: var(--suave); font-size: 11.5px; }

/* ---------- calendario de partidos (portada) ---------- */
.w-cab-der { display: flex; align-items: center; gap: 6px; min-width: 0; }
.w-cal-btn { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 999px; background: var(--fondo); color: var(--texto); cursor: pointer; }
.w-cal-btn.activo, .w-cal-btn:hover { background: var(--oscuro); color: var(--marca); }
.w-cal { margin: 4px 0 12px; padding: 12px; border-radius: 14px; background: var(--fondo); }
.w-cal-mes { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.w-cal-mes b { font-family: 'Saira Condensed', sans-serif; font-size: 19px; }
.w-cal-mes button { width: 34px; height: 34px; border: 0; border-radius: 999px; background: var(--tarjeta); color: var(--texto); font-size: 20px; line-height: 1; cursor: pointer; }
.w-cal-mes button:disabled { opacity: .3; cursor: default; }
.w-cal-sem, .w-cal-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.w-cal-sem span { color: var(--suave); font-size: 11.5px; font-weight: 800; padding: 2px 0; }
.w-cal-dias button { position: relative; aspect-ratio: 1; min-height: 32px; border: 0; border-radius: 10px; background: transparent; color: var(--texto); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.w-cal-dias button:hover:not(:disabled):not(.sel) { background: var(--tarjeta); }
.w-cal-dias button.hay::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--suave); }
.w-cal-dias button.hoy { box-shadow: inset 0 0 0 2px var(--texto); }
.w-cal-dias button.rango { background: rgba(215,255,58,.35); border-radius: 4px; }
.w-cal-dias button.sel { background: var(--oscuro); color: var(--marca); }
.w-cal-dias button.sel::after { background: var(--marca); }
.w-cal-dias button:disabled { color: var(--suave); opacity: .35; cursor: default; }
.w-cal-txt { margin: 10px 0 8px; font-size: 13.5px; font-weight: 700; text-align: center; }
.w-cal-acc { display: flex; gap: 8px; }
.w-cal-acc button { flex: 1; padding: 10px; border: 0; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.w-cal-cancelar { background: var(--tarjeta); color: var(--texto); }
.w-cal-ver { background: var(--marca); color: #121417; }
.w-cal-ver:disabled { opacity: .45; cursor: default; }
.w-cal-nota { margin: 8px 0 0; color: var(--suave); font-size: 12px; text-align: center; }
.w-cal-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 8px; }
.w-cal-cab b { font-family: 'Saira Condensed', sans-serif; font-size: 19px; }
#partidos { scroll-margin-top: 76px; }
.w-cal-volver { flex: none; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--fondo); color: var(--texto); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.w-cal-filtro { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--suave); }
.w-cal-filtro select { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--linea); border-radius: 10px; background: var(--tarjeta); color: var(--texto); font: inherit; font-size: 14px; }
.w-cal-dia { margin: 14px 0 0; padding: 6px 10px; border-radius: 10px; background: var(--oscuro); color: var(--marca); font-family: 'Saira Condensed', sans-serif; font-size: 16px; }
.w-cal-dia::first-letter { text-transform: uppercase; }

/* ---------- celular: un solo orden para todo (las columnas se "abren" y cada caja toma su lugar) ----------
   1 Lo más importante · 2 Tabla de su país · 3 Partidos (con el calendario) · 4 noticia grande · 5 más noticias · después lo demás */
@media (max-width: 760px) {
  .w-inicio > .w-col { display: contents; }
  .w-inicio > .w-col > * { order: 10; }
  .w-inicio .w-principales { display: block; order: 1; }
  .w-inicio #tabla { order: 2; }
  .w-inicio #partidos { order: 3; }
  .w-centro > .w-nota.grande { order: 4; }
  .w-centro > .w-ultimas { order: 5; }
}
