/* Kisure v265: predictions page search-first layout, saved result cards and date grouping polish */
.football-predictions-page .football-prediction-date-filter--top {
    margin-top: clamp(1rem, 2vw, 1.35rem);
    margin-bottom: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(13, 138, 250, .12);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.football-prediction-date-filter--top .section-heading {
    margin-bottom: 1rem;
}

.football-prediction-date-filter--top .football-prediction-date-form {
    margin-top: 0;
}

.football-prediction-date-shortcuts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .9rem;
}

.football-prediction-date-shortcuts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: .48rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(13, 138, 250, .15);
    color: #075985;
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.football-prediction-date-shortcuts a:hover,
.football-prediction-date-shortcuts a.is-active {
    transform: translateY(-1px);
    border-color: rgba(13, 138, 250, .42);
    background: rgba(13, 138, 250, .10);
}

.football-prediction-method-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin: 0 0 clamp(1rem, 2vw, 1.35rem);
}

.football-prediction-method-strip span {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: .7rem;
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    padding: .8rem .9rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
}

.football-prediction-method-strip i {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: rgba(13, 138, 250, .10);
    color: #0D8AFA;
}

.football-prediction-method-strip strong,
.football-prediction-method-strip small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.football-prediction-method-strip strong {
    color: #0f172a;
    font-size: .92rem;
    font-weight: 950;
}

.football-prediction-method-strip small {
    color: #64748b;
    font-weight: 800;
}

.football-predictions-page .football-prediction-history-row--won .football-prediction-tip-row__status,
.football-predictions-page .football-prediction-history-row--won .football-prediction-history-row__status {
    background: rgba(34, 197, 94, .12) !important;
    color: #15803d !important;
}

.football-predictions-page .football-prediction-history-row--lost .football-prediction-tip-row__status,
.football-predictions-page .football-prediction-history-row--lost .football-prediction-history-row__status {
    background: rgba(239, 68, 68, .10) !important;
    color: #b91c1c !important;
}

.football-prediction-tip-row__markets {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    min-width: 0;
}

.football-prediction-tip-row__markets small {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .28rem .55rem;
    border-radius: 999px;
    font-size: .76rem;
    line-height: 1;
    font-weight: 950;
    background: rgba(148, 163, 184, .12);
    color: #475569;
    white-space: nowrap;
}

.football-prediction-tip-row__markets small.is-won {
    background: rgba(34, 197, 94, .12);
    color: #15803d;
}

.football-prediction-tip-row__markets small.is-lost {
    background: rgba(239, 68, 68, .10);
    color: #b91c1c;
}

.football-prediction-tip-row__markets small.is-pending {
    background: rgba(245, 158, 11, .12);
    color: #92400e;
}

.football-prediction-tip-row__preview > div {
    align-items: flex-start;
}

.football-prediction-tip-row__preview > div p {
    flex: 1 1 280px;
}

/* Header ticker: all matches sharing the same display date remain inside one group. */
.football-header-ticker__set .football-header-ticker__date + .football-header-ticker__match {
    margin-left: .28rem;
}

@media (max-width: 1050px) {
    .football-prediction-method-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .football-prediction-method-strip {
        grid-template-columns: 1fr;
    }

    .football-prediction-method-strip span {
        border-radius: 16px;
    }

    .football-prediction-date-shortcuts a {
        flex: 1 1 auto;
    }

    .football-prediction-tip-row__markets {
        margin-top: .6rem;
    }
}

html[data-theme="dark"] .football-prediction-method-strip span,
html[data-theme="dark"] .football-prediction-date-shortcuts a {
    background: rgba(15, 23, 42, .92);
    border-color: rgba(148, 163, 184, .18);
}

html[data-theme="dark"] .football-prediction-method-strip strong {
    color: #e5e7eb;
}

html[data-theme="dark"] .football-prediction-method-strip small {
    color: #94a3b8;
}

/* Smooth hidden-scrollbar dragging for the homepage Match Centre rail. */
.football-home-board .football-fixture-strip--scroll,
.football-fixture-strip--scroll[data-kisure-drag-scroll],
[data-kisure-drag-scroll] {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    will-change: scroll-position;
}

.football-home-board .football-fixture-strip--scroll.is-dragging,
.football-fixture-strip--scroll[data-kisure-drag-scroll].is-dragging,
[data-kisure-drag-scroll].is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
}

.football-home-board .football-fixture-strip--scroll.is-dragging *,
.football-fixture-strip--scroll[data-kisure-drag-scroll].is-dragging *,
[data-kisure-drag-scroll].is-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
}

.football-home-board .football-fixture-strip--scroll a,
.football-home-board .football-fixture-strip--scroll img,
[data-kisure-drag-scroll] a,
[data-kisure-drag-scroll] img {
    -webkit-user-drag: none;
    user-drag: none;
}

.football-home-board .football-fixture-strip--scroll::-webkit-scrollbar,
[data-kisure-drag-scroll]::-webkit-scrollbar {
    display: none;
}

.football-home-board .football-fixture-strip--scroll,
[data-kisure-drag-scroll] {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
