.lcv-has { grid-template-columns: minmax(0, 1fr) auto auto !important }
.lc-admin .lc-chat-form.lcv-has .button { width: auto }

.lcv-mic {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line, rgba(17, 24, 39, .14));
  border-radius: 11px;
  background: var(--surface2, #f4f5f7);
  color: var(--muted, #6b7280);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
}
.lcv-mic:hover { color: var(--green, #17a673); border-color: var(--green, #17a673) }
.lcf-form .lcv-mic { width: 40px; height: 40px; border-radius: 12px; background: var(--surface2, #f4f5f7); color: var(--muted, #6b7280) }

.lcv-has.lcv-on > textarea,
.lcv-has.lcv-on > .lcv-mic,
.lcv-has.lcv-on > button[type="submit"],
.lcv-has.lcv-on > .button { display: none !important }
.lcv-has.lcv-on { grid-template-columns: minmax(0, 1fr) !important }

.lcv-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}
.lcv-bar[hidden] { display: none }
.lcv-bar button {
  flex: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}
.lcv-bar button:disabled { opacity: .5; cursor: default }
.lcv-cancel { background: var(--surface2, #f4f5f7); color: var(--muted, #6b7280) }
.lcv-cancel:hover { color: var(--red, #e3342f) }
.lcv-go { background: var(--green, #17a673); color: #fff }
.lcv-go:hover:not(:disabled) { filter: brightness(1.08) }
.lcv-live {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink, #151a22);
  font: 700 calc(12px * var(--fz-base, 1)) / 1 var(--font, Vazirmatn), system-ui, sans-serif;
}
.lcv-clock { font-variant-numeric: tabular-nums; direction: ltr }
.lcv-hint { font-style: normal; font-weight: 500; color: var(--muted, #6b7280); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.lcv-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--red, #e3342f);
  animation: lcv-pulse 1s ease-in-out infinite;
}
@keyframes lcv-pulse { 0%, 100% { opacity: 1; transform: scale(1) } 50% { opacity: .35; transform: scale(.8) } }

.lcv-play {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 190px;
  direction: rtl;
}
.lcv-pp {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 18%, transparent);
  color: inherit;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}
.lcv-pp:hover { background: color-mix(in srgb, currentColor 28%, transparent) }
.lcv-track {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: color-mix(in srgb, currentColor 22%, transparent);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.lcv-track i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 0;
  border-radius: 99px;
  background: currentColor;
}
.lcv-t {
  flex: none;
  font: 600 10.5px / 1 var(--font, Vazirmatn), system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  opacity: .8;
}

@media (max-width: 520px) {
  .lcv-play { min-width: 160px }
}
