/* 日韩中文字幕 — 自定义样式与移动端适配 */

html,
body,
#root,
.app-shell {
  overflow-x: clip;
  max-width: 100%;
}

/* 首页背景光斑动画 */
@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}
.animate-blob {
  animation: blob 7s infinite;
}
.animation-delay-2000 {
  animation-delay: 2s;
}
.animation-delay-4000 {
  animation-delay: 4s;
}

/* ABABSEO 飞行标记（无胶囊 / 无链接） */
.ababseo-fly {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  user-select: none;
}
.ababseo-fly__plane {
  display: inline-flex;
  color: #fb923c;
  animation: ababseo-fly-plane 2.6s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(234, 88, 12, 0.45));
}
.ababseo-fly__text {
  font-weight: 800;
  letter-spacing: 1.5px;
  font-style: italic;
  background: linear-gradient(90deg, #fb923c 0%, #f43f5e 45%, #db2777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% auto;
  animation: ababseo-fly-shine 3s linear infinite;
}
@keyframes ababseo-fly-plane {
  0% {
    transform: translate(0, 0) rotate(-6deg);
  }
  25% {
    transform: translate(4px, -5px) rotate(4deg);
  }
  50% {
    transform: translate(9px, -2px) rotate(-3deg);
  }
  75% {
    transform: translate(4px, -6px) rotate(5deg);
  }
  100% {
    transform: translate(0, 0) rotate(-6deg);
  }
}
@keyframes ababseo-fly-shine {
  to {
    background-position: 200% center;
  }
}

/* 多行省略 */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 播放页：按真实片源比例居中，避免竖屏被塞进全宽 16:9 导致错位 */
.watch-player-shell {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: min(70vh, 720px);
  background: #000;
  overflow: hidden;
}
.watch-player-stage {
  position: relative;
  height: min(70vh, 720px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  background: #000;
  line-height: 0;
}
.watch-player-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
@media (max-width: 640px) {
  .watch-player-shell {
    min-height: min(65vh, 560px);
  }
  .watch-player-stage {
    height: min(65vh, 560px);
  }
}
.watch-player-stage:fullscreen,
.watch-player-stage:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.watch-player-stage:fullscreen .watch-player-video,
.watch-player-stage:-webkit-full-screen .watch-player-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 播放器进度条 */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fb923c;
  cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fb923c;
  cursor: pointer;
  border: none;
}

/* 信息页富文本排版 */
.prose h2 {
  color: #1f2937;
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.prose h3 {
  color: #374151;
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.prose p {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.prose ul,
.prose ol {
  margin-bottom: 1rem;
}
.prose li {
  color: #4b5563;
  margin-bottom: 0.5rem;
}
