:root {
  --lu78-tool-bg: rgba(16, 16, 16, 0.9);
  --lu78-tool-line: rgba(255, 255, 255, 0.14);
  --lu78-tool-text: #f7f4ec;
  --lu78-tool-muted: rgba(247, 244, 236, 0.62);
  --lu78-tool-accent: #9cff3f;
}

#lu78-editor,
#lu78-editor * {
  box-sizing: border-box;
  letter-spacing: 0;
}

#lu78-editor {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483000;
  width: min(380px, calc(100vw - 28px));
  color: var(--lu78-tool-text);
  font-family: Urbanist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: auto;
}

.lu78-editor-shell {
  overflow: hidden;
  border: 1px solid var(--lu78-tool-line);
  border-radius: 8px;
  background: var(--lu78-tool-bg);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px) saturate(1.4);
}

.lu78-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid var(--lu78-tool-line);
}

.lu78-editor-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lu78-editor-title strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.lu78-editor-title span,
.lu78-editor-status,
.lu78-field small {
  color: var(--lu78-tool-muted);
  font-size: 11px;
  line-height: 1.35;
}

.lu78-editor-body {
  display: grid;
  gap: 12px;
  max-height: min(72vh, 720px);
  overflow: auto;
  padding: 12px;
}

.lu78-tabs,
.lu78-buttons,
.lu78-row {
  display: flex;
  gap: 8px;
}

.lu78-tabs {
  padding: 3px;
  border: 1px solid var(--lu78-tool-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
}

.lu78-tabs button,
.lu78-icon-button,
.lu78-button {
  min-height: 32px;
  border: 1px solid var(--lu78-tool-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--lu78-tool-text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.lu78-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
}

.lu78-tabs button[aria-pressed="true"],
.lu78-button.is-active {
  background: var(--lu78-tool-accent);
  color: #101010;
  font-weight: 700;
}

.lu78-icon-button {
  width: 32px;
  flex: 0 0 32px;
  font-size: 16px;
}

.lu78-button {
  flex: 1;
  padding: 0 10px;
}

.lu78-section {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--lu78-tool-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.lu78-section h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lu78-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.lu78-field label {
  color: var(--lu78-tool-muted);
  font-size: 11px;
}

.lu78-field input,
.lu78-field select,
.lu78-field textarea {
  width: 100%;
  min-height: 31px;
  border: 1px solid var(--lu78-tool-line);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--lu78-tool-text);
  font: inherit;
  font-size: 12px;
  outline: none;
}

.lu78-field input,
.lu78-field select {
  padding: 0 9px;
}

.lu78-field textarea {
  min-height: 66px;
  resize: vertical;
  padding: 8px 9px;
}

.lu78-field input[type="color"] {
  height: 31px;
  padding: 3px;
}

.lu78-field input[type="range"] {
  padding: 0;
}

.lu78-field input[type="number"] {
  font-variant-numeric: tabular-nums;
}

.lu78-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.lu78-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#lu78-editor.is-closed {
  width: auto;
}

#lu78-editor.is-closed .lu78-editor-shell {
  display: none;
}

.lu78-launcher {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--lu78-tool-line);
  border-radius: 50%;
  background: #101010;
  color: var(--lu78-tool-accent);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  font-size: 20px;
  cursor: pointer;
}

#lu78-editor.is-closed .lu78-launcher {
  display: block;
}

.lu78-select-outline {
  outline: 2px solid var(--lu78-tool-accent) !important;
  outline-offset: 4px !important;
}

.lu78-custom-video-hero {
  min-height: calc(
    var(--lu78-nav-clearance, 78px) +
    calc(100vw * 9 / 16) +
    34px
  ) !important;
  background: #000;
  overflow: hidden;
}

.lu78-custom-hero-video-layer {
  z-index: 1;
  inset: auto 0 auto 0 !important;
  top: var(--lu78-nav-clearance, 78px) !important;
  width: 100vw;
  height: calc(100vw * 9 / 16);
  overflow: hidden;
  background: #000;
}

