.create-subtitle-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.create-subtitle-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--border-default);
  border-radius: 9px;
  color: var(--text-primary);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.create-subtitle-switch input {
  accent-color: #2ea876;
}

.create-subtitle-toolbar select {
  min-height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--border-default);
  border-radius: 9px;
  color: var(--text-primary);
  background: var(--bg-card);
  font: inherit;
  font-size: 13px;
}

.create-subtitle-editor {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(46, 168, 118, .18);
  border-radius: 10px;
  background: rgba(46, 168, 118, .045);
}

.create-subtitle-editor > span {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
}

.create-subtitle-preview-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #090d0b;
}

.create-subtitle-preview-stage .create-video-scene-player {
  display: block;
  width: 100%;
  height: 100%;
}

.create-subtitle-overlay {
  position: absolute;
  z-index: 2;
  left: 7%;
  right: 7%;
  pointer-events: none;
  color: #fff;
  font-size: clamp(15px, 1.8vw, 23px);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  white-space: pre-wrap;
  text-shadow: -1px -1px 0 #111, 1px -1px 0 #111, -1px 1px 0 #111,
    1px 1px 0 #111, 0 2px 5px rgba(0, 0, 0, .7);
}

.create-subtitle-overlay.bottom {
  bottom: 12%;
}

.create-subtitle-overlay.middle {
  top: 50%;
  transform: translateY(-50%);
}

.create-subtitle-overlay.yellow {
  color: #ffe800;
}

.create-subtitle-overlay.box {
  left: 10%;
  right: 10%;
  padding: 5px 9px;
  border-radius: 5px;
  background: rgba(0, 0, 0, .62);
  text-shadow: none;
}

@media (max-width: 760px) {
  .create-section-head {
    align-items: flex-start;
  }

  .create-subtitle-toolbar {
    width: 100%;
    justify-content: flex-start;
  }

  .create-subtitle-toolbar select {
    flex: 1;
    min-width: 96px;
  }
}
