:root {
  --tv-ink: #102235;
  --tv-copy: #40566a;
  --tv-muted: #6c7f90;
  --tv-line: #dce6ed;
  --tv-soft: #f3f7f9;
  --tv-white: #fff;
  --tv-blue: #087fba;
  --tv-blue-deep: #07547d;
  --tv-aqua: #3fc8bd;
  --tv-aqua-soft: #ddf7f3;
  --tv-gold: #edb83f;
  --tv-shadow: 0 18px 45px rgba(18, 48, 70, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--tv-ink); font-family: Inter, Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #f2bd3f;
  outline-offset: 3px;
}

body.tv-page { overflow-x: hidden; background: #fff !important; }
body.tv-page .owos-crumbs { display: none; }
body.owosd main#main.tv-app {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
}

.tv-topbar {
  display: grid;
  width: 100%;
  min-height: 72px;
  grid-template-columns: 226px minmax(320px, 680px) minmax(190px, 1fr);
  gap: 26px;
  padding: 10px 22px;
  align-items: center;
  border-bottom: 1px solid var(--tv-line);
  background: rgba(255, 255, 255, .97);
}
.tv-topbar > * { min-width: 0; }

.tv-brand {
  display: flex;
  min-width: 0;
  gap: 10px;
  align-items: center;
  color: var(--tv-ink);
  text-decoration: none;
}

.tv-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e7faf7, #caedf8);
}