.lu78-custom-hero-video-layer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 46px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000);
}

.lu78-custom-hero-video,
.lu78-custom-hero-video-layer video {
  background: #000;
  object-fit: contain !important;
  object-position: center top !important;
  transform: none !important;
  transform-origin: center center;
}

.lu78-hero-info-overlay {
  position: absolute;
  z-index: 4;
  top: var(--lu78-nav-clearance, 78px);
  left: 50%;
  width: min(76.05vw, 1460px);
  max-width: calc(100vw - 96px);
  height: auto;
  transform:
    translate(
      calc(-50% + var(--lu78-x-fluid, var(--lu78-x, 0px))),
      var(--lu78-y-fluid, var(--lu78-y, 0px))
    )
    rotate(var(--lu78-rotate, 0deg))
    scale(var(--lu78-scale, 1));
  opacity: 0.86;
  pointer-events: auto;
  user-select: none;
  cursor: move;
  touch-action: none;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.18));
}

.lu78-hero-info-overlay.is-lu78-dragging {
  cursor: grabbing;
  transition: none !important;
}

.lu78-hide-carousel-dots {
  display: none !important;
}

.lu78-hide-original-carousel-media {
  display: none !important;
}

@media (max-width: 900px) {
  .lu78-custom-video-hero {
    min-height: calc(
      var(--lu78-nav-clearance, 64px) +
      calc(100vw * 9 / 16) +
      28px
    ) !important;
  }

  .lu78-custom-hero-video-layer {
    inset: auto 0 auto 0 !important;
    top: var(--lu78-nav-clearance, 64px) !important;
    width: 100vw;
    height: calc(100vw * 9 / 16);
  }

  .lu78-custom-hero-video,
  .lu78-custom-hero-video-layer video {
    transform: none !important;
  }

  .lu78-hero-info-overlay {
    top: var(--lu78-nav-clearance, 64px);
    width: min(96vw, 760px);
    max-width: calc(100vw - 24px);
    opacity: 0.82;
  }
}

