/* Spotlight Search Overlay CSS */
@media(max-width:768px){
  #spotlight-overlay { padding-top: 10px; align-items: start; }
  .spotlight-panel { width: 95%; max-width: 100%; border-radius: 12px; }
  .spotlight-kbd { display: none; }
  .spotlight-item { grid-template-columns: auto minmax(0,1fr); padding: 10px; }
  .spotlight-arrow { display: none; }
}
#spotlight-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: start center;
  padding-top: 14vh;
  background: rgba(10, 12, 11, 0.65);
  backdrop-filter: blur(8px);
  animation: spotlightFadeIn 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes spotlightFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
#spotlight-overlay.hidden {
  display: none;
}
.spotlight-panel {
  width: 90%;
  max-width: 640px;
  background: #181b19e8;
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  color: #f4f0e7;
}
.spotlight-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.spotlight-icon {
  font-size: 22px;
  color: #c78b55;
  user-select: none;
}
#spotlight-input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #f4f0e7;
  font: 16px Inter, system-ui, sans-serif;
  outline: none;
}
#spotlight-input::placeholder {
  color: #879088;
}
.spotlight-kbd {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #afb6ad;
  user-select: none;
}
.spotlight-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 10px;
  display: grid;
  gap: 6px;
}
.spotlight-empty {
  padding: 32px;
  text-align: center;
  color: #879088;
  font-size: 14px;
}
.spotlight-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.14s ease, transform 0.14s ease;
}
.spotlight-item:hover, .spotlight-item.active {
  background: rgba(199, 139, 85, 0.18);
}
.spotlight-app-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #c78b55;
  border: 1px solid rgba(199, 139, 85, 0.3);
}
.spotlight-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.spotlight-info b {
  font-size: 14px;
  color: #f4f0e7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotlight-info small {
  font-size: 12px;
  color: #afb6ad;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotlight-arrow {
  color: #879088;
  font-size: 14px;
  transition: transform 0.14s ease, color 0.14s ease;
}
.spotlight-item:hover .spotlight-arrow, .spotlight-item.active .spotlight-arrow {
  color: #f4f0e7;
  transform: translate(2px, -2px);
}
