/*
 * Horrorstuck Voice Story Narrator Plugin Stylesheet
 */

.hvn-narrator-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  margin: 24px 0 32px;
  padding: 16px 24px;
  background: rgba(14, 14, 20, 0.92);
  border: 1px solid rgba(230, 0, 38, 0.35);
  border-radius: 16px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(230, 0, 38, 0.08);
}

.hvn-narrator-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.hvn-voice-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hvn-voice-btn {
  background: linear-gradient(135deg, #e60026, #4a000c);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 16px rgba(230, 0, 38, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hvn-voice-btn:hover {
  background: #ff1a3d;
  box-shadow: 0 0 26px rgba(230, 0, 38, 0.8);
  transform: scale(1.03);
}

.hvn-voice-btn.active {
  background: #00ff66;
  color: #000000;
  box-shadow: 0 0 22px rgba(0, 255, 102, 0.8);
}

.hvn-voice-status {
  font-size: 12px;
  color: #a4a4b5;
}

.hvn-hint-text {
  font-size: 11px;
  color: #ff9900;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Paragraph Highlight Effect when Narrating */
.hvn-reading-active {
  position: relative;
  background: rgba(230, 0, 38, 0.08) !important;
  border-left: 4px solid #e60026 !important;
  padding-left: 14px !important;
  border-radius: 0 8px 8px 0 !important;
  box-shadow: 0 0 20px rgba(230, 0, 38, 0.15) !important;
  transition: all 0.3s ease-in-out !important;
}

/* Click-to-read hover indicator on story paragraphs */
.hvn-clickable-p {
  cursor: pointer;
  transition: background 0.2s;
}

.hvn-clickable-p:hover {
  background: rgba(255, 255, 255, 0.03);
  outline: 1px dashed rgba(230, 0, 38, 0.4);
}
