/* ONE CLAP — video comments + clap state (watch.html; markup from renderVideoComments) */

#applauseBtn.is-clapped {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.7);
}

/* Voice search mic while the recogniser is listening */
.is-listening {
  color: #0a0a0a !important;
  background: #d4af37 !important;
  border-color: #d4af37 !important;
  animation: wvs-listen 1.2s ease-in-out infinite;
}

@keyframes wvs-listen {
  50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.25); }
}

@media (prefers-reduced-motion: reduce) {
  .is-listening { animation: none; }
}

.wvs-comment-form,
.wvs-comment {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.wvs-comment-form {
  margin-bottom: 18px;
}

.wvs-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
  background: #1a1a1a;
}

.wvs-comment-body {
  flex: 1 1 auto;
  min-width: 0;
}

.wvs-comment-input {
  width: 100%;
  min-height: 44px;
  resize: vertical;
  background: transparent;
  color: #f4f4f5;
  border: 0;
  border-bottom: 1px solid #3f3f46;
  padding: 6px 2px;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.wvs-comment-input:focus {
  outline: none;
  border-bottom-color: #d4af37;
}

.wvs-comment-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.wvs-comment-count {
  font-size: 12px;
  color: #a1a1aa;
}

.wvs-comment-post,
.wvs-comment-signin {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  background: #d4af37;
  color: #0a0a0a;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.wvs-comment-post:disabled {
  background: #27272a;
  border-color: #3f3f46;
  color: #a1a1aa;
  cursor: not-allowed;
}

.wvs-comment-signin {
  margin-bottom: 18px;
}

.wvs-comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wvs-comment-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.wvs-comment-name {
  font-size: 13px;
  font-weight: 700;
  color: #f4f4f5;
  text-decoration: none;
}

.wvs-comment-name:hover {
  color: #d4af37;
}

.wvs-comment-time {
  font-size: 12px;
  color: #a1a1aa;
}

.wvs-comment-delete {
  margin-left: auto;
  min-height: 32px;
  padding: 0 10px;
  background: none;
  border: 0;
  color: #a1a1aa;
  font-size: 12px;
  cursor: pointer;
}

.wvs-comment-delete:hover {
  color: #f87171;
}

.wvs-comment-text {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e4e4e7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.wvs-comment-note {
  font-size: 13px;
  color: #a1a1aa;
  margin: 0;
}

/* Reel comment sheet is dark and narrow */
.reel-sheet-comments-list .wvs-comment-form,
.reel-sheet-comments-list .wvs-comment-signin {
  margin: 4px 0 16px;
}
