/* Home nacional de Futbuteo · móvil primero; tres columnas desde 1100px */
:root {
  --bg: #f0ede6; --surface: #ffffff; --ink: #0a0a0c; --ink-2: #15151a;
  --muted: rgba(0,0,0,.55); --line: rgba(0,0,0,.07);
  --rojo: #E4162B; --amarillo: #FFC72C;
  --cond: 'Bebas Neue', Impact, sans-serif;
  --nav-h: 88px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.45 'Inter', system-ui, sans-serif; padding-bottom: var(--nav-h); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: 0 0 8px; display: inline-block; }
@keyframes pulso { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.82); } }
.pulso { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 3px rgba(255,59,48,.3); animation: pulso 1.6s ease-in-out infinite; display: inline-block; flex: 0 0 8px; }

/* ── Escudos ── */
.crest { position: relative; width: var(--s); height: var(--s); flex: 0 0 var(--s); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c) 0%, color-mix(in srgb, var(--c) 78%, #000) 100%); color: #fff; font: 800 calc(var(--s) * .38)/1 system-ui, sans-serif;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,.2), inset 0 2px 4px rgba(255,255,255,.3); }
.crest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; background: #fff; padding: 8%; }
.crest-borde { border: 2px solid rgba(255,255,255,.85); }

/* ── Cabecera ── */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 16px 0 24px; }
.hero-glow { position: absolute; left: 50%; top: 300px; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(228,22,43,.24) 0%, rgba(228,22,43,0) 65%); pointer-events: none; }
.hero-top { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-circ { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--ink-2); border: 1px solid rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.btn-circ:hover { background: #22222a; }
.campana { position: relative; }
.campana-num { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--amarillo); color: var(--ink); font: 800 11px/18px 'Inter', sans-serif; text-align: center; box-shadow: 0 0 0 2px var(--ink); }
.logo { display: flex; align-items: center; }
.logo img { height: 30px; width: auto; display: block; }
.hero-acc { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.btn-login span { display: none; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--amarillo); color: var(--ink); font: 400 20px/44px var(--cond); text-align: center; text-decoration: none; }
.buscador { position: relative; order: 9; flex: 1 0 100%; margin-top: 6px; }
.buscar { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 24px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); }
.buscar { width: 100%; cursor: text; font: 500 14px 'Inter', sans-serif; text-align: left; }
.buscar span { flex: 1; min-width: 0; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buscar:hover { border-color: rgba(255,255,255,.3); }
.buscar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 14px 'Inter', sans-serif; color: #fff; }
.buscar input::placeholder { color: rgba(255,255,255,.5); }
.buscar:focus-within { border-color: var(--amarillo); }
.buscar-res { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.35); max-height: 60vh; overflow: auto; padding: 6px 0; }
.buscar-res a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; min-height: 44px; text-decoration: none; font-size: 14px; }
.buscar-res a:hover, .buscar-res a.is-sel { background: #f4f1ea; }
.buscar-res small { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.buscar-res .r-tipo { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 10px 16px 4px; }
.buscar-res p { margin: 0; padding: 14px 16px; color: var(--muted); font-size: 14px; }

.hero-main { position: relative; margin-top: 24px; }
.kicker { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hero h1 { margin: 10px 0 0; font: 400 50px/.9 var(--cond); letter-spacing: .5px; }
.hero h1 span { color: var(--amarillo); }
.hero-sub, .fed-chips { display: none; }

.mapa-wrap { margin: 22px auto 0; max-width: 360px; }
.mapa { position: relative; width: 330px; height: 262px; margin: 0 auto; }
.mapa svg { position: absolute; left: 0; top: 0; }
.mapa .es { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.28); stroke-width: 1.5; stroke-linejoin: round; }
.mapa .pt { fill: rgba(255,255,255,.025); stroke: rgba(255,255,255,.1); stroke-width: 1.2; stroke-linejoin: round; }
.mapa .can { fill: none; stroke: rgba(255,255,255,.18); stroke-dasharray: 3 3; }
.pronto { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); }
.pin { position: absolute; width: 88px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; }
.pin-n { position: relative; min-width: 32px; width: auto; padding: 0 7px; box-sizing: border-box; height: 32px; border-radius: 16px; background: var(--c); color: #fff; font: 400 19px/32px var(--cond); text-align: center; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent), 0 6px 16px rgba(0,0,0,.5); transition: transform .15s; }
.pin.is-mia .pin-n { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent), 0 0 0 7px var(--amarillo), 0 6px 16px rgba(0,0,0,.5); }
.pin-v { position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: #ff3b30; color: #fff; font: 800 10px/18px Inter, system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 2px #0a0a0c; animation: pin-pulso 1.6s ease-in-out infinite; }
@keyframes pin-pulso { 0%,100% { transform: scale(1); } 50% { transform: scale(.88); } }
.pin-t { font-size: 10px; font-weight: 800; color: #fff; background: rgba(10,10,12,.78); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.pin:hover .pin-n, .pin:focus-visible .pin-n { transform: scale(1.15); }
.leyenda { margin-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.65); }
.leyenda span { display: flex; align-items: center; gap: 6px; }
.leyenda i { font-style: normal; display: inline-block; }
.ley-n { width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.leyenda b { color: #fff; font-weight: 800; }
.ley-v { width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 2px rgba(255,59,48,.3); }
.ley-p { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); }
.ley-m { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px var(--amarillo); }
.btn-lista svg { transition: transform .2s; transform: rotate(90deg); }
.btn-lista[aria-expanded="true"] svg { transform: rotate(-90deg); }
.btn-lista { width: 100%; background: transparent; cursor: pointer; font-family: inherit; margin-top: 16px; min-height: 46px; border-radius: 23px; border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; }
.feds-lista { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.feds-lista a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px; border-radius: 14px; background: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 14px; }
.feds-lista small { margin-left: auto; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.6); }
.feds-lista small b { color: #ff6b6b; }

/* ── Banda de últimos resultados ── */
.banda { background: var(--rojo); color: #fff; }
.banda-in { display: flex; align-items: stretch; padding: 0; overflow: hidden; }
.banda-t { flex: 0 0 auto; display: flex; align-items: center; padding: 0 12px; background: var(--ink); font: 400 18px/1 var(--cond); letter-spacing: 1px; color: var(--amarillo); text-transform: uppercase; position: relative; z-index: 1; }
.banda-cinta { flex: 1; overflow: hidden; }
@keyframes cinta { to { transform: translateX(-50%); } }
.banda-pista { display: flex; width: max-content; animation: cinta 60s linear infinite; }
.banda:hover .banda-pista, .banda:focus-within .banda-pista { animation-play-state: paused; }
/* Cada partido en su franja: una sí y otra no con un velo oscuro, y los escudos pegados al marcador */
.banda-pista a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 18px; white-space: nowrap; text-decoration: none; font-size: 13px; font-weight: 600; }
.banda-pista a:nth-child(even) { background: rgba(0,0,0,.16); }
.banda-pista a:hover { background: rgba(0,0,0,.28); }
.banda-pista .crest { box-shadow: 0 0 0 1.5px rgba(255,255,255,.85); }
.banda-pista b { font: 400 17px/1 var(--cond); letter-spacing: .5px; padding: 0 2px; }
@media (prefers-reduced-motion: reduce) { .banda-pista { animation: none; } .banda-cinta { overflow-x: auto; } .pulso { animation: none; } }

/* ── Cuerpo: en móvil las columnas se disuelven y manda el order ── */
.cuerpo { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; padding-bottom: 32px; }
.col { display: contents; }
.b-favs { order: 1; } .b-pjs { order: 2; } .b-dir { order: 3; } .b-cerca { order: 4; } .b-informa { order: 5; } .b-datos { order: 6; } .b-colab { order: 7; }
.bloque-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bloque-cab h2 { margin: 0; font: 400 30px/1 var(--cond); letter-spacing: 1px; display: flex; align-items: center; gap: 12px; }
.bloque-cab > a, .bloque-cab .nota { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.cuenta { display: inline-flex; align-items: center; gap: 6px; font: 800 13px 'Inter', sans-serif; color: var(--rojo); letter-spacing: 0; }
.cuenta .pulso { background: var(--rojo); box-shadow: none; }
.vacio { margin: 12px 0 0; padding: 18px; background: var(--surface); border-radius: 18px; color: var(--muted); }

.btn-negro, .btn-gris, .btn-blanco, .btn-borde { min-height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; font-size: 13px; font-weight: 800; text-decoration: none; }
.btn-negro { background: var(--ink); color: #fff; }
.btn-gris { border: 1px solid rgba(0,0,0,.15); color: var(--ink); font-weight: 700; }
.btn-blanco { background: #fff; color: var(--ink); }
.btn-borde { border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 700; }
[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* Tus equipos */
/* Tarjetas de Tus equipos: home/favs.css (compartido con las portadas de federación) */
.btn-mas { margin-top: 10px; min-height: 48px; border-radius: 16px; border: 2px dashed rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: rgba(0,0,0,.6); font-size: 13px; font-weight: 700; }
.favs-vacio { margin-top: 12px; padding: 18px; background: var(--surface); border-radius: 20px; border: 1px solid var(--line); }
.favs-vacio p { margin: 0 0 12px; font-size: 14px; color: rgba(0,0,0,.7); }

/* Partidos de la jornada */
.carrusel { margin: 12px -20px 0; padding: 0 20px 4px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carrusel::-webkit-scrollbar { display: none; }
.pj { flex: 0 0 calc(100% - 20px); scroll-snap-align: center; position: relative; overflow: hidden; border-radius: 24px; color: #fff; padding: 18px 18px 20px;
  background: linear-gradient(135deg, #0a0a0c 0%, #1d1e25 55%, var(--c) 170%); }
.pj::before { content: ''; position: absolute; inset: 0; opacity: .08; background-image: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 20px); }
.pj > * { position: relative; }
.pj-cab { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pj-fed { padding: 4px 10px; border-radius: 12px; background: var(--c); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.pj-comp { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,.6); text-align: right; }
.pj-eqs { margin-top: 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; text-align: center; }
.pj-eqs > div { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.pj-eqs b { font: 400 20px/1 var(--cond); }
.pj-eqs small { font-size: 10px; font-weight: 800; color: var(--amarillo); }
.pj-hora b { font-size: 44px; line-height: .9; }
.pj-hora small { color: rgba(255,255,255,.6); letter-spacing: 1.5px; }
.pj-claim { margin: 16px 0 14px; text-align: center; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.pj-btns { display: flex; gap: 8px; }
.pj-btns a { flex: 1; }
.puntos { margin-top: 10px; display: flex; justify-content: center; gap: 2px; }
.puntos button { min-width: 20px; min-height: 28px; padding: 0 3px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.puntos span { display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(0,0,0,.22); transition: width .25s, background .25s; }
.puntos [aria-selected="true"] span { width: 24px; background: var(--ink); }

/* En directo */
.chips { margin-top: 12px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips button { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid rgba(0,0,0,.12); background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.chips button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabla-dir { margin-top: 12px; background: var(--surface); border-radius: 20px; overflow: hidden; border: 1px solid rgba(0,0,0,.06); }
.grupo-cab { padding: 12px 16px 7px; display: flex; align-items: center; gap: 8px; background: #faf8f4; border-top: 1px solid rgba(0,0,0,.05); font-size: 11px; font-weight: 800; letter-spacing: .6px; text-decoration: none; }
.grupo-cab .dot { border-radius: 2px; }
.grupo-cab small { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.grupo:first-child .grupo-cab { border-top: 0; }
.fila { min-height: 58px; padding: 8px 16px; display: flex; align-items: center; gap: 12px; text-decoration: none; border-top: 1px solid rgba(0,0,0,.05); }
.fila:hover { background: #fbfaf7; }
.fila-min { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: var(--muted); }
/* Móvil (12-oct-2026): sin columna de estado; el minuto junto al marcador y, por jugar, la hora en su sitio */
.fila-min:empty { display: none; }
.fila-hora { flex-direction: row; font-size: 19px; color: var(--muted); }
.fila-min.is-vivo { color: var(--rojo); }
.fila-eq { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.fila-eq > span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fila-marc { display: flex; flex-direction: column; gap: 5px; font: 400 22px/22px var(--cond); text-align: right; }
.btn-todos { width: 100%; min-height: 50px; border: 0; border-top: 1px solid rgba(0,0,0,.06); background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; }
.dir-vacio { padding: 18px 16px; color: var(--muted); font-size: 14px; }

/* Cerca de ti */
.cerca { background: var(--surface); border-radius: 22px; overflow: hidden; border: 1px solid rgba(0,0,0,.06); }
.cerca-mapa { position: relative; height: 150px; background: #e7eadf; overflow: hidden; }
.cerca-mapa::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px); background-size: 26px 26px; }
.cerca-mapa i { position: absolute; display: block; }
.c-calle1 { left: -10%; top: 46%; width: 130%; height: 14px; background: #fff; transform: rotate(-12deg); }
.c-calle2 { left: 42%; top: -20%; width: 12px; height: 150%; background: #fff; transform: rotate(18deg); }
.c-yo { left: 48%; top: 44%; width: 18px; height: 18px; border-radius: 50%; background: #0066B3; box-shadow: 0 0 0 8px rgba(0,102,179,.18); }
.c-pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--rojo); }
.c-gris { background: var(--ink); }
.cerca-txt { padding: 16px 18px 18px; }
.nuevo { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: var(--rojo); text-transform: uppercase; }
.cerca h2, .informa h2 { margin: 4px 0 0; font: 400 28px/1 var(--cond); letter-spacing: .5px; }
.cerca p { margin: 6px 0 14px; font-size: 13px; color: rgba(0,0,0,.62); }
.cerca-btns { display: flex; gap: 8px; }
.cerca-btns a { flex: 1; padding: 0 10px; }

/* ¿Estás en el campo? */
.informa { position: relative; overflow: hidden; border-radius: 22px; padding: 20px 18px; background: var(--amarillo); }
.informa::before { content: ''; position: absolute; inset: 0; opacity: .14; background-image: repeating-linear-gradient(45deg, #0a0a0c 0 2px, transparent 2px 18px); }
.informa > * { position: relative; }
.informa h2 { font-size: 34px; line-height: .95; margin: 0; }
.informa p { margin: 8px 0 14px; font-size: 13px; font-weight: 600; color: rgba(0,0,0,.75); }

/* La jornada en datos */
.datos { margin: 12px -20px 0; padding: 0 20px 4px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.dato { flex: 0 0 220px; background: var(--surface); border-radius: 18px; padding: 16px; text-decoration: none; border: 1px solid rgba(0,0,0,.06); display: flex; flex-direction: column; }
.dato-k { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: var(--c); }
.dato-g { margin-top: 6px; font: 400 44px/.9 var(--cond); }
.dato-t { margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.35; }
.dato-d { margin-top: auto; padding-top: 8px; font-size: 11px; font-weight: 700; color: var(--muted); }

/* Navegación inferior (móvil): isla oscura flotante; la sección activa se ilumina en amarillo con su nombre */
.nav-inf { position: fixed; left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; height: 60px; display: flex; gap: 2px; padding: 6px;
  background: var(--ink); border-radius: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.06) inset; }
.nav-inf a { flex: 1 1 0; min-width: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 4px; border-radius: 17px;
  text-decoration: none; color: rgba(255,255,255,.72); font: 800 12px/1 'Inter', system-ui, sans-serif; white-space: nowrap; position: relative; transition: background .2s, color .2s; }
.nav-inf a:hover { color: #fff; }
.nav-inf svg { flex: 0 0 auto; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-inf a > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-inf [aria-current="page"] { flex: 0 0 auto; padding: 0 16px; background: var(--amarillo); color: var(--ink); }
.nav-inf [aria-current="page"] > span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.nav-vivo::after { content: ''; position: absolute; top: 50%; left: 50%; margin: -13px 0 0 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 0 2px var(--ink); }
.nav-vivo[aria-current="page"]::after { box-shadow: 0 0 0 2px var(--amarillo); margin-left: 0; left: 30px; }

/* Menú lateral */
.menu { position: fixed; inset: 0; z-index: 60; }
.menu-fondo { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.menu-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(340px, 88vw); background: var(--ink); color: #fff; padding: 16px 16px 24px; overflow: auto; }
.menu-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.menu-t { margin: 18px 4px 6px; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.menu-panel > a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.menu-panel > a:hover { background: var(--ink-2); }

/* ── Escritorio ── */
@media (min-width: 1100px) {
  body { padding-bottom: 0; }
  .wrap { padding: 0 32px; }
  .nav-inf { display: none; }
  .hero { padding: 18px 0 40px; }
  .hero-glow { left: auto; right: 8%; top: 40px; width: 640px; height: 640px; margin: 0; }
  .logo img { height: 36px; }
  .buscador { order: 0; flex: 1 1 320px; max-width: 560px; margin: 0 0 0 24px; }
  .btn-login { width: auto; padding: 0 18px 0 14px; gap: 8px; border-radius: 23px; flex-basis: auto; }
  .btn-login span { display: inline; font-size: 13px; font-weight: 700; }
  .hero-main { margin-top: 36px; display: flex; align-items: center; gap: 32px; }
  .hero-txt { flex: 1 1 420px; min-width: 0; }
  .hero h1 { font-size: 84px; line-height: .88; margin-top: 14px; }
  .kicker { font-size: 12px; }
  .hero-sub { display: block; margin: 16px 0 0; max-width: 520px; font-size: 16px; color: rgba(255,255,255,.72); }
  .fed-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .fed-chips a { min-height: 40px; padding: 0 14px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
  .fed-chips a:hover { background: rgba(255,255,255,.14); }
  .fed-chips b { font-size: 11px; font-weight: 800; color: #ff6b6b; }
  .mapa-wrap { flex: 0 0 446px; margin: 0; max-width: none; }
  .mapa { transform: scale(1.35); transform-origin: 0 0; margin: 0 0 92px; }
  .btn-lista, .feds-lista { display: none; }
  .banda-t { padding: 0 16px; font-size: 20px; }
  .banda-pista a { font-size: 14px; }

  .cuerpo { display: grid; grid-template-columns: 290px minmax(0, 1fr) 350px; gap: 24px; align-items: start; padding-top: 32px; padding-bottom: 56px; }
  .col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
  .favs { grid-template-columns: 1fr; }
  .fav { min-height: 0; }
  .carrusel { margin: 12px 0 0; padding: 0 0 4px; }
  .pj { flex-basis: 100%; }
  .pj-eqs b { font-size: 19px; }
  .pj-hora b { font-size: 40px; }
  .datos { margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; overflow: visible; }
  .fila { min-height: 60px; padding: 8px 18px; }
  .fila-eq { display: contents; }
  .fila-eq > span { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; }
  .fila-eq > span:first-child { order: 1; justify-content: flex-start; flex-direction: row-reverse; text-align: right; }
  .fila-marc { order: 2; flex: 0 0 84px; flex-direction: row; justify-content: center; gap: 6px; font-size: 28px; line-height: 1; }
  .fila-marc span + span::before { content: '-'; margin-right: 6px; }
  .fila-min, .fila-min:empty { display: block; order: 0; flex: 0 0 40px; }   /* escritorio: el minuto, a la izquierda como antes */
  .fila-hora { font-size: 22px; }
  .fila-eq > span:last-child { order: 3; }
  .cerca-mapa { height: 130px; }
}

/* Top colaboradores */
.colab-top { border-radius: 22px; padding: 18px; background: var(--ink); color: #fff; }
.colab-top .bloque-cab h2 { color: #fff; font-size: 26px; }
.colab-top .bloque-cab > a { color: var(--amarillo); }
.colab-top-sub { margin: 4px 0 0; font-size: 12px; color: rgba(255,255,255,.6); }
.colab-top-lista { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.colab-top-lista a { display: flex; flex-direction: column; align-items: center; padding: 14px 6px; border-radius: 16px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; text-align: center; min-width: 0; }
.colab-top-lista a:hover { background: rgba(255,255,255,.1); }
.ct-av { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 400 21px/1 var(--cond); color: var(--ink); background: var(--amarillo); }
.ct-av.p2 { background: #c9c9c9; } .ct-av.p3 { background: #cd7f32; }
.colab-top-lista b { margin-top: 8px; font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.colab-top-lista small { font-size: 10px; color: rgba(255,255,255,.6); }
.colab-top-lista em { margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 800; color: var(--amarillo); }
.colab-top-cta { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--amarillo); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; }
.colab-top-cta b { font-weight: 800; white-space: nowrap; }

/* PRUEBA (?nueva=1): vídeo de fondo en la cabecera del mapa, con velo oscuro para que se lean el texto y el mapa */
.hero-video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-video::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,var(--velo)) 0%, rgba(10,10,12,calc(var(--velo) + .1)) 55%, rgba(10,10,12,.92) 100%); }
.hero-con-video .hero-glow { display: none; }
.hero-con-video .hero-top, .hero-con-video .hero-main { position: relative; z-index: 1; }
/* Con «reducir movimiento» en el sistema: la foto fija del vídeo en vez del vídeo */
@media (prefers-reduced-motion: reduce) { .hero-video video { display: none; } .hero-video { background: var(--ink) var(--poster) center/cover no-repeat; } }
.hero-prueba { position: fixed; right: 12px; bottom: 12px; z-index: 50; max-width: 340px; padding: 10px 12px; border-radius: 14px;
  background: #fff; color: #0a0a0c; box-shadow: 0 10px 30px rgba(0,0,0,.3); font: 600 12px/1.4 Inter, system-ui, sans-serif; }
.hero-prueba summary { cursor: pointer; font-weight: 800; }
.hero-prueba div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.hero-prueba a { padding: 5px 8px; border-radius: 8px; background: #f0ede6; color: #0a0a0c; text-decoration: none; }
.hero-prueba a.on { background: #0a0a0c; color: #FFC72C; }

/* Pie común (pie.php + css/pie.css): llega hasta abajo y deja sitio a la isla de navegación fija */
body:has(> .footer) { padding-bottom: 0; }
body > .footer .mft-legal { padding-bottom: calc(var(--nav-h) + 8px); }

/* ── Fútbol nacional en la home (11-oct-2026) ── */
/* C: selector Regional / Nacional encima del mapa */
.ambito { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 14px; border-radius: 24px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.12); }
.ambito button { min-height: 44px; border: 0; border-radius: 20px; background: transparent; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; cursor: pointer; }
.ambito button.is-on { background: var(--amarillo); color: var(--ink); font-weight: 800; }
.ambito button b { color: var(--rojo); }
.ambito-nac { display: flex; flex-direction: column; gap: 8px; }
.comp-nac { min-height: 56px; padding: 10px 14px; border-radius: 16px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 12px; text-decoration: none; }
.comp-nac:hover { background: #1d1d24; }
.comp-nac i { width: 6px; height: 30px; flex: 0 0 6px; border-radius: 3px; background: var(--rojo); }
.comp-nac.is-fem i { background: var(--amarillo); }
.comp-nac > span { flex: 1; display: flex; flex-direction: column; }
.comp-nac b { font-size: 14px; }
.comp-nac small { font-size: 11px; color: rgba(255,255,255,.55); }
.comp-nac em { font-style: normal; color: #ff6b6b; font-weight: 700; }
/* Tres carruseles de partidos de la jornada: regional, base y nacional */
.pjs-sub { margin-top: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bloque-cab + .pjs-sub { margin-top: 10px; }
.pjs-sub h3 { margin: 0; font: 400 22px/1 var(--cond); letter-spacing: 1px; }
.pjs-sub .nota { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
/* Competiciones nacionales con varios grupos: se despliegan y se entra en cada grupo */
.comp-nac-gr { display: block; padding: 0; }
.comp-nac-gr > summary { min-height: 56px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.comp-nac-gr > summary::-webkit-details-marker { display: none; }
.comp-nac-gr > summary > span { flex: 1; display: flex; flex-direction: column; }
.comp-nac-gr > summary svg { transition: transform .2s; }
.comp-nac-gr[open] > summary svg { transform: rotate(180deg); }
.comp-grupos { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px 32px; }
.comp-grupos a { min-height: 40px; padding: 0 14px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-decoration: none; }
.comp-grupos a:hover { background: rgba(255,255,255,.16); }
.comp-grupos em { font-style: normal; color: #ff6b6b; font-size: 11px; }

/* 14-oct-2026: fondo como las cabeceras: foto de la categoría (--foto) bajo un velo de color bien presente.
   Color principal: var(--a1, var(--c)); segundo: var(--a2, var(--c)) */
.pj { background: radial-gradient(105% 95% at 0% 0%, color-mix(in srgb, var(--a1, var(--c)) 90%, transparent), transparent 74%),
    radial-gradient(85% 85% at 100% 0%, color-mix(in srgb, var(--a2, var(--c)) 62%, transparent), transparent 68%),
    linear-gradient(180deg, color-mix(in srgb, var(--a1, var(--c)) 34%, rgba(10,10,12,.42)) 0%, rgba(10,10,12,.55) 52%, rgba(10,10,12,.88) 100%),
    var(--foto, none) center / cover no-repeat, #0a0a0c; }
.pj::before { display: none; }

/* 14-oct-2026: foto de fondo en «¿Estás en el campo?» (grada) y «Los que cuentan el fútbol» (libreta), con sus colores:
   el color tapa la zona del texto y la foto asoma a la derecha */
.informa { background: linear-gradient(100deg, rgba(255,199,44,.97) 0%, rgba(255,199,44,.9) 45%, rgba(255,199,44,.62) 100%),
  url('/images/cronicas/grada-otono.webp') center 60% / cover no-repeat, var(--amarillo); }
.informa::before { display: none; }
.colab-top { background: linear-gradient(180deg, rgba(10,10,12,.6) 0%, rgba(10,10,12,.76) 45%, rgba(10,10,12,.9) 100%),
  url('/images/cronicas/silbato-libreta.webp') center 40% / cover no-repeat, var(--ink); }

/* «Avisarme» (14-oct-2026): ventanita para seguir equipo y activar notificaciones */
.pj-btns button.btn-blanco { border: 0; cursor: pointer; font-family: inherit; }
.avisar { width: min(400px, calc(100vw - 32px)); border: 0; border-radius: 22px; padding: 22px 18px 18px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.avisar::backdrop { background: rgba(10,10,12,.6); }
.avisar h2 { margin: 0 28px 0 0; font: 400 28px/1 var(--cond); letter-spacing: .5px; }
.avisar-sub { margin: 8px 0 14px; font-size: 13px; color: rgba(0,0,0,.65); }
.avisar-ops { display: grid; gap: 8px; }
.avisar-ops button { width: 100%; border: 0; cursor: pointer; font-family: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avisar-ops button:disabled { opacity: .5; cursor: default; }
.avisar-cerrar { position: absolute; top: 10px; right: 10px; margin: 0; }
.avisar-cerrar button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.06); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.avisar-msg { margin: 10px 0 0; font-size: 13px; font-weight: 600; }
.avisar-msg:empty { display: none; }
.avisar-push { margin-top: 12px; }
.avisar-push > button { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.avisar-push.is-on > button { display: none; }
.avisar-push.is-on::before { content: 'Las notificaciones ya están activadas en este móvil.'; display: block; font-size: 13px; color: #2E7D32; font-weight: 700; }
html.theme-dark .avisar { background: #15151a; color: #fff; }
html.theme-dark .avisar-sub { color: rgba(255,255,255,.65); }
html.theme-dark .avisar-cerrar button { background: rgba(255,255,255,.1); color: #fff; }

/* Mapa con 18 federaciones (15-oct-2026): puntos más pequeños y siglas en vez del nombre, para que no se pisen en el norte */
.pin { margin-top: 4px; gap: 2px; }
.pin-n { min-width: 24px; height: 24px; padding: 0 5px; border-radius: 12px; font: 400 15px/24px var(--cond); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent), 0 4px 10px rgba(0,0,0,.5); }
.pin.is-mia .pin-n { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent), 0 0 0 5px var(--amarillo), 0 4px 10px rgba(0,0,0,.5); }
.pin-v { top: -6px; right: -8px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; font-size: 9px; line-height: 15px; }
.pin-t { font-size: 9px; padding: 1px 4px; border-radius: 4px; letter-spacing: .3px; }
/* Círculos con los colores de bandera de cada federación, como el resplandor de sus cabeceras (home_pin_fondo) */
.pin-n { background: var(--g, var(--c)); text-shadow: 0 1px 2px rgba(0,0,0,.55); }

/* Puntos de los carruseles (16-oct-2026): con 18 federaciones el de «Regional» no cabía en 360 px y la página se salía de ancho */
.puntos { flex-wrap: wrap; gap: 0; padding: 0 8px; }
.puntos button { min-width: 15px; padding: 0 2px; }
