.scene {
  --well: #1f1f22;
  position: relative;
  min-height: 208px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--well);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stage {
  position: absolute;
  inset: 0;
  width: 240px;
  height: 150px;
  margin: auto;
}

.scene .win {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #2a2a2e;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}

.scene-prod {
  width: 100%;
  height: auto;
  min-height: 260px;
  align-self: end;
}

.scene-prod .stage {
  inset: auto 0 0;
  text-align: left;
  width: min(720px, 100%);
  height: 220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

@media (min-width: 768px) {
  .scene-prod {
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
  }

  .scene-prod .stage {
    bottom: -24px;
    height: 244px;
  }
}

.scene-prod .nav {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.scene-prod .nav span {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--paper);
  white-space: nowrap;
}

/* Sönük menü yazısı renkle değil opaklıkla (birleşik animasyon); ikon tam kalır */
.scene-prod .nav em {
  font-style: normal;
  opacity: 0.55;
  transition: opacity 0.3s ease;
  --anim: navOn 15s var(--ease) var(--d, 0s) infinite;
}

.scene-prod .nav span:nth-of-type(1) em {
  opacity: 1;
}

.scene-prod .screen:nth-child(1) {
  color: var(--paper);
}

.scene-prod .nav span:nth-of-type(2),
.scene-prod .screen:nth-child(2) {
  --d: -12.5s;
}

.scene-prod .nav span:nth-of-type(3),
.scene-prod .screen:nth-child(3) {
  --d: -10s;
}

.scene-prod .nav span:nth-of-type(4),
.scene-prod .screen:nth-child(4) {
  --d: -7.5s;
}

.scene-prod .nav span:nth-of-type(5),
.scene-prod .screen:nth-child(5) {
  --d: -5s;
}

.scene-prod .nav span:nth-of-type(6),
.scene-prod .screen:nth-child(6) {
  --d: -2.5s;
}

.scene-prod .nav i {
  font-size: 15px;
  color: var(--red);
}

.scene-prod .pick {
  position: absolute;
  left: 0;
  top: 14px;
  width: 2px;
  height: 34px;
  background: var(--red);
  --anim: pickHop 15s var(--ease) infinite;
}

.scene-prod .pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 20px 0;
}

.scene-prod .screens {
  position: relative;
  height: 52px;
}

.scene-prod .screen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  --anim: screenOn 15s var(--ease) var(--d, 0s) infinite;
}

.scene-prod .screen:nth-child(1) {
  opacity: 1;
}

.scene-prod .screen i {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 25, 72, 0.14);
  color: var(--red);
  font-size: 20px;
}

.scene-prod .screen b {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
}

.scene-prod .screen small {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.52);
}

.scene-prod .screen em {
  margin-left: auto;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.scene-prod .cols {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  height: 120px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.scene-prod .cols i {
  display: block;
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, 0.22);
  transform-origin: bottom;
  --anim: colUp 6s var(--ease) var(--d, 0s) infinite;
}

.scene-prod .cols i:nth-child(1) {
  height: 38%;
}

.scene-prod .cols i:nth-child(2) {
  height: 52%;
  --d: 0.05s;
}

.scene-prod .cols i:nth-child(3) {
  height: 46%;
  --d: 0.1s;
}

.scene-prod .cols i:nth-child(4) {
  height: 64%;
  --d: 0.15s;
}

.scene-prod .cols i:nth-child(5) {
  height: 58%;
  --d: 0.2s;
}

.scene-prod .cols i:nth-child(6) {
  height: 76%;
  --d: 0.25s;
}

.scene-prod .cols i:nth-child(7) {
  height: 70%;
  --d: 0.3s;
}

.scene-prod .cols i:nth-child(8) {
  height: 92%;
  background: var(--red);
  --d: 0.35s;
}

@keyframes pickHop {
  0%, 14.17%, 100% {
    transform: translateY(0);
  }

  16.67%, 30.83% {
    transform: translateY(34px);
  }

  33.33%, 47.5% {
    transform: translateY(68px);
  }

  50%, 64.17% {
    transform: translateY(102px);
  }

  66.67%, 80.83% {
    transform: translateY(136px);
  }

  83.33%, 97.5% {
    transform: translateY(170px);
  }
}

@keyframes navOn {
  0%, 14.17%, 100% {
    opacity: 1;
  }

  16.67%, 97.5% {
    opacity: 0.55;
  }
}

@keyframes screenOn {
  0%, 13.33%, 100% {
    opacity: 1;
    transform: translateY(0);
  }

  15% {
    opacity: 0;
    transform: translateY(-12px);
  }

  15.08%, 98.33% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes colUp {
  0%, 100% {
    transform: scaleY(0.3);
    opacity: 0.5;
  }

  24%, 86% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .scene-prod {
    min-height: 0;
    overflow: visible;
    border: 0;
    background: none;
  }

  .scene-prod .stage {
    position: relative;
    inset: auto;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    border-radius: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .scene-prod .nav {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .scene-prod .pane {
    padding: 14px 16px;
  }

  .scene-prod .cols {
    display: none;
  }
}
