body {
    background: #f2f3f6;
    color: #222832;
}

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

.sp-home-shell {
    padding: 12px 0 32px;
}

.sp-score-strip {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 38px;
    margin-bottom: 10px;
    border: 1px solid #e7eaf0;
    background: #fff;
    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: 38px;
    padding: 0 15px;
    border-right: 1px solid #eef1f5;
    color: #303846;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
.sp-score-strip a:hover,
.sp-score-strip a:first-child {
    color: #fff;
    background: #e6002d;
}

.sp-ls-hero {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr) 318px;
    gap: 10px;
    align-items: stretch;
}

.sp-channel-rail,
.sp-hero-news,
.sp-live-marquee,
.sp-fixture-board,
.sp-side-card,
.sp-ls-section,
.sp-seo-copy {
    border: 1px solid #e1e5ec;
    background: #fff;
}

.sp-channel-rail {
    display: grid;
    align-content: start;
}
.sp-channel-rail a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid #eef1f5;
    color: #303846;
    font-size: 13px;
    font-weight: 850;
}
.sp-channel-rail a:hover,
.sp-channel-rail a:first-child {
    color: #e6002d;
    background: #fff3f5;
}
.sp-channel-rail i {
    color: #e6002d;
    font-size: 16px;
}

.sp-hero-media {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(120px, .72fr));
    grid-template-rows: repeat(2, 156px);
    gap: 2px;
    min-width: 0;
    background: #111827;
}
.sp-hero-media a {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #fff;
    background: #111827;
}
.sp-hero-main {
    grid-row: 1 / span 2;
}
.sp-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .88;
    transition: transform .24s ease, opacity .24s ease;
}
.sp-hero-media a:hover img {
    transform: scale(1.035);
    opacity: .72;
}
.sp-hero-media a::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 64%;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.86));
}
.sp-hero-media span,
.sp-hero-media strong {
    position: absolute;
    z-index: 2;
    left: 12px;
    right: 12px;
}
.sp-hero-media span {
    bottom: 48px;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 3px 7px;
    background: #e6002d;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
.sp-hero-media strong {
    bottom: 12px;
    display: -webkit-box;
    color: #fff;
    font-size: 13px;
    line-height: 1.38;
    font-weight: 900;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sp-hero-main strong {
    bottom: 16px;
    font-size: 20px;
}
.sp-hero-main span { bottom: 72px; }

.sp-hero-news {
    min-width: 0;
    padding: 12px 14px;
}
.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: #1f2937;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 950;
}
.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: #e6002d;
    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: #7b8492;
    font-size: 12px;
    font-weight: 800;
}
.sp-hero-news > a {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 30px;
    border-bottom: 1px dashed #e8ecf2;
    color: #424b59;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-hero-news > a span {
    color: #e6002d;
    font-size: 11px;
    font-weight: 900;
}

