/* Saturn-only host page for Flamery's original Silk component. */
:root,
html,
body,
#root {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #050609;
}

body {
  position: relative;
  isolation: isolate;
}

.backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  overflow: hidden !important;
  background: #050609 !important;
  pointer-events: none !important;
}

.backdrop > div:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
}

.backdrop canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.backdrop-shade {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(12, 14, 18, 0.02) 22%, rgba(0, 0, 0, 0.30) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.20)) !important;
}

.backdrop-still {
  position: absolute;
  inset: 0;
  background: #050609;
}

@media (prefers-reduced-motion: reduce) {
  /* The source renderer handles its own runtime; this keeps the host static if
     the browser requests reduced motion and the fallback is shown. */
  .backdrop-still { background: #050609; }
}
