/* Responsive display ads are independent of the original promotion sliders. */
#page .mx-global-ad-slot { display:block!important; width:100%!important; max-width:100%!important; min-width:0!important; min-height:0!important; height:auto!important; margin:12px auto!important; padding:0!important; background:none!important; grid-column:1/-1; overflow:visible!important; }
#page .mx-global-ad-slot:empty,#page .mx-global-ad-slot[hidden] { display:none!important; margin:0!important; }
#page .mx-global-ad { box-sizing:border-box; display:block; max-width:970px; width:100%; margin:0 auto; border:1px solid rgba(140,164,186,.22); border-radius:12px; padding:10px; background:#101b29; color:#f4f7fb; text-decoration:none; overflow:hidden; }
#page .mx-global-ad-label { display:block; font-size:10px; color:#b3bdca; margin-bottom:8px; line-height:1.3; }
#page .mx-global-ad-content { display:flex; align-items:center; gap:12px; min-width:0; }
#page .mx-global-ad-image { width:clamp(70px,24%,110px); aspect-ratio:1; object-fit:contain; border-radius:8px; flex:none; background:transparent; display:block; }
#page .mx-global-ad-copy { display:flex; flex:1; flex-direction:column; min-width:0; gap:4px; }
#page .mx-global-ad-copy strong { font-size:14px; line-height:1.35; overflow-wrap:anywhere; color:#fff; }
#page .mx-global-ad-copy small { font-size:12px; line-height:1.4; color:#b5c0cf; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
#page .mx-global-ad-cta { display:inline-flex; align-self:flex-start; border-radius:6px; padding:7px 11px; font-size:12px; line-height:1.3; font-weight:700; background:#ec145d; color:white; text-decoration:none; max-width:100%; overflow-wrap:anywhere; }
#page .mx-global-ad-video { width:100%; max-height:230px; aspect-ratio:16/9; object-fit:contain; background:#080e16; display:block; border-radius:8px; margin-bottom:8px; }
#page .mx-global-ad-wide .mx-global-ad-image { width:clamp(120px,35%,320px); aspect-ratio:3/1; }
@media(max-width:420px){#page .mx-global-ad-content{gap:8px}#page .mx-global-ad{padding:9px}#page .mx-global-ad-copy strong{font-size:13px}#page .mx-global-ad-copy small{font-size:11px}}
/* Override the legacy Watch ID-specific fixed-size banner rules at source priority. */
html body #app #page :is(#watchPlacementAd,#morePlacementAd,#historyPlacementAd,#mxV3ListenAd,#sportsAd).mx-global-ad-slot { height:auto!important; max-height:none!important; min-height:0!important; width:100%!important; max-width:100%!important; margin:12px auto!important; padding:0!important; background:transparent!important; overflow:visible!important; }
html body #app #page :is(#watchPlacementAd,#morePlacementAd,#historyPlacementAd,#mxV3ListenAd,#sportsAd).mx-global-ad-slot:is(:empty,[hidden]) {display:none!important; margin:0!important;}
html body #app #page :is(#watchPlacementAd,#morePlacementAd,#historyPlacementAd,#mxV3ListenAd,#sportsAd).mx-global-ad-slot .mx-global-ad-image {position:static!important; inset:auto!important; width:clamp(70px,24%,110px)!important; height:auto!important; max-height:none!important; object-fit:contain!important; background:transparent!important;}
html body #app #page :is(#watchPlacementAd,#morePlacementAd,#historyPlacementAd,#mxV3ListenAd,#sportsAd).mx-global-ad-slot .mx-global-ad-wide .mx-global-ad-image {width:clamp(120px,35%,320px)!important;}
html body #app #page :is(#watchPlacementAd,#morePlacementAd,#historyPlacementAd,#mxV3ListenAd,#sportsAd).mx-global-ad-slot .mx-global-ad-video {position:static!important; inset:auto!important; width:100%!important; height:auto!important; max-height:230px!important; object-fit:contain!important; background:#080e16!important;}
/* Use compact native ads near feeds, larger creative-first display ads between sections. */
#page .mx-global-ad { max-width:728px; }
#page .mx-global-ad-display { max-width:336px; }
#page .mx-global-ad-display .mx-global-ad-content { flex-direction:column; align-items:stretch; }
#page .mx-global-ad-display .mx-global-ad-image { width:100%; height:auto; max-height:280px; aspect-ratio:auto; object-fit:contain; }
#page .mx-global-ad-display.mx-global-ad-wide { max-width:728px; }
#page .mx-global-ad-display.mx-global-ad-wide .mx-global-ad-image { width:100%; max-height:180px; aspect-ratio:auto; }

/* Phase 13 outstanding ads: flow only, no pinned or stretched advertising slots. */
html body #app #page .mx-global-ad-slot[data-mx-ad-auto] {
 position:static!important;inset:auto!important;float:none!important;clear:both;
 height:auto!important;min-height:0!important;max-height:none!important;
 flex:0 0 auto!important;align-self:stretch!important;grid-column:1/-1!important;
 margin:8px 0!important;padding:0!important;transform:none!important;
}
html body #app #page .mx-global-ad-slot[data-mx-ad-legacy],
html body #app #page .mx-global-ad-slot[data-mx-ad-auto]:is([hidden],:empty) {display:none!important;margin:0!important;padding:0!important;min-height:0!important;height:0!important;}
/* Full row in wrapping flex catalogues; column feeds keep their natural width. */
#page .mx-global-ad-slot[data-mx-ad-auto]{width:100%!important;max-width:100%!important;}
/* Continuous, low-contrast traveling edge; creative and content do not move. */
@property --mx-ad-angle { syntax:'<angle>'; initial-value:0deg; inherits:false; }
#page .mx-global-ad {
 --mx-ad-angle:0deg;
 border:1.5px solid transparent;
 background:linear-gradient(#101b29,#101b29) padding-box,
 conic-gradient(from var(--mx-ad-angle),#314355 0%,#314355 48%,#ff005c 65%,#00bfff 78%,#314355 93%) border-box;
 animation:mx-ad-edge-travel 4s linear infinite;
 animation-play-state:paused;
}
#page .mx-global-ad.mx-ad-in-view {animation-play-state:running;}
@keyframes mx-ad-edge-travel {to{--mx-ad-angle:360deg;}}
@media(prefers-reduced-motion:reduce){#page .mx-global-ad{animation:none!important;}}
