body {
    background: var(--bg-page, #f3f6fb);
    color: var(--text-main, #1f2937);
}

.sp-home-v7 {
    gap: 12px;
    padding-top: 10px;
}

.sp-home-v7 > * {
    width: 100%;
}

.sp-home-topbar {
    order: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--border-light, #d9e4e2);
    border-radius: 8px;
    background: #fff;
}

.sp-home-topbar::-webkit-scrollbar {
    display: none;
}

.sp-home-topbar a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 13px;
    color: #263a37;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.sp-home-topbar a:first-child,
.sp-home-topbar a:hover {
    color: #fff;
    background: var(--theme-primary, #0f766e);
}

.sp-first-screen {
    order: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 12px;
    align-items: start;
}

.sp-home-v7 .sp-fixture-board,
.sp-home-v7 .sp-home-side,
.sp-home-v7 .sp-hot-marquee,
.sp-home-v7 .sp-league-section,
.sp-home-v7 .sp-news-layout,
.sp-home-v7 .sp-video-section,
.sp-home-v7 .sp-topic-section,
.sp-home-v7 .sp-seo-copy {
    border: 1px solid var(--border-light, #d9e4e2);
    border-radius: 8px;
    background: #fff;
}

.sp-home-v7 .sp-fixture-board {
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(11, 23, 32, .08);
}

.sp-board-head {
    gap: 16px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid #e6eeee;
}

.sp-kicker {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    margin-bottom: 7px;
    border-radius: 999px;
    color: var(--theme-primary, #0f766e);
    background: rgba(var(--theme-primary-rgb, 15, 118, 110), .1);
    font-size: 12px;
    font-weight: 900;
}

.sp-board-head h1 {
    margin: 0;
    color: #0f1f1d;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0;
}

.sp-board-head p {
    max-width: 760px;
    margin: 7px 0 0;
    color: #657773;
    font-size: 13px;
    line-height: 1.7;
}

.sp-board-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 8px;
    min-width: 260px;
}

.sp-board-stats span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 52px;
    padding: 8px;
    border-radius: 8px;
    color: #637571;
    background: #f4f8f7;
    font-size: 12px;
    text-align: center;
}

.sp-board-stats b {
    color: var(--theme-primary, #0f766e);
    font-size: 18px;
    line-height: 1.1;
}

.sp-filter-row {
    display: flex;
    gap: 8px;
    padding: 11px 16px;
    overflow-x: auto;
    border-bottom: 1px solid #e6eeee;
}

.sp-filter-row button {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid #d6e1df;
    border-radius: 999px;
    color: #203532;
    background: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.sp-filter-row button.active,
.sp-filter-row button:hover {
    color: #fff;
    border-color: var(--theme-primary, #0f766e);
    background: var(--theme-primary, #0f766e);
}

.sp-home-v7 .sp-fixture-list {
    max-height: 620px;
    overflow-y: auto;
    padding: 0;
}

.sp-fixture-head,
.sp-match-row {
    display: grid;
    grid-template-columns: 72px 76px 78px minmax(0, 1.1fr) 78px minmax(0, 1.1fr) 112px;
    gap: 8px;
    align-items: center;
}

.sp-fixture-head {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 34px;
    padding: 0 14px;
    color: #80918d;
    background: #f7faf9;
    border-bottom: 1px solid #e6eeee;
    font-size: 12px;
    font-weight: 800;
}

.sp-match-row {
    min-height: 58px;
    padding: 8px 14px;
    border-bottom: 1px solid #edf2f1;
    color: #1b2d2a;
}

.sp-match-row:hover {
    background: #f6fbfa;
}

.sp-time,
.sp-league,
.sp-team,
.sp-score {
    min-width: 0;
    color: inherit;
}

.sp-time strong {
    display: block;
    color: #e11d48;
    font-size: 14px;
    line-height: 1.1;
}

.sp-time small {
    display: block;
    margin-top: 3px;
    color: #7b8e89;
    font-size: 11px;
}

.sp-league {
    color: #36504b;
    font-size: 13px;
    font-weight: 800;
}

.sp-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.status-live {
    color: #fff;
    background: #dc2626;
}

.status-next {
    color: #e11d48;
    background: #fff0f4;
}

.status-done {
    color: #66736f;
    background: #edf2f1;
}

.status-delay {
    color: #92400e;
    background: #fff7ed;
}

.sp-team {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 900;
}

.sp-away-team {
    justify-content: flex-end;
}

.sp-team span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sp-logo-wrap,
.sp-logo-fallback {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef5f3;
}

.sp-logo-wrap img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.sp-logo-fallback {
    color: var(--theme-primary, #0f766e);
    font-size: 12px;
    font-weight: 900;
}

.sp-score {
    color: #091a18;
    font-size: 14px;
    font-weight: 1000;
    text-align: center;
    white-space: nowrap;
}

.sp-action {
    display: flex;
    justify-content: flex-end;
}

.sp-schedule-live-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    max-width: 108px;
    padding: 0 10px;
    border: 1px solid var(--theme-primary, #0f766e);
    border-radius: 999px;
    color: var(--theme-primary, #0f766e);
    background: #fff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.sp-schedule-live-btn:hover {
    color: #fff;
    background: var(--theme-primary, #0f766e);
}

.sp-schedule-live-btn i {
    margin-right: 4px;
    font-size: 13px;
}

.sp-empty {
    padding: 26px 16px;
    color: #637571;
    font-size: 14px;
    text-align: center;
}

.sp-empty-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.sp-empty-links a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff;
    background: var(--theme-primary, #0f766e);
    font-size: 12px;
    font-weight: 900;
}

.sp-board-foot {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: #f7faf9;
    border-top: 1px solid #e6eeee;
}

.sp-board-foot a {
    color: var(--theme-primary, #0f766e);
    font-size: 13px;
    font-weight: 900;
}

.sp-home-side {
    display: grid;
    gap: 12px;
    padding: 12px;
}

.sp-side-card-main {
    display: block;
    min-height: 150px;
    padding: 16px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #0b1720, #16433e);
}

.sp-side-card-main span {
    display: inline-flex;
    height: 24px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    color: #ffe9b0;
    background: rgba(245, 158, 11, .14);
    font-size: 12px;
    font-weight: 900;
}

.sp-side-card-main strong {
    display: block;
    margin-top: 18px;
    color: #fff;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 1000;
}

.sp-side-card-main small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.sp-side-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sp-side-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid #dce7e5;
    border-radius: 7px;
    color: #243a36;
    background: #fff;
    font-size: 13px;
    font-weight: 900;
}

.sp-side-grid a:hover {
    color: #fff;
    border-color: var(--theme-primary, #0f766e);
    background: var(--theme-primary, #0f766e);
}

.sp-side-news {
    padding: 12px;
    border: 1px solid #dce7e5;
    border-radius: 8px;
    background: #fff;
}

.sp-side-news header,
.sp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sp-side-news h2,
.sp-section-head h2 {
    margin: 0;
    color: #112320;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 1000;
}

.sp-side-news h2::before,
.sp-section-head h2::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 16px;
    margin-right: 8px;
    vertical-align: -2px;
    background: var(--theme-primary, #0f766e);
}

.sp-side-news header a,
.sp-section-head a {
    color: #6b7e7a;
    font-size: 13px;
    font-weight: 800;
}

.sp-side-news > a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px dashed #dce7e5;
    color: #253f3a;
    font-size: 13px;
    line-height: 1.45;
}

.sp-side-news > a:last-child {
    border-bottom: 0;
}

.sp-hot-marquee {
    order: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    overflow: hidden;
}

.sp-hot-marquee strong {
    flex: 0 0 auto;
    color: #fff;
    background: var(--theme-primary, #0f766e);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
}

.sp-hot-marquee div {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sp-hot-marquee div::-webkit-scrollbar {
    display: none;
}

.sp-hot-marquee a {
    flex: 0 0 auto;
    color: #243a36;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.sp-hot-marquee span {
    margin-right: 6px;
    color: #e11d48;
}

.sp-home-v7 .sp-league-section,
.sp-news-layout,
.sp-home-v7 .sp-video-section,
.sp-topic-section,
.sp-home-v7 .sp-seo-copy {
    padding: 14px;
}

.sp-home-v7 .sp-league-section {
    order: 4;
}

.sp-news-layout {
    order: 5;
}

.sp-home-v7 .sp-video-section {
    order: 6;
}

.sp-topic-section {
    order: 7;
}

.sp-news-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 14px;
}

.sp-news-card {
    position: relative;
    display: block;
    min-height: 176px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: #0b1720;
}

.sp-news-card.is-large {
    grid-row: span 2;
    min-height: 362px;
}

.sp-news-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform .25s ease, opacity .25s ease;
}

.sp-news-card:hover img {
    transform: scale(1.04);
    opacity: .78;
}

.sp-news-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 68%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .86));
}

.sp-news-card span,
.sp-news-card strong {
    position: absolute;
    z-index: 2;
    left: 12px;
    right: 12px;
}

.sp-news-card span {
    bottom: 48px;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 3px 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--theme-primary, #0f766e);
    font-size: 11px;
    font-weight: 900;
}

.sp-news-card strong {
    bottom: 11px;
    display: -webkit-box;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 1000;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sp-news-card.is-large strong {
    font-size: 21px;
}

.sp-home-v7 .sp-video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.sp-home-v7 .sp-video-card {
    border-radius: 8px;
    border-color: #dce7e5;
    background: #fff;
}

.sp-home-v7 .sp-video-card img {
    aspect-ratio: 16 / 9;
}

.sp-play-badge {
    position: absolute;
    left: 50%;
    top: 42%;
    z-index: 2;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.sp-play-badge::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid var(--theme-primary, #0f766e);
}

.sp-home-v7 .sp-video-card .sp-play-badge i {
    display: none;
}

.sp-home-v7 .sp-video-card strong {
    text-align: left;
}

.sp-topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
}

.sp-topic-cloud a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid #dce7e5;
    border-radius: 999px;
    color: #29443f;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
}

.sp-topic-cloud a:hover {
    color: #fff;
    border-color: var(--theme-primary, #0f766e);
    background: var(--theme-primary, #0f766e);
}

.sp-home-v7 .sp-seo-copy {
    order: 8;
    color: #526763;
    font-size: 13px;
    line-height: 1.9;
}

.sp-home-v7 .sp-seo-copy p {
    margin: 0 0 8px;
}

.sp-home-v7 .sp-seo-copy p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .sp-first-screen {
        grid-template-columns: 1fr;
    }

    .sp-home-side {
        grid-template-columns: 1fr 1fr;
    }

    .sp-side-news {
        grid-column: 1 / -1;
    }

    .sp-board-head {
        display: block;
    }

    .sp-board-stats {
        grid-template-columns: repeat(3, 1fr);
        min-width: 0;
        margin-top: 12px;
    }

    .sp-fixture-head {
        display: none;
    }

    .sp-match-row {
        grid-template-columns: 58px minmax(0, 1fr) 82px;
        gap: 7px;
        min-height: 86px;
        padding: 10px 12px;
    }

    .sp-league {
        grid-column: 1;
        grid-row: 2;
    }

    .sp-status {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .sp-home-team {
        grid-column: 2;
        grid-row: 1;
    }

    .sp-away-team {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-start;
    }

    .sp-score {
        grid-column: 3;
        grid-row: 2;
        text-align: right;
    }

    .sp-action {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .sp-schedule-live-btn {
        max-width: none;
        width: 100%;
    }

    .sp-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-news-card.is-large {
        grid-column: 1 / -1;
        min-height: 260px;
    }

    .sp-home-v7 .sp-video-grid,
    .sp-league-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .sp-home-v7 {
        padding-top: 6px;
    }

    .sp-home-topbar {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .sp-board-head {
        padding: 13px 12px 10px;
    }

    .sp-board-head h1 {
        font-size: 19px;
    }

    .sp-board-head p {
        display: none;
    }

    .sp-board-stats {
        gap: 6px;
    }

    .sp-board-stats span {
        min-height: 44px;
        font-size: 11px;
    }

    .sp-board-stats b {
        font-size: 16px;
    }

    .sp-filter-row {
        padding: 10px 12px;
    }

    .sp-home-v7 .sp-fixture-list {
        max-height: 560px;
    }

    .sp-board-foot,
    .sp-hot-marquee {
        overflow-x: auto;
    }

    .sp-home-side {
        grid-template-columns: 1fr;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .sp-side-card-main {
        min-height: 118px;
    }

    .sp-side-card-main strong {
        margin-top: 14px;
        font-size: 21px;
    }

    .sp-news-grid,
    .sp-home-v7 .sp-video-grid {
        grid-template-columns: 1fr;
    }

    .sp-news-card,
    .sp-news-card.is-large {
        min-height: 210px;
    }

    .sp-news-card.is-large strong {
        font-size: 18px;
    }
}

.sp-ls-style,
.sp-ls-style *,
.site-container {
    box-sizing: border-box;
}

.sp-home-shell {
    display: flex;
    flex-direction: column;
    padding: 12px 0 34px;
    overflow-x: clip;
}

.sp-home-shell > * { order: 20; }
.sp-home-shell > .sp-score-strip { order: 1; }
.sp-home-shell > .sp-content-grid { order: 2; }
.sp-home-shell > .sp-live-marquee { order: 3; }
.sp-home-shell > .sp-league-section { order: 4; }
.sp-home-shell > .sp-ls-hero { order: 5; }
.sp-home-shell > .sp-video-section { order: 6; }
.sp-home-shell > .sp-topic-section { order: 7; }
.sp-home-shell > .sp-seo-copy { order: 8; }

.sp-score-strip,
.sp-live-marquee,
.sp-fixture-board,
.sp-side-card,
.sp-ls-section,
.sp-seo-copy,
.sp-hero-news {
    border: 1px solid var(--border-light, #dde4ee);
    background: #fff;
    border-radius: 10px;
}

.sp-fixture-board {
    box-shadow: 0 14px 34px rgba(11, 23, 32, .08);
}

.sp-score-strip {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sp-score-strip::-webkit-scrollbar { display: none; }

.sp-score-strip a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-right: 1px solid #eff2f7;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.sp-score-strip a:hover,
.sp-score-strip a:first-child {
    color: #fff;
    background: var(--theme-primary, #0f766e);
}

.sp-home-shell.sp-variant-beta .sp-score-strip a:hover,
.sp-home-shell.sp-variant-beta .sp-score-strip a:first-child {
    background: var(--theme-primary, #0f766e);
}

.sp-home-shell.sp-variant-gamma .sp-score-strip a:hover,
.sp-home-shell.sp-variant-gamma .sp-score-strip a:first-child {
    background: var(--theme-primary, #0f766e);
}

.sp-ls-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 12px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.sp-hero-main-wrap {
    min-width: 0;
}

.sp-hero-media {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(130px, .75fr));
    grid-template-rows: repeat(2, 178px);
    gap: 4px;
    min-width: 0;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    overflow: hidden;
    background: #101828;
}

.sp-hero-media a {
    position: relative;
    display: block;
    color: #fff;
    overflow: hidden;
}

.sp-hero-main { grid-row: 1 / span 2; }

.sp-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease, opacity .25s ease;
}

.sp-hero-media a:hover img {
    transform: scale(1.04);
    opacity: .75;
}

.sp-hero-media a::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 65%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .88));
}

.sp-hero-media span,
.sp-hero-media strong {
    position: absolute;
    z-index: 2;
    left: 12px;
    right: 12px;
}

.sp-hero-media span {
    bottom: 46px;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--theme-primary, #0f766e);
    font-size: 11px;
    font-weight: 800;
}

.sp-hero-media strong {
    bottom: 10px;
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sp-hero-main strong {
    font-size: 20px;
    bottom: 14px;
}

.sp-hero-main span { bottom: 70px; }

.sp-hero-panel {
    display: grid;
    gap: 12px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.sp-side-card,
.sp-hero-news {
    padding: 14px;
    min-width: 0;
    max-width: 100%;
}

.sp-hero-news header,
.sp-side-card header,
.sp-ls-section-head,
.sp-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sp-hero-news h2,
.sp-side-card h2,
.sp-ls-section-head h2,
.sp-board-head h2 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
}

.sp-hero-news h2::before,
.sp-side-card h2::before,
.sp-ls-section-head h2::before,
.sp-board-head h2::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 16px;
    margin-right: 8px;
    background: var(--theme-primary, #0f766e);
    vertical-align: -2px;
}

.sp-hero-news header a,
.sp-side-card header a,
.sp-ls-section-head a,
.sp-ls-section-head nav a {
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.sp-hero-news > a {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
    min-height: 32px;
    border-bottom: 1px dashed #e8edf4;
    color: #374151;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-hero-news > a:last-child { border-bottom: 0; }

.sp-hero-news > a span {
    color: var(--theme-primary, #0f766e);
    font-size: 11px;
    font-weight: 900;
}

.hero-live .sp-live-counts { margin-top: 10px; }

.sp-live-counts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.sp-live-counts div {
    min-height: 62px;
    padding: 8px 4px;
    border-radius: 8px;
    background: #f7f9fc;
    text-align: center;
}

.sp-live-counts strong {
    display: block;
    color: var(--theme-primary, #0f766e);
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}

.sp-live-counts span {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}

.sp-live-marquee {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    min-height: 42px;
    margin-top: 12px;
    overflow: hidden;
}

.sp-live-marquee > strong {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    color: #fff;
    background: var(--theme-primary, #0f766e);
    font-size: 13px;
    font-weight: 800;
}

.sp-live-marquee > div {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 12px;
    scrollbar-width: none;
}

.sp-live-marquee > div::-webkit-scrollbar { display: none; }

.sp-live-marquee a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-size: 13px;
    white-space: nowrap;
}

.sp-live-marquee em {
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
}

.sp-live-marquee em.live,
.sp-live-marquee em.next {
    background: #eefaf7;
    color: var(--theme-primary, #0f766e);
}

.sp-live-marquee span { color: #64748b; }

.sp-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 12px;
    align-items: start;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.sp-fixture-main,
.sp-ls-side {
    min-width: 0;
}

.sp-ls-side { display: grid; gap: 12px; }

.sp-board-head {
    gap: 12px;
    min-height: 62px;
    padding: 0 14px;
    border-bottom: 1px solid #e9eef5;
}

.sp-board-head p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 12px;
}

.sp-schedule-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 9px;
}

.sp-schedule-summary span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(var(--theme-primary-rgb, 15, 118, 110), .1);
    color: #31504b;
    font-size: 12px;
    font-weight: 800;
}

.sp-schedule-summary b {
    color: var(--theme-primary, #0f766e);
    font-size: 13px;
}

.sp-board-head nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.sp-board-head button {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #dbe3ee;
    border-radius: 7px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.sp-board-head button.active,
.sp-board-head button:hover {
    border-color: var(--theme-primary, #0f766e);
    background: var(--theme-primary, #0f766e);
    color: #fff;
}

.sp-home-shell.sp-variant-beta .sp-board-head button.active,
.sp-home-shell.sp-variant-beta .sp-board-head button:hover {
    border-color: var(--theme-primary, #0f766e);
    background: var(--theme-primary, #0f766e);
}

.sp-home-shell.sp-variant-gamma .sp-board-head button.active,
.sp-home-shell.sp-variant-gamma .sp-board-head button:hover {
    border-color: var(--theme-primary, #0f766e);
    background: var(--theme-primary, #0f766e);
}

.sp-fixture-head,
.sp-fixture-row {
    display: grid;
    grid-template-columns: 62px 74px 68px minmax(0, 1fr) 74px minmax(0, 1fr) 96px;
    gap: 8px;
    align-items: center;
}

.sp-fixture-head {
    min-height: 36px;
    padding: 0 12px;
    background: #fafbfd;
    border-bottom: 1px solid #edf2f7;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

.sp-fixture-list {
    max-height: 650px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--theme-primary-rgb, 15, 118, 110), .45) transparent;
}

.sp-fixture-row {
    min-height: 46px;
    padding: 8px 12px;
    border-bottom: 1px solid #edf2f7;
    background: #fff;
}

.sp-fixture-row:hover { background: #f8fbfa; }

.sp-fixture-row time {
    display: flex;
    flex-direction: column;
    color: var(--theme-primary, #0f766e);
    line-height: 1.15;
}

.sp-fixture-row time b { font-size: 13px; }

.sp-fixture-row time span { color: #94a3b8; font-size: 11px; }

.sp-league {
    color: #374151;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-status {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef2f7;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.sp-status.live { color: #fff; background: var(--theme-primary, #0f766e); }
.sp-status.next { color: var(--theme-primary, #0f766e); background: #eefaf7; }
.sp-status.done { color: #64748b; background: #eef2f7; }
.sp-status.delay { color: #92400e; background: #fff7df; }

.sp-team {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
}

.sp-team.home { justify-content: flex-end; text-align: right; }
.sp-team.away { justify-content: flex-start; }

.sp-team span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-team img,
.sp-logo-fallback,
.sp-rank-list img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 auto;
}

.sp-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--theme-primary, #0f766e);
    font-size: 12px;
    font-weight: 900;
}

.sp-score {
    color: #111827;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.sp-score.live { color: var(--theme-primary, #0f766e); }
.sp-live-action { text-align: right; }

.sp-schedule-live-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 76px;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--theme-primary, #0f766e);
    border-radius: 999px;
    color: var(--theme-primary, #0f766e);
    background: #fff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.sp-schedule-live-btn:hover {
    color: #fff;
    background: var(--theme-primary, #0f766e);
    box-shadow: 0 8px 18px rgba(var(--theme-primary-rgb, 15, 118, 110), .2);
}

.sp-empty-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 18px 24px;
}

.sp-empty-links a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.sp-empty-links a:hover {
    color: #fff;
    border-color: var(--theme-primary, #0f766e);
    background: var(--theme-primary, #0f766e);
}

.sp-core-list,
.sp-topic-cloud,
.sp-resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-core-list a,
.sp-topic-cloud a,
.sp-resource-links a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: 100%;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fafbfd;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-core-list a:hover,
.sp-topic-cloud a:hover,
.sp-resource-links a:hover {
    color: var(--theme-primary, #0f766e);
    border-color: var(--theme-primary, #0f766e);
    background: #eefaf7;
}

.sp-rank-list a {
    display: grid;
    grid-template-columns: 22px 24px minmax(0, 1fr) 44px;
    gap: 7px;
    align-items: center;
    min-height: 36px;
    border-bottom: 1px dashed #e9eef5;
}

.sp-rank-list a:last-child { border-bottom: 0; }

.sp-rank-list b {
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

.sp-rank-list a:nth-child(-n+3) b {
    color: var(--theme-primary, #0f766e);
    font-weight: 900;
}

.sp-rank-list span,
.sp-rank-list em {
    min-width: 0;
    color: #334155;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-rank-list em {
    color: var(--theme-primary, #0f766e);
    font-style: normal;
    text-align: right;
}

.sp-ls-section,
.sp-seo-copy {
    margin-top: 12px;
    padding: 0 14px 14px;
}

.sp-ls-section-head {
    min-height: 50px;
    border-bottom: 1px solid #e9eef5;
}

.sp-ls-section-head nav { display: flex; gap: 18px; }

.sp-video-grid,
.sp-league-grid {
    display: grid;
    gap: 10px;
    padding-top: 14px;
}

.sp-video-grid { grid-template-columns: repeat(4, 1fr); }

.sp-video-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.sp-video-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.sp-video-card i {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    font-size: 0;
}

.sp-video-card i::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--theme-primary, #0f766e);
}

.sp-video-card strong {
    display: block;
    padding: 9px;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-video-fallback {
    min-height: 128px;
    padding: 16px;
    background: #f8fafc;
}

.sp-video-fallback span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--theme-primary, #0f766e);
    background: rgba(var(--theme-primary-rgb, 15, 118, 110), .1);
    font-size: 12px;
    font-weight: 800;
}

.sp-video-fallback strong {
    padding: 14px 0 0;
    text-align: left;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sp-league-grid { grid-template-columns: repeat(8, 1fr); }

.sp-league-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.sp-league-grid a:hover {
    border-color: var(--theme-primary, #0f766e);
    background: #f3faf8;
}

.sp-league-grid img,
.sp-league-grid .sp-league-fallback {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    object-fit: contain;
}

.sp-league-grid .sp-league-fallback { display: none; }
.sp-league-grid strong { color: #1f2937; font-size: 13px; font-weight: 800; }
.sp-league-grid em { margin-top: 3px; color: #64748b; font-size: 11px; font-style: normal; }

.sp-topic-section .sp-topic-cloud { padding-top: 14px; }

.sp-seo-copy {
    color: #5b6678;
    font-size: 13px;
    line-height: 1.9;
}

.sp-seo-copy p { margin: 0 0 8px; }
.sp-empty { padding: 26px; color: #64748b; text-align: center; }

@media (max-width: 1180px) {
    .sp-ls-hero {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
    .sp-content-grid { grid-template-columns: minmax(0, 1fr) 300px; }
    .sp-league-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 1080px) {
    .sp-ls-hero,
    .sp-content-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 992px) {
    .sp-ls-hero,
    .sp-content-grid {
        grid-template-columns: 1fr;
    }
    .sp-hero-media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 240px 144px 144px;
    }
    .sp-hero-main {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .sp-fixture-head { display: none; }
    .sp-fixture-list { max-height: none; padding: 10px; background: #f6f8fb; }
    .sp-fixture-row {
        grid-template-columns: 58px minmax(0, 1fr) 62px;
        gap: 8px;
        margin-bottom: 9px;
        padding: 10px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #fff;
    }
    .sp-fixture-row time,
    .sp-league,
    .sp-status { grid-row: 1; }
    .sp-league { text-align: center; }
    .sp-team.home {
        grid-column: 1;
        justify-content: center;
        text-align: center;
        flex-direction: column-reverse;
    }
    .sp-score { grid-column: 2; }
    .sp-team.away {
        grid-column: 3;
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
    .sp-live-action { grid-column: 1 / -1; text-align: center; }
    .sp-schedule-live-btn { width: 100%; }
    .sp-ls-side { grid-template-columns: repeat(2, 1fr); }
    .sp-video-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-league-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .site-container {
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);
    }
    .sp-home-shell { padding-top: 8px; }
    .sp-ls-hero,
    .sp-live-marquee {
        display: none;
    }
    .sp-content-grid {
        margin-top: 0;
    }
    .sp-score-strip { width: calc(100% - 16px); min-height: 38px; }
    .sp-score-strip a { min-height: 38px; padding: 0 12px; font-size: 12px; }
    .sp-hero-media { grid-template-rows: 212px 128px 128px; }
    .sp-hero-main strong { font-size: 17px; }
    .sp-hero-media strong { font-size: 12px; }
    .sp-live-marquee {
        grid-template-columns: 78px minmax(0, 1fr);
        width: calc(100% - 16px);
    }
    .sp-live-marquee > strong { font-size: 12px; }
    .sp-board-head { display: block; padding: 12px; }
    .sp-board-head nav {
        justify-content: flex-start;
        margin-top: 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .sp-board-head button { flex: 0 0 auto; }
    .sp-fixture-row { grid-template-columns: 54px minmax(0, 1fr) 58px; }
    .sp-team span {
        max-width: 86px;
        font-size: 12px;
        text-align: center;
    }
    .sp-team img,
    .sp-logo-fallback {
        width: 24px;
        height: 24px;
    }
    .sp-score { font-size: 15px; }
    .sp-ls-side { grid-template-columns: 1fr; }
    .sp-live-counts strong { font-size: 20px; }
    .sp-ls-section-head {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 8px 0;
    }
    .sp-ls-section-head nav {
        gap: 12px;
        overflow-x: auto;
        max-width: 100%;
    }
    .sp-league-grid { grid-template-columns: repeat(3, 1fr); }
    .sp-league-grid a { min-height: 80px; }
}

@media (max-width: 460px) {
    .sp-hero-media {
        grid-template-columns: 1fr;
        grid-template-rows: 198px repeat(4, 110px);
    }
    .sp-hero-main { grid-column: auto; }
    .sp-fixture-row {
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        padding: 9px 8px;
    }
    .sp-status { font-size: 11px; }
    .sp-league { font-size: 11px; }
    .sp-team span { max-width: 68px; }
    .sp-video-grid { grid-template-columns: 1fr; }
    .sp-league-grid { grid-template-columns: repeat(2, 1fr); }
}
