* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background: #000000;
  overflow: hidden;
  user-select: none;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   PixelSwap Component Styles
   ========================================================================== */

.pixel-swap {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  outline: none;
}

.pixel-swap__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pixel-swap__layer[data-visible='false'] {
  visibility: hidden;
}

.pixel-swap__grid {
  position: absolute;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.pixel-swap__pixel {
  position: absolute;
  overflow: hidden;
  opacity: 0;
  contain: paint;
}

.pixel-swap__pixel-content {
  position: absolute;
}

/* ==========================================================================
   Slide 1: Черный экран
   ========================================================================== */

.slide-first-screen {
  width: 100%;
  height: 100%;
  background: #000000;
  position: relative;
}

.title-screen {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.tech-text-container {
  width: 100%;
  height: 240px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-text-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.action-container {
  margin-top: 16px;
  z-index: 10;
}

/* HoldButton CSS */
.hold-button {
  --hb-radius: 14px;
  --hb-bg: #ffffff;
  --hb-fill: #000000;
  --hb-text: #000000;
  --hb-fill-text: #ffffff;
  --hb-hold: 2000ms;
  --hb-release: 200ms;
  --hb-press: 0.97;
  --hb-wave: 6px;
  --hb-w: 0px;
  --hb-h: 0px;
  --hb-cycles: 2;
  --hb-p: 0;
  --hb-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --hb-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  --hb-glow: 0 0 25px rgba(255, 255, 255, 0.5);

  position: relative;
  display: inline-grid;
  place-items: center;
  isolation: isolate;
  margin: 0;
  border: 0;
  border-radius: var(--hb-radius);
  background: var(--hb-bg);
  color: var(--hb-text);
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  box-shadow: var(--hb-shadow);
  cursor: pointer;
  outline: none;
  user-select: none;
  touch-action: manipulation;
  transition:
    transform 160ms var(--hb-ease-out),
    background-color 160ms ease,
    box-shadow var(--hb-release) var(--hb-ease-out);
}

.hold-button--md {
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
}

@media (hover: hover) and (pointer: fine) {
  .hold-button:not(:disabled):hover {
    background: #f0f0f0;
  }
}

.hold-button[data-phase='holding'][data-input='pointer'] {
  transform: scale(var(--hb-press));
}

.hold-button[data-glow='true'][data-phase='holding'],
.hold-button[data-glow='true'][data-phase='done'] {
  box-shadow: var(--hb-glow);
}

.hold-button[data-glow='true'][data-phase='holding'] {
  transition:
    transform 160ms var(--hb-ease-out),
    background-color 160ms ease,
    box-shadow var(--hb-hold) linear;
}

.hold-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.hold-button__pulse {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--hb-radius);
  pointer-events: none;
  opacity: 0;
}

.hold-button[data-glow='true'][data-phase='done'] .hold-button__pulse {
  animation: hb-pulse 600ms var(--hb-ease-out) forwards;
}

@keyframes hb-pulse {
  from {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  }
  to {
    opacity: 0;
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
}

.hold-button__label {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.hold-button__label > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: opacity 200ms ease, filter 200ms ease;
}

.hold-button__done {
  opacity: 0;
  filter: blur(2px);
}

.hold-button[data-phase='done'] .hold-button__idle {
  opacity: 0;
  filter: blur(2px);
}

.hold-button[data-phase='done'] .hold-button__done {
  opacity: 1;
  filter: blur(0);
}

.hold-button__clip {
  position: absolute;
  inset: 0;
  z-index: 3;
  clip-path: inset(0 round var(--hb-radius));
  pointer-events: none;
}

.hold-button__fill {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--hb-fill);
  color: var(--hb-fill-text);
  clip-path: inset(
    0 calc((1 - var(--hb-p)) * (100% + 0.75 * var(--hb-wave)) - var(--hb-p) * 0.25 * var(--hb-wave)) 0 0
  );
}

.hold-button__crest {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--hb-fill);
  color: var(--hb-fill-text);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='200' viewBox='0 0 20 200' preserveAspectRatio='none'%3E%3Cpath d='M0 0H10C18 8 18 25.3 10 33.3S2 58.7 10 66.7S18 92 10 100S2 125.3 10 133.3S18 158.7 10 166.7S2 192 10 200H0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='200' viewBox='0 0 20 200' preserveAspectRatio='none'%3E%3Cpath d='M0 0H10C18 8 18 25.3 10 33.3S2 58.7 10 66.7S18 92 10 100S2 125.3 10 133.3S18 158.7 10 166.7S2 192 10 200H0Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-y;
  mask-repeat: repeat-y;
  -webkit-mask-size: var(--hb-wave) calc(var(--hb-h) * 2);
  mask-size: var(--hb-wave) calc(var(--hb-h) * 2);
  -webkit-mask-position-x: calc(-1 * var(--hb-wave) + var(--hb-p) * (var(--hb-w) + var(--hb-wave)));
  mask-position-x: calc(-1 * var(--hb-wave) + var(--hb-p) * (var(--hb-w) + var(--hb-wave)));
  -webkit-mask-position-y: calc(-1 * var(--hb-p) * var(--hb-cycles) * var(--hb-h));
  mask-position-y: calc(-1 * var(--hb-p) * var(--hb-cycles) * var(--hb-h));
}

.hold-button__label--fill {
  z-index: auto;
}

/* ==========================================================================
   Slide 2: Белый слайд с информацией (SplitText + Story)
   ========================================================================== */

.slide-white-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw 6vw;
  position: relative;
  overflow-y: auto;
}

