.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 60;
  background: #ffffff;
  border: 1px solid rgb(234 239 245);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  max-height: 28rem;
  overflow: auto;
}

.search-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-bottom: 1px solid rgb(234 239 245);
}

.search-item:last-child {
  border-bottom: 0;
}

.search-item img {
  width: 4.5rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.search-empty {
  padding: 1rem;
  color: rgb(90 127 165);
  font-size: 0.875rem;
}

.hero-slider {
  background: rgb(42 59 78);
}

.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: rgb(255 255 255 / 0.5);
  transition: all 300ms ease;
}

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

.hero-prev,
.hero-next {
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1;
}

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

.player-wrap video {
  background: #000000;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #ffffff;
  background: linear-gradient(to top, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.32));
  z-index: 5;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.play-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.92);
  color: rgb(57 83 112);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding-left: 0.25rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.22);
}

.play-text {
  font-size: 1rem;
  font-weight: 700;
}

.player-message {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 8;
  background: rgb(0 0 0 / 0.65);
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

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

  .hero-slide h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .hero-slide p {
    font-size: 1rem;
  }

  .search-panel {
    position: static;
    margin-top: 0.5rem;
  }
}
