.app-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-void);
  overflow: hidden;
}

.cinema-stage {
  position: relative;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: #020304;
}

@media (min-width: 540px) {
  .cinema-stage {
    width: auto;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    box-shadow: 0 0 90px rgba(0, 0, 0, 0.98);
  }
}

.stage-poster-fallback,
.stage-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.stage-poster-fallback {
  z-index: 1;
}

.stage-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stage-video.is-active.is-ready {
  opacity: 1;
}

.stage-video-standby {
  z-index: 2;
  pointer-events: none;
}

/* 电影级四周暗角压边与上下深暗渐隐，使片名和无框菜单自然沉入镜头暗部 */
.stage-vignette {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 88% 58% at 50% 48%,
      rgba(2, 3, 4, 0) 42%,
      rgba(2, 3, 4, 0.56) 84%,
      rgba(2, 3, 4, 0.92) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(2, 3, 4, 0.88) 0%,
      rgba(2, 3, 4, 0.34) 19%,
      rgba(2, 3, 4, 0) 28%,
      rgba(2, 3, 4, 0) 68%,
      rgba(2, 3, 4, 0.72) 82%,
      rgba(2, 3, 4, 0.96) 100%
    );
}

.stage-film-grain {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-repeat: repeat;
  background-size: 128px 128px;
}

.cover-hud {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

/* 顶部：镜头边缘极细 REC OSD + 高清艺术字片名 Logo */
.cover-top-zone {
  padding-top: calc(12px + var(--safe-top));
  padding-right: 18px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cam-osd-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent-cyan-osd);
  text-shadow: 0 0 8px rgba(143, 196, 189, 0.32);
}

.cam-rec-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rec-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(216, 62, 52, 0.92);
  box-shadow: 0 0 7px rgba(216, 62, 52, 0.75);
  animation: recBlink 1.8s ease-in-out infinite;
}

@keyframes recBlink {
  0%, 100% {
    opacity: 0.95;
  }
  50% {
    opacity: 0.28;
  }
}

.rec-label {
  color: rgba(226, 108, 98, 0.82);
  font-weight: 500;
}

.cam-timecode {
  font-variant-numeric: tabular-nums;
  opacity: 0.78;
}

.title-logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.title-logo-img {
  width: min(86%, 334px);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

.observation-clear-zone {
  flex: 1;
  min-height: 0;
  pointer-events: none;
}

/* 底部无框电影菜单：彻底去掉所有边框与方框 */
.cover-bottom-zone {
  padding-top: 8px;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: calc(22px + var(--safe-bottom));
  pointer-events: auto;
}

.cinema-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.menu-item-start {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 28px 10px;
  transition: transform 0.16s ease, opacity 0.2s ease;
}

.menu-start-label {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  color: #f2f5f4;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(215, 226, 224, 0.22);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.menu-start-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 156px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(200, 51, 41, 0) 0%,
    rgba(200, 51, 41, 0.78) 50%,
    rgba(200, 51, 41, 0) 100%
  );
  box-shadow: 0 0 14px rgba(200, 51, 41, 0.65);
  animation: crimsonBreath 3.2s ease-in-out infinite;
  transition: width 0.25s ease, box-shadow 0.25s ease;
}

@keyframes crimsonBreath {
  0%, 100% {
    opacity: 0.68;
  }
  50% {
    opacity: 1;
  }
}

.menu-item-start:hover .menu-start-label,
.menu-item-start:active .menu-start-label {
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(200, 51, 41, 0.55),
    0 2px 14px rgba(0, 0, 0, 0.98);
}

.menu-item-start:hover .menu-start-glow,
.menu-item-start:active .menu-start-glow {
  width: 196px;
  box-shadow: 0 0 20px rgba(218, 62, 50, 0.9);
}

.menu-item-start:active {
  transform: scale(0.97);
}

.menu-item-chapter2 {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 24px 9px;
  transition: transform 0.16s ease, opacity 0.2s ease;
}

.menu-ch2-label {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  padding-left: 0.26em;
  color: #cbe7e1;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.96),
    0 0 18px rgba(143, 196, 189, 0.28);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.menu-ch2-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 148px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(143, 196, 189, 0) 0%,
    rgba(164, 218, 210, 0.85) 50%,
    rgba(143, 196, 189, 0) 100%
  );
  box-shadow: 0 0 12px rgba(143, 196, 189, 0.52);
  transition: width 0.25s ease, box-shadow 0.25s ease;
}

.menu-item-chapter2:hover .menu-ch2-label,
.menu-item-chapter2:active .menu-ch2-label {
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(164, 218, 210, 0.6),
    0 2px 14px rgba(0, 0, 0, 0.98);
}

.menu-item-chapter2:hover .menu-ch2-glow,
.menu-item-chapter2:active .menu-ch2-glow {
  width: 184px;
  box-shadow: 0 0 18px rgba(182, 232, 224, 0.82);
}

.menu-item-chapter2:active {
  transform: scale(0.97);
}

.menu-item-archive {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  padding: 4px 16px;
  transition: transform 0.14s ease, opacity 0.2s ease;
}

.menu-archive-label {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  color: rgba(212, 222, 220, 0.74);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  transition: color 0.2s ease;
}

.menu-archive-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(164, 182, 179, 0.58);
}

.menu-item-archive:hover .menu-archive-label,
.menu-item-archive:active .menu-archive-label {
  color: #eef3f2;
}

.menu-item-archive:active {
  transform: scale(0.97);
}

.menu-item-audio {
  padding: 2px 12px;
  transition: opacity 0.2s ease, transform 0.14s ease;
}

.audio-label {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  color: rgba(166, 179, 176, 0.56);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
  transition: color 0.2s ease;
}

.menu-item-audio[aria-pressed="false"] .audio-label {
  color: rgba(166, 146, 144, 0.44);
}

.menu-item-audio:hover .audio-label {
  color: rgba(216, 226, 224, 0.84);
}

.menu-item-audio:active {
  transform: scale(0.97);
}

/* 全屏深暗电影字幕式 M0 提示层（无弹窗卡片） */
.cinema-notice-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(2, 3, 5, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  animation: fadeInVeil 0.28s ease-out;
}

@keyframes fadeInVeil {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cinema-notice-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 310px;
}

.cinema-notice-kicker {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #e6ecea;
  text-shadow: 0 0 18px rgba(200, 51, 41, 0.35);
}

.cinema-notice-sub {
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: rgba(190, 202, 199, 0.72);
}

.cinema-notice-dismiss {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.26em;
  padding-left: 0.26em;
  color: rgba(154, 170, 167, 0.56);
  animation: subtitlePulse 2.4s ease-in-out infinite;
}

@keyframes subtitlePulse {
  0%, 100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}
