/* TELE-MAB TV — site styles */
:root {
  color-scheme: dark;
  --bg: #040915;
  --bg-2: #07122a;
  --panel: #0b1730;
  --panel-2: #102042;
  --line: #1b2f57;
  --text: #ffffff;
  --muted: #aebbd6;
  --dim: #7488ad;
  --red: #e3192b;
  --red-2: #b30015;
  --blue: #2f7bff;
  --blue-soft: #4da3ff;
  --radius: 14px;
  --header-h: 72px;
  --wrap: 1400px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 75% -10%, #0e2a63 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 10%, #1a0b2a55 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px;
  font-weight: 800; font-size: 15px; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn--live {
  background: linear-gradient(180deg, #f22a3b, var(--red-2));
  color: #fff; text-transform: uppercase;
  box-shadow: 0 6px 18px #e3192b55, inset 0 1px 0 #ff8a95aa;
}
.btn--live:hover { transform: translateY(-1px); box-shadow: 0 10px 24px #e3192b77, inset 0 1px 0 #ff8a95aa; }
.btn--ghost { background: #ffffff10; color: #fff; border: 1px solid #ffffff22; }
.btn--ghost:hover { background: #ffffff1c; }
.btn .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 #fff; animation: pulse 1.6s infinite; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 #ffffffaa; }
  70% { box-shadow: 0 0 0 8px #ffffff00; }
  100% { box-shadow: 0 0 0 0 #ffffff00; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #040a18f2, #050c1dea);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #ffffff14;
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; flex: none; }
.brand__word { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 26px; letter-spacing: -.02em; }
.brand__tv {
  display: inline-block; background: linear-gradient(180deg, #f22a3b, var(--red-2));
  color: #fff; padding: 3px 8px 4px; border-radius: 5px; transform: skewX(-8deg);
  box-shadow: 0 3px 12px #e3192b66;
}
.brand__tv > span { display: inline-block; transform: skewX(8deg); }
.brand__logo { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.brand__tag { margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }

.site-nav { flex: 1; }
.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; justify-content: center; }
.site-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px;
  color: #d9e3f7; font-weight: 600; font-size: 15px; text-decoration: none; position: relative;
}
.site-nav a:hover { color: #fff; background: #ffffff0d; }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--red);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  background: #ffffff0c; border: 1px solid #ffffff1a; color: #fff;
}
.icon-btn:hover { background: #ffffff1a; }
.nav-toggle { display: none; }

.subbar { background: linear-gradient(90deg, var(--red-2), var(--red) 30%, #8d0012); border-bottom: 1px solid #ff5b6a55; }
.subbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.subbar__tz { font-weight: 700; letter-spacing: .06em; text-transform: none; opacity: .95; text-align: right; }

@media (max-width: 1180px) {
  .site-nav a { padding: 0 10px; }
  .brand__tag { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .site-header__inner { gap: 10px; }
  .brand__word { font-size: 21px; }
  .brand__tag { display: block; font-size: 9px; letter-spacing: .1em; margin-top: 4px; }
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: #050c1d; border-bottom: 1px solid #ffffff1a;
    padding: 8px 16px 20px; box-shadow: 0 24px 40px #000a;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { min-height: 52px; font-size: 17px; padding: 0 12px; }
  .site-nav a[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .btn--live { padding: 0 14px; font-size: 13px; }
  .subbar__inner { flex-direction: column; justify-content: center; gap: 2px; padding-block: 6px; text-align: center; font-size: 10px; letter-spacing: .14em; }
  .subbar__tz { font-size: 11px; letter-spacing: .02em; overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  .brand__word { font-size: 18px; }
  .header-actions .btn--live .label-long { display: none; }
  .header-actions .icon-btn { width: 40px; height: 40px; }
}
@media (min-width: 401px) { .header-actions .btn--live .label-short { display: none; } }

/* ---------- watch area ---------- */
main { display: block; }
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding-block: 24px 8px; align-items: start; }
.watch--theater { grid-template-columns: minmax(0, 1fr) 340px; }

@media (max-width: 1100px) {
  .watch, .watch--theater { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 700px) and (max-width: 1100px) {
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .sidebar > * { margin: 0 !important; }
}
@media (max-width: 600px) {
  .wrap.watch { width: 100%; padding-top: 0; }
  .wrap.watch > .sidebar, .wrap.watch .broadcast-title { padding-inline: 16px; }
  .wrap.watch .player { border-radius: 0; border-inline: 0; }
}

/* ---------- player ---------- */
.player {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #23427a;
  box-shadow: 0 30px 60px -20px #000c, 0 0 0 1px #ffffff08, 0 0 60px -10px #2f7bff33;
  isolation: isolate;
}
@supports not (aspect-ratio: 1) {
  .player { height: 0; padding-top: 56.25%; }
}
.player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player.is-fullscreen { border-radius: 0; border: 0; }

.player__badges { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; gap: 8px; pointer-events: none; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 6px;
  font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}
.badge--live { background: var(--red); color: #fff; box-shadow: 0 4px 14px #e3192b88; }
.badge--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
.badge--state { background: #0009; color: #dbe5f8; border: 1px solid #ffffff2a; backdrop-filter: blur(6px); }
.player[data-state="error"] .badge--state,
.player[data-state="offline"] .badge--state { color: #ffb3ba; border-color: #e3192b88; }

.player__overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center; pointer-events: none;
}
.player__overlay > * { pointer-events: auto; }
.player[data-state="error"] .player__overlay,
.player[data-state="offline"] .player__overlay,
.player[data-state="retrying"] .player__overlay { background: #02060fcc; }
.player[data-state="idle"] .player__overlay,
.player[data-state="paused"] .player__overlay { background: linear-gradient(180deg, #0000, #0006); }

.player__bigplay {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 0;
  background: linear-gradient(180deg, #f22a3b, var(--red-2)); color: #fff;
  box-shadow: 0 10px 30px #e3192b88, 0 0 0 8px #e3192b33;
  transition: transform .15s ease;
}
.player__bigplay .icon { width: 38px; height: 38px; margin-left: 5px; }
.player__bigplay:hover { transform: scale(1.06); }
.player__message { margin: 0; max-width: 520px; font-size: clamp(14px, 2.2vw, 17px); font-weight: 600; color: #e6edfb; text-shadow: 0 1px 8px #000; }
.player[data-state="playing"] .player__message,
.player[data-state="buffering"] .player__message { display: none; }

.spinner { width: 54px; height: 54px; border-radius: 50%; border: 4px solid #ffffff2a; border-top-color: var(--red); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.player__unmute {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid #ffffff33;
  background: #000b; color: #fff; font-weight: 700; font-size: 14px;
}
.player__unmute:hover { background: #000e; }

.player__controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: 6px; padding: 32px 12px 10px;
  background: linear-gradient(180deg, #0000, #000d);
  transition: opacity .25s ease, transform .25s ease;
}
.player.is-ui-hidden .player__controls { opacity: 0; transform: translateY(8px); pointer-events: none; }
.player.is-ui-hidden { cursor: none; }
.ctrl {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 0;
  background: transparent; color: #fff;
}
.ctrl:hover { background: #ffffff1c; }
.ctrl .icon { width: 24px; height: 24px; }
.player__volume { width: 96px; accent-color: var(--red); cursor: pointer; }
.player__status {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; font-size: 13px; font-weight: 700; color: #dbe5f8;
  letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.player[data-state="playing"] .player__status::before { background: var(--red); box-shadow: 0 0 8px var(--red); }
.player[data-state="error"] .player__status::before,
.player[data-state="offline"] .player__status::before { background: #ff6b78; }
.player__spacer { flex: 1; }
@media (hover: none) { .player__volume { display: none; } }
@media (max-width: 480px) {
  .player__badges { top: 10px; left: 10px; }
  .player__bigplay { width: 68px; height: 68px; }
  .player__bigplay .icon { width: 30px; height: 30px; }
  .player__controls { padding: 24px 6px 4px; gap: 2px; }
}

/* title under player */
.broadcast-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 2px 4px; }
.broadcast-title h1, .broadcast-title h2 {
  margin: 0; font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); line-height: 1.1; letter-spacing: -.01em;
}
.broadcast-title .kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.broadcast-title .tagline { margin: 6px 0 0; color: var(--muted); font-size: clamp(14px, 1.6vw, 17px); }
.broadcast-title__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.onair {
  display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: 5px;
  font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  background: #ffffff10; color: var(--muted); border: 1px solid #ffffff1f;
}
.onair::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.onair.is-on { background: #e3192b22; color: #ff9aa3; border-color: #e3192b77; }
.onair.is-on::before { background: var(--red); box-shadow: 0 0 8px var(--red); animation: pulse 1.6s infinite; }
.onair.is-off { color: #ff9aa3; }

/* ---------- sidebar ---------- */
.panel { background: linear-gradient(180deg, var(--panel), #08132a); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.panel + .panel { margin-top: 16px; }
.panel__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.panel__label--live { color: #ff6c78; }
.nowplaying { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; text-decoration: none; }
.nowplaying__thumb { border-radius: 8px; overflow: hidden; border: 1px solid #23427a; aspect-ratio: 16/9; background: #000; }
.nowplaying__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nowplaying__title { display: block; margin: 0 0 4px; font-weight: 800; font-size: 16px; line-height: 1.25; }

.lineup { list-style: none; margin: 0; padding: 0; }
.lineup__item + .lineup__item { border-top: 1px solid #ffffff10; }
.lineup__item a {
  display: grid; grid-template-columns: 78px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 11px 8px; margin-inline: -8px; border-radius: 8px; text-decoration: none; min-height: 56px;
}
.lineup__item a:hover { background: #ffffff0a; }
.lineup__time { grid-row: span 2; font-weight: 800; font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.lineup__time.is-tba { font-size: 11px; font-weight: 700; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.lineup__title { font-weight: 700; }
.lineup__cat { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.panel__note { margin: 12px 0 0; font-size: 12.5px; color: var(--dim); line-height: 1.45; }
.panel__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--blue-soft); font-weight: 700; font-size: 14px; text-decoration: none; min-height: 32px; }
.panel__link:hover { text-decoration: underline; }

/* ---------- sections ---------- */
.section { padding-block: 32px 8px; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section__title { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.01em; display: flex; align-items: center; gap: 12px; }
.section__title::before { content: ""; width: 5px; height: 1.05em; border-radius: 2px; background: var(--red); }
.section__more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--blue-soft); font-weight: 700; text-decoration: none; }
.section__more:hover { color: #fff; }
.section__note { margin: 10px 0 0; color: var(--dim); font-size: 13px; }

/* categories */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 132px; padding: 18px;
  border-radius: var(--radius); text-decoration: none; overflow: hidden;
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%, #08132a);
  border: 1px solid var(--line);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(.25); transform-origin: left; transition: transform .25s ease; }
.tile:hover, .tile:focus-visible { transform: translateY(-3px); border-color: #e3192b88; box-shadow: 0 14px 30px -12px #e3192b66; }
.tile:hover::after, .tile:focus-visible::after { transform: scaleX(1); }
.tile__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #e3192b1f; color: #ff5263; border: 1px solid #e3192b55; }
.tile__icon .icon { width: 26px; height: 26px; }
.tile__name { font-weight: 800; font-size: 17px; }
.tile__desc { margin-top: -10px; color: var(--dim); font-size: 13px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles li:first-child { grid-column: span 2; }
  .tile { min-height: 0; flex-direction: row; align-items: center; padding: 14px; }
  .tile__desc { display: none; }
  .tile__icon { width: 42px; height: 42px; }
  .tile__name { font-size: 15px; }
}

/* featured cards */
.cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px;
  list-style: none; margin: 0; padding: 0 0 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: #2a467a transparent;
}
.cards--grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; }
.card { scroll-snap-align: start; }
.card__link {
  display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card__link:hover, .card__link:focus-visible { transform: translateY(-3px); border-color: #e3192b88; box-shadow: 0 16px 32px -14px #000; }
.card__media { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card__link:hover .card__media img { transform: scale(1.04); }
.card__tag { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 4px; background: #000a; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card__body { padding: 14px 16px 18px; }
.card__title { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.card__desc { margin: 0; color: var(--muted); font-size: 14px; }
.card__time { margin: 10px 0 0; color: #ff8a95; font-weight: 700; font-size: 13px; }
@media (max-width: 600px) { .cards { grid-auto-columns: 78%; } }

/* ---------- inner pages ---------- */
.page-hero { padding-block: 40px 8px; }
.page-hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 5vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.page-hero p { margin: 12px 0 0; max-width: 720px; color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); }
.eyebrow { display: inline-block; margin-bottom: 10px; color: #ff6c78; font-size: 13px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.notice {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 10px;
  background: #2f7bff14; border: 1px solid #2f7bff44; color: #cfe0ff; font-size: 14px; max-width: 860px;
}
.notice .icon { color: var(--blue-soft); margin-top: 2px; }
.prose { max-width: 760px; color: #d4def2; }
.prose h2 { color: #fff; font-size: 22px; margin: 28px 0 8px; }
.prose a { color: var(--blue-soft); }

.show-block { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 28px; align-items: center; padding: 22px; margin-top: 18px; }
.show-block img { border-radius: 10px; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.show-block h2 { margin: 0 0 6px; font-size: 24px; }
.show-block p { margin: 0 0 14px; color: var(--muted); }
@media (max-width: 760px) { .show-block { grid-template-columns: 1fr; gap: 16px; padding: 14px; } }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.schedule { width: 100%; border-collapse: collapse; background: var(--panel); min-width: 520px; }
.schedule th, .schedule td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #ffffff10; }
.schedule thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); background: #0e1c3a; }
.schedule tbody th a { color: #fff; font-weight: 700; text-decoration: none; }
.schedule tbody th a:hover { text-decoration: underline; }
.schedule tbody tr:last-child > * { border-bottom: 0; }
.tba { color: var(--dim); font-style: italic; }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 22px 0 0; }
.feature-list li { padding: 18px; }
.feature-list .icon { width: 28px; height: 28px; color: #ff5263; margin-bottom: 10px; }
.feature-list strong { display: block; margin-bottom: 4px; }
.feature-list span { color: var(--muted); font-size: 14px; }

.about-poster { max-width: 420px; border-radius: var(--radius); border: 1px solid #23427a; box-shadow: 0 0 40px #2f7bff33; }

/* ---------- search dialog ---------- */
.search { width: min(100% - 24px, 620px); margin: 10vh auto auto; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #081329; color: #fff; box-shadow: 0 40px 80px #000c; }
.search::backdrop { background: #000a; backdrop-filter: blur(4px); }
.search form { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid #ffffff14; }
.search form .icon { margin-left: 6px; color: var(--muted); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font-size: 18px; outline: none; }
.search ul { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow-y: auto; }
.search li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; min-height: 48px; }
.search li a:hover, .search li a:focus-visible { background: #ffffff10; }
.search li small { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.search__hint { padding: 14px; color: var(--dim); }

/* ---------- footer ---------- */
.site-footer { margin-top: 56px; border-top: 1px solid #ffffff14; background: #030712; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-block: 28px; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: 14px; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer nav a:hover { color: #fff; }
.site-footer small { color: var(--dim); }

/* Large screens / TV browsers: bigger targets and type */
@media (min-width: 1800px) {
  :root { --wrap: 1680px; }
  body { font-size: 18px; }
  .site-nav a { font-size: 17px; }
  .tile__name { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Phones in landscape: keep the whole player within the viewport */
@media (orientation: landscape) and (max-height: 600px) {
  .subbar { display: none; }
  .watch { padding-top: 8px; }
  .watch .player { width: min(100%, calc((100svh - var(--header-h) - 16px) * 16 / 9)); margin-inline: auto; }
}

/* ---------- newsroom: story listing and story pages ---------- */
.news-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: #d9e3f7; font-weight: 700; }
.chip:hover { border-color: #e3192b88; }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.news-search { flex: 1 1 220px; max-width: 360px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #050d20; color: #fff; }
.card__meta { margin: 10px 0 0; color: var(--dim); font-size: 13px; }
/* Story cards: photos arrive uncropped; keep the top of the frame (faces, heads) in view, and give
   every card the same rhythm — headline and subtitle clamp cleanly, the date sits on the bottom edge. */
/* Story photos are shown whole (never cropped) inside the 16:9 frame; a blurred, dimmed copy of the
   same photo fills the side bands so portraits sit in a clean, consistent image area. */
[data-news-list] .card__media img { position: absolute; inset: 0; }
[data-news-list] .card__media .card__backdrop { object-fit: cover; filter: blur(18px) brightness(.5) saturate(1.1); transform: scale(1.2); }
[data-news-list] .card__media .card__photo { object-fit: contain; object-position: 50% 0; }
[data-news-list] .card__link:hover .card__media .card__backdrop { transform: scale(1.2); }
[data-news-list] .card__link:hover .card__media .card__photo { transform: scale(1.02); }
[data-news-list] .card__body { display: flex; flex: 1; flex-direction: column; }
[data-news-list] .card__title { font-size: 18px; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
[data-news-list] .card__desc { line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
[data-news-list] .card__meta { margin-top: auto; padding-top: 12px; }
/* Home "Latest News" strip: fixed card widths, so one or two stories don't stretch across the page. */
@media (min-width: 601px) { [data-latest] .cards { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1000px) { [data-latest] .cards { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1200px) { [data-latest] .cards { grid-auto-columns: calc((100% - 48px) / 4); } }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 20px; color: var(--muted); }
.pager:empty { display: none; }

.story { max-width: 860px; padding-block: 32px 8px; }
.story__head h1 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 4.6vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
.story__head .eyebrow { text-decoration: none; }
.story__sub { margin: 12px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
.story__meta { margin: 14px 0; color: var(--dim); font-size: 14px; }
.story__meta b { color: #fff; }
.story__hero { margin: 22px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.story__hero img { display: block; width: 100%; height: auto; max-height: min(88vh, 1100px); object-fit: contain; }
.story__video { position: relative; aspect-ratio: 16 / 9; margin: 22px 0; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.story__video iframe, .story__video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story__body { font-size: 18px; line-height: 1.75; max-width: none; }
.story__body blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--red); color: #fff; font-size: 1.1em; }
.story__gallery ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; list-style: none; margin: 14px 0 0; padding: 0; }
.story__gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 15%; border-radius: 10px; border: 1px solid var(--line); }
.story__gallery span { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; }
.story__tags span { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 999px; background: #ffffff0f; color: var(--muted); font-size: 13px; }

/* Very narrow phones (≤360px): keep header actions on screen */
@media (max-width: 360px) {
  .site-header__inner { gap: 6px; }
  .brand__word { font-size: 16px; }
  .brand__tag { font-size: 8px; letter-spacing: .06em; }
  .header-actions { gap: 4px; }
  .header-actions .icon-btn { width: 38px; height: 38px; }
  .header-actions .btn--live { padding: 0 10px; }
}
