:root {
  color-scheme: dark;
  --green: #08c45a;
  --green-bright: #42e57e;
  --ink: #020604;
  --panel: #0a1510;
  --line: rgba(255,255,255,.105);
  --muted: #a8b7ae;
  --white: #f6fbf8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 3%, rgba(8,196,90,.14), transparent 31rem),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    #010302;
  background-size: auto, 64px 64px, 64px 64px, auto;
  background-attachment: fixed;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: -55vh -55vw;
  z-index: 0;
  pointer-events: none;
  background-image: url('/bull-watermark-v2.png');
  background-repeat: repeat;
  background-size: 520px auto;
  background-position: center;
  opacity: .012;
  transform: rotate(45deg) scale(1.12);
  transform-origin: center;
  filter: brightness(1) saturate(.55);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(135deg, transparent 1%, #000 15%, #000 85%, transparent 99%);
  mask-image: linear-gradient(135deg, transparent 1%, #000 15%, #000 85%, transparent 99%);
}

body > * { position: relative; z-index: 1; }

a { color: inherit; }

.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(2,6,4,.86);
  box-shadow: 0 14px 35px rgba(0,0,0,.22);
  backdrop-filter: blur(20px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.025em;
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand strong { color: var(--green-bright); }

main { width: min(1320px, calc(100% - 44px)); margin: 0 auto; }

.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(30px, 6vw, 100px);
  padding: clamp(58px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green-bright);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .18em;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 7.3rem);
  line-height: .91;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green-bright);
}

.intro {
  max-width: 620px;
  margin: 30px 0 34px;
  color: #c6d2cb;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 14px 24px;
  border: 1px solid var(--green-bright);
  background: var(--green);
  color: #001d0c;
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.primary:hover, .primary:focus-visible { background: var(--green-bright); transform: translateY(-2px); }
.primary:focus-visible, .card:focus-visible { outline: 3px solid white; outline-offset: 4px; }

.crest-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
}

.crest-wrap img {
  position: relative;
  z-index: 2;
  width: min(100%, 490px);
  filter: drop-shadow(0 32px 70px rgba(0,0,0,.65));
}

.access { padding: clamp(70px, 8vw, 115px) 0; }

.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 32px; }

h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(9,15,11,.95), rgba(1,3,2,.98));
  text-decoration: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -40px -90px auto;
  width: 210px;
  height: 210px;
  border: 38px solid rgba(0,182,79,.08);
  transform: rotate(15deg);
}

.card.active { transition: border-color .2s ease, transform .2s ease; }
.card.active:hover { border-color: var(--green-bright); transform: translateY(-4px); }

.card-number { color: rgba(255,255,255,.35); font-size: .9rem; font-weight: 800; }

.card-label {
  width: fit-content;
  margin: 38px 0 18px;
  padding: 5px 10px;
  border: 1px solid rgba(25,210,105,.5);
  color: var(--green-bright);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.card h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.04em; line-height: 1.05; }
.card p { max-width: 570px; margin: 18px 0 30px; color: var(--muted); font-size: 1rem; }
.card-action { margin-top: auto; color: var(--green-bright); font-weight: 900; }
.card-action b { margin-left: 10px; }

.history-note {
  max-width: 690px;
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--green-bright);
  color: #b9c9c0;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.history-note strong { color: var(--white); }

/* Archivo histórico */

.campaigns-page {
  background:
    linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 54px),
    radial-gradient(circle at 90% 8%, rgba(0,182,79,.14), transparent 36rem),
    #000;
  background-size: 54px 54px, auto, auto;
}

.campaigns-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #dce7e0;
  background: rgba(255,255,255,.025);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: var(--green-bright);
  color: var(--green-bright);
  background: rgba(66,229,126,.07);
}

.back-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.campaigns-main { width: min(1760px, calc(100% - 44px)); }

.campaigns-hero {
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding: clamp(70px, 8vw, 126px) 0 clamp(56px, 6vw, 92px);
  border-bottom: 1px solid var(--line);
}

.campaigns-hero h1 { max-width: 1040px; font-size: clamp(4rem, 8vw, 8rem); }

.campaigns-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: #c6d2cb;
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
}

.ranking-mark {
  min-width: 190px;
  display: grid;
  justify-items: end;
  line-height: .8;
}

.ranking-mark b {
  color: transparent;
  font-size: clamp(8rem, 15vw, 15rem);
  letter-spacing: -.1em;
  -webkit-text-stroke: 2px rgba(25,210,105,.7);
}

.ranking-mark span {
  margin-top: 22px;
  color: var(--green-bright);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .24em;
}

