.smart-replace-notice-wrap {
  position: absolute;
  z-index: 10;
  top: 55px;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.smart-replace-notice {
  width: 43px;
  height: 43px;
  max-height: calc(50% + 12px);
  display:flex;flex-direction:column;
  overflow: hidden;
  border: 1px solid #4b555e;
  border-radius: 7px;
  background: #252a2f;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .46);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transform-origin: top right;
  transition: width .62s cubic-bezier(.16, 1, .3, 1), height .48s cubic-bezier(.16, 1, .3, 1), opacity .32s cubic-bezier(.4, 0, .2, 1), transform .42s cubic-bezier(.16, 1, .3, 1);
}

.smart-replace-notice.ready { width: 100%; }
.smart-replace-notice.expanded { height: calc(50% + 12px); }
.smart-replace-notice.dismissed { opacity: 0; pointer-events: none; transform: translateY(-7px) scale(.94); }
.smart-replace-notice-row { min-height: 43px; flex: 0 0 43px; display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 8px; }
.smart-replace-atom { width: 25px; height: 25px; display:grid;place-items:center; border-radius: 6px; background: rgba(183,255,60,.14); color: var(--accent); opacity: 0; transform: scale(.28); transition: opacity .28s cubic-bezier(.16,1,.3,1), transform .48s cubic-bezier(.16,1,.3,1); }
.smart-replace-notice.icon-in .smart-replace-atom { opacity: 1; transform: scale(1); }
.smart-replace-atom svg { width: 18px; height: 18px; display: block; fill:none;stroke:currentColor; stroke-width: 1.6; }
.smart-replace-notice-main { min-width: 0; border:0;padding:0;background:none;font:inherit;display:flex;align-items:center; color: inherit; text-align: left; cursor: pointer; }
.smart-replace-notice-copy { min-width: 0; display: flex; align-items: baseline; opacity: 0; transform: translateX(-9px); white-space: nowrap; transition: opacity .25s ease .12s, transform .42s cubic-bezier(.16,1,.3,1) .08s; }
.smart-replace-notice.ready .smart-replace-notice-copy { opacity: 1; transform: translateX(0); }
.smart-replace-notice-copy strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #e6eaed; font-size: 12px; font-weight: 500; }
.smart-replace-notice-short { display: none; }
.smart-replace-notice-link { flex-shrink: 0; margin-left: 7px; color: #b9df89; font-size: 11px; }
.smart-replace-notice-actions { min-width: 29px; display:flex;align-items:center; justify-content: flex-end; gap: 3px; }
.smart-replace-countdown { color: #aeb8c0; font-size: 11px; white-space: nowrap; }
.smart-replace-notice-close { width: 29px; height: 29px; border:0;padding:0;background:none;font:inherit; border-radius: 3px; color: #a5afb7; font-size: 17px; opacity: 0; pointer-events: none; transition: opacity .2s ease .22s, background .15s ease, color .15s ease; }
.smart-replace-notice.ready .smart-replace-notice-close { opacity: 1; pointer-events: auto; }
.smart-replace-notice-close:hover { background: rgba(238,119,124,.1); color: #f1a4a8; }
.smart-replace-detail-grid { min-height: 0; flex: 1 1 auto; display: grid; grid-template-rows: 0fr; border-top: 1px solid transparent; transition: grid-template-rows .48s cubic-bezier(.16,1,.3,1), border-color .24s ease; }
.smart-replace-notice.expanded .smart-replace-detail-grid { grid-template-rows: minmax(0,1fr); border-color: #3a424a; }
.smart-replace-detail-inner { min-height: 0; display:flex;flex-direction:column; overflow: hidden; }
.smart-replace-status { padding: 7px 12px; border-bottom: 1px solid #363d44; background: rgba(183,255,60,.055); color: #c3d3ae; font-size: 11px; }
.smart-replace-candidate-list { min-height: 0; flex: 1 1 auto; overflow-y: auto; scrollbar-gutter: stable; }
.smart-replace-suggestion-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; min-height: 54px; padding: 8px 12px; border-bottom: 1px solid #363d44; }
.smart-replace-candidate-jump { min-width: 0; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 8px; align-items: center; border:0;padding:0;background:none;font:inherit; color: inherit; text-align: left; cursor: pointer; }
.smart-replace-candidate-jump:hover .smart-replace-diff { color: #f1f4f5; }
.smart-replace-suggestion-row.reject { opacity: .5; }
.smart-replace-suggestion-row.accept { background: rgba(183,255,60,.035); }
.smart-replace-line-number { color: #75808a; font-size: 10px; }
.smart-replace-diff { min-width:0;overflow:hidden;text-overflow:ellipsis; color: #dfe4e7; font-size: 12px; }
.smart-replace-diff del { color: #f28c92; text-decoration-color: #f28c92; }
.smart-replace-diff ins { color: #b9ef7d; text-decoration: none; }
.smart-replace-choices { display: flex; gap: 5px; }
.smart-replace-choice { width: 29px; height: 29px; display:grid;place-items:center; border: 1px solid currentColor; border-radius: 4px; background: transparent; font-size: 16px; line-height: 1; cursor: pointer; }
.smart-replace-choice.accept { color: #aeea6f; }
.smart-replace-choice.reject { color: #f19a9f; }
.smart-replace-choice.selected.accept { background: rgba(183,255,60,.16); color: #d2ffaa; }
.smart-replace-choice.selected.reject { background: rgba(238,119,124,.18); color: #ffd0d2; }
.smart-replace-detail-foot { flex: 0 0 auto; display:flex;align-items:center;justify-content:space-between; gap: 8px; padding: 10px 12px; background: #22272c; }
.smart-replace-result-note { color: #abb4bb; font-size: 11px; }
.smart-replace-batch-actions { display: flex; gap: 6px; }
.smart-replace-action { min-height: 29px; padding: 0 9px; border: 1px solid #46505a; border-radius: 4px; background: #2c3137; color: #d4d9dd; font-size: 11px; cursor: pointer; }
.smart-replace-action.accept { border-color: rgba(183,255,60,.5); background: rgba(183,255,60,.1); color: #caf18e; }
.smart-replace-action.reject { border-color: rgba(238,119,124,.56); background: rgba(238,119,124,.1); color: #f1a4a8; }




.qwen-tts-backdrop {
  z-index: 130;
}

.qwen-tts-modal {
  width: min(920px, calc(100vw - 40px));
  max-height: min(860px, calc(100vh - 36px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid #3b4148;
  border-radius: 9px;
  background: #202328;
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.55);
  color: #e5e9ec;
}

.qwen-tts-heading {


  display: flex;
  align-items: center;

  justify-content: space-between;

  padding: 19px 22px 16px;
  border-bottom: 1px solid #363b42;
}

.qwen-tts-heading h2 {
  margin: 0;
  font-size: 19px;
}

.qwen-tts-scroll {
  min-height: 0;
  overflow: auto;
  padding: 18px 22px 24px;
}

.qwen-tts-section {
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid #383e45;
  border-radius: 7px;
  background: #1b1e22;
}

.qwen-tts-section-heading {


  display: flex;
  align-items: center;

  justify-content: space-between;

  gap: 16px;
  margin-bottom: 11px;
}

.qwen-tts-section-heading > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.qwen-tts-section-heading strong {
  color: #e7ebee;
  font-size: 13px;
}

.qwen-tts-section-heading small,
.qwen-tts-section-heading > span {
  color: #858e97;
  font-size: 11px;
  font-weight: 500;
}

.qwen-tts-section-heading > span.over {
  color: #ef8c8c;
}

.qwen-tts-candidate-heading {
  flex-wrap: wrap;
  gap: 10px 16px;
}

.qwen-tts-candidate-heading > div {
  flex: 1 1 270px;
}

.qwen-tts-replace-subtitles {

  display: inline-flex;
  align-items: center;

  gap: 8px;
  color: #b7bec5;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
}

.qwen-tts-replace-subtitles input {
  appearance: none;
  flex: 0 0 30px;
  width: 30px;
  height: 17px;
  margin: 0;
  border: 1px solid #59616a;
  border-radius: 999px;
  background: radial-gradient(circle at 8px 50%, #aeb6bf 5px, transparent 5.5px), #30363d;
  cursor: pointer;
}

.qwen-tts-replace-subtitles input:checked {
  border-color: var(--accent);
  background: radial-gradient(circle at 20px 50%, #202328 5px, transparent 5.5px), var(--accent);
}

.qwen-tts-replace-subtitles input:hover:not(:disabled) {
  box-shadow: 0 0 0 2px rgba(183, 255, 60, .16);
}

.qwen-tts-replace-subtitles input:focus-visible {
  outline: 2px solid rgba(183, 255, 60, .55);
  outline-offset: 3px;
}

.qwen-tts-replace-subtitles input:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.qwen-tts-reference-list {
  display: grid;
  gap: 4px;
}

.qwen-tts-reference-row {
  min-height: 39px;
  display: grid;
  grid-template-columns: 16px 105px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #23272c;
  color: #b7bec5;
  cursor: pointer;
}

.qwen-tts-reference-row:hover {
  border-color: #454c54;
}

.qwen-tts-reference-row.selected {
  border-color: rgba(183, 255, 60, 0.34);
  background: rgba(183, 255, 60, 0.075);
  color: #e6eaed;
}

.qwen-tts-reference-row.primary {
  border-color: rgba(183, 255, 60, 0.62);
  box-shadow: inset 3px 0 0 var(--accent);
}

.qwen-tts-reference-row input {
  accent-color: var(--accent);
}

.qwen-tts-reference-time {
  color: #7e8790;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
}

.qwen-tts-reference-text {

  min-width: 0;

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;



  font-size: 12px;
}

.qwen-tts-reference-row em {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(183, 255, 60, 0.13);
  color: var(--accent);
  font-size: 10px;
  font-style: normal;
}

.qwen-tts-reference-summary {
  margin-top: 9px;
  color: #87919a;
  font-size: 11px;
}

.qwen-tts-reference-summary.valid {
  color: #a7c781;
}

.qwen-tts-reference-summary.warning,
.qwen-tts-inline-message.warning {
  color: #d1ad71;
}

.qwen-tts-inline-message {
  margin: 7px 0 0;
  font-size: 11px;
}

.qwen-tts-reference-guidance {
  margin: 8px 0 0;
  color: #aab1b8;
  font-size: 11px;
  line-height: 1.55;
}

.qwen-tts-section textarea {
  width: 100%;
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  resize: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 11px;
  border: 1px solid #444b53;
  border-radius: 5px;
  outline: none;
  background: #14171a;
  color: #e8ecef;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
}

.qwen-tts-section textarea:focus {
  border-color: rgba(183, 255, 60, 0.7);
  box-shadow: 0 0 0 2px rgba(183, 255, 60, 0.08);
}

.qwen-tts-section textarea:disabled {
  color: #7f878e;
  cursor: wait;
}

.qwen-tts-generation-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 0 3px 3px;
}

.qwen-tts-target-action {
  flex: 0 0 auto;

  display: flex;
  align-items: center;

}

.qwen-tts-target-action button {
  min-width: 126px;
  height: 31px;
  padding: 0 12px;
}

.qwen-tts-target-action .danger {
  color: #eaa0a0;
}

.qwen-tts-generation-options {

  display: flex;
  align-items: center;

  flex-wrap: wrap;
  gap: 22px;
}

.qwen-tts-generation-options label {

  display: flex;
  align-items: center;

  gap: 7px;
  color: #929aa2;
  font-size: 11px;
}

.qwen-tts-generation-options .app-select-trigger,
.qwen-tts-generation-options input {
  height: 30px;
  border: 1px solid #464d55;
  border-radius: 5px;
  outline: none;
  background: #25292e;
  color: #e1e5e8;
}

.qwen-tts-stepper {
  height: 30px;
  display: inline-grid;
  grid-template-columns: 28px 34px 28px;
  overflow: hidden;
  border: 1px solid #464d55;
  border-radius: 5px;
  background: #25292e;
}

.qwen-tts-stepper button {
  min-width: 0;
  height: 100%;

  padding: 0;
  border: 0;
  background: transparent;

  color: #d9dee2;
  cursor: pointer;
}

.qwen-tts-stepper button:hover:not(:disabled) {
  background: #353b42;
  color: var(--accent);
}

.qwen-tts-stepper button:disabled {
  color: #626a72;
  cursor: default;
}

.qwen-tts-stepper output {

  display: grid;
  place-items: center;

  border-right: 1px solid #3f464e;
  border-left: 1px solid #3f464e;
  color: #eef1f3;
  font-variant-numeric: tabular-nums;
}

.qwen-tts-generation-options label.qwen-tts-temperature {
  min-width: 238px;
  display: grid;
  grid-template-columns: auto minmax(170px, 1fr);
  align-items: start;
  gap: 12px;
  margin-left: 5px;
}

.qwen-tts-temperature > strong {
  padding-top: 4px;
  color: #dce2e6;
  font-size: 11px;
  font-weight: 750;
}

.qwen-tts-temperature-control {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.qwen-tts-temperature input[type="range"] {
  width: 100%;
  height: 18px;
  padding: 0;
  accent-color: var(--accent);
}

.qwen-tts-temperature-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  color: #747e86;
  font-size: 9px;
  line-height: 1;
}

.qwen-tts-temperature-labels span:nth-child(2) {
  text-align: center;
}

.qwen-tts-temperature-labels span:last-child {
  text-align: right;
}

.qwen-tts-generation-options .app-select-trigger {
  min-width: 128px;
  padding: 0 28px 0 9px;
}

.qwen-tts-generation-options input {
  width: 61px;
  padding: 0 7px;
}

.qwen-tts-generation-options em {
  color: #767f88;
  font-style: normal;
}

.qwen-tts-progress-dock {
  z-index: 1;
  padding: 10px 22px 12px;
  border-top: 1px solid rgba(95, 196, 202, 0.32);
  background: #1b2226;
  box-shadow: 0 -9px 24px rgba(0, 0, 0, 0.24);
}

.qwen-tts-progress-dock > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: #a9cfd1;
  font-size: 11px;
}

.qwen-tts-progress-dock progress {
  width: 100%;
  height: 5px;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #30363b;
}

.qwen-tts-progress-dock progress::-webkit-progress-bar {
  background: #30363b;
}

.qwen-tts-progress-dock progress::-webkit-progress-value {
  border-radius: 999px;
  background: #62c8cb;
}

.qwen-tts-candidates {
  display: grid;
  gap: 8px;
}

.qwen-tts-candidates article {
  display: grid;
  grid-template-columns: 180px minmax(300px, 1fr) 104px 110px;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid #3d434a;
  border-radius: 6px;
  background: #22262b;
}

.qwen-tts-candidates article.inserted {
  border-color: rgba(183, 255, 60, 0.55);
}

.qwen-tts-candidates article.original {
  grid-template-columns: 180px minmax(300px, 1fr) 104px 110px;
  border-color: #4a525b;
  background: #1c2025;
}

.qwen-tts-candidate-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.qwen-tts-candidate-leading {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px 92px;
  align-items: center;
  column-gap: 50px;
}

.qwen-tts-candidates article strong {
  font-size: 12px;
}

.qwen-tts-candidates article small {
  color: #818a92;
  font-size: 10px;
}

.qwen-tts-audio-preview {
  min-width: 0;
  width: calc(100% - 42px);
  height: 34px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color-scheme: dark;
}

.qwen-tts-audio-preview audio {
  display: none;
}

.qwen-tts-context-play-slot {
  min-width: 0;
  display: flex;
  justify-content: flex-start;
}

.qwen-tts-candidates button.qwen-tts-audio-play {
  width: 28px;
  min-width: 28px;
  height: 28px;


  display: grid;
  place-items: center;

  padding: 0;
  border: 0;

  border-radius: 50%;
  outline: none;
  background: #292f35;
  color: #dce3e8;
  cursor: pointer;
}

.qwen-tts-candidates button.qwen-tts-context-play {
  width: 92px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid #424a52;
  border-radius: 999px;
  background: #22272c;
  color: #bac2c9;
  font-size: 10px;
  cursor: pointer;
}

.qwen-tts-candidates button.qwen-tts-context-play:hover,
.qwen-tts-candidates button.qwen-tts-context-play[aria-pressed="true"] {
  border-color: rgba(183, 255, 60, 0.48);
  color: var(--accent);
}

.qwen-tts-candidates .qwen-tts-audio-play:hover:not(:disabled) {
  background: #343c43;
  color: var(--accent);
}

.qwen-tts-candidates .qwen-tts-audio-play:focus-visible {
  box-shadow: 0 0 0 2px rgba(183, 255, 60, 0.34);
}

.qwen-tts-candidates .qwen-tts-audio-play:disabled {
  color: #626b73;
  cursor: not-allowed;
}

.qwen-tts-audio-play svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.qwen-tts-audio-pause {
  height: 12px;
  display: flex;
  align-items: stretch;
  gap: 3px;
}

.qwen-tts-audio-pause i {
  width: 3px;
  border-radius: 1px;
  background: currentColor;
}

.qwen-tts-waveform-lane {
  min-width: 0;
  height: 32px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.qwen-tts-waveform-block {
  --audio-track-color: #6fa8ff;
  position: relative;
  min-width: 10px;
  height: 32px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--audio-track-color) 72%, #fff 0%);
  border-radius: 4px;
  background: color-mix(in srgb, var(--audio-track-color) 12%, #171a1e);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .24);
}

.qwen-tts-waveform-block > .waveform-canvas {
  position: absolute;
  inset: 2px 0;
  width: 100%;
  height: calc(100% - 4px);
  opacity: .94;
  pointer-events: none;
}

.qwen-tts-waveform-cursor {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #f2f6f8;
  box-shadow: 0 0 0 1px rgba(19, 25, 31, .45);
  transform: translateX(-.5px);
  pointer-events: none;
}

.qwen-tts-waveform-seek {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.qwen-tts-waveform-block:focus-within {
  box-shadow: 0 0 0 2px rgba(183, 255, 60, .34), 0 2px 5px rgba(0, 0, 0, .24);
}

.qwen-tts-waveform-seek:disabled {
  cursor: not-allowed;
}

.qwen-tts-candidates button {
  height: 30px;
  padding: 0 10px;
  white-space: nowrap;
}

.qwen-tts-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(214, 105, 105, 0.34);
  border-radius: 6px;
  background: rgba(135, 47, 47, 0.12);
  color: #e7a0a0;
  font-size: 11px;
}

.qwen-tts-required-modal {
  width: min(520px, calc(100vw - 40px));
}

@media (max-width: 760px) {
  .qwen-tts-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .qwen-tts-scroll {
    padding: 13px;
  }

  .qwen-tts-progress-dock {
    padding-right: 13px;
    padding-left: 13px;
  }

  .qwen-tts-reference-row {
    grid-template-columns: 16px 82px minmax(0, 1fr);
  }

  .qwen-tts-reference-row em {
    display: none;
  }

  .qwen-tts-candidates article,
  .qwen-tts-candidates article.original {
    grid-template-columns: 1fr 1fr;
  }

  .qwen-tts-generation-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .qwen-tts-target-action {
    align-self: flex-end;
  }

  .qwen-tts-candidates article .qwen-tts-audio-preview {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

.website-timeline {


.timeline {
  min-height: 92px;
  padding-bottom: 7px;
  overflow: hidden;
  outline: 0;
  border-top: 1px solid #34383e;
  background: #202328;
}

.timeline.selection-mode {
  position: relative;
  z-index: 20;
  overflow: visible;
}

.timeline.selection-mode .timeline-body {
  height: calc(100% - 42px);
}

.timeline-selection-toolbar {
  position: relative;
  z-index: 30;
  height: 42px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  border-bottom: 1px solid #363b41;
  background: #202328;
}

.timeline-selection-marks,
.timeline-selection-recognition,
.timeline-selection-readout,
.timeline-recognition-language {

  display: flex;
  align-items: center;

}

.timeline-selection-marks {
  gap: 4px;
}

.timeline-selection-marks button {
  height: 27px;

  display: flex;
  align-items: center;

  gap: 5px;
  padding: 0 7px;
  border: 1px solid #42484f;
  border-radius: 4px;
  background: #282c31;
  color: #bcc3c9;
  font-size: 10px;
  cursor: pointer;
}

.timeline-selection-marks button:hover:not(:disabled) {
  border-color: #626b75;
  color: #f0f3f5;
}

.timeline-selection-marks button:disabled {
  opacity: .42;
  cursor: default;
}

.timeline-selection-marks kbd,
.timeline-selection-context-menu kbd {
  color: #89929a;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
}

.timeline-selection-recognition {
  justify-content: center;
  gap: 7px;
}

.timeline-selection-recognize {
  height: 29px;
  padding: 0 12px;
  border: 1px solid #5dadff;
  border-radius: 4px;
  background: #315f8c;
  color: #f2f7fc;
  font-size: 11px;
  cursor: pointer;
}

.timeline-selection-recognize:hover:not(:disabled) {
  background: #3970a5;
}

.timeline-selection-recognize:disabled {
  border-color: #454c53;
  background: #2c3136;
  color: #78818a;
  cursor: default;
}

.timeline-recognition-language {
  position: relative;
  gap: 6px;
  color: #8f979f;
  font-size: 10px;
}

.timeline-recognition-language .recognition-language-trigger {
  width: 86px;
  height: 29px;
  flex: 0 0 86px;
  font-size: 10px;
}

.timeline-recognition-language .recognition-language-groups {
  position: absolute;
  z-index: 60;
  bottom: calc(100% + 7px);
  left: 50%;
  width: min(440px, calc(100vw - 40px));
  max-height: min(430px, calc(100vh - 90px));
  margin: 0;
  overflow: auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  transform: translateX(-50%);
}

.timeline-selection-readout {
  min-width: 0;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  color: #8f99a2;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  white-space: nowrap;
}

.timeline-selection-readout strong {
  color: #acd5ff;
  font-size: 10px;
  font-weight: 600;
}

.timeline-recognition-range {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.timeline-recognition-range-fill {
  position: absolute;
  inset: 0;
  border-inline: 1px solid rgba(93, 173, 255, .92);
  background: rgba(93, 173, 255, .14);
  box-shadow: inset 0 0 18px rgba(93, 173, 255, .06);
}

.timeline-recognition-range-handle {
  position: absolute;
  top: 0;
  width: 14px;
  height: 24px;
  padding: 0;
  border: 0;
  background: #5dadff;
  color: #071a2c;
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none;
}

.timeline-recognition-range-handle.start {
  left: 0;
  border-radius: 2px 0 2px 2px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 58% 100%, 0 100%);
}

.timeline-recognition-range-handle.end {
  right: 0;
  border-radius: 0 2px 2px 2px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 42% 100%, 0 72%);
}

.timeline-recognition-range-handle span {
  position: absolute;
  top: 2px;
  right: 0;
  left: 0;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.timeline-recognition-range-handle:hover {
  background: #83bcff;
}

.timeline-recognition-range-handle.pending {
  z-index: 4;
}

.timeline-selection-context-menu {
  position: fixed;
  z-index: 100;
  min-width: 176px;
  padding: 4px;
  border: 1px solid #4b5259;
  border-radius: 5px;
  background: #262a2e;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .48);
}

.timeline-selection-context-menu button {
  width: 100%;
  height: 31px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #e6eaed;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.timeline-selection-context-menu button:hover {
  background: #353a3f;
}

.timeline-selection-context-menu button > span {
  color: #f08a90;
  font-size: 17px;
}

@media (max-width: 850px) {
  .timeline-selection-toolbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
  }

  .timeline-selection-marks button span,
  .timeline-recognition-language > span,
  .timeline-selection-readout > span {
    display: none;
  }
}

.timeline-body {
  --overview-track-count: 1;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) calc(30px + var(--overview-track-count) * 6px);
  cursor: default;
}

.timeline-body.track-controls-collapsed {
  grid-template-columns: 15px minmax(0, 1fr);
}

.timeline-body.track-controls-hidden {
  grid-template-columns: minmax(0, 1fr);
}

.timeline-body.track-controls-hidden .detail-tracks {
  grid-column: 1;
}

.track-controls {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: 24px auto minmax(31px, 1fr);
  grid-column: 1;
  grid-row: 1;
  overflow: visible;
  border-right: 1px solid #383d43;
  background: #1b1e22;
}

.track-controls-collapse {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  width: 12px;
  padding: 0;
  border: 0;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  background: rgba(183,255,60,0.08);
  color: var(--accent);
  font-size: 17px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 120ms ease, background 120ms ease;
}

.track-controls:hover .track-controls-collapse,
.track-controls-collapse:focus-visible,
.track-controls-collapsed .track-controls-collapse {
  opacity: 1;
}

.track-controls-collapse:hover {
  background: rgba(183,255,60,0.18);
}

.track-controls-collapsed .track-controls-collapse {
  right: 0;
  border-left-color: #535a61;
  background: transparent;
  color: #858c95;
}

.track-controls-collapsed .track-controls-collapse:hover,
.track-controls-collapsed .track-controls-collapse:focus-visible {
  border-left-color: var(--accent);
  background: rgba(183,255,60,0.18);
  color: var(--accent);
}

.track-controls-collapsed :is(.track-control-spacer, .track-control-list, .waveform-track-control) {
  visibility: hidden;
  pointer-events: none;
}

.track-control-spacer {
  height: 24px;

  display: flex;
  align-items: center;

  padding: 0 10px;
  border-bottom: 1px solid #30343a;
  color: #8b929a;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.track-control-list {
  position: relative;
  overflow: clip;
}

.track-control {
  position: relative;
  height: 42px;
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid #2e3237;
  background: #202328;
}

.track-control.active {
  background: linear-gradient(90deg, rgba(183,255,60,0.13), rgba(183,255,60,0.025));
}

.track-control.muted {
  opacity: 0.46;
}

.track-control.reordering {
  z-index: 2;
  background: linear-gradient(90deg, rgba(183,255,60,0.2), rgba(183,255,60,0.055));
  box-shadow: 0 0 0 1px rgba(183,255,60,0.34), 0 5px 12px rgba(0,0,0,0.32);
}

.track-select {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;

  padding: 0 34px 0 7px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.track-name-editor {
  width: 100%;
  min-width: 0;
  height: 24px;
  padding: 0 5px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  outline: 0;
  background: #171b1d;
  color: #eef2f3;
  font-size: 10px;
}

.track-delete {
  position: absolute;
  top: 50%;
  right: 16px;
  z-index: 3;
  width: 19px;
  height: 19px;

  padding: 0;
  border: 0;
  background: transparent;

  border-radius: 3px;
  color: #a5abb1;
  font-size: 16px;
  line-height: 18px;
  cursor: pointer;
  transform: translateY(-50%);
}

.track-delete:hover:not(:disabled) {
  background: rgba(230, 101, 101, 0.16);
  color: #ff9b9b;
}

.track-delete:disabled {
  opacity: 0.22;
  cursor: not-allowed;
}

.track-delete-warning {
  position: fixed;
  z-index: 30;
  top: 50%;
  width: max-content;
  max-width: 220px;
  padding: 5px 8px;
  border: 1px solid rgba(239, 126, 132, .48);
  border-radius: 4px;
  background: rgba(39, 28, 31, .97);
  color: #f0a1a6;
  font-size: 10px;
  line-height: 1.35;
  pointer-events: none;
  transform: translateY(-50%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .38);
}

.track-select > span {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 2px;
}

.track-select strong,
.track-select small {

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;


}

.track-select strong {
  color: #d8dcdf;
  font-size: 10px;
  font-weight: 600;
}

.track-select small {
  color: #747c85;
  font-size: 9px;
}

.track-color-toggle {
  width: 15px;
  height: 100%;


  display: grid;
  place-items: center;

  padding: 0;
  border: 0;

  background: transparent;
  cursor: grab;
  touch-action: none;
}

.track-color-toggle:active,
.track-control.reordering .track-color-toggle,
.timeline.selection-mode .ruler.moving-selection,
.audio-repair-block.moving {
  cursor: grabbing;
}

.track-color-toggle i {
  width: 5px;
  height: 24px;
  border-radius: 3px;
  transition: opacity 120ms ease, filter 120ms ease;
}

.track-control.muted .track-color-toggle i {
  opacity: 0.35;
  filter: grayscale(0.8);
}

.waveform-track-control {
  position: relative;
  min-height: 31px;

  display: grid;
  place-items: center;

  border-bottom: 1px solid #30343a;
  background: linear-gradient(
    to bottom,
    #1d2427 0%,
    rgba(29, 36, 39, 0.92) 58%,
    rgba(29, 36, 39, 0.35) 100%
  );
}

.waveform-track-control::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 12px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(29, 36, 39, 0.35), transparent);
}

.add-track-button {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #41464d;
  border-radius: 4px;
  background: #282c31;
  color: #aeb5bc;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.add-track-button:hover {
  border-color: rgba(183,255,60,0.5);
  background: rgba(183,255,60,0.1);
  color: var(--accent);
}

.tracks {
  display: contents;
}

.detail-tracks {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: 24px auto minmax(31px, 1fr);
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
}

.ruler {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #30343a;
  color: #68707a;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
}

.timeline.selection-mode .ruler {
  cursor: grab;
  touch-action: none;
}

.ruler-labels {
  position: absolute;
  inset: 0 10px;
}

.ruler-frame-ticks {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.ruler-frame-ticks b {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 2px;
  background: #68707a;
  opacity: 0.72;
  transform: translateX(-0.5px);
}

.ruler span {
  position: absolute;
  top: 0;
  left: calc(var(--ruler-position) * 20%);
  width: 0;
  height: 100%;
}

.ruler i {
  position: absolute;
  top: 4px;
  left: 0;
  font-style: normal;
  transform: translateX(-50%);
}

.ruler span:first-child i {
  transform: none;
}

.ruler span:last-child i {
  transform: translateX(-100%);
}

.sentence-track,
.audio-repair-track,
.waveform-track {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #30343a;
  background-image: linear-gradient(90deg, #30343a 1px, transparent 1px);
}

.sentence-track {
  background-size: 20% 100%;
  height: 42px;
  overflow: visible;
}

.audio-repair-track {
  height: 42px;
  background-color: #1e2227;
  background-size: 20% 100%;
}

.audio-repair-track.muted {
  opacity: 0.38;
}

.audio-track-control {
  background: linear-gradient(90deg, rgba(111, 168, 255, 0.1), rgba(32, 35, 40, 0.98));
}

.audio-track-label {
  min-width: 0;

  display: flex;
  align-items: center;

  padding: 0 38px 0 8px;
  color: #c7cdd3;
  cursor: default;
}

.audio-track-label span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.audio-track-label strong {

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;


  font-size: 11px;
}

.audio-track-label small {
  color: #74808b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.audio-repair-block {
  position: absolute;
  top: 5px;
  bottom: 5px;
  z-index: 7;
  min-width: 10px;
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--audio-track-color) 72%, #fff 0%);
  border-radius: 4px;
  background: color-mix(in srgb, var(--audio-track-color) 12%, #171a1e);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .24);
  cursor: grab;
  touch-action: none;
}

.audio-repair-block:is(.resizing, .moving) {
  z-index: 13;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(183, 255, 60, .24), 0 4px 10px rgba(0, 0, 0, .35);
}

.audio-repair-block > .waveform-canvas {
  position: absolute;
  inset: 2px 0;
  width: 100%;
  height: calc(100% - 4px);
  opacity: .94;
  pointer-events: none;
}

.audio-repair-waveform-loading {
  position: absolute;
  inset: 6px 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    90deg,
    color-mix(in srgb, var(--audio-track-color) 58%, transparent) 0 1px,
    transparent 1px 4px
  );
  opacity: .42;
}

.audio-repair-speed-handle {
  position: absolute;
  z-index: 7;
  top: 0;
  bottom: 0;
  width: 5px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #b8ceef;
  box-shadow: 0 0 0 1px rgba(23, 34, 48, .72);
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='24' viewBox='0 0 28 24'%3E%3Cpath d='M1 8h13M1 8l4-4M1 8l4 4' stroke='%23fff' stroke-width='1.7' fill='none'/%3E%3Ccircle cx='20' cy='15' r='6' fill='%2321262b' stroke='%23b7ff3c'/%3E%3Cpath d='M20 11.5V15l2.5 1.5' stroke='%23b7ff3c' stroke-width='1.2' fill='none'/%3E%3C/svg%3E") 7 8, ew-resize;
  opacity: .9;
  touch-action: none;
}

.audio-repair-speed-handle.start {
  left: 0;
}

.audio-repair-speed-handle.end {
  right: 0;
}

.audio-repair-speed-handle:hover,
.audio-repair-speed-handle:focus-visible {
  background: var(--accent);
  opacity: 1;
}

.waveform-track {
  background-size: 20% 100%;
}

.subtitle-track-stack {
  position: relative;
  min-height: 0;
  overflow: visible;
}

.timeline-snap-guide {
  position: absolute;
  z-index: 12;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(183, 255, 60, .2), 0 0 8px rgba(183, 255, 60, .62);
  pointer-events: none;
}

.sentence-track:has(.sentence-block:hover),
.sentence-track:has(.sentence-block:focus-within) {
  z-index: 8;
}

.sentence-track.muted {
  opacity: 0.38;
}

.empty-track-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;

  display: flex;
  align-items: center;

  gap: 6px;
  transform: translate(-50%, -50%);
}

.empty-track-import,
.empty-track-translate {
  height: 26px;
  padding: 0 11px;
  border: 1px solid #596169;
  border-radius: 4px;
  background: rgba(27, 31, 35, 0.94);
  color: #cbd1d6;
  font-size: 11px;
  cursor: pointer;
}

.empty-track-import:hover:not(:disabled),
.empty-track-import:focus-visible,
.empty-track-translate:hover:not(:disabled),
.empty-track-translate:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: 0;
}

.empty-track-import:disabled,
.empty-track-translate:disabled {
  cursor: default;
  opacity: 0.45;
}

.empty-track-translate {

  display: inline-flex;
  align-items: center;

  gap: 5px;
}

.empty-track-translate svg {
  width: 14px;


  fill: none;
  stroke: currentColor;

  stroke-linecap: round;
  stroke-linejoin: round;


  stroke-width: 1.55;
}

.track-import-input,
.sentence-block.solid-fill .sentence-resize-handle,
.sentence-block.solid-fill .sentence-block-copy {
  display: none;
}

.detail-tracks.copying-segments,
.detail-tracks.copying-segments .sentence-block {
  cursor: copy;
}

.segment-drop-indicator {
  position: absolute;
  z-index: 9;
  top: 3px;
  bottom: 3px;
  width: 2px;
  border-radius: 2px;
  background: #5dadff;
  box-shadow: 0 0 0 1px rgba(93, 173, 255, .22), 0 0 8px rgba(93, 173, 255, .72);
  pointer-events: none;
}

.segment-drop-indicator.snapped {
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(183, 255, 60, .22), 0 0 8px rgba(183, 255, 60, .72);
}

.sentence-block {
  --sentence-border-width: 2px;
  --track-color: var(--accent);

  position: absolute;
  top: 0;
  bottom: 0;

  display: flex;
  align-items: center;

  padding: 0;
  overflow: visible;
  border: 2px solid color-mix(in srgb, var(--track-color), #4d584f 78%);
  border-radius: 3px;
  background: color-mix(in srgb, var(--track-color), #2b322e 91%);
  color: #b6c2ba;
  font-size: 12px;

  text-overflow: ellipsis;
  white-space: nowrap;

  cursor: grab;
  user-select: none;
}

.sentence-block:active {
  cursor: grabbing;
}

.sentence-delete-button {
  position: absolute;
  bottom: calc(100% + var(--sentence-border-width) + 4px);
  left: 50%;
  z-index: 10;
  width: 16px;
  height: 16px;

  display: grid;
  place-items: center;

  padding: 0;
  border: 1px solid #788379;
  border-radius: 50%;
  background: #454c48;
  color: #edf2ee;
  cursor: pointer;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}

.sentence-delete-button svg {
  display: block;
  width: 12px;
  height: 12px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.4;
  stroke-linecap: round;
  pointer-events: none;
}

.sentence-delete-button::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  height: 5px;
}

.sentence-block:hover .sentence-delete-button,
.sentence-delete-button:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.sentence-delete-button:hover {
  border-color: #d95151;
  background: #d95151;
  color: #fff;
}

.sentence-block:has(.sentence-resize-handle:hover, .sentence-external-handle:hover) .sentence-delete-button,
.sentence-track:has(.sentence-shared-boundary:hover) .sentence-delete-button {
  opacity: 0;
  pointer-events: none;
}

.sentence-resize-handle {

  position: absolute;
  top: 0;
  bottom: 0;

  z-index: 2;
  width: 9px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: ew-resize;
  opacity: 1;
  transition: opacity 120ms ease;
}

.sentence-resize-handle::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 3px;
  width: 3px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--track-color), #4d584f 68%);
}

.sentence-resize-handle.start { left: 0; }
.sentence-resize-handle.end { right: 0; }

.sentence-resize-handle:disabled {
  opacity: 0 !important;
  pointer-events: none !important;
}

.sentence-block:hover .sentence-resize-handle,
.sentence-block.selected .sentence-resize-handle {
  opacity: 1;
}

.sentence-block:hover .sentence-resize-handle::after,
.sentence-block.selected .sentence-resize-handle::after,
.sentence-block.solid-fill.selected,
.sentence-external-handle:hover::before,
.sentence-external-handle:focus-visible::before {
  background: var(--track-color);
}

.sentence-block-copy {
  position: absolute;
  inset: 0;

  min-width: 0;

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;



  width: 100%;

  display: flex;
  align-items: center;

  padding: 0 13px;
  color: #c8d2cb;
  pointer-events: none;
}

.sentence-block.selected {
  border-color: color-mix(in srgb, var(--track-color), #78836d 56%);
  background: color-mix(in srgb, var(--track-color), #2b322e 82%);
  color: #e7f1d8;
}

.sentence-block.batch-selected {
  border-color: #5dadff;
  background: color-mix(in srgb, #5dadff, transparent 80%);
  box-shadow: inset 0 0 0 1px rgba(93, 173, 255, .42);
}

.sentence-block.moving {
  opacity: .52;
}

.marquee-hold-progress,
.marquee-hold-hint,
.marquee-ready-hint,
.subtitle-marquee,
.segment-move-badge {
  position: absolute;
  z-index: 20;
  pointer-events: none;
}

.marquee-hold-progress {
  width: 26px;
  height: 26px;
  margin: -34px 0 0 -13px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) var(--marquee-progress), rgba(183, 255, 60, .15) 0);
  -webkit-mask: radial-gradient(circle, transparent 48%, #000 51%);
  mask: radial-gradient(circle, transparent 48%, #000 51%);
}

.marquee-hold-hint,
.marquee-ready-hint,
.segment-move-badge {
  width: max-content;
  padding: 5px 8px;
  border: 1px solid #4c5964;
  border-radius: 4px;
  background: rgba(29, 35, 40, .95);
  color: #dce4e9;
  font-size: 10px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .38);
}

.marquee-hold-hint,
.marquee-ready-hint {
  margin: -12px 0 0 14px;
}

.marquee-ready-hint {
  border-color: rgba(183, 255, 60, .5);
  color: var(--accent);
}

.subtitle-marquee {
  border: 1px solid #5dadff;
  background: rgba(93, 173, 255, .12);
  box-shadow: 0 0 0 1px rgba(93, 173, 255, .16);
}

.segment-move-badge {
  margin: -34px 0 0 13px;
  border-color: rgba(93, 173, 255, .55);
  color: #acd5ff;
}

.sentence-block.selected .sentence-block-copy {
  color: #f0f5ed;
}

/* The copy box ends at the left edge of the in-block right resize handle. */
.sentence-block.internal-handles .sentence-block-copy {
  right: 9px;
  width: auto;
}

.sentence-block.shared-start .sentence-block-copy {
  left: 15px;
  width: auto;
  padding-left: 2px;
}

.sentence-block.shared-end .sentence-block-copy {
  right: 15px;
  width: auto;
  padding-right: 2px;
}

.sentence-block.compact-block-text .sentence-block-copy {
  padding-right: 0;
  padding-left: 0;
}

.sentence-block.internal-handles.compact-block-text:not(.shared-start) .sentence-block-copy {
  left: 9px;
}

.sentence-block.compact-block-text.shared-start .sentence-block-copy {
  padding-left: 2px;
}

.sentence-block.compact-block-text.shared-end .sentence-block-copy {
  padding-right: 2px;
}

.sentence-block.solid-fill {
  --sentence-border-width: 0px;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: #536157;
}

.sentence-block.hide-block-text .sentence-block-copy {
  visibility: hidden;
}

.sentence-block.external-handles {
  overflow: visible;
}

.sentence-external-handle {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 17px;
  height: 16px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: ew-resize;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 120ms ease;
}

.sentence-external-handle::before {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 16px;
  background: color-mix(in srgb, var(--track-color), #4d584f 68%);
  transition: background 120ms ease;
}

.sentence-external-handle.start {
  left: -17px;
}

.sentence-external-handle.start::before {
  left: 0;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.sentence-external-handle.end {
  right: -17px;
}

.sentence-external-handle.end::before {
  right: 0;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.sentence-block.external-handles:hover .sentence-external-handle,
.sentence-block.external-handles:focus-within .sentence-external-handle,
.sentence-block.external-handles.handles-active .sentence-external-handle {
  opacity: 1;
  pointer-events: auto;
}

.sentence-shared-boundary {
  --track-color: var(--accent);
  position: absolute;
  z-index: 9;
  top: 0;
  bottom: 0;
  width: 0;
  pointer-events: none;
}

.sentence-shared-boundary button {
  position: absolute;
  z-index: 1;
  padding: 0;
  border: 0;
  pointer-events: auto;
}

.sentence-shared-boundary-line {
  top: 0;
  bottom: 0;
  left: -3px;
  width: 6px;
  background: transparent;
  cursor: ew-resize;
}

.sentence-shared-boundary-line::before,
.sentence-shared-boundary-line::after {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;

  width: 2px;
  background: transparent;
  transition: background 120ms ease, box-shadow 120ms ease;
}

.sentence-shared-boundary-line::before {
  left: 1px;
}

.sentence-shared-boundary-line::after {
  left: 3px;
}

.sentence-shared-boundary-line:hover::before,
.sentence-shared-boundary-line:hover::after,
.sentence-shared-boundary.active .sentence-shared-boundary-line::before,
.sentence-shared-boundary.active .sentence-shared-boundary-line::after {
  background: var(--track-color);
  box-shadow: 0 0 7px color-mix(in srgb, var(--track-color), transparent 42%);
}

.sentence-shared-triangle {
  top: 13px;
  width: 10px;
  height: 16px;
  background: color-mix(in srgb, var(--track-color), #4d584f 68%);
  cursor: default;
  transition: background 120ms ease;
}

.sentence-shared-triangle.left {
  right: 5px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.sentence-shared-triangle.right {
  left: 5px;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.sentence-shared-triangle:hover,
.sentence-shared-triangle:focus-visible {
  background: var(--track-color);
}

.sentence-text-editor {
  width: 100%;
  min-width: 0;
  height: calc(100% - 8px);
  margin: 4px 0;
  padding: 0 6px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: #171b1d;
  color: #f0f3f4;
  font-size: 12px;
}

.waveform-track {
  background-color: #1d2427;
}

.waveform-message {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: grid;
  place-items: center;

  color: #727c84;
  font-size: 10px;
  pointer-events: none;
}

.waveform-message.error {
  color: #ba7777;
}

.waveform-progress-float {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 5;
  min-width: 142px;
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 8px;
  padding: 9px 11px 10px;
  border: 1px solid rgba(89, 216, 210, 0.32);
  border-radius: 7px;
  background: rgba(24, 29, 32, 0.94);
  color: #dce5e7;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
  pointer-events: none;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.waveform-progress-float strong {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.waveform-progress-float > i {
  position: relative;
  height: 3px;
  grid-column: 1 / -1;
  overflow: hidden;
  border-radius: 999px;
  background: #343b3f;
}

.waveform-progress-float > i > b {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--cyan);
  transition: width 120ms linear;
}

.waveform-spinner {
  width: 12px;
  height: 12px;
  display: block;
  border: 2px solid rgba(89, 216, 210, 0.22);
  border-top-color: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  animation: waveform-spin 720ms linear infinite;
}

@keyframes waveform-spin {
  to { transform: rotate(360deg); }
}

.waveform {
  position: absolute;
  z-index: 1;
  inset: 5px 0;
  overflow: hidden;
}

.waveform-muted-range {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  border-right: 1px solid rgba(176, 190, 201, .26);
  border-left: 1px solid rgba(176, 190, 201, .26);
  background: rgba(151, 163, 173, .15);
  pointer-events: none;
}

.waveform-muted-range.editable {
  z-index: 3;
  top: 2px;
  bottom: 2px;
  border-color: rgba(192, 202, 210, .55);
  border-radius: 3px;
  background: rgba(155, 164, 172, .22);
  box-shadow: inset 0 0 0 1px rgba(215, 222, 227, .08);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
}

.waveform-muted-range.editable.active {
  border-color: rgba(183, 255, 60, .72);
  cursor: grabbing;
}

.waveform-muted-handle {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 5px;
  padding: 0;
  border: 0;
  background: rgba(211, 219, 225, .72);
  cursor: ew-resize;
  touch-action: none;
}

.waveform-muted-handle.start { left: 0; }
.waveform-muted-handle.end { right: 0; }

.waveform-muted-handle:hover,
.waveform-muted-handle:focus-visible {
  background: var(--accent);
}

.waveform-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.waveform i {
  display: block;
  min-width: 1px;
  flex: 1;
  border-radius: 1px;
  background: var(--cyan);
  opacity: 0.86;
}

.wave-center {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(89,216,210,0.24);
}

.playhead {

  position: absolute;
  top: 0;
  bottom: 0;

  width: 1px;
  z-index: 5;
  background: var(--accent);
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none;
}

.playhead::before {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;

  left: -6px;
  width: 13px;
}

.playhead span {
  position: absolute;
  top: 0;
  left: -4px;
  width: 9px;
  height: 7px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.overview-track {
  position: relative;
  min-width: 0;
  grid-column: 1 / -1;
  grid-row: 2;
  overflow: hidden;
  border-top: 1px solid #41464d;
  background: #171b1f;
  touch-action: none;
  user-select: none;
}

.overview-waveform {
  position: absolute;
  inset: calc(5px + var(--overview-track-count) * 6px) 0 3px;
  opacity: 0.86;
}

.overview-waveform .waveform-canvas,
.overview-timeline-area {
  position: absolute;
  inset: 0;
}

.overview-waveform i {
  min-width: 0;
  flex: 1;
  border-radius: 1px;
  background: #4f9ea5;
}

.overview-captions {
  position: absolute;
  inset: 3px 0 auto;
  height: calc(var(--overview-track-count) * 6px);
}

.overview-caption-track {
  position: absolute;
  top: calc(var(--overview-track-index) * 6px);
  left: 0;
  right: 0;
  height: 5px;
}

.overview-caption-track.muted {
  opacity: 0.36;
}

.overview-caption-track i {
  position: absolute;
  height: 5px;
  min-width: 0;
  border-radius: 1px;
  opacity: 0.85;
}

.overview-caption-track i.selected {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.overview-recognition-range,
.overview-recognition-in-point {

  position: absolute;
  top: 0;
  bottom: 0;

  z-index: 4;
  pointer-events: none;
}

.overview-recognition-range {
  min-width: 1px;
  border-inline: 1px solid rgba(93, 173, 255, .95);
  background: rgba(93, 173, 255, .22);
  box-shadow: inset 0 0 10px rgba(93, 173, 255, .12);
}

.overview-recognition-in-point {
  width: 2px;
  background: #5dadff;
  box-shadow: 0 0 7px rgba(93, 173, 255, .8);
  transform: translateX(-1px);
}

.overview-selection {

  position: absolute;
  top: 0;
  bottom: 0;

  z-index: 3;
  min-width: 0;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: rgba(183,255,60,0.055);
  box-shadow:
    -100vw 0 0 100vw rgba(5,7,8,0.52),
    100vw 0 0 100vw rgba(5,7,8,0.52);
  cursor: grab;
}

.overview-selection:active {
  cursor: grabbing;
}

.overview-handle {

  position: absolute;
  top: 0;
  bottom: 0;

  width: 8px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: ew-resize;
}

.overview-selection.external-handles {
  border-width: 1px;
  background: rgba(183,255,60,0.055);
}

.overview-selection.external-handles .overview-handle {
  top: 50%;
  bottom: auto;
  width: var(--overview-handle-width, 12px);
  height: 15px;
  background: var(--accent);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.overview-selection.external-handles.handles-active .overview-handle {
  opacity: 1;
  pointer-events: auto;
}

.overview-selection.external-handles .overview-handle::after {
  display: none;
}

.overview-selection.external-handles .overview-handle.start {
  left: calc(-1 * var(--overview-handle-offset, 17px));
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.overview-selection.external-handles .overview-handle.end {
  right: calc(-1 * var(--overview-handle-offset, 17px));
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.overview-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 2px;
  height: 28px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}

.overview-handle.start { left: 0; }
.overview-handle.end { right: 0; }

.overview-playhead {

  position: absolute;
  top: 0;
  bottom: 0;

  z-index: 4;
  width: 1px;
  background: #e6e9ed;
  opacity: 0.75;
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none;
}

.overview-playhead::before {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;

  left: -5px;
  width: 11px;
}

}
.intro-video-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#69b5ff;background:none;border:0;padding:4px;font:inherit;font-size:13px;cursor:default}.intro-video-link svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4}.intro-video-link svg path{fill:currentColor;stroke:none}
.website-correction-demo{--accent:#b7ff3c;position:relative;min-width:0;background:#202328;border:1px solid #414850;border-radius:10px;overflow:hidden;color:#dfe4e7;text-align:left}.demo-toolbar{display:flex;gap:24px;align-items:center;padding:14px 18px;border-bottom:1px solid #34383e;font-size:12px}.demo-toolbar span:last-child{color:#b7ff3c}.demo-subtitles{padding:0 18px}.demo-columns{font-size:10px;color:#78828c;padding:12px 0;border-bottom:1px solid #34383e}.demo-subtitle{display:flex;gap:18px;padding:13px 0;border-bottom:1px solid #ffffff08;font-size:12px}.demo-subtitle small{font-size:10px;color:#77838b}.demo-subtitle.edited span{color:#c4ed95}.demo-notice-stage{height:270px;position:relative;margin:12px}.website-correction-demo .smart-replace-notice-wrap{inset:0}.website-correction-demo .smart-replace-notice{max-height:100%;box-shadow:0 6px 20px #0002}.website-correction-demo .smart-replace-notice.expanded{height:100%}.website-correction-demo .smart-replace-notice-copy{white-space:normal}.website-correction-demo .smart-replace-notice-long{display:none}.website-correction-demo .smart-replace-notice-short{display:inline}.website-correction-demo .smart-replace-atom circle{fill:currentColor;stroke:none}.website-correction-demo .smart-replace-candidate-list{overflow:auto}.website-correction-demo .smart-replace-diff{white-space:normal;line-height:1.7}.demo-controls{display:flex;gap:12px;align-items:center;padding:12px 16px;border-top:1px solid #34383e;font-size:11px}.demo-controls>span{flex:1;color:#b3bfaa}.demo-controls button{border:0;background:none;color:#a8b5c2;cursor:pointer;font:inherit;padding:4px}.demo-disclaimer{font-size:10px;color:#78828c;padding:0 16px 12px}.website-correction-demo button:focus-visible{outline:2px solid #b7ff3c;outline-offset:2px}
@media(max-width:600px){.demo-notice-stage{height:300px}.demo-subtitle{font-size:11px}.website-correction-demo .smart-replace-detail-foot{flex-wrap:wrap;gap:8px}}
@media(prefers-reduced-motion:reduce){.website-correction-demo *{transition:none!important}}

.hero>.intro-video-link{display:flex;width:max-content;margin:14px auto 0}.demo-controls{justify-content:center;border:0;padding:14px}.demo-controls button{font-size:12px}.demo-subtitle{display:grid;grid-template-columns:25px minmax(0,1fr);gap:7px;padding:10px 11px;min-height:64px;border:0}.demo-subtitle.active{background:linear-gradient(90deg,#b7ff3c12,transparent);box-shadow:inset 2px 0 #b7ff3c}.demo-subtitle small{align-self:center}.demo-row-content time{font:10px monospace;color:#77838b;display:block;margin-bottom:5px}.demo-row-text{font-size:15px;line-height:22px;color:#e1e3e6}.demo-text-editor{border:1px solid #525961;border-radius:3px;background:#171a1d;color:#eef1f3;font-size:14px;line-height:26px;padding:0 7px}.demo-selection{background:#335f8e;color:#fff}.demo-caret{display:inline-block;width:1px;height:16px;background:#eef1f3;vertical-align:middle}.demo-pointer{position:absolute;left:73%;top:114px;pointer-events:none}.demo-pointer svg{width:20px;height:24px;fill:#f1f3f5;stroke:#191b1e;stroke-width:1}.demo-pointer.double-click:after{content:'';position:absolute;inset:-8px;border:1px solid #b7ff3c;border-radius:50%;animation:demo-click .35s ease-out 2}@keyframes demo-click{from{transform:scale(.3);opacity:1}to{transform:scale(1.2);opacity:0}}.demo-notice-stage{height:252px}.demo-subtitles{padding:0 12px}
.translation-demo-section{border-top:1px solid var(--line)}.translation-screen{background:#202328;border:1px solid #414850;border-radius:10px;overflow:hidden;min-height:430px}.translation-screen .demo-toolbar{justify-content:space-between}.translation-screen .demo-toolbar small{color:#9da3ad;font-size:11px}.translation-rows{padding:12px}.translation-row{border-bottom:1px solid #34383e;padding:15px 10px;font-size:14px;line-height:1.7}.translation-row time{display:block;color:#78838d;font:10px monospace;margin-bottom:7px}.translation-row p{margin:0;color:#b9ef7d;min-height:24px}.translation-sentence{margin:16px 22px;padding:16px;border-left:2px solid #b7ff3c;background:#b7ff3c08;font-size:14px;line-height:1.8}.translation-sentence p{color:#b9ef7d}.translation-sentence small{color:#9da3ad;font-size:11px}.translation-row.merging{background:#b7ff3c0a;transition:background .4s}
@media(max-width:600px){.demo-row-text{font-size:13px}.demo-notice-stage{height:280px}.translation-screen{min-height:440px}}

.website-correction-demo .demo-pointer{top:66px}.website-correction-demo .demo-notice-stage{position:absolute;top:108px;left:0;right:0;height:300px;margin:12px}.website-correction-demo{min-height:450px;padding-bottom:18px}.website-correction-demo .demo-subtitle{min-height:64px}
.asr-animation{border:1px solid #414850;background:#202328;border-radius:12px;overflow:hidden}.asr-animation-head{display:flex;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #34383e;font-size:14px}.asr-animation-head small{color:#7f8992;font-size:11px}.asr-animation-label{padding:22px 24px 0;font-size:12px;color:#aab69e}.asr-animation-stage{position:relative;min-height:230px;margin:16px 24px;display:flex;align-items:center}.asr-typing{font-size:18px;line-height:2;color:#a4adb5;overflow-wrap:anywhere;transition:opacity .35s,filter .35s,transform .5s}.asr-typing i{display:inline-block;height:19px;width:1px;background:#b7ff3c;vertical-align:middle;margin-left:3px;animation:asr-caret .8s steps(1) infinite}.asr-final{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:14px;pointer-events:none}.asr-final>div{display:flex;align-items:center;gap:14px;border-left:2px solid #b7ff3c;background:#b7ff3c09;padding:14px 16px;opacity:0;transform:translateY(18px);transition:opacity .55s,transform .55s;transition-delay:calc(var(--row)*.16s)}.asr-final small{font:10px monospace;color:#7f8992}.asr-final span{font-size:16px;line-height:1.8;color:#e9efdf}.asr-animation.transform .asr-typing,.asr-animation.done .asr-typing{opacity:0;filter:blur(4px);transform:translateY(-10px)}.asr-animation.done .asr-final>div{opacity:1;transform:translateY(0)}.asr-scan{position:absolute;inset:0;opacity:0;pointer-events:none;background:linear-gradient(transparent,#b7ff3c14,transparent)}.asr-animation.transform .asr-scan{animation:asr-scan .65s ease-in-out}.asr-animation-foot{display:flex;justify-content:space-between;align-items:center;padding:0 24px 22px;color:#7f8992;font-size:11px}.asr-animation-foot>div{display:flex;gap:8px}.asr-animation-foot button{width:18px;height:4px;border:0;padding:0;background:#46505a;border-radius:3px;cursor:pointer}.asr-animation-foot button[aria-pressed=true]{background:#b7ff3c}@keyframes asr-caret{50%{opacity:0}}@keyframes asr-scan{0%{opacity:0;transform:translateY(-40px)}50%{opacity:1}100%{opacity:0;transform:translateY(40px)}}@media(max-width:600px){.asr-animation-stage{margin-inline:16px}.asr-final span{font-size:14px}.asr-typing{font-size:16px}}@media(prefers-reduced-motion:reduce){.asr-animation *{animation:none!important;transition:none!important}}
.tts-web-demo .qwen-tts-modal{width:100%;max-height:none;box-shadow:none}.tts-web-demo .qwen-tts-heading{padding:16px 18px}.tts-web-demo .qwen-tts-heading h2{font-size:16px;letter-spacing:0}.tts-web-demo .qwen-tts-scroll{padding:14px}.tts-web-demo .qwen-tts-reference-row{grid-template-columns:14px 78px minmax(0,1fr)}.tts-web-demo .qwen-tts-reference-text{font-size:11px}.tts-demo-input{background:#171a1d;border:1px solid #525961;border-radius:3px;padding:10px;font-size:14px;color:#eef1f3}.tts-demo-generate,.tts-demo-versions>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;font-size:11px}.tts-demo-action{padding:6px 8px;border:1px solid #b7ff3c50;border-radius:4px;color:#caf18e;background:#b7ff3c12;font-size:11px}.tts-demo-empty{height:74px;display:grid;place-items:center;color:#77838b;font-size:11px}.tts-preview{color:#a0acb7}.tts-preview.active{color:#b7ff3c}.tts-web-demo progress{width:100%;height:3px;accent-color:#b7ff3c}.tts-web-demo input{accent-color:#b7ff3c;pointer-events:none}

.asr-animation-stage{min-height:370px;margin:28px 24px}.asr-animation.transform .asr-typing{opacity:1;filter:none;transform:none}.asr-typing{font-size:17px;line-height:2.1}.asr-change del{color:#e79ba0;text-decoration-thickness:1px;background:#ed7d8912}.asr-change ins{color:#cbf695;text-decoration:none;background:#b7ff3c18;margin:0 3px;animation:asr-insert .4s ease-out}.asr-final{gap:10px}.asr-final>div{padding:10px 12px;transition-delay:calc(var(--row)*.25s)}.asr-final span{font-size:15px}.asr-animation.done .asr-typing{opacity:0;filter:none}.asr-animation-foot{padding-top:4px}@keyframes asr-insert{from{opacity:0}to{opacity:1}}@media(max-width:600px){.asr-animation-stage{min-height:390px;margin:20px 16px}.asr-final span{font-size:13px}.asr-typing{font-size:15px}}

.asr-animation.transform .asr-typing{opacity:1;filter:none;transform:none}.asr-magic{width:100%;font-size:15px;line-height:2;color:#dce4d4}.asr-magic-row{display:inline}.asr-magic [data-asr-char]{display:inline-block;white-space:pre}.asr-magic.split .asr-magic-row{display:block;margin:10px 0;padding:10px 12px;border-left:2px solid #b7ff3c;background:#b7ff3c09}.asr-animation-stage{min-height:410px}@media(max-width:600px){.asr-magic{font-size:13px}.asr-animation-stage{min-height:450px}}

.fictional-model-note{float:right;color:#78838d}.demo-text-editor{overflow-wrap:anywhere}.website-correction-demo .demo-row-text{overflow-wrap:anywhere}
.review-section{padding:60px 0 70px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.review-heading{text-align:center;max-width:680px;margin:0 auto 32px}.review-heading h2{font-size:36px;line-height:1.4}.review-heading p{font-size:14px;color:var(--muted);line-height:1.9}.review-player{background:#202328;border:1px solid #3b4148;border-radius:10px;padding:22px 26px;overflow:hidden}.review-play-status{display:flex;justify-content:space-between;color:#b9df89;font-size:13px;margin-bottom:24px}.review-play-status time{color:#96a2ab;font:12px monospace}.review-ruler{display:flex;justify-content:space-between;font:10px monospace;color:#78838d;border-bottom:1px solid #3b4148;padding-bottom:9px}.review-tracks{position:relative;display:grid;grid-template-columns:25% 40% 35%;padding-top:16px}.review-caption{padding:10px;background:#b7ff3c12;border:1px solid #b7ff3c30;border-radius:3px;font-size:12px;color:#c5d5b4}.review-gap{display:grid;place-items:center;font-size:11px;color:#75808a}.review-wave{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;height:55px;overflow:hidden}.review-wave i{width:3px;flex-shrink:0;background:#59d8d260}.review-playhead{position:absolute;top:0;bottom:0;width:1px;background:#b7ff3c}.review-playhead:before{content:'';position:absolute;top:0;left:-4px;border:4px solid transparent;border-top-color:#b7ff3c}.review-features{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:28px}.review-features h3{font-size:17px}.review-features p{font-size:13px;color:var(--muted);line-height:1.8}@media(max-width:600px){.review-features{grid-template-columns:1fr;gap:10px}.review-heading h2{font-size:28px}.review-player{padding:16px 12px}.review-caption{font-size:10px}}

.formats-section{padding:70px 0;border-top:1px solid var(--line)}.formats-section>div:first-child{margin-bottom:32px}.formats-section p{color:var(--muted);font-size:14px;line-height:1.8}.format-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.format-grid article{padding:22px;background:#24282d;border:1px solid #383e45;border-radius:10px}.format-grid h3{font-size:17px;margin:0 0 12px}.home-download{display:grid;grid-template-columns:1fr 2fr;align-items:center;gap:32px;padding:40px;background:#202328;border:1px solid #383e45;border-radius:14px}.home-download>h2{font-size:30px;line-height:1.5}.home-download .download-card{padding:22px}.home-download .download-grid{gap:16px}.translation-magic{padding:22px;min-height:390px}.translation-magic-row{padding:14px 0;border-bottom:1px solid #34383e}.translation-magic time{display:block;font:10px monospace;color:#78838d;margin-bottom:8px}.translation-cn,.translation-en{display:block;font-size:14px;line-height:1.9}.translation-en{color:#b9ef7d;opacity:0;transition:opacity .6s}.translation-en.shown{opacity:1}.translation-magic [data-move]{display:inline-block;white-space:pre}.translation-magic.merged{display:grid;grid-template-columns:repeat(3,auto);align-content:center;gap:0}.translation-magic.merged .translation-magic-row{display:contents}.translation-magic.merged time{display:none}.translation-magic.merged .translation-cn{grid-row:1}.translation-magic.merged .translation-en{grid-row:2;margin-top:24px}.translation-magic.merged{display:block}.translation-magic.merged .translation-cn,.translation-magic.merged .translation-en{display:inline}.translation-magic.merged .translation-en{display:none}.translation-magic.merged:has(.shown){display:flex;flex-wrap:wrap}.translation-magic.merged .translation-cn{order:0}.translation-magic.merged .translation-en.shown{display:inline;order:1;margin-top:16px}@media(max-width:850px){.home-download{grid-template-columns:1fr}.format-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.home-download{padding:22px}.home-download .download-grid,.format-grid{grid-template-columns:1fr}}
.timeline-edit-player{margin-top:18px}.timeline-edit-player kbd{background:#30363c;border:1px solid #59636d;border-bottom-width:3px;border-radius:5px;padding:4px 12px;color:#eef1f3;font:12px sans-serif;min-width:60px;text-align:center}.timeline-edit-clips{display:flex;gap:0;padding-top:16px;overflow:hidden}.timeline-edit-first,.timeline-edit-second{padding:12px;background:#b7ff3c12;border:1px solid #b7ff3c55;border-radius:3px;font-size:13px;color:#c5d5b4;white-space:nowrap;overflow:hidden;transition:width .65s ease,opacity .4s,margin .65s;box-sizing:border-box}.timeline-edit-first{width:100%}.timeline-edit-second{width:0;opacity:0;padding-inline:0;border-width:0}.split .timeline-edit-first{width:50%}.split .timeline-edit-second{width:50%;opacity:1;padding-inline:12px;border-width:1px;margin-left:6px}@media(max-width:600px){.timeline-edit-first,.timeline-edit-second{font-size:10px;padding:10px 5px}.timeline-edit-player .review-play-status{font-size:11px}}

.asr-shatter{color:#f0959e;background:#ed7d8910}.asr-shatter>span{display:inline-block;animation:asr-shatter 1.45s both}.asr-typing [data-origin-start]>span{white-space:pre}@keyframes asr-shatter{0%,48%{opacity:1;transform:none;filter:none}75%{opacity:.65;clip-path:polygon(0 0,90% 8%,65% 48%,100% 75%,20% 100%,0 65%)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(18deg) scale(.35);filter:blur(2px);clip-path:polygon(20% 0,80% 20%,50% 60%,90% 90%,0 70%)}}

.asr-flip{display:inline-grid;perspective:500px;vertical-align:baseline}.asr-flip-old,.asr-flip-new{grid-area:1/1;backface-visibility:hidden;transform-origin:50% 50%;display:inline-block}.asr-flip-old{color:#f0959e;background:#ed7d8910;animation:asr-flip-out 1.3s both}.asr-flip-new{color:#cbf695;background:#b7ff3c12;animation:asr-flip-in 1.3s both}.asr-flip-new>span{display:inline-block}@keyframes asr-flip-out{0%,55%{transform:rotateX(0);opacity:1}100%{transform:rotateX(90deg);opacity:0}}@keyframes asr-flip-in{0%,55%{transform:rotateX(-90deg);opacity:0}100%{transform:rotateX(0);opacity:1}}

.boundary-player{margin-top:18px}.boundary-stage{position:relative;padding-top:16px}.boundary-clips{display:flex;height:48px}.boundary-clips>div{display:flex;align-items:center;padding:0 12px;box-sizing:border-box;overflow:hidden;white-space:nowrap;background:#b7ff3c12;border:1px solid #b7ff3c55;border-radius:3px;font-size:13px;color:#c5d5b4}.boundary-first{width:var(--boundary);transition:width 1.5s cubic-bezier(.4,0,.2,1)}.boundary-second{flex:1}.boundary-handle{position:absolute;top:16px;bottom:0;left:var(--boundary);width:2px;background:#b7ff3c;transition:left 1.5s cubic-bezier(.4,0,.2,1);z-index:2}.boundary-handle b{position:absolute;top:12px;left:-12px;width:26px;height:24px;text-align:center;border-radius:4px;background:#323c28;color:#b7ff3c;font-size:20px;line-height:24px}.boundary-handle i{position:absolute;top:0;width:0;height:0;border-top:7px solid #b7ff3c;border-left:5px solid transparent;border-right:5px solid transparent;left:-4px}.boundary-target{position:absolute;left:44%;top:16px;bottom:0;border-left:1px dashed #76836b;opacity:.55}.boundary-pointer{position:absolute;top:36px;left:calc(var(--boundary) + 8px);width:23px;height:27px;fill:#eef1f3;stroke:#202428;stroke-width:1;transition:left 1.5s cubic-bezier(.4,0,.2,1),opacity .3s;opacity:0;z-index:3}.dragging .boundary-pointer{opacity:1}.dragging .boundary-handle b{box-shadow:0 0 0 5px #b7ff3c18}@media(max-width:600px){.boundary-clips>div{font-size:10px;padding:0 5px}.boundary-player .review-play-status{font-size:11px}}@media(prefers-reduced-motion:reduce){.boundary-first,.boundary-handle,.boundary-pointer{transition:none}}

.asr-row-time{display:block;font:10px/1.6 monospace;color:#85919b;margin-bottom:3px;letter-spacing:.04em}.asr-magic.split .asr-magic-row{padding-block:8px}

.review-carousel-tabs{display:flex;justify-content:center;gap:8px;margin-bottom:16px;flex-wrap:wrap}.review-carousel-tabs button{font:inherit;font-size:13px;color:var(--muted);background:transparent;border:1px solid var(--line);border-radius:20px;padding:8px 16px;cursor:pointer}.review-carousel-tabs button[aria-pressed="true"]{color:#b7ff3c;border-color:#b7ff3c70;background:#b7ff3c0c}.review-carousel-tabs button:focus-visible{outline:2px solid #b7ff3c;outline-offset:3px}.review-carousel-stage{min-height:250px}.review-carousel-stage .review-player{min-height:230px;margin:0;box-sizing:border-box}.review-carousel .demo-controls{display:flex;justify-content:center;gap:20px}@media(max-width:600px){.review-carousel-stage{min-height:235px}.review-carousel-tabs button{padding:7px 10px;font-size:12px}}
.demo-controls button:has(.demo-replay-icon){display:inline-flex;align-items:center;gap:6px;color:#9bcfff;border-radius:5px;padding:6px 9px}.demo-controls button:has(.demo-replay-icon):hover{color:#c8e5ff;background:#69b5ff12}.demo-controls button:focus-visible{outline:2px solid #9bcfff;outline-offset:3px}.demo-replay-icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.website-timeline{--accent:#b7ff3c;display:grid;grid-template-columns:96px minmax(0,1fr);background:#202328;border:1px solid #34383e;border-radius:5px;min-width:0}.website-track-labels{display:grid;grid-template-rows:24px 42px 62px;border-right:1px solid #34383e;color:#a6afb7;font-size:11px}.website-track-labels span{display:flex;align-items:center;gap:7px;padding:0 10px;border-bottom:1px solid #30343a}.website-track-labels i{width:3px;height:18px;background:#b7ff3c;border-radius:2px}.website-timeline-content{min-width:0;position:relative}.website-timeline .ruler{height:24px}.website-track-demo{position:relative}.website-waveform{height:62px}.website-waveform .waveform-canvas{display:block;width:100%;height:100%}.website-edit-preview{position:absolute;inset:0 auto 0 0;pointer-events:none;padding:0 3px;box-sizing:border-box}.website-edit-preview .sentence-text-editor{display:flex;align-items:center;white-space:nowrap;overflow:hidden}.website-timeline .sentence-block,.website-timeline .sentence-shared-boundary{transition:left 1.2s ease,width 1.2s ease}.website-timeline .review-playhead{top:24px;pointer-events:none}
.tts-web-demo .qwen-tts-candidates article{grid-template-columns:minmax(0,1fr) auto;gap:10px}.tts-web-demo .qwen-tts-candidate-leading{grid-column:1/-1;grid-template-columns:1fr auto;column-gap:12px}.tts-web-demo .qwen-tts-candidate-meta{display:flex;align-items:baseline;gap:10px}.tts-web-demo .qwen-tts-audio-preview{width:100%;grid-column:auto}.tts-web-demo .accent-button{border:1px solid #b7ff3c;border-radius:5px;background:#b7ff3c;color:#171a18;font-size:11px;font-weight:700}.tts-web-demo .accent-button:disabled{opacity:.5}.tts-web-demo .qwen-tts-candidates{min-height:196px}.tts-web-demo .tts-demo-empty{height:196px}
@media(max-width:600px){.website-timeline{grid-template-columns:70px minmax(0,1fr)}.website-track-labels{font-size:9px}.website-track-labels span{padding:0 5px}.website-timeline .ruler{font-size:8px}.review-play-status{gap:12px;font-size:11px}.review-play-status time{white-space:nowrap}.tts-web-demo .qwen-tts-candidates article{padding:8px;gap:8px}.tts-web-demo .qwen-tts-candidates button.accent-button{padding:0 6px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.website-timeline *{transition:none!important}}
.home-download{grid-template-columns:minmax(0,1fr) auto}.home-download h2{font-size:30px;line-height:1.5;margin:0}.home-download p{color:var(--muted);font-size:14px;line-height:1.8;margin:14px 0 0}.home-download>.button{min-width:180px;gap:20px}@media(max-width:600px){.home-download{grid-template-columns:1fr;text-align:center}.home-download h2{font-size:26px}.home-download>.button{justify-self:center}}

@media(max-width:600px){.website-timeline{grid-template-columns:55px minmax(0,1fr)}.website-track-labels{grid-template-rows:24px 112px 62px}.website-timeline .sentence-track{height:112px}.website-timeline .sentence-block-copy{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.5;font-size:11px;align-items:flex-start;padding:8px 4px!important}.website-timeline .sentence-block.shared-start .sentence-block-copy{left:4px}.website-timeline .sentence-block.shared-end .sentence-block-copy,.website-timeline .sentence-block.internal-handles .sentence-block-copy{right:4px}.website-timeline .sentence-shared-triangle{top:84px}.website-timeline .website-edit-preview .sentence-text-editor{white-space:normal;overflow-wrap:anywhere;line-height:1.5;font-size:11px;padding:6px 3px}.website-timeline .ruler-labels{inset-inline:4px}}
@media(max-width:600px){.website-track-labels span{white-space:nowrap;font-size:8px;gap:3px}.website-track-labels i{flex-shrink:0;width:2px}}
.translation-stage{display:grid;min-width:0}.translation-stage>.translation-magic{grid-area:1/1;min-width:0}.translation-size-reference{visibility:hidden;pointer-events:none}.translation-animation{align-self:start}
@media(max-width:600px){.website-timeline .sentence-block.compact-block-text .sentence-block-copy,.website-timeline .sentence-block.compact-block-text:not(.shared-start) .sentence-block-copy{left:3px;right:3px}.website-timeline .ruler{font-size:9px}}