.lu78-char {
  display: inline-block;
  transform:
    translate(var(--lu78-x, 0px), var(--lu78-y, 0px))
    rotate(var(--lu78-rotate, 0deg))
    scale(var(--lu78-scale, 1));
  filter: blur(var(--lu78-blur, 0px));
  opacity: var(--lu78-opacity, 1);
  transform-origin: 50% 60%;
  animation-duration: var(--lu78-duration, 1.4s);
  animation-delay: var(--lu78-delay, 0s);
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.lu78-char.is-selected {
  outline: 1px solid var(--lu78-tool-accent);
  outline-offset: 2px;
}

.lu78-editable-media {
  transform:
    translate(var(--lu78-x, 0px), var(--lu78-y, 0px))
    rotate(var(--lu78-rotate, 0deg))
    scale(var(--lu78-scale, 1));
  filter:
    blur(var(--lu78-blur, 0px))
    saturate(var(--lu78-saturate, 1));
  opacity: var(--lu78-opacity, 1);
  border-radius: var(--lu78-radius, inherit);
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease, border-radius 180ms ease;
}

.lu78-hero-info-overlay.lu78-editable-media {
  transform:
    translate(
      calc(-50% + var(--lu78-x-fluid, var(--lu78-x, 0px))),
      var(--lu78-y-fluid, var(--lu78-y, 0px))
    )
    rotate(var(--lu78-rotate, 0deg))
    scale(var(--lu78-scale, 1));
}

.lu78-interact {
  --lu78-interaction-intensity: 1;
  --lu78-interaction-speed: 420ms;
  --lu78-interaction-delay: 0ms;
  --lu78-interaction-x: 0px;
  --lu78-interaction-y: 0px;
  --lu78-interaction-rx: 0deg;
  --lu78-interaction-ry: 0deg;
  --lu78-parallax-y: 0px;
  transform-style: preserve-3d;
  transition:
    translate var(--lu78-interaction-speed) cubic-bezier(0.22, 1, 0.36, 1),
    scale var(--lu78-interaction-speed) cubic-bezier(0.22, 1, 0.36, 1),
    rotate var(--lu78-interaction-speed) cubic-bezier(0.22, 1, 0.36, 1),
    opacity var(--lu78-interaction-speed) ease,
    filter var(--lu78-interaction-speed) ease,
    box-shadow var(--lu78-interaction-speed) ease;
  transition-delay: var(--lu78-interaction-delay);
  will-change: translate, scale, rotate, opacity, filter;
}

.lu78-interact-hoverLift:hover,
.lu78-interact-hoverLift.is-lu78-previewing {
  translate: 0 var(--lu78-hover-y, -14px);
}

.lu78-interact-hoverZoom:hover,
.lu78-interact-hoverZoom.is-lu78-previewing {
  scale: var(--lu78-hover-scale, 1.07);
}

.lu78-interact-hoverGlow:hover,
.lu78-interact-hoverGlow.is-lu78-previewing {
  filter: drop-shadow(0 0 var(--lu78-glow-size, 18px) rgba(156, 255, 63, 0.72));
  box-shadow: 0 0 0 1px rgba(156, 255, 63, 0.42), 0 16px 44px rgba(156, 255, 63, 0.16);
}

.lu78-interact-tilt {
  rotate: var(--lu78-interaction-rx) var(--lu78-interaction-ry) 0deg;
}

.lu78-interact-magnetic {
  translate: var(--lu78-interaction-x) var(--lu78-interaction-y);
}

.lu78-interact-clickBurst {
  cursor: pointer;
}

.lu78-interact-clickBurst:active,
.lu78-interact-clickBurst.is-lu78-previewing {
  scale: var(--lu78-active-scale, 0.96);
}

.lu78-interact-scrollReveal {
  opacity: 0;
  translate: 0 var(--lu78-reveal-y, 36px);
}

.lu78-interact-scrollReveal.is-lu78-revealed,
.lu78-interact-scrollReveal.is-lu78-previewing {
  opacity: 1;
  translate: 0 0;
}

.lu78-interact-parallax {
  translate: 0 var(--lu78-parallax-y);
}

.lu78-interaction-burst {
  position: fixed;
  z-index: 2147482998;
  pointer-events: none;
  font-size: 22px;
  transform: translate(-50%, -50%);
  animation: lu78InteractionBurst 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#lu78-bits-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body:has(#lu78-bits-background) #root {
  position: relative;
  z-index: 1;
}

.lu78-bits {
  --bits-a: #9cff3f;
  --bits-b: #ffb8df;
  --bits-x: 50%;
  --bits-y: 50%;
  --bits-speed: 2600ms;
  --bits-glow: 30px;
  --bits-shift: 18px;
  --bits-scale: 1.08;
  --bits-rx: 0deg;
  --bits-ry: 0deg;
  --bits-mx: 0px;
  --bits-my: 0px;
  position: relative;
  isolation: isolate;
}

.lu78-bits-shinyText,
.lu78-bits-gradientFlow {
  color: transparent !important;
  background-image: linear-gradient(110deg, var(--bits-a), #ffffff, var(--bits-b), var(--bits-a));
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: lu78BitsGradient var(--bits-speed) linear infinite;
}

.lu78-bits-shinyText {
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--bits-a) 40%, transparent));
}

.lu78-bits-neonPulse {
  color: var(--bits-a) !important;
  text-shadow:
    0 0 6px color-mix(in srgb, var(--bits-a) 75%, transparent),
    0 0 22px color-mix(in srgb, var(--bits-b) 45%, transparent);
  animation: lu78BitsNeon var(--bits-speed) ease-in-out infinite;
}

