/* 稳定版：不使用 CSS 强制旋转，仅依赖系统横屏锁定（可用时） */

html.orientation-native #app-shell,
html.orientation-native .title-video-wrap {
  transform: none;
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
}

html.orientation-native .title-video-wrap {
  z-index: 0;
}

html.orientation-native #app-shell {
  z-index: 2;
}

#app-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.rotate-hint {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  background: rgba(10, 8, 16, 0.94);
  color: #f8f6ff;
  pointer-events: none;
}

.rotate-hint__icon {
  font-size: 2.5rem;
  opacity: 0.85;
  animation: rotate-hint-turn 2s ease-in-out infinite;
}

.rotate-hint__text {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: rgba(248, 246, 255, 0.85);
}

@keyframes rotate-hint-turn {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(90deg); }
}

html.show-rotate-hint .rotate-hint {
  display: flex;
}

html.orientation-native .rotate-hint {
  display: none !important;
}