.method,
.audit {
  display: grid;
  grid-template-columns: minmax(230px, .34fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 120px);
  padding: clamp(58px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.method-grid p {
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(7,15,10,.96);
  color: var(--muted);
}

.method-grid strong { display: block; margin-bottom: 5px; color: var(--white); }

.ranking-section { padding: clamp(64px, 8vw, 110px) 0; }
.ranking-heading { gap: 24px; }
.table-help { margin: 0; color: var(--muted); font-size: .92rem; }

.campaign-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(5,12,8,.94);
  box-shadow: 0 34px 90px rgba(0,0,0,.24);
}

.campaign-table {
  width: 100%;
  min-width: 1510px;
  border-collapse: collapse;
  font-size: .88rem;
}

.campaign-table thead { background: #102219; }

.campaign-table th,
.campaign-table td {
  padding: 16px 13px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  vertical-align: top;
  text-align: left;
}

.campaign-table thead th {
  position: sticky;
  top: 87px;
  z-index: 10;
  color: #c4d3ca;
  font-size: .67rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.campaign-table tbody tr { transition: background .18s ease; }
.campaign-table tbody tr:hover { background: rgba(25,210,105,.055); }
.campaign-table tbody tr:last-child > * { border-bottom: 0; }
.campaign-table .podium-row { background: rgba(0,182,79,.035); }
.campaign-table .current-row {
  background: rgba(255,174,66,.075);
  box-shadow: inset 4px 0 0 #ffae42;
}
.campaign-table .current-row:hover { background: rgba(255,174,66,.11); }

.live-badge {
  width: fit-content;
  display: inline-block;
  margin-top: 7px;
  padding: 3px 7px;
  border: 1px solid rgba(255,174,66,.65);
  color: #ffc36e;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.campaigns-page--worst .campaigns-hero h1 span {
  -webkit-text-stroke-color: #ffb454;
}

.campaigns-page--worst .ranking-mark b {
  -webkit-text-stroke-color: rgba(255,180,84,.72);
}

.campaigns-page--worst .ranking-mark span { color: #ffbd68; }

.current-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(255,174,66,.42);
  background: rgba(255,174,66,.07);
}

.current-notice b {
  padding: 5px 9px;
  background: #ffae42;
  color: #211100;
  font-size: .67rem;
  letter-spacing: .1em;
}

.current-notice p { margin: 0; color: #e9d7bd; }

.campaign-table th[scope="row"] { min-width: 132px; }
.campaign-table th[scope="row"] b { display: block; color: var(--white); font-size: 1.08rem; }
.campaign-table th[scope="row"] small { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; line-height: 1.35; }
.campaign-table td:nth-child(n+4):nth-child(-n+10) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.campaign-table td:nth-child(12) { min-width: 180px; }
.campaign-table td:nth-child(13) { min-width: 150px; }
.campaign-table td:last-child { min-width: 145px; }

.rank {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin-right: 38px;
  border: 1px solid rgba(255,255,255,.18);
  color: #b8c5bd;
  font-weight: 900;
}

.rank::after {
  content: "";
  position: absolute;
  left: 38px;
  top: -3px;
  width: 29px;
  height: 35px;
  background: url('/escudo-chicago.png') center / contain no-repeat;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.48));
}

.rank-1 { border-color: #d9ae47; background: #d9ae47; color: #161003; }
.rank-2 { border-color: #bdc5c1; background: #bdc5c1; color: #111713; }
.rank-3 { border-color: #b97745; background: #b97745; color: #1d0d03; }
.pct { color: var(--green-bright); font-size: .98rem; white-space: nowrap; }

.campaign-table details { position: relative; }

.campaign-table summary {
  width: max-content;
  cursor: pointer;
  color: var(--green-bright);
  font-weight: 900;
  list-style: none;
  white-space: nowrap;
}

.campaign-table summary::-webkit-details-marker { display: none; }
.campaign-table summary::after { content: " +"; }
.campaign-table details[open] summary::after { content: " −"; }

.detail-body {
  width: min(660px, 72vw);
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(25,210,105,.28);
  background: #0d1b13;
  color: #d9e4dd;
  box-shadow: 0 18px 45px rgba(0,0,0,.38);
  font-size: .88rem;
  line-height: 1.55;
}

.detail-body p { margin: 12px 0 0; }
.detail-body .caveat { color: var(--muted); font-size: .8rem; }

.evidence {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.16);
  color: #d9e4dd;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.evidence.complete { border-color: rgba(25,210,105,.55); color: var(--green-bright); }
.evidence.base { border-color: rgba(214,174,74,.55); color: #e6c776; }
.evidence.partial { border-color: rgba(113,165,227,.5); color: #9cc8f4; }
.evidence.missing { color: #a6b1aa; }

/* Goles históricos */

.goals-page {
  background:
    radial-gradient(circle at 80% 8%, rgba(66,229,126,.16), transparent 34rem),
    radial-gradient(circle at 12% 26%, rgba(255,180,84,.08), transparent 26rem),
    linear-gradient(135deg, rgba(255,255,255,.022) 0 1px, transparent 1px 54px),
    #000;
  background-size: auto, auto, 54px 54px, auto;
}

.goals-hero .feature-lead { max-width: 780px; }

.goals-symbol {
  color: transparent;
  -webkit-text-stroke: 2px rgba(66,229,126,.72);
  font-size: clamp(9rem, 20vw, 18rem);
  font-weight: 950;
  letter-spacing: -.13em;
}

.goals-kpi-grid,
.goals-record-grid,
.goals-split-grid {
  display: grid;
  gap: 14px;
}

.goals-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.goals-record-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.goals-split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.goals-kpi-grid article,
.goals-record-grid article,
.goals-split-grid article {
  min-height: 170px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(7,15,10,.97), rgba(1,3,2,.98));
}

.goals-kpi-grid span,
.goals-record-grid span,
.goals-split-grid span,
.goals-board header span {
  display: block;
  margin-bottom: 10px;
  color: var(--green-bright);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.goals-kpi-grid strong,
.goals-record-grid strong,
.goals-split-grid strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.goals-kpi-grid p,
.goals-record-grid p,
.goals-split-grid p {
  margin: 14px 0 0;
  color: #c8d6ce;
}

.goals-kpi-grid small {
  display: block;
  margin-top: 10px;
  color: #ffcb83;
  font-weight: 800;
}

.goals-alert {
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(255,174,66,.42);
  background: rgba(255,174,66,.075);
}

.goals-alert strong { color: #ffcb83; }
.goals-alert p { margin: 6px 0 0; color: #ead8bf; }

.goals-central-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.goals-central-list article {
  display: grid;
  grid-template-columns: minmax(120px, .85fr) minmax(110px, .55fr) minmax(0, 2fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255,174,66,.18);
  background: linear-gradient(135deg, rgba(0,0,0,.24), rgba(4,14,8,.5));
}

.goals-central-list span {
  color: var(--green-bright);
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.goals-central-list strong {
  color: #ffcb83;
  font-size: .95rem;
  line-height: 1.35;
  white-space: nowrap;
}

.goals-central-list p,
.goals-central-list small {
  margin: 0;
  color: #ead8bf;
  font-size: .95rem;
  line-height: 1.35;
}

.goals-central-list small {
  grid-column: 3;
  color: #fff4df;
  font-weight: 800;
}

.goals-table-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.goals-board {
  border: 1px solid var(--line);
  background: rgba(5,12,8,.94);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.goals-board--warning { border-color: rgba(255,174,66,.2); }

.goals-board header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.goals-board h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -.035em;
}

.goals-table-wrap { overflow-x: auto; }

.goals-table {
  width: 100%;
  min-width: 470px;
  border-collapse: collapse;
  font-size: .92rem;
}

.goals-table th,
.goals-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
}

.goals-table th {
  color: #c6d6cd;
  background: rgba(255,255,255,.035);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.goals-table td:nth-child(n+3) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.goals-table th:nth-child(n+3) {
  text-align: right;
}

.goals-table tr:last-child td { border-bottom: 0; }
.goals-table tbody tr:hover { background: rgba(66,229,126,.055); }

.goals-current-row {
  background: rgba(255,174,66,.1);
  box-shadow: inset 4px 0 0 #ffae42;
}

.goals-current-row td:first-child,
.goals-current-row td:nth-child(2) {
  color: #ffcb83;
  font-weight: 900;
}

@media (max-width: 1000px) {
  .goals-kpi-grid,
  .goals-record-grid,
  .goals-table-grid,
  .goals-split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .goals-symbol { display: none; }
  .goals-kpi-grid,
  .goals-record-grid,
  .goals-table-grid,
  .goals-split-grid {
    grid-template-columns: 1fr;
  }
  .goals-kpi-grid article,
  .goals-record-grid article,
  .goals-split-grid article {
    min-height: 0;
  }
  .goals-central-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }
  .goals-central-list small { grid-column: auto; }
  .goals-board header { padding: 20px 18px; }
  .goals-table th,
  .goals-table td { padding: 12px 11px; }
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.source-links a {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.16);
  color: #dbe7df;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 800;
}

.source-links a:hover,
.source-links a:focus-visible { border-color: var(--green-bright); color: var(--green-bright); }

.audit { border-top: 1px solid var(--line); border-bottom: 0; }
.audit-copy { max-width: 980px; color: var(--muted); }
.audit-copy > p { margin: 0 0 18px; }
.global-sources { margin-top: 28px; }

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(22px, 5vw, 82px);
  border-top: 1px solid var(--line);
  color: #9caaa2;
  font-size: .9rem;
}

footer span { color: var(--white); font-weight: 900; }
footer p { margin: 0; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  width: 42px;
  height: 48px;
  object-fit: contain;
}

.footer-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  text-align: right;
}

.creator-credit {
  color: inherit;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.view-counter {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  margin-top: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(66, 229, 126, .22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(66, 229, 126, .075), rgba(8, 17, 12, .85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  font-size: .8125rem;
  line-height: 1.4;
  white-space: nowrap;
}

.view-counter svg { flex-shrink: 0; color: var(--green-bright); }
.view-counter .view-counter-label { color: var(--muted); font-weight: 400; }
.view-counter-value { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 820px) {
  .view-counter { justify-self: start; }
}

@media (max-width: 820px) {
  .topbar { min-height: 76px; padding-inline: 18px; }
  .brand img { width: 48px; height: 48px; }
  main { width: min(100% - 34px, 680px); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 34px; padding: 54px 0 68px; }
  .hero-copy { text-align: left; }
  h1 { font-size: clamp(3rem, 15vw, 5.8rem); }
  .crest-wrap { min-height: 280px; order: -1; }
  .crest-wrap img { width: min(78vw, 330px); }
  .primary { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 300px; }
  .campaigns-main { width: min(100% - 28px, 680px); }
  .campaigns-hero { min-height: auto; grid-template-columns: 1fr; padding: 58px 0; }
  .campaigns-hero h1 { font-size: clamp(3.45rem, 17vw, 6rem); }
  .campaigns-lead { margin-top: 24px; }
  .ranking-mark { display: none; }
  .method,
  .audit { grid-template-columns: 1fr; gap: 28px; }
  .method-grid { grid-template-columns: 1fr; }
  .ranking-heading { align-items: flex-start; flex-direction: column; }
  .current-notice { grid-template-columns: 1fr; gap: 10px; }

  .campaign-table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .campaign-table { min-width: 0; display: block; }
  .campaign-table thead { display: none; }
  .campaign-table tbody { display: grid; gap: 14px; }
  .campaign-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(17,35,25,.93), rgba(7,15,10,.96));
  }
  .campaign-table th,
  .campaign-table td {
    min-width: 0 !important;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.075) !important;
    font-size: .86rem;
  }
  .campaign-table th::before,
  .campaign-table td::before {
    content: attr(data-label);
    color: #73827a;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .campaign-table tr > :nth-child(-n+3),
  .campaign-table tr > :nth-child(n+12) { grid-column: 1 / -1; }
  .campaign-table tr > :first-child { align-items: center; }
  .campaign-table td:last-child { border-bottom: 0 !important; }
  .campaign-table details,
  .campaign-table summary { width: 100%; }
  .detail-body { width: 100%; padding: 16px; }
  footer { align-items: flex-start; flex-direction: column; padding: 28px 18px; }
  .footer-copy { text-align: left; }
}

@media (max-width: 760px) {
  body::before { background-size: 380px auto; opacity: .018; }
}

@media (max-width: 500px) {
  .campaigns-topbar .brand span { font-size: .82rem; }
  .back-link { padding: 8px 10px; font-size: .75rem; }
  .campaign-table tr { grid-template-columns: 1fr; padding: 16px; }
  .campaign-table tr > * { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Todas las campañas */

.all-campaigns-main {
  width: min(1480px, calc(100% - 44px));
}

.all-campaigns-hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(36px, 8vw, 130px);
  padding: clamp(64px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}

.all-campaigns-hero h1 {
  max-width: 1000px;
  font-size: clamp(4rem, 8vw, 8rem);
}

.archive-number {
  display: grid;
  justify-items: end;
  text-align: right;
}

.archive-number strong {
  color: transparent;
  font-size: clamp(7rem, 14vw, 13rem);
  font-weight: 950;
  letter-spacing: -.1em;
  line-height: .72;
  -webkit-text-stroke: 2px rgba(25,210,105,.72);
}

.archive-number span {
  margin-top: 30px;
  color: var(--green-bright);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .22em;
  line-height: 1.6;
}

.archive-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(4,12,7,.78);
}

.archive-overview div {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 20px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.archive-overview div:last-child { border-right: 0; }
.archive-overview strong { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; }
.archive-overview span { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.archive-section { padding: clamp(68px, 8vw, 116px) 0; }

.archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.archive-heading > p { margin: 0; color: var(--muted); }

.archive-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, .5fr) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7,17,11,.9);
  box-shadow: 0 18px 54px rgba(0,0,0,.2);
}

.archive-search,
.archive-filter {
  display: grid;
  gap: 7px;
}

.archive-search > span,
.archive-filter > span {
  color: #8fa097;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.archive-search input,
.archive-filter select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  outline: 0;
  color: var(--white);
  background: #07110b;
  font: inherit;
}

.archive-search input:focus,
.archive-filter select:focus { border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(25,210,105,.13); }

.result-count {
  min-width: 172px;
  margin: 0 0 13px;
  color: var(--green-bright);
  font-size: .82rem;
  font-weight: 900;
  text-align: right;
}

.campaigns-list { display: grid; gap: 14px; }

.archive-loading {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(7,17,11,.84);
}

.archive-loading img { width: 58px; height: 68px; object-fit: contain; }
.archive-loading p { margin: 0; }

.season-card {
  scroll-margin-top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15,31,22,.96), rgba(5,12,8,.98));
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
}

.season-card[hidden] { display: none; }
.season-card[open] { border-color: rgba(25,210,105,.42); }

.season-card > summary {
  min-height: 124px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(20px, 3.5vw, 38px);
  cursor: pointer;
  list-style: none;
}

.season-card > summary::-webkit-details-marker { display: none; }
.season-card > summary:hover { background: rgba(25,210,105,.035); }
.season-card > summary:focus-visible { outline: 3px solid white; outline-offset: -5px; }

.season-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.season-text { min-width: 0; display: grid; }

.season-number {
  color: var(--green-bright);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.season-title-row {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 9px;
  margin-top: 2px;
}

.season-year {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  letter-spacing: -.055em;
  line-height: .98;
}

.season-milestones {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.season-milestone {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #dce5df;
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.season-milestone--champion {
  border-color: rgba(25,210,105,.72);
  background: rgba(25,210,105,.15);
  color: #8ff3b9;
}

.season-milestone--champion::before {
  content: "★";
  margin-right: 5px;
  color: #ffd45e;
}

.season-milestone--promotion {
  border-color: rgba(92,164,255,.62);
  background: rgba(92,164,255,.12);
  color: #a9d0ff;
}

.season-milestone--relegation {
  border-color: rgba(255,103,103,.62);
  background: rgba(255,103,103,.12);
  color: #ffaaaa;
}

.season-milestone--administrative {
  border-color: rgba(255,193,106,.58);
  background: rgba(255,193,106,.1);
  color: #ffd08d;
}

.season-milestone--runner-up {
  border-color: rgba(205,218,210,.36);
  background: rgba(205,218,210,.09);
  color: #dce5df;
}

.season-competition {
  margin-top: 7px;
  overflow: hidden;
  color: var(--muted);
  font-size: .88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-meta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.position-list { display: flex; align-items: stretch; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }

.position-badge {
  min-width: 94px;
  display: grid;
  align-content: center;
  justify-items: end;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: rgba(0,0,0,.22);
}

.position-badge small { color: #829188; font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.position-badge b { color: var(--white); font-size: .96rem; }

.in-progress-badge {
  align-self: center;
  padding: 7px 9px;
  border: 1px solid rgba(255,180,84,.6);
  border-radius: 8px;
  color: #ffc16a;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.open-label {
  color: var(--green-bright);
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
}

.open-label::after { content: " +"; }
.season-card[open] .open-label::after { content: " −"; }

.team-crest {
  position: relative;
  width: 38px;
  height: 42px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
}

.team-crest img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 7px rgba(0,0,0,.48));
}

.team-initials {
  position: absolute;
  inset: 4px 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(25,210,105,.35);
  border-radius: 7px;
  color: #b8c9bf;
  background: rgba(8,24,14,.85);
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: -.02em;
}

.team-initials.is-undocumented {
  border-style: dashed;
  border-color: rgba(160,181,169,.55);
  border-radius: 9px 9px 13px 13px;
  color: #a9b8af;
  background: linear-gradient(145deg, rgba(18,29,22,.96), rgba(5,10,7,.96));
}

.team-crest.has-image .team-initials { display: none; }
.campaign-mark { width: 52px; height: 60px; flex-basis: 52px; }
.campaign-mark .team-initials { display: none; }

.season-content {
  padding: 28px clamp(18px, 3.5vw, 38px) clamp(28px, 4vw, 42px);
  border-top: 1px solid var(--line);
  background: rgba(2,8,4,.62);
}

.season-content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.division-label,
.season-hint { margin: 0; }
.division-label { color: var(--white); font-weight: 900; }
.season-hint { color: var(--muted); font-size: .82rem; }

.standing-block + .standing-block { margin-top: 28px; }

.standing-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.standing-heading h4 { margin: 0; color: var(--white); font-size: 1rem; }

.standing-source {
  color: var(--green-bright);
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.standing-scroll {
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #040b07;
  scrollbar-color: var(--green) #0a1510;
}

.historical-table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
  color: #dce7e0;
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}

.historical-table th,
.historical-table td {
  min-width: 58px;
  padding: 10px 12px;
  border-right: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: center;
  white-space: nowrap;
}

.historical-table th:last-child,
.historical-table td:last-child { border-right: 0; }
.historical-table tbody tr:last-child td { border-bottom: 0; }

.historical-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  color: #9dafA4;
  background: #0d1b13;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.historical-table th.team-column,
.historical-table td.team-cell {
  min-width: 230px;
  text-align: left;
}

.historical-table tbody tr:hover td { background: rgba(255,255,255,.025); }

.historical-table .chicago-row td {
  color: #fafffc;
  background: rgba(0,182,79,.24);
  border-color: rgba(25,210,105,.24);
  font-weight: 900;
}

.historical-table .chicago-row td:first-child { box-shadow: inset 4px 0 0 var(--green-bright); }
.historical-table .chicago-row:hover td { background: rgba(0,182,79,.31); }

.team-cell { display: flex; align-items: center; gap: 11px; }
.team-cell .team-crest { width: 28px; height: 31px; flex-basis: 28px; }
.team-name { overflow: hidden; text-overflow: ellipsis; }

.known-record {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(25,210,105,.28);
  border-radius: 14px;
  background: rgba(8,25,15,.72);
}

.known-record-title { margin: 0 0 18px; color: var(--white); font-weight: 900; }
.known-record-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.known-stat { display: grid; justify-items: center; gap: 4px; padding: 13px 8px; background: #08110b; }
.known-stat span { color: var(--muted); font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.known-stat strong { font-size: 1.08rem; }
.known-record-note { margin: 18px 0 0; color: #bdcbc3; font-size: .84rem; }

.season-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.season-sources a { padding: 6px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; color: #aebdb4; text-decoration: none; font-size: .68rem; font-weight: 800; }
.season-sources a:hover,
.season-sources a:focus-visible { border-color: var(--green-bright); color: var(--green-bright); }

.archive-error { padding: 30px; border: 1px solid rgba(255,180,84,.45); color: #ffc16a; background: rgba(255,180,84,.06); }

.archive-notes {
  display: grid;
  grid-template-columns: minmax(250px, .34fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 120px);
  padding: clamp(64px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.archive-notes-copy { color: var(--muted); }
.archive-notes-copy > p { margin: 0 0 16px; }

@media (max-width: 900px) {
  .all-campaigns-hero { min-height: auto; grid-template-columns: 1fr; padding: 58px 0; }
  .all-campaigns-hero h1 { font-size: clamp(3.5rem, 16vw, 6.5rem); }
  .archive-number { display: none; }
  .archive-tools { grid-template-columns: 1fr 1fr; }
  .result-count { grid-column: 1 / -1; margin: 2px 0 0; text-align: left; }
  .season-card > summary { grid-template-columns: 1fr; gap: 18px; }
  .season-meta { justify-content: space-between; padding-left: 72px; }
  .position-list { justify-content: flex-start; }
  .known-record-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .archive-notes { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
  .all-campaigns-main { width: min(100% - 26px, 680px); }
  .all-campaigns-hero { padding: 46px 0 54px; }
  .campaign-switch { width: 100%; }
  .campaign-switch a { flex: 1; padding-inline: 9px; font-size: .74rem; }
  .archive-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-overview div { min-height: 92px; border-bottom: 1px solid var(--line); }
  .archive-overview div:nth-child(2) { border-right: 0; }
  .archive-overview div:nth-child(n+3) { border-bottom: 0; }
  .archive-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .archive-tools { grid-template-columns: 1fr; padding: 14px; }
  .result-count { grid-column: auto; }
  .season-card > summary { min-height: 0; padding: 18px; }
  .season-identity { align-items: flex-start; gap: 14px; }
  .campaign-mark { width: 44px; height: 50px; flex-basis: 44px; }
  .season-year { font-size: 2.35rem; }
  .season-title-row { gap: 8px; }
  .season-milestone { white-space: normal; }
  .season-competition { max-width: 230px; }
  .season-meta { align-items: flex-start; flex-direction: column; gap: 12px; padding-left: 58px; }
  .position-badge { min-width: 0; justify-items: start; }
  .open-label { width: 100%; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
  .season-content { padding: 20px 14px 24px; }
  .season-content-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .standing-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .standing-scroll::before { content: "Deslizá la tabla hacia los costados ↔"; display: block; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.08); color: #819088; font-size: .64rem; font-weight: 800; }
  .historical-table { min-width: 700px; }
  .historical-table th,
  .historical-table td { padding: 9px 10px; }
  .historical-table th.team-column,
  .historical-table td.team-cell { min-width: 190px; }
  .known-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Goleadores y presencias */

.records-main { width: min(1320px, calc(100% - 44px)); }

.records-hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(36px, 8vw, 130px);
  padding: clamp(64px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}

.records-hero h1 {
  max-width: 980px;
  font-size: clamp(4rem, 8vw, 7.7rem);
}

.records-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #c6d2cb;
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
}

.records-mark {
  display: grid;
  justify-items: end;
  text-align: right;
}

.records-mark b {
  color: transparent;
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .8;
  -webkit-text-stroke: 2px rgba(25,210,105,.72);
}

.records-mark span {
  margin-top: 28px;
  color: var(--green-bright);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .22em;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(64px, 8vw, 110px) 0;
}

.record-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(15,34,23,.96), rgba(5,13,8,.98));
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.record-panel-head {
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(26px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 92% 8%, rgba(25,210,105,.18), transparent 17rem);
}

.record-panel-head h2 {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
}

.record-total {
  color: transparent;
  font-size: clamp(5rem, 8vw, 8rem);
  letter-spacing: -.09em;
  line-height: .72;
  -webkit-text-stroke: 2px rgba(25,210,105,.66);
}

.record-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.record-list li {
  min-height: 77px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(18px, 3vw, 32px);
  border-bottom: 1px solid rgba(255,255,255,.085);
}

.record-list li:last-child { border-bottom: 0; }
.record-list li:hover { background: rgba(25,210,105,.045); }
.record-list .record-podium { background: rgba(25,210,105,.035); }

.record-rank {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  color: #adbbb2;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.record-podium .record-rank {
  border-color: var(--green-bright);
  background: var(--green-bright);
  color: #001d0c;
}

.record-list strong {
  overflow: hidden;
  color: var(--white);
  font-size: 1rem;
  text-overflow: ellipsis;
}

.record-value {
  min-width: 96px;
  color: var(--muted);
  text-align: right;
  font-size: .76rem;
  text-transform: uppercase;
}

.record-value b {
  display: block;
  color: var(--green-bright);
  font-size: 1.45rem;
  line-height: 1;
}

.record-warning {
  margin: 20px;
  padding: 18px;
  border: 1px solid rgba(255,190,92,.42);
  background: rgba(255,174,66,.07);
  color: #d9c8ad;
}

.record-warning strong { color: #ffc16a; }
.record-warning p { margin: 6px 0 0; font-size: .86rem; }

.records-notes {
  display: grid;
  grid-template-columns: minmax(230px, .34fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 120px);
  padding: clamp(58px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.records-notes-copy { max-width: 900px; color: var(--muted); }
.records-notes-copy > p { margin: 0 0 16px; }

@media (max-width: 900px) {
  .records-hero { min-height: auto; grid-template-columns: 1fr; padding: 58px 0; }
  .records-hero h1 { font-size: clamp(3.4rem, 15vw, 6rem); }
  .records-mark { display: none; }
  .records-grid { grid-template-columns: 1fr; }
  .records-notes { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .records-main { width: min(100% - 26px, 680px); }
  .record-panel-head { min-height: 158px; align-items: flex-end; padding: 24px 18px; }
  .record-total { font-size: 5rem; }
  .record-list li { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; padding: 13px 16px; }
  .record-rank { width: 32px; height: 32px; }
  .record-list strong { font-size: .9rem; }
  .record-value { min-width: 72px; font-size: .64rem; }
  .record-value b { font-size: 1.25rem; }
}

/* Archivo integral 1911–2026 */

.history-page {
  --history-panel: rgba(8, 18, 12, .94);
  --history-soft: rgba(255, 255, 255, .045);
}

.history-main {
  width: min(1440px, calc(100% - 44px));
  margin: 0 auto;
}

.module-nav {
  display: flex;
  gap: 7px;
  padding: 18px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--line);
}

.module-nav a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: #aebdb4;
  background: rgba(255, 255, 255, .025);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 850;
}

.module-nav a:hover,
.module-nav a:focus-visible,
.module-nav a.is-active {
  border-color: var(--green-bright);
  color: #00190a;
  background: var(--green-bright);
}

.archive-hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .46fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding: clamp(64px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--line);
}

.archive-hero h1,
.search-hero h1 {
  font-size: clamp(3.8rem, 7.8vw, 7.6rem);
  line-height: .87;
}

.archive-hero > div > p:last-child,
.search-hero > p:last-child {
  max-width: 760px;
  margin: 28px 0 0;
  color: #bac9c0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-number {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border: 1px solid rgba(25, 210, 105, .34);
  border-radius: 24px;
  background: radial-gradient(circle at 90% 5%, rgba(25,210,105,.24), transparent 15rem), #07110b;
}

.hero-number strong {
  color: var(--green-bright);
  font-size: clamp(4rem, 8vw, 7.4rem);
  line-height: .8;
  letter-spacing: -.08em;
}

.hero-number span {
  margin-top: 24px;
  color: #d7e4dc;
  font-weight: 850;
  text-transform: uppercase;
}

.history-section { padding: clamp(66px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); }
.history-section .section-heading > p,
.section-aside { max-width: 440px; margin: 0; color: var(--muted); text-align: right; }

.history-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.history-actions a,
.card-plate-link {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 8px 12px;
  border: 1px solid rgba(25, 210, 105, .32);
  border-radius: 9px;
  color: var(--green-bright);
  background: rgba(25,210,105,.04);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 850;
}

.history-actions a:hover,
.card-plate-link:hover { border-color: var(--green-bright); background: rgba(25,210,105,.1); }
.history-tag { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 6px; color: var(--green-bright); background: rgba(25,210,105,.11); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.history-year { color: var(--green-bright); font-size: clamp(2.7rem, 6vw, 5.2rem); font-weight: 950; line-height: .9; letter-spacing: -.065em; }
.loading-note { padding: 30px; border: 1px dashed var(--line); color: var(--muted); }
.method-note { max-width: 900px; margin: 30px 0 0; padding: 18px 20px; border-left: 3px solid var(--green-bright); color: #bdccc3; background: rgba(25,210,105,.045); }
.muted-copy { color: var(--muted); }

.home-search {
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: 34px;
}

.home-search input {
  min-width: 0;
  min-height: 58px;
  padding: 14px 17px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  color: var(--white);
  background: rgba(4,13,8,.88);
  font: inherit;
}

.home-search button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 19px;
  border: 0;
  border-radius: 10px;
  color: #00190a;
  background: var(--green-bright);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.home-search svg { width: 19px; }
.history-access { border-bottom: 1px solid var(--line); }
.history-module-cards { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 34px; }
.archive-module-card { min-height: 305px; padding: clamp(22px,3vw,34px); }
.archive-module-card .card-label { margin-top: 25px; }
.archive-module-card h3 { font-size: clamp(1.55rem,2.4vw,2.25rem); }
.archive-module-card p { margin-top: 14px; font-size: .94rem; }

@media (max-width: 1080px) {
  .history-module-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .home-search { grid-template-columns: 1fr; }
  .home-search button { justify-content: center; }
  .history-module-cards { grid-template-columns: 1fr; }
  .archive-module-card { min-height: 280px; }
}

/* Efemérides */

.date-control {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--history-panel);
}

.date-control label,
.field label,
.archive-toolbar label { color: #b9c8bf; font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.date-control input,
.date-control button,
.field input,
.field textarea,
.field select,
.archive-toolbar input,
.search-hero input {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: var(--white);
  background: #07100b;
  font: inherit;
}

.date-control button,
.primary-action,
.search-hero button {
  min-height: 49px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  color: #00190a;
  background: var(--green-bright);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.anniversary-result { padding: clamp(60px, 8vw, 100px) 0; border-bottom: 1px solid var(--line); }
.result-heading { margin-bottom: 28px; }
.anniversary-card {
  display: grid;
  grid-template-columns: minmax(160px, .3fr) 1fr;
  gap: clamp(25px, 5vw, 70px);
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(25,210,105,.3);
  border-radius: 24px;
  background: radial-gradient(circle at 5% 100%, rgba(25,210,105,.13), transparent 26rem), var(--history-panel);
}
.anniversary-card h2 { margin: 16px 0; font-size: clamp(2rem, 4vw, 3.8rem); }
.anniversary-card p { max-width: 780px; color: #c3d0c8; }
.history-empty { padding: 32px; border: 1px dashed rgba(255,255,255,.22); border-radius: 16px; color: var(--muted); background: rgba(255,255,255,.025); }
.history-empty strong { color: var(--white); font-size: 1.3rem; }
.history-empty a { color: var(--green-bright); }
.anniversary-next { display: grid; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.anniversary-next span { color: var(--green-bright); font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.calendar-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.calendar-row { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 16px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 11px; color: var(--white); background: rgba(255,255,255,.025); text-align: left; cursor: pointer; }
.calendar-row:hover { border-color: var(--green-bright); }
.calendar-row span { color: var(--green-bright); font-weight: 850; text-transform: capitalize; }

/* Partidos */

.match-files { display: grid; gap: 30px; padding: clamp(62px, 8vw, 110px) 0; }
.match-file { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--history-panel); }
.match-file > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px clamp(24px,4vw,48px); border-bottom: 1px solid var(--line); }
.match-file > header p { margin: 9px 0 0; color: var(--muted); }
.match-score { color: var(--green-bright); font-size: clamp(3rem, 8vw, 6.4rem); line-height: .8; letter-spacing: -.07em; }
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; padding: 34px clamp(24px,4vw,48px) 15px; }
.match-teams h2 { font-size: clamp(2rem, 4vw, 4rem); }
.match-teams h2:last-child { text-align: right; }
.match-teams span { color: #68766e; font-weight: 900; }
.match-story { max-width: 930px; margin: 0; padding: 10px clamp(24px,4vw,48px) 32px; color: #cad7cf; font-size: 1.1rem; }
.match-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.match-facts div { min-height: 115px; display: flex; flex-direction: column; gap: 9px; padding: 22px; border-right: 1px solid var(--line); }
.match-facts div:last-child { border-right: 0; }
.match-facts span { color: var(--green-bright); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.match-detail-grid { display: grid; grid-template-columns: .8fr 1.2fr; }
.match-detail-grid section { padding: clamp(24px,4vw,46px); border-right: 1px solid var(--line); }
.match-detail-grid section:last-child { border-right: 0; }
.lineup-list { columns: 2; gap: 40px; margin: 0; padding-left: 28px; }
.lineup-list li { break-inside: avoid; margin-bottom: 7px; color: #d8e4dc; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.history-photo { margin: 0; background: #020403; }
.history-photo img { width: 100%; max-height: 720px; display: block; object-fit: contain; }
.history-photo figcaption,
.historical-gallery figcaption { padding: 13px 17px; color: var(--muted); font-size: .82rem; }
.history-photo a,
.historical-gallery a { color: var(--green-bright); }
.media-missing { padding: 30px clamp(24px,4vw,48px); border-top: 1px dashed var(--line); color: var(--muted); }
.media-missing strong { color: var(--white); }
.match-file > footer { padding: 0 clamp(24px,4vw,48px) 32px; background: none; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.media-card { overflow: hidden; padding-bottom: 26px; border: 1px solid var(--line); border-radius: 19px; background: var(--history-panel); }
.media-card > :not(.video-frame) { margin-left: 24px; margin-right: 24px; }
.media-card .history-tag { margin-top: 24px; }
.media-card h3 { margin-block: 13px 4px; font-size: 1.7rem; }
.media-card p { color: var(--muted); }
.media-card small { display: block; color: #91a097; }

/* Tablas y presidentes */

.history-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.history-table { width: 100%; min-width: 850px; border-collapse: collapse; background: var(--history-panel); }
.history-table th,
.history-table td { padding: 17px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.history-table thead th { color: var(--green-bright); background: rgba(25,210,105,.06); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.history-table tbody th { color: var(--white); font-size: 1rem; }
.history-table tbody td { color: #bdcbc2; }
.history-table td small { max-width: 190px; display: block; margin-top: 4px; color: #73827a; }
.history-table a { color: var(--green-bright); }
.source-callout { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin: 34px 0 clamp(65px,8vw,105px); padding: 25px 28px; border: 1px solid rgba(25,210,105,.27); border-radius: 16px; background: rgba(25,210,105,.045); }
.source-callout > p { max-width: 830px; margin: 0; color: #b9c8bf; }
.source-callout .history-actions { flex-shrink: 0; margin: 0; }
.archive-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 10px 25px; padding: 34px 0; }
.archive-toolbar label { grid-column: 1 / -1; }
.archive-toolbar input { min-width: 0; }
.archive-toolbar strong { align-self: center; color: var(--green-bright); }
.president-list { border-top: 1px solid var(--line); }
.president-row { display: grid; grid-template-columns: minmax(130px,.25fr) 1fr auto; gap: 30px; align-items: start; padding: 27px 12px; border-bottom: 1px solid var(--line); }
.president-row > span { color: var(--green-bright); font-size: 1.05rem; font-weight: 900; }
.president-row h2 { margin: 0; font-size: clamp(1.5rem,2.4vw,2.2rem); text-transform: none; letter-spacing: -.035em; }
.president-row p { margin: 8px 0 0; color: var(--muted); }
.president-row > b { padding: 6px 9px; border: 1px solid #ffb454; border-radius: 6px; color: #ffca7e; font-size: .67rem; letter-spacing: .07em; }
.president-row.needs-research { padding-inline: 20px; background: rgba(255,180,84,.05); }

/* Décadas */

.total-strip { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 36px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.total-strip div { min-height: 110px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border-right: 1px solid var(--line); }
.total-strip div:last-child { border-right: 0; }
.total-strip strong { color: var(--green-bright); font-size: 2rem; line-height: 1; }
.total-strip span { margin-top: 8px; color: var(--muted); font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.decade-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 44px 0 100px; }
.decade-card { padding: clamp(23px,3vw,34px); border: 1px solid var(--line); border-radius: 19px; background: var(--history-panel); }
.decade-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.decade-card header span { color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.decade-card h2 { margin-top: 7px; font-size: clamp(2rem,4vw,3.5rem); }
.decade-card header > strong { color: var(--green-bright); font-size: 1.55rem; }
.decade-stats { display: grid; grid-template-columns: repeat(6,1fr); margin: 24px 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.decade-stats div { display: grid; gap: 4px; justify-items: center; padding: 12px 5px; border-right: 1px solid var(--line); }
.decade-stats div:last-child { border: 0; }
.decade-stats span { color: #76867c; font-size: .65rem; font-weight: 900; }
.decade-card p { margin: 8px 0; color: #bac8c0; }
.decade-card small { display: block; margin-top: 16px; color: #ffca7e; }
.decade-card.is-provisional { border-color: rgba(255,180,84,.45); }
.card-plate-link { margin-top: 19px; }

/* Camisetas */

.symbols-hero > img { width: min(100%, 400px); aspect-ratio: 1; justify-self: center; object-fit: cover; border: 1px solid var(--line); border-radius: 24px; filter: drop-shadow(0 35px 60px rgba(0,0,0,.55)); }
.shirt-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.shirt-photo-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--history-panel); }
.shirt-photo-card figure { height: 330px; display: grid; place-items: center; margin: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: #f3f5f2; }
.shirt-photo-card img { width: 100%; height: 100%; display: block; object-fit: contain; }
.shirt-photo-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 21px; }
.photo-card-meta { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.photo-card-meta span { color: var(--green-bright); font-size: 1.08rem; font-weight: 950; }
.photo-card-meta b { color: #75877c; font-size: .62rem; letter-spacing: .08em; text-align: right; }
.shirt-photo-card h3 { margin: 13px 0 8px; font-size: 1.55rem; text-transform: none; }
.shirt-photo-card p { flex: 1; margin: 0 0 19px; color: var(--muted); font-size: .91rem; }
.shirt-photo-card a { color: var(--green-bright); font-size: .78rem; font-weight: 850; }

/* Línea de tiempo */

.old-ground-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,6vw,80px); align-items: center; margin: 44px 0; padding: clamp(28px,5vw,55px); border: 1px solid rgba(25,210,105,.3); border-radius: 24px; background: radial-gradient(circle at 12% 90%, rgba(25,210,105,.12), transparent 30rem), var(--history-panel); }
.old-ground-feature h2 { font-size: clamp(2.4rem,5vw,5rem); }
.old-ground-feature p { color: #c0cec5; }
.old-ground-feature figure { margin: 0; overflow: hidden; border-radius: 14px; background: #e9e5d5; }
.old-ground-feature img { width: 100%; max-height: 470px; display: block; object-fit: contain; }
.old-ground-feature figcaption { padding: 12px 14px; color: #38433c; background: #e9e5d5; font-size: .78rem; }
.old-ground-feature figcaption a { color: #006d2e; font-weight: 800; }
.old-ground-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 27px; border-block: 1px solid var(--line); }
.old-ground-stats span { display: flex; flex-direction: column; padding: 16px 12px 16px 0; color: var(--muted); font-size: .72rem; }
.old-ground-stats strong { color: var(--white); font-size: 1.1rem; }
.filter-row { display: flex; gap: 7px; padding: 28px 0; overflow-x: auto; }
.filter-chip { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: #b4c2b9; background: rgba(255,255,255,.025); font: inherit; font-size: .8rem; font-weight: 850; cursor: pointer; }
.filter-chip:hover,
.filter-chip.is-active { border-color: var(--green-bright); color: #00190a; background: var(--green-bright); }
.timeline-list { position: relative; padding: 18px 0 100px; }
.timeline-list::before { content: ""; position: absolute; left: 156px; top: 20px; bottom: 100px; width: 1px; background: rgba(25,210,105,.34); }
.timeline-item { position: relative; display: grid; grid-template-columns: 125px 1fr; gap: 62px; padding: 26px 0; }
.timeline-item::before { content: ""; position: absolute; left: 150px; top: 42px; width: 13px; height: 13px; border: 3px solid #020503; border-radius: 50%; background: var(--green-bright); }
.timeline-date { display: flex; flex-direction: column; align-items: flex-end; }
.timeline-date strong { color: var(--green-bright); font-size: 1.7rem; }
.timeline-date span { color: #6f7f75; font-size: .72rem; }
.timeline-item > div:last-child { padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.timeline-item h2 { margin: 12px 0; font-size: clamp(1.7rem,3.2vw,3rem); text-transform: none; }
.timeline-item p { max-width: 850px; color: var(--muted); }

/* Buscador */

.search-hero { padding: clamp(65px,8vw,110px) 0 50px; }
.search-hero form { max-width: 1000px; display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 38px; }
.search-hero input { min-height: 68px; padding-inline: 20px; font-size: 1.13rem; }
.search-hero button { min-width: 130px; min-height: 68px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.search-summary { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-block: 1px solid var(--line); }
.search-summary strong { color: var(--green-bright); }
.search-summary span { color: var(--muted); }
.search-results { display: grid; gap: 8px; padding: 28px 0 100px; }
.search-result { display: grid; grid-template-columns: 105px 1fr auto; align-items: center; gap: 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--history-panel); text-decoration: none; }
.search-result:hover { border-color: var(--green-bright); transform: translateX(3px); }
.search-result > span { color: var(--green-bright); font-size: .69rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.search-result h2 { margin: 0; font-size: 1.35rem; text-transform: none; }
.search-result p { margin: 5px 0 0; color: var(--muted); }
.search-result > b { color: var(--green-bright); font-size: 1.3rem; }

/* Generador de placas */

.plate-workspace { display: grid; grid-template-columns: minmax(280px,.36fr) minmax(0,1fr); gap: 28px; align-items: start; padding: 50px 0 105px; }
.plate-controls { display: grid; gap: 17px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--history-panel); }
.field { display: grid; gap: 7px; }
.field textarea { resize: vertical; min-height: 86px; }
.primary-action:disabled { cursor: wait; opacity: .6; }
.plate-download-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.plate-download-actions .primary-action,
.plate-download-actions .secondary-action { width: 100%; }
.secondary-action { min-height: 49px; padding: 12px 18px; border: 1px solid var(--green-bright); border-radius: 10px; color: var(--green-bright); background: transparent; font: inherit; font-weight: 900; cursor: pointer; }
.secondary-action:hover { color: #00190a; background: var(--green-bright); }
.secondary-action:disabled { cursor: wait; opacity: .6; }
.plate-save-status { min-height: 24px; margin: -5px 0 0; color: var(--muted); font-size: .86rem; }
.plate-save-status.is-success { color: var(--green-bright); }
.plate-save-status.is-error { color: #ff9d9d; }
.plate-preview { position: sticky; top: 105px; display: grid; gap: 11px; }
.plate-preview canvas { width: 100%; height: auto; display: block; border: 1px solid rgba(25,210,105,.35); border-radius: 18px; box-shadow: 0 25px 70px rgba(0,0,0,.45); }
.plate-preview > span { color: var(--muted); font-size: .8rem; text-align: center; }

/* Fuentes y aportes */

.method-grid { display: grid; grid-template-columns: repeat(3,1fr); margin: 42px 0 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.method-grid article { min-height: 235px; padding: 28px; border-right: 1px solid var(--line); background: var(--history-panel); }
.method-grid article:last-child { border-right: 0; }
.method-grid span { color: var(--green-bright); font-size: .72rem; font-weight: 900; }
.method-grid h2 { margin: 25px 0 12px; font-size: 1.8rem; text-transform: none; }
.method-grid p { color: var(--muted); }
.source-register { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.source-register a { display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; padding: 19px; border: 1px solid var(--line); border-radius: 11px; background: var(--history-panel); text-decoration: none; }
.source-register a:hover { border-color: var(--green-bright); }
.source-register strong { grid-column: 1; }
.source-register span { grid-column: 1; color: var(--muted); font-size: .8rem; }
.source-register b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--green-bright); }
.correction-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(35px,7vw,100px); padding: clamp(60px,8vw,110px) 0; }
.correction-section > div > p:last-child { color: var(--muted); }
.correction-form { display: grid; gap: 18px; padding: clamp(22px,4vw,38px); border: 1px solid rgba(25,210,105,.3); border-radius: 20px; background: var(--history-panel); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.honeypot { position: absolute; left: -10000px; }
.form-status { min-height: 24px; margin: 0; color: var(--muted); }
.form-status.is-success { color: var(--green-bright); }
.form-status.is-error { color: #ff9d9d; }

@media (max-width: 1000px) {
  .archive-hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-number { min-height: 180px; }
  .match-facts { grid-template-columns: repeat(2,1fr); }
  .match-facts div:nth-child(2) { border-right: 0; }
  .match-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .decade-grid { grid-template-columns: 1fr; }
  .shirt-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .old-ground-feature { grid-template-columns: 1fr; }
  .plate-workspace { grid-template-columns: 1fr; }
  .plate-preview { position: static; grid-row: 1; }
  .correction-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .history-main { width: calc(100% - 22px); }
  .archive-hero { gap: 30px; padding: 48px 0; }
  .archive-hero h1,
  .search-hero h1 { font-size: clamp(3.1rem,17vw,5.3rem); }
  .calendar-list,
  .media-grid,
  .shirt-photo-grid,
  .source-register { grid-template-columns: 1fr; }
  .calendar-row { grid-template-columns: 1fr auto; }
  .calendar-row strong { grid-column: 1; }
  .calendar-row b { grid-column: 2; grid-row: 1 / 3; }
  .anniversary-card { grid-template-columns: 1fr; }
  .match-teams { grid-template-columns: 1fr; gap: 5px; }
  .match-teams h2:last-child { text-align: left; }
  .match-teams span { display: none; }
  .match-detail-grid { grid-template-columns: 1fr; }
  .match-detail-grid section { border-right: 0; border-bottom: 1px solid var(--line); }
  .lineup-list { columns: 1; }
  .section-heading { align-items: flex-start; gap: 20px; }
  .section-aside { text-align: left; }
  .source-callout { align-items: flex-start; flex-direction: column; }
  .archive-toolbar { grid-template-columns: 1fr; }
  .archive-toolbar label { grid-column: 1; }
  .president-row { grid-template-columns: 1fr; gap: 8px; }
  .president-row > b { width: fit-content; }
  .total-strip { grid-template-columns: repeat(2,1fr); }
  .total-strip div { border-bottom: 1px solid var(--line); }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .shirt-photo-card figure { height: 300px; }
  .timeline-list::before { left: 11px; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; padding-left: 34px; }
  .timeline-item::before { left: 5px; }
  .timeline-date { align-items: flex-start; }
  .search-hero form { grid-template-columns: 1fr; }
  .search-result { grid-template-columns: 1fr auto; gap: 10px; }
  .search-result > span { grid-column: 1; }
  .search-result > div { grid-column: 1; }
  .search-result > b { grid-column: 2; grid-row: 1 / 3; }
  .search-summary { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .plate-download-actions { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .match-file > header { align-items: flex-start; }
  .match-score { font-size: 3.2rem; }
  .match-facts { grid-template-columns: 1fr; }
  .match-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .decade-stats { grid-template-columns: repeat(3,1fr); }
  .decade-stats div:nth-child(3) { border-right: 0; }
  .decade-stats div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .kit-era { grid-template-columns: 1fr; }
  .old-ground-stats { grid-template-columns: 1fr; }
  .old-ground-stats span { border-bottom: 1px solid var(--line); }
}

/* Comparador de campañas */

.feature-symbol.compare-symbol { min-width: 280px; font-size: clamp(7rem, 15vw, 14rem); }

.compare-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(12,24,17,.96), rgba(0,0,0,.98));
}

.campaign-select-field { min-width: 0; display: grid; gap: 10px; }
.campaign-select-field span { color: var(--green-bright); font-size: .7rem; font-weight: 900; letter-spacing: .13em; }

.campaign-select-field select {
  width: 100%;
  min-height: 62px;
  padding: 0 48px 0 17px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 0;
  outline: 0;
  background: #050a07;
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
}

.campaign-select-field select:focus { border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(25,210,105,.13); }

.compare-swap {
  width: 62px;
  height: 62px;
  border: 1px solid var(--green-bright);
  background: var(--green);
  color: #001d0c;
  cursor: pointer;
  font: inherit;
  font-size: 1.8rem;
  font-weight: 950;
}

.compare-swap:hover,
.compare-swap:focus-visible { background: var(--green-bright); }
.compare-swap:focus-visible { outline: 3px solid white; outline-offset: 4px; }

.compare-status { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
.comparison { margin-top: 42px; }

.comparison-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .58fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.campaign-summary {
  min-width: 0;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(18,39,27,.95), rgba(3,8,5,.98));
}

.campaign-summary--right { background: linear-gradient(210deg, rgba(18,39,27,.95), rgba(3,8,5,.98)); }
.campaign-summary-top { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.campaign-side { color: var(--green-bright); font-size: .7rem; font-weight: 900; letter-spacing: .13em; }
.campaign-live { padding: 4px 7px; border: 1px solid #ffb454; color: #ffca84; font-size: .62rem; font-weight: 950; letter-spacing: .08em; }
.campaign-summary h3 { margin: 32px 0 4px; font-size: clamp(3.3rem, 7vw, 6rem); letter-spacing: -.08em; line-height: .86; }
.campaign-competition { min-height: 48px; margin: 9px 0 28px; color: var(--muted); }
.campaign-performance { color: var(--green-bright); font-size: clamp(3rem, 6vw, 5.6rem); letter-spacing: -.08em; line-height: .9; }
.campaign-performance-label { margin-top: 7px; color: var(--muted); font-size: .76rem; text-transform: uppercase; }

.campaign-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: auto 0 0;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.08);
}

.campaign-facts div { min-width: 0; padding: 13px; background: #050a07; }
.campaign-facts dt { color: #7f9087; font-size: .64rem; font-weight: 850; text-transform: uppercase; }
.campaign-facts dd { overflow: hidden; margin: 3px 0 0; color: #e6eee9; font-size: .85rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }

.compare-verdict {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  background: #020503;
}

.compare-verdict span { color: var(--green-bright); font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.compare-verdict strong { margin: 20px 0; font-size: clamp(1.35rem, 2.4vw, 2.1rem); letter-spacing: -.04em; line-height: 1.08; }
.compare-verdict small { color: var(--muted); }

.metric-group { padding-top: clamp(58px, 7vw, 86px); }
.metric-group-heading { margin-bottom: 22px; }
.metric-group-heading h3 { margin: 0; font-size: clamp(1.7rem, 3.3vw, 2.8rem); letter-spacing: -.04em; }
.compare-metrics { border-top: 1px solid var(--line); }

.compare-metric {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .8fr) minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.compare-metric-value,
.compare-metric-label { display: grid; place-items: center; padding: 15px; }
.compare-metric-value { font-size: clamp(1.35rem, 2.6vw, 2.15rem); letter-spacing: -.04em; }
.compare-metric-value:first-child { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare-metric-value:last-child { border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.compare-metric-label { color: var(--muted); font-size: .76rem; font-weight: 850; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.compare-metric-value.is-better { color: #001b0b; background: var(--green-bright); }
.compare-metric-value.is-lower { color: #93a49a; background: rgba(255,255,255,.025); }
.compare-metric-value.is-tied { color: var(--green-bright); background: rgba(25,210,105,.06); }
.compare-metrics--totals .compare-metric-value { color: var(--white); background: rgba(255,255,255,.02); }

.comparison-notes { display: grid; gap: 8px; margin-top: 24px; }
.comparison-notes:empty { display: none; }
.comparison-notes p { margin: 0; padding: 14px 17px; border-left: 3px solid #ffb454; color: #c7d2cc; background: rgba(255,180,84,.06); }
.comparison-notes strong { color: #ffca84; }
.compare-error { padding: 24px; border: 1px solid #8f5938; color: #ffd0b6; background: rgba(143,89,56,.12); }

/* Glorias */

.feature-symbol.glories-symbol { color: rgba(25,210,105,.08); -webkit-text-stroke: 2px rgba(25,210,105,.65); }
.glories-intro { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 8vw, 110px); }
.glories-intro > div:last-child { max-width: 760px; color: #c7d2cc; font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.glories-intro > div:last-child p:first-child { margin-top: 0; }

.glories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.glory-card {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(24px, 3.3vw, 38px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 94% 8%, rgba(25,210,105,.12), transparent 15rem),
    linear-gradient(145deg, rgba(12,24,17,.96), rgba(0,0,0,.98));
}

.glory-card::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(25,210,105,.045);
  transform: rotate(18deg);
}

.glory-card--record { border-color: rgba(25,210,105,.52); }
.glory-card header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.glory-index { color: rgba(255,255,255,.38); font-size: .78rem; font-weight: 900; }
.glory-era { color: var(--green-bright); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-align: right; }

.glory-role { margin: 32px 0 9px; color: var(--green-bright); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.glory-card h3 { max-width: 570px; margin: 0; font-size: clamp(2.25rem, 4.4vw, 4rem); letter-spacing: -.06em; line-height: .9; }

.glory-record { display: flex; align-items: end; gap: 13px; margin: 28px 0 18px; }
.glory-record strong { color: var(--white); font-size: clamp(2.8rem, 5vw, 4.8rem); letter-spacing: -.08em; line-height: .8; }
.glory-record span { max-width: 120px; color: var(--muted); font-size: .78rem; line-height: 1.2; text-transform: uppercase; }
.glory-card > p:not(.glory-role) { max-width: 610px; margin: 0 0 28px; color: var(--muted); }
.glory-card > a { z-index: 1; width: fit-content; margin-top: auto; color: var(--green-bright); font-weight: 850; text-decoration: none; }
.glory-card > a:hover, .glory-card > a:focus-visible { color: var(--white); }

@media (max-width: 1000px) {
  .comparison-head { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-verdict { grid-column: 1 / -1; grid-row: 2; min-height: 210px; }
  .campaign-summary--right { grid-column: 2; grid-row: 1; }
}

@media (max-width: 820px) {
  .compare-picker { grid-template-columns: 1fr; }
  .compare-swap { width: 100%; height: 52px; }
  .comparison-head { grid-template-columns: 1fr; }
  .campaign-summary, .campaign-summary--right, .compare-verdict { grid-column: 1; grid-row: auto; }
  .campaign-summary { min-height: 390px; }
  .campaign-summary--right { order: 3; }
  .compare-verdict { order: 2; }
  .glories-intro, .glories-grid { grid-template-columns: 1fr; }
  .glories-intro { gap: 28px; }
}

@media (max-width: 560px) {
  .compare-workbench { padding-top: 52px; }
  .compare-picker { padding: 17px; }
  .campaign-select-field select { min-height: 58px; font-size: .9rem; }
  .campaign-summary { min-height: 360px; padding: 22px; }
  .campaign-summary h3 { font-size: 3.7rem; }
  .campaign-performance { font-size: 3.5rem; }
  .compare-verdict { min-height: 190px; padding: 22px; }
  .compare-metric { min-height: 76px; grid-template-columns: minmax(0, .8fr) minmax(110px, 1.2fr) minmax(0, .8fr); }
  .compare-metric-value, .compare-metric-label { padding: 10px 7px; }
  .compare-metric-value { font-size: 1.3rem; }
  .compare-metric-label { font-size: .62rem; letter-spacing: .025em; }
  .glory-card { min-height: 525px; padding: 24px; }
  .glory-card h3 { font-size: 2.65rem; }
  .glory-role { margin-top: 26px; }
}

/* Nuevas secciones editoriales */

.feature-main { width: min(1320px, calc(100% - 44px)); }

.feature-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(36px, 8vw, 120px);
  padding: clamp(64px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}

.feature-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.6rem);
  letter-spacing: -.075em;
  line-height: .84;
  text-transform: uppercase;
}

.feature-hero h1 span { color: var(--green-bright); }

.feature-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: #c6d2cb;
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
}

.feature-symbol {
  min-width: 230px;
  color: transparent;
  font-size: clamp(7rem, 14vw, 13rem);
  font-weight: 950;
  letter-spacing: -.09em;
  line-height: .8;
  text-align: right;
  -webkit-text-stroke: 2px rgba(25,210,105,.7);
}

.section-isologo {
  position: relative;
  width: min(360px, 100%);
  min-width: 320px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 22px 24px 18px;
  border: 1px solid rgba(25, 210, 105, .24);
  border-left: 3px solid var(--green-bright);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(25, 210, 105, .075), transparent 45%),
    #020604;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 60px rgba(0, 0, 0, .28);
}

.section-isologo-brand {
  display: block;
  width: 100%;
  height: auto;
}

.section-isologo-tag {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 11px;
  border-top: 1px solid rgba(25, 210, 105, .22);
}

.section-isologo-tag b {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 1px solid var(--green-bright);
  border-radius: 7px;
  color: var(--green-bright);
  background: rgba(25, 210, 105, .06);
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: -.02em;
}

.section-isologo-tag strong {
  color: var(--white);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.section-isologo--rivals { border-left-color: #e5bb52; }
.section-isologo--rivals .section-isologo-tag { border-top-color: rgba(229, 187, 82, .24); }
.section-isologo--rivals .section-isologo-tag b { border-color: #e5bb52; color: #e5bb52; background: rgba(229, 187, 82, .06); }

.live-stamp {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(25,210,105,.42);
  border-radius: 999px;
  color: var(--green-bright);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.live-stamp i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 16px var(--green-bright);
}

.feature-section { padding: clamp(70px, 8vw, 112px) 0; border-bottom: 1px solid var(--line); }

.feature-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.feature-heading > p { max-width: 420px; margin: 0; color: var(--muted); text-align: right; }

.feature-panel {
  min-height: 330px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(12,24,17,.94), rgba(0,0,0,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* Temporada 2026 */

.season-scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8,17,12,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.season-scoreboard article { min-height: 190px; display: flex; flex-direction: column; justify-content: end; padding: 28px; border-right: 1px solid var(--line); }
.season-scoreboard article:last-child { border-right: 0; }
.season-scoreboard span, .staff-grid span { color: var(--green-bright); font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.season-scoreboard strong { margin: 10px 0 3px; font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -.07em; line-height: .9; }
.season-scoreboard small, .staff-grid small { color: var(--muted); }
.season-position { background: var(--green-bright); color: #001a0b; }
.season-position span, .season-position small { color: #003b19; }

.season-overview { padding: 14px 0; border-bottom: 1px solid var(--line); }
.season-overview > * + * { border-left: 0; }
.next-match time { display: block; margin: 18px 0 28px; color: var(--muted); font-size: .82rem; font-weight: 800; letter-spacing: .1em; }
.matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.matchup span { font-size: clamp(1.55rem, 3.3vw, 3.15rem); font-weight: 900; letter-spacing: -.05em; line-height: .95; }
.matchup span:last-child { color: var(--green-bright); text-align: right; }
.matchup b { color: var(--muted); font-size: .72rem; letter-spacing: .12em; }
.next-match > p:last-child { margin: 34px 0 0; color: var(--muted); }
.situation-panel h2 { margin: 18px 0 28px; font-size: clamp(2rem, 4vw, 3.5rem); }
.situation-panel p:not(.eyebrow) { max-width: 560px; color: var(--muted); }
.situation-panel p strong { color: var(--white); }

.mini-stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(8,17,12,.72); }
.mini-stat-grid article { min-height: 150px; display: flex; flex-direction: column; justify-content: end; padding: 22px; border-right: 1px solid var(--line); }
.mini-stat-grid article:last-child { border-right: 0; }
.mini-stat-grid strong { color: var(--green-bright); font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.06em; line-height: 1; }
.mini-stat-grid span { margin-top: 8px; color: var(--muted); font-size: .82rem; }

.results-list { overflow: hidden; padding: 0 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(8,17,12,.62); }
.result-row { display: grid; grid-template-columns: 82px 1fr 90px 1fr 34px; align-items: center; gap: 20px; min-height: 76px; border-bottom: 1px solid var(--line); }
.result-row time { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.result-row span:nth-of-type(2) { text-align: right; }
.result-row strong { font-size: 1.45rem; text-align: center; }
.result-row > b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: .75rem; }
.result-row.win > b { background: var(--green-bright); color: #001a0b; }
.result-row.loss > b { border: 1px solid rgba(255,255,255,.25); color: #b8c2bc; }

.upcoming-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(8,17,12,.62); }
.upcoming-grid article { min-height: 150px; display: flex; flex-direction: column; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.upcoming-grid time { color: var(--green-bright); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.upcoming-grid span { margin: auto 0 4px; font-size: 1.2rem; font-weight: 850; }
.upcoming-grid small { color: var(--muted); }

.staff-section { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 70px; }
.staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.staff-grid article { min-height: 180px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); }
.staff-grid article:last-child { border-right: 0; }
.staff-grid strong { margin: auto 0 6px; font-size: 1.35rem; }

/* Rival por rival */

.documented-section { padding-top: 90px; }
.head-to-head-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h2h-card { min-height: 420px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(12,24,17,.94), rgba(0,0,0,.98)); }
.h2h-card h3 { margin: 18px 0 26px; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.05em; }
.h2h-total { display: flex; align-items: end; gap: 12px; }
.h2h-total strong { color: var(--green-bright); font-size: 4.4rem; letter-spacing: -.08em; line-height: .8; }
.h2h-total span { color: var(--muted); }
.h2h-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 30px 0; background: var(--line); border: 1px solid var(--line); }
.h2h-numbers span { padding: 13px 8px; background: #040805; color: var(--muted); font-size: .72rem; text-align: center; }
.h2h-numbers b { display: block; color: var(--white); font-size: 1.25rem; }
.h2h-card > p:not(.eyebrow) { color: var(--muted); }
.h2h-card > a { margin-top: auto; color: var(--green-bright); font-weight: 850; text-decoration: none; }
.h2h-card--recent { border-color: rgba(25,210,105,.48); }
.rival-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rival-highlight-card { min-height: 250px; padding: 28px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(12,24,17,.94), rgba(0,0,0,.98)); display: flex; flex-direction: column; }
.rival-highlight-card h3 { margin: 20px 0 8px; font-size: clamp(1.65rem, 2.7vw, 2.45rem); letter-spacing: -.045em; }
.rival-highlight-card > strong { color: var(--green-bright); font-size: 1.2rem; }
.rival-highlight-card > span { margin-top: auto; color: var(--muted); font-size: .82rem; }
.rival-history { display: grid; gap: 12px; }
.rival-history-card { display: grid; grid-template-columns: minmax(230px, .8fr) 1.4fr; align-items: center; gap: 24px; padding: 20px 22px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(11,22,15,.96), rgba(2,5,3,.98)); }
.rival-history-identity { min-width: 0; display: flex; align-items: center; gap: 15px; }
.rival-history-identity h3 { margin: 3px 0 0; font-size: clamp(1.15rem, 2.1vw, 1.7rem); letter-spacing: -.035em; }
.rival-history-identity small { color: var(--green-bright); font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.rival-history-crest { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: #fff; color: #061109; font-weight: 950; }
.rival-history-crest img { width: 39px; height: 39px; object-fit: contain; }
.rival-history-stats { display: grid; grid-template-columns: repeat(7, minmax(48px, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.rival-history-stats span { min-width: 0; padding: 11px 6px; background: #030604; text-align: center; }
.rival-history-stats b { display: block; font-size: 1.05rem; }
.rival-history-stats small { display: block; margin-top: 3px; color: var(--muted); font-size: .64rem; font-weight: 900; letter-spacing: .08em; }
.rival-history-stats .is-positive b { color: var(--green-bright); }
.rival-history-stats .is-negative b { color: #ff7474; }
.rival-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; color: var(--muted); font-size: .73rem; }
.rival-legend b { color: var(--white); }

.rival-heading strong { color: var(--green-bright); font-size: 1.8rem; }
.rival-search { display: block; max-width: 720px; margin-bottom: 18px; }
.rival-search span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .75rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.rival-search input { width: 100%; min-height: 58px; padding: 0 18px; border: 1px solid var(--line); border-radius: 0; outline: 0; background: rgba(0,0,0,.76); color: var(--white); font: inherit; font-size: 1.05rem; }
.rival-search input:focus { border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(25,210,105,.12); }
.directory-note { max-width: 790px; margin: 0 0 34px; color: var(--muted); }
.rival-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rival-card { border: 1px solid var(--line); background: rgba(2,8,4,.86); }
.rival-card[open] { border-color: rgba(25,210,105,.5); }
.rival-card summary { min-height: 98px; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 15px; cursor: pointer; list-style: none; }
.rival-card summary::-webkit-details-marker { display: none; }
.rival-crest { width: 54px; height: 60px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--green-bright); font-size: .72rem; font-weight: 900; }
.rival-crest img { width: 44px; height: 50px; object-fit: contain; }
.rival-crest.is-undocumented { border-style: dashed; border-color: rgba(160,181,169,.55); border-radius: 12px 12px 17px 17px; color: #a9b8af; background: linear-gradient(145deg, rgba(18,29,22,.96), rgba(5,10,7,.96)); }
.rival-identity { min-width: 0; display: grid; }
.rival-identity strong { overflow: hidden; font-size: .98rem; text-overflow: ellipsis; white-space: nowrap; }
.rival-identity small { color: var(--muted); }
.rival-card summary > b { color: var(--green-bright); font-size: 1.4rem; transition: transform .2s ease; }
.rival-card[open] summary > b { transform: rotate(45deg); }
.rival-card-body { padding: 0 16px 18px; border-top: 1px solid var(--line); }
.rival-card-body > p:first-child { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; }
.rival-card-body span { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.rival-card-body strong { text-align: right; }
.rival-years { max-height: 110px; overflow: auto; margin: 14px 0 0; color: #c9d4ce; font-size: .83rem; }
.loading-note { grid-column: 1 / -1; padding: 34px; border: 1px solid var(--line); color: var(--muted); }

/* La estrella */

.star-glyph { color: var(--green-bright); font-size: clamp(10rem, 22vw, 18rem); line-height: .75; filter: drop-shadow(0 0 45px rgba(25,210,105,.2)); }
.final-score { min-height: 290px; display: grid; grid-template-columns: .8fr 1.4fr .8fr; align-items: center; gap: 36px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.final-date, .final-goal { display: grid; gap: 7px; }
.final-date span, .final-goal span { color: var(--green-bright); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.final-date strong, .final-goal strong { font-size: 1.15rem; }
.final-date small { color: var(--muted); }
.final-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; text-align: center; }
.final-teams span { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.05em; }
.final-teams strong { color: var(--green-bright); font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.08em; }
.final-goal { text-align: right; }
.story-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.story-copy { color: #c8d2cc; font-size: clamp(1.08rem, 1.8vw, 1.34rem); }
.story-copy p:first-child { margin-top: 0; }
.cup-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cup-path article { min-height: 180px; display: grid; grid-template-columns: 1fr auto; align-content: end; gap: 9px 18px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cup-path small { grid-column: 1 / -1; align-self: start; margin-bottom: auto; color: var(--green-bright); font-weight: 900; letter-spacing: .1em; }
.cup-path span, .cup-path b { font-size: .94rem; }
.cup-path strong { grid-column: 2; grid-row: 2 / 4; align-self: center; color: var(--green-bright); font-size: 1.5rem; }
.walkover { background: rgba(25,210,105,.05); }
.section-footnote { margin: 22px 0 0; color: var(--muted); }
.lineup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lineup-grid article { min-height: 160px; display: flex; flex-direction: column; justify-content: end; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lineup-grid span { margin-bottom: 14px; color: var(--green-bright); font-size: .7rem; font-weight: 900; letter-spacing: .11em; }
.lineup-grid strong { font-size: 1.15rem; line-height: 1.45; }
.star-meaning { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(35px, 7vw, 100px); padding: clamp(70px, 8vw, 112px) clamp(24px, 5vw, 70px); border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(25,210,105,.15), rgba(0,0,0,.2)); }
.star-mini { color: var(--green-bright); font-size: clamp(6rem, 13vw, 11rem); line-height: .8; }
.star-meaning p:last-child { max-width: 720px; color: #c8d2cc; font-size: 1.1rem; }

/* Récords y rachas */

.records-split-section { padding-top: clamp(46px, 6vw, 82px); }
.records-split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.records-column {
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(8,18,12,.78), rgba(0,0,0,.88));
}
.records-column > header {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.records-column > header span {
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(25,210,105,.36);
  color: var(--green-bright);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
}
.records-column > header h3 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.records-column--positive { border-color: rgba(25,210,105,.26); }
.records-column--positive > header { background: radial-gradient(circle at 0 0, rgba(25,210,105,.22), transparent 21rem); }
.records-column--negative { border-color: rgba(255,255,255,.14); }
.records-column--negative > header { background: radial-gradient(circle at 0 0, rgba(255,255,255,.09), transparent 20rem); }
.records-column--negative > header span { border-color: rgba(255,255,255,.24); color: #cdd8d2; }
.records-lab-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.records-lab-grid--split { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; border-left: 0; }
.lab-card { min-height: 330px; display: flex; flex-direction: column; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(0,0,0,.42); }
.records-lab-grid--split .lab-card:nth-child(2n) { border-right: 0; }
.records-lab-grid--split .lab-card:nth-last-child(-n+2) { border-bottom: 0; }
.lab-card > span { color: var(--green-bright); font-size: .68rem; font-weight: 900; letter-spacing: .11em; }
.lab-card > strong { margin: 30px 0 3px; color: var(--white); font-size: clamp(2.8rem, 5vw, 4.8rem); letter-spacing: -.08em; line-height: .9; }
.lab-card h3 { margin: 7px 0 18px; font-size: 1.2rem; }
.lab-card p { margin: 0 0 24px; color: var(--muted); }
.lab-card a { margin-top: auto; color: var(--green-bright); font-weight: 850; text-decoration: none; }
.lab-card--positive { background: linear-gradient(145deg, rgba(25,210,105,.18), rgba(0,0,0,.65)); }
.lab-card--negative > strong { color: #c3cec8; }
.records-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.records-navigation a { min-height: 150px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 6px 20px; padding: 28px; border-right: 1px solid var(--line); text-decoration: none; }
.records-navigation a:last-child { border-right: 0; }
.records-navigation span { grid-column: 1; color: var(--green-bright); font-size: .67rem; font-weight: 900; letter-spacing: .11em; }
.records-navigation strong { grid-column: 1; font-size: 1.1rem; }
.records-navigation b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--green-bright); font-size: 1.5rem; }

.away-streak-section { padding-top: clamp(58px, 7vw, 96px); }
.streak-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.5);
}
.streak-summary-grid article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 26px;
  border-right: 1px solid var(--line);
}
.streak-summary-grid article:last-child { border-right: 0; }
.streak-summary-grid span {
  color: var(--green-bright);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
}
.streak-summary-grid strong {
  margin: 14px 0 2px;
  color: var(--white);
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: .88;
  letter-spacing: -.08em;
}
.streak-summary-grid p { margin: 0; font-weight: 850; }
.streak-summary-grid small { margin-top: 8px; color: var(--muted); }
.streak-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.streak-board {
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(7,15,10,.92), rgba(0,0,0,.97));
}
.streak-board header { padding: 26px; border-bottom: 1px solid var(--line); }
.streak-board header span { color: var(--green-bright); font-size: .68rem; font-weight: 900; letter-spacing: .13em; }
.streak-board h3 { margin: 10px 0 12px; font-size: clamp(1.6rem, 2.7vw, 2.35rem); line-height: 1; letter-spacing: -.045em; }
.streak-board p { margin: 0; color: var(--muted); }
.streak-table-wrap { overflow-x: auto; }
.streak-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.streak-table th,
.streak-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.streak-table th {
  color: var(--green-bright);
  background: rgba(25,210,105,.055);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.streak-table td { color: #dfe9e3; font-size: .88rem; }
.streak-table td:first-child { color: var(--green-bright); font-weight: 900; }
.streak-table td:nth-child(4) { font-weight: 850; }
.streak-table tr:last-child td { border-bottom: 0; }
.streak-verdict {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(25,210,105,.26);
  background: rgba(25,210,105,.055);
}
.streak-verdict strong { color: var(--green-bright); }
.streak-verdict p { margin: 0; color: #c8d4cd; }

.feature-sources { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; }

@media (max-width: 1000px) {
  .head-to-head-grid { grid-template-columns: 1fr; }
  .rival-highlights { grid-template-columns: 1fr; }
  .rival-highlight-card { min-height: 210px; }
  .rival-history-card { grid-template-columns: 1fr; gap: 16px; }
  .h2h-card { min-height: 330px; }
  .rival-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .records-split-grid { grid-template-columns: 1fr; }
  .streak-compare-grid { grid-template-columns: 1fr; }
  .records-lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mini-stat-grid article:nth-child(3) { border-right: 0; }
  .mini-stat-grid article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .feature-main { width: calc(100% - 26px); }
  .feature-hero { min-height: 0; grid-template-columns: 1fr; padding: 54px 0; }
  .feature-hero h1 { font-size: clamp(3.4rem, 16vw, 6rem); }
  .feature-symbol, .star-glyph { display: none; }
  .section-isologo { min-width: 0; width: 100%; padding: 18px 18px 15px; border-radius: 16px; }
  .section-isologo-tag { min-height: 35px; padding-top: 9px; }
  .section-isologo-tag strong { font-size: .74rem; }
  .season-scoreboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season-scoreboard article { border-bottom: 1px solid var(--line); }
  .season-scoreboard article:nth-child(2) { border-right: 0; }
  .feature-grid, .staff-section, .story-intro, .feature-sources { grid-template-columns: 1fr; gap: 0; }
  .season-overview > * + * { border-top: 0; border-left: 1px solid var(--line); }
  .upcoming-grid, .cup-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rival-grid { grid-template-columns: 1fr; }
  .final-score { grid-template-columns: 1fr; gap: 28px; padding: 52px 0; }
  .final-date, .final-goal { text-align: center; }
  .final-teams { order: -1; }
  .records-navigation { grid-template-columns: 1fr; }
  .records-navigation a { border-right: 0; border-bottom: 1px solid var(--line); }
  .records-navigation a:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .feature-heading { align-items: flex-start; flex-direction: column; }
  .feature-heading > p { text-align: left; }
  .season-scoreboard article { min-height: 145px; padding: 20px; }
  .season-scoreboard strong { font-size: 2.8rem; }
  .matchup { grid-template-columns: 1fr; gap: 10px; text-align: left; }
  .matchup span:last-child { text-align: left; }
  .result-row { grid-template-columns: 56px 1fr 58px; gap: 10px; padding: 13px 0; }
  .result-row span { grid-column: 2; }
  .result-row span:nth-of-type(2) { text-align: left; }
  .result-row strong { grid-column: 3; grid-row: 1 / 3; }
  .result-row > b { display: none; }
  .upcoming-grid { grid-template-columns: 1fr 1fr; }
  .upcoming-grid article { min-height: 132px; padding: 17px; }
  .staff-grid, .lineup-grid { grid-template-columns: 1fr; }
  .staff-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .staff-grid article:last-child { border-bottom: 0; }
  .h2h-card { padding: 22px; }
  .rival-history-card { padding: 18px 14px; }
  .rival-history-stats { grid-template-columns: repeat(4, 1fr); }
  .rival-history-stats span:nth-child(n+5) { border-top: 1px solid var(--line); }
  .cup-path { grid-template-columns: 1fr; }
  .star-meaning { grid-template-columns: 1fr; }
  .star-mini { font-size: 6rem; }
  .records-lab-grid { grid-template-columns: 1fr; }
  .records-lab-grid--split .lab-card { border-right: 0; }
  .records-lab-grid--split .lab-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .records-lab-grid--split .lab-card:last-child { border-bottom: 0; }
  .records-column > header { min-height: 126px; padding: 22px; }
  .streak-summary-grid { grid-template-columns: 1fr; }
  .streak-summary-grid article { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .streak-summary-grid article:last-child { border-bottom: 0; }
  .streak-board header { padding: 22px; }
  .streak-verdict { grid-template-columns: 1fr; gap: 8px; }
  .lab-card { min-height: 280px; }
}

/* Archivo histórico · diseño de fichas */

/* Árbitros 2026 · sistema editorial Chicago en Línea */

.referees-page .feature-hero { position: relative; overflow: hidden; }
.referees-page .feature-hero::after { content: ""; position: absolute; right: -15%; bottom: -42%; width: min(56vw, 720px); aspect-ratio: 1; border: 1px solid rgba(25,210,105,.16); border-radius: 50%; box-shadow: 0 0 0 46px rgba(25,210,105,.025), 0 0 0 92px rgba(25,210,105,.018); pointer-events: none; }
.referees-page .feature-hero > div:first-child, .referees-page .feature-symbol { position: relative; z-index: 1; }
.referees-page .feature-symbol { font-family: Georgia, serif; font-weight: 400; }

.referees-page .season-overview { padding: 0; border: 0; }
.referees-page .feature-panel { min-height: 300px; }
.referees-page .next-match { position: relative; overflow: hidden; border-color: rgba(25,210,105,.36); background: linear-gradient(135deg, rgba(17,79,43,.78), rgba(4,14,8,.98) 68%); }
.referees-page .next-match::after { content: "30"; position: absolute; right: 22px; bottom: -20px; color: rgba(25,210,105,.10); font-size: 9.5rem; font-weight: 950; letter-spacing: -.1em; line-height: 1; }
.referees-page .feature-panel h2 { position: relative; z-index: 1; margin: 20px 0 18px; font-size: clamp(2.3rem, 4.2vw, 4.1rem); letter-spacing: -.065em; line-height: .9; text-transform: uppercase; }
.referees-page .feature-panel p:not(.eyebrow) { position: relative; z-index: 1; max-width: 500px; color: #bcc9c1; }

.referees-page .results-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; overflow: visible; padding: 0; border: 0; border-radius: 0; background: transparent; }
.referees-page .result-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 11px; row-gap: 8px; min-height: 178px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(13,28,19,.88), rgba(2,7,4,.96)); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.referees-page .result-row:hover { border-color: rgba(25,210,105,.42); }
.referees-page .result-row time { grid-column: 1; grid-row: 1; color: var(--green-bright); font-size: .68rem; }
.referees-page .result-row span:first-of-type { grid-column: 2; grid-row: 1; align-self: center; color: var(--muted); font-size: .75rem; font-weight: 800; line-height: 1.1; }
.referees-page .result-row strong { grid-column: 1 / span 2; grid-row: 2; align-self: end; color: var(--white); font-size: clamp(1.45rem, 2.1vw, 2rem); letter-spacing: -.055em; line-height: .93; text-align: left; text-transform: uppercase; }
.referees-page .result-row span:nth-of-type(2) { grid-column: 1 / span 2; grid-row: 3; color: #9eafa4; font-size: .74rem; font-weight: 750; line-height: 1.1; text-align: left; }
.referees-page .result-row > b { grid-column: 3; grid-row: 1 / span 3; align-self: center; width: auto; min-width: 46px; height: 46px; padding: 0 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: #c8d2cb; font-size: .75rem; font-weight: 900; letter-spacing: -.03em; }
.referees-page .result-row.win > b { background: var(--green-bright); border-color: var(--green-bright); color: #001a0b; }
.referees-page .result-row.loss > b { background: rgba(255,255,255,.025); }
.referees-page .result-row:first-child { border-color: rgba(25,210,105,.5); background: linear-gradient(145deg, rgba(15,75,41,.78), rgba(2,13,7,.96)); }
.referees-page .result-row:first-child::before { content: "PRÓXIMO"; position: absolute; top: 11px; right: 13px; color: var(--green-bright); font-size: .55rem; font-weight: 950; letter-spacing: .12em; }
.referees-page .result-row:first-child > b { min-width: 50px; font-size: .65rem; letter-spacing: .06em; }
.referees-page .accuracy-note { max-width: 850px; margin: 22px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }

@media (max-width: 1080px) { .referees-page .results-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .referees-page .feature-panel { min-height: 250px; } .referees-page .results-list { grid-template-columns: 1fr; } .referees-page .result-row { min-height: 156px; padding: 19px; } }

.campaigns-main { width: min(1480px, calc(100% - 44px)); }

.campaigns-hero {
  min-height: 560px;
  align-items: center;
  padding: clamp(58px, 7vw, 96px) 0;
}

.campaigns-hero h1 { font-size: clamp(4rem, 7vw, 7rem); }

.campaign-switch {
  width: fit-content;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 34px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.campaign-switch a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 999px;
  color: #aebdb4;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 900;
}

.campaign-switch a:hover,
.campaign-switch a:focus-visible { color: var(--white); }

.campaign-switch a.is-active {
  color: #00190a;
  background: var(--green-bright);
}

.campaigns-page--worst .campaign-switch a.is-active {
  color: #211100;
  background: #ffb454;
}

.campaign-count-note {
  max-width: 810px;
  margin: 24px 0 0;
  padding: 17px 19px;
  border: 1px solid rgba(25,210,105,.25);
  border-radius: 14px;
  color: #b9c9c0;
  background: rgba(7,20,13,.72);
}

.campaign-count-note strong { color: var(--white); }

.campaign-table-wrap {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.campaign-table {
  min-width: 0;
  display: block;
  font-size: .91rem;
}

.campaign-table thead { display: none; }

.campaign-table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.campaign-table tr {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto auto;
  gap: 9px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(17,35,25,.96), rgba(7,15,10,.98));
  box-shadow: 0 18px 52px rgba(0,0,0,.2);
}

.campaign-table tbody tr:hover {
  border-color: rgba(25,210,105,.46);
  background: linear-gradient(145deg, rgba(19,42,28,.98), rgba(7,15,10,.98));
}

.campaign-table .podium-row {
  background:
    radial-gradient(circle at 92% 5%, rgba(25,210,105,.12), transparent 15rem),
    linear-gradient(145deg, rgba(17,35,25,.98), rgba(7,15,10,.98));
}

.campaign-table .current-row {
  border-color: rgba(255,174,66,.48);
  background:
    radial-gradient(circle at 92% 5%, rgba(255,174,66,.12), transparent 15rem),
    linear-gradient(145deg, rgba(31,29,18,.98), rgba(10,14,9,.98));
  box-shadow: inset 0 3px 0 #ffae42, 0 18px 52px rgba(0,0,0,.2);
}

.campaign-table .current-row:hover {
  background:
    radial-gradient(circle at 92% 5%, rgba(255,174,66,.16), transparent 15rem),
    linear-gradient(145deg, rgba(36,32,18,.98), rgba(10,14,9,.98));
}

.campaign-table th,
.campaign-table td {
  min-width: 0 !important;
  display: block;
  padding: 10px 11px;
  border: 0 !important;
  text-align: left;
}

.campaign-table th::before,
.campaign-table td::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 5px;
  color: #72827a;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.campaign-table tr > :nth-child(1) { grid-column: 1; grid-row: 1; padding-left: 0; }
.campaign-table tr > :nth-child(1)::before { display: none; }
.campaign-table tr > :nth-child(2) { grid-column: 2 / 4; grid-row: 1; padding-top: 7px; }
.campaign-table tr > :nth-child(3) { grid-column: 4; grid-row: 1; }
.campaign-table tr > :nth-child(4) { grid-column: 1; grid-row: 2; }
.campaign-table tr > :nth-child(5) { grid-column: 2; grid-row: 2; }
.campaign-table tr > :nth-child(6) { grid-column: 3; grid-row: 2; }
.campaign-table tr > :nth-child(7) { grid-column: 4; grid-row: 2; }
.campaign-table tr > :nth-child(8) { grid-column: 1; grid-row: 3; }
.campaign-table tr > :nth-child(9) { grid-column: 2; grid-row: 3; }
.campaign-table tr > :nth-child(10) { grid-column: 3; grid-row: 3; }
.campaign-table tr > :nth-child(11) { grid-column: 4; grid-row: 3; }
.campaign-table tr > :nth-child(12) { grid-column: 1 / 3; grid-row: 4; }
.campaign-table tr > :nth-child(13) { grid-column: 3 / 5; grid-row: 4; }
.campaign-table tr > :nth-child(14) { grid-column: 1 / 5; grid-row: 5; padding: 4px 0 0; }

.campaign-table td:nth-child(n+4):nth-child(-n+11) {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.075) !important;
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  font-size: 1rem;
  font-weight: 900;
}

.campaign-table td:nth-child(12),
.campaign-table td:nth-child(13) {
  min-height: 92px;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  color: #dbe6df;
}

.campaign-table summary {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid rgba(25,210,105,.26);
  border-radius: 11px;
  background: rgba(25,210,105,.055);
}

.campaign-table summary::after { content: "+"; font-size: 1.2rem; }
.campaign-table details[open] summary::after { content: "−"; }

.detail-body {
  width: 100%;
  margin-top: 10px;
  border-radius: 11px;
  box-shadow: none;
}

@media (max-width: 1260px) {
  .campaign-table tbody { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .campaigns-main { width: calc(100% - 20px); }
  .campaigns-hero { min-height: 0; padding: 38px 0 48px; }
  .campaigns-hero h1 { font-size: clamp(3.2rem, 16vw, 5.6rem); }
  .campaign-switch { margin-bottom: 28px; }
  .campaign-table tr { padding: 17px; border-radius: 17px; }
}

@media (max-width: 560px) {
  .campaigns-topbar { padding: 10px; gap: 8px; }
  .campaigns-topbar .brand { gap: 8px; }
  .campaigns-topbar .brand img { width: 40px; height: 40px; }
  .history-note { margin-top: 24px; font-size: .96rem; }
  .campaign-switch { width: 100%; }
  .campaign-switch a { flex: 1; }
  .campaign-count-note { padding: 15px; font-size: .94rem; }
  .campaign-table tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto auto auto auto auto auto;
    gap: 7px;
    padding: 15px;
  }
  .campaign-table tr > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .campaign-table tr > :nth-child(2) { grid-column: 2; grid-row: 1; padding: 4px 0; }
  .campaign-table tr > :nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
  .campaign-table tr > :nth-child(4) { grid-column: 1; grid-row: 3; }
  .campaign-table tr > :nth-child(5) { grid-column: 2; grid-row: 3; }
  .campaign-table tr > :nth-child(6) { grid-column: 1; grid-row: 4; }
  .campaign-table tr > :nth-child(7) { grid-column: 2; grid-row: 4; }
  .campaign-table tr > :nth-child(8) { grid-column: 1; grid-row: 5; }
  .campaign-table tr > :nth-child(9) { grid-column: 2; grid-row: 5; }
  .campaign-table tr > :nth-child(10) { grid-column: 1; grid-row: 6; }
  .campaign-table tr > :nth-child(11) { grid-column: 2; grid-row: 6; }
  .campaign-table tr > :nth-child(12) { grid-column: 1 / 3; grid-row: 7; }
  .campaign-table tr > :nth-child(13) { grid-column: 1 / 3; grid-row: 8; }
  .campaign-table tr > :nth-child(14) { grid-column: 1 / 3; grid-row: 9; }
  .campaign-table td:nth-child(12),
  .campaign-table td:nth-child(13) { min-height: 0; }
}

/* Presidentes: mandatos y porcentaje de puntos */

.president-research-page {
  --president-gold: #f1c75b;
  --president-amber: #ffbd69;
  --president-blue: #9fcdf7;
}

.president-archive-hero { min-height: 470px; }

.president-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(5, 14, 9, .9);
}

.president-summary-strip > div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.president-summary-strip > div:last-child { border-right: 0; }
.president-summary-strip strong { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.president-summary-strip span { color: #91a299; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.president-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(28px, 6vw, 90px);
  margin: clamp(38px, 6vw, 78px) 0 18px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(241, 199, 91, .42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 12%, rgba(25, 210, 105, .2), transparent 22rem),
    linear-gradient(145deg, rgba(14, 30, 20, .98), rgba(3, 8, 5, .98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.president-feature-copy h2 { font-size: clamp(2.5rem, 5vw, 5.2rem); }
.president-feature-copy > p:last-child { max-width: 700px; margin: 18px 0 0; color: #bfcdc4; font-size: 1rem; }
.president-feature-score { display: grid; justify-items: end; text-align: right; }
.president-feature-score strong { color: var(--president-gold); font-size: clamp(4.3rem, 9vw, 8.6rem); line-height: .78; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.president-feature-score span { margin-top: 25px; color: #e7eee9; font-size: .82rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }

.president-accuracy-note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid rgba(255, 189, 105, .4);
  border-radius: 16px;
  background: rgba(255, 174, 66, .07);
}

.president-accuracy-note > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 189, 105, .7);
  border-radius: 50%;
  color: var(--president-amber);
  font-weight: 950;
}

.president-accuracy-note strong { color: #ffe3b8; }
.president-accuracy-note p { margin: 3px 0 0; color: #d2c2aa; }

.president-explorer { padding: clamp(66px, 8vw, 110px) 0; }
.president-explorer-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 30px; }
.president-explorer-heading > p { max-width: 520px; margin: 0; color: var(--muted); text-align: right; }

.president-controls {
  position: sticky;
  z-index: 12;
  top: 78px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr);
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 17px;
  background: rgba(3, 9, 5, .94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .4);
  backdrop-filter: blur(18px);
}

.president-tabs { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.president-tab {
  min-height: 49px;
  flex: 0 0 auto;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 11px;
  color: #b8c6bd;
  background: rgba(255, 255, 255, .025);
  font: inherit;
  font-size: .8rem;
  font-weight: 900;
  cursor: pointer;
}

.president-tab:hover,
.president-tab:focus-visible { border-color: var(--green-bright); color: var(--green-bright); }
.president-tab.is-active { border-color: var(--green-bright); color: #00190a; background: var(--green-bright); }

.president-search-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 16px; }
.president-search-wrap label { grid-column: 1 / -1; color: #8fa097; font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.president-search-wrap input {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: var(--white);
  background: #07100b;
  font: inherit;
}
.president-search-wrap input:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 2px; }
.president-search-wrap strong { align-self: center; color: var(--green-bright); font-size: .78rem; white-space: nowrap; }

.president-panel[hidden] { display: none !important; }
.president-list-header,
.president-row-trigger {
  display: grid;
  grid-template-columns: 70px minmax(280px, 1.5fr) 78px 125px minmax(165px, .55fr) 170px;
  gap: 18px;
  align-items: center;
}

.president-list-header {
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  color: #75877d;
  background: rgba(25, 210, 105, .045);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.president-stat-list { border-inline: 1px solid var(--line); }
.president-stat-row { border-bottom: 1px solid var(--line); background: rgba(5, 13, 8, .8); scroll-margin-top: 170px; }
.president-stat-row.is-top-1 { box-shadow: inset 4px 0 0 var(--president-gold); background: rgba(241, 199, 91, .045); }
.president-stat-row.is-top-2 { box-shadow: inset 4px 0 0 #c9d2cd; }
.president-stat-row.is-top-3 { box-shadow: inset 4px 0 0 #bd8051; }

.president-row-trigger {
  width: 100%;
  min-height: 112px;
  padding: 18px;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease;
}

.president-row-trigger:hover { background: rgba(25, 210, 105, .045); }
.president-row-trigger:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--green-bright); outline-offset: -3px; }
.president-row-rank { color: #89988f; font-size: 1.08rem; font-weight: 950; font-variant-numeric: tabular-nums; }
.is-top-1 .president-row-rank { color: var(--president-gold); }
.is-top-2 .president-row-rank { color: #d8e1dc; }
.is-top-3 .president-row-rank { color: #d99a69; }
.president-row-identity { min-width: 0; display: grid; gap: 3px; }
.president-row-identity > strong { color: var(--white); font-size: clamp(1rem, 1.45vw, 1.22rem); line-height: 1.25; }
.president-row-identity > span { color: var(--green-bright); font-size: .85rem; font-weight: 850; }
.president-row-identity > small { overflow: hidden; color: #83948a; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.president-row-metric { display: grid; gap: 2px; color: #d9e4dd; font-size: .94rem; font-variant-numeric: tabular-nums; }
.president-row-metric small,
.president-row-percentage small { display: none; color: #728279; font-size: .61rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.president-row-percentage { min-width: 0; display: grid; gap: 9px; }
.president-row-percentage > strong { overflow: hidden; color: var(--green-bright); font-size: 1rem; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.president-progress { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.president-progress > i { height: 100%; display: block; border-radius: inherit; background: var(--green-bright); box-shadow: 0 0 16px rgba(66, 229, 126, .4); }
.president-row-coverage { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.president-row-coverage > i { color: #708078; font-size: 1.25rem; font-style: normal; font-weight: 500; transition: transform .18s ease; }
.president-row-trigger[aria-expanded="true"] .president-row-coverage > i { transform: rotate(45deg); }

.president-coverage-badge {
  width: fit-content;
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  color: #bbc8c0;
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}
.president-coverage-badge.is-complete { border-color: rgba(66, 229, 126, .5); color: var(--green-bright); background: rgba(66, 229, 126, .06); }
.president-coverage-badge.is-joint { border-color: rgba(159, 205, 247, .48); color: var(--president-blue); background: rgba(159, 205, 247, .06); }
.president-coverage-badge.is-partial { border-color: rgba(255, 189, 105, .52); color: var(--president-amber); background: rgba(255, 189, 105, .06); }
.president-coverage-badge.is-inference { border-color: rgba(206, 155, 255, .5); color: #d5aff9; background: rgba(206, 155, 255, .06); }
.president-coverage-badge.is-provisional { border-color: rgba(255, 189, 105, .68); color: #ffd094; background: rgba(255, 174, 66, .1); }
.president-coverage-badge.is-unresolved { color: #9ba8a0; }

.president-row-detail { padding: 0 18px 22px 106px; }
.president-row-detail dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .025); }
.president-row-detail dl > div { min-width: 0; padding: 16px; border-right: 1px solid rgba(255, 255, 255, .09); }
.president-row-detail dl > div:last-child { border-right: 0; }
.president-row-detail dt { color: #75867c; font-size: .62rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.president-row-detail dd { margin: 7px 0 0; color: #d2ddd6; font-size: .82rem; line-height: 1.5; overflow-wrap: anywhere; }
.president-detail-note { margin: 10px 0 0; padding: 13px 15px; border-left: 2px solid var(--president-amber); color: #c9d5ce; background: rgba(255, 189, 105, .045); font-size: .82rem; }

.president-empty { padding: 34px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: center; }
.president-empty strong { color: var(--white); font-size: 1.25rem; }
.president-empty p { margin: 6px 0 0; }
.president-pending-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 24px; border: 1px solid rgba(255, 189, 105, .35); border-radius: 14px 14px 0 0; background: rgba(255, 174, 66, .055); }
.president-pending-intro strong { color: #ffe1b4; }
.president-pending-intro p { max-width: 650px; margin: 0; color: #bcae98; text-align: right; }
.president-pending-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-top: 0; background: var(--line); }
.president-pending-card { min-height: 185px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 17px; padding: 24px; background: #07100b; }
.president-pending-card > span { color: var(--president-amber); font-size: 1.3rem; font-weight: 950; }
.president-pending-card p { margin: 0; color: #89998f; font-size: .82rem; }
.president-pending-card div > p:first-child { color: var(--president-amber); font-size: .66rem; font-weight: 950; letter-spacing: .1em; }
.president-pending-card h3 { margin: 10px 0 8px; color: var(--white); font-size: 1.12rem; line-height: 1.3; }

.president-method { display: grid; grid-template-columns: minmax(230px, .32fr) minmax(0, 1fr); gap: clamp(35px, 7vw, 100px); padding: clamp(58px, 7vw, 92px) 0; border-block: 1px solid var(--line); }
.president-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.president-method-grid article { min-height: 210px; padding: clamp(20px, 3vw, 30px); background: rgba(7, 16, 11, .98); }
.president-method-grid span { color: var(--green-bright); font-size: .72rem; font-weight: 950; letter-spacing: .12em; }
.president-method-grid h3 { margin: 28px 0 8px; font-size: 1.2rem; }
.president-method-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.president-source-callout > div:first-child { min-width: 0; }
.president-source-callout > div:first-child > p { max-width: 900px; margin: 0; color: #b9c8bf; }
.president-source-callout > div:first-child > p strong { color: var(--white); }

@media (max-width: 1120px) {
  .president-controls { position: static; grid-template-columns: 1fr; }
  .president-list-header,
  .president-row-trigger { grid-template-columns: 60px minmax(240px, 1.4fr) 66px 110px minmax(145px, .6fr) 145px; gap: 12px; }
  .president-row-detail { padding-left: 90px; }
  .president-row-detail dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .president-row-detail dl > div:nth-child(2) { border-right: 0; }
  .president-row-detail dl > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .09); }
}

@media (max-width: 900px) {
  .president-list-header { display: none; }
  .president-stat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; }
  .president-stat-row { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
  .president-row-trigger { min-height: 100%; grid-template-columns: 56px repeat(3, minmax(0, 1fr)); align-content: start; }
  .president-row-rank { grid-column: 1; }
  .president-row-identity { grid-column: 2 / -1; }
  .president-row-metric small,
  .president-row-percentage small { display: block; }
  .president-metric-pj { grid-column: 1 / 3; margin-top: 10px; }
  .president-metric-points { grid-column: 3 / -1; margin-top: 10px; }
  .president-row-percentage { grid-column: 1 / -1; margin-top: 8px; }
  .president-row-coverage { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .president-row-detail { padding: 0 16px 16px; }
  .president-row-detail dl { grid-template-columns: 1fr; }
  .president-row-detail dl > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
  .president-row-detail dl > div:nth-child(2) { border-right: 0; }
  .president-row-detail dl > div:last-child { border-bottom: 0; }
  .president-method { grid-template-columns: 1fr; }
  .president-pending-list { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .president-summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .president-summary-strip > div:nth-child(2) { border-right: 0; }
  .president-summary-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .president-feature { grid-template-columns: 1fr; align-items: start; }
  .president-feature-score { justify-items: start; text-align: left; }
  .president-feature-score strong { font-size: clamp(4rem, 20vw, 7rem); }
  .president-explorer-heading { align-items: flex-start; flex-direction: column; }
  .president-explorer-heading > p { text-align: left; }
  .president-search-wrap { grid-template-columns: 1fr; }
  .president-search-wrap label { grid-column: 1; }
  .president-stat-list { grid-template-columns: 1fr; }
  .president-pending-intro { align-items: flex-start; flex-direction: column; }
  .president-pending-intro p { text-align: left; }
  .president-method-grid { grid-template-columns: 1fr; }
  .president-method-grid article { min-height: 0; }
  .president-source-callout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 460px) {
  .president-archive-hero h1 { font-size: clamp(2.72rem, 14.5vw, 4.2rem); }
  .president-summary-strip strong { font-size: 1.65rem; }
  .president-feature { padding: 24px 20px; }
  .president-feature-score strong { font-size: clamp(3.75rem, 19vw, 5.5rem); }
  .president-accuracy-note { grid-template-columns: 1fr; }
  .president-tabs { width: calc(100vw - 54px); }
  .president-row-trigger { padding: 16px 14px; gap: 10px; }
  .president-row-identity > small { white-space: normal; }
  .president-pending-card { grid-template-columns: 1fr; }
}

/* Informes 2026 */
.report-main{max-width:1280px}.report-hero{display:grid;grid-template-columns:minmax(0,.8fr) minmax(460px,1.2fr);gap:clamp(32px,6vw,90px);align-items:end;padding:clamp(52px,8vw,105px) 0 48px;border-bottom:1px solid var(--line)}
.report-hero h1{margin:8px 0 20px;font-size:clamp(4rem,9vw,8.2rem);line-height:.78;letter-spacing:-.07em}.report-hero h1 span{color:var(--green-bright)}.report-score{min-height:290px;display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;padding:clamp(25px,4vw,48px);border:1px solid rgba(66,229,126,.3);border-radius:24px;background:radial-gradient(circle at 50% 0,rgba(30,210,100,.15),transparent 55%),#06100a;box-shadow:0 28px 70px rgba(0,0,0,.42)}.report-score>div{display:grid;gap:12px;justify-items:center;text-align:center;font-weight:900}.report-score img{width:92px;height:108px;object-fit:contain}.report-score>strong{display:flex;gap:12px;align-items:center;font-size:clamp(3.8rem,8vw,7rem);letter-spacing:-.07em}.report-score em{color:#536158;font-size:.45em;font-style:normal}.opponent-mark i{width:92px;height:92px;display:grid;place-items:center;border:2px solid #b92d42;border-radius:50%;color:#fff;background:#182240;font-size:1.25rem;font-style:normal}.match-facts{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);border-radius:0 0 18px 18px;background:#06100a}.match-facts article{padding:22px;border-right:1px solid var(--line)}.match-facts article:last-child{border:0}.match-facts span{display:block;color:#718078;font-size:.64rem;font-weight:950;letter-spacing:.1em}.match-facts strong{display:block;margin-top:7px;font-size:.94rem}.report-grid{margin-top:42px}.minute{display:block;margin:14px 0 -6px;color:var(--green-bright);font-size:4rem;line-height:1}.report-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.report-tags span{padding:7px 10px;border:1px solid rgba(66,229,126,.3);border-radius:999px;color:var(--green-bright);font-size:.72rem;font-weight:900}
.lineup-board{display:grid;gap:25px;padding:38px clamp(18px,5vw,70px);border:1px solid rgba(66,229,126,.25);border-radius:20px;background:linear-gradient(rgba(4,32,16,.91),rgba(3,22,11,.95)),repeating-linear-gradient(90deg,transparent 0,transparent 12.5%,rgba(255,255,255,.035) 12.6%,rgba(255,255,255,.035) 25%)}.lineup-row{display:grid;gap:12px;justify-content:space-around}.lineup-row.one{grid-template-columns:minmax(100px,180px)}.lineup-row.two{grid-template-columns:repeat(2,minmax(100px,180px))}.lineup-row.three{grid-template-columns:repeat(3,minmax(100px,180px))}.lineup-row.four{grid-template-columns:repeat(4,minmax(90px,160px))}.lineup-row span{padding:12px 8px;border:1px solid rgba(255,255,255,.17);border-radius:10px;color:#fff;background:#07100b;text-align:center;font-size:.82rem;font-weight:900}.changes-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.changes-list article{display:grid;grid-template-columns:58px 1fr;gap:15px;align-items:center;padding:17px;border:1px solid var(--line);border-radius:12px;background:#07100b}.changes-list time{color:var(--green-bright);font-size:1.15rem;font-weight:950}.changes-list div{display:grid;gap:3px}.changes-list span{color:var(--muted);font-size:.8rem}.analysis-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:var(--line);gap:1px}.analysis-grid article{min-height:145px;display:grid;align-content:center;padding:24px;background:#07100b}.analysis-grid strong{color:var(--green-bright);font-size:clamp(2rem,4vw,3.4rem)}.analysis-grid span{color:var(--muted);font-size:.83rem}.accuracy-note,.data-scope{margin:16px 0 0;padding:16px 18px;border-left:3px solid #ffbd69;color:#b7c4bc;background:rgba(255,189,105,.055);font-size:.84rem}
.report-tabs{position:sticky;top:76px;z-index:4;display:flex;gap:8px;overflow:auto;margin:0 0 34px;padding:12px;border:1px solid var(--line);border-radius:14px;background:rgba(3,9,5,.93);backdrop-filter:blur(16px)}.report-tabs a{flex:1;min-width:145px;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#c5d1c9;text-align:center;font-size:.78rem;font-weight:900}.protagonists-hero{margin-bottom:20px}.leaders-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.leaders-grid article{position:relative;min-height:155px;display:grid;align-content:start;padding:22px 76px 22px 22px;border:1px solid var(--line);border-radius:14px;background:#07100b}.leaders-grid span{color:#718078;font-size:.63rem;font-weight:950}.leaders-grid strong{margin-top:20px}.leaders-grid b{position:absolute;top:16px;right:20px;color:var(--green-bright);font-size:3rem}.leaders-grid small{margin-top:5px;color:var(--muted)}.scorers-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.scorers-strip span{padding:10px 13px;border:1px solid var(--line);border-radius:8px;background:#07100b}.scorers-strip b{margin-left:8px;color:var(--green-bright)}.squad-groups{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.squad-groups article{padding:24px;border:1px solid var(--line);border-radius:14px;background:#07100b}.squad-groups h3{display:flex;justify-content:space-between;margin:0 0 15px}.squad-groups h3 b{color:var(--green-bright)}.squad-groups p{margin:0;color:#aab8af;font-size:.86rem;line-height:1.85}.data-scope strong{color:#ffe1b4}.data-scope p{margin:4px 0 0}.coach-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px}.coach-table{width:100%;border-collapse:collapse;min-width:680px;background:#07100b}.coach-table th,.coach-table td{padding:18px 16px;border-bottom:1px solid var(--line);text-align:center}.coach-table th:first-child{text-align:left}.coach-table thead th{color:#74837a;font-size:.65rem;letter-spacing:.1em}.coach-table td strong{color:var(--green-bright)}.coach-table .is-current{background:rgba(66,229,126,.06)}.coach-table .is-current small{margin-left:8px;padding:4px 6px;border-radius:5px;color:#00210d;background:var(--green-bright);font-size:.56rem}.coach-table tfoot{font-weight:950}.coach-table tfoot th,.coach-table tfoot td{border:0;background:#0b1710}
@media(max-width:900px){.report-hero{grid-template-columns:1fr}.match-facts{grid-template-columns:repeat(2,1fr)}.match-facts article:nth-child(2n){border-right:0}.match-facts article:last-child{grid-column:1/-1}.leaders-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.report-score{min-height:220px;gap:8px;padding:20px 10px}.report-score img{width:58px;height:72px}.opponent-mark i{width:60px;height:60px;font-size:.82rem}.report-score>strong{gap:5px;font-size:3.1rem}.report-score>div span{font-size:.7rem}.lineup-board{padding:26px 8px;gap:16px}.lineup-row{gap:5px}.lineup-row span{padding:10px 3px;font-size:.65rem}.lineup-row.four{grid-template-columns:repeat(4,minmax(0,1fr))}.lineup-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.lineup-row.two{grid-template-columns:repeat(2,minmax(0,1fr))}.changes-list,.leaders-grid,.squad-groups{grid-template-columns:1fr}.analysis-grid{grid-template-columns:repeat(2,1fr)}.report-tabs{top:64px}}

/* 2026 visual refresh: preserve all tables, filters and historical records. */
body { background:#07170f;background-attachment:scroll; }
body::before { display:none; }
.topbar { background:#08190f;box-shadow:none;border-bottom-color:#ffffff1c; }
:is(.campaigns-hero,.feature-hero,.search-hero) h1 { text-transform:none;letter-spacing:-.05em;font-size:clamp(2.5rem,6.6vw,6rem);line-height:1.06; }
:is(.campaign-table-wrap,.history-card,.search-result,.campaign-summary) { border-radius:14px;box-shadow:none; }
.campaign-table thead { background:#143623; }
.campaign-table th,.campaign-table td { padding-top:16px;padding-bottom:16px; }
.campaign-table tbody tr:nth-child(even):not(.current-row) { background:#ffffff03; }
.search-result { transition:border-color .15s,background .15s; }
.search-result:hover { transform:none;background:#123120; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline:3px solid #b6e883;outline-offset:4px; }
@media(max-width:600px){:is(.campaigns-hero,.feature-hero,.search-hero) h1{font-size:clamp(2.1rem,9.5vw,3.5rem)}.campaign-table th,.campaign-table td{padding-block:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
