/* ===== FE942 SOURCE: kisure-v570-football-fotmob.css ===== */
/* Kisure Frontend v570 — compact FotMob-inspired /football match centre.
 * Owns presentation only. Existing football data, live polling, routes and
 * prediction/result semantics remain untouched.
 */
.site-body.is-football-index-page {
    --ks570-bg: #f3f5f7;
    --ks570-surface: #ffffff;
    --ks570-border: rgba(15, 23, 42, .10);
    --ks570-text: #101828;
    --ks570-muted: #667085;
    --ks570-accent: var(--primary, #0e9f9a);
    --ks570-soft: rgba(14, 159, 154, .09);
    background: var(--ks570-bg);
}

html[data-theme="dark"] .site-body.is-football-index-page,
html[data-bs-theme="dark"] .site-body.is-football-index-page {
    --ks570-bg:#1c1c1c;
    --ks570-surface:#1c1c1c;
    --ks570-border: rgba(255, 255, 255, .10);
    --ks570-text: #f5f7fa;
    --ks570-muted: #a8b3c2;
    --ks570-soft: rgba(20, 184, 177, .12);
}

.site-body.is-football-index-page .football-fotmob {
    width: min(1480px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 2.4rem;
    color: var(--ks570-text);
}

.site-body.is-football-index-page .football-fotmob__masthead,
.site-body.is-football-index-page .football-fotmob__datebar,
.site-body.is-football-index-page .football-fotmob__surface {
    background: var(--ks570-surface);
    border: 1px solid var(--ks570-border);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .035);
}

.site-body.is-football-index-page .football-fotmob__masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    border-radius: 16px 16px 0 0;
    padding: 1rem 1.1rem;
}

.site-body.is-football-index-page .football-fotmob__title {
    min-width: 0;
}

.site-body.is-football-index-page .football-fotmob__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    margin-bottom: .25rem;
    color: var(--ks570-accent);
    font-size: .73rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.site-body.is-football-index-page .football-fotmob__title h1 {
    margin: 0;
    color: var(--ks570-text);
    font-size: clamp(1.55rem, 2.1vw, 2rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.035em;
}

.site-body.is-football-index-page .football-fotmob__title p {
    max-width: 680px;
    margin: .35rem 0 0;
    color: var(--ks570-muted);
    font-size: .9rem;
    line-height: 1.45;
}

.site-body.is-football-index-page .football-fotmob__quicknav {
    display: flex;
    align-items: center;
    gap: .42rem;
    flex: 0 0 auto;
}

.site-body.is-football-index-page .football-fotmob__quicknav a {
    min-height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .62rem .82rem;
    border: 1px solid var(--ks570-border);
    border-radius: 10px;
    background: var(--ks570-surface);
    color: var(--ks570-text);
    font-size: .8rem;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.site-body.is-football-index-page .football-fotmob__quicknav a:hover,
.site-body.is-football-index-page .football-fotmob__quicknav a:focus-visible {
    border-color: color-mix(in srgb, var(--ks570-accent) 45%, transparent);
    background: var(--ks570-soft);
    color: var(--ks570-accent);
    transform: translateY(-1px);
}

.site-body.is-football-index-page .football-fotmob__quicknav i {
    font-size: .88rem;
}

.site-body.is-football-index-page .football-fotmob__datebar {
    min-height: 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .75rem;
    padding: .55rem 1.1rem;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    margin-bottom: .9rem;
}

.site-body.is-football-index-page .football-fotmob__datebar > span,
.site-body.is-football-index-page .football-fotmob__datebar > strong,
.site-body.is-football-index-page .football-fotmob__datebar > a {
    font-size: .8rem;
    line-height: 1;
}

.site-body.is-football-index-page .football-fotmob__datebar > span {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    color: var(--ks570-accent);
    font-weight: 900;
}

.site-body.is-football-index-page .football-fotmob__datebar > strong {
    color: var(--ks570-text);
    font-weight: 850;
}

.site-body.is-football-index-page .football-fotmob__datebar > a {
    justify-self: end;
    color: var(--ks570-muted);
    font-weight: 800;
    text-decoration: none;
}

.site-body.is-football-index-page .football-fotmob__datebar > a:hover,
.site-body.is-football-index-page .football-fotmob__datebar > a:focus-visible {
    color: var(--ks570-accent);
}

.site-body.is-football-index-page .football-fotmob__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
    gap: 1rem;
    align-items: start;
}

.site-body.is-football-index-page .football-fotmob__main {
    min-width: 0;
    display: grid;
    gap: 1rem;
}

/* The proven v550 score deck is the primary /football interaction again. */
.site-body.is-football-index-page .football-fotmob .football-home-board--scoredeck {
    margin: 0 !important;
    border-radius: 16px !important;
    border-color: var(--ks570-border) !important;
    background: var(--ks570-surface) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .035) !important;
}

