.ascii-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  font-family: 'Courier New', 'Lucida Console', 'Monaco', monospace;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: -2px;
  white-space: pre;
  word-spacing: 0;
  color: #FFD700;
  transform: scaleX(1.1);
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  font-weight: normal;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  animation: ascii-glow 3s ease-in-out infinite alternate;
}

@keyframes ascii-glow {
  0% {
    opacity: 0.5;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  }
  100% {
    opacity: 0.7;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  }
}

@media (max-width: 768px) {
  .ascii-background {
    font-size: 10px;
    line-height: 10px;
  }
}

@media (min-width: 1200px) {
  .ascii-background {
    font-size: 16px;
    line-height: 16px;
  }
}

@media (min-width: 1600px) {
  .ascii-background {
    font-size: 18px;
    line-height: 18px;
  }
}

.whisk-interface .ascii-background {
  color: #FFD700;
}

.image-interface .ascii-background {
  color: #FFD700;
}


.content-frame .ascii-background {
  color: rgba(255, 215, 0, 0.6);
}

.content-frame .background-ascii-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 1.0;
  border-radius: 20px;
  overflow: hidden;
}

.ascii-background-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ascii-background-container > *:not(.ascii-background) {
  position: relative;
  z-index: 2;
}

.ascii-background {
  will-change: opacity;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}