/* ── Sound Theme Modal ── */
#sound-theme-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 250;
  backdrop-filter: blur(8px);
}

#sound-theme-modal.hidden {
  display: none;
}

.sound-theme-modal-content {
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  width: 92%;
  padding: 30px;
  background: rgba(10, 10, 25, 0.95);
  border: 2px solid #00f3ff;
  border-radius: 12px;
  box-shadow:
    0 0 30px rgba(0, 243, 255, 0.4),
    inset 0 0 20px rgba(0, 243, 255, 0.1);
  font-family: 'Courier New', monospace;
}

.sound-theme-modal-title {
  font-size: 22px;
  color: #00f3ff;
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

#sound-theme-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.sound-theme-item {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.sound-theme-item:hover {
  border-color: rgba(0, 243, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.sound-theme-item.active {
  border-color: #00f3ff;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.sound-theme-name {
  font-size: 13px;
  font-weight: bold;
  color: #00f3ff;
  letter-spacing: 2px;
  min-width: 120px;
}

.sound-theme-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  flex: 1;
}

.sound-theme-preview {
  background: transparent;
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sound-theme-preview:hover {
  background: #00ff88;
  color: #000; /* NOSONAR - hover state has bright background */
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.sound-theme-close-btn {
  display: block;
  width: 100%;
  background: transparent;
  color: #fff; /* NOSONAR */
  border: 2px solid #ff0055;
  padding: 10px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.sound-theme-close-btn:hover {
  background: #ff0055;
  color: #000; /* NOSONAR - hover state has bright background */
  box-shadow: 0 0 20px #ff0055;
}
