/* Demo clip player: shared by voice-actor.html and broadcaster.html */
.demo-player {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 200, 255, 0.28);
  background: linear-gradient(145deg, rgba(0, 200, 255, 0.06), rgba(0, 120, 180, 0.10));
  text-align: left;
  min-width: 0;
}

.demo-player.is-playing {
  border-color: rgba(8, 247, 254, 0.6);
  box-shadow: 0 0 18px rgba(8, 247, 254, 0.18);
}

.dp-btn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #08f7fe, #09fbd3);
  color: #001018;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 0 14px rgba(8, 247, 254, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dp-btn:hover { transform: scale(1.06); box-shadow: 0 0 20px rgba(8, 247, 254, 0.55); }
.dp-btn:focus-visible { outline: 2px solid #dff8ff; outline-offset: 3px; }
.dp-btn svg { width: 18px; height: 18px; fill: currentColor; }
.dp-btn .dp-icon-pause { display: none; }
.is-playing .dp-btn .dp-icon-play { display: none; }
.is-playing .dp-btn .dp-icon-pause { display: block; }

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

.dp-title {
  font-family: 'Share Tech Mono', monospace;
  color: #dff8ff;
  font-size: 1rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.dp-meta {
  font-family: 'EB Garamond', serif;
  color: #9fd8ff;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-top: 2px;
}

.dp-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Tall hit area, thin visible bar */
.dp-track {
  flex: 1 1 auto;
  min-width: 0;
  height: 28px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}

.dp-track:focus-visible { outline: 1px dashed rgba(159, 216, 255, 0.6); outline-offset: 2px; }

.dp-bar {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(159, 216, 255, 0.18);
}

.dp-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #08f7fe, #10ff9e);
  box-shadow: 0 0 8px rgba(16, 255, 158, 0.6);
}

.dp-time {
  flex: 0 0 auto;
  font-family: 'Share Tech Mono', monospace;
  color: #9fd8ff;
  font-size: 0.8rem;
  white-space: nowrap;
}
