html,
body {
  min-height: 100%;
  background: #000;
}

body {
  overflow-x: hidden;
}

.machima-live-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

#molten-live-background {
  background:
    radial-gradient(circle at 24% 18%, rgba(0, 255, 136, 0.16), transparent 24%),
    radial-gradient(circle at 78% 24%, rgba(255, 51, 102, 0.15), transparent 28%),
    radial-gradient(circle at 50% 88%, rgba(251, 159, 13, 0.14), transparent 30%),
    #000;
  filter: saturate(1.18) contrast(1.08);
}

#molten-live-header {
  background:
    linear-gradient(90deg, rgba(0, 255, 136, 0.16), rgba(255, 51, 102, 0.1), rgba(0, 255, 136, 0.16)),
    transparent;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.machima-menu-panel {
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 180ms ease, visibility 180ms ease;
  will-change: transform, opacity;
}

.machima-menu-panel.is-open {
  transform: translateY(0) !important;
  visibility: visible !important;
  opacity: 1;
  pointer-events: auto;
}

body.machima-menu-open {
  overflow: hidden;
}

.machima-static-ready .he-nav-icon-btn,
.machima-static-ready .rainbow-border-button {
  -webkit-tap-highlight-color: transparent;
}

.machima-static-ready .he-nav-icon-btn:focus-visible,
.machima-static-ready .rainbow-border-button:focus-visible {
  outline: 1px solid var(--theme-accent);
  outline-offset: 4px;
}

.glass-card-subtle svg circle[filter="url(#rainbow-circle-glow)"] {
  animation: machima-loader-ring 1350ms linear infinite;
  transform-origin: 27px 27px;
}

@keyframes machima-loader-ring {
  to {
    stroke-dashoffset: -230;
  }
}

@media (prefers-reduced-motion: reduce) {
  .machima-menu-panel,
  .glass-card-subtle svg circle[filter="url(#rainbow-circle-glow)"] {
    animation: none;
    transition: none;
  }
}