.white-slide-inner {
  width: 100%;
  max-width: 1200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.white-slide-inner.revealed {
  opacity: 1;
  visibility: visible;
}

.slide-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #777777;
  margin-bottom: 12px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-kicker.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SplitText Title Styling */
.split-heading-container {
  overflow: hidden;
  margin-bottom: 32px;
}

.split-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #000000;
  text-transform: uppercase;
}

/* SplitText character spans */
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-char.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Body content appearing smoothly after title */
.white-slide-body {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.white-slide-body.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2 Columns: Text & Engraving */
.story-columns {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-lead {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  font-weight: 600;
  color: #111111;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.story-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #444444;
  margin-bottom: 28px;
  font-weight: 400;
}

/* Metrics row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid #000000;
  padding-top: 20px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.m-val {
  font-family: 'Space Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  color: #000000;
  line-height: 1.1;
  margin-bottom: 4px;
}

.m-label {
  font-size: 11px;
  line-height: 1.4;
  color: #666666;
}

/* Engraving Visual Frame & Big Next Button */
.story-visual {
  position: relative;
  width: 100%;
  min-height: 340px;
}

.engraving-frame {
  border: 1px solid #000000;
  background: #fafafa;
  padding: 20px;
  box-shadow: 8px 8px 0px #000000;
  position: relative;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.engraving-frame.fade-out {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

.engraving-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Большая черная кнопка "Дальше" с аналогичными размерами */
.big-next-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
  z-index: 5;
}

.big-next-btn.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.big-next-btn:hover {
  background: #111111;
  transform: scale(1.02);
}

.big-next-btn:active {
  transform: scale(0.99);
}

/* Эпицентр расширения черного цвета (Ripple Overlay) */
.black-ripple {
  position: fixed;
  border-radius: 50%;
  background: #000000;
  pointer-events: none;
  z-index: 500;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.black-ripple.expand {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   Слайд 3: Чистый черный экран, простой сплошной набирающийся текст сверху слева
   ========================================================================== */

.slide-typewriter-screen {
  width: 100%;
  height: 100%;
  background: #000000;
  color: #ffffff;
  padding: 8vw 10vw 20vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden; /* запрет ручного скролла */
  scroll-behavior: smooth;
  pointer-events: none; /* запрет любого взаимодействия со скроллом */
}

.typewriter-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.6;
  font-weight: 400;
  color: #ffffff;
  max-width: 950px;
  white-space: pre-wrap;
  word-break: break-word;
}

.typewriter-text::after {
  content: '▋';
  display: inline-block;
  margin-left: 6px;
  color: #ffffff;
  animation: blink-cursor 0.8s infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Большая белая кнопка-панель "Услышано" во всю правую часть экрана */
.understood-btn {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: clamp(220px, 24vw, 360px);
  background: #ffffff;
  color: #000000;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  pointer-events: auto; /* клики работают на 100% */
  transform: translateX(100%);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.understood-btn.visible {
  transform: translateX(0%);
}

.understood-btn:hover {
  background: #f2f2f2;
}

.understood-btn:hover .u-arrow {
  transform: translateX(8px);
}

.understood-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: 'Space Grotesk', sans-serif;
}

.u-text {
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.u-arrow {
  font-size: 2.2rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

/* Плавный монолитный въезд всего 4-го слайда справа налево */
.pixel-swap__layer.slide-from-right {
  transform: translateX(100%);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.pixel-swap__layer.slide-from-right.in-view {
  transform: translateX(0%);
}

/* ==========================================================================
   Слайд 4: Белый экран + Динамичные сцены + Компактный прямоугольник субтитров
   ========================================================================== */

.slide-fourth-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3vw 5vw 4vw;
  position: relative;
  overflow: hidden;
}

.fourth-top-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #555555;
  text-transform: uppercase;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

/* Центральная интерактивная сцена */
.fourth-stage {
  flex: 1;
  max-height: 64vh;
  margin: 14px 0 16px;
  border: 1.5px solid #000000;
  background: #ffffff;
  position: relative;
  box-shadow: 10px 10px 0px #000000;
  overflow: hidden;
}

.motion-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.stage-scene-badge {
  position: absolute;
  top: 16px;
  left: 20px;
  background: #000000;
  color: #ffffff;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Нижний прямоугольник субтитров (элегантный строгий блок без неонового свечения) */
.subtitles-capsule-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.subtitles-capsule {
  background: #111111;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 14px 28px;
  min-width: 380px;
  max-width: 820px;
  width: 90%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.sub-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
  opacity: 0.85;
}

.subtitles-word-display {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: #ffffff;
  min-height: 1.4em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.sub-active-word {
  color: #ffffff;
  font-weight: 600;
  /* Без размытого неонового свечения: четкий концентрированный контраст */
  text-shadow: none;
}

/* Responsive */
@media (max-width: 900px) {
  .story-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .slide-white-screen {
    padding: 60px 24px;
    align-items: flex-start;
  }
  .metrics-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   INFECTION OVERLAY CANVAS (ЭФФЕКТ ЗАРАЖЕНИЯ / ПОЧЕРНЕНИЯ ЭКРАНА)
   ========================================================================== */

.infection-overlay-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  pointer-events: none;
}

/* ==========================================================================
   СЛАЙД 5: ЧИСТЫЙ ЧЕРНЫЙ ФОН ("ПО ИТОГУ" + ПЛАВНЫЕ ПУНКТЫ С ГАЛОЧКАМИ)
   ========================================================================== */

.slide-fifth-screen {
  width: 100%;
  height: 100%;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vw 8vw;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.summary-container {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
}

/* Левая колонка: "По итогу" */
.summary-heading-col {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-fifth-screen.revealed .summary-heading-col {
  opacity: 1;
  transform: translateY(0);
}

.summary-title {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
  margin: 0 0 28px 0;
}

.summary-accent-line {
  width: 48px;
  height: 2px;
  background: #ffffff;
}

/* Правая колонка: Список пунктов */
.summary-items-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 680px;
}

/* Строка пункта */
.summary-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.summary-row.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Круг и галочка SVG */
.check-box-wrapper {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 3px;
}

.check-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.check-circle {
  stroke-dasharray: 76;
  stroke-dashoffset: 76;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.check-path {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

/* При активации галочки запускается плавная прорисовка контура */
.summary-row.checked .check-circle {
  stroke-dashoffset: 0;
}

.summary-row.checked .check-path {
  stroke-dashoffset: 0;
}

/* Текст пункта */
.summary-text-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-item-head {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  line-height: 1.25;
}

.summary-item-desc {
  font-size: clamp(13.5px, 1.1vw, 15px);
  line-height: 1.55;
  color: #888888;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 900px) {
  .summary-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   MOGGED FLASH OVERLAY (8s и 12s)
   ========================================================================== */

.flash-mogged-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.flash-mogged-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mogged-text {
  font-family: 'Cinzel', 'Space Grotesk', serif;
  font-size: clamp(4.5rem, 13vw, 12rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-transform: uppercase;
  user-select: none;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

/* ==========================================================================
   FULLSCREEN MADE BY AGICHEV (СМЕНА ШРИФТА ПОД БИТ)
   ========================================================================== */

.fullscreen-agichev-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 550;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  text-align: center;
  padding: 20px;
}

.fullscreen-agichev-overlay.active {
  opacity: 1;
  visibility: visible;
}

.agichev-text {
  font-size: clamp(2.2rem, 5.8vw, 6.2rem);
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
  max-width: 95vw;
  text-shadow: 0 0 45px rgba(255, 255, 255, 0.45);
  line-height: 1.1;
  letter-spacing: 0.06em;
  display: inline-block;
  transition: transform 0.05s ease-out;
}

.agichev-text.beat-hit {
  transform: scale(1.05);
}

/* ==========================================================================
   КОНЕЧНОЕ СОСТОЯНИЕ: ЧИСТЫЙ ЧЕРНЫЙ ЭКРАН ПОСЛЕ ЗАВЕРШЕНИЯ ПЕСНИ
   ========================================================================== */

#layerFifth.ended-blackout .summary-container,
#layerFifth.ended-blackout .flash-mogged-overlay,
#layerFifth.ended-blackout .fullscreen-agichev-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

#layerFifth.ended-blackout .slide-fifth-screen {
  background: #000000 !important;
}




