/* LEW26 — hoja base de la Web 2026 (tokens, cabecera, rejilla y componentes).
   Paleta de la web vigente (DHM #103865 · DHF #2B78C1) con los paneles de los mockups diseno/web-2026.
   Cada área añade lo suyo en assets/css/<área>.css con prefijo propio (l26m- partido, l26c- competición…). */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(../fonts/roboto-latin.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(../fonts/roboto-italic-latin.woff2) format("woff2"); }

:root {
  --l26-navy-950: #070f2b;
  --l26-navy-900: #0a1538;
  --l26-navy-800: #0f1e4d;
  --l26-navy-700: #172a66;
  --l26-ink: #0f1b3d;
  --l26-text: #27324d;
  --l26-muted: #65708a;
  --l26-line: #e4e9f2;
  --l26-line-strong: #cfd7e6;
  --l26-bg: #f4f6fb;
  --l26-card: #ffffff;
  --l26-soft: #f0f3fa;
  --l26-link: #1f3fae;
  --l26-accent: #103865;
  --l26-dhm: #103865;
  --l26-dhf: #2B78C1;
  --l26-win: #1f9d55;
  --l26-draw: #9aa3b5;
  --l26-loss: #dc3545;
  --l26-live: #e11d48;
  --l26-gold: #e9b10a;
  --l26-s1: #13307a;
  --l26-s2: #3b8fe0;
  --l26-s3: #2cb5a9;
  --l26-s4: #f59e0b;
  --l26-c1: #13307a; --l26-c2: #3b8fe0; --l26-c3: #2cb5a9; --l26-c4: #6d3fc4; --l26-c5: #f59e0b; --l26-c6: #94a3b8;
  --l26-radius: 10px;
  --l26-radius-sm: 6px;
  --l26-shadow: 0 1px 2px rgba(15, 27, 61, .04), 0 2px 10px rgba(15, 27, 61, .05);
  --l26-gutter: clamp(12px, 2.4vw, 32px);
  --l26-max: 1440px;
  --l26-font: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:has(body.l26) { overflow-x: clip; }
body.l26 { margin: 0; overflow-x: clip; background: var(--l26-bg); color: var(--l26-text); font: 400 14px/1.45 var(--l26-font); font-variant-numeric: tabular-nums; }
:where(.l26) img { max-width: 100%; height: auto; }
:where(.l26) a { color: inherit; text-decoration: none; }
:where(.l26) :is(h1, h2, h3, h4) { margin: 0; color: var(--l26-ink); line-height: 1.15; text-wrap: balance; }
:where(.l26) p { margin: 0; }
:where(.l26) button { font: inherit; }
.l26 :focus-visible { outline: 2px solid var(--l26-s2); outline-offset: 2px; border-radius: 3px; }
.l26-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.l26-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.l26-skip:focus { left: 8px; }
.l26-container { width: 100%; max-width: var(--l26-max); margin: 0 auto; padding-inline: var(--l26-gutter); }
.l26-main { padding-bottom: 48px; min-height: 50vh; }
.l26-devbar { background: #ffd84d; color: #3a2a00; font-size: 12px; text-align: center; padding: 3px 8px; }
.l26-devbar a { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .l26 * { transition: none !important; animation: none !important; } }

/* ─── Cabecera ────────────────────────────────────────────────────────────── */
.l26-header { position: relative; z-index: 20; }
.l26-hbar1 { background: var(--l26-navy-950); color: #fff; }
.l26-hbar1__in { display: flex; align-items: center; gap: 28px; min-height: 38px; }
.l26-hbar1__all { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.l26-hbar1__crests { display: flex; align-items: center; gap: clamp(10px, 2.2vw, 36px); overflow-x: auto; scrollbar-width: none; padding-block: 5px; flex: 1; justify-content: space-around; }
.l26-hbar1__crests::-webkit-scrollbar { display: none; }
.l26-hbar1__crests img { width: 26px; height: 26px; object-fit: contain; display: block; transition: transform .15s; }
.l26-hbar1__crests a:hover img { transform: scale(1.15); }

.l26-hbar2 { background: #fff; border-bottom: 1px solid var(--l26-line); }
.l26-hbar2__in { display: flex; align-items: center; gap: 22px; min-height: 76px; min-width: 0; }
.l26-logo img { width: clamp(160px, 15vw, 230px); height: auto; display: block; }
.l26-mainnav { display: flex; align-items: center; gap: clamp(12px, 2vw, 34px); margin-left: clamp(8px, 2vw, 40px); }
.l26-mainnav a { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: var(--l26-ink); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.l26-mainnav a:hover, .l26-mainnav a.is-active { border-color: var(--l26-ink); }
.l26-mainnav a.is-active { color: var(--l26-link); border-color: var(--l26-link); }
.l26-rrss { display: flex; gap: 8px; margin-left: auto; }
.l26-rrss a { width: 30px; height: 30px; border-radius: 50%; background: var(--l26-navy-800); color: #fff; display: grid; place-items: center; transition: background .15s; }
.l26-rrss a:hover { background: var(--l26-s2); }
.l26-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--l26-line-strong); border-radius: 8px; padding: 0 12px; height: 40px; width: clamp(180px, 18vw, 290px); color: var(--l26-muted); }
.l26-search input { border: 0; outline: 0; font: inherit; width: 100%; min-width: 0; background: transparent; color: var(--l26-ink); }
.l26-lang { display: flex; gap: 6px; font-weight: 700; font-size: 12px; }
.l26-lang a { color: var(--l26-muted); padding: 4px; }
.l26-lang a.is-active { color: var(--l26-ink); }
.l26-burger { display: none; border: 0; background: transparent; padding: 6px; color: var(--l26-ink); cursor: pointer; }

.l26-hbar3 { background: #fff; padding-block: 10px; }
.l26-comps { display: flex; gap: 0; background: #fff; border: 1px solid var(--l26-line); border-radius: var(--l26-radius); overflow-x: auto; scrollbar-width: none; }
.l26-comps::-webkit-scrollbar { display: none; }
.l26-comp { flex: 1 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 20px; min-height: 64px; position: relative; color: var(--l26-ink); }
.l26-comp + .l26-comp::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--l26-line); }
.l26-comp__ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; flex: none; }
.l26-comp__txt { display: flex; flex-direction: column; line-height: 1.25; }
.l26-comp__txt b { font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
.l26-comp__txt small { font-size: 12px; color: var(--l26-muted); white-space: nowrap; }
.l26-comp:hover { background: var(--l26-soft); }
.l26-comp.is-active { background: var(--l26-navy-800); color: #fff; border-radius: 8px; }
.l26-comp.is-active::before, .l26-comp.is-active + .l26-comp::before { display: none; }
.l26-comp.is-active .l26-comp__txt small { color: rgba(255,255,255,.75); }
.l26-comp.is-active .l26-comp__ico { background: #fff; color: var(--l26-navy-800); }
.l26-comp.is-active.is-own { background: var(--c); }
.l26-comp.is-active.is-own .l26-comp__ico { color: var(--c); }

.l26-hbar4 { background: #fff; border-bottom: 1px solid var(--l26-line); }
.l26-hbar4__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.l26-hbar4__in > * { min-width: 0; }
.l26-divnav { display: flex; overflow-x: auto; scrollbar-width: none; }
.l26-divnav::-webkit-scrollbar { display: none; }
.l26-divnav a { padding: 13px 18px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: var(--l26-muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.l26-divnav a:hover { color: var(--l26-ink); }
.l26-divnav a.is-active { color: var(--l26-accent); border-bottom-color: var(--l26-accent); }

.l26-selnav { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--l26-muted); white-space: nowrap; }
.l26-selnav select { appearance: none; border: 1px solid var(--l26-line-strong); border-radius: 8px; background: #fff; padding: 8px 32px 8px 12px; font: 600 13px var(--l26-font); color: var(--l26-ink); cursor: pointer; }
.l26-selnav .l26-ico { position: absolute; right: 10px; pointer-events: none; color: var(--l26-ink); }
.l26-selnav--dark select { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.l26-selnav--dark select option { color: var(--l26-ink); }
.l26-selnav--dark .l26-ico, .l26-selnav--dark span { color: #fff; }

.l26-drawer { position: fixed; inset: 0; background: rgba(7, 15, 43, .55); z-index: 90; }
.l26-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 340px); background: #fff; padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 24px; overflow-y: auto; }
.l26-drawer__close { border: 0; background: transparent; float: right; cursor: pointer; color: var(--l26-ink); }
.l26-drawer nav { display: flex; flex-direction: column; clear: both; padding-top: 8px; }
.l26-drawer nav a { display: flex; gap: 12px; align-items: center; padding: 12px 6px; font-weight: 700; color: var(--l26-ink); border-bottom: 1px solid var(--l26-line); }
.l26-drawer hr { border: 0; height: 12px; }

@media (max-width: 1280px) { .l26-rrss { display: none; } .l26-search { margin-left: auto; } }
@media (max-width: 1080px) {
  .l26-mainnav span { display: none; }
  .l26-mainnav a { padding: 8px; }
  .l26-comp__txt small { display: none; }
}
@media (max-width: 760px) {
  .l26-burger { display: block; }
  .l26-mainnav, .l26-lang, .l26-hbar1__all { display: none; }
  .l26-hbar2__in { min-height: 60px; gap: 10px; }
  .l26-search { width: auto; flex: 1 1 0; min-width: 0; margin-left: 0; }
  .l26-logo { flex: none; }
  .l26-logo img { width: 132px; }
  .l26-hbar4 .l26-selnav select { max-width: 60vw; }
  .l26-hbar3 { padding-block: 6px; }
  .l26-comp { padding: 8px 12px; min-height: 50px; }
  .l26-comp__ico { width: 30px; height: 30px; }
  .l26-hbar4__in { flex-direction: column; align-items: stretch; gap: 0; }
  .l26-hbar4 .l26-selnav { padding: 6px 0 10px; justify-content: space-between; }
}

/* ─── Migas ───────────────────────────────────────────────────────────────── */
.l26-crumbs { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.l26-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--l26-ink); letter-spacing: .02em; }
.l26-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--l26-muted); font-weight: 400; }
.l26-crumbs a:hover { color: var(--l26-link); }
.l26-crumbs li:last-child span { color: var(--l26-muted); }
.l26-crumbs__actions { display: flex; gap: 16px; font-size: 12px; font-weight: 600; }
.l26-crumbs__actions a { display: inline-flex; gap: 6px; align-items: center; color: var(--l26-link); }

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.l26-hero { position: relative; overflow: hidden; border-radius: var(--l26-radius); background: radial-gradient(120% 140% at 0% 0%, var(--l26-navy-700) 0%, var(--l26-navy-800) 45%, var(--l26-navy-950) 100%); color: #fff; margin-bottom: 16px; }
.l26-hero::after { content: ""; position: absolute; inset: 0 0 0 45%; background-image: var(--l26-hero-img, none); background-size: cover; background-position: center right; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); opacity: .9; pointer-events: none; }
.l26-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--l26-accent); z-index: 1; }
.l26-hero__inner { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); padding: clamp(18px, 3vw, 32px) clamp(18px, 3vw, 40px); }
.l26-hero__crest img { width: clamp(64px, 8vw, 104px); height: clamp(64px, 8vw, 104px); object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.l26-hero__text { flex: 1; min-width: 0; }
.l26-hero__right { min-width: 0; max-width: 100%; }
.l26-hero__eyebrow { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.85); margin-bottom: 4px; }
.l26-hero__title { color: #fff; font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.l26-hero__subtitle { margin-top: 6px; color: rgba(255,255,255,.85); font-size: 15px; }
.l26-hero__meta { display: flex; flex-wrap: wrap; gap: 18px 36px; margin-top: 18px; }
.l26-hero__right { flex: none; }
.l26-hero__tabs { position: relative; z-index: 2; padding: 0 clamp(18px, 3vw, 40px); }
.l26-hero__tabs .l26-tabs { border: 0; background: transparent; margin: 0; }
.l26-hero__tabs .l26-tab { color: rgba(255,255,255,.8); }
.l26-hero__tabs .l26-tab.is-active, .l26-hero__tabs .l26-tab:hover { color: #fff; border-bottom-color: #fff; }
.l26-meta { display: flex; gap: 10px; align-items: flex-start; }
.l26-meta .l26-ico { margin-top: 2px; opacity: .9; }
.l26-meta__label { display: block; font-size: 12px; color: rgba(255,255,255,.75); }
.l26-meta__value { display: block; font-size: 14px; font-weight: 600; }
@media (max-width: 760px) {
  .l26-hero::after { inset: 0; opacity: .25; -webkit-mask-image: none; mask-image: none; }
  .l26-hero__inner { flex-wrap: wrap; }
  .l26-hero__right { width: 100%; }
}

/* ─── Pestañas ────────────────────────────────────────────────────────────── */
.l26-tabs { border-bottom: 1px solid var(--l26-line); margin-bottom: 18px; background: transparent; }
.l26-tabs__track { display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; }
.l26-tabs__track::-webkit-scrollbar { display: none; }
.l26-tab { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--l26-muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.l26-tab:hover { color: var(--l26-ink); }
.l26-tab.is-active { color: var(--l26-link); border-bottom-color: var(--l26-link); }
.l26-seg { display: inline-flex; gap: 4px; background: var(--l26-soft); padding: 4px; border-radius: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.l26-seg__btn { border: 0; background: transparent; padding: 7px 14px; border-radius: 6px; font-weight: 600; font-size: 13px; color: var(--l26-muted); cursor: pointer; }
.l26-seg__btn.is-active { background: #fff; color: var(--l26-ink); box-shadow: var(--l26-shadow); }

/* ─── Rejilla y tarjetas ──────────────────────────────────────────────────── */
.l26-grid { display: grid; gap: 16px; margin-bottom: 16px; align-items: start; }
.l26-grid__cell { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.l26-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l26-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.l26-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.l26-grid--main-side { grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); }
.l26-grid--side-main-side { grid-template-columns: minmax(240px, 1fr) minmax(0, 1.4fr) minmax(240px, 1fr); }
.l26-grid--stretch { align-items: stretch; }
.l26-grid--stretch > .l26-grid__cell > .l26-card { height: 100%; }
@media (max-width: 1180px) { .l26-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .l26-grid--side-main-side { grid-template-columns: 1fr 1fr; } .l26-grid--side-main-side > :nth-child(2) { grid-column: 1 / -1; order: -1; } }
@media (max-width: 960px) { .l26-grid--main-side, .l26-grid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .l26-grid--2, .l26-grid--4, .l26-grid--side-main-side { grid-template-columns: minmax(0, 1fr); } }

.l26-card { background: var(--l26-card); border: 1px solid var(--l26-line); border-radius: var(--l26-radius); box-shadow: var(--l26-shadow); min-width: 0; }
.l26-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 6px; }
.l26-card__title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--l26-ink); }
.l26-card__aside { margin-left: auto; }
.l26-card__body { padding: 10px 18px 18px; }
.l26-card--flush .l26-card__body { padding: 0 0 6px; }
.l26-card__foot { padding: 0 18px 16px; text-align: center; }
.l26-card--dark { background: linear-gradient(160deg, var(--l26-navy-800), var(--l26-navy-950)); border-color: transparent; color: #fff; }
.l26-card--dark .l26-card__title { color: #fff; }
.l26-card--dark .l26-more { color: #fff; }
.l26-more { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--l26-link); white-space: nowrap; letter-spacing: .02em; }
.l26-more:hover { text-decoration: underline; }
.l26-more--center { display: flex; justify-content: center; margin-top: 14px; }
.l26-stitle { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 10px; }
.l26-stitle h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.l26-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 8px; background: var(--l26-navy-800); color: #fff !important; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; border: 0; cursor: pointer; }
.l26-btn:hover { background: var(--l26-navy-700); }
.l26-btn--ghost { background: transparent; border: 1px solid currentColor; color: inherit !important; }
.l26-btn--block { display: flex; width: 100%; }
.l26-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; background: var(--l26-soft); color: var(--l26-ink); }
.l26-badge--live { background: var(--l26-live); color: #fff; }
.l26-badge--dark { background: var(--l26-navy-800); color: #fff; }
.l26-badge--final { background: #e8f5ee; color: #16713d; }
.l26-empty { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 8px; background: var(--l26-soft); color: var(--l26-muted); }
.l26-card--dark .l26-empty { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.l26-empty-page { padding-block: 64px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.l26-empty-page h1 { font-size: 28px; }
.l26-error-detail { text-align: left; background: #fff4f4; color: #8a1c1c; padding: 12px; border-radius: 8px; max-width: 900px; overflow-x: auto; font-size: 12px; }

/* ─── Tablas ──────────────────────────────────────────────────────────────── */
.l26-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.l26-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.l26-table th { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--l26-ink); letter-spacing: .03em; padding: 10px 8px; border-bottom: 1px solid var(--l26-line); white-space: nowrap; }
.l26-table td { padding: 9px 8px; border-bottom: 1px solid var(--l26-line); white-space: nowrap; color: var(--l26-text); }
.l26-table tbody tr:last-child td { border-bottom: 0; }
.l26-table tbody tr:hover td { background: #fafbfe; }
.l26-table tfoot td { font-weight: 800; color: var(--l26-ink); border-top: 1px solid var(--l26-line-strong); padding: 12px 8px; }
.l26-table .a-l { text-align: left; } .l26-table .a-c { text-align: center; } .l26-table .a-r { text-align: right; }
.l26-table .is-strong { font-weight: 800; color: var(--l26-ink); }
.l26-table .is-dim { color: var(--l26-muted); }
.l26-table tr.is-hl td { background: #eef3ff; }
.l26-teamlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--l26-ink); }
.l26-teamlink:hover span { color: var(--l26-link); text-decoration: underline; }
.l26-crest { object-fit: contain; flex: none; display: inline-block; vertical-align: middle; }
.l26-avatar { border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--l26-soft); flex: none; }

/* ─── Racha, KPI, comparativas ───────────────────────────────────────────── */
.l26-form { display: inline-flex; gap: 4px; }
.l26-form__pill { width: var(--s, 18px); height: var(--s, 18px); border-radius: 50%; display: inline-grid; place-items: center; font-size: calc(var(--s, 18px) * .5); font-weight: 800; color: #fff; line-height: 1; }
.l26-form__pill--w { background: var(--l26-win); } .l26-form__pill--d { background: var(--l26-draw); } .l26-form__pill--l { background: var(--l26-loss); } .l26-form__pill--n { background: var(--l26-line-strong); }
.l26-kpis { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px 20px; }
@media (max-width: 760px) { .l26-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.l26-kpi { display: flex; align-items: center; gap: 12px; min-width: 0; }
.l26-kpi__ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--l26-soft); color: var(--l26-ink); flex: none; }
.l26-card--dark .l26-kpi__ico { background: rgba(255,255,255,.08); color: #fff; }
.l26-kpi__value { display: block; font-size: 22px; font-weight: 700; color: var(--l26-ink); line-height: 1.1; }
.l26-card--dark .l26-kpi__value { color: #fff; }
.l26-kpi__label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--l26-muted); letter-spacing: .03em; }
.l26-card--dark .l26-kpi__label { color: rgba(255,255,255,.75); }
.l26-kpi__sub { display: block; font-size: 11px; color: var(--l26-muted); }
.l26-kpi__spark { margin-left: auto; width: 70px; }
.l26-cmp { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 2px 8px; padding: 8px 0; }
.l26-cmp__v { font-weight: 700; color: var(--l26-ink); font-size: 14px; }
.l26-cmp__v:last-of-type { text-align: right; }
.l26-cmp__label { text-align: center; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--l26-text); letter-spacing: .02em; }
.l26-cmp__bar { grid-column: 1 / -1; display: flex; gap: 3px; height: 4px; }
.l26-cmp__bar i { display: block; height: 100%; border-radius: 2px; }
.l26-cmp__bar .h { background: var(--l26-s1); } .l26-cmp__bar .a { background: var(--l26-s2); }

/* ─── Filas de partido ───────────────────────────────────────────────────── */
.l26-mrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--l26-line); font-size: 13px; }
.l26-mrow:last-child { border-bottom: 0; }
.l26-mrow:hover { background: var(--l26-soft); }
.l26-mrow__date { font-size: 12px; color: var(--l26-muted); font-weight: 600; min-width: 42px; }
.l26-mrow__team { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--l26-ink); }
.l26-mrow__team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l26-mrow__team--h { justify-content: flex-end; text-align: right; }
.l26-mrow__score, .l26-mrow__time { font-weight: 800; color: var(--l26-ink); min-width: 56px; text-align: center; background: var(--l26-soft); border-radius: 6px; padding: 3px 6px; }
.l26-mrow__score.is-live { background: var(--l26-live); color: #fff; }
.l26-mrow:not(:has(.l26-mrow__date)) { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }

/* ─── Gráficos ───────────────────────────────────────────────────────────── */
.l26-chart { width: 100%; height: auto; display: block; overflow: visible; }
.l26-chart__grid { stroke: var(--l26-line); stroke-width: 1; }
.l26-chart__web { fill: none; stroke: var(--l26-line-strong); stroke-width: 1; }
.l26-chart__axis { font-size: 10px; fill: var(--l26-muted); }
.l26-chart__val { font-size: 10px; font-weight: 700; fill: var(--l26-ink); }
.l26-chart__big { font-size: 22px; font-weight: 800; fill: var(--l26-ink); }
.l26-chart__small { font-size: 9px; fill: var(--l26-muted); text-transform: uppercase; }
.l26-donut { max-width: 150px; }
.l26-donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.l26-donut-wrap .l26-donut { flex: 0 0 140px; }
.l26-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; flex: 1; min-width: 160px; }
.l26-legend li { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 8px; align-items: center; }
.l26-legend i { width: 12px; height: 12px; border-radius: 3px; display: block; }
.l26-legend b { color: var(--l26-ink); }
.l26-legend em { font-style: normal; color: var(--l26-muted); min-width: 48px; text-align: right; }
.l26-legend--inline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; justify-content: center; }
.l26-legend--inline li { display: flex; gap: 6px; }
.l26-hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.l26-hbars li { display: grid; grid-template-columns: minmax(90px, 38%) 1fr 48px; align-items: center; gap: 10px; font-size: 13px; }
.l26-hbars__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--l26-ink); }
.l26-hbars__track { height: 8px; background: var(--l26-soft); border-radius: 4px; overflow: hidden; }
.l26-hbars__track i { display: block; height: 100%; background: var(--l26-s1); border-radius: 4px; }
.l26-hbars b { text-align: right; color: var(--l26-ink); }
.l26-spark { width: 100%; height: 26px; display: block; }
.l26-pool { max-width: 340px; margin: 0 auto; }
.l26-pool__water { fill: #dff0fb; stroke: #9cc9e8; }
.l26-pool__zone { fill: var(--l26-s1); stroke: #fff; stroke-width: 2; }
.l26-pool__txt { font-size: 13px; font-weight: 800; fill: var(--l26-ink); paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 3px; }
.l26-pool__goal { fill: #fff; stroke: var(--l26-ink); }

/* ─── Pie ─────────────────────────────────────────────────────────────────── */
.l26-footer { background: var(--l26-navy-950); color: rgba(255,255,255,.8); padding-block: 36px calc(28px + env(safe-area-inset-bottom, 0px)); }
.l26-footer__in { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.l26-footer__logo { filter: brightness(0) invert(1); opacity: .95; width: 170px; }
.l26-footer__brand p { margin: 8px 0 14px; font-size: 13px; }
.l26-rrss--footer { margin: 0; display: flex; }
.l26-rrss--footer a { background: rgba(255,255,255,.1); }
.l26-footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; }
.l26-footer__links a:hover { color: #fff; text-decoration: underline; }
.l26-footer__copy { grid-column: 1 / -1; font-size: 12px; opacity: .6; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }
@media (max-width: 760px) { .l26-footer__in { grid-template-columns: 1fr; } }

.l26-debug { position: fixed; bottom: 0; left: 0; right: 0; max-height: 40vh; overflow: auto; background: #111; color: #0f0; font: 11px/1.4 monospace; z-index: 99; padding: 6px 10px; }

/* ─── Estadísticas avanzadas (ui/stats.php) ──────────────────────────────── */
.l26s-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; margin-bottom: 12px; }
.l26s-tile { background: var(--l26-soft); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.l26s-tile b { font-size: 20px; font-weight: 800; color: var(--l26-ink); line-height: 1.1; }
.l26s-tile span { font-size: 11px; color: var(--l26-muted); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.l26s-bars { margin-top: 4px; }
.l26s-bars li { grid-template-columns: minmax(120px, 48%) 1fr 58px; }
.l26s-bars .l26-hbars__label { white-space: normal; font-size: 12px; line-height: 1.25; }
.l26s-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.l26s-tag { display: flex; flex-direction: column; background: var(--l26-navy-800); color: #fff; border-radius: 8px; padding: 8px 12px; }
.l26s-tag span { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.l26s-tag b { font-size: 15px; }
.l26s-more { margin-top: 10px; }
.l26s-more summary { cursor: pointer; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--l26-link); letter-spacing: .02em; padding: 6px 0; }
.l26s-more[open] summary { margin-bottom: 8px; }
.l26s-radar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; }
.l26s-radar-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12px; }
.l26s-radar-legend li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--l26-line); padding-bottom: 4px; }
.l26s-radar-legend b { color: var(--l26-ink); }
@media (max-width: 640px) { .l26s-radar { grid-template-columns: 1fr; } }
.l26s-ranks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.l26s-rank h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l26s-rank ol { list-style: none; margin: 0; padding: 0; }
.l26s-rank li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--l26-line); font-size: 13px; }
.l26s-rank li:first-child .l26s-rank__pos { background: var(--l26-gold); color: #fff; }
.l26s-rank__pos { width: 22px; height: 22px; border-radius: 50%; background: var(--l26-soft); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.l26s-rank__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l26s-rank__name a:hover { color: var(--l26-link); }
.l26s-rank b { color: var(--l26-ink); }
.l26s-cmptext { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 6px 0; font-size: 13px; border-bottom: 1px solid var(--l26-line); }
.l26s-cmptext em { font-style: normal; font-size: 11px; text-transform: uppercase; color: var(--l26-muted); text-align: center; }
.l26s-cmptext span:last-child { text-align: right; }
.l26s-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.l26s-zone h3 { font-size: 12px; text-transform: uppercase; margin-bottom: 6px; }
.l26s-note { font-size: 12px; color: var(--l26-muted); margin: -6px 0 12px; }
