.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-panel {
  backdrop-filter: blur(60px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.obsidian-gradient {
  background: radial-gradient(circle at top right, #1a0a2a 0%, #0a0a0b 50%, #050d12 100%);
  background-attachment: fixed;
}

.search-results-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 250;
  background: rgba(32, 31, 32, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  max-height: min(380px, 50vh);
  overflow-y: auto;
  z-index: 200;
}

.search-results-panel.hidden {
  display: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.search-result-item:hover {
  background: rgba(157, 0, 255, 0.08);
}

.search-result-item img {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
  background: #353436;
}

.search-result-title {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-meta {
  font-size: 0.75rem;
  color: #d1c1d9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-status {
  padding: 1rem;
  text-align: center;
  color: #9a8ca2;
  font-size: 0.85rem;
}

.search-tab {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0.25rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #9a8ca2;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .search-tab {
    font-size: 0.65rem;
    padding: 0.65rem 0.5rem;
  }
}

.search-tab.active {
  color: #dfb7ff;
  border-bottom-color: #9d00ff;
}

.search-tab:hover:not(.active) {
  color: #e5e2e3;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 19, 20, 0.92);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.loading-overlay.hidden {
  display: none;
}

.loading-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #9d00ff;
  border-radius: 50%;
  animation: neon-spin 0.8s linear infinite;
}

@keyframes neon-spin {
  to {
    transform: rotate(360deg);
  }
}

.visualizer-bar {
  animation: viz-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes viz-pulse {
  from {
    transform: scaleY(0.4);
  }
  to {
    transform: scaleY(1);
  }
}

.admin-form label {
  display: block;
  margin-bottom: 1rem;
}

.admin-form label span {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a8ca2;
  margin-bottom: 0.35rem;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(28, 27, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #e5e2e3;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: rgba(157, 0, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(157, 0, 255, 0.15);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table th {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #9a8ca2;
  text-transform: uppercase;
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #9d00ff;
  color: #f7e5ff;
  border: none;
  border-radius: 9999px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(157, 0, 255, 0.4);
  transition: filter 0.2s, transform 0.15s;
}

.btn-neon:hover {
  filter: brightness(1.1);
}

.btn-neon:active {
  transform: scale(0.98);
}

.btn-neon-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: transparent;
  color: #dfb7ff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-neon-ghost:hover {
  border-color: rgba(157, 0, 255, 0.5);
  color: #f1daff;
}

.btn-neon-danger {
  color: #ffb4ab;
  border-color: rgba(255, 180, 171, 0.3);
}

.hidden {
  display: none !important;
}
