/* TVZZ public-site palette. Presentation only; playback and session behavior stay in the original runtime. */
:root {
  --bg: #19334f;
  --panel: #234c70;
  --panel-2: #334768;
  --panel-3: #49365f;
  --line: rgba(169, 224, 255, .45);
  --text: #f6fbff;
  --muted: #d4e4f2;
  --accent: #63edff;
  --accent-2: #e78bff;
  --warn: #ffe754;
  --zz-brand-cyan: #63edff;
  --zz-brand-blue: #688cff;
  --zz-brand-glow: 0 0 30px rgba(99, 237, 255, .12), 0 0 48px rgba(231, 139, 255, .1);
}
html, body { background: var(--bg) !important; color: var(--text); }
body .app-shell, body.zz-not-authenticated .app-shell {
  background: radial-gradient(ellipse at 5% 15%, #238db870, transparent 58%), radial-gradient(ellipse at 95% 80%, #aa50ae60, transparent 62%), linear-gradient(125deg, #234c70, #393562 58%, #653a72) !important;
}
body .sidebar, body.zz-not-authenticated .sidebar {
  background: linear-gradient(145deg, #234c70f7, #393562f7 65%, #533767f7) !important;
  border-color: #a0b9df80 !important;
  box-shadow: 0 20px 70px #0c173840, 0 0 32px #63edff16, inset 0 1px #ffffff15 !important;
}
body.zz-not-authenticated .sidebar::before {
  background-image: url('/assets/brand-20261027/tvzz-square.webp') !important;
  opacity: .045 !important;
  filter: none !important;
}
body .brand .brand-full-logo {
  border-radius: 0 !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 12px #63edff26);
}
body.zz-not-authenticated .brand .brand-full-logo {
  width: min(100%, 340px) !important;
  height: 76px !important;
  max-height: 76px !important;
}
body .login-card, body.zz-not-authenticated .login-card {
  background: linear-gradient(135deg, #204965, #39365c) !important;
  border-color: #8db9dd8c !important;
  box-shadow: inset 0 1px #ffffff0d !important;
}
body .login-card input, body .control-select, body .search-box input, body .settings-card select {
  background: #19334f !important;
  border-color: #9bc6e180 !important;
  color: #f6fbff !important;
  caret-color: #63edff;
}
body .login-card input::placeholder { color: #c1d2e1; opacity: 1; }
body .login-card label, body #loginStatus { color: #d4e4f2 !important; }
body .primary-button, body.zz-not-authenticated .primary-button {
  background: linear-gradient(110deg, #fff26a, #ffdc38) !important;
  color: #18203b !important;
  border-color: #fff18c !important;
  box-shadow: 0 5px 22px #ffe75420 !important;
}
body .primary-button:hover { background: #fff384 !important; }
body .login-intro, body.zz-not-authenticated .login-intro {
  background: linear-gradient(145deg, #204c6b, #4b376c) !important;
  border-color: #a3cfdf85 !important;
  box-shadow: 0 0 22px #63edff12 !important;
}
body .login-download-card {
  background: linear-gradient(140deg, #285c78, #493c6e) !important;
  border-color: #9bc6e18c !important;
  box-shadow: inset 0 1px #ffffff12 !important;
}
body .login-download-card::before, body .login-download-card::after { background-image: none !important; }
body .login-download-card small, body .login-download-card em { color: #a6fff1 !important; }
body .login-download-card strong { color: #f6fbff !important; }
body .login-download-card:hover { border-color: #e78bff !important; box-shadow: 0 0 22px #e78bff24 !important; }
body :is(.session-card, .status-card, .catalog-pane, .watch-pane, .overview-card, .media-summary-card, .media-art-card, .bouquet-panel, .bouquet-card, .settings-card, .remote-card, .series-detail-side, .series-summary-card, .episode-preview-card, .episode-explorer-wide) {
  background: linear-gradient(135deg, #234c70, #393562) !important;
  border-color: #9bc6e16b !important;
  color: #f6fbff;
}
body :is(.catalog-toolbar, .player-toolbar, .zz-guide-shell, .zz-guide-sidebar, .zz-guide-header, .zz-guide-footer, .series-detail-top, .zz-time-ruler) {
  background: linear-gradient(110deg, #214661, #393562) !important;
  border-color: #9bc6e16b !important;
}
body .mode-tabs button, body:not(.zz-not-authenticated) .mode-tabs button {
  background: linear-gradient(115deg, #285675, #3d3b68) !important;
  border-color: #9bc6e16b !important;
}
body .mode-tabs button.active, body:not(.zz-not-authenticated) .mode-tabs button.active {
  background: linear-gradient(110deg, #246a85, #704780) !important;
  border-color: #63edff !important;
  box-shadow: inset 4px 0 #63edff, 0 0 20px #e78bff1f !important;
}
body .channel-card, body:not(.zz-not-authenticated)[data-content-mode='live'] .channel-card:not(.media-card), body .media-card, body .series-episode-wide {
  background: linear-gradient(145deg, #285571, #3c3b65) !important;
  border-color: #9bc6e173 !important;
}
body .channel-card:hover, body .channel-card.selected, body:not(.zz-not-authenticated)[data-content-mode='live'] .channel-card:not(.media-card).selected, body .media-card:hover {
  background: linear-gradient(145deg, #306a83, #604274) !important;
  border-color: #63edff !important;
  box-shadow: 0 0 0 2px #63edff70, 0 0 24px #e78bff26 !important;
}
body :is(.stage, .zz-preview-video, .zz-live-preview, .zz-preview-column) { background-color: #0c172a; }
body :is(button, a, input, select):focus-visible {
  outline: 3px solid #ffe754 !important;
  outline-offset: 3px !important;
}
body :is(button, input, select) { accent-color: #63edff; }
@media (max-width: 760px) {
  body.zz-not-authenticated .brand .brand-full-logo { height: 58px !important; max-height: 58px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body .primary-button, body .login-download-card, body .brand .brand-full-logo { animation: none !important; transition: none !important; }
}

/* Keep the themed login within a laptop viewport and let narrow screens scroll naturally. */
html:has(body.zz-not-authenticated), body.zz-not-authenticated {
  height: auto !important; min-height: 100% !important; overflow-x: hidden !important; overflow-y: auto !important;
}
body.zz-not-authenticated .app-shell {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 100% !important; height: auto !important; min-height: 100dvh !important; max-height: none !important;
  padding: 24px 16px !important; overflow: visible !important;
}
body.zz-not-authenticated .sidebar {
  display: grid !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
  grid-template-rows: auto auto auto !important; align-content: center !important;
  width: min(940px, 100%) !important; max-width: 940px !important; height: auto !important; max-height: none !important;
  padding: 24px !important; gap: 18px !important; overflow: hidden !important;
}
body.zz-not-authenticated .brand {
  grid-column: 1 / -1 !important; grid-row: 1 !important; display: flex !important;
  justify-content: center !important; align-items: center !important; gap: 14px !important;
  min-height: 76px !important; max-height: none !important; width: 100% !important; padding: 0 !important;
}
body.zz-not-authenticated .brand .brand-full-logo { width: 76px !important; height: 76px !important; flex: 0 0 76px !important; }
.tvzz-player-wordmark { display: block; font-size: 32px; line-height: 1.1; font-weight: 900; letter-spacing: -.04em; color: #f6fbff; }
.tvzz-player-wordmark > span { color: #63edff; }
.tvzz-player-wordmark small { display: block; padding-top: 6px; font-size: 10px; letter-spacing: .28em; color: #d4e4f2; font-weight: 700; }
body.zz-not-authenticated .login-intro { grid-column: 1 !important; grid-row: 2 !important; align-self: center !important; width: 100% !important; max-height: 250px !important; }
body.zz-not-authenticated .login-card { grid-column: 2 !important; grid-row: 2 !important; width: 100% !important; margin: 0 !important; }
body.zz-not-authenticated .login-downloads { grid-column: 1 / -1 !important; grid-row: 3 !important; width: 100% !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px !important; overflow: visible !important; }
body.zz-not-authenticated .login-download-card { min-height: 108px !important; padding: 12px !important; }
body.zz-not-authenticated .login-download-card .download-icon { width: 32px !important; height: 32px !important; font-size: 25px !important; }
@media (max-width: 680px) {
  body.zz-not-authenticated .app-shell { padding: 12px !important; }
  body.zz-not-authenticated .sidebar { display: flex !important; flex-direction: column !important; padding: 18px !important; gap: 14px !important; }
  body.zz-not-authenticated .brand .brand-full-logo { width: 58px !important; height: 58px !important; flex-basis: 58px !important; }
  .tvzz-player-wordmark { font-size: 28px; }
  body.zz-not-authenticated .login-intro { max-height: 150px !important; }
  body.zz-not-authenticated .login-downloads { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.zz-not-authenticated .form-row { grid-template-columns: 44px minmax(0, 1fr) !important; gap: 8px !important; }
}

/* Remove the legacy screenshot backdrop from the remaining decorative layers. */
body .app-shell::before { background: none !important; }
body .app-shell::after { background-image: url('/assets/brand-20261027/tvzz-square.webp') !important; opacity: .045 !important; }
