/* LEW26 — fichas de EQUIPO y CLUB (pages/team, pages/club). Prefijo l26t-. */

/* ─── Cabecera: hero + tarjeta oscura ─────────────────────────────────────── */
.l26t-top { margin-bottom: 0; align-items: stretch; }
.l26t-top > .l26-grid__cell > * { height: 100%; }
.l26t-herowrap { display: flex; }
.l26t-herowrap > .l26-hero { flex: 1; margin-bottom: 0; min-height: 230px; display: flex; flex-direction: column; justify-content: center; }
.l26t .l26t-hero::after { background-image: var(--l26t-bg, none); background-size: cover; background-position: center right; inset: 0 0 0 40%; opacity: .85; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 30%, #000 70%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 30%, #000 70%); }
.l26t-hero .l26-hero__text { text-shadow: 0 1px 6px rgba(7,15,43,.9), 0 0 18px rgba(7,15,43,.6); }
.l26t-hero .l26-hero__crest img { background: rgba(255,255,255,.06); border-radius: 50%; padding: 6px; }
.l26t-hero .l26-hero__meta { gap: 14px 30px; }
.l26t-hero .l26-hero__title { text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.l26t-hero__clubwrap { flex-basis: 100%; }
.l26t-hero__club { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px; }
.l26t-hero__club:hover { color: #fff; border-color: #fff; }
.l26t-hero--club { min-height: 280px; }
.l26t-hero--club + * { margin-top: 16px; }
.l26t-herowrap + .l26-grid { margin-top: 16px; }
.l26t-links { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.l26t-links a { display: inline-flex; align-items: center; gap: 6px; height: 32px; min-width: 32px; justify-content: center; padding: 0 9px; border-radius: 16px; background: rgba(255,255,255,.12); color: #fff; font-size: 12px; font-weight: 600; }
.l26t-links a:hover { background: rgba(255,255,255,.25); }

.l26t-side .l26-card__body { display: flex; flex-direction: column; gap: 12px; padding: 18px; height: 100%; }
.l26t-side__sel .l26-selnav { width: 100%; }
.l26t-side__sel .l26-selnav > span { display: none; }
.l26t-side__sel select { width: 100%; background: transparent; color: #fff; border-color: rgba(255,255,255,.35); text-transform: uppercase; }
.l26t-side__sel select option { color: var(--l26-ink); }
.l26t-side__sel .l26-ico { color: #fff; }
.l26t-side__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.75); }
.l26t-side__pos { display: flex; align-items: center; gap: 18px; flex: 1; }
.l26t-side__num { font-size: 64px; font-weight: 800; line-height: 1; color: #fff; }
.l26t-side__num sup { font-size: 28px; vertical-align: top; position: relative; top: 4px; }
.l26t-side__pts { display: flex; flex-direction: column; gap: 3px; }
.l26t-side__pts b { font-size: 17px; color: #fff; }
.l26t-side__pts em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.8); }
.l26t-side .l26-btn--ghost { border-color: rgba(255,255,255,.4); }
.l26t-side .l26-btn--ghost:hover { background: rgba(255,255,255,.1); }

.l26t-tabs { margin: 6px 0 16px; background: #fff; border: 1px solid var(--l26-line); border-radius: var(--l26-radius); padding-inline: 8px; }
.l26t-tabs .l26-tab { padding: 14px 18px; }

@media (max-width: 760px) {
  .l26t .l26t-hero::after { inset: 0; opacity: .28; }
  .l26t-herowrap > .l26-hero { min-height: 0; }
  .l26t-hero .l26-hero__inner { align-items: flex-start; }
  .l26t-hero .l26-hero__crest img { width: 64px; height: 64px; }
  .l26t-side__num { font-size: 48px; }
  .l26t-tabs .l26-tab { padding: 12px 12px; }
}

/* ─── Piezas comunes ──────────────────────────────────────────────────────── */
.l26t-note { font-size: 12px; color: var(--l26-muted); margin-top: 8px; }
.l26t-foot { text-align: center; margin: 4px 0 8px; }
.l26t-subtitle { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--l26-ink); margin: 18px 0 10px; }
.l26t-subtitle:first-child { margin-top: 4px; }
.l26t-pill-empty { width: 20px; display: inline-block; }
.l26t-plink { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--l26-ink); }
.l26t-plink span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l26t-plink:hover span { color: var(--l26-link); text-decoration: underline; }
.l26t-rec { font-size: 12px; font-weight: 700; color: var(--l26-muted); white-space: nowrap; }

.l26t-mlist { display: flex; flex-direction: column; }
.l26t-mres { display: grid; grid-template-columns: 62px minmax(0, 1fr) 24px; align-items: center; gap: 6px; border-bottom: 1px solid var(--l26-line); }
.l26t-mres:last-child { border-bottom: 0; }
.l26t-mres .l26-mrow { border-bottom: 0; padding-inline: 0; }
.l26t-mres__date { font-size: 12px; font-weight: 700; color: var(--l26-ink); line-height: 1.2; text-transform: capitalize; }
.l26t-mres__date small { display: block; font-weight: 500; color: var(--l26-muted); font-size: 11px; text-transform: none; }

.l26t-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.l26t-facts li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--l26-line); font-size: 13px; }
.l26t-facts li:last-child { border-bottom: 0; }
.l26t-facts li > span { color: var(--l26-muted); }
.l26t-facts li b { color: var(--l26-ink); text-align: right; }
.l26t-facts li small { grid-column: 1 / -1; font-size: 11px; color: var(--l26-muted); }
.l26t-facts--ico li { grid-template-columns: 18px 1fr auto; }
.l26t-facts--ico li .l26-ico { color: var(--l26-muted); }
.l26t-facts--ico li b { font-size: 16px; }
.l26t-facts--ico li small { grid-column: 2 / -1; text-align: right; margin-top: -4px; }
.l26t-facts--rec li > span, .l26t-facts--rec li > a span { color: var(--l26-ink); font-weight: 500; }
.l26t-facts--rec li a:hover span { color: var(--l26-link); text-decoration: underline; }

/* Próximo partido */
.l26t-next { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px 0 2px; text-align: center; }
.l26t-next__round { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--l26-muted); letter-spacing: .03em; }
.l26t-next__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; width: 100%; }
.l26t-next__team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.l26t-next__team b { font-size: 13px; color: var(--l26-ink); line-height: 1.2; }
.l26t-next__mid { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.l26t-next__time, .l26t-next__score { font-size: 26px; font-weight: 800; color: var(--l26-ink); background: var(--l26-soft); border-radius: 8px; padding: 4px 12px; }
.l26t-next__mid span { font-size: 12px; color: var(--l26-muted); text-transform: capitalize; }
.l26t-next__venue { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--l26-muted); }
.l26t-next:hover .l26t-next__team b { color: var(--l26-link); }