.tv-brand-mark img { width: 47px; height: 47px; object-fit: contain; object-position: top center; }
.tv-brand > span:last-child { display: grid; font-size: 1.02rem; font-weight: 650; letter-spacing: -.025em; line-height: 1; }
.tv-brand b { color: var(--tv-blue); }
.tv-brand small { margin-top: 5px; color: var(--tv-muted); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.tv-global-search {
  position: relative;
  display: flex;
  height: 44px;
  align-items: center;
  border: 1px solid #cbd9e2;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(16, 46, 66, .06);
  overflow: hidden;
}

.tv-global-search input { min-width: 0; height: 100%; flex: 1; padding: 0 8px 0 18px; border: 0; outline: 0; background: transparent; color: var(--tv-ink); }
body.owosd.tv-page .tv-global-search input { border: 0 !important; border-radius: 999px 0 0 999px !important; background: transparent !important; font-size: .9rem !important; }
.tv-global-search input::placeholder { color: #7b8d9c; }
.tv-global-search kbd { margin: 0 8px; padding: 4px 8px; border: 1px solid var(--tv-line); border-radius: 6px; background: var(--tv-soft); color: var(--tv-muted); font: 600 .68rem Inter, sans-serif; }
.tv-search-clear, .tv-search-submit { display: grid; flex: 0 0 auto; place-items: center; border: 0; cursor: pointer; }
.tv-search-clear { width: 36px; height: 36px; border-radius: 50%; background: transparent; color: #40566a; font-size: 1.35rem; }
.tv-search-clear:hover { background: #edf3f6; }
.tv-search-submit { width: 62px; height: 44px; margin: -1px; border-left: 1px solid #cbd9e2; border-radius: 0 999px 999px 0; background: #f4f7f9; color: #173d55; font-size: 1.3rem; }
.tv-search-submit:hover { background: #e9f0f4; }

.tv-topbar-note { display: flex; gap: 9px; align-items: center; justify-content: flex-end; color: var(--tv-copy); font-size: .78rem; font-weight: 600; }
.tv-topbar-note i { width: 9px; height: 9px; border-radius: 50%; background: #29b99f; box-shadow: 0 0 0 5px #def6f1; }

.tv-shell { display: grid; width: 100%; grid-template-columns: 226px minmax(0, 1fr); align-items: start; }

.tv-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  border-right: 1px solid var(--tv-line);
  background: #fff;
}

.tv-rail-scroll { height: 100%; padding: 18px 12px 40px; overflow-y: auto; scrollbar-width: thin; }
.tv-rail-nav, .tv-rail-links { display: grid; gap: 3px; }
.tv-rail-nav button, .tv-rail-links button, .tv-rail-links a {
  display: grid;
  width: 100%;
  min-height: 45px;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 11px;
  align-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #314a5e;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.tv-rail-nav button:hover, .tv-rail-links button:hover, .tv-rail-links a:hover { background: #f1f6f8; }
.tv-rail-nav button.on { background: #e5f3fa; color: #075c89; }
.tv-rail-nav button > span, .tv-rail-links span { color: var(--tv-blue); font-size: 1.05rem; text-align: center; }
.tv-rail-nav b, .tv-rail-links b { overflow: hidden; font-size: .77rem; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; }

.tv-rail-filter { margin: 18px 4px 12px; padding: 16px 9px; border-block: 1px solid var(--tv-line); }
.tv-rail-filter > p { margin: 0 0 12px; color: var(--tv-muted); font-size: .64rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.tv-rail-filter label { display: grid; gap: 5px; margin-top: 10px; color: var(--tv-muted); font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.tv-rail-filter select { width: 100%; min-height: 39px; padding: 0 9px; border: 1px solid #cad9e2; border-radius: 8px; background: #fff; color: var(--tv-ink); font-size: .76rem; }
body.owosd.tv-page .tv-rail-filter select { border: 1px solid #cad9e2 !important; border-radius: 8px !important; font-size: .76rem !important; }
.tv-rail-links { margin-top: 8px; }
.tv-rail-count { margin: 20px 10px 0; color: var(--tv-muted); font-size: .69rem; line-height: 1.5; }

.tv-content { width: 100%; min-width: 0; max-width: none; padding: 22px 28px 80px; }

.tv-channel-banner {
  position: relative;
  display: grid;
  min-height: 190px;
  grid-template-columns: 132px minmax(0, 1fr) minmax(260px, 360px);
  gap: 26px;
  padding: 26px 30px;
  overflow: hidden;
  align-items: center;
  border: 1px solid #cce8ed;
  border-radius: 20px;
  background:
    radial-gradient(circle at 95% 0, rgba(81, 198, 229, .3), transparent 34%),
    linear-gradient(115deg, #e6faf6, #f2fbff 62%, #e6f2ff);
}

.tv-channel-banner::after {
  position: absolute;
  right: -80px;
  bottom: -115px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(4, 120, 174, .14);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 34px rgba(4,120,174,.045), 0 0 0 68px rgba(4,120,174,.035);
}

.tv-banner-avatar {
  position: relative;
  z-index: 1;
  width: 126px;
  height: 126px;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: #d9f5f1;
  box-shadow: 0 12px 30px rgba(24, 92, 109, .15);
}
.tv-banner-avatar img { width: 140px; height: 140px; object-fit: contain; object-position: center top; transform: translate(-7px, 3px); }

.tv-banner-copy { position: relative; z-index: 1; min-width: 0; }
.tv-banner-copy p, .tv-grid-head p, .tv-daily-drop p, .tv-queue-head p, .tv-dialog-head p {
  margin: 0 0 7px;
  color: var(--tv-blue-deep);
  font-size: .65rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tv-banner-copy h1 { margin: 0; color: var(--tv-ink); font-size: clamp(2rem, 3.4vw, 3.6rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.02; }
.tv-banner-copy > span { display: block; max-width: 720px; margin-top: 12px; color: var(--tv-copy); font-size: .92rem; line-height: 1.55; }
.tv-banner-proof { position: relative; z-index: 1; display: grid; gap: 7px; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.68); }
.tv-banner-proof b { color: #0b6e76; font-size: .79rem; }
.tv-banner-proof span { color: var(--tv-copy); font-size: .77rem; line-height: 1.5; }

.tv-chip-row { display: flex; gap: 8px; margin: 20px 0 6px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.tv-chip-row::-webkit-scrollbar { display: none; }
.tv-chip-row button {
  min-height: 36px;
  padding: 8px 13px;
  flex: 0 0 auto;
  border: 1px solid #d5e1e8;
  border-radius: 9px;
  background: #f3f6f8;
  color: #304a5e;
  cursor: pointer;
  font-size: .74rem;
  font-weight: 600;
}
.tv-chip-row button:hover { background: #e7f1f5; }
.tv-chip-row button.on { border-color: var(--tv-blue); background: var(--tv-blue); color: #fff; }

.tv-grid-head { display: flex; min-height: 78px; padding: 20px 2px 14px; align-items: end; justify-content: space-between; gap: 20px; }
.tv-grid-head h2, .tv-queue-head h2 { margin: 0; color: var(--tv-ink); font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: 650; letter-spacing: -.03em; }
.tv-grid-head > span { color: var(--tv-muted); font-size: .76rem; font-weight: 700; }

.tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 30px 18px; }
.tv-card { min-width: 0; }
.tv-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #0b6f9f, #12a9ad);
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(20, 55, 76, .11);
  transform: translateZ(0);
}
.tv-card-media::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  padding-left: 3px;
  place-items: center;
  border-radius: 50%;
  background: rgba(5, 127, 184, .96);
  color: #fff;
  content: "▶";
  opacity: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transform: translate(-50%, -42%) scale(.92);
  transition: opacity .18s ease, transform .18s ease;
}
.tv-card-media:hover::after, .tv-card-media:focus-visible::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tv-card-image { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tv-card-media:hover .tv-card-image { transform: scale(1.025); }
.tv-card-media.missing .tv-card-image { display: none; }
.tv-thumb-fallback { position: absolute; inset: 0; display: grid; padding: 22px; align-content: end; background: linear-gradient(140deg, #07557f, #0796ba 55%, #38c7b7); color: #fff; }
.tv-thumb-fallback span { font-size: .66rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.tv-thumb-fallback b { max-width: 90%; margin-top: 7px; font-size: 1.2rem; line-height: 1.1; }
.tv-card-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(0, 18, 30, .45), transparent 42%); }
.tv-duration { position: absolute; right: 8px; bottom: 8px; z-index: 3; padding: 4px 6px; border-radius: 4px; background: rgba(0,0,0,.83); color: #fff; font-size: .67rem; font-weight: 650; }
.tv-format-badge { position: absolute; top: 9px; left: 9px; z-index: 3; padding: 5px 7px; border-radius: 6px; background: rgba(255,255,255,.93); color: #075880; font-size: .58rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.tv-card-body { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 12px 3px 0; }
.tv-card-avatar { width: 36px; height: 36px; overflow: hidden; border-radius: 50%; background: #dff6f2; }
.tv-card-avatar img { width: 40px; height: 40px; object-fit: contain; object-position: top; }
.tv-card-text { min-width: 0; }
.tv-card-title { display: -webkit-box; margin: 0; overflow: hidden; color: var(--tv-ink); font-size: .91rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tv-card-series { margin: 6px 0 0; color: var(--tv-muted); font-size: .71rem; }
.tv-card-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; color: var(--tv-muted); font-size: .68rem; }
.tv-card-meta span + span::before { margin-right: 5px; content: "•"; }

.tv-empty { grid-column: 1 / -1; padding: 70px 20px; border: 1px dashed #b9ccd7; border-radius: 16px; background: #fbfdfe; color: var(--tv-copy); text-align: center; }
.tv-empty h2 { margin: 0 0 8px; color: var(--tv-ink); }

.tv-daily-drop { display: grid; grid-template-columns: 1fr minmax(260px, 440px); gap: 30px; margin-top: 70px; padding: 28px 32px; align-items: center; border: 1px solid #bde8e1; border-radius: 18px; background: linear-gradient(120deg, #e5faf6, #f5fcfb); }
.tv-daily-drop h2 { margin: 0; color: var(--tv-ink); font-size: 1.7rem; letter-spacing: -.04em; }
.tv-daily-drop > div > span { display: block; margin-top: 8px; color: var(--tv-copy); font-size: .82rem; }
.tv-daily-drop audio { width: 100%; }

.tv-back { display: inline-flex; min-height: 38px; gap: 8px; margin-bottom: 14px; padding: 8px 12px; align-items: center; border: 0; border-radius: 9px; background: #eff4f7; color: #27485f; cursor: pointer; font-size: .77rem; font-weight: 600; }
.tv-back:hover { background: #e4eef3; }
.tv-watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 402px); gap: 24px; align-items: start; }
.tv-watch-primary { min-width: 0; }
.tv-watch-player { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #07131c; }
.tv-watch-player iframe, .tv-watch-player video { position: absolute; inset: 0; z-index: 1; display: none; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; opacity: 0; transition: opacity .18s ease; }
.tv-watch-player iframe.ready, .tv-watch-player video.ready { opacity: 1; }
.tv-watch-poster { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; background: #07131c; }
.tv-watch-poster[hidden] { display: none; }
.tv-watch-player::after { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(0, 18, 30, .26), transparent 48%); content: ""; }
.tv-watch-player.playing::after { display: none; }
.tv-watch-loading { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; gap: 12px; background: rgba(4, 18, 28, .28); color: #fff; text-align: center; }
.tv-watch-loading span { width: 42px; height: 42px; margin: auto; border: 4px solid rgba(255,255,255,.2); border-top-color: #4bd4c5; border-radius: 50%; animation: tv-spin 1s linear infinite; }
.tv-watch-loading b { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.tv-watch-play { position: absolute; top: 50%; left: 50%; z-index: 5; display: flex; min-width: 148px; min-height: 52px; gap: 10px; padding: 10px 18px; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: rgba(3, 126, 183, .96); color: #fff; cursor: pointer; box-shadow: 0 12px 34px rgba(0,0,0,.3); transform: translate(-50%, -50%); }
.tv-watch-play:hover { background: #066d9f; }
.tv-watch-play span { font-size: 1rem; }
.tv-watch-play b { color: #fff; font-size: .82rem; }
@keyframes tv-spin { to { transform: rotate(360deg); } }

.tv-watch-info { padding: 17px 3px 0; }
.tv-watch-series { margin: 0 0 7px; color: var(--tv-blue-deep); font-size: .68rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.tv-watch-info > h1 { margin: 0; color: var(--tv-ink); font-size: clamp(1.18rem, 1.45vw, 1.35rem); font-weight: 600; letter-spacing: -.018em; line-height: 1.38; }
.tv-watch-action-row { display: flex; gap: 20px; margin-top: 18px; align-items: center; justify-content: space-between; }
.tv-watch-channel { display: flex; min-width: 0; gap: 10px; align-items: center; }
.tv-watch-channel img { width: 42px; height: 42px; border-radius: 50%; background: #def6f2; object-fit: contain; object-position: top; }
.tv-watch-channel span { display: grid; min-width: 0; gap: 3px; }
.tv-watch-channel b { overflow: hidden; font-size: .8rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.tv-watch-channel small { color: var(--tv-muted); font-size: .67rem; }
.tv-watch-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.tv-watch-actions button, .tv-watch-actions a { display: inline-flex; min-height: 40px; gap: 6px; padding: 9px 14px; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: #edf2f5; color: #244258; cursor: pointer; font-size: .75rem; font-weight: 600; text-decoration: none; }
.tv-watch-actions button span { font-size: .86rem; }
.tv-watch-actions button b { font-weight: 600; }
.tv-watch-actions button em { min-width: 10px; color: #526a7d; font-size: .68rem; font-style: normal; }
.tv-watch-actions button[aria-pressed="true"] { background: #dff5f1; color: #087761; }
.tv-watch-actions button:hover, .tv-watch-actions a:hover { background: #dfeaf0; }
.tv-watch-description { margin-top: 17px; padding: 16px 18px; border-radius: 12px; background: #f0f4f6; }
.tv-watch-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #244258; font-size: .72rem; font-weight: 600; }
.tv-watch-meta span + span::before { margin-right: 16px; color: #8ba0af; content: "•"; }
.tv-watch-description > p { margin: 11px 0 0; color: #344d60; font-size: .84rem; line-height: 1.62; }
.tv-watch-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tv-watch-topics span { padding: 5px 8px; border-radius: 999px; background: #dceaf0; color: #24536c; font-size: .62rem; font-weight: 600; }
.tv-share-note { min-height: 18px; margin-top: 8px; color: #0d7a58; font-size: .72rem; }
.tv-partner { margin-top: 9px; color: var(--tv-muted); font-size: .72rem; }
.tv-partner a { color: var(--tv-blue-deep); }

.tv-queue-head { display: flex; margin-bottom: 12px; align-items: end; justify-content: space-between; gap: 12px; }
.tv-queue-head h2 { font-size: 1.08rem; letter-spacing: -.02em; }
.tv-queue-head > span { color: var(--tv-muted); font-size: .68rem; }
.tv-queue-card { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 10px; margin-bottom: 12px; cursor: pointer; }
.tv-queue-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 0; border-radius: 9px; background: linear-gradient(135deg,#087bab,#26bfae); cursor: pointer; }
.tv-queue-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-queue-thumb.missing img { display: none; }
.tv-queue-thumb span { position: absolute; right: 5px; bottom: 5px; padding: 3px 5px; border-radius: 3px; background: rgba(0,0,0,.82); color: #fff; font-size: .6rem; font-weight: 650; }
.tv-queue-copy { min-width: 0; padding-top: 2px; }
.tv-queue-copy h3 { display: -webkit-box; margin: 0; overflow: hidden; color: var(--tv-ink); font-size: .79rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tv-queue-copy p { margin: 6px 0 0; color: var(--tv-muted); font-size: .65rem; }
.tv-queue-copy small { display: block; margin-top: 3px; color: var(--tv-muted); font-size: .62rem; }

.tv-transcript { margin-top: 16px; padding: 20px; border: 1px solid #d7e5eb; border-radius: 14px; background: #fbfdfe; }
.tv-transcript-head { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; }
.tv-transcript-head p { margin: 0 0 4px; color: var(--tv-blue-deep); font-size: .62rem; font-weight: 650; letter-spacing: .1em; }
.tv-transcript-head h2 { margin: 0; font-size: 1.06rem; font-weight: 600; letter-spacing: -.015em; }
.tv-transcript-head button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eaf1f4; color: var(--tv-copy); cursor: pointer; font-size: 1.2rem; }
.tv-transcript-note { margin: 9px 0 0; color: var(--tv-muted); font-size: .7rem; }
.tv-transcript-body { display: grid; gap: 12px; max-height: 340px; margin-top: 16px; padding-right: 8px; overflow-y: auto; }
.tv-transcript-line { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
.tv-transcript-line time { color: var(--tv-blue-deep); font-size: .68rem; font-weight: 600; }
.tv-transcript-line p { margin: 0; color: var(--tv-copy); font-size: .78rem; line-height: 1.62; }

.tv-episode-ad { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; margin-top: 16px; padding: 17px 18px; align-items: center; border: 1px solid #d7e7ea; border-radius: 14px; background: linear-gradient(120deg, #f2fbf9, #f5f9fd); }
.tv-ad-copy small { color: #687f8f; font-size: .59rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.tv-ad-copy h3 { margin: 5px 0 4px; color: var(--tv-ink); font-size: .88rem; font-weight: 600; }
.tv-ad-copy p { margin: 0; color: var(--tv-copy); font-size: .72rem; line-height: 1.5; }
.tv-episode-ad a { display: inline-flex; min-height: 38px; padding: 8px 13px; align-items: center; border-radius: 999px; background: #087fba; color: #fff; font-size: .7rem; font-weight: 600; text-decoration: none; white-space: nowrap; }

.tv-comments { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--tv-line); }
.tv-comments-head { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.tv-comments-head h2 { margin: 0; color: var(--tv-ink); font-size: 1.08rem; font-weight: 600; letter-spacing: -.018em; }
.tv-comments-head p { margin: 4px 0 0; color: var(--tv-muted); font-size: .7rem; }
.tv-comments-head label { display: flex; gap: 7px; align-items: center; color: var(--tv-muted); font-size: .66rem; }
.tv-comments-head select { min-height: 36px; padding: 6px 10px; border: 1px solid #d2dfe6; border-radius: 999px; background: #fff; color: var(--tv-copy); font-size: .7rem; }
.tv-comment-composer { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; margin-top: 17px; }
.tv-composer-avatar { width: 36px; height: 36px; overflow: hidden; border-radius: 50%; background: #def6f2; }
.tv-composer-avatar img { width: 40px; height: 40px; object-fit: contain; object-position: top; }
.tv-talk-form { display: grid; grid-template-columns: 1fr; gap: 9px; }
.tv-reply-context { display: flex; gap: 12px; padding: 8px 11px; align-items: center; justify-content: space-between; border-radius: 8px; background: #eaf5f9; color: #31546a; font-size: .68rem; }
.tv-reply-context button { border: 0; background: transparent; color: var(--tv-blue-deep); cursor: pointer; font-size: .68rem; font-weight: 600; }
.tv-comment-identity { border: 0; }
.tv-comment-identity summary { width: fit-content; color: var(--tv-blue-deep); cursor: pointer; font-size: .68rem; font-weight: 600; }
.tv-comment-identity > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 9px; }
.tv-thread { display: grid; gap: 17px; margin-top: 22px; }
.tv-thread-empty { padding: 18px; border-radius: 10px; background: var(--tv-soft); color: var(--tv-muted); font-size: .75rem; }
.tv-comment { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
.tv-comment-avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #e0f2f7; color: #136181; font-size: .7rem; font-weight: 650; }
.tv-comment-main { min-width: 0; }
.tv-comment-head { display: flex; flex-wrap: wrap; gap: 4px 9px; margin-bottom: 6px; font-size: .66rem; }
.tv-comment-head b { font-weight: 600; }
.tv-comment-head span { color: var(--tv-muted); }
.tv-comment p { margin: 0; color: var(--tv-copy); font-size: .76rem; line-height: 1.58; }
.tv-comment-actions { display: flex; gap: 6px; margin-top: 8px; align-items: center; }
.tv-comment-actions button { min-height: 30px; padding: 5px 9px; border: 0; border-radius: 999px; background: transparent; color: #385368; cursor: pointer; font-size: .66rem; font-weight: 600; }
.tv-comment-actions button:hover { background: #edf3f6; }
.tv-comment-actions button[aria-pressed="true"] { background: #e1f5f1; color: #087761; }
.tv-comment-replies { display: grid; gap: 14px; margin: 15px 0 0 14px; padding-left: 15px; border-left: 2px solid #e2ebf0; }
.tv-story-form { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.tv-talk-form input, .tv-talk-form select, .tv-talk-form textarea, .tv-story-form input, .tv-story-form select, .tv-story-form textarea { width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid #cad9e2; border-radius: 8px; background: #fff; color: var(--tv-ink); }
body.owosd.tv-page .tv-talk-form input, body.owosd.tv-page .tv-talk-form select, body.owosd.tv-page .tv-talk-form textarea,
body.owosd.tv-page .tv-story-form input, body.owosd.tv-page .tv-story-form select, body.owosd.tv-page .tv-story-form textarea { border: 1px solid #cad9e2 !important; border-radius: 8px !important; background: #fff !important; font-size: .8rem !important; }
.tv-talk-form textarea, .tv-story-form textarea { min-height: 104px; resize: vertical; }
.tv-talk-form > textarea { min-height: 72px; border-width: 0 0 1px !important; border-radius: 0 !important; padding-inline: 2px; }
.tv-talk-form textarea, .tv-talk-submit, .tv-full { grid-column: 1 / -1; }
.tv-talk-submit, .tv-dialog-actions { display: flex; gap: 12px; align-items: center; }
.tv-talk-submit { justify-content: flex-end; }
.tv-talk-submit span, .tv-dialog-actions span { color: var(--tv-muted); font-size: .68rem; }
.tv-primary-button { min-height: 40px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--tv-blue); color: #fff; cursor: pointer; font-weight: 600; }
.tv-primary-button:hover { background: #066d9f; }
.tv-honeypot { position: absolute !important; left: -9999px !important; }

.tv-newsroom { width: min(720px, calc(100% - 28px)); max-height: calc(100vh - 40px); padding: 0; overflow: auto; border: 0; border-radius: 18px; background: #fff; color: var(--tv-ink); box-shadow: 0 30px 100px rgba(11, 37, 55, .28); }
.tv-newsroom::backdrop { background: rgba(11, 33, 48, .54); backdrop-filter: blur(4px); }
.tv-dialog-head { display: flex; padding: 26px 28px 16px; align-items: flex-start; justify-content: space-between; gap: 20px; }
.tv-dialog-head h2 { margin: 0; font-size: 2rem; letter-spacing: -.045em; }
.tv-dialog-head button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eef3f6; color: var(--tv-ink); cursor: pointer; font-size: 1.5rem; }
.tv-newsroom > p { margin: 0; padding: 0 28px; color: var(--tv-copy); font-size: .83rem; line-height: 1.6; }
.tv-story-form { padding: 22px 28px 28px; }

.tv-ad-slot { display: none; }

@media (min-width: 1680px) {
  .tv-topbar { grid-template-columns: 226px minmax(420px, 760px) 1fr; }
  .tv-grid { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
  .tv-watch-layout { grid-template-columns: minmax(0, 1fr) 420px; }
}

@media (max-width: 1100px) {
  .tv-shell { grid-template-columns: 196px minmax(0, 1fr); }
  .tv-rail-nav button, .tv-rail-links button, .tv-rail-links a { grid-template-columns: 24px minmax(0, 1fr); padding-inline: 8px; }
  .tv-content { padding-inline: 18px; }
  .tv-channel-banner { grid-template-columns: 100px minmax(0, 1fr); }
  .tv-banner-avatar { width: 96px; height: 96px; }
  .tv-banner-avatar img { width: 110px; height: 110px; }
  .tv-banner-proof { display: none; }
  .tv-watch-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
  .tv-queue-card { grid-template-columns: 138px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .tv-topbar { grid-template-columns: auto 1fr; gap: 12px; padding-inline: 14px; }
  .tv-topbar-note { display: none; }
  .tv-shell { display: block; }
  .tv-rail { position: sticky; top: 0; z-index: 20; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--tv-line); }
  .tv-rail-scroll { display: flex; height: auto; gap: 8px; padding: 8px 12px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .tv-rail-scroll::-webkit-scrollbar { display: none; }
  .tv-rail-nav { display: flex; flex: 0 0 auto; gap: 6px; }
  .tv-rail-nav button { display: inline-flex; width: auto; min-height: 36px; grid-template-columns: none; gap: 6px; padding: 7px 11px; flex: 0 0 auto; border: 1px solid #d8e3e9; border-radius: 999px; }
  .tv-rail-nav button > span { font-size: .85rem; }
  .tv-rail-nav b { white-space: nowrap; }
  .tv-rail-filter { display: flex; flex: 0 0 auto; gap: 7px; margin: 0; padding: 0 0 0 6px; border: 0; }
  .tv-rail-filter > p, .tv-rail-filter label > span { display: none; }
  .tv-rail-filter label { margin: 0; }
  .tv-rail-filter select { min-height: 36px; border-radius: 999px; }
  .tv-rail-links, .tv-rail-count { display: none; }
  .tv-content { padding: 14px 14px 60px; }
  .tv-watch-layout { grid-template-columns: 1fr; }
  .tv-watch-queue { margin-top: 14px; }
  #watchQueue { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .tv-queue-card { grid-template-columns: 140px minmax(0, 1fr); margin: 0; }
}

@media (max-width: 680px) {
  .tv-topbar { min-height: 62px; grid-template-columns: 42px minmax(0, 1fr); gap: 8px; padding: 8px 10px; }
  .tv-brand { justify-content: flex-start; }
  .tv-brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .tv-brand-mark img { width: 44px; height: 44px; }
  .tv-brand > span:last-child { display: none; }
  .tv-global-search { width: 100%; max-width: 100%; height: 40px; }
  .tv-global-search input { width: 0; padding-left: 12px; }
  .tv-global-search kbd { display: none; }
  .tv-search-submit { width: 44px; height: 40px; }
  .tv-channel-banner { min-height: 0; grid-template-columns: 70px minmax(0, 1fr); gap: 15px; padding: 20px; border-radius: 14px; }
  .tv-banner-avatar { width: 70px; height: 70px; border-width: 3px; }
  .tv-banner-avatar img { width: 82px; height: 82px; transform: translate(-5px, 2px); }
  .tv-banner-copy h1 { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .tv-banner-copy > span { font-size: .75rem; }
  .tv-grid { grid-template-columns: 1fr; gap: 26px; }
  .tv-card-title { font-size: .98rem; }
  .tv-daily-drop { grid-template-columns: 1fr; padding: 22px; }
  .tv-watch-player { margin-inline: -14px; width: calc(100% + 28px); border-radius: 0; }
  .tv-watch-info { padding-top: 14px; }
  .tv-watch-action-row { align-items: flex-start; flex-direction: column; }
  .tv-watch-actions { width: 100%; }
  .tv-watch-actions { overflow-x: auto; }
  .tv-watch-actions button, .tv-watch-actions a { flex: 0 0 auto; }
  #watchQueue { grid-template-columns: 1fr; }
  .tv-queue-card { grid-template-columns: 44% minmax(0, 1fr); }
  .tv-story-form { grid-template-columns: 1fr; }
  .tv-comment-identity > div { grid-template-columns: 1fr; }
  .tv-episode-ad { grid-template-columns: 1fr; }
  .tv-talk-form textarea, .tv-talk-submit, .tv-full { grid-column: auto; }
  .tv-talk-submit, .tv-dialog-actions { align-items: flex-start; flex-direction: column; }
  .tv-dialog-head { padding: 22px 20px 14px; }
  .tv-newsroom > p { padding-inline: 20px; }
  .tv-story-form { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
