/* Прозрачный точечный циферблат наследует цвет темы. Текст остаётся доступным. */
.dotted-clock {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: min(280px, 100%);
  height: 88px;
  max-width: 100%;
  color: var(--ink, currentColor);
  vertical-align: middle;
  font: 800 48px/1 var(--font, system-ui, sans-serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  isolation: isolate;
}
.dotted-clock[data-mode="countdown"] { width: min(280px, 100%); height: 130px; }
.dotted-clock-canvas { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.dotted-clock-canvas[hidden] { display: none; }
.dotted-clock[data-renderer="canvas"] .dotted-clock-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.dotted-clock[data-renderer="text"][data-mode="countdown"] { font-size: 76px; }
.record-count-in {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  color: var(--ink, currentColor);
  text-align: center;
}
.record-count-in-label { margin: 0; color: var(--ink-2, currentColor); font-size: 14px; line-height: 1.5; }
.record-count-in-cancel { min-width: 112px; min-height: 44px; margin-top: 4px; }
.record-count-in-cancel[hidden] { display: none !important; }
.record-count-in .dotted-clock { margin: -8px 0 -5px; }
.stage.has-solovey-vinyl .stage-title { width: 100%; min-width: 0; }
.solovey-recorder > .level.voice-light {
  --voice-light-bg: transparent;
  --voice-light-ink: var(--ink-2);
  width: 100%;
  max-width: 280px;
  height: 44px;
  border-radius: 0;
  background: transparent;
}
.solovey-recorder > .level.voice-light[hidden] { display: none !important; }
@media (max-width: 360px) {
  .dotted-clock { height: 80px; }
  .dotted-clock[data-mode="countdown"] { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .dotted-clock, .record-count-in { animation: none; transition: none; }
}
