.eclipse-ai-timeline {
  pointer-events: auto !important;
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(90%, 380px);
  padding: 16px 20px;
  /* background: rgb(56 46 26 / 77%); */
  opacity: 1;
  transition: opacity 0.3s ease;
  color: #3d2b1f;
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(61, 43, 31, 0.15);
  transform: translateX(-50%);
  box-sizing: border-box;
}

.eclipse-ai-timeline * {
  box-sizing: border-box;
  color: #fdecd2;
}

.eclipse-ai-timeline.eclipse-ai-timeline-hidden {
  opacity: 0;
  pointer-events: none !important;
}

.eclipse-ai-timeline-main {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}

.eclipse-ai-time-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  gap: 2px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.eclipse-ai-time-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 2rem;
  /* background: #382e1a;
  border-radius: 7rem; */
}
.eclipse-ai-time-duration {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
  font-size: 1.5rem;
}
.eclipse-ai-time-label {
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: #7a6e64;
}

.eclipse-ai-time-value {
  font-size: 1.5rem;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
  color: #fdecd2;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto;
}

.eclipse-ai-play-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fdecd2;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  /* transition: background 0.2s; */
  padding: 0;
}

.eclipse-ai-play-btn:hover {
  /* background: #503828; */
}

.eclipse-ai-scrubber-wrap {
  flex: 1;
  min-width: 60px;
}
.eclipse-ai-realtime-btn-text {
  background: transparent;
  text-align: center;
  border: none;
  width: 100%;
  color: #fdecd2;
  cursor: pointer;
  font-size: 1.5rem;
}

.eclipse-ai-realtime-btn-text.active {
  color: #fdecd2;
  font-weight: bold;
}
.eclipse-ai-scrubber {
  --progress: 0%;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 0.5rem;
  border-radius: 999px;
  background: transparent;
  outline: none;
  cursor: pointer;
}

.eclipse-ai-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  position: relative;
  top: -0.1rem;
  appearance: none;
  width: 1.25rem;
  height: 0.5rem;
  border-radius: 999px;
  border: none;
  background: #000000;
  cursor: pointer;
  /* box-shadow: 0 1px 4px rgba(61, 43, 31, 0.35); */
}

.eclipse-ai-scrubber::-moz-range-thumb {
  width: 1.25rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #3d2b1f;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(61, 43, 31, 0.35);
}

.eclipse-ai-scrubber::-webkit-slider-runnable-track {
  height: 0.7rem;
  border-radius: 999px;
  border: 2px solid #fdecd2;
  background: linear-gradient(
    to right,
    #3d2b1f 0%,
    #3d2b1f var(--progress),
    #fdecd2 var(--progress),
    #fdecd2 100%
  );
}

.eclipse-ai-scrubber::-moz-range-track {
  height: 0.5rem;
  border-radius: 999px;
  border: 2px solid #fdecd2;
  background: #fdecd2;
}

.eclipse-ai-scrubber::-moz-range-progress {
  height: 0.5rem;
  border-radius: 999px;
  background: #3d2b1f;
}

.eclipse-ai-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b03a2e;
  flex-shrink: 0;
  animation: eclipse-ai-live-pulse 1.4s ease-in-out infinite;
}

.eclipse-ai-live-dot[hidden] {
  display: none;
}

@keyframes eclipse-ai-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.65);
  }
}

.eclipse-ai-speeds {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.eclipse-ai-speed-btn {
  background: transparent;
  color: #fdecd2;
  font-size: 14px;
  padding: 4px 8px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  border: none;
}

.eclipse-ai-speed-btn:hover {
  /* color: #3d2b1f; */
  border-color: rgba(61, 43, 31, 0.5);
}

.eclipse-ai-speed-btn.active {
  background: #fdecd2;
  border-color: #3d2b1f;
  color: #3d2b1f;
}

@media (min-width: 880px) {
  .inf-rtve-fullwidth {
    width: min(100vw, 1920px);
    position: relative;
    left: 50%;
    margin-left: calc(-1 * min(100vw, 1920px) / 2);
    margin-right: calc(-1 * min(100vw, 1920px) / 2);
    margin-bottom: 2rem;
    padding-bottom: 6rem;
  }
}

@media (max-width: 1023px) {
  .eclipse-ai-timeline {
    width: 92%;
    padding: 12px 16px;
    gap: 8px;
  }

  .eclipse-ai-timeline-main {
    flex-wrap: wrap;
  }

  .eclipse-ai-time-block {
    flex-basis: 100%;
  }

  .eclipse-ai-scrubber-wrap {
    flex-basis: 0;
  }
}
