/* OTT section (/ott and the home page "Watch & Listen" row) */
.ott-wrap { background: #0d1117; color: #e6edf3; padding: 28px 0 48px; min-height: 60vh; }
.ott-wrap a { color: inherit; }
.ott-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.ott-head h1 { font-size: 1.9rem; font-weight: 700; margin: 0; }
.ott-head h1 i { color: #ffcf33; }
.ott-head p { margin: 4px 0 0; color: #9aa4b2; }
.ott-search { display: flex; background: #161b22; border: 1px solid #30363d; border-radius: 999px; overflow: hidden; min-width: 260px; }
.ott-search input { background: transparent; border: 0; color: #e6edf3; padding: 8px 14px; flex: 1; outline: none; }
.ott-search button { background: #ffcf33; border: 0; padding: 0 16px; color: #111; }
.ott-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ott-tabs a { padding: 6px 14px; border-radius: 999px; background: #161b22; border: 1px solid #30363d; text-decoration: none; font-size: .9rem; }
.ott-tabs a.on, .ott-tabs a:hover { background: #ffcf33; color: #111; border-color: #ffcf33; }

.ott-row-head { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 10px; }
.ott-row-head h2 { font-size: 1.25rem; margin: 0; }
.ott-row-head a { font-size: .9rem; color: #ffcf33; text-decoration: none; }
.ott-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.ott-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }

.ott-card { display: block; text-decoration: none; scroll-snap-align: start; }
.ott-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #1f2a44, #3b1d4a); }
.ott-thumb.is-audio { aspect-ratio: 1 / 1; }
.ott-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ott-thumb > .bi { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; color: #ffffff88; }
.ott-card:hover .ott-thumb img { transform: scale(1.06); }
.ott-play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; background: #0006; }
.ott-play i { font-size: 2.6rem; color: #fff; }
.ott-card:hover .ott-play, .ott-card:focus .ott-play { opacity: 1; }
.ott-badge { position: absolute; left: 8px; top: 8px; font-size: .7rem; background: #000a; color: #fff; padding: 2px 8px; border-radius: 999px; }
.ott-meta { display: block; padding: 8px 2px 0; }
.ott-meta b { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ott-meta small { display: block; color: #9aa4b2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ott-ads { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 18px 0; position: relative; }
.ott-ads-label { position: absolute; top: -9px; left: 10px; font-size: .65rem; background: #ffcf33; color: #111; padding: 0 6px; border-radius: 4px; z-index: 1; }
.ott-ad { flex: 1 1 240px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #161b22; border: 1px solid #30363d; text-decoration: none; }
.ott-ad img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.ott-ad b { display: block; }
.ott-ad small { display: block; color: #9aa4b2; }
.ott-ad em { margin-left: auto; font-style: normal; background: #ffcf33; color: #111; padding: 4px 10px; border-radius: 999px; font-size: .8rem; white-space: nowrap; }
.ott-adsense { margin: 18px 0; }
.ott-empty { text-align: center; padding: 60px 0; color: #9aa4b2; }
.ott-empty i { font-size: 3rem; }

.ott-back { display: inline-flex; gap: 6px; align-items: center; margin-bottom: 14px; text-decoration: none; color: #9aa4b2 !important; }
.ott-player { position: relative; background: #000; border-radius: 14px; overflow: hidden; }
.ott-player video { display: block; width: 100%; max-height: 72vh; background: #000; }
.ott-player.is-audio { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; background: linear-gradient(135deg, #1f2a44, #3b1d4a); }
.ott-audio-art { width: min(320px, 70vw); aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: #0003; }
.ott-audio-art img { width: 100%; height: 100%; object-fit: cover; }
.ott-audio-art i { font-size: 4rem; color: #fff8; }
.ott-player audio { width: min(560px, 100%); }
.ott-preroll { position: absolute; inset: 0; background: #000e; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; z-index: 2; }
.ott-preroll a { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ott-preroll img { max-width: min(420px, 80%); max-height: 45vh; border-radius: 10px; }
.ott-preroll small { color: #c9d1d9; }
.ott-preroll button { position: absolute; right: 14px; bottom: 14px; background: #ffffff22; color: #fff; border: 1px solid #ffffff55; border-radius: 6px; padding: 6px 14px; }
.ott-preroll button:not(:disabled) { background: #ffcf33; color: #111; border-color: #ffcf33; }

.ott-info { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; margin-top: 16px; }
.ott-info h1 { font-size: 1.6rem; margin: 0; }
.ott-info h1 small { color: #9aa4b2; font-size: 1rem; }
.ott-sub { color: #9aa4b2; margin: 4px 0 8px; }
.ott-desc { color: #c9d1d9; max-width: 820px; white-space: pre-line; }
.ott-share { background: #161b22; color: #e6edf3; border: 1px solid #30363d; border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.ott-tracks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ott-tracks a { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 10px; background: #161b22; text-decoration: none; }
.ott-tracks li.on a { background: #ffcf33; color: #111; }
.ott-tracks small { margin-left: auto; opacity: .7; }

/* home page row keeps the site's light theme around a dark strip */
.ott-home .ott-row { background: #0d1117; color: #e6edf3; padding: 14px; border-radius: 16px; }
.ott-home .section-head h2 i { color: #e0a800; }
@media (max-width: 576px) { .ott-head h1 { font-size: 1.5rem; } .ott-info { flex-direction: column; } }
