/* WORLD TV — cinematic home. Scoped to the home and its global feature. */
body.home-iptv-mode{background:#070a11!important;color:#f6f8fc}
body.home-iptv-mode #homePanel,body.home-iptv-mode #frontGlobalBanner{width:min(1500px,calc(100% - 64px))!important;max-width:1500px!important;margin-inline:auto!important}
body.home-iptv-mode .world-header{background:#080b13!important;border-bottom:1px solid #ffffff10!important}
#frontGlobalBanner .front-highlight{border:0!important;border-radius:22px!important;background:#0d1421!important;box-shadow:0 20px 65px #0005;position:relative}
#frontGlobalBanner #frontFeatured{min-height:clamp(350px,38vw,550px)!important;padding:clamp(24px,5vw,74px)!important;display:flex!important;align-items:center;justify-content:flex-start;text-align:left!important;overflow:hidden;isolation:isolate}
#frontGlobalBanner #frontFeatured::before{background:linear-gradient(90deg,#070a12 0%,#080d17e8 27%,#080d175c 70%,#070a1250),url('../assets/home-v15/venues/soccer.webp') center/cover!important;opacity:1!important}
#frontGlobalBanner #frontFeatured[data-look="motor"]::before{background:linear-gradient(90deg,#080a12,#080a1240),url('../assets/home-v15/venues/motorsport.webp') center/cover!important}
#frontGlobalBanner #frontFeatured::after{background:linear-gradient(0deg,#080b14c9,transparent 32%)!important;z-index:-1!important}
#frontGlobalBanner #frontEditorialArt:not([hidden]){display:block!important;position:absolute!important;inset:0 0 0 auto!important;width:72%!important;height:100%!important;object-fit:cover!important;object-position:center 32%;z-index:-1!important;mask-image:linear-gradient(90deg,transparent,#000 42%);opacity:.75!important}
#frontGlobalBanner .front-hero-content{position:relative!important;z-index:1!important;justify-items:start!important;align-content:center!important;width:min(760px,100%)!important;gap:17px!important;margin:0!important}
#frontGlobalBanner .cinema-edition{font:800 11px/1.2 system-ui;letter-spacing:.25em;color:#d2d9e7;display:flex;gap:10px;align-items:center}
.cinema-edition i{width:4px;height:4px;border-radius:50%;background:#5aa6ff}
#frontGlobalBanner #frontFeaturedTitle{font-size:clamp(32px,4.8vw,70px)!important;line-height:1.02!important;letter-spacing:-.055em!important;max-width:19ch!important;margin:0!important;text-shadow:0 4px 35px #0009;text-align:left!important}
#frontGlobalBanner .front-match-kicker{justify-content:flex-start!important;color:#d6e0f0!important;font-size:13px!important}
#frontGlobalBanner .front-label{background:#152d50!important;border:0!important;border-radius:5px!important;color:#b8d9ff!important;letter-spacing:.1em;padding:7px 10px!important;font-size:11px!important}
#frontGlobalBanner .front-label.is-live{background:#e52b4d!important;color:white!important}
#frontGlobalBanner #frontFeaturedOpen{background:#f3f6ff!important;color:#0b1424!important;border:0!important;border-radius:9px!important;font-weight:800!important;padding:13px 22px!important;font-size:15px!important;box-shadow:0 8px 25px #0004}
#frontGlobalBanner .front-faceoff:not([hidden]){max-width:620px;gap:20px!important}
#frontGlobalBanner .front-team{font-size:clamp(14px,1.9vw,25px)!important}
#frontGlobalBanner .front-team img{width:clamp(48px,6vw,90px)!important;height:clamp(48px,6vw,90px)!important}
#frontGlobalBanner #frontRotation:not([hidden]){background:#0b101a!important;border:0!important;justify-content:flex-end!important;padding:9px 18px!important}
#homePanel #wtvHomeHub{--home-mint:#80baff;--home-edge:#232d40;--home-panel:#0c111c;--home-muted:#a3aec3}
#homePanel .front-approved-lower{gap:26px!important}
#homePanel #homeTomorrow{display:block!important;background:transparent!important;border:0!important;border-radius:0!important;padding:18px 0!important;margin:12px 0 18px!important}
#homePanel #homeTomorrow .tomorrow-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;margin-bottom:17px!important;gap:12px!important}
#homePanel #homeTomorrow .tomorrow-head h2,#homePanel .cinema-shortcut-title,#homePanel :is(#frontDiscoverTitle,#frontHighlightsTitle,#frontMusicTitle){font-size:clamp(23px,2.5vw,34px)!important;letter-spacing:-.045em!important;color:#f6f8ff!important;font-weight:800!important;margin:0!important}
#homePanel #homeTomorrow .tomorrow-head p{font-size:13px!important;color:#9daac1!important;margin-top:7px!important}
#homePanel #homeTomorrow #homeTomorrowOpen{background:#18243a!important;border:1px solid #324767!important;border-radius:8px!important;padding:10px 14px!important;font-size:13px!important;color:#b8d7ff!important}
#homePanel #homeTomorrow .tomorrow-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
#homePanel #homeTomorrow .tomorrow-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;min-height:170px!important;padding:17px!important;border-radius:14px!important;border:1px solid #25334c!important;background:radial-gradient(ellipse at 100% 0%,#243d6150,transparent 66%),#101725!important;box-shadow:none!important}
#homePanel #homeTomorrow .tomorrow-art{height:43px!important;gap:12px!important}
#homePanel #homeTomorrow .tomorrow-art img{width:45px!important;height:43px!important}
#homePanel #homeTomorrow .tomorrow-info{width:100%;gap:6px!important}
#homePanel #homeTomorrow .tomorrow-info strong{font-size:clamp(15px,1.4vw,19px)!important;line-height:1.25!important}
#homePanel #homeTomorrow .tomorrow-info time{color:#a5caff!important;font-size:13px!important}
#homePanel #homeTomorrow .tomorrow-action{margin-top:auto!important;color:#91bfff!important;font-size:11px!important;display:block!important}
#homePanel #homeTomorrow .tomorrow-controls:not([hidden]){display:flex!important;justify-content:flex-end;margin-top:12px;gap:7px!important}
#homePanel #homeTomorrow .tomorrow-controls button{background:#151e30!important;border-color:#30405a!important;color:#dbe8ff!important}
#homePanel :is(#frontDiscover,#frontMusic,#frontHighlights,#frontHomeAgenda){background:transparent!important;border:0!important;padding:14px 0!important;margin:12px 0!important}
#homePanel :is(#frontDiscoverTitle,#frontHighlightsTitle,#frontMusicTitle)::before{display:none!important}
#homePanel #frontDiscover .home-news-grid>.wh-section{background:#0d1421!important;border:0!important;padding:0!important;border-radius:14px!important;overflow:hidden}
#homePanel #frontDiscover .wh-section-head{padding:12px 14px!important}
#homePanel #frontDiscover .wh-card{border:0!important;border-radius:0 0 14px 14px!important}
#homePanel .front-compact-premium{background:#101725!important;border-color:#25334a!important;border-radius:14px!important;padding:14px!important}
#homePanel #frontHomeAgenda .front-agenda-card{background:#101725!important;border-color:#25334a!important;border-radius:12px!important;padding:14px!important}
#homePanel .world-shortcuts{gap:14px!important;margin:15px 0 32px!important}
#homePanel .world-shortcuts .home-section-card{min-height:clamp(160px,15vw,240px)!important;border:0!important;border-radius:15px!important;padding:22px!important;background:linear-gradient(0deg,#070b16f2 0%,#070b1680 33%,#070b1605 85%),var(--art) center/cover!important;box-shadow:0 8px 24px #0003;transition:transform .2s,box-shadow .2s!important}
#homePanel .world-shortcuts .home-section-card strong{font-size:clamp(20px,2.4vw,32px)!important;letter-spacing:-.04em!important}
#homePanel .world-shortcuts .home-section-card small{color:#c6d3e8!important;font-size:13px!important}
#homePanel .world-shortcuts .home-section-card--business{background:linear-gradient(0deg,#080705f5,#24190644),var(--art) center/cover!important;box-shadow:inset 0 0 0 1px #c9a75a66!important}
#homePanel .world-shortcuts .home-section-card--business strong{color:#f5d38a!important}
#homePanel .world-shortcuts .home-section-card--business small{color:#e4c98f!important}
#homePanel .world-shortcuts .home-section-card:hover{transform:translateY(-4px)!important;box-shadow:0 10px 30px #0008!important}
#homePanel :is(.tomorrow-card,.home-section-card):focus-visible,#frontGlobalBanner button:focus-visible{outline:2px solid #87baff!important;outline-offset:3px}
@media(max-width:760px){body.home-iptv-mode #homePanel,body.home-iptv-mode #frontGlobalBanner{width:calc(100% - 24px)!important}#frontGlobalBanner #frontFeatured{min-height:340px!important;padding:24px!important}#frontGlobalBanner #frontEditorialArt:not([hidden]){width:100%!important;opacity:.45!important}#homePanel #homeTomorrow .tomorrow-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#homePanel #homeTomorrow .tomorrow-card{min-height:160px!important;padding:12px!important}#homePanel .world-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}#homePanel .world-shortcuts .home-section-card{padding:15px!important;min-height:145px!important}}
@media(max-width:380px){#homePanel #homeTomorrow .tomorrow-grid{grid-template-columns:1fr!important}#frontGlobalBanner #frontFeaturedTitle{font-size:31px!important}}
@media(prefers-reduced-motion:reduce){#homePanel .world-shortcuts .home-section-card{transition:none!important}}
/* Repair: rotation overlay must not paint over the entire hero. */
#frontGlobalBanner #frontRotation:not([hidden]){background:transparent!important;inset:0!important;pointer-events:none!important;padding:0!important}
#frontGlobalBanner #frontRotation button{pointer-events:auto!important}
#frontGlobalBanner #frontFeatured{background:#0c1421 url('../assets/home-v15/venues/soccer.webp') center/cover no-repeat!important;min-height:clamp(260px,29vw,420px)!important}
#frontGlobalBanner #frontFeatured::before{z-index:-2!important;background:linear-gradient(90deg,#070a12f5,#080d1780 65%,#080d1710)!important}
#frontGlobalBanner #frontEditorialArt:not([hidden]){z-index:-1!important;opacity:1!important}
#frontGlobalBanner .front-hero-content{display:grid!important;z-index:2!important;max-width:65%!important}
#frontGlobalBanner #frontFeatured[data-look="motorsport"]{background-image:url('../assets/home-v15/venues/motorsport.webp')!important}
body.home-iptv-mode main{max-width:none!important;width:100%!important;padding-inline:clamp(12px,3vw,54px)!important;box-sizing:border-box!important}
body.home-iptv-mode #homePanel,body.home-iptv-mode #frontGlobalBanner{max-width:1800px!important;width:100%!important}
#homePanel .front-approved-lower{display:flex!important;flex-direction:column!important}
#homePanel #frontHomeAgenda{margin:0!important;padding:0 0 12px!important}
#homePanel #frontHomeAgenda .front-agenda-row:not([hidden]){display:block!important;position:relative!important}
#homePanel .live-first-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
#homePanel #frontHomeAgenda .live-first-head h2{font-size:clamp(24px,2.7vw,38px)!important;letter-spacing:-.04em}
#homePanel .live-first-head button{background:#e32945;color:white;border:0;border-radius:8px;padding:11px 18px;font-weight:800;cursor:pointer}
#homePanel #frontOnAirCards .front-agenda-card{flex:0 0 clamp(230px,25vw,390px);min-height:100px!important;background:linear-gradient(135deg,#18263a,#101724)!important}
#homePanel #frontOnAirCards .front-agenda-card strong{font-size:16px!important;white-space:normal!important}
#homePanel .world-shortcuts .home-section-card{background:#142033!important;isolation:isolate!important;position:relative!important}
#homePanel .world-shortcuts .shortcut-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
#homePanel .world-shortcuts .home-section-card::before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#050913f5,transparent 85%);z-index:-1}
#homePanel .world-shortcuts .home-section-card--calendar{order:-1}
@media(max-width:760px){#frontGlobalBanner .front-hero-content{max-width:100%!important}#homePanel .live-first-head button{padding:8px;font-size:11px}}

/* R3: constrain intrinsic grid widths and keep the LIVE rail inside the viewport. */
body.home-iptv-mode main{width:100%!important;max-width:100%!important;min-width:0!important;padding-inline:clamp(12px,3vw,54px)!important;box-sizing:border-box!important}
body.home-iptv-mode main>#homePanel,body.home-iptv-mode main>#frontGlobalBanner{width:100%!important;max-width:1800px!important;min-width:0!important;box-sizing:border-box!important;margin-inline:auto!important;justify-self:center!important}
body.home-iptv-mode #homePanel #wtvHomeHub,body.home-iptv-mode #homePanel .front-dash{width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr);box-sizing:border-box}
#homePanel #wtvHomeHub>* ,#homePanel .front-approved-lower>* ,#homePanel #frontHomeAgenda .front-agenda-row{min-width:0!important;max-width:100%!important;box-sizing:border-box}
#homePanel #frontHomeAgenda #frontOnAirCards{display:flex!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden;gap:10px;scroll-snap-type:x mandatory;box-sizing:border-box}
#homePanel #frontHomeAgenda #frontOnAirCards .front-agenda-card{flex:0 0 calc((100% - 30px)/4)!important;max-width:calc((100% - 30px)/4)!important;min-width:0!important;scroll-snap-align:start;overflow:hidden}
#homePanel #frontHomeAgenda .front-agenda-matchup{min-width:0;max-width:100%;overflow:hidden}
#homePanel #frontHomeAgenda .front-agenda-matchup strong{min-width:0;overflow-wrap:anywhere}
#frontGlobalBanner #frontFeatured[data-paired="true"] .front-hero-content{width:100%!important;max-width:100%!important;justify-items:center!important;text-align:center;gap:14px!important}
#frontGlobalBanner #frontFeatured[data-paired="true"] .front-faceoff:not([hidden]){position:static!important;transform:none!important;width:min(100%,850px)!important;max-width:850px!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:clamp(10px,3vw,40px)!important}
#frontGlobalBanner #frontFeaturedTitle[hidden]{display:none!important}
#frontGlobalBanner #frontFeatured[data-paired="true"] .front-team span{display:block!important;overflow-wrap:anywhere}
#frontGlobalBanner #frontFeatured[data-paired="true"] .front-team{font-size:clamp(15px,2vw,28px)!important;min-width:0}
#frontGlobalBanner #frontFeatured[data-paired="true"] .front-score{font-size:clamp(24px,4vw,60px)!important}
#frontGlobalBanner #frontFeatured{padding-bottom:50px!important}
@media(max-width:900px){#homePanel #frontHomeAgenda #frontOnAirCards .front-agenda-card{flex-basis:calc((100% - 10px)/2)!important;max-width:calc((100% - 10px)/2)!important}}
@media(max-width:480px){#homePanel #frontHomeAgenda #frontOnAirCards .front-agenda-card{flex-basis:100%!important;max-width:100%!important}#homePanel .live-first-head{flex-wrap:wrap}#frontGlobalBanner #frontFeatured[data-paired="true"] .front-team{font-size:14px!important}}

/* R6 cleanup requested by user */
#homePanel .home-private-link{display:none!important}
#homePanel :is(.edition-shelf,.home-relaunch,.home-hero,.home-discovery,.home-upcoming,.home-live-now,.home-season-preview,.trial-discover){display:none!important}

#homePanel #frontHighlights .home-news-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
#homePanel #frontHighlights .wh-section{background:#0d1421!important;border:1px solid #243244!important;border-radius:16px!important;padding:12px!important;overflow:hidden}
#homePanel #frontHighlights .wh-section-head{padding:0 2px 10px!important;margin:0!important;align-items:center!important}
#homePanel #frontHighlights .wh-section-head h3{font-size:20px!important;color:#f4f8ff!important}
#homePanel #frontHighlights .wh-grid{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(240px,1fr)!important;overflow-x:auto!important;gap:12px!important;padding-bottom:4px!important}
#homePanel #frontHighlights .wh-card{min-height:190px!important;border-radius:14px!important;border:1px solid #1f2c3a!important;background:#111b29!important;overflow:hidden!important;box-shadow:none!important}
#homePanel #frontHighlights .wh-card>img{width:100%!important;height:120px!important;object-fit:cover!important}
#homePanel #frontHighlights .wh-card-info{padding:12px!important}
#homePanel #frontHighlights .wh-card-info strong{font-size:17px!important;line-height:1.15!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
#homePanel #frontHighlights .wh-card-info small{font-size:12px!important;color:#9fb0bf!important}
#homePanel #frontHighlights .wh-card em{color:#73e1d0!important}
#homePanel #frontHighlights .wh-card-tag{top:10px!important;left:10px!important}

#homePanel .wtv-discover-new .r5-business{background:#090e13!important;border:1px solid #222d38!important}
#homePanel .wtv-discover-new .r5-business .r5-bar h3,
#homePanel .wtv-discover-new .r5-business button{color:#e8c56e!important}
#homePanel .wtv-discover-new .r5-market{background:#0f151c!important;border:1px solid #1f2933!important}
#homePanel .wtv-discover-new .r5-market>span,
#homePanel .wtv-discover-new .r5-quote,
#homePanel .wtv-discover-new #wtvInfoBusiness{color:#d2d9e0!important}
#homePanel .wtv-discover-new .r5-networks{border-top-color:#1f2933!important}

@media (max-width: 980px){
  #homePanel #frontHighlights .home-news-grid{grid-template-columns:1fr!important}
}
/* R7 — compact editorial home */
#homePanel .front-compact-premium{padding:14px!important;gap:14px!important;min-width:0!important;background:#111925!important;border:1px solid #263648!important}
#homePanel .front-compact-premium .front-premium-list{gap:12px!important;min-width:0!important;overflow-x:auto!important;flex:1 1 0!important}
#homePanel .front-compact-premium .front-premium-list button{flex:0 0 102px!important;height:60px!important;padding:6px!important;background:transparent!important;border:0!important;font-size:12px!important;font-weight:700!important}
#homePanel .front-compact-premium .front-premium-list img{width:94px!important;height:44px!important;object-fit:contain!important;background:#f4f6f8!important;padding:5px!important;border-radius:5px!important}
#homePanel .wtv-discover-new .r5-business{background:#05070a!important;border-color:#29313b!important;padding:22px!important}
#homePanel .wtv-discover-new .r5-market{background:#080b10!important;padding:8px!important}
#homePanel .r5-market>span{font-size:14px!important;font-weight:650!important;color:#e5eaf2!important}
#homePanel .r5-quote{min-height:190px!important;background:#080b10!important;overflow:hidden!important}
#homePanel .r5-quote iframe{width:100%!important;max-width:100%!important;color-scheme:dark!important}
#homePanel #frontHighlights .home-news-grid{grid-template-columns:1fr!important;gap:16px!important}
#homePanel #frontHighlights .wh-section{background:transparent!important;border:0!important;padding:0!important;min-width:0!important}
#homePanel #frontHighlights .wh-grid{grid-template-columns:none!important;grid-template-rows:1fr!important;grid-auto-columns:calc((100% - 36px)/4)!important;grid-auto-flow:column!important;overflow-x:auto!important;min-width:0!important}
#homePanel #frontHighlights .wh-card{position:relative!important;aspect-ratio:2.05!important;min-height:0!important;isolation:isolate!important;background:#111925!important;display:flex!important;justify-content:flex-end!important}
#homePanel #frontHighlights .wh-card>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:-2!important}
#homePanel #frontHighlights .wh-card::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#05080fee 0%,#05080f88 46%,transparent 85%);z-index:-1;pointer-events:none}
#homePanel #frontHighlights .wh-card-info{position:relative!important;inset:auto!important;padding:10px!important;background:transparent!important}
#homePanel #frontHighlights .wh-card-info strong{font-size:clamp(13px,1.2vw,18px)!important}
@media(max-width:800px){#homePanel .front-compact-premium .front-premium-list{flex:1 1 100%!important}#homePanel #frontHighlights .wh-grid{grid-auto-columns:calc((100% - 12px)/2)!important}}

/* R8: Xfinity-inspired, three brand clusters in a single continuous band. */
#homePanel .front-compact-premium{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important;padding:14px!important;background:#f5f6f8!important;border:1px solid #d5dbe3!important;border-radius:12px!important;color:#101820!important}
#homePanel .front-compact-premium h2{color:#101820!important;font-size:18px!important;flex:0 0 auto!important}
#homePanel .front-compact-premium .front-premium-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;flex:1 1 600px!important;overflow:visible!important;order:0!important}
#homePanel .r8-brand-group{display:flex;align-items:center;gap:9px;padding:8px 12px;border-left:1px solid #cbd2dc;min-width:0}
#homePanel .r8-brand-heading{font-size:15px;line-height:1.1;color:#111827;max-width:85px;flex:0 0 75px;font-weight:850}
#homePanel .r8-brand-logos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;flex:1;min-width:0;align-items:center}
#homePanel .front-compact-premium .r8-brand-logos img{display:block!important;width:100%!important;height:27px!important;padding:2px!important;background:transparent!important;border-radius:0!important;object-fit:contain!important}
#homePanel #frontPremiumOpen{background:#111a27!important;color:white!important;flex:0 0 auto!important}
#homePanel .r5-iptv{background:#101d29!important;border:1px solid #263e4d!important}
@media(max-width:850px){#homePanel .front-compact-premium .front-premium-list{grid-template-columns:repeat(3,minmax(200px,1fr))!important;overflow-x:auto!important;flex:1 1 100%!important;order:3!important}#homePanel .r8-brand-group{padding:6px 9px}#homePanel .r8-brand-heading{font-size:12px;flex-basis:60px}}