.sp-live-marquee {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    min-height: 42px;
    margin-top: 10px;
    overflow: hidden;
}
.sp-live-marquee > strong {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    color: #fff;
    background: #e6002d;
    font-size: 14px;
}
.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: #323b49;
    font-size: 13px;
    white-space: nowrap;
}
.sp-live-marquee em {
    padding: 2px 6px;
    border-radius: 2px;
    background: #f1f3f6;
    color: #7b8492;
    font-style: normal;
    font-size: 11px;
    font-weight: 900;
}
.sp-live-marquee em.live,
.sp-live-marquee em.next { background: #fff1f3; color: #e6002d; }
.sp-live-marquee span { color: #7b8492; }

.sp-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 10px;
    align-items: start;
    margin-top: 10px;
}
.sp-fixture-main,
.sp-ls-side { min-width: 0; }
.sp-ls-side { display: grid; gap: 10px; }

.sp-board-head {
    gap: 12px;
    min-height: 58px;
    padding: 0 14px;
    border-bottom: 1px solid #e8ecf2;
}
.sp-board-head p {
    margin: 5px 0 0;
    color: #7b8492;
    font-size: 12px;
}
.sp-board-head nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}
.sp-board-head button {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #e2e6ed;
    background: #fff;
    color: #465163;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}
.sp-board-head button.active,
.sp-board-head button:hover {
    border-color: #e6002d;
    background: #e6002d;
    color: #fff;
}

.sp-fixture-head,
.sp-fixture-row {
    display: grid;
    grid-template-columns: 62px 70px 68px minmax(0, 1fr) 74px minmax(0, 1fr) 92px;
    gap: 8px;
    align-items: center;
}
.sp-fixture-head {
    min-height: 34px;
    padding: 0 12px;
    background: #fafbfc;
    border-bottom: 1px solid #edf0f5;
    color: #8a94a3;
    font-size: 12px;
    font-weight: 850;
}
.sp-fixture-list {
    max-height: 1360px;
    overflow-y: auto;
}
.sp-fixture-row {
    min-height: 42px;
    padding: 7px 12px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}
.sp-fixture-row:hover { background: #fff7f8; }
.sp-fixture-row time {
    display: flex;
    flex-direction: column;
    color: #e6002d;
    line-height: 1.12;
}
.sp-fixture-row time b { font-size: 13px; }
.sp-fixture-row time span { color: #9aa3af; font-size: 11px; }
.sp-league {
    color: #303846;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-status {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 22px;
    padding: 0 6px;
    border-radius: 2px;
    background: #eef1f5;
    color: #6b7280;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.sp-status.live { color: #fff; background: #e6002d; }
.sp-status.next { color: #e6002d; background: #fff1f3; }
.sp-status.done { color: #6b7280; background: #eef1f5; }
.sp-status.delay { color: #8a5b00; background: #fff7df; }
.sp-team {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #222832;
    font-size: 13px;
    font-weight: 780;
}
.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: #f1f3f6;
    color: #e6002d;
    font-size: 12px;
    font-weight: 900;
}
.sp-score {
    color: #1f2937;
    text-align: center;
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
}
.sp-score.live { color: #e6002d; }
.sp-live-action { text-align: right; }
.sp-schedule-live-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 74px;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid #e6002d;
    border-radius: 999px;
    color: #e6002d;
    background: #fff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.sp-schedule-live-btn:hover { color: #fff; background: #e6002d; }

.sp-side-card { padding: 12px 14px 14px; }
.sp-side-card header { margin-bottom: 10px; }
.sp-live-counts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}
.sp-live-counts div {
    min-height: 58px;
    padding: 8px 4px;
    background: #f7f8fa;
    text-align: center;
}
.sp-live-counts strong {
    display: block;
    color: #e6002d;
    font-size: 23px;
    line-height: 1;
    font-weight: 950;
}
.sp-live-counts span {
    display: block;
    margin-top: 7px;
    color: #7b8492;
    font-size: 12px;
}
.sp-core-list,
.sp-topic-cloud,
.sp-resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.sp-core-list a,
.sp-topic-cloud a,
.sp-resource-links a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: 100%;
    padding: 0 9px;
    border: 1px solid #e3e7ee;
    background: #fafbfc;
    color: #4d5867;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-core-list a:hover,
.sp-topic-cloud a:hover,
.sp-resource-links a:hover {
    color: #e6002d;
    border-color: #e6002d;
    background: #fff1f3;
}
.sp-rank-list a {
    display: grid;
    grid-template-columns: 22px 24px minmax(0, 1fr) 40px;
    gap: 7px;
    align-items: center;
    min-height: 34px;
    border-bottom: 1px dashed #e8ecf2;
}
.sp-rank-list b {
    color: #9aa3af;
    font-size: 12px;
    text-align: center;
}
.sp-rank-list a:nth-child(-n+3) b { color: #e6002d; font-weight: 950; }
.sp-rank-list span,
.sp-rank-list em {
    min-width: 0;
    color: #303846;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-rank-list em { color: #e6002d; font-style: normal; text-align: right; }

.sp-ls-section,
.sp-seo-copy {
    margin-top: 10px;
    padding: 0 14px 14px;
}
.sp-ls-section-head {
    min-height: 48px;
    border-bottom: 1px solid #e8ecf2;
}
.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 #e3e7ee;
    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: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #e6002d;
    font-size: 20px;
}
.sp-video-card strong {
    display: block;
    padding: 9px;
    color: #263140;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.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: 86px;
    border: 1px solid #e3e7ee;
    background: #fff;
}
.sp-league-grid a:hover { border-color: #e6002d; background: #fff7f8; }
.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: #263140; font-size: 13px; font-weight: 900; }
.sp-league-grid em { margin-top: 3px; color: #8a94a3; font-size: 11px; font-style: normal; }
.sp-topic-section .sp-topic-cloud { padding-top: 14px; }
.sp-seo-copy {
    color: #5f6b7a;
    font-size: 13px;
    line-height: 1.9;
}
.sp-seo-copy p { margin: 0 0 8px; }
.sp-empty { padding: 26px; color: #7b8492; text-align: center; }

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

@media (max-width: 992px) {
    .sp-ls-hero,
    .sp-content-grid { grid-template-columns: 1fr; }
    .sp-channel-rail { display: flex; overflow-x: auto; scrollbar-width: none; }
    .sp-channel-rail::-webkit-scrollbar { display: none; }
    .sp-channel-rail a { flex: 0 0 auto; min-height: 42px; border-right: 1px solid #eef1f5; }
    .sp-hero-media { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 230px 138px 138px; }
    .sp-hero-main { grid-column: 1 / -1; grid-row: auto; }
    .sp-ls-side { grid-template-columns: repeat(2, 1fr); }
    .sp-fixture-head { display: none; }
    .sp-fixture-list { max-height: none; padding: 10px; background: #f5f6f8; }
    .sp-fixture-row {
        grid-template-columns: 58px minmax(0, 1fr) 62px;
        gap: 7px;
        margin-bottom: 9px;
        padding: 10px;
        border: 1px solid #e3e7ee;
        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-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% - 18px); max-width: calc(100% - 18px); }
    .sp-home-shell { padding-top: 8px; }
    .sp-score-strip { width: calc(100% - 18px); min-height: 36px; }
    .sp-score-strip a { min-height: 36px; padding: 0 12px; font-size: 12px; }
    .sp-hero-media { grid-template-rows: 206px 126px 126px; }
    .sp-hero-main strong { font-size: 17px; }
    .sp-hero-media strong { font-size: 12px; }
    .sp-hero-news > a:nth-of-type(n+6) { display: none; }
    .sp-live-marquee { grid-template-columns: 74px minmax(0, 1fr); width: calc(100% - 18px); }
    .sp-live-marquee > strong { font-size: 13px; }
    .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: 88px; 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: 21px; }
    .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-video-grid { gap: 9px; }
    .sp-video-card strong { font-size: 12px; }
    .sp-league-grid { grid-template-columns: repeat(3, 1fr); }
    .sp-league-grid a { min-height: 78px; }
}

@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: 70px; }
    .sp-video-grid { grid-template-columns: 1fr; }
    .sp-league-grid { grid-template-columns: repeat(2, 1fr); }
}