.player {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.canvas {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.controls {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 640px;
}

.playBtn {
  padding: 8px 20px;
  border: 2px solid #d946ef;
  border-radius: 6px;
  background: rgba(217, 70, 239, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.playBtn:hover {
  background: rgba(217, 70, 239, 0.4);
}

.scrubber {
  flex: 1;
  accent-color: #d946ef;
  cursor: pointer;
}

.time {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.frameInfo {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.empty {
  padding: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
}
