/* ═══════════════════════════════════════════════════════════════
   LPF Ticker — Carousel horizontal de partidos
   ═══════════════════════════════════════════════════════════════ */

.lpf-tc {
    position  : relative;
    max-width : 100%;
    overflow  : hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding   : 0 32px; /* space for nav buttons */
    box-sizing: border-box;
}
.lpf-tc * { box-sizing: inherit; }

/* Track scrollable */
.lpf-tc__track {
    display   : flex;
    gap       : 12px;
    transition: transform 0.35s ease;
}

/* ── Tarjeta de partido ──────────────────────────────────────── */

.lpf-tc__card {
    flex        : 0 0 200px;
    background  : #0B1D3D;
    border-radius: 12px;
    padding     : 14px 12px;
    display     : flex;
    flex-direction: column;
    gap         : 10px;
    min-height  : 180px;
    border      : 1px solid rgba(255,255,255,0.07);
    color       : #fff;
    position    : relative;
    overflow    : hidden;
}
.lpf-tc__card--live {
    border-color : rgba(61,219,74,0.4);
    background   : linear-gradient(135deg, #0B1D3D 0%, #0D2A1A 100%);
}
.lpf-tc__card--played {
    opacity: 0.85;
}

/* ── Badge de estado ─────────────────────────────────────────── */

.lpf-tc__card-top { display: flex; align-items: center; }

.lpf-tc__badge {
    display      : inline-flex;
    align-items  : center;
    gap          : 5px;
    font-size    : 9px;
    font-weight  : 700;
    letter-spacing: 0.5px;
    padding      : 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.lpf-tc__badge--live     { background: #3DDB4A; color: #001; }
.lpf-tc__badge--played   { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); }
.lpf-tc__badge--upcoming { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }

.lpf-tc__dot {
    width : 6px; height: 6px;
    background: #001; border-radius: 50%;
    animation : lpf-blink 1.2s infinite;
}
@keyframes lpf-blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ── Equipos + centro ────────────────────────────────────────── */

.lpf-tc__match {
    display    : flex;
    align-items: center;
    gap        : 6px;
    flex       : 1;
}

.lpf-tc__team {
    display       : flex;
    flex-direction: column;
    align-items   : center;
    gap           : 5px;
    width         : 54px;
    flex-shrink   : 0;
}

.lpf-tc__logo {
    width        : 38px;
    height       : 38px;
    border-radius: 50%;
    object-fit   : contain;
}
.lpf-tc__logo--ph {
    background      : rgba(255,255,255,0.1);
    display         : flex;
    align-items     : center;
    justify-content : center;
    font-size       : 11px;
    font-weight     : 700;
    color           : #fff;
}
.lpf-tc__abbr {
    font-size  : 10px;
    font-weight: 700;
    color      : #fff;
    text-align : center;
}

.lpf-tc__center {
    flex      : 1;
    text-align: center;
}
.lpf-tc__score {
    font-size    : 22px;
    font-weight  : 800;
    color        : var(--lpf-theme-primary, #38a9ff);
    letter-spacing: -1px;
    line-height  : 1;
}
.lpf-tc__score span { margin: 0 3px; opacity: 0.5; }

.lpf-tc__time {
    font-size    : 13px;
    font-weight  : 800;
    background   : var(--lpf-theme-primary, #38a9ff);
    color        : #001820;
    padding      : 4px 10px;
    border-radius: 14px;
    display      : inline-block;
}
.lpf-tc__venue {
    font-size : 9px;
    color     : rgba(255,255,255,0.35);
    margin-top: 5px;
    line-height: 1.3;
}

/* ── CTA ─────────────────────────────────────────────────────── */

.lpf-tc__cta {
    display        : block;
    text-align     : center;
    background     : var(--lpf-theme-primary, #38a9ff);
    color          : #fff !important;
    text-decoration: none !important;
    font-size      : 10px;
    font-weight    : 700;
    letter-spacing : 0.4px;
    text-transform : uppercase;
    padding        : 7px 10px;
    border-radius  : 6px;
    transition     : opacity 0.15s;
}
.lpf-tc__cta:hover { opacity: 0.85; }

/* ── Botones de navegación ───────────────────────────────────── */

.lpf-tc__nav {
    position     : absolute;
    top          : 50%;
    transform    : translateY(-50%);
    z-index      : 10;
    width        : 28px;
    height       : 28px;
    border-radius: 50%;
    border       : 1px solid rgba(255,255,255,0.2);
    background   : rgba(11,29,61,0.9);
    color        : #fff;
    font-size    : 18px;
    line-height  : 1;
    cursor       : pointer;
    display      : flex;
    align-items  : center;
    justify-content: center;
    transition   : opacity 0.15s;
    padding      : 0;
}
.lpf-tc__nav--prev { left: 0; }
.lpf-tc__nav--next { right: 0; }
.lpf-tc__nav:hover  { background: rgba(56,169,255,0.3); }
.lpf-tc__nav:disabled { opacity: 0.3; cursor: default; }

/* ── Empty state ─────────────────────────────────────────────── */

.lpf-tc__empty {
    padding     : 20px 16px;
    text-align  : center;
    color       : rgba(255,255,255,0.4);
    font-size   : 13px;
    background  : #0B1D3D;
    border-radius: 10px;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 480px) {
    .lpf-tc { padding: 0 28px; }
    .lpf-tc__card { flex: 0 0 160px; min-height: 160px; padding: 11px 10px; }
    .lpf-tc__logo { width: 32px; height: 32px; }
    .lpf-tc__score { font-size: 18px; }
}
@media (min-width: 640px) {
    .lpf-tc__card { flex: 0 0 220px; }
}
@media (min-width: 900px) {
    .lpf-tc__card { flex: 0 0 calc((100% - 5*12px) / 6); } /* 6 cards visible on wide screens */
}
