/* ===== ticker.css ===== */
body:not(.tv-body) .android-tv-last-command {
  display: flex !important;
  align-items: center !important;
  margin: 7px 0 0 !important;
  padding: 6px 8px !important;
  border-radius: 10px !important;
  background: #f8fbfc !important;
  border: 1px solid #dce8ee !important;
  color: #536878 !important;
  line-height: 1.25 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* Emergency and Help hero text must remain light on the dark hero background */
body:not(.tv-body) .emergency-hero,
body:not(.tv-body) .help-hero.card {
  color: #ffffff !important;
}
body:not(.tv-body) .emergency-hero h2,
body:not(.tv-body) .help-hero.card h2,
body:not(.tv-body) .help-hero.v5-hero h2 {
  color: #ffffff !important;
}
body:not(.tv-body) .emergency-hero p,
body:not(.tv-body) .help-hero.card p,
body:not(.tv-body) .help-hero.v5-hero p {
  color: rgba(255,255,255,.82) !important;
}
body:not(.tv-body) .emergency-hero .eyebrow,
body:not(.tv-body) .help-hero.card .eyebrow,
body:not(.tv-body) .help-hero.v5-hero .eyebrow {
  color: #d6e5ea !important;
}
body:not(.tv-body) .emergency-live-badge {
  color: #ffffff !important;
}

/* Transparent ticker controls */
body:not(.tv-body) .ticker-color-chip.transparent-chip {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  color: #2C5C71 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  background:
    linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
    linear-gradient(-45deg, transparent 75%, #e2e8f0 75%) !important;
  background-size: 10px 10px !important;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0 !important;
  background-color: #ffffff !important;
}
body:not(.tv-body) .modern-color-card.is-transparent .modern-color-meta b {
  color: #2C5C71 !important;
}
body:not(.tv-body) .ticker-preview-line.transparent-bg {
  background: transparent !important;
  border: 1px dashed rgba(255,255,255,.42) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.75), 0 0 2px rgba(0,0,0,.9) !important;
}
body:not(.tv-body) .ticker-preview-label.transparent-label {
  background: transparent !important;
  color: #ffffff !important;
  border-right: 1px dashed rgba(255,255,255,.42) !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.75), 0 0 2px rgba(0,0,0,.9) !important;
}

/* TV screen transparent ticker mode */
.tv-ticker.transparent-bg {
  background: transparent !important;
  border-top: 0 !important;
  box-shadow: none !important;
}
.tv-ticker.transparent-bg .tv-ticker-track,
.tv-ticker-label.transparent-label {
  text-shadow: 0 2px 8px rgba(0,0,0,.75), 0 0 2px rgba(0,0,0,.9);
}
.tv-ticker-label.transparent-label {
  background: transparent !important;
}


body:not(.tv-body) .ticker-align-row { min-width: 0; }
body:not(.tv-body) .enhanced-ticker-preview-line[data-text-mode=left] .ticker-preview-text { text-align:left; }
body:not(.tv-body) .enhanced-ticker-preview-line[data-text-mode=center] .ticker-preview-text { text-align:center; }
body:not(.tv-body) .enhanced-ticker-preview-line[data-text-mode=right] .ticker-preview-text { text-align:right; }
body:not(.tv-body) .ticker-preview-text.left,
body:not(.tv-body) .ticker-preview-text.center,
body:not(.tv-body) .ticker-preview-text.right { display:flex; align-items:center; }
body:not(.tv-body) .ticker-preview-text.left { justify-content:flex-start; }
body:not(.tv-body) .ticker-preview-text.center { justify-content:center; }
body:not(.tv-body) .ticker-preview-text.right { justify-content:flex-end; }
body:not(.tv-body) .ticker-preview-label.empty-label { display:none !important; }
.tv-ticker[data-text-mode=left] .tv-ticker-track,
.tv-ticker[data-text-mode=center] .tv-ticker-track,
.tv-ticker[data-text-mode=right] .tv-ticker-track {
  animation:none; padding-left:0; transform:none; flex:1; min-width:0; padding-right:20px;
}
.tv-ticker[data-text-mode=left] .tv-ticker-track { justify-content:flex-start; text-align:left; }
.tv-ticker[data-text-mode=center] .tv-ticker-track { justify-content:center; text-align:center; }
.tv-ticker[data-text-mode=right] .tv-ticker-track { justify-content:flex-end; text-align:right; }
.tv-ticker-label.empty-label { display:none !important; }
.tv-ticker-label.empty-label + .tv-ticker-track { padding-left:24px; }