.site-body.is-football-index-page .football-fotmob .football-scoredeck__nav {
    min-height: 3.25rem;
    border-bottom-color: var(--ks570-border) !important;
}

.site-body.is-football-index-page .football-fotmob .football-scoredeck__tab {
    font-size: .78rem !important;
}

.site-body.is-football-index-page .football-fotmob .football-home-match-card {
    box-shadow: none !important;
}

.site-body.is-football-index-page .football-fotmob__surface {
    border-radius: 16px;
    padding: 1rem;
    min-width: 0;
}

.site-body.is-football-index-page .football-fotmob__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

.site-body.is-football-index-page .football-fotmob__section-head > div {
    min-width: 0;
}

.site-body.is-football-index-page .football-fotmob__section-head span {
    display: block;
    margin-bottom: .18rem;
    color: var(--ks570-accent);
    font-size: .7rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.site-body.is-football-index-page .football-fotmob__section-head h2 {
    margin: 0;
    color: var(--ks570-text);
    font-size: 1.08rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.02em;
}

.site-body.is-football-index-page .football-fotmob__section-head > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--ks570-accent);
    font-size: .77rem;
    font-weight: 850;
    text-decoration: none;
}

.site-body.is-football-index-page .football-fotmob__competitions .football-competition-grid--home {
    margin-top: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
}

.site-body.is-football-index-page .football-fotmob__competitions .football-competition-card {
    min-height: 4.15rem;
    border-radius: 12px;
    border-color: var(--ks570-border);
    box-shadow: none;
}

.site-body.is-football-index-page .football-fotmob__stories .news-grid--even {
    margin-top: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.site-body.is-football-index-page .football-fotmob__stories .news-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.site-body.is-football-index-page .football-fotmob__stories .news-card__media {
    aspect-ratio: 16 / 9;
}

.site-body.is-football-index-page .football-fotmob__ad {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.site-body.is-football-index-page .football-fotmob__empty {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: var(--ks570-muted);
}

.site-body.is-football-index-page .football-fotmob__empty > i {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ks570-soft);
    color: var(--ks570-accent);
}

.site-body.is-football-index-page .football-fotmob__empty strong,
.site-body.is-football-index-page .football-fotmob__empty span {
    display: block;
}

.site-body.is-football-index-page .football-fotmob__empty strong {
    color: var(--ks570-text);
    font-size: .9rem;
}

.site-body.is-football-index-page .football-fotmob__empty span {
    margin-top: .15rem;
    font-size: .8rem;
}

/* Preserve the established sidebar data, but make its panels visually fit the
   compact match-centre shell instead of the old large Sports Desk treatment. */
.site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar {
    gap: .85rem !important;
}

.site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar-rail {
    display: grid;
    gap: .85rem;
}

.site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar .ks-desk-panel {
    border-radius: 16px !important;
    border-color: var(--ks570-border) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .035) !important;
}

