/* Kisure v578 — homepage fixture strip.
   Four-card desktop rail inspired by the supplied Kisure mock-up, with the
   existing Live / Upcoming / Finished data lanes retained. Homepage only.
   v577 reserves a clean right-side carousel-control gutter and restores a compact prediction action. */
.football-home-board--v550{
    --ks576-teal:#007b78;
    --ks576-teal-dark:#005b59;
    --ks576-teal-deep:#003f3d;
    --ks576-teal-soft:#dcebea;
    --ks576-card:#f3f5f5;
    --ks576-card-hover:#dcebea;
    --ks576-text:#151b1b;
    --ks576-muted:#626d6d;
    --ks576-line:#c4cccc;
    --ks576-shadow:0 8px 24px rgba(0,63,61,.08);
    --ks576-shadow-hover:0 14px 34px rgba(0,63,61,.16);
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:22px auto 30px!important;
    padding:0 24px 8px!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:var(--ks576-text)!important;
    box-sizing:border-box!important;
}

.football-home-board--v550::before,
.football-home-board--v550::after{display:none!important}

/* Keep the proven data tabs, but make them quiet so the fixture cards lead. */
.football-home-board--v550 .football-scoredeck__nav{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    margin:0 0 12px!important;
    padding:3px!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:24px!important;
    background:rgba(220,235,234,.52)!important;
    box-shadow:none!important;
}
.football-home-board--v550 .football-scoredeck__tabs{
    display:flex!important;
    align-items:center!important;
    gap:3px!important;
    min-width:0!important;
}
.football-home-board--v550 .football-scoredeck__tab{
    appearance:none!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:36px!important;
    padding:9px 16px!important;
    border:0!important;
    border-radius:20px!important;
    background:transparent!important;
    color:var(--ks576-muted)!important;
    font:800 12px/1 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
    letter-spacing:.02em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
    cursor:pointer!important;
    clip-path:none!important;
}
.football-home-board--v550 .football-scoredeck__tab.is-active{
    padding:9px 16px!important;
    border-radius:20px!important;
    background:var(--ks576-teal)!important;
    color:#fff!important;
    clip-path:none!important;
}
.football-home-board--v550 .football-scoredeck__tab:disabled,
.football-home-board--v550 .football-scoredeck__tab[aria-disabled="true"]{
    opacity:.42!important;
    cursor:default!important;
}
.football-home-board--v550 .football-scoredeck__live-dot{
    width:7px!important;
    height:7px!important;
    flex:0 0 7px!important;
    border-radius:50%!important;
    background:#ef4444!important;
}
.football-home-board--v550 .football-scoredeck__label--mobile{display:none!important}
.football-home-board--v550 .football-scoredeck__view-all{
    display:inline-flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    min-height:34px!important;
    margin:0 5px 0 0!important;
    padding:7px 14px!important;
    border:1px solid rgba(0,123,120,.24)!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.55)!important;
    color:var(--ks576-teal-deep)!important;
    font:700 12px/1 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
    text-decoration:none!important;
    white-space:nowrap!important;
}
.football-home-board--v550 .football-scoredeck__view-all:hover,
.football-home-board--v550 .football-scoredeck__view-all:focus-visible{
    background:var(--ks576-teal)!important;
    color:#fff!important;
    transform:none!important;
    outline:none!important;
}

.football-home-board--v550 .football-scoredeck__rail-shell{
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
}
.football-home-board--v550 .football-home-board__cards-row{
    display:flex!important;
    align-items:stretch!important;
    gap:18px!important;
    width:calc(100% - 54px)!important;
    max-width:calc(100% - 54px)!important;
    min-width:0!important;
    margin:0!important;
    padding:1px 1px 10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-behavior:smooth!important;
    overscroll-behavior-inline:contain!important;
    cursor:grab!important;
}
.football-home-board--v550 .football-home-board__cards-row:active{cursor:grabbing!important}
.football-home-board--v550 .football-home-board__cards-row::-webkit-scrollbar{display:none!important}
.football-home-board--v550 .football-fixture-tile[hidden]{display:none!important}

/* User-supplied fixture-card language. */
.football-home-board--v550 .ks-match{
    flex:0 0 calc((100% - 54px) / 4)!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    height:155px!important;
    min-height:155px!important;
    position:relative!important;
    display:block!important;
    overflow:hidden!important;
    margin:0!important;
    padding:0!important;
    background:var(--ks576-card)!important;
    border:1px solid rgba(7,31,61,.05)!important;
    border-radius:14px!important;
    box-shadow:var(--ks576-shadow)!important;
    color:var(--ks576-text)!important;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease!important;
    scroll-snap-align:start!important;
    isolation:isolate!important;
    cursor:pointer!important;
}
.football-home-board--v550 .ks-match::before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    inset:0 auto 0 0!important;
    width:3px!important;
    background:var(--ks576-teal)!important;
    z-index:5!important;
}
.football-home-board--v550 .ks-match:hover,
.football-home-board--v550 .ks-match:focus-within{
    transform:translateY(-2px)!important;
    box-shadow:var(--ks576-shadow-hover)!important;
    border-color:rgba(0,123,120,.24)!important;
    background:var(--ks576-card-hover)!important;
}