/* Bottom Ticker live-update + modern form layout */
body:not(.tv-body) .ticker-form {
  max-width: 1180px;
  padding: 18px;
  gap: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border: 1px solid rgba(44,92,113,.14);
  box-shadow: 0 8px 20px rgba(15,23,42,.055);
}
body:not(.tv-body) .ticker-form-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 14px;
  align-items: stretch;
}
body:not(.tv-body) .ticker-master-toggle {
  margin: 0;
  border-radius: 18px;
  border-color: rgba(44,92,113,.18);
  background: #fff;
}
body:not(.tv-body) .ticker-save-hint {
  min-width: 210px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(44,92,113,.14);
  background: rgba(44,92,113,.07);
  color: #21485A;
}
body:not(.tv-body) .ticker-save-hint span { display:flex; align-items:center; gap:8px; font-weight:600; font-size:13px; }
body:not(.tv-body) .ticker-save-hint small { color:#5f7482; font-size:11px; }
body:not(.tv-body) .ticker-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
  gap: 16px;
  align-items: stretch;
}
body:not(.tv-body) .ticker-panel {
  border: 1px solid rgba(44,92,113,.14);
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  display: grid;
  gap: 12px;
  box-shadow: 0 6px 16px rgba(15,23,42,.04);
}
body:not(.tv-body) .ticker-panel-head {
  display:flex;
  align-items:center;
  gap:10px;
}
body:not(.tv-body) .ticker-panel-head > span {
  width: 38px;
  height: 38px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(44,92,113,.10);
  color: #2C5C71;
  flex: 0 0 auto;
}
body:not(.tv-body) .ticker-panel-head b { display:block; font-size:15px; color:#122536; }
body:not(.tv-body) .ticker-panel-head small { display:block; font-size:11px; color:#607383; margin-top:2px; }
body:not(.tv-body) .ticker-controls-stack { display:grid; gap:12px; }
body:not(.tv-body) .ticker-controls-stack .form-row,
body:not(.tv-body) .ticker-colour-grid .form-row { margin: 0; }
body:not(.tv-body) .ticker-mode-cards {
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
body:not(.tv-body) .ticker-mode-card {
  border: 1px solid rgba(44,92,113,.16);
  background: #f8fbfd;
  border-radius: 14px;
  padding: 10px;
  min-height: 78px;
  text-align: left;
  display:grid;
  gap: 4px;
  color: #163042;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
body:not(.tv-body) .ticker-mode-card:hover { transform: translateY(-1px); border-color: rgba(44,92,113,.35); }
body:not(.tv-body) .ticker-mode-card.active {
  background: rgba(44,92,113,.10);
  border-color: #2C5C71;
  box-shadow: inset 0 0 0 1px rgba(44,92,113,.16);
}
body:not(.tv-body) .ticker-mode-card .icon { width:16px; height:16px; color:#2C5C71; }
body:not(.tv-body) .ticker-mode-card b { font-size:12px; }
body:not(.tv-body) .ticker-mode-card small { font-size:10.5px; line-height:1.25; color:#607383; }
body:not(.tv-body) .sr-only-select {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
body:not(.tv-body) .ticker-height-card { padding: 10px; border-radius: 14px; }
body:not(.tv-body) .ticker-colour-grid {
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
body:not(.tv-body) .ticker-preview-box {
  margin: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(44,92,113,.08), rgba(44,92,113,.02));
  box-shadow: none;
}
body:not(.tv-body) .ticker-preview-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body:not(.tv-body) .ticker-preview-head span { display:flex; align-items:center; gap:8px; color:#2C5C71; font-weight:600; }
body:not(.tv-body) .ticker-preview-head small { color:#607383; font-size:11px; }
body:not(.tv-body) .ticker-actions {
  margin-top: 0;
  justify-content: flex-end;
  padding-top: 4px;
}
body:not(.tv-body) .ticker-preview-text.rolling { display:block; }
@media (max-width: 1100px) {
  body:not(.tv-body) .ticker-editor-grid { grid-template-columns: 1fr; }
  body:not(.tv-body) .ticker-colour-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body:not(.tv-body) .ticker-form-head { grid-template-columns: 1fr; }
  body:not(.tv-body) .ticker-save-hint { min-width: 0; }
  body:not(.tv-body) .ticker-mode-cards { grid-template-columns: 1fr; }
  body:not(.tv-body) .ticker-preview-head { align-items:flex-start; flex-direction:column; }
}

/* ================================================================
   Admin typography polish — smaller headings, lighter weight
   Scope: admin UI only. TV display pages are not affected.
   ================================================================ */
body:not(.tv-body) {
  --font-page-title: clamp(18px, 1.55vw, 23px);
  --font-hero-title: clamp(18px, 1.7vw, 24px);
  --font-card-title: 14px;
  --font-section-title: 13.5px;
  --font-modal-title: 15px;
  --font-large-text: 15px;
}

/* H1 scale: smaller and cleaner */
body:not(.tv-body) h1,
body:not(.tv-body) .page-title h1,
body:not(.tv-body) .topbar-titles h1,
body:not(.tv-body) .login-brand-row h1,
body:not(.tv-body) .login-card h1,
body:not(.tv-body) .advanced-login-card h1,
body:not(.tv-body) #loginView #loginTitle {
  font-size: var(--font-page-title) !important;
  font-weight: 600 !important;
  line-height: 1.16 !important;
  letter-spacing: -.025em !important;
}

/* H2 scale: slightly smaller than before, with medium weight */
body:not(.tv-body) h2,
body:not(.tv-body) .card h2,
body:not(.tv-body) .section-title h2,
body:not(.tv-body) .modal-head h2,
body:not(.tv-body) .modal h2,
body:not(.tv-body) .android-tv-modal-head h2,
body:not(.tv-body) .android-tv-schedule-head h2,
body:not(.tv-body) .android-tv-child-head h2,
body:not(.tv-body) .screen-upsert-head h2,
body:not(.tv-body) .modal-title-stack h2 {
  font-size: var(--font-modal-title) !important;
  font-weight: 600 !important;
  line-height: 1.22 !important;
  letter-spacing: -.02em !important;
}

/* Page/hero headings that were visually too large */
body:not(.tv-body) .dashboard-hero h2,
body:not(.tv-body) .v5-hero h2,
body:not(.tv-body) .media-hero h2,
body:not(.tv-body) .playlist-hero h2,
body:not(.tv-body) .settings-hero h2,
body:not(.tv-body) .users-hero h2,
body:not(.tv-body) .activity-hero h2,
body:not(.tv-body) .emergency-hero h2,
body:not(.tv-body) .help-hero.card h2,
body:not(.tv-body) .screens-hero h2 {
  font-size: var(--font-hero-title) !important;
  font-weight: 600 !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em !important;
}

/* Keep dark hero text readable while reducing size */
body:not(.tv-body) .dashboard-hero h2,
body:not(.tv-body) .emergency-hero h2,
body:not(.tv-body) .help-hero.card h2,
body:not(.tv-body) .modal-title-stack h2 {
  color: #fff !important;
}

/* Card titles and larger label text */
body:not(.tv-body) .card h3,
body:not(.tv-body) .help-card h3,
body:not(.tv-body) .settings-category-card b,
body:not(.tv-body) .user-card h3,
body:not(.tv-body) .screen-card-title b,
body:not(.tv-body) .screen-card .screen-card-title b,
body:not(.tv-body) .screen-card h3,
body:not(.tv-body) .screen-card h3,
body:not(.tv-body) .ticker-panel-head b,
body:not(.tv-body) .settings-panel-mini-title b,
body:not(.tv-body) .android-tv-title b,
body:not(.tv-body) .android-tv-control-title b,
body:not(.tv-body) .android-tv-schedule-title b,
body:not(.tv-body) .screen-health-modal .android-tv-control-title b {
  font-size: var(--font-card-title) !important;
  font-weight: 600 !important;
  line-height: 1.24 !important;
  letter-spacing: -.015em !important;
}

/* Section/subsection labels */
body:not(.tv-body) .section-title h2,
body:not(.tv-body) .screen-upsert-section-title,
body:not(.tv-body) .screen-emergency-section-title,
body:not(.tv-body) .ticker-panel-head small,
body:not(.tv-body) .settings-panel-mini-title small,
body:not(.tv-body) .android-tv-section-head b,
body:not(.tv-body) .android-tv-section-head small {
  font-size: var(--font-section-title) !important;
  font-weight: 600 !important;
}

/* Reduce oversized supporting text slightly */
body:not(.tv-body) .page-description,
body:not(.tv-body) .page-title p,
body:not(.tv-body) .dashboard-hero p,
body:not(.tv-body) .media-hero p,
body:not(.tv-body) .playlist-hero p,
body:not(.tv-body) .settings-hero p,
body:not(.tv-body) .users-hero p,
body:not(.tv-body) .emergency-hero p,
body:not(.tv-body) .help-hero.card p,
body:not(.tv-body) .screens-hero p {
  font-size: 12px !important;
  line-height: 1.45 !important;
}

/* Login page headline should be professional, not oversized */
body:not(.tv-body) .login-brand-headline {
  font-size: clamp(19px, 2vw, 24px) !important;
  font-weight: 600 !important;
  letter-spacing: -.02em !important;
}

@media (max-width: 720px) {
  body:not(.tv-body) {
    --font-page-title: 17px;
    --font-hero-title: 17px;
    --font-modal-title: 14px;
    --font-card-title: 13.5px;
  }
}


body:not(.tv-body) {
  --font-button-weight: 600;
  --font-strong-weight: 600;
  --font-heading-weight: 600;
  --font-emphasis-weight: 700;
  --font-button-size: 12.5px;
}

/* All admin buttons: clean 600 weight */
body:not(.tv-body) button,
body:not(.tv-body) .btn,
body:not(.tv-body) .pill-btn,
body:not(.tv-body) .icon-btn,
body:not(.tv-body) .format-toggle,
body:not(.tv-body) .rich-editor-toolbar button,
body:not(.tv-body) .login-submit-btn,
body:not(.tv-body) #loginView .login-submit-btn,
body:not(.tv-body) .android-tv-control-actions .btn,
body:not(.tv-body) .android-tv-control-actions .btn,
body:not(.tv-body) .ticker-mode-card,
body:not(.tv-body) .dashboard-tv-health-popup-btn,
body:not(.tv-body) .dashboard-tv-health-btn,
body:not(.tv-body) .tv-health-monitor-btn,
body:not(.tv-body) .screen-android-tv-open {
  font-weight: var(--font-button-weight) !important;
  font-size: var(--font-button-size) !important;
  letter-spacing: .005em !important;
}

/* Button content should not look extra-bold */
body:not(.tv-body) .btn b,
body:not(.tv-body) button b,
body:not(.tv-body) .pill-btn b,
body:not(.tv-body) .ticker-mode-card b,
body:not(.tv-body) .dashboard-tv-health-popup-btn em {
  font-weight: var(--font-button-weight) !important;
}

/* Reduce general overly-heavy admin text */
body:not(.tv-body) b,
body:not(.tv-body) strong,
body:not(.tv-body) .brand-title,
body:not(.tv-body) .card b,
body:not(.tv-body) .card strong,
body:not(.tv-body) .section-title h2,
body:not(.tv-body) .settings-category-card b,
body:not(.tv-body) .settings-panel-badge,
body:not(.tv-body) .screen-card-title b,
body:not(.tv-body) .ticker-panel-head b,
body:not(.tv-body) .ticker-preview-head span,
body:not(.tv-body) .ticker-save-hint span,
body:not(.tv-body) .android-tv-title b,
body:not(.tv-body) .android-tv-section-head b,
body:not(.tv-body) .android-tv-control-title b,
body:not(.tv-body) .android-tv-schedule-title b,
body:not(.tv-body) .screen-health-modal .android-tv-control-title b,
body:not(.tv-body) .screen-upsert-section-title,
body:not(.tv-body) .screen-upsert-intro b,
body:not(.tv-body) .preview-toolbar span,
body:not(.tv-body) .android-tv-panel span:first-child {
  font-weight: var(--font-strong-weight) !important;
}

/* Values, badges and visual chips: bold enough, but not heavy */
body:not(.tv-body) .metric-value,
body:not(.tv-body) .activity-count,
body:not(.tv-body) .user-avatar,
body:not(.tv-body) .flow-card span,
body:not(.tv-body) .badge,
body:not(.tv-body) .eyebrow,
body:not(.tv-body) .library-note,
body:not(.tv-body) .playlist-summary-row span,
body:not(.tv-body) .media-select-check,
body:not(.tv-body) .playlist-select-check,
body:not(.tv-body) .duration-control label,
body:not(.tv-body) .duration-control span,
body:not(.tv-body) .duration-input,
body:not(.tv-body) .emergency-live-badge,
body:not(.tv-body) .emergency-preview span,
body:not(.tv-body) .settings-panel-badge,
body:not(.tv-body) .android-tv-token-pill,
body:not(.tv-body) .android-tv-status-grid em,


/* ===== settings.css ===== */
body:not(.tv-body) .android-tv-day-badge,
body:not(.tv-body) .android-tv-schedule-summary .sum span,
body:not(.tv-body) .android-tv-volume-value,
body:not(.tv-body) .screen-card-info-grid em,
body:not(.tv-body) .text-success,
body:not(.tv-body) .text-danger {
  font-weight: var(--font-emphasis-weight) !important;
}

.tv-body:not(.no-progress):not(.no-ticker) .tv-ticker { bottom: var(--tv-progress-height, 5px); }
.tv-body.no-progress .tv-ticker { bottom: 0; }
.tv-progress { bottom: 0; height: var(--tv-progress-height, 5px); box-shadow: none !important; }


body:not(.tv-body) .ticker-preview-text b,
body:not(.tv-body) .ticker-preview-text strong,
body:not(.tv-body) .ticker-preview-scroll b,
body:not(.tv-body) .ticker-preview-scroll strong { font-weight: 600 !important; }
body:not(.tv-body) .ticker-preview-text i,
body:not(.tv-body) .ticker-preview-text em,
body:not(.tv-body) .ticker-preview-scroll i,
body:not(.tv-body) .ticker-preview-scroll em { font-style: italic !important; }
body:not(.tv-body) .ticker-preview-text u,
body:not(.tv-body) .ticker-preview-scroll u { text-decoration: underline !important; text-underline-offset: .12em; }
body:not(.tv-body) .ticker-preview-text s,
body:not(.tv-body) .ticker-preview-text strike,
body:not(.tv-body) .ticker-preview-scroll s,
body:not(.tv-body) .ticker-preview-scroll strike { text-decoration: line-through !important; }
body:not(.tv-body) .ticker-preview-text span,
body:not(.tv-body) .ticker-preview-scroll span { display: inline; }
body:not(.tv-body) .ticker-schedule-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 6px 9px;
  border: 1px solid rgba(22,101,52,.18);
  border-radius: 999px;
  background: rgba(22,101,52,.07);
  color: #166534;
  font-size: 11px;
  font-weight: 600;
}
body:not(.tv-body) .ticker-schedule-status.inactive {
  border-color: rgba(146,64,14,.22);
  background: rgba(146,64,14,.08);
  color: #92400e;
}
body:not(.tv-body) .ticker-schedule-status .icon { width: 14px; height: 14px; }


body:not(.tv-body) .ticker-preview-line {
  overflow: hidden !important;
}
body:not(.tv-body) .ticker-preview-text.rolling {
  display: block !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  flex: 1 1 auto;
  min-width: 0;
}
body:not(.tv-body) .ticker-preview-scroll {
  display: inline-flex !important;
  align-items: center;
  gap: .35em;
  white-space: nowrap;
  min-width: max-content;
  padding-left: 100%;
  animation-name: tickerScroll;
  animation-duration: var(--ticker-speed, 32s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}
body:not(.tv-body) .ticker-preview-scroll p,
body:not(.tv-body) .ticker-preview-scroll div { display: inline; margin: 0; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }


body:not(.tv-body) .ticker-preview-text.rolling {
  display: block !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  position: relative;
}
body:not(.tv-body) .ticker-preview-text.rolling .ticker-preview-scroll {
  display: inline-flex !important;
  align-items: center;
  gap: 3.5rem;
  min-width: max-content;
  padding-left: 0 !important;
  animation-name: tickerPreviewContinuousScroll !important;
  animation-duration: var(--ticker-speed, 32s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}
body:not(.tv-body) .ticker-preview-text.rolling .ticker-scroll-copy {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  padding-left: 100%;
}
body:not(.tv-body) .ticker-preview-text.rolling .ticker-scroll-copy + .ticker-scroll-copy {
  padding-left: 3.5rem;
}
@keyframes tickerPreviewContinuousScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


body:not(.tv-body) .ticker-preview-line {
  overflow: hidden !important;
}
body:not(.tv-body) .ticker-preview-text.rolling {
  position: relative !important;
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}
body:not(.tv-body) .ticker-preview-text.rolling .ticker-preview-scroll {
  position: absolute !important;
  top: 50% !important;
  left: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: .35em !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  padding: 0 !important;
  white-space: nowrap !important;
  animation-name: tickerPreviewAdminRoll !important;
  animation-duration: var(--ticker-speed, 32s) !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  will-change: left, transform !important;
}
body:not(.tv-body) .ticker-preview-text.rolling .ticker-preview-scroll p,
body:not(.tv-body) .ticker-preview-text.rolling .ticker-preview-scroll div { display: inline !important; margin: 0 !important; }
@keyframes tickerPreviewAdminRoll {
  from { left: 100%; transform: translate(0, -50%); }
  to { left: 0%; transform: translate(-100%, -50%); }
}


/* Staff ticker page + playlist draft states */
.ticker-control-card { width: 100%; max-width: 980px; margin: 0 auto; display: grid; gap: 18px; }
.ticker-textarea { min-height: 130px; font-size: 1.05rem; line-height: 1.5; }
.ticker-preview-box { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, rgba(44,92,113,.08), rgba(44,92,113,.02)); padding: 14px; display: grid; gap: 10px; }
.ticker-preview-box > span { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--primary); }
.ticker-preview-line { background: #0f172a; color: #fff; border-radius: 999px; padding: 10px 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.playlist-select-card.dirty { border-color: rgba(245, 158, 11, .55); background: linear-gradient(135deg, rgba(245,158,11,.13), rgba(255,255,255,.96)); }
.badge.warning { background: rgba(245,158,11,.14); color: #92400e; border-color: rgba(245,158,11,.35); }


/* Enhanced Bottom Ticker editor */
.enhanced-ticker-control-card { max-width: 1160px; }
.ticker-custom-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items:start; }
.ticker-height-row { grid-column: span 1; }
.height-control-card { display:flex; align-items:center; gap:16px; padding:12px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(135deg,#ffffff,#f3f8fa); box-shadow:0 8px 22px rgba(15,23,42,.05); }
.height-control-card input[type="range"] { flex:1; min-width:150px; accent-color: var(--primary); }
.height-number-wrap { display:flex; align-items:center; gap:8px; padding:6px 8px; border:1px solid rgba(44,92,113,.18); border-radius:14px; background:#fff; white-space:nowrap; }
.height-number-wrap span { color:var(--muted); font-size:.82rem; font-weight:600; }
.range-row, .color-input-row { display:flex; align-items:center; gap:10px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--primary); }
.mini-number { width: 88px; min-width: 88px; }
.modern-color-card { display:grid; gap:10px; padding:12px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(135deg,#ffffff,#f5fafb); box-shadow:0 8px 22px rgba(15,23,42,.05); }
.modern-color-main { display:flex; align-items:center; gap:12px; }
.modern-color-picker { width:54px; height:54px; flex:0 0 54px; border:0; border-radius:999px; padding:0; background:transparent; cursor:pointer; overflow:hidden; filter:drop-shadow(0 8px 14px rgba(15,23,42,.12)); }
.modern-color-picker::-webkit-color-swatch-wrapper { padding:0; }
.modern-color-picker::-webkit-color-swatch { border:3px solid #fff; border-radius:999px; }
.modern-color-picker::-moz-color-swatch { border:3px solid #fff; border-radius:999px; }
.modern-color-meta { display:grid; gap:2px; min-width:0; }
.modern-color-meta b { color:var(--text); font-size:.98rem; letter-spacing:.03em; }
.modern-color-meta small { color:var(--muted); font-size:.75rem; }
.color-hex-input { font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight:600; text-transform:uppercase; }
.ticker-color-presets { display:flex; flex-wrap:wrap; gap:8px; }
.ticker-color-chip { width:28px; height:28px; border-radius:999px; border:2px solid #fff; background:var(--chip-color); box-shadow:0 0 0 1px rgba(15,23,42,.16), 0 6px 12px rgba(15,23,42,.10); cursor:pointer; transition:transform .14s ease, box-shadow .14s ease; }
.ticker-color-chip:hover { transform:translateY(-1px) scale(1.05); box-shadow:0 0 0 2px rgba(44,92,113,.26), 0 8px 16px rgba(15,23,42,.16); }
.color-input-row input[type="color"] { width: 48px; height: 42px; border:1px solid var(--line); border-radius: 12px; background:#fff; padding:3px; cursor:pointer; }
.ticker-rich-editor-shell { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.05); }
.ticker-toolbar { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: linear-gradient(180deg,#f8fafc,#eef6f8); padding: 10px; }
.ticker-rich-editor { min-height: 110px; padding: 15px 16px; outline: none; font-size: 1.08rem; line-height: 1.5; color: var(--text); }
.ticker-rich-editor:empty:before { content: attr(data-placeholder); color: var(--muted); }
.enhanced-ticker-preview-line { display:flex; align-items:center; gap:0; padding:0; border-radius: 999px; color:#fff; transition: height .18s ease, background .18s ease; }
.ticker-preview-label { align-self:stretch; display:grid; place-items:center; padding:0 16px; background: var(--primary-dark, #21485A); font-weight: 600; font-size: 12px; letter-spacing:.06em; white-space:nowrap; border-radius: 999px 0 0 999px; text-transform: uppercase; }
.ticker-preview-text { flex:1; min-width:0; overflow:hidden; padding: 0 14px; font-weight: 600; }
.ticker-preview-text p, .ticker-preview-text div { display:inline; margin:0; }
.field-hint { display:block; margin-top:6px; color: var(--muted); font-size: .78rem; line-height:1.35; }
@media (max-width: 980px) { .ticker-custom-grid { grid-template-columns: 1fr; } .height-control-card { flex-wrap:wrap; align-items:stretch; } .height-control-card input[type="range"] { min-width:100%; } .range-row, .color-input-row { align-items:stretch; } }


body:not(.tv-body) .ticker-preview-tv-frame,
body:not(.tv-body) .enhanced-ticker-preview-line,
body:not(.tv-body) .ticker-preview-line,
body:not(.tv-body) .ticker-preview-text,
body:not(.tv-body) .ticker-preview-text.rolling {
  overflow: hidden !important;
  contain: paint;
}
body:not(.tv-body) .ticker-preview-scroll {
  max-width: none !important;
  will-change: transform, left;
}


body:not(.tv-body) .ticker-ui-page {
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
body:not(.tv-body) .ticker-ui-hero.card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px !important;
  border: 1px solid rgba(44,92,113,.16) !important;
  border-radius: 22px !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(214,229,234,.24), transparent 28%),
    linear-gradient(135deg, #123042 0%, #21485A 48%, #2C5C71 100%) !important;
  box-shadow: 0 18px 40px rgba(15,23,42,.14) !important;
}
body:not(.tv-body) .ticker-ui-hero::before {
  content: '';
  position: absolute;
  inset: auto 18px 0 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
}
body:not(.tv-body) .ticker-ui-hero-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  color: #fff;
}
body:not(.tv-body) .ticker-ui-hero-icon .icon { width: 23px; height: 23px; }
body:not(.tv-body) .ticker-ui-hero-copy { min-width: 0; display: grid; gap: 5px; }
body:not(.tv-body) .ticker-ui-hero-copy h2 {
  color: #fff !important;
  font-size: clamp(18px, 1.5vw, 24px) !important;
  font-weight: 650 !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}
body:not(.tv-body) .ticker-ui-hero-copy p {
  max-width: 760px;
  margin: 0 !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 12px !important;
  line-height: 1.38 !important;
}
body:not(.tv-body) .ticker-ui-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d6e5ea !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body:not(.tv-body) .ticker-ui-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
body:not(.tv-body) .ticker-ui-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
body:not(.tv-body) .ticker-ui-hero-pills .icon { width: 13px; height: 13px; }
body:not(.tv-body) .ticker-ui-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
body:not(.tv-body) .ticker-ui-hero-actions .btn:not(.primary) {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.18) !important;
}
body:not(.tv-body) .ticker-ui-hero-actions .btn.primary {
  background: #fff !important;
  color: #21485A !important;
  border-color: transparent !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.18) !important;
}

body:not(.tv-body) .ticker-ui-shell.card {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(44,92,113,.14) !important;
  border-radius: 24px !important;
  background: #f8fbfd !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.075) !important;
}
body:not(.tv-body) .ticker-ui-top-strip {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(210px, .7fr) minmax(210px, .7fr);
  gap: 10px;
  padding: 13px 14px;
  background: linear-gradient(180deg, #ffffff, #f2f7f9);
  border-bottom: 1px solid rgba(44,92,113,.12);
}
body:not(.tv-body) .ticker-ui-switch,
body:not(.tv-body) .ticker-ui-status-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(44,92,113,.13);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(15,23,42,.035);
}
body:not(.tv-body) .ticker-ui-switch { cursor: pointer; }
body:not(.tv-body) .ticker-ui-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
body:not(.tv-body) .ticker-ui-switch-ui {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background .18s ease, box-shadow .18s ease;
}
body:not(.tv-body) .ticker-ui-switch-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(15,23,42,.22);
  transition: transform .18s ease;
}
body:not(.tv-body) .ticker-ui-switch input:checked + .ticker-ui-switch-ui {
  background: linear-gradient(135deg, #21485A, #3E7890);
  box-shadow: 0 0 0 3px rgba(44,92,113,.12);
}
body:not(.tv-body) .ticker-ui-switch input:checked + .ticker-ui-switch-ui::after { transform: translateX(18px); }
body:not(.tv-body) .ticker-ui-switch b,
body:not(.tv-body) .ticker-ui-status-card b {
  display: block;
  color: #122536;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.15;
}
body:not(.tv-body) .ticker-ui-switch small,
body:not(.tv-body) .ticker-ui-status-card small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.25;
}
body:not(.tv-body) .ticker-ui-status-card > .icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(44,92,113,.10);
  color: #2C5C71;
}
body:not(.tv-body) .ticker-ui-status-card.subtle { background: rgba(255,255,255,.72); }

body:not(.tv-body) .ticker-ui-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.35fr) minmax(300px, .82fr) minmax(350px, .92fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
}
body:not(.tv-body) .ticker-ui-compose,
body:not(.tv-body) .ticker-ui-settings {
  display: grid;
  gap: 12px;
  min-width: 0;
}
body:not(.tv-body) .ticker-ui-panel {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 13px !important;
  border: 1px solid rgba(44,92,113,.13) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(15,23,42,.045) !important;
}
body:not(.tv-body) .ticker-ui-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
body:not(.tv-body) .ticker-ui-panel-head > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(44,92,113,.13), rgba(62,120,144,.08));
  color: #21485A;
}
body:not(.tv-body) .ticker-ui-panel-head .icon { width: 16px; height: 16px; }
body:not(.tv-body) .ticker-ui-panel-head b {
  display: block;
  color: #122536;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  line-height: 1.15;
}
body:not(.tv-body) .ticker-ui-panel-head small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px !important;
  line-height: 1.25;
}

body:not(.tv-body) .ticker-ui-template-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
body:not(.tv-body) .ticker-ui-template-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid rgba(44,92,113,.14);
  border-radius: 12px;
  background: #f8fbfd;
  color: #21485A;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
body:not(.tv-body) .ticker-ui-template-row button:hover {
  transform: translateY(-1px);
  border-color: rgba(44,92,113,.32);
  background: #edf6f8;
}
body:not(.tv-body) .ticker-ui-template-row .icon { width: 13px; height: 13px; }

body:not(.tv-body) .ticker-ui-editor-shell {
  overflow: hidden;
  border: 1px solid rgba(44,92,113,.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.045);
}
body:not(.tv-body) .ticker-ui-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: linear-gradient(180deg, #f8fafc, #edf6f8);
  border-bottom: 1px solid rgba(44,92,113,.12);
}
body:not(.tv-body) .ticker-ui-tool-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(44,92,113,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.74);
}
body:not(.tv-body) .ticker-ui-tool-group button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  line-height: 1;
}
body:not(.tv-body) .ticker-ui-tool-group button:hover { background: rgba(44,92,113,.10); color: #21485A; }
body:not(.tv-body) .ticker-ui-tool-group .icon { width: 13px; height: 13px; }
body:not(.tv-body) .ticker-ui-text-colour {
  width: 25px;
  height: 25px;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--text-swatch) !important;
  border: 2px solid #fff !important;
  box-shadow: 0 0 0 1px rgba(15,23,42,.16), 0 5px 10px rgba(15,23,42,.08);
}
body:not(.tv-body) .ticker-ui-text-colour:hover { transform: scale(1.06); }
body:not(.tv-body) .ticker-ui-editor {
  min-height: 112px !important;
  max-height: 190px;
  overflow-y: auto;
  padding: 14px 15px !important;
  outline: none;
  color: #122536 !important;
  background: #fff;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
body:not(.tv-body) .ticker-ui-editor:empty::before { content: attr(data-placeholder); color: #94a3b8; }
body:not(.tv-body) .ticker-ui-note,
body:not(.tv-body) .ticker-ui-preview-note {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(44,92,113,.07);
  color: #536878;
  font-size: 11px;
  line-height: 1.35;
}

body:not(.tv-body) .ticker-ui-colour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
body:not(.tv-body) .ticker-ui-colour-grid .form-row,
body:not(.tv-body) .ticker-color-row {
  margin: 0 !important;
  display: grid !important;
  gap: 7px !important;
}
body:not(.tv-body) .ticker-ui-colour-grid .form-row > label,
body:not(.tv-body) .ticker-color-row > label,
body:not(.tv-body) .ticker-ui-field > span {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #536878 !important;
}
body:not(.tv-body) .ticker-ui-colour-grid .field-hint { margin-top: 0 !important; font-size: 10.5px !important; }
body:not(.tv-body) .modern-color-card {
  gap: 8px !important;
  padding: 10px !important;
  border-radius: 16px !important;
  border-color: rgba(44,92,113,.14) !important;
  background: linear-gradient(180deg, #ffffff, #f8fbfd) !important;
  box-shadow: none !important;
}
body:not(.tv-body) .modern-color-main { gap: 10px !important; }
body:not(.tv-body) .modern-color-picker {
  width: 46px !important;
  height: 46px !important;
  flex-basis: 46px !important;
}
body:not(.tv-body) .modern-color-meta b {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
}
body:not(.tv-body) .modern-color-meta small { font-size: 10.5px !important; line-height: 1.25; }
body:not(.tv-body) .color-hex-input {
  min-height: 34px !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  letter-spacing: .02em;
}
body:not(.tv-body) .ticker-color-presets { gap: 6px !important; }
body:not(.tv-body) .ticker-color-chip {
  width: 24px !important;
  height: 24px !important;
}

body:not(.tv-body) .ticker-ui-controls {
  display: grid;
  gap: 12px;
}
body:not(.tv-body) .ticker-ui-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
body:not(.tv-body) .ticker-ui-field .input {
  min-height: 36px;
  border-radius: 12px;
  border-color: rgba(44,92,113,.16);
  font-size: 12.5px;
}
body:not(.tv-body) .ticker-ui-field small {
  color: #64748b;
  font-size: 10.5px;
  line-height: 1.35;
}
body:not(.tv-body) .ticker-ui-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
body:not(.tv-body) .ticker-ui-mode-grid .ticker-mode-card {
  min-height: 66px !important;
  padding: 9px !important;
  border-radius: 14px !important;
  background: #f8fbfd !important;
  border-color: rgba(44,92,113,.14) !important;
  box-shadow: none !important;
}
body:not(.tv-body) .ticker-ui-mode-grid .ticker-mode-card.active {
  background: rgba(44,92,113,.11) !important;
  border-color: #2C5C71 !important;
  box-shadow: inset 0 0 0 1px rgba(44,92,113,.12) !important;
}
body:not(.tv-body) .ticker-ui-mode-grid .ticker-mode-card b {
  font-size: 11.5px !important;
  font-weight: 650 !important;
}
body:not(.tv-body) .ticker-ui-mode-grid .ticker-mode-card small {
  font-size: 10px !important;
}
body:not(.tv-body) .ticker-ui-slider-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(44,92,113,.13);
  border-radius: 14px;
  background: #f8fbfd;
}
body:not(.tv-body) .ticker-ui-slider-card input[type="range"] {
  width: 100%;
  min-width: 0;
  accent-color: #2C5C71;
}
body:not(.tv-body) .ticker-ui-slider-card label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border: 1px solid rgba(44,92,113,.14);
  border-radius: 11px;
  background: #fff;
}
body:not(.tv-body) .ticker-ui-slider-card .mini-number {
  width: 64px !important;
  min-width: 64px !important;
  padding: 5px 6px !important;
  text-align: center;
  min-height: 28px !important;
}
body:not(.tv-body) .ticker-ui-slider-card em {
  color: #64748b;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 650;
}
body:not(.tv-body) .ticker-ui-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}
body:not(.tv-body) .ticker-ui-time-grid label {
  display: grid;
  gap: 4px;
}
body:not(.tv-body) .ticker-ui-time-grid small {
  font-size: 10px;
  color: #64748b;
  font-weight: 650;
}
body:not(.tv-body) .ticker-ui-days,
body:not(.tv-body) .ticker-days-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
body:not(.tv-body) .ticker-day-chip {
  cursor: pointer;
}
body:not(.tv-body) .ticker-day-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
body:not(.tv-body) .ticker-day-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 29px;
  padding: 0 9px;
  border: 1px solid rgba(44,92,113,.14);
  border-radius: 999px;
  background: #f8fbfd;
  color: #536878;
  font-size: 11px;
  font-weight: 650;
}
body:not(.tv-body) .ticker-day-chip input:checked + span {
  color: #fff;
  background: linear-gradient(135deg, #21485A, #3E7890);
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(44,92,113,.18);
}

body:not(.tv-body) .ticker-ui-preview {
  position: sticky;
  top: 84px;
  align-self: start;
}
body:not(.tv-body) .ticker-ui-panel-head.preview-head > span {
  background: linear-gradient(135deg, #21485A, #3E7890);
  color: #fff;
}
body:not(.tv-body) .ticker-ui-tv-frame {
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, #dbe5ea, #f4f7f9);
  border: 1px solid rgba(44,92,113,.12);
}
body:not(.tv-body) .ticker-ui-tv-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(15,23,42,.94), rgba(18,48,66,.93)),
    radial-gradient(circle at 15% 15%, rgba(62,120,144,.45), transparent 38%);
  box-shadow: 0 18px 40px rgba(15,23,42,.24), inset 0 0 0 1px rgba(255,255,255,.09);
}
body:not(.tv-body) .ticker-ui-tv-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(214,229,234,.14), transparent 26%),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  opacity: .75;
}
body:not(.tv-body) .ticker-ui-preview-line {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  max-height: 38%;
  min-height: 34px;
  border-radius: 999px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.10) !important;
}
body:not(.tv-body) .ticker-ui-preview-label {
  min-width: 92px;
  padding: 0 15px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .07em;
}
body:not(.tv-body) .ticker-ui-preview .ticker-preview-text {
  padding: 0 14px !important;
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 650 !important;
}
body:not(.tv-body) .ticker-ui-schedule-status {
  margin-top: 0 !important;
  width: 100% !important;
  justify-content: center;
  border-radius: 14px !important;
}

body:not(.tv-body) .ticker-ui-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(44,92,113,.12);
  background: #fff;
}
body:not(.tv-body) .ticker-ui-footer .spacer { flex: 1; }

@media (max-width: 1250px) {
  body:not(.tv-body) .ticker-ui-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  }
  body:not(.tv-body) .ticker-ui-preview {
    grid-column: 1 / -1;
    position: static;
  }
  body:not(.tv-body) .ticker-ui-tv-screen { aspect-ratio: 21 / 8; }
}
@media (max-width: 920px) {
  body:not(.tv-body) .ticker-ui-hero.card,
  body:not(.tv-body) .ticker-ui-top-strip,
  body:not(.tv-body) .ticker-ui-grid {
    grid-template-columns: 1fr;
  }
  body:not(.tv-body) .ticker-ui-hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  body:not(.tv-body) .ticker-ui-colour-grid,
  body:not(.tv-body) .ticker-ui-template-row {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 560px) {
  body:not(.tv-body) .ticker-ui-colour-grid,
  body:not(.tv-body) .ticker-ui-template-row,
  body:not(.tv-body) .ticker-ui-mode-grid,
  body:not(.tv-body) .ticker-ui-time-grid,
  body:not(.tv-body) .ticker-ui-slider-card {
    grid-template-columns: 1fr;
  }
  body:not(.tv-body) .ticker-ui-toolbar span { display: none; }
  body:not(.tv-body) .ticker-ui-footer { flex-wrap: wrap; }
}
