/* Liga Comunal Pro - Plugin CSS v1.6.5 - Light Edition */

:root {
    --lc-bg:          #ffffff;
    --lc-bg-2:        #f8fafc;
    --lc-bg-3:        #f1f5f9;
    --lc-primary:     #e8192c;
    --lc-primary-900: #b91220;
    --lc-gold:        #d97706;
    --lc-success:     #16a34a;
    --lc-danger:      #dc2626;
    --lc-slate-50:    #f8fafc;
    --lc-slate-100:   #f1f5f9;
    --lc-slate-200:   #e2e8f0;
    --lc-slate-300:   #cbd5e1;
    --lc-slate-500:   #64748b;
    --lc-slate-700:   #334155;
    --lc-slate-900:   #0f172a;
    --lc-radius:      8px;
    --lc-radius-lg:   14px;
    --lc-shadow:      0 1px 4px rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.04);
    --lc-shadow-lg:   0 4px 20px rgba(0,0,0,0.10);
    --lc-border:      #e2e8f0;
    --lc-text:        #0f172a;
}

html,
body {
    background-color: #ffffff !important;
    color: #0f172a !important;
}
body { font-family: 'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
.lc-container { max-width:1100px; margin:0 auto; padding:0 1rem; }

/* ─── AVATAR ──────────────────────────────────────────────── */
.lc-avatar { display:inline-flex; align-items:center; justify-content:center; border-radius:50%; color:#fff; font-weight:800; text-transform:uppercase; flex-shrink:0; border:2px solid rgba(0,0,0,0.08); overflow:hidden; }
.lc-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.lc-avatar--xs { width:28px;  height:28px;  font-size:0.65rem; }
.lc-avatar--sm { width:36px;  height:36px;  font-size:0.8rem; }
.lc-avatar--md { width:52px;  height:52px;  font-size:1rem; }
.lc-avatar--lg { width:80px;  height:80px;  font-size:1.5rem; }
.lc-avatar--xl { width:120px; height:120px; font-size:2rem; }

/* ─── STANDINGS ───────────────────────────────────────────── */
.lc-standings { background:var(--lc-bg); border:1px solid var(--lc-border); border-radius:var(--lc-radius-lg); overflow:hidden; margin-bottom:1.5rem; color:var(--lc-text); box-shadow:var(--lc-shadow); }
.lc-standings__header { background:var(--lc-bg-2); color:#334155; padding:0.9rem 1.2rem; font-weight:800; font-size:0.82rem; letter-spacing:0.06em; text-transform:uppercase; display:flex; align-items:center; gap:0.5rem; border-bottom:1px solid var(--lc-border); }
.lc-standings__table { width:100%; border-collapse:collapse; font-size:0.82rem; color:var(--lc-text); }
.lc-standings__table thead th { background:var(--lc-bg-2); color:#64748b; font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; padding:0.6rem 0.4rem; border-bottom:1px solid var(--lc-border); text-align:center; }
.lc-standings__table thead th:nth-child(2) { text-align:left; }
.lc-standings__table tbody td { padding:0.7rem 0.4rem; border-bottom:1px solid #f1f5f9; text-align:center; color:var(--lc-text); }
.lc-standings__table tbody td:nth-child(2) { text-align:left; }
.lc-standings__table tbody tr:hover { background:#f8fafc; }
.lc-standings__table tbody tr:last-child td { border-bottom:none; }
.lc-standings__table tbody tr.is-champion  { border-left:3px solid var(--lc-gold); }
.lc-standings__table tbody tr.is-relegation { border-left:3px solid var(--lc-primary); }
.lc-standings__pos   { font-weight:700; color:#94a3b8; min-width:2rem; }
.lc-standings__team  { display:flex; align-items:center; gap:0.6rem; min-width:140px; }
.lc-standings__team img,.lc-standings__team .lc-avatar--xs { width:26px; height:26px; border-radius:50%; object-fit:cover; }
.lc-standings__team a { color:var(--lc-text); text-decoration:none; font-weight:700; transition:color 0.2s; }
.lc-standings__team a:hover { color:var(--lc-primary); }
.lc-standings__pts   { font-weight:900; color:var(--lc-text); font-size:0.95rem; }
.lc-standings__gd--plus  { color:#16a34a; font-weight:700; }
.lc-standings__gd--minus { color:#dc2626; font-weight:700; }
.lc-form { display:inline-flex; gap:3px; justify-content:center; }
.lc-form__pill { width:20px; height:20px; border-radius:4px; display:inline-flex; align-items:center; justify-content:center; font-size:0.55rem; font-weight:800; color:#fff; }
.lc-form__pill--W { background:#16a34a; }
.lc-form__pill--D { background:#94a3b8; }
.lc-form__pill--L { background:var(--lc-primary); }
.lc-standings__legend { padding:0.5rem 1rem; background:var(--lc-bg-2); border-top:1px solid var(--lc-border); display:flex; flex-wrap:wrap; gap:1rem; font-size:0.68rem; color:#64748b; }
.lc-standings__legend span { display:inline-flex; align-items:center; gap:0.35rem; }
.lc-standings__legend i { width:3px; height:14px; border-radius:2px; display:inline-block; }

/* ─── FIXTURE — CARRUSEL DE CARDS ────────────────────────── */
.lc-fixtures-legacy { display:flex; flex-direction:column; gap:1.5rem; }
.lc-fixture-group {}

.lc-fixture-month {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
    text-transform: uppercase; color: #64748b;
    padding: 0.25rem 0; margin-bottom: 0.75rem;
}
.lc-fixture-month::before {
    content: ''; display: block; width: 3px; height: 14px;
    background: var(--lc-primary); border-radius: 2px; flex-shrink: 0;
}
.lc-fixture-month::after {
    content: ''; flex: 1; height: 1px; background: #e2e8f0;
}

.lc-fixture-carousel {
    display: flex; gap: 1rem; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}
.lc-fixture-carousel::-webkit-scrollbar { height: 3px; }
.lc-fixture-carousel::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 2px; }
.lc-fixture-carousel::-webkit-scrollbar-thumb { background: var(--lc-primary); border-radius: 2px; }
.lc-fixture-carousel > div { flex: 0 0 210px; scroll-snap-align: start; }

/* ── LA CARD ── */
.lc-fixture {
    display: flex; flex-direction: column; gap: 0.75rem;
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 1rem; text-decoration: none !important; color: var(--lc-text);
    height: 100%; box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.lc-fixture:hover {
    border-color: rgba(232,25,44,0.4);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232,25,44,0.10);
    color: var(--lc-text); text-decoration: none;
}

.lc-fixture__top { display: flex; justify-content: space-between; align-items: center; }

.lc-fixture__badge {
    font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em;
    padding: 0.18rem 0.45rem; border-radius: 3px; text-transform: uppercase;
    background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; white-space: nowrap;
}
.lc-fixture__badge--ft   { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.lc-fixture__badge--prox { background: #fef2f2; color: var(--lc-primary); border-color: #fecaca; }

.lc-fixture__date { font-size: 0.68rem; font-weight: 700; color: #94a3b8; white-space: nowrap; }

.lc-fixture__matchup {
    display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; flex: 1;
}
.lc-fixture__team {
    display: flex; flex-direction: column; align-items: center; gap: 0.35rem; flex: 1; min-width: 0;
}
.lc-fixture__crest {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #e2e8f0;
}
.lc-fixture__crest-ph {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem; color: #fff; border: 2px solid rgba(0,0,0,0.08); flex-shrink: 0;
}
.lc-fixture__tname {
    font-size: 0.62rem; font-weight: 700; color: #334155; text-transform: uppercase;
    letter-spacing: 0.02em; text-align: center; max-width: 70px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2;
}
.lc-fixture__score {
    font-size: 1.5rem; font-weight: 900; color: #0f172a; text-align: center;
    flex-shrink: 0; min-width: 50px; line-height: 1; letter-spacing: -0.02em;
    display: flex; align-items: center; gap: 0.15rem;
}
.lc-fixture__score span { color: #cbd5e1; font-size: 1.1rem; }
.lc-fixture__score--vs {
    font-size: 0.78rem; font-weight: 800; color: #94a3b8; text-align: center;
    min-width: 40px; background: #f1f5f9; border-radius: 6px;
    padding: 0.4rem 0.5rem; letter-spacing: 0.04em;
}

.lc-fixture__venue {
    font-size: 0.62rem; color: #94a3b8; text-align: center;
    padding-top: 0.4rem; border-top: 1px solid #f1f5f9;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ─── TABS ────────────────────────────────────────────────── */
.lc-tabs__nav { display:flex; flex-wrap:wrap; gap:0.3rem; margin-bottom:1.25rem; }
.lc-tabs__btn { padding:0.45rem 1rem; font-size:0.78rem; font-weight:700; letter-spacing:0.04em; text-transform:uppercase; border:1px solid #e2e8f0; border-radius:6px; background:#fff; color:#64748b; cursor:pointer; transition:all 0.2s; display:inline-flex; align-items:center; gap:0.3rem; }
.lc-tabs__btn:hover { border-color:rgba(232,25,44,0.4); color:#0f172a; }
.lc-tabs__btn.is-active { background:var(--lc-primary); border-color:var(--lc-primary); color:#fff; }
.lc-tabs__btn-badge { background:rgba(0,0,0,0.10); font-size:0.58rem; padding:0.1rem 0.35rem; border-radius:8px; }
.lc-tabs__panel { display:none; }
.lc-tabs__panel.is-active { display:block; }

/* ─── FILTER BUTTONS ──────────────────────────────────────── */
.lc-btn { padding:0.4rem 1rem; font-size:0.75rem; font-weight:700; letter-spacing:0.04em; text-transform:uppercase; border:1px solid #e2e8f0; border-radius:6px; background:#fff; color:#64748b; cursor:pointer; transition:all 0.2s; }
.lc-btn:hover { border-color:rgba(232,25,44,0.4); color:#0f172a; }
.lc-btn--primary { background:var(--lc-primary); border-color:var(--lc-primary); color:#fff; }
.lc-btn--secondary { background:transparent; }

/* ─── RANK ────────────────────────────────────────────────── */
.lc-rank { background:var(--lc-bg); border:1px solid var(--lc-border); border-radius:var(--lc-radius-lg); overflow:hidden; margin-bottom:1rem; color:var(--lc-text); box-shadow:var(--lc-shadow); }
.lc-rank__header { background:var(--lc-bg-2); color:#334155; padding:0.75rem 1.1rem; font-size:0.78rem; font-weight:800; letter-spacing:0.06em; text-transform:uppercase; border-bottom:1px solid var(--lc-border); }
.lc-rank__header--goals::before   { content:'⚽ '; }
.lc-rank__header--assists::before { content:'🎯 '; }
.lc-rank__header--yellow::before  { content:'🟨 '; }
.lc-rank__header--red::before     { content:'🟥 '; }
.lc-rank__row { display:flex; align-items:center; gap:0.65rem; padding:0.6rem 1.1rem; border-bottom:1px solid #f1f5f9; transition:background 0.2s; color:var(--lc-text); text-decoration:none; }
.lc-rank__row:last-child { border-bottom:none; }
.lc-rank__row:hover { background:#f8fafc; }
.lc-rank__pos    { font-size:0.7rem; font-weight:800; color:#94a3b8; width:18px; text-align:center; flex-shrink:0; }
.lc-rank__avatar { width:32px; height:32px; border-radius:50%; object-fit:cover; flex-shrink:0; border:2px solid #e2e8f0; }
.lc-rank__info   { flex:1; min-width:0; }
.lc-rank__name   { font-size:0.82rem; font-weight:700; color:var(--lc-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:block; text-decoration:none; transition:color 0.2s; }
.lc-rank__name:hover { color:var(--lc-primary); }
.lc-rank__value  { font-size:1.05rem; font-weight:900; color:var(--lc-primary); flex-shrink:0; min-width:28px; text-align:right; }

/* ─── EQUIPO / JUGADOR (legacy) ───────────────────────────── */
.lc-player-section { background:var(--lc-bg); border:1px solid var(--lc-border); border-radius:var(--lc-radius-lg); overflow:hidden; margin-bottom:1.25rem; color:var(--lc-text); box-shadow:var(--lc-shadow); }
.lc-player-section__header { background:var(--lc-bg-2); padding:0.75rem 1.1rem; font-size:0.85rem; font-weight:800; text-transform:uppercase; letter-spacing:0.04em; color:var(--lc-text); border-bottom:1px solid var(--lc-border); }
.lc-player-section__body   { padding:1.1rem; }
.lc-stats-grid { display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:1rem; }
.lc-stats-grid__cell { background:var(--lc-bg-2); border:1px solid var(--lc-border); border-radius:8px; padding:0.55rem 0.75rem; text-align:center; min-width:52px; }
.lc-stats-grid__cell--highlight { background:#fef2f2; border-color:#fecaca; }
.lc-stats-grid__value { font-size:1.4rem; font-weight:900; color:var(--lc-text); line-height:1; }
.lc-stats-grid__cell--highlight .lc-stats-grid__value { color:var(--lc-primary); }
.lc-stats-grid__label { font-size:0.58rem; color:#64748b; text-transform:uppercase; letter-spacing:0.06em; margin-top:0.15rem; }
.lc-plantel { display:grid; grid-template-columns:repeat(auto-fill,minmax(78px,1fr)); gap:0.65rem; }
.lc-plantel__card { background:var(--lc-bg-2); border:1px solid var(--lc-border); border-radius:var(--lc-radius); padding:0.7rem 0.5rem; text-align:center; transition:all 0.2s; color:var(--lc-text); text-decoration:none; display:block; }
.lc-plantel__card:hover { border-color:rgba(232,25,44,0.3); background:#fff; box-shadow:var(--lc-shadow); color:var(--lc-text); text-decoration:none; }
.lc-plantel__num   { font-size:0.62rem; color:var(--lc-primary); font-weight:800; margin-bottom:0.15rem; }
.lc-plantel__name  { font-size:0.66rem; font-weight:700; text-transform:uppercase; letter-spacing:0.02em; line-height:1.2; color:#334155; }
.lc-plantel__goals { font-size:0.6rem; color:var(--lc-gold); margin-top:0.18rem; }
.lc-grid-2    { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.lc-widget-wrap { display:flex; flex-direction:column; gap:1.25rem; }
.lc-empty { text-align:center; padding:2rem 1rem; color:#94a3b8; font-size:0.88rem; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 700px) { .lc-fixtures-legacy { grid-template-columns: 1fr 1fr; gap: 0.65rem; } }
@media (max-width: 480px) { .lc-hide-xs  { display:none !important; } }

/* ─── PAGE LAYOUT ──────────────────────────────────────────── */
.lcp-page {
    background: #f8fafc;
    min-height: 100vh;
    color: #0f172a;
    font-family: 'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
}
.lcp-page__body {}

/* ── Hero ── */
.lcp-hero {
    position: relative;
    background: #ffffff;
    padding: 3rem 0 2.5rem;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}
.lcp-hero::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 300px; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232,25,44,0.03));
    pointer-events: none;
}
.lcp-hero__glow { display: none; }
.lcp-hero__inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.lcp-hero__label {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
    text-transform: uppercase; color: #94a3b8; margin-bottom: 0.75rem;
}
.lcp-hero__label-bar {
    display: inline-block; width: 28px; height: 3px;
    background: #e8192c; border-radius: 2px; flex-shrink: 0;
}
.lcp-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900; color: #0f172a; letter-spacing: -0.02em;
    line-height: 1; margin: 0 0 0.6rem; text-transform: uppercase;
}
.lcp-hero__sub {
    font-size: 0.85rem; color: #64748b; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase; margin: 0;
}

/* ── Content area ── */
.lcp-page__content { padding: 2.5rem 0 4rem; }
.lcp-container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Override standings inside page */
.lcp-page .lc-standings,
.lcp-page .lc-rank {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: var(--lc-shadow);
}
.lcp-page .lc-standings__header,
.lcp-page .lc-rank__header { background: #f8fafc; }
.lcp-page .lc-widget-wrap { gap: 1.5rem; }

/* ─── CAROUSEL ARROWS ─────────────────────────────────────── */
.lc-carousel-wrap { position: relative; padding: 0 2.5rem; }
.lc-carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 36px; height: 36px; border-radius: 50%;
    background: #ffffff; border: 1px solid #e2e8f0; color: #334155;
    font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0; padding: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.lc-carousel-btn:hover { background: var(--lc-primary); border-color: var(--lc-primary); color: #fff; }
.lc-carousel-btn--prev { left: 0; }
.lc-carousel-btn--next { right: 0; }

.lc-fixture-group { margin-bottom: 2.5rem; }
.lc-fixture-group:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════
   SINGLE PARTIDO — Match Hero
═══════════════════════════════════════════════════════ */
.lcp-match-hero {
    position: relative;
    background: #ffffff;
    padding: 3.5rem 1.5rem 3rem;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.lcp-match-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(217,119,6,.04) 0%, transparent 70%);
    pointer-events: none;
}
.lcp-match-hero__label {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--lc-gold); margin-bottom: 2rem;
}
.lcp-hero__label-bar {
    display: inline-block; width: 18px; height: 2px;
    background: var(--lc-gold); border-radius: 2px;
}
.lcp-match-badge {
    font-size: 0.65rem; font-weight: 800; letter-spacing: .08em;
    padding: 2px 8px; border-radius: 20px;
}
.lcp-match-badge--ft   { background: var(--lc-primary); color: #fff; }
.lcp-match-badge--prox { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

/* Matchup layout */
.lcp-matchup {
    display: flex; align-items: center; justify-content: center;
    gap: 1.5rem; max-width: 760px; margin: 0 auto;
}
.lcp-matchup__team {
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem; flex: 1; min-width: 0;
}
.lcp-matchup__crest { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.15)); }
.lcp-matchup__crest-ph {
    width: 80px; height: 80px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 900; color: #fff; flex-shrink: 0;
}
.lcp-matchup__name {
    font-size: clamp(.9rem,2.5vw,1.15rem); font-weight: 800; color: #0f172a;
    text-decoration: none; text-align: center; line-height: 1.2; display: block;
}
.lcp-matchup__name:hover { color: var(--lc-gold); }
.lcp-matchup__role { font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; font-weight: 600; }
.lcp-matchup__center { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.lcp-matchup__score {
    display: flex; align-items: center; gap: 0.25rem;
    font-size: clamp(2.4rem,8vw,4rem); font-weight: 900; color: #0f172a;
    line-height: 1; font-variant-numeric: tabular-nums;
}
.lcp-matchup__score-sep { font-size: 60%; color: #cbd5e1; padding: 0 0.15rem; }
.lcp-matchup__vs { font-size: clamp(1.6rem,5vw,2.6rem); font-weight: 900; color: #e2e8f0; letter-spacing: .06em; }
.lcp-matchup__meta { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; font-size: 0.78rem; color: #64748b; font-weight: 500; }
.lcp-page__content { padding: 2.5rem 1.5rem; }

@media (max-width: 540px) {
    .lcp-matchup { gap: 0.75rem; }
    .lcp-matchup__crest,.lcp-matchup__crest-ph { width: 56px; height: 56px; font-size: 1.4rem; }
    .lcp-matchup__score { font-size: 2.2rem; }
}

/* ═══════════════════════════════════════════════════════
   ESTADÍSTICAS — Light grid + rank cards
═══════════════════════════════════════════════════════ */
.lc-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.25rem 0;
}
@media (max-width: 600px) { .lc-stats-grid { grid-template-columns: 1fr; } }

.lc-stats-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--lc-radius-lg, 12px);
    overflow: hidden;
    box-shadow: var(--lc-shadow);
}
.lc-stats-card__header {
    padding: 0.65rem 1rem; font-size: 0.8rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    color: #334155; background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.lc-stats-card__header.lc-rank__header--goals   { border-left: 3px solid #16a34a; }
.lc-stats-card__header.lc-rank__header--assists { border-left: 3px solid #2563eb; }
.lc-stats-card__header.lc-rank__header--yellow  { border-left: 3px solid #ca8a04; }
.lc-stats-card__header.lc-rank__header--red     { border-left: 3px solid #dc2626; }

.lc-stats-empty { padding: 1.25rem 1rem; text-align: center; color: #94a3b8; font-size: 0.82rem; }

/* Light rank rows */
.lc-rank__row--dark {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background .15s;
}
.lc-rank__row--dark:last-child { border-bottom: none; }
.lc-rank__row--dark:hover { background: #f8fafc; }
.lc-rank__name--dark {
    color: #1e293b; font-size: 0.85rem; font-weight: 600;
    text-decoration: none; display: block; line-height: 1.2;
}
.lc-rank__name--dark:hover { color: var(--lc-gold); }
.lc-rank__team--dark {
    font-size: 0.72rem; color: #94a3b8; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; max-width: 14ch;
}
.lc-rank__value--dark {
    margin-left: auto; font-size: 0.9rem; font-weight: 800;
    color: #0f172a; white-space: nowrap; flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   SINGLE EQUIPO — Team hero (Light)
═══════════════════════════════════════════════════════ */
.lcp-team-hero {
    position: relative;
    background: #ffffff;
    padding: 3.5rem 1.5rem 3rem;
    overflow: hidden; text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.lcp-team-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(217,119,6,.04) 0%, transparent 70%);
    pointer-events: none;
}
.lcp-team-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; position: relative; }
.lcp-team-hero__crest { width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,.15)); }
.lcp-team-hero__name {
    font-size: clamp(1.6rem,5vw,2.6rem); font-weight: 900; color: #0f172a;
    text-transform: uppercase; letter-spacing: .04em; margin: 0;
}

/* ═══════════════════════════════════════════════════════
   SINGLE JUGADOR — Player hero (Light)
═══════════════════════════════════════════════════════ */
.lcp-player-hero {
    position: relative; background: #ffffff;
    padding: 3.5rem 1.5rem 3rem; overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}
.lcp-player-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(217,119,6,.04) 0%, transparent 70%);
    pointer-events: none;
}
.lcp-player-hero__inner {
    display: flex; align-items: center; gap: 2rem;
    max-width: 600px; margin: 0 auto; position: relative;
}
.lcp-player-hero__photo-wrap { position: relative; flex-shrink: 0; }
.lcp-player-hero__photo {
    width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
    border: 3px solid #e2e8f0; filter: drop-shadow(0 4px 12px rgba(0,0,0,.12));
}
.lcp-player-hero__initials {
    width: 100px; height: 100px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; font-weight: 900; color: #fff;
    border: 3px solid rgba(0,0,0,.08);
}
.lcp-player-hero__num {
    position: absolute; bottom: -4px; right: -4px;
    background: var(--lc-gold); color: #fff;
    font-size: 0.72rem; font-weight: 900; width: 26px; height: 26px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}
.lcp-player-hero__pos { font-size: 0.72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lc-gold); margin-bottom: 0.35rem; }
.lcp-player-hero__name { font-size: clamp(1.4rem,4vw,2.2rem); font-weight: 900; color: #0f172a; text-transform: uppercase; margin: 0 0 0.4rem; line-height: 1.1; }
.lcp-player-hero__club { font-size: 0.85rem; color: #64748b; font-weight: 500; }
.lcp-player-hero__club-link { color: #64748b; text-decoration: none; transition: color .2s; }
.lcp-player-hero__club-link:hover { color: var(--lc-gold); }

@media (max-width: 480px) {
    .lcp-player-hero__inner { flex-direction: column; text-align: center; gap: 1rem; }
}

/* ═══════════════════════════════════════════════════════
   SINGLE JUGADOR — Atleticos-style hero (Light)
═══════════════════════════════════════════════════════ */
.lcp-jug-hero {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #fff9f0 100%);
    overflow: hidden; padding: 0; min-height: 380px;
    display: flex; align-items: stretch;
    border-bottom: 1px solid #e2e8f0;
}

/* Ghost number in background */
.lcp-jug-hero__num-bg {
    position: absolute; right: -0.05em; top: 50%; transform: translateY(-50%);
    font-size: clamp(18rem, 35vw, 28rem); font-weight: 900; line-height: 1;
    color: rgba(0,0,0,0.04); user-select: none; pointer-events: none;
    letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
}

/* Gold accent bar at top */
.lcp-jug-hero::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--lc-gold), transparent);
}

.lcp-jug-hero__inner {
    display: flex; align-items: flex-end; gap: 3rem;
    padding-top: 3rem; padding-bottom: 0;
    position: relative; z-index: 1; width: 100%;
}

/* Photo column */
.lcp-jug-hero__photo-col { flex-shrink: 0; align-self: flex-end; }
.lcp-jug-hero__photo {
    display: block;
    width: clamp(200px, 25vw, 320px); height: clamp(240px, 30vw, 380px);
    object-fit: cover; object-position: top center;
    border-radius: 12px 12px 0 0;
    filter: drop-shadow(0 -4px 16px rgba(0,0,0,0.12));
}
.lcp-jug-hero__initials {
    width: clamp(160px, 20vw, 240px); height: clamp(160px, 20vw, 240px);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: clamp(4rem, 8vw, 7rem); font-weight: 900; color: #fff;
    margin-bottom: 2rem; border: 4px solid rgba(0,0,0,0.08);
}

/* Info column */
.lcp-jug-hero__info { flex: 1; padding-bottom: 2.5rem; min-width: 0; }
.lcp-jug-hero__position { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: var(--lc-gold); margin-bottom: 0.3rem; }
.lcp-jug-hero__number {
    font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 900;
    color: rgba(0,0,0,0.06); line-height: 1; margin-bottom: -0.5rem;
    letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.lcp-jug-hero__name {
    font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 900; color: #0f172a;
    text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 1rem; line-height: 1.05;
}

/* Badges */
.lcp-jug-hero__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.lcp-jug-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.75rem;
    border-radius: 20px; text-decoration: none; transition: opacity 0.2s;
}
.lcp-jug-badge--club {
    background: #f1f5f9; border: 1px solid #e2e8f0; color: #334155;
}
.lcp-jug-badge--club:hover { opacity: 0.75; }
.lcp-jug-badge__img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.lcp-jug-badge--serie { background: var(--lc-gold); color: #fff; }

/* Stats pills */
.lcp-jug-hero__stats { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lcp-jug-stat {
    display: flex; flex-direction: column; align-items: center; min-width: 64px;
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 0.6rem 0.9rem; transition: box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.lcp-jug-stat:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.lcp-jug-stat__val { font-size: 1.6rem; font-weight: 900; color: #0f172a; line-height: 1; font-variant-numeric: tabular-nums; }
.lcp-jug-stat__lbl { font-size: 0.65rem; letter-spacing: 0.06em; color: #64748b; text-transform: uppercase; font-weight: 600; margin-top: 0.25rem; white-space: nowrap; }
.lcp-jug-stat--goals  .lcp-jug-stat__val { color: #16a34a; }
.lcp-jug-stat--assist .lcp-jug-stat__val { color: #2563eb; }
.lcp-jug-stat--yellow .lcp-jug-stat__val { color: #ca8a04; }
.lcp-jug-stat--red    .lcp-jug-stat__val { color: #dc2626; }

/* Body below hero */
.lcp-jug-body { padding: 2.5rem 1.5rem 3rem; }
.lcp-jug-section {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px;
    overflow: hidden; margin-bottom: 1.25rem; box-shadow: var(--lc-shadow);
}
.lcp-jug-section__title {
    padding: 0.65rem 1.1rem; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: #64748b;
    background: #f8fafc; border-bottom: 1px solid #e2e8f0;
    border-left: 3px solid var(--lc-gold);
}
.lcp-jug-section__body { padding: 0.25rem 0; }
.lcp-jug-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.6rem 1.1rem; border-bottom: 1px solid #f1f5f9; font-size: 0.88rem;
}
.lcp-jug-row:last-child { border-bottom: none; }
.lcp-jug-row__label { color: #94a3b8; font-weight: 500; }
.lcp-jug-row__value { color: #1e293b; font-weight: 600; }

/* Back link */
.lcp-jug-back { text-align: center; padding: 1rem 0 0; }
.lcp-jug-back__link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: #64748b; font-size: 0.85rem; font-weight: 600; text-decoration: none;
    padding: 0.5rem 1.25rem; border: 1px solid #e2e8f0; border-radius: 20px;
    transition: all 0.2s;
}
.lcp-jug-back__link:hover { color: #0f172a; border-color: #94a3b8; background: #f8fafc; }

@media (max-width: 640px) {
    .lcp-jug-hero__inner { flex-direction: column; align-items: center; padding-bottom: 0; gap: 1.5rem; }
    .lcp-jug-hero__photo-col { align-self: center; }
    .lcp-jug-hero__photo { width: 180px; height: 220px; border-radius: 12px; }
    .lcp-jug-hero__info { text-align: center; padding-bottom: 2rem; }
    .lcp-jug-hero__badges,.lcp-jug-hero__stats { justify-content: center; }
    .lcp-jug-hero__num-bg { font-size: 12rem; }
}

/* ═══════════════════════════════════════════════════════
   SINGLE EQUIPO — Atleticos-style (Light)
═══════════════════════════════════════════════════════ */
.lcp-eq-hero {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #fff9f0 100%);
    overflow: hidden; padding: 3.5rem 0 3rem;
    border-bottom: 1px solid #e2e8f0;
}
.lcp-eq-hero::after {
    content:''; position:absolute; top:0; left:0; right:0; height:3px;
    background: linear-gradient(90deg, var(--lc-gold), transparent);
}
.lcp-eq-hero__glow {
    position:absolute; inset:0;
    background: radial-gradient(ellipse 60% 80% at 10% 50%, rgba(217,119,6,.04) 0%, transparent 70%);
    pointer-events:none;
}
.lcp-eq-hero__inner { display:flex; align-items:center; gap:2.5rem; position:relative; z-index:1; }
.lcp-eq-hero__crest-col { flex-shrink:0; }
.lcp-eq-hero__crest {
    width: clamp(90px, 14vw, 150px); height: clamp(90px, 14vw, 150px);
    object-fit:contain; filter: drop-shadow(0 4px 16px rgba(0,0,0,.15));
}
.lcp-eq-hero__crest-ph {
    width:120px; height:120px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:3rem; font-weight:900; color:#fff;
    border:3px solid rgba(0,0,0,.08);
}
.lcp-eq-hero__info { flex:1; min-width:0; }
.lcp-eq-hero__serie { font-size:0.7rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--lc-gold); margin-bottom:.4rem; }
.lcp-eq-hero__name { font-size: clamp(1.6rem,4vw,2.8rem); font-weight:900; color:#0f172a; text-transform:uppercase; letter-spacing:.04em; margin:0 0 .5rem; line-height:1.05; }
.lcp-eq-hero__desc { font-size:.88rem; color:#64748b; margin:0 0 1.25rem; line-height:1.5; max-width:520px; }
.lcp-eq-hero__stats { display:flex; flex-wrap:wrap; gap:.6rem; }
.lcp-eq-hero__stat {
    display:flex; flex-direction:column; align-items:center; min-width:54px;
    background:#ffffff; border:1px solid #e2e8f0; border-radius:8px; padding:.5rem .75rem;
    box-shadow:0 1px 3px rgba(0,0,0,.05);
}
.lcp-eq-hero__stat .val { font-size:1.4rem; font-weight:900; color:#0f172a; line-height:1; font-variant-numeric:tabular-nums; }
.lcp-eq-hero__stat .lbl { font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; color:#64748b; font-weight:700; margin-top:.2rem; }
.lcp-eq-hero__stat--pts .val { color:var(--lc-gold); }

/* ── Body ── */
.lcp-eq-body { padding: 3rem 1.5rem 3rem; }

/* ── Squad by position ── */
.lcp-eq-squad { margin-bottom:3rem; }
.lcp-eq-squad__group { margin-bottom:2.5rem; }
.lcp-eq-squad__group-header { display:flex; align-items:center; gap:.75rem; margin-bottom:1.25rem; }
.lcp-eq-squad__group-bar { display:inline-block; width:3px; height:22px; background:var(--lc-gold); border-radius:2px; flex-shrink:0; }
.lcp-eq-squad__group-title { font-size:.75rem; font-weight:900; letter-spacing:.16em; color:#0f172a; text-transform:uppercase; }
.lcp-eq-squad__group-count { font-size:.68rem; font-weight:700; background:#f1f5f9; color:#64748b; padding:.15rem .55rem; border-radius:20px; }
.lcp-eq-squad__grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap:1rem; }

/* ── Player card ── */
.lcp-squad-card {
    display:block; text-decoration:none;
    background:#ffffff; border:1px solid #e2e8f0; border-radius:12px; overflow:hidden;
    box-shadow:0 1px 3px rgba(0,0,0,.05);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.lcp-squad-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217,119,6,.4);
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.lcp-squad-card__visual {
    position:relative; background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 100%);
    aspect-ratio: 3/4; overflow:hidden;
}
.lcp-squad-card__photo { width:100%; height:100%; object-fit:cover; object-position:top center; display:block; transition: transform .3s; }
.lcp-squad-card:hover .lcp-squad-card__photo { transform: scale(1.04); }
.lcp-squad-card__initial { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:3.5rem; font-weight:900; color:rgba(0,0,0,0.2); }
.lcp-squad-card__num { position:absolute; bottom:0; left:0; background:var(--lc-gold); color:#fff; font-size:.72rem; font-weight:900; padding:.25rem .55rem; border-radius:0 6px 0 0; letter-spacing:.04em; line-height:1.2; }
.lcp-squad-card__info { padding:.65rem .75rem .75rem; }
.lcp-squad-card__name { font-size:.85rem; font-weight:800; color:#1e293b; line-height:1.2; margin-bottom:.2rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lcp-squad-card:hover .lcp-squad-card__name { color:var(--lc-gold); }
.lcp-squad-card__pos { font-size:.68rem; color:#94a3b8; font-weight:600; text-transform:uppercase; letter-spacing:.06em; margin-bottom:.3rem; }
.lcp-squad-card__micro { display:flex; gap:.5rem; font-size:.7rem; color:#64748b; }

/* ── Results / Upcoming ── */
.lcp-eq-results { margin-top:.5rem; }
.lcp-eq-matches { display:grid; grid-template-columns:1fr 1fr; gap:1rem; padding:.5rem 0; }
@media(max-width:560px){ .lcp-eq-matches{grid-template-columns:1fr;} }
.lcp-eq-matches__title {
    font-size:.68rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
    color:#94a3b8; padding:.5rem 0 .65rem; border-bottom:1px solid #e2e8f0; margin-bottom:.25rem;
}
.lcp-match-row {
    display:flex; align-items:center; gap:.5rem; padding:.5rem .6rem; border-radius:6px;
    text-decoration:none; font-size:.82rem; transition:background .15s;
    border-bottom:1px solid #f1f5f9;
}
.lcp-match-row:last-child { border-bottom:none; }
.lcp-match-row:hover { background:#f8fafc; }
.lcp-match-row__badge { font-size:.62rem; font-weight:800; padding:.15rem .45rem; border-radius:4px; flex-shrink:0; }
.lcp-res--w { background:#16a34a; color:#fff; }
.lcp-res--d { background:#94a3b8; color:#fff; }
.lcp-res--l { background:#dc2626; color:#fff; }
.lcp-match-row__rival { flex:1; color:#334155; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lcp-match-row__score { font-weight:800; color:#0f172a; flex-shrink:0; }
.lcp-match-row__date { font-size:.68rem; color:#94a3b8; flex-shrink:0; }

@media(max-width:560px){
    .lcp-eq-hero__inner { flex-direction:column; text-align:center; gap:1.25rem; }
    .lcp-eq-hero__desc { display:none; }
    .lcp-eq-hero__stats { justify-content:center; }
    .lcp-eq-squad__grid { grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); }
}

/* ═══════════════════════════════════════════════════════
   SINGLE PARTIDO — eventos + planteles (Light)
═══════════════════════════════════════════════════════ */
.lcp-matchup__formation { font-size:.65rem; letter-spacing:.08em; color:#94a3b8; font-weight:600; text-transform:uppercase; }
.lcp-match-body { padding:2rem 1.5rem 3rem; }
.lcp-match-section { margin-bottom:1.5rem; }
.lcp-match-section__title {
    font-size:.7rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
    color:#94a3b8; padding:.5rem 0 .6rem; border-bottom:1px solid #e2e8f0; margin-bottom:.5rem;
}

/* Two-column events grid */
.lcp-ev-grid {
    display:grid; grid-template-columns:1fr 1fr; gap:1px;
    background:#e2e8f0; border-radius:10px; overflow:hidden;
    border: 1px solid #e2e8f0;
}
.lcp-ev-col { background:#ffffff; padding:.25rem 0; }
.lcp-ev-col--local  { border-right:1px solid #e2e8f0; }

/* Event row */
.lcp-ev-row { display:flex; align-items:center; gap:.4rem; padding:.4rem .75rem; font-size:.82rem; transition:background .15s; }
.lcp-ev-row:hover { background:#f8fafc; }
.lcp-ev-row--local  { flex-direction:row; justify-content:flex-end; text-align:right; }
.lcp-ev-row--visita { flex-direction:row; justify-content:flex-start; text-align:left; }
.lcp-ev-player { color:#1e293b; font-weight:600; flex:1; }
.lcp-ev-row--local .lcp-ev-player { text-align:right; }
.lcp-ev-icon { font-size:1rem; flex-shrink:0; }
.lcp-ev-min { font-size:.7rem; color:#94a3b8; flex-shrink:0; min-width:28px; }
.lcp-ev-in  { color:#16a34a; display:block; font-size:.8rem; }
.lcp-ev-out { color:#dc2626; display:block; font-size:.75rem; }

/* Lineup rows */
.lcp-lineup-header {
    font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
    color:#94a3b8; padding:.5rem .75rem .4rem; border-bottom:1px solid #f1f5f9;
}
.lcp-lineup-row {
    display:flex; align-items:center; gap:.4rem; padding:.4rem .75rem; text-decoration:none;
    border-bottom:1px solid #f1f5f9; transition:background .15s;
}
.lcp-lineup-row:last-child { border-bottom:none; }
.lcp-lineup-row:hover { background:#f8fafc; }
.lcp-lineup-row--active { background:rgba(217,119,6,.05); }
.lcp-lineup-num  { font-size:.7rem; color:#94a3b8; min-width:28px; }
.lcp-lineup-name { flex:1; font-size:.83rem; color:#334155; font-weight:500; }
.lcp-lineup-row:hover .lcp-lineup-name { color:#0f172a; }
.lcp-lineup-row--active .lcp-lineup-name { color:#1e293b; font-weight:600; }
.lcp-lineup-pos  { font-size:.62rem; color:#94a3b8; letter-spacing:.06em; text-transform:uppercase; flex-shrink:0; }

@media(max-width:540px){
    .lcp-ev-grid { grid-template-columns:1fr; }
    .lcp-ev-col--local { border-right:none; border-bottom:1px solid #e2e8f0; }
}
