body {
  background: #020617;
}

img {
  background: #0f172a;
}

.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  -webkit-line-clamp: 3;
}

.hero-slider {
  min-height: 600px;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1000ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: #64748b;
  transition: all 300ms ease;
}

.hero-dot.is-active {
  width: 2rem;
  background: #f97316;
}

.hero-prev,
.hero-next {
  z-index: 20;
  font-size: 2rem;
  line-height: 1;
}

.movie-card.is-hidden {
  display: none;
}

.player-shell {
  position: relative;
}

.player-cover {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 5;
}

.player-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

.player-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.2));
}

.player-start {
  position: relative;
  z-index: 6;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(to right, #f97316, #dc2626);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
  transform: scale(1);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.player-start:hover {
  transform: scale(1.05);
  box-shadow: 0 24px 50px rgba(249, 115, 22, 0.45);
}

[data-search-results]:empty::before {
  content: "请输入关键词或浏览推荐内容";
  display: block;
  grid-column: 1 / -1;
  padding: 2rem;
  border-radius: 1rem;
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: 520px;
  }

  .hero-prev,
  .hero-next {
    display: none;
  }
}
