/* ── Info Channel display — fixed 1920×1080, fully themeable via CSS variables ──── */
:root {
  --bg: #050505;
  --panel: #111214;
  --panel-2: #0c0d0e;
  --accent: #99cc00;
  --accent-soft: rgba(153, 204, 0, 0.14);
  --accent-line: rgba(153, 204, 0, 0.28);
  --text: #f3f4f1;
  --muted: #8b8f88;
  --radius: 14px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-head: "Archivo", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", "Consolas", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { width: 100%; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); overflow: hidden; }
body.transparent, body.transparent .screen { background: transparent; }

.stage { position: fixed; inset: 0; overflow: hidden; background: var(--bg); }
.screen {
  position: absolute; top: 50%; left: 50%;
  width: 1920px; height: 1080px;
  background: radial-gradient(1300px 760px at 80% -12%, rgba(255,255,255,.06), transparent 58%), linear-gradient(180deg, rgba(255,255,255,.035), transparent 26%), radial-gradient(1100px 700px at 50% 124%, rgba(0,0,0,.42), transparent 62%), var(--bg);
  background-size: cover; background-position: center;
  padding: 26px 40px 0;
  display: flex; flex-direction: column;
  transform-origin: center center; transform: translate(-50%, -50%) scale(1);
}
.screen.has-bg { background-blend-mode: normal; }

/* ── Light-background adaptation (dark-optimized chrome → white theme) ─────────── */
.screen.light { --panel-2: #eef2f8; }
.screen.light .topbar { border-bottom-color: rgba(0,0,0,.12); }
.screen.light .card { border-color: rgba(0,0,0,.1); box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.screen.light .stat { border-color: rgba(0,0,0,.08); }
.screen.light .sched-row { border-bottom-color: rgba(0,0,0,.08); }
.screen.light .badge { border-color: rgba(0,0,0,.14); color: var(--text); }

/* ── Header ─────────────────────────────────────────────────────────────────── */
.topbar { display: flex; align-items: center; justify-content: space-between; height: 100px; flex: 0 0 auto; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: flex; align-items: center; gap: 22px; }
.brand-id { display: flex; flex-direction: column; gap: 7px; }
.brand-logo { height: 66px; width: auto; max-width: 340px; display: block; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.brand-name { font-family: var(--font-head); font-size: 36px; font-weight: 900; letter-spacing: 0.5px; line-height: 1; }
.brand-name .accent { color: var(--accent); }
.brand-sub { margin-top: 6px; font-size: 12px; letter-spacing: 4px; color: var(--muted); }
.onair { margin-left: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 6px; border: 1px solid var(--accent-line); background: var(--accent-soft); font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; }
.onair .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.6s infinite; }
.onair.off { color: var(--muted); border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.clock { text-align: right; }
.clock .time { font-family: var(--mono); font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.clock .time .sec { font-size: .62em; opacity: .65; letter-spacing: 0; }
.clock .date { margin-top: 9px; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }

/* ── Layout (main area) ───────────────────────────────────────────────────────── */
.layout { flex: 1 1 auto; display: grid; gap: 22px; padding: 18px 0 14px; min-height: 0; }
.layout.lay-main-sidebar { grid-template-columns: 1.92fr 1fr; }
.layout.lay-sidebar-left { grid-template-columns: 1.92fr 1fr; }
.layout.lay-sidebar-left #sidebar { order: -1; }
.layout.lay-main-only { grid-template-columns: 1fr; padding: 14px 0 12px; }
.layout.lay-main-only .main-col { margin: 0 -40px; gap: 0; }
.layout.lay-main-only .stage-slot { border-radius: 0; }
.layout.lay-fullscreen { grid-template-columns: 1fr; padding: 0 0 14px; }
.layout.lay-split { grid-template-columns: 1fr 1fr; }
.layout.lay-tv-classic { grid-template-columns: 1.92fr 1fr; }
.main-col { display: flex; flex-direction: column; gap: 20px; min-height: 0; }
.sidebar { display: flex; flex-direction: column; gap: 18px; min-height: 0; overflow: hidden; }

.card { background: var(--panel); border: 1px solid rgba(255,255,255,.05); border-radius: var(--radius); }
.card-head { display: flex; align-items: center; gap: 11px; padding: 16px 20px 0; }
.card-head .bar { width: 4px; height: 22px; border-radius: 3px; background: var(--accent); }
.card-head h3 { font-size: 16px; font-weight: 800; letter-spacing: 1.5px; }
.card-head .tag, .card-head .now { margin-left: auto; font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.card-body { padding: 14px 20px 18px; }
.empty, .muted { color: var(--muted); font-size: 14px; }
.empty { padding: 14px 0; text-align: center; }

/* ── Playlist slides (generic main content) ───────────────────────────────────── */
.stage-slot { flex: 1 1 auto; position: relative; min-height: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.slide { position: absolute; inset: 0; }
.slide-image { position: absolute; inset: 0; background-position: center; background-repeat: no-repeat; }
.slide-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.slide-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.slide-text { position: absolute; inset: 0; display: grid; place-content: center; padding: 6%; gap: 18px; }
.slide-text h1 { font-size: 64px; line-height: 1.05; font-weight: 800; letter-spacing: -0.5px; }
.slide-text p { font-size: 26px; color: #c7cabf; max-width: 1200px; }
.slide-weather, .slide-rss { position: absolute; inset: 0; padding: 6%; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.slide-rss h2 { font-size: 30px; letter-spacing: 1px; }
.slide-rss .rss-row { font-size: 24px; padding: 12px 0; }

/* WordPress news slide — broadcast lower-third */
.slide-news { position: absolute; inset: 0; background: var(--panel); overflow: hidden; }
.slide-news .news-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-news .news-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,11,26,.97) 2%, rgba(5,11,26,.9) 20%, rgba(5,11,26,.34) 46%, transparent 66%); }
.slide-news .news-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 64px 58px; }
.slide-news .news-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.slide-news .news-kicker .cat { background: var(--accent); color: var(--panel); font-size: 16px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; padding: 8px 15px; border-radius: 4px; line-height: 1; }
.slide-news .news-kicker .by { font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.62); }
.slide-news h1 { font-family: var(--font-head); font-size: 64px; line-height: 1.03; font-weight: 800; letter-spacing: -0.5px; max-width: 1560px; text-shadow: 0 2px 26px rgba(0,0,0,.55); }
.slide-news p { margin-top: 22px; font-size: 25px; line-height: 1.42; color: rgba(255,255,255,.82); max-width: 1400px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rss-thumb { width: 54px; height: 40px; flex: 0 0 auto; border-radius: 6px; background-size: cover; background-position: center; }

/* ── Hero (tv-classic) ────────────────────────────────────────────────────────── */
.hero { flex: 1 1 auto; display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
.hero-media { position: relative; flex: 1 1 auto; min-height: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 2px, transparent 2px 18px), linear-gradient(160deg, #16110f, #0c0d0e 60%); overflow: hidden; }
.hero-media video, .hero-media .hero-yt { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; display: none; }
.hero-media video { object-fit: cover; }
.hero-media .hero-yt { overflow: hidden; }
.hero-media .hero-yt iframe { position: absolute; top: -10%; left: -10%; width: 120%; height: 120%; border: 0; display: block; pointer-events: none; }
.hero-channel { position: absolute; bottom: 18px; right: 20px; padding: 8px 12px; border-radius: 10px; background: rgba(0,0,0,.55); border: 1px solid var(--accent-line); backdrop-filter: blur(2px); z-index: 2; }
.hero-channel img { display: block; height: 40px; max-width: 130px; object-fit: contain; }

/* ── On Demand (tv-classic) ───────────────────────────────────────────────────── */
.ondemand { flex: 0 0 auto; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-head .bar { width: 4px; height: 22px; border-radius: 3px; background: var(--accent); }
.section-head h2 { font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.section-head .muted { font-size: 12px; letter-spacing: 3px; color: var(--muted); }
.section-head .browse { margin-left: auto; font-size: 12px; letter-spacing: 1px; color: #dfe2da; padding: 9px 16px; border-radius: 9px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); }
.movie-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.movie { border-radius: 12px; overflow: hidden; background: #121212; border: 1px solid rgba(255,255,255,.05); }
.movie .poster { position: relative; aspect-ratio: 16 / 11; background-size: cover; background-position: center; display: grid; place-items: center; }
.movie .poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45)); }
.movie .genre { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 10px; letter-spacing: 1.5px; font-weight: 700; padding: 5px 9px; border-radius: 6px; background: rgba(0,0,0,.5); color: #fff; }
.movie .genre.logo { padding: 0; background: none; border-radius: 0; }
.movie .genre.logo img { display: block; max-height: 40px; max-width: 110px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.85)); }
.movie .rating { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 11px; font-weight: 700; padding: 5px 8px; border-radius: 6px; background: rgba(0,0,0,.55); color: var(--accent); }
.movie .meta { padding: 12px 12px 14px; }
.movie .meta .title { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie .meta .sub { margin-top: 6px; font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }

/* ── Sidebar modules ──────────────────────────────────────────────────────────── */
.package .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 20px 4px; }
.stat { background: var(--panel-2); border: 1px solid rgba(255,255,255,.05); border-radius: 11px; padding: 14px 16px; }
.stat .num { font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat .num small { font-size: 18px; }
.stat .lbl { margin-top: 8px; font-size: 10px; letter-spacing: 2px; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 9px; padding: 14px 20px 18px; }
.badge { font-size: 12px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); color: #d9dcd2; }
.badge.hot { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }

.tonight { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.schedule { padding: 12px 20px 18px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.sched-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.sched-row:last-child { border-bottom: none; }
.sched-row .t { font-family: var(--mono); font-size: 15px; color: var(--accent); min-width: 52px; }
.sched-row .title { flex: 1 1 auto; min-width: 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched-row .ch { flex-shrink: 0; font-size: 11px; letter-spacing: 1px; color: #cfd2cb; padding: 5px 10px; border-radius: 7px; border: 1px solid var(--accent-line); background: var(--accent-soft); white-space: nowrap; }
.sched-row .ch.logo { width: 135px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 0; border: none; background: none; }
.sched-row .ch.logo img { max-width: 100%; max-height: 100%; display: block; }

.support { display: flex; align-items: center; gap: 18px; padding: 18px 20px; }
.support .ic { width: 56px; height: 56px; border-radius: 12px; background: var(--accent); color: #0a0a0a; display: grid; place-items: center; font-size: 26px; flex: 0 0 auto; }
.support .label { font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.support .phone { font-size: 30px; font-weight: 800; letter-spacing: 1px; margin: 4px 0; }
.support .hours { font-size: 12px; color: var(--muted); }

.wx { display: flex; flex-direction: column; gap: 14px; }
.wx-now { display: flex; align-items: baseline; gap: 14px; }
.wx-temp { font-size: 46px; font-weight: 800; color: var(--accent); line-height: 1; }
.wx-lbl { font-size: 13px; color: var(--muted); letter-spacing: 1px; }
.wx-fc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wx-day { background: var(--panel-2); border-radius: 9px; padding: 8px; text-align: center; }
.wx-day .d { font-size: 11px; color: var(--muted); }
.wx-day .hl { font-size: 18px; font-weight: 700; }
.wx-day .lo { font-size: 13px; color: var(--muted); }
.rss-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.rss-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex: 0 0 auto; }
.rss-row .rss-t { font-size: 15px; line-height: 1.3; }
.social-row, .status-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.05); }
.social-row .ico { width: 30px; height: 30px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.status-row .dot { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.status-row .dot.ok { background: #3ecf6a; } .status-row .dot.warn { background: #e0a52b; } .status-row .dot.bad { background: #e0556b; }
.status-row .nm { flex: 1 1 auto; } .status-row .st { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.custom-text { font-size: 16px; line-height: 1.5; }
.custom-text p { margin-bottom: 8px; }

/* ── Ticker ─────────────────────────────────────────────────────────────────── */
.ticker { flex: 0 0 auto; height: 60px; margin: 0 -40px; display: flex; align-items: stretch; overflow: hidden; background: var(--panel); color: #fff; border-top: 2px solid rgba(255,255,255,.14); box-shadow: 0 -8px 22px rgba(0,0,0,.28); }
.ticker .tag { flex: 0 0 auto; display: flex; align-items: center; padding: 0 28px; background: rgba(0,0,0,.34); color: #fff; font-weight: 800; letter-spacing: 3px; font-size: 14px; text-transform: uppercase; }
.ticker-view { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: marquee linear infinite; }
.ticker-track .item { font-size: 19px; font-weight: 600; padding: 0 28px; display: inline-flex; align-items: center; gap: 24px; }
.ticker-track .item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; opacity: .85; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker.hidden { display: none; }

/* ── Weather strip (multi-city, RTV21 navy band) ─────────────────────────────── */
.weatherstrip { flex: 0 0 auto; height: 104px; margin: 0 -40px; display: flex; align-items: stretch; overflow: hidden; background: var(--panel); color: #fff; border-top: 1px solid rgba(255,255,255,.1); }
.weatherstrip.hidden { display: none; }
.weatherstrip .wx-tag { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 0 32px; background: rgba(0,0,0,.34); color: #fff; }
.weatherstrip .wx-tag .t { font-family: var(--font-head); font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: 1px; }
.weatherstrip .wx-tag .s { font-size: 11px; opacity: .85; letter-spacing: 4px; margin-top: 7px; font-weight: 700; }
.weatherstrip .wx-cities { flex: 1 1 auto; display: flex; align-items: stretch; }
.weatherstrip .wx-city { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 10px; border-left: 1px solid rgba(255,255,255,.07); min-width: 0; }
.weatherstrip .wx-city:first-child { border-left: 0; }
.weatherstrip .wx-ico { font-size: 36px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.weatherstrip .wx-meta { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.weatherstrip .wx-name { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.weatherstrip .wx-deg { font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1; }
.weatherstrip .wx-cond { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Overlay layer ────────────────────────────────────────────────────────────── */
.overlay-layer { position: absolute; inset: 0; pointer-events: none; z-index: 50; }
.ov { position: absolute; padding: 8px; }
.ov-top-left { top: 18px; left: 22px; } .ov-top-right { top: 18px; right: 22px; }
.ov-bottom-left { bottom: 78px; left: 22px; } .ov-bottom-right { bottom: 78px; right: 22px; }
.ov-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ov-clock { font-family: var(--mono); font-size: 30px; font-weight: 700; color: #fff; background: rgba(0,0,0,.45); padding: 6px 14px; border-radius: 10px; }
.ov-logo { max-height: 80px; max-width: 220px; display: block; }
.ov-weather { background: rgba(0,0,0,.5); padding: 14px 18px; border-radius: 12px; min-width: 260px; }
.ov-qr { background: #fff; padding: 10px; border-radius: 12px; text-align: center; }
.ov-qr img { width: 150px; height: 150px; display: block; }
.ov-qr .cap { color: #111; font-size: 12px; margin-top: 6px; max-width: 150px; }
.ov-breaking { position: absolute; left: 0; right: 0; bottom: 54px; height: 48px; display: flex; align-items: center; gap: 16px; padding: 0 22px; color: #fff; }
.ov-breaking .bn-tag { font-weight: 800; letter-spacing: 2px; background: rgba(0,0,0,.4); padding: 6px 12px; border-radius: 6px; }
.ov-breaking .bn-text { font-size: 20px; font-weight: 600; }

/* ── Emergency takeover ───────────────────────────────────────────────────────── */
.emergency-layer { position: absolute; inset: 0; z-index: 9999; display: grid; place-items: center; text-align: center; }
.emergency-layer[hidden] { display: none; }
.emg { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 8%; }
.emg-logo { max-height: 160px; max-width: 520px; }
.emg-title { font-size: 84px; font-weight: 800; letter-spacing: 2px; }
.emg-msg { font-size: 44px; opacity: 0.92; }

/* ══ "21 NEWS" full broadcast layout ═════════════════════════════════════════════ */
.news21 { position: absolute; inset: 0; display: grid; grid-template-rows: 66px 1fr 46px 152px; background: linear-gradient(180deg, #0c1a3e 0%, #0a142e 100%); color: #fff; font-family: var(--font); overflow: hidden; z-index: 5; }
.news21[hidden] { display: none; }
.news21 .red { color: #ff5b52; }
.n21-up::before { content: "▲ "; color: #2ecc71; font-size: .8em; }
.n21-down::before { content: "▼ "; color: #ff5347; font-size: .8em; }
.n21-up { color: #2ecc71; } .n21-down { color: #ff5347; }

/* Top utility bar */
.n21-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 26px; background: linear-gradient(180deg, #11295f, #0b1c44); border-bottom: 2px solid rgba(255,255,255,.1); }
.n21-top .l, .n21-top .r { display: flex; align-items: center; gap: 18px; min-width: 0; }
.n21-top .r { justify-content: flex-end; }
.n21-pill { background: #e2231a; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 1px; padding: 6px 12px; border-radius: 3px; white-space: nowrap; }
.n21-top .time { font-family: var(--mono); font-weight: 700; font-size: 21px; letter-spacing: 1px; }
.n21-top .meta { font-size: 15px; color: #cdd9f2; letter-spacing: .5px; white-space: nowrap; }
.n21-brand { font-family: var(--font-head); font-weight: 800; font-size: 30px; letter-spacing: .5px; white-space: nowrap; }
.n21-brand b { font-weight: 900; }
.n21-date { font-size: 15px; letter-spacing: 1.5px; color: #c5d2ea; white-space: nowrap; }

/* Body: left | centre | right */
.n21-body { display: grid; grid-template-columns: 320px minmax(0,1fr) 348px; min-height: 0; }
.n21-col { padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow: hidden; }
.n21-left { border-right: 1px solid rgba(255,255,255,.08); }
.n21-right { border-left: 1px solid rgba(255,255,255,.08); }
.n21-h { font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: 1px; padding-bottom: 7px; border-bottom: 2px solid #e2231a; }

/* Top stories */
.n21-stories { display: flex; flex-direction: column; gap: 12px; }
.n21-story { display: grid; grid-template-columns: 86px 1fr; gap: 12px; align-items: start; }
.n21-story .thumb { width: 86px; height: 62px; border-radius: 4px; background: #1a2c55 center/cover no-repeat; position: relative; flex: 0 0 auto; }
.n21-story .lv { position: absolute; top: 4px; left: 4px; background: #e2231a; font-size: 9px; font-weight: 800; padding: 2px 5px; border-radius: 2px; letter-spacing: .5px; }
.n21-story .cat { color: #ff5b52; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.n21-story .ttl { font-size: 15px; font-weight: 700; line-height: 1.18; margin: 3px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.n21-story .ago { font-size: 11px; color: #8aa0c8; letter-spacing: .5px; }

/* Weather list */
.n21-wx { display: flex; flex-direction: column; }
.n21-wx-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 2px; border-bottom: 1px solid rgba(255,255,255,.07); }
.n21-wx-row:last-child { border-bottom: 0; }
.n21-wx-row .nm { font-size: 15px; color: #dbe4f5; }
.n21-wx-row .rt { display: flex; align-items: center; gap: 9px; }
.n21-wx-row .ic { font-size: 19px; }
.n21-wx-row .tp { font-size: 17px; font-weight: 700; min-width: 40px; text-align: right; }

/* Centre video + lower third */
.n21-center { position: relative; min-height: 0; background: #06101f; }
.n21-center .media { position: absolute; inset: 0; }
.n21-center .media video, .n21-center .media .hero-yt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #06101f; }
.n21-standby { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(900px 600px at 50% 35%, #16306a, #081428 70%); }
.n21-standby .lg { font-family: var(--font-head); font-weight: 900; font-size: 120px; line-height: .9; letter-spacing: 2px; opacity: .9; text-align: center; }
.n21-standby .lg span { display: block; font-size: 54px; letter-spacing: 14px; }

.n21-lt { position: absolute; left: 18px; right: 18px; bottom: 16px; display: grid; grid-template-columns: 120px minmax(0,1fr) 218px; grid-template-rows: auto auto; box-shadow: 0 14px 40px rgba(0,0,0,.6); border-radius: 3px; overflow: hidden; }
.n21-lt .lt-logo { grid-column: 1; grid-row: 1; background: #e2231a; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; line-height: 1; }
.n21-lt .lt-logo .a { font-size: 30px; } .n21-lt .lt-logo .b { font-size: 15px; letter-spacing: 3px; margin-top: 2px; }
.n21-lt .lt-time { grid-column: 1; grid-row: 2; background: #0a1430; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 20px; padding: 8px 0; }
.n21-lt .lt-main { grid-column: 2; grid-row: 1; background: #fff; color: #0a1430; padding: 13px 24px 14px; display: flex; flex-direction: column; justify-content: center; }
.n21-lt .lt-breaking { align-self: flex-start; background: #e2231a; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; padding: 3px 10px; border-radius: 2px; margin-bottom: 9px; }
.n21-lt .lt-head { font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1.04; color: #0a1430; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.n21-lt .lt-sub { font-size: 17px; color: #46506a; margin-top: 7px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.n21-lt .lt-second { grid-column: 2; grid-row: 2; background: #e9edf4; color: #0a1430; padding: 9px 24px; font-size: 16px; display: flex; gap: 10px; align-items: center; min-width: 0; }
.n21-lt .lt-second .c { color: #e2231a; font-weight: 800; flex: 0 0 auto; }
.n21-lt .lt-second .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n21-lt .lt-index { grid-column: 3; grid-row: 1 / span 2; background: #0a1838; padding: 11px 16px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border-left: 1px solid rgba(255,255,255,.12); }
.n21-lt .lt-index .lbl { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: #cdd9f2; }
.n21-lt .lt-index svg { width: 100%; height: 34px; display: block; }
.n21-lt .lt-index .val { font-size: 22px; font-weight: 800; font-family: var(--mono); }
.n21-lt .lt-index .chg { font-size: 14px; font-weight: 700; }

/* Right column cards */
.n21-card { border: 1px solid rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.025); }
.n21-card .hd { color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 1px; padding: 8px 13px; }
.n21-card .hd.red { background: #e2231a; }
.n21-card .hd.nav { background: #16295c; }
.n21-direkt .img { height: 168px; background: #1a2c55 center/cover no-repeat; }
.n21-direkt .cap { padding: 9px 13px; font-size: 14px; color: #dbe4f5; }
.n21-rate { display: grid; grid-template-columns: 1fr auto 78px; align-items: center; gap: 8px; padding: 9px 13px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 15px; }
.n21-rate:last-child { border-bottom: 0; }
.n21-rate .pair { color: #cdd9f2; } .n21-rate .val { font-weight: 700; font-family: var(--mono); text-align: right; }
.n21-rate .chg { font-size: 13px; font-weight: 700; text-align: right; }
.n21-comm { padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.n21-comm .lbl { font-size: 17px; font-weight: 800; letter-spacing: 1px; }
.n21-comm .sub { font-size: 12px; color: #8aa0c8; letter-spacing: 1px; }
.n21-comm .val { font-family: var(--mono); font-size: 26px; font-weight: 800; }
.n21-comm .chg { font-size: 14px; font-weight: 700; }
.n21-comm svg { grid-column: 1 / -1; width: 100%; height: 40px; }

/* Ticker */
.n21-ticker { display: flex; align-items: stretch; background: #0a1430; border-top: 2px solid #e2231a; overflow: hidden; }
.n21-ticker .tag { flex: 0 0 auto; background: #e2231a; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 1px; display: flex; align-items: center; padding: 0 20px; }
.n21-ticker .view { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; }
.n21-ticker .track { display: inline-flex; white-space: nowrap; will-change: transform; animation: marquee linear infinite; }
.n21-ticker .it { padding: 0 24px; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 24px; }
.n21-ticker .it::before { content: "•"; color: #e2231a; font-size: 14px; }

/* Programme strip */
.n21-prog { display: grid; grid-template-columns: 1.15fr 1.15fr 1.3fr 1.3fr .85fr; background: linear-gradient(180deg, #0e2150, #0a1734); border-top: 1px solid rgba(255,255,255,.12); }
.n21-prog > div { padding: 14px 18px; border-left: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; }
.n21-prog > div:first-child { border-left: 0; }
.prog-lbl { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: #9fb6e0; }
.prog-ttl { font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1.05; }
.prog-host { font-size: 14px; color: #cdd9f2; } .prog-time { font-size: 14px; color: #8aa0c8; }
.n21-prog .prog-show, .n21-prog .prog-feat { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: center; }
.prog-show .photo, .prog-feat .img { width: 96px; height: 96px; border-radius: 6px; background: #1a2c55 center/cover no-repeat; flex: 0 0 auto; }
.prog-feat .img { height: 86px; }
.prog-feat .txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.prog-feat .ttl2 { font-size: 16px; font-weight: 700; line-height: 1.18; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prog-feat .cta { font-size: 13px; font-weight: 700; color: #7fa0d8; }
.prog-brand { background: #e2231a; align-items: center; text-align: center; gap: 4px; }
.prog-brand .b { font-family: var(--font-head); font-weight: 900; font-size: 30px; line-height: 1; }
.prog-brand .tag { font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.prog-brand .site { font-size: 12px; opacity: .95; } .prog-brand .soc { font-size: 13px; letter-spacing: 4px; margin-top: 2px; }
