/* Narration player — shared styles for The Loop pages */
.narr-launch {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  background: #0c0c0c;
  color: #fafaf7;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 11px 20px;
  border: 1px solid #2e2e2a;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}
.narr-launch:hover { background: #1a1a18; }
.narr-launch .dot { width: 7px; height: 7px; border-radius: 50%; background: #d6a64a; }

.narr-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: #0c0c0c;
  color: #fafaf7;
  border-top: 1px solid #2e2e2a;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.narr-bar.active { transform: translateY(0); }

.narr-progress {
  position: relative;
  height: 4px;
  background: #2a2a26;
}
.narr-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, #d6a64a 0%, #b9882c 100%);
  transition: width 0.25s linear;
}
.narr-markers { position: absolute; inset: 0; }
.narr-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4a4a44;
  border: 1px solid #1a1a18;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.narr-marker:hover, .narr-marker.current { background: #d6a64a; }

.narr-controls {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}
.narr-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #d6a64a;
  color: #0c0c0c;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.narr-btn:hover { background: #e6bb5d; }
.narr-meta { min-width: 0; }
.narr-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d6a64a;
  margin: 0 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.narr-sub { font-size: 10px; color: #8a8a82; margin: 0; }
.narr-autoscroll {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c8c6bc;
  user-select: none;
  cursor: pointer;
}
.narr-autoscroll input { accent-color: #d6a64a; }
.narr-close {
  background: transparent;
  border: 1px solid #3a3a36;
  color: #c8c6bc;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 7px 12px;
  cursor: pointer;
  font-family: inherit;
}
.narr-close:hover { color: #fafaf7; border-color: #d6a64a; }

@media (max-width: 720px) {
  .narr-controls { padding: 10px 18px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .narr-autoscroll { display: none; }
}
