/* Kisure v256: prediction result checks, single-league header ticker and cleaner prediction tips */

/* Single selected competition: horizontal results/upcoming strip */
.football-header-leagues__ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 14px;
    padding: 8px;
    border-radius: 22px;
    background: linear-gradient(90deg, #65170e 0%, #153f29 48%, #271236 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 16px 40px rgba(13,27,42,.16);
    overflow: hidden;
}

.football-header-ticker__league {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    max-width: 220px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    color: #0f172a;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.football-header-ticker__league img,
.football-header-ticker__league i {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.football-header-ticker__league span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.football-header-ticker__track {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    padding-bottom: 2px;
}

.football-header-ticker__track::-webkit-scrollbar { height: 6px; }
.football-header-ticker__track::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 999px; }

.football-header-ticker__date {
    flex: 0 0 auto;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .03em;
    padding: 0 8px;
    opacity: .92;
}

.football-header-ticker__match {
    flex: 0 0 auto;
    min-width: 172px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 13px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,.13);
    scroll-snap-align: start;
    transition: transform .2s ease, background .2s ease;
}

.football-header-ticker__match:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,.20);
}

.football-header-ticker__match.is-result { background: rgba(255,255,255,.09); }
.football-header-ticker__match.is-fixture { background: rgba(20,184,166,.22); }

.football-header-ticker__match > strong {
    font-size: .95rem;
    font-weight: 900;
    color: #fff;
}

.football-header-ticker__match span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.football-header-ticker__match img,
.football-header-ticker__match em {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    object-fit: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    color: #0f172a;
    font-size: .75rem;
    font-weight: 900;
}

.football-header-ticker__match b {
    color: #fff;
    font-size: .9rem;
    min-width: 22px;
    text-align: center;
}

/* Prediction detail: market results after full-time */
.football-prediction-market-grid--checked article {
    position: relative;
    overflow: hidden;
}

.football-prediction-market-result {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 8px 11px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 800;
    font-size: .82rem;
}

.football-prediction-market-card--won .football-prediction-market-result {
    background: rgba(16, 185, 129, .14);
    color: #047857;
}

.football-prediction-market-card--lost .football-prediction-market-result {
    background: rgba(239, 68, 68, .13);
    color: #b91c1c;
}

.football-prediction-market-card--pending .football-prediction-market-result {
    background: rgba(14, 165, 233, .12);
    color: #0369a1;
}

/* Predictions page: tip-list styling inspired by clean previous-prediction rows and compact tip feeds */
.football-predictions-page .football-prediction-history-list--picks {
    display: grid;
    gap: 0;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
}

.football-predictions-page .football-prediction-history-list--picks .football-prediction-tip-row {
    display: grid;
    grid-template-columns: 82px minmax(220px, 1fr) minmax(210px, 280px) minmax(84px, auto);
    align-items: stretch;
    gap: 0;
    min-height: 96px;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .22);
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    overflow: hidden;
}

.football-predictions-page .football-prediction-history-list--picks .football-prediction-tip-row:last-child {
    border-bottom: 0;
}

.football-prediction-tip-row__time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 10px;
    border-right: 1px solid rgba(148, 163, 184, .22);
}

.football-prediction-tip-row__time strong {
    font-size: .95rem;
    font-weight: 900;
    color: #0f172a;
}

.football-prediction-tip-row__time span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.football-prediction-tip-row__time img,
.football-prediction-tip-row__time i {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f8f8f;
}

.football-prediction-tip-row__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 14px 18px;
    min-width: 0;
}

.football-prediction-tip-row__body strong {
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    line-height: 1.2;
    font-weight: 900;
    color: #0f172a;
}

.football-prediction-tip-row__body em,
.football-prediction-tip-row__body small {
    font-style: normal;
    color: #64748b;
    line-height: 1.3;
}

.football-prediction-tip-row__probabilities {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 14px;
}

.football-prediction-tip-row__probabilities b {
    min-width: 62px;
    min-height: 64px;
    padding: 8px 8px;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 1.02rem;
    color: #0f172a;
    background: #fff;
}

.football-prediction-tip-row__probabilities b small {
    font-size: .72rem;
    text-transform: uppercase;
    color: #64748b;
}

.football-prediction-tip-row__probabilities b.is-active {
    background: #e8fbfa;
    border-color: #0d9f9f;
    box-shadow: inset 0 0 0 1px rgba(13, 159, 159, .16);
}

.football-prediction-tip-row__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: center;
    justify-self: end;
    margin-right: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 900;
    white-space: nowrap;
}

.football-prediction-tip-row__preview {
    grid-column: 2 / -1;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    background: #f4f4f3;
    color: #334155;
}

.football-predictions-page .football-prediction-history-list--picks .football-prediction-tip-row:first-child .football-prediction-tip-row__preview {
    display: flex;
}

.football-prediction-tip-row__preview strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
}

.football-prediction-tip-row__preview em {
    font-style: normal;
    line-height: 1.5;
}

.football-prediction-tip-row__preview b {
    color: #007c9f;
    white-space: nowrap;
}

html[data-theme="dark"] .football-predictions-page .football-prediction-history-list--picks,
html[data-theme="dark"] .football-predictions-page .football-prediction-history-list--picks .football-prediction-tip-row {
    background: #0f172a;
    color: #e5e7eb;
}

html[data-theme="dark"] .football-prediction-tip-row__body strong,
html[data-theme="dark"] .football-prediction-tip-row__time strong,
html[data-theme="dark"] .football-prediction-tip-row__probabilities b,
html[data-theme="dark"] .football-prediction-tip-row__preview strong {
    color: #f8fafc;
}

html[data-theme="dark"] .football-prediction-tip-row__probabilities b {
    background: #111827;
}

html[data-theme="dark"] .football-prediction-tip-row__probabilities b.is-active {
    background: rgba(20, 184, 166, .22);
}

html[data-theme="dark"] .football-prediction-tip-row__preview {
    background: #111827;
}

@media (max-width: 960px) {
    .football-header-leagues__ticker {
        border-radius: 18px;
        margin-bottom: 10px;
    }

    .football-header-ticker__league span {
        display: none;
    }

    .football-header-ticker__match {
        min-width: 150px;
    }

    .football-predictions-page .football-prediction-history-list--picks {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .football-predictions-page .football-prediction-history-list--picks .football-prediction-tip-row {
        min-width: 760px;
        grid-template-columns: 76px minmax(230px, 1fr) 220px 88px;
    }
}

@media (max-width: 640px) {
    .football-header-leagues__ticker {
        margin-left: -8px;
        margin-right: -8px;
        width: calc(100% + 16px);
    }

    .football-header-ticker__league {
        min-height: 42px;
        padding: 7px 10px;
    }

    .football-header-ticker__match {
        min-width: 134px;
        padding: 8px 10px;
    }

    .football-header-ticker__date {
        font-size: .9rem;
    }

    .football-predictions-page .football-prediction-history-list--picks .football-prediction-tip-row {
        min-width: 700px;
        min-height: 88px;
    }

    .football-prediction-tip-row__body {
        padding: 12px 14px;
    }

    .football-prediction-tip-row__probabilities b {
        min-width: 55px;
        min-height: 58px;
        font-size: .92rem;
    }
}
