/* tv-watch.css */
.tv-watch {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.tv-watch[hidden] { display: none; }

.tv-watch__panel {
  background: #0a0a0a;
  color: #f4e8e1;
  width: min(960px, 95vw);
  height: min(80vh, 720px);
  display: flex;
  flex-direction: column;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
  font-family: 'Merriweather', 'Georgia', serif;
}
.tv-watch__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  border-bottom: 1px solid #222;
}
.tv-watch__title { margin: 0; font-weight: 400; font-size: 1.1em; }
.tv-watch__close {
  background: transparent; border: none; color: #f4e8e1;
  font-size: 1.5em; cursor: pointer; line-height: 1;
}

.tv-watch__viewer {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #000;
}
.tv-watch__video { flex: 1; width: 100%; height: 100%; background: #000; }
.tv-watch__error { padding: 16px; text-align: center; color: #ffb4b4; }
.tv-watch__error a { color: #f4e8e1; margin-left: 6px; }
