.app-download-hero {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 1.5rem;
}
.app-download-hero img {
  border-radius: 24px;
  flex-shrink: 0;
}
.install-steps {
  padding-left: 1.4rem;
  line-height: 1.9;
  margin: 1.5rem 0;
}
.play-gate {
  position: absolute;
  inset: 0;
  z-index: 12;
  background: rgba(12, 17, 14, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.play-gate h2 {
  font-size: 1.6rem;
}
.play-gate p {
  color: var(--muted);
  max-width: 36rem;
}
.play-gate .operations-actions {
  justify-content: center;
  flex-wrap: wrap;
}
.player-enhancements {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 0;
}
.player-enhancements select {
  width: auto;
  min-width: 6rem;
}
.danmaku-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}
.danmaku-item {
  position: absolute;
  right: 0;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 3px #000;
  animation: danmaku-run 8s linear forwards;
}
.danmaku-stage.paused .danmaku-item {
  animation-play-state: paused;
}
.media-ad {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
}
.media-ad img {
  max-width: 90%;
  max-height: 75%;
  object-fit: contain;
}
.media-ad .ad-label {
  position: absolute;
  top: 12px;
  left: 16px;
  color: #fff;
  font-size: 0.85rem;
}
.media-ad .ad-close {
  position: absolute;
  right: 12px;
  top: 12px;
}
.media-ad a,
.media-ad .ad-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80%;
  max-width: 100%;
}
@keyframes danmaku-run {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-120vw);
  }
}
@media (max-width: 640px) {
  .app-download-hero {
    align-items: flex-start;
    gap: 1rem;
  }
  .app-download-hero img {
    width: 64px;
    height: 64px;
  }
  .play-gate {
    padding: 1rem;
  }
  .play-gate h2 {
    font-size: 1.2rem;
  }
  .play-gate p {
    font-size: 0.9rem;
    margin: 0.4rem 0;
  }
  .play-gate .button {
    padding: 0.6rem 1rem;
  }
  .player-enhancements {
    font-size: 0.9rem;
  }
}
