/* Keep the site canvas consistent with the Community and public profile pages. */
:root {
  --site-page-background: #080c0e;
}

html,
body,
#conteudo {
  background-color: var(--site-page-background) !important;
  background-image: none !important;
}

/* Page roots must not introduce a second full-page canvas. Component surfaces
   (cards, heroes, banners and panels) retain their own visual treatment. */
.library-page,
.blog-index,
.blog-article,
.journal-article,
.tools-page,
.exhibition-page,
.login-experience,
.premium-experience,
.premium-page,
.hp3,
.drive-page,
.workspace-detail-page,
.dashboard-v2,
.account-settings,
.sub-v2,
.admin-page,
.error-page,
.banned-public,
.shared-download-page {
  background-color: var(--site-page-background) !important;
  background-image: none !important;
}

/* These elements decorate the page canvas rather than an individual card. */
.library-ambient,
.login-noise,
.login-aurora,
.drive-ambient {
  display: none !important;
}

.shared-download-page::before,
.shared-download-page::after,
.share-atmosphere {
  display: none !important;
}

/* Keep every authentication route on the same neutral site canvas. */
body:has(.login-experience),
body:has(.login-experience) #conteudo,
body:has(.login-experience) main,
.login-experience,
.register-experience,
.two-factor-experience {
  background: var(--site-page-background) !important;
  background-image: none !important;
}

body:has(.login-experience)::before,
.login-stage::before,
.login-stage::after {
  display: none !important;
}