.lu78-bits-blurReveal {
  animation: lu78BitsBlurReveal var(--bits-speed) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lu78-bits-blurReveal .lu78-char {
  animation: lu78BitsCharReveal 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--bits-index, 0) * 28ms);
}

.lu78-bits-splitWave .lu78-char {
  color: inherit;
  animation: lu78BitsSplitWave var(--bits-speed) ease-in-out infinite;
  animation-delay: calc(var(--bits-index, 0) * 42ms);
}

.lu78-bits-scrambleHover {
  cursor: pointer;
}

.lu78-bits-borderGlow {
  overflow: hidden;
}

.lu78-bits-borderGlow::before,
.lu78-bits-spotlight::before,
.lu78-bits-glareCard::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 220ms ease;
}

.lu78-bits-borderGlow::before {
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(circle var(--bits-glow) at var(--bits-x) var(--bits-y), var(--bits-a), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, var(--bits-a) 45%, transparent), color-mix(in srgb, var(--bits-b) 40%, transparent));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.lu78-bits-borderGlow:hover::before,
.lu78-bits-borderGlow.is-lu78-bits-previewing::before,
.lu78-bits-spotlight:hover::before,
.lu78-bits-spotlight.is-lu78-bits-previewing::before,
.lu78-bits-glareCard:hover::before,
.lu78-bits-glareCard.is-lu78-bits-previewing::before {
  opacity: 1;
}

.lu78-bits-spotlight::before {
  z-index: 1;
  background: radial-gradient(circle calc(var(--bits-glow) * 3) at var(--bits-x) var(--bits-y), color-mix(in srgb, var(--bits-a) 26%, transparent), transparent 58%);
  mix-blend-mode: screen;
}

.lu78-bits-glareCard {
  overflow: hidden;
}

.lu78-bits-glareCard::before {
  inset: -60%;
  z-index: 1;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.44) 48%, transparent 58%);
  transform: translateX(-42%) rotate(8deg);
}

.lu78-bits-glareCard:hover::before,
.lu78-bits-glareCard.is-lu78-bits-previewing::before {
  animation: lu78BitsGlare calc(var(--bits-speed) * 0.72) cubic-bezier(0.22, 1, 0.36, 1);
}

.lu78-bits-tilt3d {
  transform: perspective(850px) rotateX(var(--bits-rx)) rotateY(var(--bits-ry));
  transition: transform 180ms ease;
}

.lu78-bits-magnetic {
  translate: var(--bits-mx) var(--bits-my);
  transition: translate 180ms ease;
}