/* Inicio */
.l26t-form { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--l26-line); font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--l26-muted); }
.l26t-minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px 8px; }
.l26t-mini { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.l26t-mini .l26-avatar { border: 2px solid var(--l26-line); }
.l26t-mini b { font-size: 12px; color: var(--l26-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.l26t-mini span { font-size: 11px; color: var(--l26-muted); }
.l26t-mini:hover b { color: var(--l26-link); }
.l26t-scorers .l26-hbars li { grid-template-columns: minmax(120px, 48%) 1fr 36px; }
.l26t-clubbox { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.l26t-clubbox b { display: block; color: var(--l26-ink); font-size: 15px; }
.l26t-clubbox span { font-size: 12px; color: var(--l26-muted); }

/* ─── Plantilla ───────────────────────────────────────────────────────────── */
.l26t-pos + .l26t-pos { margin-top: 18px; }
.l26t-pos__title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; color: var(--l26-ink); }
.l26t-pos__title small { font-size: 11px; color: var(--l26-muted); font-weight: 700; margin-left: 4px; }
.l26t-pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.l26t-pcard { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: stretch; border: 1px solid var(--l26-line); border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow .15s, border-color .15s; }
.l26t-pcard:hover { border-color: var(--l26-line-strong); box-shadow: var(--l26-shadow); }
.l26t-pcard__img { position: relative; background: linear-gradient(180deg, var(--l26-soft), #dfe6f3); display: flex; align-items: flex-end; justify-content: center; min-height: 112px; overflow: hidden; }
.l26t-pcard__img .l26-avatar { border-radius: 0; width: 88px; height: 112px; object-fit: cover; object-position: 50% 8%; background: transparent; }
.l26t-pcard__num { position: absolute; top: 6px; left: 6px; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 5px; background: var(--l26-accent); color: #fff; font: 800 12px/24px var(--l26-font); font-style: normal; text-align: center; }
.l26t-pcard__txt { display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 10px 0; min-width: 0; font-size: 12px; color: var(--l26-muted); }
.l26t-pcard__txt b { font-size: 13px; color: var(--l26-ink); line-height: 1.2; }
.l26t-pcard__txt em { font-style: normal; font-weight: 600; color: var(--l26-text); }
.l26t-pcard__txt > span { margin-top: auto; }
.l26t-nat { font-weight: 700; color: var(--l26-ink); font-size: 11px; }
.l26t-staffs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.l26t-staff { display: flex; align-items: center; gap: 12px; border: 1px solid var(--l26-line); border-radius: 10px; padding: 10px; }
.l26t-staff b { display: block; color: var(--l26-ink); font-size: 13px; }
.l26t-staff span { font-size: 12px; color: var(--l26-muted); }
.l26t-nats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.l26t-nats li { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; font-size: 12px; }
.l26t-flag { grid-row: 1 / 3; font-size: 24px; line-height: 1; color: var(--l26-muted); }
.l26t-nats b { color: var(--l26-ink); }
.l26t-nats li > span:last-child { color: var(--l26-muted); }

/* ─── Estadísticas ────────────────────────────────────────────────────────── */
.l26t-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.l26t-tile { background: #fff; border: 1px solid var(--l26-line); border-radius: var(--l26-radius); box-shadow: var(--l26-shadow); padding: 14px 12px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.l26t-tile__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--l26-ink); min-height: 28px; display: flex; align-items: center; }
.l26t-tile.is-neg .l26t-tile__label { color: var(--l26-loss); }
.l26t-tile__value { font-size: 28px; font-weight: 800; color: var(--l26-ink); line-height: 1.1; }
.l26t-tile__rank { font-size: 11px; color: var(--l26-muted); min-height: 15px; }
.l26t-tile .l26-spark { height: 26px; margin-top: 4px; }
@media (max-width: 1280px) { .l26t-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .l26t-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .l26t-tile__value { font-size: 24px; } }
.l26t-vs { --l26-s1: var(--l26-win); --l26-s2: var(--l26-loss); }
.l26t-ha { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.l26t-ha__col { background: var(--l26-soft); border-radius: 8px; padding: 12px; text-align: center; }
.l26t-ha__col h4 { display: flex; justify-content: center; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.l26t-ha__col p { padding: 5px 0; }
.l26t-ha__col b { display: block; font-size: 18px; color: var(--l26-ink); }
.l26t-ha__col span { font-size: 11px; color: var(--l26-muted); }
.l26t-streak { display: flex; justify-content: center; margin: 12px 0; flex-wrap: wrap; }
.l26t-streak .l26-form { flex-wrap: wrap; justify-content: center; }
.l26t-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; padding: 8px 0; }
.l26t-trio + .l26t-trio { border-top: 1px solid var(--l26-line); }
.l26t-trio b { display: block; font-size: 22px; font-weight: 800; color: var(--l26-ink); }
.l26t-trio span { font-size: 11px; color: var(--l26-muted); line-height: 1.2; display: block; }
.l26t-trio .is-accent b { color: var(--l26-link); }
.l26t-cards { display: flex; justify-content: center; gap: 36px; padding: 10px 0; text-align: center; }
.l26t-cards i { display: block; width: 26px; height: 34px; border-radius: 3px; margin: 0 auto 6px; }
.l26t-yc { background: #f5c518; } .l26t-rc { background: var(--l26-loss); }
.l26t-cards b { display: block; font-size: 24px; color: var(--l26-ink); }
.l26t-cards span { font-size: 11px; color: var(--l26-muted); }
.l26t-posbars { list-style: none; margin: 8px 0 0; padding: 0; display: flex; align-items: flex-end; gap: 3px; height: 150px; }
.l26t-posbars li { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; min-width: 0; }
.l26t-posbars i { display: block; width: 100%; background: var(--l26-s2); border-radius: 3px 3px 0 0; min-height: 4px; }
.l26t-posbars span { font-size: 10px; color: var(--l26-muted); }
.l26t-rivals .l26-hbars li { grid-template-columns: minmax(110px, 44%) 1fr 40px; }
.l26t-rivals .l26-hbars__label { display: flex; align-items: center; gap: 6px; }
.l26t-ranking .l26-table td { padding-block: 6px; }

/* ─── Galería ─────────────────────────────────────────────────────────────── */
.l26t-gnav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.l26t-gnav a { padding: 7px 14px; border-radius: 18px; background: var(--l26-soft); font-size: 13px; font-weight: 600; color: var(--l26-muted); }
.l26t-gnav a.is-active { background: var(--l26-navy-800); color: #fff; }
.l26t-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.l26t-gitem { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--l26-soft); max-width: 100%; }
.l26t-gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.l26t-gitem:hover img { transform: scale(1.04); }
.l26t-gitem__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--l26-muted); }
.l26t-gitem__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.l26t-gitem__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 7px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(7,15,43,.75)); text-transform: capitalize; }
.l26t-pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; font-size: 13px; }
.l26t-pager a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--l26-link); }
.l26t-pager span { color: var(--l26-muted); }
@media (max-width: 560px) { .l26t-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }

/* ─── Club ────────────────────────────────────────────────────────────────── */
.l26t-tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.l26t-tcard { border: 1px solid var(--l26-line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.l26t-tcard__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: var(--l26-ink); }
.l26t-tcard__head > span:nth-child(2) { flex: 1; min-width: 0; }
.l26t-tcard__head b { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.l26t-tcard__head small { font-size: 12px; color: var(--l26-muted); }
.l26t-tcard__ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; flex: none; }
.l26t-tcard__img { position: relative; display: block; aspect-ratio: 16 / 8; background: var(--l26-navy-900); overflow: hidden; max-width: 100%; }
.l26t-tcard__img > img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .3s; }
.l26t-tcard__img:hover > img { transform: scale(1.03); }
.l26t-tcard__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 24px 12px 10px; background: linear-gradient(transparent, rgba(7,15,43,.85)); color: #fff; }
.l26t-tcard__bar b { flex: 1; font-size: 14px; }
.l26t-tcard__facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; padding: 12px 14px 14px; }
.l26t-tcard__facts p:last-child { grid-column: 1 / -1; }
.l26t-tcard__facts p { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.l26t-tcard__facts span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--l26-muted); }
.l26t-tcard__facts b { font-size: 13px; color: var(--l26-ink); overflow: hidden; text-overflow: ellipsis; }
.l26t-tcard__facts b a { display: inline-flex; align-items: center; gap: 6px; }
.l26t-tcard__facts b a span { font-size: 12px; font-weight: 700; color: var(--l26-ink); text-transform: capitalize; letter-spacing: 0; }
.l26t-sus { display: flex; align-items: center; gap: 16px; color: #0E9F6E; margin-bottom: 8px; }
.l26t-sus b { display: block; font-size: 26px; color: var(--l26-ink); line-height: 1; }
.l26t-sus span { font-size: 11px; color: var(--l26-muted); }
.l26t-poolimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.l26t-pool { margin-top: 10px; }
.l26t-pool b { display: block; color: var(--l26-ink); }
.l26t-pool span { font-size: 12px; color: var(--l26-muted); }


.l26t-evo .l26-line { max-height: 300px; }
.l26t-evo .l26-seg__panel { max-width: 720px; margin: 0 auto; }
.l26t-next .l26-form { margin-top: 2px; }
.l26t-pcard__facts i { font-style: normal; white-space: nowrap; }

/* Estadísticas avanzadas (pintor ui/stats.php) dentro de la ficha */
.l26t-rankbadges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.l26t-rankbadge { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; background: linear-gradient(160deg, var(--l26-navy-800), var(--l26-navy-950)); color: #fff; border-radius: var(--l26-radius); padding: 12px 16px; }
.l26t-rankbadge .l26-ico { grid-row: 1 / 3; opacity: .8; }
.l26t-rankbadge b { font-size: 28px; line-height: 1; }
.l26t-rankbadge span { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.l26t-advcard .l26s { margin-bottom: 0; }
.l26t-advcard .l26s .l26-card { box-shadow: none; background: var(--l26-soft); border-color: transparent; }
.l26t-advcard .l26s .l26s-tile { background: #fff; }
@media (max-width: 560px) { .l26t-rankbadges { grid-template-columns: 1fr; } }
