/* Задняя панель boot: консольный скролл — декоративный терминал проекта */

.ds-boot-panel-console {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 18px 16px;
  overflow: hidden;
  pointer-events: none;
}

.ds-boot-panel-console__viewport {
  position: relative;
  height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 12%,
    rgba(0, 0, 0, 0.85) 35%,
    rgba(0, 0, 0, 0.85) 65%,
    rgba(0, 0, 0, 0.35) 88%,
    transparent 100%
  );
}

.ds-boot-panel-console__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  will-change: transform;
  animation: ds-boot-panel-console-scroll 28s linear infinite;
}

.ds-boot-panel-console__line {
  white-space: nowrap;
  opacity: 0.72;
}

.ds-boot-panel-console__line--dim {
  opacity: 0.42;
}

@keyframes ds-boot-panel-console-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-boot-panel-console__lines {
    animation: none;
    will-change: auto;
  }
}