.lu78-bits-elasticPop:hover,
.lu78-bits-elasticPop.is-lu78-bits-previewing {
  animation: lu78BitsElastic 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lu78-bits-bg {
  --bits-a: #9cff3f;
  --bits-b: #ffb8df;
  --bits-speed: 2600ms;
  background: transparent;
}

.lu78-bits-bg-aurora {
  opacity: 0.6;
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--bits-a) 42%, transparent), transparent 34%),
    radial-gradient(circle at 82% 28%, color-mix(in srgb, var(--bits-b) 38%, transparent), transparent 32%),
    radial-gradient(circle at 48% 82%, color-mix(in srgb, #ffffff 18%, transparent), transparent 30%);
  filter: blur(34px) saturate(1.35);
  animation: lu78BitsAurora var(--bits-speed) ease-in-out infinite alternate;
}

.lu78-bits-bg-particleField i {
  position: absolute;
  width: var(--bits-dot-size, 4px);
  height: var(--bits-dot-size, 4px);
  border-radius: 50%;
  background: var(--bits-a);
  box-shadow: 0 0 16px var(--bits-b);
  opacity: 0.75;
  animation: lu78BitsParticle var(--bits-speed) linear infinite;
}

.lu78-bits-bg-animatedGrid {
  opacity: 0.34;
  background-image:
    linear-gradient(color-mix(in srgb, var(--bits-a) 25%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--bits-b) 22%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: lu78BitsGrid var(--bits-speed) linear infinite;
}

.lu78-bits-bg-noiseTexture {
  opacity: 0.28;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(115deg, color-mix(in srgb, var(--bits-a) 10%, transparent) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
  animation: lu78BitsNoise 900ms steps(4) infinite;
}

.lu78-bits-bg-liquidWaves {
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 20% 120%, color-mix(in srgb, var(--bits-a) 38%, transparent), transparent 52%),
    radial-gradient(ellipse at 80% -20%, color-mix(in srgb, var(--bits-b) 38%, transparent), transparent 48%);
}

.lu78-bits-bg-liquidWaves::before,
.lu78-bits-bg-spotlightBg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: repeating-radial-gradient(ellipse at center, rgba(255,255,255,0.18) 0 2px, transparent 2px 20px);
  filter: blur(1px);
  animation: lu78BitsWaves var(--bits-speed) ease-in-out infinite;
}

.lu78-bits-bg-spotlightBg {
  opacity: 0.52;
  background: radial-gradient(circle at 50% 15%, color-mix(in srgb, var(--bits-a) 34%, transparent), transparent 42%);
}

.lu78-bits-global {
  --bits-a: #9cff3f;
  --bits-b: #ffb8df;
  --bits-cursor-x: -100px;
  --bits-cursor-y: -100px;
  position: fixed;
  inset: 0;
  z-index: 2147482500;
  pointer-events: none;
}

.lu78-bits-global-cursorTrail i {
  position: fixed;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--bits-a), transparent 68%);
  animation: lu78BitsTrail var(--bits-speed) ease-out forwards;
}

.lu78-bits-global-clickSpark b {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bits-a);
  box-shadow: 0 0 14px var(--bits-b);
  transform: translate(-50%, -50%);
  animation: lu78BitsSpark 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.lu78-bits-global-crosshair::before,
.lu78-bits-global-crosshair::after {
  content: "";
  position: fixed;
  background: color-mix(in srgb, var(--bits-a) 54%, transparent);
  box-shadow: 0 0 10px var(--bits-b);
}

.lu78-bits-global-crosshair::before {
  left: var(--bits-cursor-x);
  top: 0;
  width: 1px;
  height: 100vh;
}

.lu78-bits-global-crosshair::after {
  left: 0;
  top: var(--bits-cursor-y);
  width: 100vw;
  height: 1px;
}

.lu78-bits-global-cursorBlob::before {
  content: "";
  position: fixed;
  left: var(--bits-cursor-x);
  top: var(--bits-cursor-y);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--bits-a) 36%, transparent), transparent 66%);
  filter: blur(4px);
  transform: translate(-50%, -50%);
  transition: left 120ms ease, top 120ms ease;
  mix-blend-mode: screen;
}

.lu78-anim-float {
  animation-name: lu78Float;
}

.lu78-anim-pulse {
  animation-name: lu78Pulse;
}

.lu78-anim-pop {
  animation-name: lu78Pop;
}

.lu78-anim-spin {
  animation-name: lu78Spin;
}

.lu78-anim-wave {
  animation-name: lu78Wave;
}

.lu78-anim-glitch {
  animation-name: lu78Glitch;
  animation-timing-function: steps(2, end);
}

@keyframes lu78Float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.22em; }
}

@keyframes lu78Pulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.14; }
}

@keyframes lu78Pop {
  0%, 100% { transform: translate(var(--lu78-x, 0px), var(--lu78-y, 0px)) rotate(var(--lu78-rotate, 0deg)) scale(var(--lu78-scale, 1)); }
  45% { transform: translate(var(--lu78-x, 0px), calc(var(--lu78-y, 0px) - 0.18em)) rotate(var(--lu78-rotate, 0deg)) scale(calc(var(--lu78-scale, 1) + 0.22)); }
}

