/* Futfield: una edición deportiva, con la identidad azul de Melo. */
:root {
  --font: 'Manrope', system-ui, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ground: #f5f6f8;
  --surface: #fff;
  --raised: #f0f3f7;
  --text: #11243b;
  --muted: #526276;
  --accent: #185eb0;
  --accent-soft: #eaf2fc;
  --border: #dce3eb;
  --rule: #e7ecf1;
  --navy: #102b4b;
  --radius: 14px;
  --pad: 32px;
}
body { line-height: 1.65; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
.barra {
  min-height: 106px; padding: 18px max(32px, calc((100vw - 1320px) / 2));
  background: var(--surface); border-top: 5px solid #1b58a4; border-bottom: 1px solid var(--border);
  gap: 48px; justify-content: space-between; position: relative;
}
.marca { gap: 12px; color: var(--text); align-items: center; }
.marca > svg { width: 46px; height: 46px; padding: 9px; background: #1b58a4; border-radius: 12px; stroke: white; }
.marca > span { font-family: var(--display); font-size: 48px; line-height: .85; font-weight: 800; letter-spacing: -1.7px; }
.marca-punto { color: var(--accent); }
.marca small { display: block; font-family: var(--font); letter-spacing: 2px; font-size: 8px; font-weight: 700; line-height: 1; margin: 11px 0 0 3px; }
.pestanas { gap: 6px; padding: 0; }
.pestanas a { border-radius: 8px; height: 46px; padding: 0 17px; font-size: 14px; font-weight: 700; box-shadow: none; }
.pestanas a[aria-current='page'] { background: var(--accent-soft); color: var(--accent); border-radius: 8px; box-shadow: none; }
.pestanas .cl { font-size: 14px; }
.pestanas a:hover { background: var(--raised); }
.edicion {
  max-width: 1320px; margin: auto; padding: 12px 0; display: flex; justify-content: space-between; gap: 20px;
  color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.edicion > :first-child { display: flex; align-items: center; gap: 8px; }
.edicion > :first-child::before { content: ''; width: 6px; height: 6px; background: #1b58a4; border-radius: 50%; }
.edicion > :last-child { color: var(--accent); }
.hoja { border: 0; border-radius: 0; background: transparent; margin: 0; min-height: 70vh; }
.contenido { max-width: 1384px; padding: 35px var(--pad) 70px; }
.titulo { gap: 18px; margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(42px, 5vw, 66px); line-height: 1; }
h2 { font-size: 28px; line-height: 1.1; }
h3 { font-size: 26px; }
.titulo img { padding: 7px; box-sizing: content-box; background: var(--surface); border-radius: 12px; }
.hallazgo { font-size: 17px; color: var(--muted); margin: 20px 0 32px; }
.portada-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.portada-intro h1 { font-size: clamp(64px, 6.9vw, 96px); line-height: .9; letter-spacing: -.035em; font-weight: 800; text-transform: uppercase; }
.portada-intro h1 span { color: var(--accent); }
.portada-intro .titulo { margin: 0; }
.seccion-etiqueta { font-size: 10px; font-weight: 800; color: var(--muted); letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 18px; }
.intro-descripcion { font-size: 18px; font-weight: 600; line-height: 1.7; padding: 0 0 5px 28px; border-left: 2px solid var(--border); }
.intro-descripcion span { font-size: 12px; font-weight: 400; color: var(--muted); }
.actualidad { display: flex; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 15px 20px; margin-bottom: 35px; font-size: 13px; }
.actualidad-etiqueta { color: var(--accent); font-weight: 800; font-size: 10px; letter-spacing: 1px; white-space: nowrap; padding-right: 20px; border-right: 1px solid var(--border); }
.actualidad > a { margin-left: auto; flex-shrink: 0; text-decoration: none; font-weight: 700; }
.actualidad > a span { margin-left: 8px; }
.dos { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
.dos > *, .cifras > *, section { min-width: 0; }
.cabecera-noticias { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.cabecera-noticias h2 { font-size: 34px; }
.cabecera-noticias h2 span { color: var(--accent); }
.cabecera-noticias > span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.herramientas-noticias { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.filtros { gap: 5px; margin: 0; }
.filtros button { height: 38px; border-radius: 7px; border-color: transparent; color: var(--muted); background: transparent; font-size: 12px; padding: 0 13px; font-weight: 700; }
.filtros button[aria-pressed='true'] { background: #1b58a4; border-color: #1b58a4; color: white; }
.herramientas-noticias .controles { margin: 0 0 0 auto; flex: 1 1 160px; max-width: 220px; }
.controles input, .controles select { background: var(--surface); border-color: var(--border); height: 42px; border-radius: 8px; font-size: 13px; }
.herramientas-noticias input { width: 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23526276' stroke-width='1.6'%3E%3Ccircle cx='7.5' cy='7.5' r='5'/%3E%3Cpath d='m11.5 11.5 4 4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 12px center; padding-left: 38px; }
#n-noticias { font-size: 10px; color: var(--muted); margin: 0 0 12px; }
.principal {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 490px;
  background: #102b4b; padding: 38px; border: 0; border-radius: 16px; margin-bottom: 24px; color: #fff;
  transition: box-shadow .2s;
}
.principal:hover { transform: none; box-shadow: 0 10px 28px #102b4b25; }
.principal > figure { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.principal > figure img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; transition: transform .5s; }
.principal:hover > figure img { transform: scale(1.025); }
.principal::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #07172b10 0%, #07172b66 28%, #07172be6 72%, #07172bfa 100%); }
.principal > figure figcaption { position: absolute; top: 14px; right: 16px; left: 16px; width: fit-content; max-width: calc(100% - 32px); margin-left: auto; padding: 5px 8px; border-radius: 4px; background: #07172bc9; text-align: right; color: white; font-size: 10px; }
.principal-texto { width: 100%; padding-top: 95px; }
.principal .club { display: inline-block; color: white; background: #1b58a4; padding: 4px 10px; font-size: 10px; font-family: var(--font); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; }
.principal[data-club='penarol'] .club { background: #f6c700; color: #172232; }
.principal[data-club='nacional'] .club { background: #fff; color: #002f87; }
.principal h2 { font-size: clamp(36px, 4.25vw, 58px); line-height: .99; font-weight: 700; text-transform: uppercase; max-width: 24ch; margin: 14px 0; color: white; }
.principal p { font-size: 14px; max-width: 66ch; color: #e0e8f1; line-height: 1.7; }
.principal .meta { font-size: 10px; color: #bbcbdc; margin-top: 16px; }
.principal .vs { display: none; }
.leer-nota { display: inline-flex; align-items: center; gap: 22px; font-size: 11px; font-weight: 700; margin-top: 18px; padding: 10px 14px; border: 1px solid #ffffff50; border-radius: 6px; }
.leer-nota > span { font-size: 18px; line-height: 1; }
.principal .tablero { position: absolute; inset: 20px 20px auto auto; opacity: .4; background: transparent; }
.feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feed li {
  display: flex; flex-direction: column; position: relative; gap: 0; padding: 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .2s, transform .2s;
}
.feed li:hover { border-color: var(--accent); transform: translateY(-3px); }
.feed:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.feed > li:only-child { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; }
.feed > li:only-child .mini-foto img { height: 240px; }
.feed .tira { position: absolute; top: 0; left: 0; height: 3px; width: 45px; z-index: 1; border-radius: 0; }
.feed li > div:not(.miniatura) { padding: 20px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.feed .club { text-transform: uppercase; font-size: 9px; letter-spacing: 1px; color: var(--accent); font-weight: 800; margin-bottom: 8px; }
.feed h3 { font-size: 29px; line-height: 1.1; margin-bottom: 12px; }
.feed li p:not(.meta) { font-size: 14px; line-height: 1.8; color: var(--muted); }
.feed .meta { margin-top: auto; padding-top: 18px; font-size: 11px; line-height: 1.8; }
.feed .meta > a { display: block; font-weight: 700; margin-top: 6px; }
.miniatura { order: -1; align-self: stretch; }
.mini-foto { width: 100%; }
.mini-foto img { width: 100%; height: 180px; object-fit: cover; border-radius: 0; aspect-ratio: 16 / 9; }
.mini-foto figcaption { max-width: none; padding: 7px 12px 0; font-size: 10px; line-height: 1.5; }
.miniatura > .vs { padding: 24px; background: var(--raised); min-height: 106px; justify-content: center; }
.miniatura > .escudo { margin: 24px auto; }
.panel { padding: 23px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 25px; }
.panel.partido { background: #102b4b; color: white; border: 0; position: relative; overflow: hidden; }
.panel.partido::before { content: ''; position: absolute; width: 150px; height: 150px; border: 1px solid #ffffff12; border-radius: 50%; right: -75px; top: 60px; pointer-events: none; }
.partido h2 { text-transform: uppercase; font-size: 28px; }
.partido .torneo { color: #a7c5e6; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.partido .vs { justify-content: center; gap: 22px; padding: 16px 0; }
.partido .vs span { background: #ffffff12; color: #c4d5e8; padding: 4px 8px; border-radius: 5px; font-family: var(--display); text-transform: uppercase; font-size: 19px; }
.partido .equipos { font-family: var(--display); font-size: 32px; text-align: center; line-height: 1.1; margin: 8px 0 14px; }
.partido .donde { color: #b9cce1; font-size: 11px; text-align: center; }
.partido p:last-child { border-top: 1px solid #ffffff20; padding-top: 16px; font-size: 11px; text-align: center; }
.forma { gap: 9px; }
.res { width: 32px; height: 32px; font-size: 11px; }
.leyenda { gap: 12px; font-size: 10px; margin-top: 14px; }
.leyenda .res { width: 18px; height: 18px; }
.cifras { gap: 16px; margin: 24px 0 36px; }
.cifra { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; border-top: 3px solid var(--accent); }
.cifra .etiqueta { text-transform: uppercase; font-size: 9px; letter-spacing: .8px; }
.cifra .valor { font-family: var(--display); font-size: 40px; font-weight: 700; margin: 8px 0; overflow-wrap: anywhere; }
.cifra .sub { font-size: 11px; line-height: 1.7; }
.panel .cifras { gap: 8px; }
.panel .cifra { padding: 10px 5px; border: 0; background: var(--raised); }
.panel .cifra .valor { font-size: 30px; }
figure.portada { position: relative; margin: 24px 0; }
figure.portada img { height: 300px; border-radius: 16px; }
figure.portada figcaption { font-size: 10px; margin-top: 10px; }
.bloque { margin-bottom: 38px; }
.bloque > header { margin-bottom: 18px; }
.tabla-marco { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
table { font-size: 12px; line-height: 1.6; }
th { padding: 13px 11px; background: var(--raised); text-transform: uppercase; letter-spacing: .4px; font-size: 9px; }
td { padding: 13px 11px; }
tbody tr:nth-child(even) { background: color-mix(in srgb, var(--raised) 40%, var(--surface)); }
tbody tr:hover { background: var(--raised); }
.panel .tabla-marco { border: 0; }
.panel th, .panel td { padding: 11px 6px; }
.panel table { font-size: 11px; }
.panel .small { font-size: 10px; line-height: 1.8; }
.panel > p:last-child > a { font-size: 11px; font-weight: 700; }
details.mas { background: var(--surface); border-radius: 11px; margin-bottom: 12px; }
details.mas > summary { padding: 20px 22px; font-size: 15px; }
details.mas > summary .muted { font-size: 11px; }
details.mas > summary::after { color: var(--accent); }
.pie { max-width: 1320px; padding: 30px 0; border-top: 2px solid var(--text); font-size: 11px; gap: 20px; }
.pie > span:first-child { font-weight: 700; color: var(--text); }
.pie .creditos { font-size: 11px; line-height: 1.9; }
.aviso { font-size: 12px; }
.vacio { font-size: 13px; }
@media (prefers-color-scheme: dark) {
  :root { --ground: #0c1624; --surface: #142235; --raised: #1a2d43; --text: #edf3fb; --muted: #a8b9cd; --accent: #80b7fa; --accent-soft: #213c5d; --border: #2a3c50; --rule: #25374b; }
  .barra { background: #101e30; }
  .res { color: #0b1220; }
}
@media (min-width: 1050px) { [data-page='hoy'] > .dos > aside { padding-top: 0; } }
@media (max-width: 1380px) { .edicion, .pie { margin-left: 32px; margin-right: 32px; } }
@media (max-width: 1050px) {
  .barra { gap: 20px; padding: 18px 24px; }
  .pestanas a { padding: 0 11px; }
  .dos { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .principal { padding: 28px; }
  .principal h2 { font-size: 46px; }
  .feed { gap: 14px; }
  .feed li > div:not(.miniatura) { padding: 16px; }
  .herramientas-noticias .controles { max-width: none; }
}
@media (max-width: 900px) {
  .dos { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  [data-page='hoy'] > .dos > aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  [data-page='hoy'] > .dos > aside .panel + .panel { margin-top: 0; }
  [data-page='hoy'] > .dos > aside .panel:last-child { grid-column: 1 / -1; }
  .principal h2 { font-size: 54px; }
  .intro-descripcion { font-size: 15px; }
  .cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  :root { --pad: 20px; }
  .barra { display: flex; flex-wrap: wrap; padding: 18px 20px 0; gap: 16px; min-height: 0; position: sticky; top: 0; }
  .marca { display: flex; }
  .marca > svg { width: 38px; height: 38px; padding: 7px; border-radius: 9px; }
  .marca > span { font-size: 39px; }
  .marca small { font-size: 7px; letter-spacing: 1.5px; margin-top: 9px; }
  .barra nav { width: 100%; }
  .pestanas { gap: 3px; }
  .pestanas a { padding: 0 12px; height: 45px; font-size: 12px; border-radius: 0; }
  .pestanas a[aria-current='page'] { background: transparent; box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
  .pestanas .cl { font-size: 12px; gap: 6px; }
  .pestanas .cl img { width: 17px; height: 21px; }
  .edicion { margin: 0 20px; font-size: 8px; letter-spacing: .7px; padding: 11px 0; }
  .edicion > :last-child { display: none; }
  .edicion-fecha { white-space: nowrap; }
  .contenido { padding-top: 25px; }
  .portada-intro { display: block; margin-bottom: 25px; }
  .portada-intro h1 { font-size: clamp(58px, 12.8vw, 82px); }
  .seccion-etiqueta { font-size: 8px; letter-spacing: 1.1px; margin-bottom: 14px; }
  .intro-descripcion { font-size: 13px; margin-top: 16px; padding: 0; border: 0; }
  .intro-descripcion br { display: none; }
  .intro-descripcion span { display: none; }
  .actualidad { padding: 13px; gap: 12px; margin-bottom: 26px; font-size: 10px; align-items: flex-start; }
  .actualidad-etiqueta { font-size: 8px; padding-right: 12px; margin-top: 3px; }
  .actualidad > a { display: none; }
  .cabecera-noticias { margin-bottom: 14px; }
  .cabecera-noticias h2 { font-size: 29px; }
  .cabecera-noticias > span { font-size: 7px; letter-spacing: .8px; }
  .filtros { gap: 3px; width: 100%; }
  .filtros button { flex: 1; padding: 0 7px; font-size: 11px; height: 38px; }
  .herramientas-noticias { gap: 10px; }
  .herramientas-noticias .controles { flex-basis: 100%; max-width: none; }
  .principal { min-height: 490px; padding: 24px; border-radius: 12px; }
  .principal h2 { font-size: 43px; }
  .principal p { font-size: 14px; }
  .principal-texto { padding-top: 130px; }
  .principal > figure { order: 0; }
  .principal > figure figcaption { font-size: 9px; text-align: left; top: 12px; left: 14px; right: 14px; margin-left: 0; }
  .feed { gap: 14px; }
  .feed h3 { font-size: 26px; }
  .miniatura { width: 100%; }
  .mini-foto { margin: 0; }
  .mini-foto img { height: 150px; }
  .feed li > div:not(.miniatura) { padding: 16px; }
  .miniatura > .vs { display: flex; }
  .miniatura > .escudo { display: block; }
  .pie { margin: 0 20px; padding-top: 25px; }
  figure.portada img { height: 200px; }
  details.mas > summary { flex-wrap: wrap; gap: 8px; padding: 16px; font-size: 14px; }
  details.mas > .dentro { padding: 0 12px 16px; }
  td, th { padding: 10px 7px; }
  .cifra { padding: 16px; }
  .cifra .valor { font-size: 34px; }
}
@media (max-width: 480px) {
  .feed { grid-template-columns: minmax(0, 1fr); }
  .feed > li:only-child { display: flex; }
  .feed > li:only-child .mini-foto img { height: 190px; }
  .mini-foto img { height: 190px; }
  [data-page='hoy'] > .dos > aside { display: block; }
  [data-page='hoy'] > .dos > aside .panel + .panel { margin-top: 18px; }
  .edicion { gap: 10px; font-size: 7px; }
  .edicion > :first-child { letter-spacing: .1px; gap: 5px; }
  .edicion > :first-child::before { width: 4px; height: 4px; }
  .portada-intro h1 { font-size: clamp(44px, 13.4vw, 66px); }
  .principal h2 { font-size: 40px; }
  .principal { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .feed li:hover, .principal:hover > figure img { transform: none; }
}
