/* BK Stream Spotlight Search Modal (Ctrl+K) */
.bk-spotlight-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bk-spotlight-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.bk-spotlight-dialog {
  width: 100%;
  max-width: 640px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(229, 9, 20, 0.15);
  overflow: hidden;
  transform: translateY(-16px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: calc(85vh - 4rem);
}

.bk-spotlight-backdrop.is-open .bk-spotlight-dialog {
  transform: translateY(0) scale(1);
}

.bk-spotlight-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #18181c;
}

.bk-spotlight-icon {
  color: #e50914;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.bk-spotlight-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.05rem;
  font-family: inherit;
  font-weight: 500;
}

.bk-spotlight-input::placeholder {
  color: #71717a;
}

.bk-spotlight-shortcut {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
}

.bk-spotlight-close {
  background: transparent;
  border: none;
  color: #71717a;
  cursor: pointer;
  font-size: 1.15rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}

.bk-spotlight-close:hover {
  color: #fff;
}

.bk-spotlight-body {
  overflow-y: auto;
  flex: 1;
  padding: 0.5rem;
}

.bk-spotlight-body::-webkit-scrollbar {
  width: 6px;
}
.bk-spotlight-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.bk-spotlight-hint {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #71717a;
  font-size: 0.9rem;
}

.bk-spotlight-hint i {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  color: #3f3f46;
}

.bk-spotlight-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
  position: relative;
}

.bk-spotlight-item:hover,
.bk-spotlight-item.is-selected {
  background: rgba(229, 9, 20, 0.12);
  outline: 1px solid rgba(229, 9, 20, 0.35);
}

.bk-spotlight-thumb {
  width: 44px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background: #27272a;
  flex-shrink: 0;
}

.bk-spotlight-info {
  flex: 1;
  min-width: 0;
}

.bk-spotlight-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-spotlight-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #a1a1aa;
}

.bk-spotlight-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #e4e4e7;
}

.bk-spotlight-badge.is-movie {
  background: rgba(229, 9, 20, 0.2);
  color: #ff6b6b;
}

.bk-spotlight-badge.is-show {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.bk-spotlight-rating {
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.bk-spotlight-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #101013;
  font-size: 0.75rem;
  color: #71717a;
}

.bk-spotlight-keys {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bk-spotlight-keys kbd {
  background: rgba(255, 255, 255, 0.08);
  color: #d4d4d8;
  border-radius: 4px;
  padding: 0.15rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
}

@media (max-width: 640px) {
  .bk-spotlight-backdrop {
    padding: 1rem 0.75rem;
  }
  .bk-spotlight-dialog {
    max-height: 90vh;
  }
}
