html[data-rtpx-first-paint-guard] {
  background: var(--theme-bg,#141415);
  color-scheme: dark;
}

html[data-rtpx-first-paint-guard] body:not(.admin-page) {
  opacity: 1;
  visibility: visible;
  transition: none;
}

:root {
  --theme-bg: #141415;
  --bg: #141415;
  --theme-bg-rgb: 20,20,21;
  --theme-footer-bg: #18181c;
  --footer-bg: #18181c;
  --theme-container-bg: #363737;
  --theme-container-bg-rgb: 54,55,55;
  --theme-surface: #363737;
  --theme-surface-rgb: 54,55,55;
  --theme-text: #f8f8fa;
  --text: #f8f8fa;
  --theme-line: rgba(255,255,255,.12);
  --line: rgba(255,255,255,.12);
  --layout-container-bg: rgba(24,24,32,.58);
  --layout-container-bg-soft: rgba(24,24,32,.42);
  --layout-container-bg-strong: rgba(24,24,32,.78);
  --layout-container-border: rgba(24,24,32,.88);
  --header-mobile-drawer-bg: rgba(54,55,55,.97);
  --toast-bg: rgba(54,55,55,.92);
  --rtpx-button-accent: #2eafff;
  --rtpx-progress-low: #1d4ed8;
  --rtpx-progress-stable: #2eafff;
  --rtpx-progress-medium: #3b82f6;
  --rtpx-progress-high: #60a5fa;
  color-scheme: dark;
}

html,body {
  background: #141415;
  background: var(--theme-bg);
  min-height: 100%;
}

body:not(.admin-page) {
  background-color: var(--theme-bg);
  color: var(--theme-text,#f8f8fa);
}

.global-header, .global-footer, .shell {
  background-color: transparent;
}

body[data-page="home"] .rtp-home-hero {
  content-visibility: visible;
  contain: layout paint style;
  overflow: hidden;
}

body[data-page="home"] .rtp-home-hero__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: visible;
  transition: none;
  filter: none;
  transform: none;
}

body[data-page="home"] .rtp-home-hero__poster.is-active {
  opacity: 1;
}

body[data-page="home"] .rtp-home-hero__media-text[hidden] {
  display: none;
}
