﻿/* Compact, self-hosted recording library. Media loads only after selecting a recording or Play. */
.tgwatch {
  --tgwatch-ink:#133047; --tgwatch-muted:#536d80; --tgwatch-orange:#c94716;
  color:var(--tgwatch-ink);background:#fcfaf6;padding:56px 22px;
  font:400 16px/1.5 Arial,Helvetica,sans-serif;text-align:left;isolation:isolate;
  -webkit-text-size-adjust:100%;
}
.tgwatch,.tgwatch *,.tgwatch *::before,.tgwatch *::after {box-sizing:border-box;}
.tgwatch [hidden] {display:none!important;}
.tgwatch button {font-family:inherit;line-height:1.5;letter-spacing:normal;text-transform:none;}
.tgwatch__inner {max-width:1200px;margin:0 auto;min-width:0;}
.tgwatch__header {display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:24px;}
.tgwatch .tgwatch__eyebrow {margin:0 0 10px;color:var(--tgwatch-orange);letter-spacing:.12em;font-size:11px;font-weight:800;display:flex;align-items:center;gap:9px;}
.tgwatch__eyebrow-dot {display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--tgwatch-orange);}
.tgwatch h2 {font:800 clamp(29px,3vw,42px)/1.15 Arial,Helvetica,sans-serif;letter-spacing:-.04em;color:var(--tgwatch-ink);margin:0;text-transform:none;text-wrap:balance;}
.tgwatch h2 span {color:var(--tgwatch-orange);}
.tgwatch .tgwatch__intro {max-width:340px;margin:0 0 2px;font-size:15px;line-height:1.6;color:var(--tgwatch-muted);}
.tgwatch__grid {display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:22px;align-items:stretch;}
.tgwatch__primary,.tgwatch__film {min-width:0;}
.tgwatch__primary {display:flex;}
.tgwatch__film {display:flex;flex:1;flex-direction:column;background:#fff;overflow:hidden;border:1px solid #e8e3de;border-radius:18px;box-shadow:0 15px 40px -28px #13304740;}
.tgwatch__film-bar {display:flex;align-items:center;gap:10px;min-height:40px;border-bottom:1px solid #e8eaf0;padding:7px 14px;}
.tgwatch__traffic {display:flex;gap:4px;flex:none;}
.tgwatch__traffic i {display:block;width:6px;height:6px;border-radius:50%;background:#f5b8a3;}
.tgwatch__traffic i:nth-child(2) {background:#ffda9f;}
.tgwatch__traffic i:nth-child(3) {background:#addbc3;}
.tgwatch__film-channel {font-size:11px;font-weight:700;color:#647885;display:inline-flex;gap:6px;align-items:center;}
.tgwatch__channel-dot {display:inline-block;width:5px;height:5px;border-radius:50%;background:#c94716;}
.tgwatch__film-mode {margin-left:auto;font-size:9px;letter-spacing:.08em;font-weight:800;color:#a0583a;text-align:right;}
.tgwatch__back {margin-left:auto;border:1px solid #e1e7ed;border-radius:6px;padding:3px 8px;background:#fff;color:#244961;cursor:pointer;font-size:11px;font-weight:700;}
.tgwatch__back span {font-size:16px;padding-left:4px;vertical-align:-1px;}
.tgwatch__back:not([hidden]) + .tgwatch__film-mode {display:none;}
.tgwatch__stage {position:relative;flex:1 0 auto;width:100%;aspect-ratio:16/9;background:#0e1e2b;overflow:hidden;}
.tgwatch__poster {position:absolute;inset:0;display:grid;place-items:center;isolation:isolate;}
.tgwatch__poster::after {content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,#10273824);pointer-events:none;}
.tgwatch__poster-image {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;}
.tgwatch__play {position:absolute;left:20px;bottom:20px;z-index:2;display:flex;align-items:center;gap:12px;max-width:calc(100% - 40px);padding:11px 16px;background:#fffdf8f5;border:1px solid #fff;border-radius:12px;box-shadow:0 8px 30px #13304740;cursor:pointer;transition:transform .18s ease;}
.tgwatch__play:hover {transform:translateY(-2px);}
.tgwatch__play-circle {display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;background:var(--tgwatch-orange);color:#fff;}
.tgwatch__play-circle svg {width:22px;height:22px;display:block;transform:translateX(1px);}
.tgwatch__play-copy {display:grid;gap:2px;text-align:left;}
.tgwatch__play-copy strong {font-size:13px;line-height:1.4;color:#153146;}
.tgwatch__play-copy small {font-size:11px;color:#60798c;}
.tgwatch__video {display:block;position:absolute;inset:0;width:100%;height:100%;background:#0e1e2b;object-fit:contain;}
.tgwatch__video-error {position:absolute;bottom:10px;left:10px;right:10px;z-index:3;padding:9px 11px;color:#7b301e;background:#fff4ea;border:1px solid #f2cdb9;border-radius:8px;font-size:12px;}
.tgwatch__video-error a {font-weight:700;color:#a7350d;text-decoration:underline;}
.tgwatch__film-footer {display:flex;flex:none;justify-content:space-between;align-items:start;gap:16px;padding:22px 24px 24px;}
.tgwatch .tgwatch__now-label {font-size:10px;font-weight:800;letter-spacing:.1em;color:#ad5d3c;}
.tgwatch h3 {font-family:inherit;text-transform:none;margin:4px 0 0;font-size:22px;line-height:1.3;font-weight:800;letter-spacing:-.025em;color:var(--tgwatch-ink);text-wrap:balance;}
.tgwatch__film-details p {max-width:620px;margin:9px 0 0;font-size:14px;line-height:1.65;color:var(--tgwatch-muted);}
.tgwatch__runtime {flex:none;max-width:108px;align-self:start;background:#fcf0e9;color:#a43d17;border-radius:6px;padding:6px 8px;margin-top:2px;font-size:9px;font-weight:800;letter-spacing:.04em;text-align:center;}
.tgwatch__playlist {display:flex;flex-direction:column;background:#fff;border:1px solid #e9e3dc;border-radius:18px;padding:20px 16px 16px;min-width:0;}
.tgwatch__playlist-heading {padding:0 6px 16px;}
.tgwatch .tgwatch__library-label {margin:0;font-size:10px;font-weight:800;letter-spacing:.11em;color:#ad5d3c;}
.tgwatch__playlist-heading h3 {font-size:23px;margin-top:5px;}
.tgwatch__tabs {display:flex;gap:3px;padding:4px;background:#f3f5f5;border:1px solid #e7ebeb;border-radius:10px;}
.tgwatch__tab {flex:1;min-width:0;padding:8px 5px;border:1px solid transparent;border-radius:7px;background:transparent;color:#536d80;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap;}
.tgwatch__tab:hover {color:var(--tgwatch-ink);background:#e9eeee;}
.tgwatch__tab[aria-selected="true"] {color:#a43d17;background:#fff;border-color:#e6dfd8;box-shadow:0 2px 5px #13304709;}
.tgwatch__panel {padding-top:16px;outline-offset:4px;}
.tgwatch__panel-intro {padding:0 6px 12px;}
.tgwatch h4 {font-family:inherit;font-size:13px;font-weight:700;line-height:1.5;letter-spacing:normal;text-transform:none;color:var(--tgwatch-ink);margin:0;}
.tgwatch__panel-intro p {margin:5px 0 0;font-size:12px;line-height:1.6;color:var(--tgwatch-muted);}
.tgwatch__chapter-group + .tgwatch__chapter-group {margin-top:15px;padding-top:13px;border-top:1px solid #eceeed;}
.tgwatch .tgwatch__group-label {padding:0 7px 7px;color:#a43d17;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;}
.tgwatch__chapters {display:flex;flex-direction:column;gap:5px;}
.tgwatch__chapter {width:100%;display:flex;gap:10px;align-items:center;min-height:67px;padding:10px 8px;border:1px solid transparent;border-radius:10px;background:#fff;color:#1d3a50;text-align:left;cursor:pointer;font:inherit;transition:background .15s,border-color .15s;}
.tgwatch__chapter:hover {background:#f8f9fa;border-color:#e0e7eb;}
.tgwatch__chapter.is-current {background:#fff4ed;border-color:#f2c4a8;box-shadow:inset 3px 0 0 var(--tgwatch-orange);}
.tgwatch__chapter-num {width:34px;height:34px;flex:none;display:grid;place-items:center;border:1px solid #e4e9ed;border-radius:9px;background:#f4f7f9;color:#547087;font:800 11px/1 Arial,Helvetica,sans-serif;}
.tgwatch__chapter-num svg {width:20px;height:20px;}
.tgwatch__chapter.is-current .tgwatch__chapter-num {background:#c94716;color:#fff;border-color:#c94716;}
.tgwatch__chapter-copy {min-width:0;display:flex;flex:1;flex-direction:column;gap:4px;}
.tgwatch__chapter-copy strong {font-size:12px;line-height:1.35;font-weight:800;}
.tgwatch__chapter-copy small {font-size:10px;line-height:1.5;color:#586f80;}
.tgwatch__chapter-time {font-size:10px;font-weight:700;color:#b64b23;white-space:nowrap;}
.tgwatch__chapter-arrow {font-size:18px;color:#8296a3;}
.tgwatch__playlist-footer {display:grid;gap:9px;margin: auto 6px 0;border-top:1px solid #e7eaed;padding-top:14px;font-size:11px;color:var(--tgwatch-muted);}
.tgwatch__playlist-footer a {color:#315c75;text-decoration:none;display:inline-flex;align-items:center;gap:8px;min-height:24px;font-size:12px;font-weight:700;}
.tgwatch__playlist-footer a:hover {text-decoration:underline;}
.tgwatch__forthcoming-list {display:grid;gap:10px;}
.tgwatch__forthcoming {display:flex;gap:12px;padding:15px 12px;border:1px dashed #d9e0e4;border-radius:10px;background:#fafbfb;}
.tgwatch__forthcoming h4 {font-size:13px;}
.tgwatch__forthcoming p {margin:3px 0 8px;font-size:11px;line-height:1.6;color:var(--tgwatch-muted);}
.tgwatch__forthcoming-badge {display:inline-block;color:#5a6875;background:#edf0f1;border-radius:4px;padding:3px 6px;font-size:10px;font-weight:700;}
.tgwatch__unavailable {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:26px;text-align:center;color:#e9f0f3;background:radial-gradient(ellipse at 50% 0,#29495e,transparent 70%),#102b3d;}
.tgwatch__coming-icon {display:grid;place-items:center;width:68px;height:68px;border:1px solid #ffffff30;border-radius:20px;background:#ffffff08;color:#f5c3a9;}
.tgwatch__coming-icon svg {width:42px;height:42px;}
.tgwatch__soon-badge {font-size:9px;font-weight:800;letter-spacing:.15em;color:#f4bf9f;}
.tgwatch__unavailable h3 {margin:0;color:#fff;font-size:clamp(22px,2.5vw,30px);}
.tgwatch__unavailable p {margin:0;color:#d1dce2;font-size:14px;line-height:1.6;}
.tgwatch__unavailable small {max-width:330px;color:#b2c6d2;font-size:11px;line-height:1.7;}
.tgwatch button:focus-visible,.tgwatch a:focus-visible,.tgwatch__video:focus-visible,.tgwatch__panel:focus-visible {outline:3px solid #1678ad;outline-offset:3px;}
@media (max-width:1100px) {
  .tgwatch__grid {grid-template-columns:minmax(0,1.45fr) minmax(310px,1fr);gap:16px;}
  .tgwatch__film-footer {padding:18px;gap:12px;}
  .tgwatch h3 {font-size:20px;}
  .tgwatch__film-footer .tgwatch__runtime {display:none;}
}
@media (max-width:900px) {
  .tgwatch {padding:40px 18px;}
  .tgwatch__header {flex-direction:column;align-items:start;gap:12px;margin-bottom:20px;}
  .tgwatch .tgwatch__intro {max-width:560px;}
  .tgwatch__grid {grid-template-columns:1fr;gap:16px;}
  .tgwatch__primary,.tgwatch__film,.tgwatch__playlist {display:block;}
  .tgwatch__playlist-footer {margin-top:18px;}
  .tgwatch__playlist {padding:20px;}
  .tgwatch__chapters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  .tgwatch__forthcoming-list {grid-template-columns:repeat(2,minmax(0,1fr));}
  .tgwatch__tab {padding:10px;font-size:13px;}
  .tgwatch__panel-intro {padding-top:2px;}
  .tgwatch__chapter-copy strong {font-size:13px;}
  .tgwatch__chapter-copy small {font-size:11px;}
}
@media (max-width:480px) {
  .tgwatch {padding:36px 14px;}
  .tgwatch h2 {font-size:29px;}
  .tgwatch__film-bar {padding-inline:10px;gap:7px;}
  .tgwatch__traffic {display:none;}
  .tgwatch__film-channel {font-size:10px;}
  .tgwatch__film-mode {font-size:8px;}
  .tgwatch__play {left:12px;bottom:24px;gap:9px;padding:8px 11px;max-width:calc(100% - 24px);}
  .tgwatch__play-circle {width:34px;height:34px;}
  .tgwatch__play-copy strong {font-size:11px;}
  .tgwatch__play-copy small {font-size:9px;}
  .tgwatch__film-footer {padding:18px 16px;}
  .tgwatch h3 {font-size:20px;}
  .tgwatch__film-details p {font-size:13px;}
  .tgwatch__playlist {padding:18px 12px 14px;}
  .tgwatch__tab {padding:9px 4px;font-size:11px;white-space:normal;}
  .tgwatch__chapters,.tgwatch__forthcoming-list {grid-template-columns:1fr;}
  .tgwatch__chapter {min-height:68px;}
  .tgwatch__unavailable {gap:6px;padding:12px;}
  .tgwatch__coming-icon {width:32px;height:32px;border-radius:9px;}
  .tgwatch__coming-icon svg {width:24px;height:24px;}
  .tgwatch__unavailable h3 {font-size:20px;}
  .tgwatch__unavailable p {font-size:11px;}
  .tgwatch__unavailable small {display:none;}
}
@media (prefers-reduced-motion:reduce) {.tgwatch__play,.tgwatch__chapter,.tgwatch__tab {transition:none;}}
