.giordano-toggle {
  background: transparent;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 8px;
  transition: all .2s;
}

.giordano-toggle:hover {
  background: rgba(139, 92, 246, .15);
  border-color: rgba(139, 92, 246, .6);
}

.giordano-toggle svg {
  width: 18px;
  height: 18px;
}

.giordano-panel {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 320px;
  background: rgba(4, 10, 18, .98);
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 12px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
}

.giordano-panel-visible {
  display: flex;
}

.giordano-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(139, 92, 246, .08);
  border-bottom: 1px solid rgba(139, 92, 246, .2);
}

.giordano-panel-title {
  font-size: 12px;
  letter-spacing: .12em;
  color: #8b5cf6;
  font-weight: 600;
}

.giordano-panel-close {
  background: transparent;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  display: flex;
}

.giordano-panel-close svg {
  width: 16px;
  height: 16px;
}

.giordano-panel-close:hover {
  color: #ef4444;
}

.giordano-panel-video {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, .12), transparent 50%), #020408;
  overflow: hidden;
}

.giordano-panel-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.giordano-panel-status {
  padding: 8px 14px;
  font-size: 12px;
  color: #9ca3af;
  font-family: monospace;
  text-align: center;
  min-height: 28px;
}

.giordano-panel-controls {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
}

.giordano-panel-controls button {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, .3);
  background: rgba(139, 92, 246, .08);
  color: #c4b5fd;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .08em;
  transition: all .2s;
}

.giordano-panel-controls button:hover:not(:disabled) {
  background: rgba(139, 92, 246, .2);
}

.giordano-panel-controls button:disabled {
  opacity: .4;
  cursor: default;
}

.chat-mic {
  background: transparent;
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 6px;
  flex-shrink: 0;
  transition: all .2s;
}

.chat-mic:hover {
  background: rgba(139, 92, 246, .12);
  border-color: rgba(139, 92, 246, .5);
}

.chat-mic svg {
  width: 18px;
  height: 18px;
}

.chat-mic.recording {
  background: rgba(239, 68, 68, .18);
  border-color: rgba(239, 68, 68, .7);
  color: #ef4444;
  animation: mic-pulse 1.2s infinite;
}

@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .4); }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.nav-giordano-link {
  text-decoration: none;
  color: inherit;
}

.nav-giordano-link:hover {
  background: rgba(139, 92, 246, .12);
}