.football-home-board--v550 .ks-match__head{
    height:58px!important;
    padding:9px 16px 8px 18px!important;
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    color:#edf6f5!important;
    text-decoration:none!important;
    background:
        radial-gradient(circle at 88% -60%,rgba(220,235,234,.24),transparent 38%),
        linear-gradient(100deg,var(--ks576-teal-deep) 0%,var(--ks576-teal-dark) 48%,var(--ks576-teal) 100%)!important;
}
.football-home-board--v550 .ks-match__head:hover,
.football-home-board--v550 .ks-match__head:focus-visible{color:#fff!important;outline:none!important}
.football-home-board--v550 .ks-match__league-logo{
    width:34px!important;
    height:34px!important;
    flex:0 0 34px!important;
    border-radius:50%!important;
    display:grid!important;
    place-items:center!important;
    background:#e8eeee!important;
    border:1px solid rgba(216,231,230,.85)!important;
    box-shadow:0 2px 8px rgba(0,0,0,.14)!important;
    overflow:hidden!important;
    color:var(--ks576-teal-deep)!important;
}
.football-home-board--v550 .ks-match__league-logo img{
    width:25px!important;
    height:25px!important;
    object-fit:contain!important;
    display:block!important;
}
.football-home-board--v550 .ks-match__league-copy{
    display:block!important;
    min-width:0!important;
    line-height:1!important;
}
.football-home-board--v550 .ks-match__league{
    display:block!important;
    min-width:0!important;
    font-size:15.5px!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:-.015em!important;
    color:#edf6f5!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.football-home-board--v550 .ks-match__round{
    display:block!important;
    margin-top:5px!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:600!important;
    color:rgba(237,246,245,.9)!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}

.football-home-board--v550 .ks-match__body{
    height:69px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 1px 88px!important;
    gap:10px!important;
    align-items:center!important;
    width:100%!important;
    margin:0!important;
    padding:8px 18px 4px!important;
    border:0!important;
    background:transparent!important;
    color:var(--ks576-text)!important;
    text-decoration:none!important;
}
.football-home-board--v550 .ks-match__teams{
    min-width:0!important;
    display:grid!important;
    gap:2px!important;
}
.football-home-board--v550 .ks-team{
    min-width:0!important;
    min-height:27px!important;
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    color:inherit!important;
    font-size:15.5px!important;
    font-weight:500!important;
}
.football-home-board--v550 .ks-team__logo-wrap{
    width:23px!important;
    height:23px!important;
    flex:0 0 23px!important;
    display:grid!important;
    place-items:center!important;
}
.football-home-board--v550 .ks-team__logo{
    width:22px!important;
    height:22px!important;
    object-fit:contain!important;
    display:block!important;
}
.football-home-board--v550 .ks-team__fallback{
    width:22px!important;
    height:22px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:50%!important;
    background:#e8eeee!important;
    border:1px solid #d8e1eb!important;
    color:var(--ks576-teal-deep)!important;
    font-size:7.5px!important;
    font-weight:900!important;
}
.football-home-board--v550 .ks-team__name{
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.football-home-board--v550 .ks-match__divider{
    display:block!important;
    width:1px!important;
    height:54px!important;
    background:linear-gradient(to bottom,transparent,var(--ks576-line) 14%,var(--ks576-line) 86%,transparent)!important;
}
.football-home-board--v550 .ks-match__time{
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    color:var(--ks576-teal-deep)!important;
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:800!important;
    font-variant-numeric:tabular-nums!important;
    white-space:nowrap!important;
}
.football-home-board--v550 .ks-match__time > strong{
    color:inherit!important;
    font:800 14px/1.2 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
}
.football-home-board--v550 .ks-match__date{
    display:block!important;
    max-width:76px!important;
    margin:0 0 3px!important;
    overflow:hidden!important;
    color:var(--ks576-muted)!important;
    font-size:11px!important;
    line-height:1.1!important;
    font-weight:700!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.football-home-board--v550 .ks-match__date--live{
    color:#d93636!important;
    font-weight:900!important;
}
.football-home-board--v550 .ks-match__score{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    color:var(--ks576-teal-deep)!important;
    font-size:18px!important;
    line-height:1!important;
    font-weight:900!important;
}
.football-home-board--v550 .ks-match__score span{font-weight:600!important;opacity:.7!important}
.football-home-board--v550 .ks-match__penalties{
    margin-top:2px!important;
    color:var(--ks576-muted)!important;
    font-size:9px!important;
    font-weight:800!important;
}

.football-home-board--v550 .ks-match__footer{
    height:28px!important;
    min-width:0!important;
    padding:0 12px 0 18px!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    overflow:hidden!important;
}
.football-home-board--v550 .ks-match__venue{
    flex:1 1 auto!important;
    min-width:0!important;
    height:28px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    color:var(--ks576-muted)!important;
    font-size:12.5px!important;
    font-weight:500!important;
    white-space:nowrap!important;
    overflow:hidden!important;
}
.football-home-board--v550 .ks-match__venue svg{
    width:13px!important;
    height:13px!important;
    flex:0 0 13px!important;
    color:var(--ks576-teal)!important;
}
.football-home-board--v550 .ks-match__venue span{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.football-home-board--v550 .ks-match__prediction{
    flex:0 0 28px!important;
    position:static!important;
    inset:auto!important;
    width:28px!important;
    max-width:28px!important;
    min-width:28px!important;
    height:24px!important;
    min-height:24px!important;
    margin:0!important;
    padding:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    border:1px solid rgba(0,123,120,.22)!important;
    border-radius:999px!important;
    background:rgba(0,123,120,.08)!important;
    color:var(--ks576-teal-deep)!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    box-shadow:none!important;
    transform:none!important;
}
.football-home-board--v550 .ks-match__prediction i{
    flex:0 0 auto!important;
    margin:0!important;
    font-size:11px!important;
    line-height:1!important;
}
.football-home-board--v550 .ks-match__prediction:hover,
.football-home-board--v550 .ks-match__prediction:focus-visible{
    background:var(--ks576-teal)!important;
    border-color:var(--ks576-teal)!important;
    color:#fff!important;
    outline:none!important;
}
.football-home-board--v550 .ks-match__prediction.football-schedule-row__prediction--won{
    background:rgba(22,163,74,.11)!important;
    border-color:rgba(22,163,74,.28)!important;
    color:#137a3a!important;
}
.football-home-board--v550 .ks-match__prediction.football-schedule-row__prediction--lost,
.football-home-board--v550 .ks-match__prediction.football-schedule-row__prediction--cancelled,
.football-home-board--v550 .ks-match__prediction.football-schedule-row__prediction--abandoned{
    background:rgba(220,38,38,.08)!important;
    border-color:rgba(220,38,38,.22)!important;
    color:#b42318!important;
}

/* The supplied layout uses one external next control, not arrows inside cards. */
.football-home-board--v550 .football-scoredeck__arrow--left{display:none!important}
.football-home-board--v550 .football-scoredeck__arrow--right{
    position:absolute!important;
    z-index:30!important;
    top:50%!important;
    right:0!important;
    width:44px!important;
    height:58px!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid rgba(0,123,120,.22)!important;
    border-radius:12px!important;
    background:rgba(232,238,238,.97)!important;
    color:var(--ks576-teal-deep)!important;
    box-shadow:none!important;
    cursor:pointer!important;
    transform:translateY(-50%)!important;
    transition:transform .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease!important;
    -webkit-tap-highlight-color:transparent!important;
}
.football-home-board--v550 .football-scoredeck__arrow--right::before{display:none!important;content:none!important}

.football-home-board--v550 .football-scoredeck__arrow--right:hover,
.football-home-board--v550 .football-scoredeck__arrow--right:focus-visible{
    background:var(--ks576-teal)!important;
    color:#eaf5f4!important;
    box-shadow:none!important;
    transform:translateY(-50%) translateX(2px)!important;
    outline:none!important;
}
.football-home-board--v550 .football-scoredeck__arrow--right:active{
    transform:translateY(-50%) translateX(3px) scale(.97)!important;
}
.football-home-board--v550 .football-scoredeck__arrow--right.is-disabled{opacity:.58!important}
.football-home-board--v550 .football-scoredeck__arrow--right:disabled{
    opacity:.3!important;
    cursor:default!important;
}

@media(max-width:1200px){
    .football-home-board--v550 .football-home-board__cards-row{gap:14px!important}
    .football-home-board--v550 .ks-match{flex:0 0 340px!important}
    .football-home-board--v550 .football-scoredeck__arrow--right{right:0!important}
}

@media(max-width:760px){
    .football-home-board--v550{
        margin:16px auto 24px!important;
        padding:0 14px 6px!important;
    }
    .football-home-board--v550 .football-scoredeck__nav{
        gap:5px!important;
        margin-bottom:10px!important;
        border-radius:20px!important;
    }
    .football-home-board--v550 .football-scoredeck__tabs{
        flex:1 1 auto!important;
        min-width:0!important;
        gap:1px!important;
    }
    .football-home-board--v550 .football-scoredeck__tab{
        flex:1 1 0!important;
        min-width:0!important;
        min-height:34px!important;
        padding:8px 6px!important;
        font-size:10px!important;
        overflow:hidden!important;
    }
    .football-home-board--v550 .football-scoredeck__tab.is-active{padding:8px 6px!important}
    .football-home-board--v550 .football-scoredeck__tab .football-scoredeck__label{
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
    }
    .football-home-board--v550 .football-scoredeck__label--desktop{display:none!important}
    .football-home-board--v550 .football-scoredeck__label--mobile{display:inline!important}
    .football-home-board--v550 .football-scoredeck__view-all{
        min-height:30px!important;
        padding:6px 9px!important;
        font-size:10px!important;
    }
    .football-home-board--v550 .football-home-board__cards-row{
        gap:12px!important;
        width:calc(100% - 44px)!important;
        max-width:calc(100% - 44px)!important;
    }
    .football-home-board--v550 .ks-match{
        flex-basis:min(322px,87vw)!important;
        height:151px!important;
        min-height:151px!important;
        border-radius:13px!important;
    }
    .football-home-board--v550 .ks-match__head{
        height:55px!important;
        padding:8px 14px 7px 16px!important;
    }
    .football-home-board--v550 .ks-match__body{
        height:68px!important;
        grid-template-columns:minmax(0,1fr) 1px 80px!important;
        gap:7px!important;
        padding:7px 14px 3px 16px!important;
    }
    .football-home-board--v550 .ks-match__footer{padding:0 8px 0 16px!important;gap:6px!important}
    .football-home-board--v550 .ks-match__venue{padding:0!important;font-size:11.5px!important}
    .football-home-board--v550 .ks-match__prediction{flex-basis:26px!important;width:26px!important;max-width:26px!important;min-width:26px!important;height:24px!important;padding:0!important}
    .football-home-board--v550 .football-scoredeck__arrow--right{
        right:0!important;
        width:38px!important;
        height:52px!important;
        border-radius:10px!important;
    }
}

@media(max-width:420px){
    .football-home-board--v550{padding-inline:8px!important}
    .football-home-board--v550 .football-scoredeck__view-all span{display:none!important}
    .football-home-board--v550 .football-scoredeck__view-all{width:30px!important;padding:0!important}
    .football-home-board--v550 .ks-match{flex-basis:min(310px,88vw)!important}
    .football-home-board--v550 .ks-match__league{font-size:14px!important}
    .football-home-board--v550 .ks-team{font-size:14px!important}
}

/* The site has an explicit Light / Dark / System selector, so follow resolved theme. */
html[data-theme="dark"] .football-home-board--v550{
    --ks576-card:#0f2033;
    --ks576-card-hover:#10283e;
    --ks576-text:#eef5fb;
    --ks576-muted:#a9b6c6;
    --ks576-line:#36506b;
}
html[data-theme="dark"] .football-home-board--v550 .football-scoredeck__nav{
    background:rgba(15,32,51,.88)!important;
}
html[data-theme="dark"] .football-home-board--v550 .football-scoredeck__view-all{
    background:rgba(15,32,51,.8)!important;
    color:#edf6f5!important;
}
html[data-theme="dark"] .football-home-board--v550 .ks-match{
    border-color:rgba(255,255,255,.07)!important;
}
html[data-theme="dark"] .football-home-board--v550 .ks-match__body{color:var(--ks576-text)!important}
html[data-theme="dark"] .football-home-board--v550 .ks-match__time,
html[data-theme="dark"] .football-home-board--v550 .ks-match__score{color:#f5f9fd!important}
html[data-theme="dark"] .football-home-board--v550 .football-scoredeck__arrow--right{
    background:#10243a!important;
    color:#edf6f5!important;
    border-color:rgba(255,255,255,.12)!important;
}

@media(prefers-reduced-motion:reduce){
    .football-home-board--v550 .ks-match,
    .football-home-board--v550 .football-scoredeck__arrow--right{transition:none!important}
    .football-home-board--v550 .football-home-board__cards-row{scroll-behavior:auto!important}
}

html[data-theme="dark"] .football-home-board--v550 .ks-match__prediction{
    background:rgba(50,200,190,.11)!important;
    border-color:rgba(110,225,217,.22)!important;
    color:#c9fffb!important;
}
html[data-theme="dark"] .football-home-board--v550 .ks-match__prediction.football-schedule-row__prediction--won{color:#a7f3d0!important}
html[data-theme="dark"] .football-home-board--v550 .ks-match__prediction.football-schedule-row__prediction--lost,
html[data-theme="dark"] .football-home-board--v550 .ks-match__prediction.football-schedule-row__prediction--cancelled,
html[data-theme="dark"] .football-home-board--v550 .ks-match__prediction.football-schedule-row__prediction--abandoned{color:#fecaca!important}