@keyframes lu78Spin {
  to { rotate: 360deg; }
}

@keyframes lu78Wave {
  0%, 100% { transform: translate(var(--lu78-x, 0px), var(--lu78-y, 0px)) rotate(calc(var(--lu78-rotate, 0deg) - 5deg)) scale(var(--lu78-scale, 1)); }
  50% { transform: translate(var(--lu78-x, 0px), calc(var(--lu78-y, 0px) - 0.18em)) rotate(calc(var(--lu78-rotate, 0deg) + 5deg)) scale(var(--lu78-scale, 1)); }
}

@keyframes lu78Glitch {
  0%, 100% { translate: 0 0; filter: hue-rotate(0deg); }
  25% { translate: 1px -1px; filter: hue-rotate(45deg); }
  50% { translate: -2px 1px; filter: hue-rotate(-35deg); }
  75% { translate: 2px 0; filter: hue-rotate(80deg); }
}

@keyframes lu78InteractionBurst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.72) rotate(0deg);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform:
      translate(calc(-50% + var(--lu78-burst-x)), calc(-50% + var(--lu78-burst-y)))
      scale(1.25)
      rotate(var(--lu78-burst-rotate));
  }
}

@keyframes lu78BitsGradient {
  to { background-position: -240% 0; }
}

@keyframes lu78BitsNeon {
  0%, 100% { filter: saturate(1); opacity: 0.84; }
  50% { filter: saturate(1.45); opacity: 1; }
}

@keyframes lu78BitsBlurReveal {
  from { opacity: 0; filter: blur(18px); translate: 0 16px; }
  to { opacity: 1; filter: blur(0); translate: 0 0; }
}

@keyframes lu78BitsCharReveal {
  from { opacity: 0; filter: blur(12px); translate: 0 0.8em; rotate: 4deg; }
  to { opacity: 1; filter: blur(0); translate: 0 0; rotate: 0deg; }
}

@keyframes lu78BitsSplitWave {
  0%, 100% { translate: 0 0; color: inherit; }
  45% { translate: 0 -0.28em; color: var(--bits-a); }
  70% { color: var(--bits-b); }
}

@keyframes lu78BitsGlare {
  from { transform: translateX(-56%) rotate(8deg); }
  to { transform: translateX(56%) rotate(8deg); }
}

@keyframes lu78BitsElastic {
  0%, 100% { scale: 1; }
  38% { scale: var(--bits-scale); }
  62% { scale: 0.985; }
}

@keyframes lu78BitsAurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); filter: blur(34px) hue-rotate(0deg); }
  to { transform: translate3d(2%, 1.5%, 0) scale(1.08); filter: blur(42px) hue-rotate(26deg); }
}

@keyframes lu78BitsParticle {
  from { transform: translate3d(0, 14px, 0); opacity: 0; }
  18% { opacity: 0.75; }
  to { transform: translate3d(24px, -54px, 0); opacity: 0; }
}

@keyframes lu78BitsGrid {
  to { background-position: 44px 44px; }
}

@keyframes lu78BitsNoise {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1%, 1%); }
  50% { transform: translate(1%, -1%); }
  75% { transform: translate(1%, 1%); }
  100% { transform: translate(0, 0); }
}

@keyframes lu78BitsWaves {
  0%, 100% { transform: translate3d(-2%, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(2%, -2%, 0) rotate(5deg) scale(1.08); }
}

@keyframes lu78BitsTrail {
  from { opacity: 0.8; scale: 1; }
  to { opacity: 0; scale: 0.15; }
}

@keyframes lu78BitsSpark {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(calc(-50% + var(--bits-spark-x)), calc(-50% + var(--bits-spark-y))) scale(0.2);
  }
}

@media (max-width: 520px) {
  #lu78-editor {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .lu78-grid-3 {
    grid-template-columns: 1fr;
  }
}
