.desktop-home-below { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 28px; }
.desktop-home-featured { min-width: 0; }
.desktop-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-live-sidebar { display: grid; gap: 20px; min-width: 0; }
.home-live-box { overflow: hidden; min-width: 0; border: 1px solid #ffffff20; border-radius: 16px; color: var(--explore-text); background: var(--brand-surface); }
.home-slot-box { border-color: color-mix(in srgb, var(--brand-edge) 44%, transparent); }
.home-live-box > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px; background: #ffffff03; }
.home-slot-box > header { background: var(--brand-surface); }
.home-live-box h3 { display: flex; align-items: center; gap: 5px; margin: 0; font-size: .9rem; line-height: 1.4; }
.home-live-box header small { color: var(--explore-muted); font-size: .65rem; white-space: nowrap; }
.home-live-box header i { width: 7px; height: 7px; border-radius: 50%; background: #ff4e78; }
.home-live-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; text-decoration: none; color: #fff; background: radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--brand-edge) 36%, transparent), transparent 65%), linear-gradient(135deg, var(--brand-surface), var(--brand-raised)); }
.home-live-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-live-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0002, transparent 45%, #0004); }
.home-live-initial { font-size: 3rem; font-weight: 700; color: color-mix(in srgb, var(--brand-gold) 33%, transparent); }
.home-live-badge, .home-live-viewers { position: absolute; top: 10px; z-index: 1; padding: 5px 8px; border-radius: 7px; font-size: .65rem; font-weight: 700; }
.home-live-badge { left: 10px; background: #ff3d68; color: #fff; }
.home-live-viewers { right: 10px; background: color-mix(in srgb, var(--brand-ink) 81%, transparent); color: #fff; }
.home-live-play { position: absolute; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding-left: 3px; border: 1px solid #ffffffb0; border-radius: 50%; background: #0004; font-size: 1.2rem; }
.home-live-primary { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 14px; }
.home-live-avatar { display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--explore-gold); border-radius: 50%; background: var(--brand-edge); color: #fff; font-size: .85rem; font-weight: 700; }
.home-live-primary strong, .home-live-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.home-live-primary small, .home-live-row small { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--explore-muted); font-size: .64rem; }
#homeLiveSidebar .home-live-watch { border-radius: 9px; padding: 9px 12px; color: var(--brand-ink); background: linear-gradient(#f7d987, var(--explore-gold)); text-decoration: none; font-size: .72rem; font-weight: 700; }
.home-live-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 12px 14px; border-top: 1px solid #ffffff14; text-decoration: none; color: var(--explore-text); }
.home-live-row > span:nth-child(2) { min-width: 0; }
.home-live-row b { color: #ff5279; font-size: .7rem; white-space: nowrap; }
.home-live-row:nth-child(2) .home-live-avatar { background: #195950; }
.home-live-row:nth-child(3) .home-live-avatar { background: #754916; }
.home-live-row:hover, .home-live-watch:hover, .home-live-all:hover { filter: brightness(1.12); background-color: #ffffff08; }
#homeLiveSidebar .home-live-all { display: block; padding: 11px 14px; border-top: 1px solid #ffffff14; color: var(--explore-gold); font-size: .66rem; text-align: center; text-decoration: none; }
.home-live-empty { margin: 0; padding: 28px 18px; color: var(--explore-muted); font-size: .74rem; line-height: 1.7; text-align: center; }
.home-live-notice { padding: 18px 14px; color: var(--explore-muted); font-size: .7rem; line-height: 1.7; text-align: center; }
.home-live-notice button { margin-top: 8px; padding: 6px 10px; border: 1px solid #ffffff25; border-radius: 7px; color: var(--explore-gold); background: transparent; font: inherit; cursor: pointer; }
.home-win-demo { padding: 4px 6px; border: 1px solid color-mix(in srgb, var(--brand-gold) 25%, transparent); border-radius: 5px; color: var(--explore-gold) !important; font-size: .55rem !important; }
.home-win-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 14px 12px; border-top: 1px solid #ffffff14; }
.home-win-icon { display: grid; place-items: center; width: 26px; height: 30px; border-radius: 7px; background: color-mix(in srgb, var(--brand-gold) 7%, transparent); }
.home-win-row p { margin: 0; overflow-wrap: anywhere; font-size: .7rem; line-height: 1.6; }
.home-win-row small { display: block; margin-top: 5px; color: var(--explore-muted); font-size: .59rem; line-height: 1.6; }
.home-win-row > b { font-size: .77rem; color: #2ed278; white-space: nowrap; }
.home-live-sidebar :is(a, button):focus-visible { outline: 2px solid var(--explore-gold); outline-offset: -3px; }
@media (min-width: 1600px) { .desktop-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
    .desktop-home-below { grid-template-columns: minmax(0, 1fr); }
    .home-live-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

/* Featured sports above a separate row of portrait Slot Live cards. */
.desktop-home-featured .desktop-featured-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.home-featured-sports, .home-featured-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; align-items: start; min-width: 0; }
.home-featured-sports { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-featured-sports > :not(.home-sports-card), .home-featured-slots > :not(.home-slot-card) { grid-column: 1 / -1; }
.home-sports-card, .home-slot-card { display: block; min-width: 0; color: var(--explore-text); text-decoration: none; }
.home-sports-media, .home-slot-media { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 14px; isolation: isolate; background: var(--brand-raised); }
.home-sports-media { aspect-ratio: 16 / 9; }
.home-slot-media { aspect-ratio: 9 / 16; background: radial-gradient(at 15% 20%, #63367b, transparent 75%), #241828; }
.home-sports-media > img, .home-slot-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.home-sports-media::after, .home-slot-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#0003, transparent 35%, #0009); }
.home-sports-placeholder { font-size: 3rem; }
.home-sports-placeholder img { width: 64px; height: 64px; object-fit: contain; }
.home-sports-league, .home-slot-category { position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .68rem; color: #fff; }
.home-sports-scoreboard { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 16px 2px 8px; }
.home-sports-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.home-sports-team strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .7rem; line-height: 1.5; overflow-wrap: anywhere; }
.home-sports-away { flex-direction: row-reverse; text-align: right; }
.home-sports-team .mobile-match-crest { flex: 0 0 28px; width: 28px; height: 28px; }
.home-sports-score { color: var(--explore-gold); font-size: 1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.home-sports-score > span { color: var(--brand-muted); margin: 0 3px; }
.home-slot-caption { display: flex; gap: 8px; align-items: center; padding-top: 12px; }
.home-slot-caption > span:last-child { min-width: 0; }
.home-slot-caption strong, .home-slot-caption small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .68rem; line-height: 1.6; }
.home-slot-caption small { margin-top: 2px; color: var(--explore-muted); font-size: .6rem; }
.home-slot-caption .home-live-avatar { flex: 0 0 30px; width: 30px; height: 30px; font-size: .7rem; }
.home-slot-media .home-live-viewers { top: auto; bottom: 35px; right: 8px; }
.home-slot-media .home-live-badge { left: 8px; top: 8px; }
.home-sports-card .home-live-play, .home-slot-card .home-live-play { opacity: 0; transition: opacity .2s ease; }
.home-sports-card:is(:hover, :focus-visible) .home-live-play, .home-slot-card:is(:hover, :focus-visible) .home-live-play { opacity: 1; }
.home-sports-card:is(:hover, :focus-visible) .home-sports-media > img, .home-slot-card:is(:hover, :focus-visible) .home-slot-media > img { transform: scale(1.025); }
.desktop-home-featured a:focus-visible { outline: 2px solid var(--explore-gold); outline-offset: 4px; border-radius: 14px; }
.home-live-sidebar { grid-template-columns: minmax(0, 1fr); }
.home-featured-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-featured-slot-section { min-width: 0; }
.home-featured-slot-section h3 { margin: 0 0 18px; font-size: 1rem; color: var(--explore-text); }
@media (max-width: 1100px) {
    .desktop-home-featured .desktop-featured-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .home-featured-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-live-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .home-featured-sports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .home-sports-media > img, .home-slot-media > img, .home-sports-card .home-live-play, .home-slot-card .home-live-play { transition: none; }
}

.desktop-home-below:has(> #homeLiveSidebar[hidden]) { grid-template-columns:minmax(0,1fr); }
.home-live-sidebar[hidden],.home-featured-slot-section[hidden] { display:none; }
