#story-video {
  position: fixed;
  inset: 0;
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#story-video[hidden] {
  display: none !important;
}

#story-video-el {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  background: #000;
}

.story-video__hint {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: rgba(8, 6, 14, 0.88);
  color: #f4f2ff;
  pointer-events: auto;
}

.story-video__hint[hidden] {
  display: none !important;
}

.story-video__hint-title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.story-video__hint-sub {
  margin: 0;
  max-width: 28rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(244, 242, 255, 0.78);
}

.story-video__tap {
  margin-top: 8px;
  min-width: 120px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid rgba(126, 200, 168, 0.55);
  background: rgba(126, 200, 168, 0.22);
  color: #f8f6ff;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.story-video__tap:hover {
  background: rgba(126, 200, 168, 0.38);
}

#screen-game.game--story-video .game-toolbar,
#screen-game.game--story-video .game-ui,
#screen-game.game--story-video .game-hud,
#screen-game.game--story-video .game-stage {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 跳过键放在视频层内，避免被 #story-video (z-index 850) 挡住 */
.story-video__skip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  min-width: 52px;
  height: 32px;
  padding: 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border-radius: 8px;
  background: rgba(16, 14, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.story-video__skip:hover {
  background: rgba(126, 200, 168, 0.35);
  border-color: rgba(126, 200, 168, 0.55);
}

.story-video__skip[hidden] {
  display: none !important;
}

.story-video__skip:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#btn-skip {
  display: none !important;
}
