/* First-party sponsored placements. Every sponsored unit carries a visible "Sponsored" label. */
.ad-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
            color: #8892b0; border: 1px solid rgba(136, 146, 176, .5); white-space: nowrap; }
.ad-card .ad-advertiser { font-weight: 700; margin-right: .5rem; }
.ad-card .ad-media { border-radius: 10px; overflow: hidden; background: #000; margin: .5rem 0; }
.ad-card .ad-media img, .ad-card .ad-media video { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.ad-card .ad-body { padding: 0 .25rem .25rem; }
.ad-card .ad-headline { font-weight: 700; margin: 0 0 .15rem; }
.ad-card .ad-text { color: #8892b0; font-size: .9rem; margin: 0 0 .6rem; }
.ad-cta { display: inline-block; padding: .45rem 1rem; border-radius: 8px; background: rgba(0, 240, 255, .15); color: #00f0ff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.ad-cta:hover { background: rgba(0, 240, 255, .28); }

/* Reels: a full-height slide that is deliberately NOT .reel-item, so the reels playback logic never treats it as a reel. */
.reel-ad-item { position: relative; width: 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; background: #000; border-radius: 12px; overflow: hidden; }
.reel-ad-item video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel-ad-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1rem 1.4rem; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; }
.reel-ad-overlay .ad-name { font-weight: 700; margin: .3rem 0 .1rem; } .reel-ad-overlay .ad-text { font-size: .85rem; opacity: .85; margin: 0 0 .6rem; }
.reel-ad-mute { position: absolute; top: .8rem; right: .8rem; background: rgba(0, 0, 0, .55); color: #fff; border: 0; border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 1rem; }

/* Video pre-roll / mid-roll overlay inside the existing custom player */
.ad-preroll { position: absolute; inset: 0; z-index: 30; background: #000; display: flex; align-items: center; justify-content: center; }
.ad-preroll video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.ad-preroll-top { position: absolute; top: .6rem; left: .6rem; display: flex; gap: .5rem; align-items: center; color: #fff; font-size: .8rem; }
.ad-preroll .ad-cta { position: absolute; left: .8rem; bottom: .8rem; }
.ad-skip { position: absolute; right: .8rem; bottom: .8rem; padding: .45rem .9rem; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }

/* Desktop sidebar: fixed rail, only on wide screens, never changes the feed layout */
.ad-sidebar { position: fixed; top: 96px; right: 16px; width: 300px; z-index: 40; display: none; }
@media (min-width: 1280px) { .ad-sidebar { display: block; } }
.ad-sidebar .ad-card { margin: 0; }
.ad-tournament { margin: 1rem 0; }
