/* PNI Live - public site */
:root {
	--bg: #0b0d17;
	--bg-2: #12152a;
	--card: #171b33;
	--card-2: #1f2442;
	--line: rgba(255, 255, 255, .08);
	--text: #eef0fa;
	--muted: #9aa0bd;
	--primary: #e50914;
	--primary-2: #ff3d47;
	--gold: #ffc83d;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(0, 0, 0, .35);
	--container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mt-1 { margin-top: 1rem; }
.text-right { text-align: right; }
.center { text-align: center; justify-content: center; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.5em; border-radius: 999px; font-weight: 600; font-size: .95rem;
	border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit;
	white-space: nowrap;
}
.btn-sm { padding: .5em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; margin-top: 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 6px 20px rgba(229, 9, 20, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(229, 9, 20, .5); }
.btn-outline { border-color: rgba(255, 255, 255, .25); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Live dot + badges */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.badge { position: absolute; font-size: .7rem; font-weight: 700; padding: .25em .6em; border-radius: 6px; display: inline-flex; align-items: center; gap: .35em; letter-spacing: .03em; }
.badge-live { bottom: 10px; right: 10px; background: var(--primary); color: #fff; }
.badge-soon { bottom: 10px; right: 10px; background: rgba(0, 0, 0, .7); color: var(--muted); }
.badge-quality { top: 10px; right: 10px; background: rgba(0, 0, 0, .55); color: var(--gold); }
.badge.big { position: static; font-size: .85rem; padding: .4em .9em; }

/* Topbar */
.topbar { background: #070811; border-bottom: 1px solid var(--line); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; gap: 12px; height: 36px; }
.topbar-label { background: var(--primary); color: #fff; font-weight: 700; padding: 2px 10px; border-radius: 4px; white-space: nowrap; }
.marquee { flex: 1; overflow: hidden; white-space: nowrap; color: var(--muted); }
.marquee span { display: inline-block; padding-left: 100%; animation: marquee 25s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.social { display: flex; gap: 6px; }
.social a { width: 24px; height: 24px; border-radius: 50%; background: var(--card-2); display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.social a:hover { background: var(--primary); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 23, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.brand-mark { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-weight: 800; padding: 4px 10px; border-radius: 8px; letter-spacing: .05em; }
.brand-text strong { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > a { padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .92rem; color: var(--muted); transition: .2s; }
.main-nav > a:hover, .nav-drop > a:hover, .main-nav a.active { color: var(--text); background: rgba(255, 255, 255, .05); }
.main-nav .nav-cta { color: #fff; margin-left: 8px; }
.nav-drop { position: relative; }
.nav-drop-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--card); border: 1px solid var(--line);
	border-radius: 12px; padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .9rem; color: var(--muted); }
.nav-drop-menu a:hover { background: var(--card-2); color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 80px; }
.hero-glow { position: absolute; inset: -40% -10% auto auto; width: 700px; height: 700px; background: radial-gradient(circle, rgba(229, 9, 20, .35), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; margin-bottom: .2em; background: linear-gradient(90deg, #fff, #ffd9db); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tagline { font-size: 1.25rem; font-weight: 500; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-stats { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 28px; }
.hero-stats strong { display: block; font-size: 1.6rem; color: var(--gold); }
.hero-stats span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tv { max-width: 480px; margin: 0 auto; }
.tv-screen {
	position: relative; aspect-ratio: 16/9; border-radius: 18px; border: 10px solid #222844; overflow: hidden;
	background: radial-gradient(circle at 30% 30%, #3b0f2b, #0d1030 60%, #070811); box-shadow: 0 30px 80px rgba(229, 9, 20, .25);
	display: grid; place-items: center;
	color: inherit; text-decoration: none; cursor: pointer; transition: transform .25s, box-shadow .25s;
}
a.tv-screen:hover { transform: translateY(-4px); box-shadow: 0 34px 90px rgba(229, 9, 20, .4); }
.tv-logo { font-size: 3.2rem; font-weight: 800; letter-spacing: .05em; text-align: center; line-height: 1; }
.tv-logo small { display: block; font-size: 1rem; color: var(--gold); letter-spacing: .3em; margin-top: 8px; }
.tv-ticker { position: absolute; bottom: 0; left: 0; right: 0; background: var(--primary); font-size: .75rem; font-weight: 600; white-space: nowrap; overflow: hidden; padding: 4px 0; }
.tv-ticker span { display: inline-block; animation: marquee 14s linear infinite; padding-left: 100%; }
.tv-stand { width: 30%; height: 14px; margin: 0 auto; background: #222844; border-radius: 0 0 12px 12px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.link-more { color: var(--gold); font-weight: 600; font-size: .9rem; }
.link-more:hover { text-decoration: underline; }
.page-hero { padding: 56px 0 40px; background: linear-gradient(180deg, rgba(229, 9, 20, .12), transparent); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }

/* Chips & filter */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-weight: 500; font-size: .88rem; cursor: pointer; font-family: inherit; transition: .2s; }
.chip:hover { color: var(--text); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.search-form { display: flex; gap: 8px; margin-bottom: 28px; }
.search-form input { min-width: 220px; }

/* Category cards */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.category-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: .25s; }
.category-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.category-icon { font-size: 2rem; display: block; margin-bottom: 8px; }

/* Channel cards */
.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.channel-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.channel-card:hover { transform: translateY(-4px); border-color: rgba(229, 9, 20, .6); box-shadow: var(--shadow); }
.channel-thumb { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; background: linear-gradient(135deg, #1e2346, #2b1236); }
.channel-initials { font-size: 2.2rem; font-weight: 800; letter-spacing: .05em; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .4); }
.play-icon { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; background: rgba(0, 0, 0, .45); opacity: 0; transition: .2s; }
.channel-card:hover .play-icon, .video-card:hover .play-icon { opacity: 1; }
.channel-body { padding: 8px 12px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.channel-body h3 { flex: 1; min-width: 0; font-size: .98rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.channel-body p { margin: 0; }
.cat-live-tv { background: linear-gradient(135deg, #5a0b12, #1e2346); }
.cat-news { background: linear-gradient(135deg, #0d3b66, #12152a); }
.cat-religious { background: linear-gradient(135deg, #8a4b08, #3b1d06); }
.cat-kids { background: linear-gradient(135deg, #1b7a4a, #0e3d52); }
.cat-entertainment { background: linear-gradient(135deg, #6a1b9a, #2b1236); }
.cat-sports { background: linear-gradient(135deg, #0b6e4f, #12152a); }
.cat-movies { background: linear-gradient(135deg, #7a0b3a, #12152a); }

/* Video (OTT) cards */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.video-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255, 200, 61, .5); }
.video-thumb { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-title-art { font-size: 1.2rem; font-weight: 800; text-align: center; padding: 0 16px; }
.type-movie { background: linear-gradient(135deg, #7a0b3a, #1e2346); }
.type-series { background: linear-gradient(135deg, #0d3b66, #2b1236); }
.type-show { background: linear-gradient(135deg, #8a4b08, #1e2346); }
.ott-hero { padding: 90px 0; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.ott-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
.ott-desc { max-width: 560px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.service-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .25s; }
.service-card:hover { border-color: var(--gold); }
.service-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.service-card h3 { font-size: 1.05rem; }

/* Mission / vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { background: linear-gradient(135deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 28px; font-size: 1.1rem; }
.mv-card p { margin: 0; }

/* CTA */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 40px; border-radius: 20px; background: linear-gradient(135deg, rgba(229, 9, 20, .25), rgba(255, 200, 61, .1)); border: 1px solid rgba(229, 9, 20, .35); }
.cta-band h2 { margin-bottom: .3em; }
.cta-band .hero-actions { margin: 0; }

/* About */
.about-grid, .contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.prose { font-size: 1.05rem; }
.prose h3 { margin-top: 1.6em; color: var(--gold); }
.prose a { color: var(--gold); }
.narrow { max-width: 820px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-card dl { margin: 0; }
.info-card dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 14px; }
.info-card dd { margin: 2px 0 0; font-weight: 500; word-break: break-word; }
.info-card a { color: var(--gold); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.feature-list li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.feature-list.compact { grid-template-columns: 1fr; gap: 8px; }
.feature-list.compact li { padding: 8px 12px; }
.check { color: var(--gold); font-weight: 700; margin-right: 6px; }
.slogan { color: var(--gold); font-weight: 600; margin-top: 1rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--card); color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.table tr:last-child td { border-bottom: 0; }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form label { display: block; font-size: .88rem; font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], input[type=password], input[type=number], select, textarea {
	width: 100%; margin-top: 6px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
	color: var(--text); font-family: inherit; font-size: .95rem; transition: .2s;
}
.search-form input { margin-top: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(229, 9, 20, .2); }
.field-error { color: #ff6b73; font-size: .8rem; margin-top: 4px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alert-success { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .4); color: #86efac; }
.alert-error { background: rgba(229, 9, 20, .12); border: 1px solid rgba(229, 9, 20, .4); color: #ff9aa0; }
.empty-state { text-align: center; padding: 60px 20px; background: var(--card); border-radius: var(--radius); border: 1px dashed var(--line); }

/* Watch page */
.watch-section { padding-top: 32px; }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.player-wrap { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.player-wrap video, .player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player-wrap:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; }
.player-wrap:-webkit-full-screen { border-radius: 0; width: 100vw; height: 100vh; }
.fs-btn { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: .75; transition: .2s; }
.fs-btn:hover { opacity: 1; background: var(--primary); }
.player-offline, .player-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 20px; background: radial-gradient(circle, #1e2346, #070811); }
.player-offline p, .player-error p { margin: 0; }
.player-error { z-index: 2; background: rgba(7, 8, 17, .92); gap: 12px; }
.watch-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 20px 0 10px; }
.watch-meta h1 { font-size: 1.6rem; margin: 0; }
.watch-meta p { margin: 0; }
.watch-meta a { color: var(--gold); }
.watch-title { display: flex; align-items: center; gap: 14px; }
.watch-logo { width: 56px; height: 56px; object-fit: contain; background: var(--card); border-radius: 12px; padding: 6px; }
.watch-desc { color: var(--muted); }
.watch-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 88px; }
.watch-side h3 { font-size: 1rem; }
.related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 520px; overflow-y: auto; }
.related-list a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; transition: .2s; }
.related-list a:hover { background: var(--card-2); }
.related-list strong { display: block; font-size: .9rem; }
.mini-thumb { flex: 0 0 64px; height: 40px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: .8rem; object-fit: cover; background: var(--card-2); }

/* Footer */
.site-footer { background: #070811; border-top: 1px solid var(--line); padding: 56px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 16px; text-align: center; }
.footer-bottom p { margin-bottom: .4em; }

/* Responsive */
@media (max-width: 1080px) {
	.main-nav > a, .nav-drop > a { padding: 8px 8px; font-size: .86rem; }
}
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	/* Anchored to the sticky header: its backdrop-filter makes position:fixed resolve against the header, not the viewport */
	.main-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
		max-height: calc(100vh - 117px); max-height: calc(100dvh - 117px);
		background: var(--bg); padding: 16px; overflow-y: auto; overscroll-behavior: contain;
	}
	.main-nav.open { display: flex; }
	.main-nav > a, .nav-drop > a { display: block; padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; }
	.main-nav .nav-cta { margin: 16px 0 0; }
	.hero-grid, .about-grid, .contact-grid, .watch-grid { grid-template-columns: 1fr; }
	.hero-screen { order: -1; }
	.watch-side { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.section { padding: 44px 0; }
	.hero { padding: 36px 0 50px; }
	.mv-grid, .form-row { grid-template-columns: 1fr; gap: 0; }
	.mv-grid { gap: 16px; }
	.channel-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.channel-initials { font-size: 1.6rem; }
	.footer-grid { grid-template-columns: 1fr; }
	.cta-band { padding: 26px; }
	.search-form { width: 100%; }
	.search-form input { min-width: 0; flex: 1; }
	.social { display: none; }
	.watch-meta { flex-direction: column; align-items: flex-start; }
	.hero-stats { gap: 18px; }
}

/* Brand logo */
.brand-logo { height: 64px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 800; font-size: 1.15rem; }
.brand-text small { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-footer .brand-logo { height: 80px; }
img.tv-logo { max-width: 38%; max-height: 70%; object-fit: contain; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .5)); }

/* Channel cover + logo overlay */
.channel-thumb .channel-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.channel-thumb.has-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .75)); }
.channel-thumb { overflow: hidden; }
.channel-thumb .channel-logo { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; object-fit: contain; }
.channel-thumb.has-cover .channel-logo { position: absolute; left: 10px; bottom: 10px; width: 64px; height: 64px; padding: 4px; background: rgba(255, 255, 255, .92); border-radius: 10px; top: auto; transform: none; aspect-ratio: auto; object-fit: contain; box-shadow: none; }
.channel-thumb.has-cover .channel-initials { position: absolute; left: 10px; bottom: 8px; font-size: 1.1rem; background: var(--primary); padding: 2px 8px; border-radius: 8px; }
.channel-thumb .badge, .channel-thumb .play-icon { z-index: 2; }

/* Player watermark */
.player-watermark { position: absolute; z-index: 2; width: clamp(48px, 9%, 110px); height: auto; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.wm-top-left { top: 14px; left: 14px; }
.wm-top-right { top: 14px; right: 64px; }
.wm-bottom-left { bottom: 56px; left: 14px; }
.wm-bottom-right { bottom: 56px; right: 14px; }
@media (max-width: 600px) {
	.brand-logo { height: 52px; }
	.brand-text small { display: none; }
}

/* Channel number on every card */
.badge-ch { flex-shrink: 0; display: inline-flex; align-items: center; min-width: 24px; justify-content: center; background: var(--primary); color: #fff; font-size: .65rem; font-weight: 700; line-height: 1; padding: .3em .55em; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.badge-ch b { color: var(--gold); margin-right: 2px; font-weight: 700; }
.watch-ch { display: inline-block; background: var(--card-2); color: var(--gold); font-weight: 700; font-size: .8rem; padding: 2px 10px; border-radius: 6px; margin-right: 6px; vertical-align: middle; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Light theme (toggle in header) */
.logo-light, .theme-icon-dark { display: none; }
.theme-toggle { order: 3; margin-left: 10px; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--gold); font-size: 1.15rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.theme-toggle:hover { border-color: var(--primary); }
.nav-wrap .main-nav { order: 2; }
.nav-wrap .nav-toggle { order: 4; }
.nav-wrap .brand { order: 1; margin-right: auto; }
:root[data-theme="light"] {
	--bg: #f5f6fa;
	--bg-2: #ffffff;
	--card: #ffffff;
	--card-2: #eef0f6;
	--line: rgba(15, 20, 45, .1);
	--text: #161a2b;
	--muted: #5b6178;
	--gold: #c98a00;
	--shadow: 0 10px 30px rgba(20, 25, 60, .12);
}
[data-theme="light"] .logo-dark, [data-theme="light"] .theme-icon-light { display: none; }
[data-theme="light"] .logo-light, [data-theme="light"] .theme-icon-dark { display: block; }
[data-theme="light"] .theme-toggle { color: #3a3f5c; }
[data-theme="light"] .topbar { background: #ffffff; }
[data-theme="light"] .site-header { background: rgba(255, 255, 255, .92); }
[data-theme="light"] .site-footer { background: #ffffff; }
[data-theme="light"] .hero h1 { background: linear-gradient(90deg, #161a2b, #e50914); -webkit-background-clip: text; background-clip: text; }
[data-theme="light"] .hero-glow { background: radial-gradient(circle, rgba(229, 9, 20, .15), transparent 60%); }
[data-theme="light"] .btn-outline { border-color: rgba(15, 20, 45, .25); }
[data-theme="light"] .main-nav > a:hover, [data-theme="light"] .nav-drop > a:hover, [data-theme="light"] .main-nav a.active { background: rgba(15, 20, 45, .06); }
[data-theme="light"] .badge-soon { color: #fff; }

/* Hero TV playing the live channel */
.tv-screen.has-player .player-wrap { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.tv-screen.has-player .player-wrap:fullscreen { position: static; }
.tv-screen.has-player .fs-btn { width: 34px; height: 34px; top: 8px; right: 8px; font-size: 1rem; }
