/* Same flowing field as the host sign-in page, fixed behind page content.
   Marketing pages stay at 14px. Dashboards are 11px. */
html:has(.page-aurora) {
  font-size: 14px;
}

html:has(body.admin-body),
html:has(body.pd-body),
html:has(body.host-desktop-body),
html:has(body.host-app-body),
html:has(body.studio-lite) {
  font-size: 11px;
}



.page-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 48% at 72% 28%, rgba(255, 28, 123, 0.28), transparent 62%),
    radial-gradient(ellipse 70% 50% at 58% 92%, rgba(255, 126, 33, 0.32), transparent 64%),
    radial-gradient(ellipse 40% 36% at 18% 70%, rgba(168, 85, 247, 0.2), transparent 60%),
    #030712;
}

.page-aurora-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-aurora-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.28) 100%);
}

body:has(.page-aurora) {
  background: #030712;
}

body.admin-body,
body.admin-body *:not(svg):not(canvas),
body.host-app-body,
body.host-app-body *:not(svg):not(canvas) {
  font-size: 11px !important;
  letter-spacing: 0 !important;
}

body.admin-body .events-stats-grid .events-stat-card:nth-child(1) strong { color: #ff4d9a !important; }
body.admin-body .events-stats-grid .events-stat-card:nth-child(2) strong { color: #3dd68c !important; }
body.admin-body .events-stats-grid .events-stat-card:nth-child(3) strong { color: #7eb8ff !important; }
body.admin-body .events-stats-grid .events-stat-card:nth-child(4) strong { color: #c084fc !important; }
body.admin-body .events-stats-grid .events-stat-card:nth-child(5) strong { color: #f5c16c !important; }

body.admin-body .tone-blue ~ .dash-copy strong { color: #7eb8ff !important; }
body.admin-body .tone-rose ~ .dash-copy strong { color: #ff4d9a !important; }
body.admin-body .tone-green ~ .dash-copy strong { color: #3dd68c !important; }
body.admin-body .tone-amber ~ .dash-copy strong { color: #f5c16c !important; }
body.admin-body .tone-slate ~ .dash-copy strong { color: #d8d0e0 !important; }
body.admin-body .tone-orange ~ .dash-copy strong { color: #ff7e21 !important; }
body.admin-body .tone-teal ~ .dash-copy strong { color: #2dd4bf !important; }
body.admin-body .tone-indigo ~ .dash-copy strong { color: #a78bfa !important; }
body.admin-body .tone-violet ~ .dash-copy strong { color: #c084fc !important; }
body.admin-body .events-chip:nth-child(1) strong { color: #ff4d9a !important; }
body.admin-body .events-chip:nth-child(2) strong { color: #7eb8ff !important; }
body.admin-body .events-chip:nth-child(3) strong { color: #3dd68c !important; }
body.admin-body .events-chip:nth-child(4) strong { color: #f5c16c !important; }

body.admin-body .page-title,
body.admin-body .notification-title,
body.admin-body .overview-chart-head h3,
body.admin-body .overview-panel-head h2,
body.admin-body .offer-head h3,
body.admin-body .dash-copy strong,
body.admin-body .overview-action-text strong,
body.admin-body .events-stats-inline strong,
body.admin-body .events-stat-card strong,
body.admin-body .events-chip strong {
  font-size: 11px !important;
}

.page-aurora ~ *:not(.pwa-install):not(.menu-root):not(.toast-stack):not(.net-banner):not(.install-root) {
  position: relative;
  z-index: 1;
}

.page-aurora ~ .menu-root {
  z-index: 80;
}

.page-aurora ~ .toast-stack {
  z-index: 70;
}

.page-aurora ~ .net-banner {
  z-index: 40;
}

.page-aurora ~ .install-root {
  z-index: 90;
}

.page-aurora ~ .studio-bg,
.page-aurora ~ .login-scene,
.page-aurora ~ .demo-bg {
  display: none;
}

@media (max-width: 900px) {
  .page-aurora-canvas,
  .page-aurora-vignette { display: none !important; }
  .page-aurora {
    background: #07010f url("mobile-wave.png") center center / cover no-repeat !important;
  }
}

@media (display-mode: standalone) {
  .page-aurora-canvas,
  .page-aurora-vignette { display: none !important; }
  .page-aurora {
    background: #07010f url("mobile-wave.png") center center / cover no-repeat !important;
  }
}
