/* ==========================================================================
   Team Sticky Title Info — Dark Mode Default (consistent with BTTS)
   ========================================================================== */

   .sticky-header-wrapper {
    font-family: 'Inter', sans-serif;
    text-align: center;
    max-width: 940px;
    margin: 40px auto;
    padding: 16px 20px;
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.1);
    color: #eee;
}

/* Title with logos */
.sticky-title {
    font-size: 1rem;
    font-weight: 500;
    color: #ddd;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sticky-title img {
    height: 26px;
    width: 26px;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 4px;
}

/* Meta info: league, venue, date */
.fixture-sticky-meta {
    font-size: .95rem;
    color: #aaa;
    line-height: 1.4;
}

.fixture-sticky-meta .local-fixture-date {
    font-weight: 600;
    color: #fff;
}

/* -----------------------
   Responsive / Mobile sticky
   ------------------------ */
@media (max-width: 768px) {
    .sticky-header-wrapper {
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 10px 14px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin: 0;
        background: #1f1f1f;           /* mismo bg que desktop */
        box-shadow: 0 2px 10px rgba(0,0,0,.15);
    }

    .sticky-title {
        font-size: .95rem;
        gap: 8px;
    }

    .sticky-title img {
        height: 22px;
        width: 22px;
    }

    .fixture-sticky-meta {
        font-size: .85rem;
    }
}

/* -----------------------
   Light mode (opcional)
   Si el SO/navegador está en claro, ajusta para integrarse en sitios claros
   ------------------------ */
@media (prefers-color-scheme: light) {
    .sticky-header-wrapper {
        background: #fff;
        border-color: #ddd;
        color: #222;
    }

    .sticky-title {
        color: #222;
    }

    .fixture-sticky-meta {
        color: #666;
    }

    .fixture-sticky-meta .local-fixture-date {
        color: #222;
    }
}
