.ld-deck {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #060d1f;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.18), 0 24px 60px -24px rgba(2, 6, 23, 0.8);
  outline: none;
}

.ld-deck:focus-visible {
  box-shadow: 0 0 0 2px #5fe8df;
}

.ld-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(45, 211, 203, 0.1), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(233, 162, 124, 0.08), transparent 60%),
    #060d1f;
}

@media (min-width: 640px) {
  .ld-stage {
    aspect-ratio: 16 / 9;
  }
}

.ld-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.ld-cap {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 4%;
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.ld-caption {
  margin: 0;
  text-align: center;
  font: 500 15px/1.45 "DM Sans", system-ui, sans-serif;
  color: rgba(232, 238, 247, 0.55);
  text-shadow: 0 1px 8px rgba(2, 6, 23, 0.9);
}

@media (min-width: 640px) {
  .ld-caption {
    font-size: 19px;
  }
}

.ld-caption .said {
  color: #f1f5f9;
}

.ld-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 13, 31, 0.55);
  transition: opacity 0.4s ease;
}

.ld-started .ld-cover {
  opacity: 0;
  pointer-events: none;
}

.ld-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  border: 0;
  border-radius: 999px;
  background: #5fe8df;
  color: #04121a;
  font: 600 16px "DM Sans", system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(45, 211, 203, 0.6);
}

.ld-play:disabled {
  opacity: 0.4;
  cursor: default;
}

.ld-play svg {
  width: 20px;
  height: 20px;
}

.ld-len {
  font: 500 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  opacity: 0.75;
}

.ld-error {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 8%;
  margin: 0;
  text-align: center;
  font: 500 14px "DM Sans", system-ui, sans-serif;
  color: #f2b49a;
}

.ld-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #0a1328;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e8eef7;
  cursor: pointer;
}

.ld-btn:hover,
.ld-btn:focus-visible {
  background: rgba(148, 163, 184, 0.14);
}

.ld-btn svg {
  width: 18px;
  height: 18px;
}

.ld-cc {
  font: 700 11px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
}

.ld-cc[aria-pressed="false"] {
  color: #64748b;
}

.ld-progress {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.22);
  cursor: pointer;
  touch-action: none;
}

.ld-progress:focus-visible {
  outline: 2px solid #5fe8df;
  outline-offset: 4px;
}

.ld-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 3px;
  background: #5fe8df;
}

.ld-time {
  flex: none;
  min-width: 2.8em;
  font: 500 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #94a3b8;
  text-align: right;
}