@media (min-width: 1180px) {
    .site-body.is-football-index-page .football-fotmob__stories .news-grid--even {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .site-body.is-football-index-page .football-fotmob__layout {
        grid-template-columns: minmax(0, 1fr) minmax(285px, 320px);
    }

    .site-body.is-football-index-page .football-fotmob__quicknav a span {
        display: none;
    }

    .site-body.is-football-index-page .football-fotmob__quicknav a {
        width: 2.65rem;
        padding-inline: 0;
    }

    .site-body.is-football-index-page .football-fotmob__stories .news-grid--even {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-body.is-football-index-page .football-fotmob {
        width: min(100% - 1.25rem, 1480px);
        padding-top: .65rem;
    }

    .site-body.is-football-index-page .football-fotmob__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar {
        position: static !important;
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .site-body.is-football-index-page .football-fotmob {
        width: calc(100% - 1rem);
        padding-bottom: 1.4rem;
    }

    .site-body.is-football-index-page .football-fotmob__masthead {
        align-items: flex-start;
        padding: .85rem;
        border-radius: 14px 14px 0 0;
    }

    .site-body.is-football-index-page .football-fotmob__title h1 {
        font-size: 1.55rem;
    }

    .site-body.is-football-index-page .football-fotmob__title p {
        display: none;
    }

    .site-body.is-football-index-page .football-fotmob__quicknav {
        gap: .3rem;
    }

    .site-body.is-football-index-page .football-fotmob__quicknav a {
        width: 2.35rem;
        min-height: 2.35rem;
        border-radius: 9px;
    }

    .site-body.is-football-index-page .football-fotmob__datebar {
        grid-template-columns: auto 1fr auto;
        padding: .48rem .85rem;
        border-radius: 0 0 14px 14px;
        margin-bottom: .65rem;
    }

    .site-body.is-football-index-page .football-fotmob__datebar > strong {
        justify-self: center;
    }

    .site-body.is-football-index-page .football-fotmob__datebar > a {
        font-size: 0;
    }

    .site-body.is-football-index-page .football-fotmob__datebar > a i {
        font-size: .78rem;
    }

    .site-body.is-football-index-page .football-fotmob__main {
        gap: .7rem;
    }

    .site-body.is-football-index-page .football-fotmob .football-home-board--scoredeck,
    .site-body.is-football-index-page .football-fotmob__surface,
    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar .ks-desk-panel {
        border-radius: 14px !important;
    }

    .site-body.is-football-index-page .football-fotmob__surface {
        padding: .82rem;
    }

    .site-body.is-football-index-page .football-fotmob__competitions .football-competition-grid--home {
        grid-template-columns: 1fr;
        gap: .48rem;
    }

    .site-body.is-football-index-page .football-fotmob__stories .news-grid--even {
        grid-template-columns: 1fr 1fr;
        gap: .55rem;
    }

    .site-body.is-football-index-page .football-fotmob__stories .news-card__title {
        font-size: .9rem;
        line-height: 1.25;
    }
}

@media (max-width: 420px) {
    .site-body.is-football-index-page .football-fotmob__stories .news-grid--even {
        grid-template-columns: 1fr;
    }
}

/* ===== FE942 SOURCE: kisure-v571-football-schedule-responsive-sticky.css ===== */
/* Kisure Sports Frontend v571
 * /football correction:
 * - use the established /football/fixtures vertical schedule language
 * - never reuse the homepage horizontal score deck on /football
 * - hard responsive containment for match rows and content
 * - CSS-only sticky desktop sidebar with a static mobile/tablet fallback
 */

.site-body.is-football-index-page .football-fotmob__layout {
    align-items: stretch !important;
    overflow: visible !important;
}

.site-body.is-football-index-page .football-fotmob__main {
    grid-column: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
}

/* The schedule is intentionally the same component family used by
   /football/fixtures.  v571 only adapts it to the compact /football shell. */
.site-body.is-football-index-page .football-fotmob__schedule {
    min-width: 0;
    max-width: 100%;
    padding: 1rem;
    overflow: visible;
}

.site-body.is-football-index-page .football-fotmob__section-head--schedule {
    margin-bottom: .78rem;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-list {
    display: grid;
    gap: .85rem;
    min-width: 0;
    max-width: 100%;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-day {
    display: grid;
    gap: .55rem;
    min-width: 0;
    max-width: 100%;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-day > h3 {
    margin: .12rem .15rem 0;
    color: var(--ks570-text);
    font-size: .82rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.01em;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-competition {
    min-width: 0;
    max-width: 100%;
    border-color: var(--ks570-border);
    border-radius: 14px;
    box-shadow: none;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-competition__head {
    min-width: 0;
    padding: .68rem .82rem;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-competition__title {
    min-width: 0;
    max-width: 100%;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-competition__title > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team,
.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__middle,
.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__actions {
    min-width: 0 !important;
    max-width: 100% !important;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team span {
    min-width: 0 !important;
    overflow-wrap: anywhere;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team img,
.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team b {
    object-fit: contain;
    flex: 0 0 auto !important;
}

.site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__prediction {
    max-width: 100% !important;
}

.site-body.is-football-index-page .football-fotmob__schedule-empty {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 5.2rem;
    padding: .9rem;
    border: 1px dashed var(--ks570-border);
    border-radius: 12px;
    color: var(--ks570-muted);
}

.site-body.is-football-index-page .football-fotmob__schedule-empty > i {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--ks570-soft);
    color: var(--ks570-accent);
}

.site-body.is-football-index-page .football-fotmob__schedule-empty strong,
.site-body.is-football-index-page .football-fotmob__schedule-empty span {
    display: block;
}

.site-body.is-football-index-page .football-fotmob__schedule-empty strong {
    color: var(--ks570-text);
    font-size: .9rem;
}

.site-body.is-football-index-page .football-fotmob__schedule-empty span {
    margin-top: .14rem;
    font-size: .78rem;
}

/* Desktop sidebar: the wrapper stretches with the main column, while only the
   inner rail sticks.  This gives sticky a real travel area and avoids nested
   scrollbars/JS fixed-position fallbacks. */
@media (min-width: 992px) {
    .site-body.is-football-index-page .football-fotmob__layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 350px) !important;
        gap: 1rem !important;
    }

    .site-body.is-football-index-page .football-fotmob__layout > .ks-football-home__sidebar,
    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: block !important;
        position: relative !important;
        inset: auto !important;
        align-self: stretch !important;
        justify-self: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        transform: none !important;
        z-index: 2 !important;
    }

    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar-rail {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: .85rem !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: calc(var(--site-header-height, 78px) + 12px) !important;
        inset-inline: auto !important;
        bottom: auto !important;
        align-self: start !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: max-content !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        transform: none !important;
        will-change: auto !important;
        z-index: 3 !important;
    }

    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar-rail > * {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 1180px) {
    .site-body.is-football-index-page .football-fotmob__layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 360px) !important;
        gap: 1.1rem !important;
    }
}

/* Tablet and phone: one clean column.  Sticky is deliberately disabled here
   so the sidebar never overlays match rows or creates a nested scroll area. */
@media (max-width: 991px) {
    html,
    body.site-body.is-football-index-page,
    .site-body.is-football-index-page .site-main {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-x: clip !important;
    }

    .site-body.is-football-index-page .football-fotmob {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .site-body.is-football-index-page .football-fotmob__masthead {
        min-width: 0;
        max-width: 100%;
    }

    .site-body.is-football-index-page .football-fotmob__title,
    .site-body.is-football-index-page .football-fotmob__quicknav {
        min-width: 0;
    }

    .site-body.is-football-index-page .football-fotmob__layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: .85rem !important;
    }

    .site-body.is-football-index-page .football-fotmob__main,
    .site-body.is-football-index-page .football-fotmob__layout > .ks-football-home__sidebar,
    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar {
        grid-column: 1 !important;
        grid-row: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar,
    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar-rail {
        position: static !important;
        inset: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        transform: none !important;
    }

    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar-rail {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .75rem !important;
    }

    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar-rail > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

@media (max-width: 700px) {
    .site-body.is-football-index-page .football-fotmob {
        width: calc(100% - 1rem) !important;
        max-width: calc(100% - 1rem) !important;
        margin-inline: auto !important;
    }

    .site-body.is-football-index-page .football-fotmob__masthead {
        gap: .65rem;
        flex-wrap: nowrap;
    }

    .site-body.is-football-index-page .football-fotmob__quicknav {
        flex-shrink: 0;
    }

    .site-body.is-football-index-page .football-fotmob__schedule {
        padding: .72rem;
    }

    .site-body.is-football-index-page .football-fotmob__section-head--schedule {
        align-items: center;
        gap: .55rem;
        margin-bottom: .65rem;
    }

    .site-body.is-football-index-page .football-fotmob__section-head--schedule > a {
        font-size: .7rem;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-list {
        gap: .68rem;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-day {
        gap: .42rem;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-day > h3 {
        margin-left: .08rem;
        font-size: .74rem;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-competition {
        border-radius: 12px;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-competition__head {
        padding: .58rem .68rem;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-competition__title img,
    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-competition__title i {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        object-fit: contain;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-competition__title > span {
        font-size: .78rem;
    }

    /* Preserve the established mobile fixture geometry:
       home name + crest | score/time | crest + away name. */
    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row {
        grid-template-columns: minmax(0, 1fr) clamp(72px, 23vw, 104px) minmax(0, 1fr) !important;
        grid-template-areas:
            "meta meta meta"
            "home middle away"
            "actions actions actions" !important;
        column-gap: clamp(.24rem, 1.7vw, .48rem) !important;
        row-gap: .42rem !important;
        padding: .66rem .48rem !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__meta {
        text-align: center !important;
        font-size: .61rem !important;
        line-height: 1.25 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team {
        gap: .28rem !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team--home {
        justify-content: flex-end !important;
        text-align: right !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team--away {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team span {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
        max-width: 100% !important;
        overflow-wrap: normal !important;
        font-size: clamp(.64rem, 2.5vw, .8rem) !important;
        line-height: 1.08 !important;
        font-weight: 900 !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team img,
    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team b {
        width: clamp(24px, 7vw, 30px) !important;
        height: clamp(24px, 7vw, 30px) !important;
        min-width: clamp(24px, 7vw, 30px) !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__middle {
        justify-self: stretch !important;
        justify-items: center !important;
        text-align: center !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__scoreline,
    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__middle strong {
        justify-content: center !important;
        max-width: 100% !important;
        font-size: clamp(.78rem, 3vw, .96rem) !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__middle em {
        max-width: 100% !important;
        font-size: .58rem !important;
        line-height: 1.15 !important;
        text-align: center !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__actions {
        justify-content: center !important;
        width: 100% !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__prediction {
        min-height: 1.95rem;
        padding: .44rem .7rem !important;
        font-size: .67rem !important;
    }

    .site-body.is-football-index-page .football-fotmob .ks-football-home__sidebar-rail {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: .65rem !important;
    }
}

@media (max-width: 420px) {
    .site-body.is-football-index-page .football-fotmob__masthead {
        padding: .72rem;
    }

    .site-body.is-football-index-page .football-fotmob__title h1 {
        font-size: 1.35rem;
    }

    .site-body.is-football-index-page .football-fotmob__quicknav a {
        width: 2.15rem;
        min-height: 2.15rem;
    }

    .site-body.is-football-index-page .football-fotmob__datebar {
        padding-inline: .65rem;
    }

    .site-body.is-football-index-page .football-fotmob__schedule {
        padding: .58rem;
    }

    .site-body.is-football-index-page .football-fotmob__section-head h2 {
        font-size: 1rem;
    }

    .site-body.is-football-index-page .football-fotmob__section-head--schedule > a {
        max-width: 6.9rem;
        text-align: right;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row {
        grid-template-columns: minmax(0, 1fr) clamp(68px, 23vw, 86px) minmax(0, 1fr) !important;
        column-gap: .2rem !important;
        padding-inline: .36rem !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team {
        gap: .2rem !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team span {
        font-size: .61rem !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team img,
    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__team b {
        width: 23px !important;
        height: 23px !important;
        min-width: 23px !important;
    }

    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__scoreline,
    .site-body.is-football-index-page .football-fotmob__schedule .football-schedule-row__middle strong {
        gap: .16rem !important;
        font-size: .74rem !important;
    }
}

/* v571 hard containment: no competition name, ad iframe, article card or
   fixture row may widen the /football viewport. */
.site-body.is-football-index-page .football-fotmob,
.site-body.is-football-index-page .football-fotmob *,
.site-body.is-football-index-page .football-fotmob *::before,
.site-body.is-football-index-page .football-fotmob *::after {
    box-sizing: border-box;
}

.site-body.is-football-index-page .football-fotmob__layout,
.site-body.is-football-index-page .football-fotmob__main,
.site-body.is-football-index-page .football-fotmob__surface,
.site-body.is-football-index-page .football-fotmob__competitions,
.site-body.is-football-index-page .football-fotmob__stories,
.site-body.is-football-index-page .football-fotmob__ad,
.site-body.is-football-index-page .football-fotmob .ad-slot,
.site-body.is-football-index-page .football-fotmob .football-promo-slot,
.site-body.is-football-index-page .football-fotmob .news-grid,
.site-body.is-football-index-page .football-fotmob .football-competition-grid {
    min-width: 0 !important;
    max-width: 100% !important;
}

.site-body.is-football-index-page .football-fotmob__ad,
.site-body.is-football-index-page .football-fotmob .ad-slot,
.site-body.is-football-index-page .football-fotmob .football-promo-slot {
    overflow: hidden !important;
}

.site-body.is-football-index-page .football-fotmob__ad iframe,
.site-body.is-football-index-page .football-fotmob__ad ins,
.site-body.is-football-index-page .football-fotmob .ad-slot iframe,
.site-body.is-football-index-page .football-fotmob .ad-slot ins,
.site-body.is-football-index-page .football-fotmob .football-promo-slot iframe,
.site-body.is-football-index-page .football-fotmob .football-promo-slot ins {
    max-width: 100% !important;
}

.site-body.is-football-index-page .football-fotmob img {
    max-width: 100%;
}
