/**
 * Online audio tools — page shell + shared tool UI.
 * Scope: .online-audio-page · Prefix: oa- (shell), oac- (audio-specific)
 */

.online-audio-page {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 40%, #f7fbff 100%);
  --oa-teal: #1794ff;
  --oa-teal-light: #9fd4ff;
  --oa-teal-dark: #0e7ad6;
  --oac-wave-bar-inactive: rgba(186, 198, 215, 0.72);
  --oac-wave-bar: rgba(186, 198, 215, 0.72);
  --oac-wave-bar-active: rgba(45, 230, 200, 0.98);
  --oac-wave-sel-bg: rgba(23, 148, 255, 0.14);
}

/* ===== In-page marketing (Why / Steps / CTA) ===== */
.online-audio-page .section-title {

  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: #0f172a;
  letter-spacing: -0.015em;

}

.online-audio-page .section-subtitle {

  font-size: 1.2rem;
  text-align: center;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto 4rem;
  line-height: 1.8;

}

.online-audio-page .feature-title {

  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: #0f172a;

}

.online-audio-page .feature-description {

  color: #64748b;
  line-height: 1.75;

}

.online-audio-page .hero-download-btn {

  background: linear-gradient(135deg, #1794ff, #3ca5ef);
  border: none;
  color: #ffffff;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(23, 148, 255, 0.3);
  transition: all 0.3s ease;

}

.online-audio-page .hero-download-btn:hover,
.online-audio-page .hero-download-btn:focus,
.online-audio-page .hero-download-btn:focus-visible {

  background: linear-gradient(135deg, #0e7ad6, #3ca5ef);
  color: #ffffff;
  border: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 148, 255, 0.4);

}

.online-audio-page .hero-download-btn:active {

  background: linear-gradient(135deg, #0e7ad6, #3ca5ef);
  color: #ffffff;
  border: none;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(23, 148, 255, 0.3);

}

/* Match online-video .ovc-browse-btn — override Bootstrap .btn vars on dropzone pickers */
.online-audio-page label.oa-browse-btn.btn,
.online-audio-page .oac-dropzone label.oa-browse-btn.btn {

  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: transparent;
  --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: 23, 148, 255;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

}

.online-audio-page .oac-dropzone .oa-browse-btn,
.online-audio-page .oac-dropzone.oac-dropzone-active .oa-browse-btn {

  background: linear-gradient(135deg, #1794ff, #3ca5ef);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 148, 255, 0.3);

}

.online-audio-page .oac-dropzone.oac-dropzone-active .oa-browse-btn:hover,
.online-audio-page .oac-dropzone.oac-dropzone-active .oa-browse-btn:focus-visible {

  background: linear-gradient(135deg, #0e7ad6, #3ca5ef);
  color: #ffffff;

}

.online-audio-page .ve-card {

  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  padding: 1.5rem;
  background: #fff;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;

}

.online-audio-page .ve-card:hover {

  transform: translateY(-4px);
  border-color: rgba(23, 148, 255, 0.55);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);

}

.online-audio-page .ve-icon {

  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #1794ff;
  background: rgba(23, 148, 255, 0.12);
  margin-bottom: 14px;

}

.online-audio-page .ve-card h3 {

  font-size: 1.25rem;
  margin-bottom: 10px;

}

.online-audio-page .ve-card p {

  color: #64748b;
  margin-bottom: 0;
  line-height: 1.75;

}

.online-audio-page .ve-tool-link-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.online-audio-page .ve-tool-link-card:hover,
.online-audio-page .ve-tool-link-card:focus-visible {
  color: inherit;
  text-decoration: none;
}

.online-audio-page .ve-tool-link-card h3 {
  color: #0f172a;
}

.online-audio-page .ve-step {

  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  background: #fff;
  padding: 1.4rem;
  height: 100%;
  text-align: center;

}

.online-audio-page .ve-step-badge {

  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(145deg, #1794ff, #9fd4ff);

}

.online-audio-page .ve-cta-box {

  border-radius: 18px;
  border: 1px solid rgba(23, 148, 255, 0.32);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background:
    radial-gradient(700px 240px at 0% 0%, rgba(23, 148, 255, 0.12), transparent 58%),
    #fff;

}

/* ===== Converter tool UI ===== */

.online-audio-page .oa-tool-section {

  padding: clamp(2.75rem, 5vw, 4rem) 0 3rem;
  position: relative;
  z-index: 2;

}

.online-audio-page .oa-intro {

  margin-bottom: 1.25rem;

}

.online-audio-page .oa-intro-title {

  font-size: clamp(1.65rem, 3.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;

}

.online-audio-page .oa-intro-desc {

  font-size: 0.98rem;
  color: #64748b;
  margin: 0 auto;
  max-width: 660px;
  line-height: 1.65;

}

.online-audio-page .oa-faq-list {

  display: flex;
  flex-direction: column;
  gap: 0.85rem;

}

.online-audio-page .oa-faq-item {

  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: #fff;
  padding: 1.1rem 1.25rem;

}

.online-audio-page .oa-faq-question {

  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
  line-height: 1.35;

}

.online-audio-page .oa-faq-answer {

  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
  line-height: 1.65;

}

.online-audio-page .oa-faq-answer a {
  color: #0b5cad;
  font-weight: 600;
  text-decoration: none;
}

.online-audio-page .oa-faq-answer a:hover,
.online-audio-page .oa-faq-answer a:focus-visible {
  color: var(--oa-teal, #1794ff);
  text-decoration: underline;
}

.online-audio-page .oa-dropzone-inner {

  width: 100%;

}

.online-audio-page .oa-dropzone-title {

  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.3rem;

}

.online-audio-page .oa-dropzone-hint {

  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1rem;

}

.online-audio-page .oa-dropzone-formats {

  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0.85rem 0 0;
  line-height: 1.5;

}

.online-audio-page .oa-browse-btn {

  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 0;

}

.online-audio-page label.oa-browse-btn, .online-audio-page label.oa-add-files-btn {

  cursor: pointer;

}

.online-audio-page .oa-file-input-hidden {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.online-audio-page .oa-settings {

  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 1.15rem 1.15rem 0.9rem;
  margin-bottom: 0.85rem;

}

.online-audio-page .oa-files-panel {

  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;

}

.online-audio-page .oa-files-panel .oa-file-list {
  padding: 0.85rem 1rem 1rem;
}

.online-audio-page .oa-files-panel .oa-file-item .oa-file-body > .d-flex {
  min-width: 0;
}

.online-audio-page .oa-files-panel .oa-file-item .oa-file-info {
  min-width: 0;
  flex: 1 1 auto;
}

.online-audio-page .oa-files-panel .oa-file-item .oa-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.online-audio-page .oa-files-panel .oa-file-item .oa-file-actions {
  flex-shrink: 0;
}

.online-audio-page .oa-files-toolbar {

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);

}

.online-audio-page .oa-action-link {

  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border: none;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--oa-teal);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  line-height: 1.2;

}

.online-audio-page .oa-action-link:hover, .online-audio-page .oa-action-link:focus {

  color: #0e7ad6;
  background: rgba(23, 148, 255, 0.1);

}

.online-audio-page .oa-action-link.oa-action-muted {

  color: #64748b;

}

.online-audio-page .oa-action-link.oa-action-muted:hover, .online-audio-page .oa-action-link.oa-action-muted:focus {

  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);

}

.online-audio-page .oa-action-link.oa-is-disabled, .online-audio-page .oa-action-link:disabled, .online-audio-page button.oa-clear-btn:disabled {

  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;

}

.online-audio-page .oa-settings-locked .oa-select-shell .oa-select,
.online-audio-page .oa-settings-locked .oa-select {

  pointer-events: none;

}

.online-audio-page .oa-settings-locked .oa-select-shell .oa-select:disabled, .online-audio-page .oa-settings-locked .oa-select:disabled {

  background-color: #eef2f6;
  color: #64748b;
  cursor: not-allowed;
  opacity: 1;
  border-color: rgba(148, 163, 184, 0.35);

}

.online-audio-page .oa-label {

  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;

}

/* Settings dropdowns — native select + custom format trigger share one look */
.online-audio-page .oa-select-shell, .online-audio-page .oa-custom-select {

  position: relative;

}

.online-audio-page .oa-select-shell .oa-select,
.online-audio-page .oa-custom-select-trigger {

  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 10px;
  background: #fff;
  font-size: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;

}

.online-audio-page .oa-select-shell .oa-select {

  display: block;
  padding: 0.5rem 2.15rem 0.5rem 0.75rem;
  color: #0f172a;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 14px;

}

.online-audio-page .oa-select-shell .oa-select:hover:not(:disabled),
.online-audio-page .oa-custom-select-trigger:hover:not(:disabled) {

  border-color: rgba(23, 148, 255, 0.55);

}

.online-audio-page .oa-select-shell .oa-select:focus,
.online-audio-page .oa-custom-select.is-open .oa-custom-select-trigger,
.online-audio-page .oa-custom-select-trigger:focus-visible {

  border-color: var(--oa-teal);
  box-shadow: 0 0 0 3px rgba(23, 148, 255, 0.18);
  outline: none;

}

.online-audio-page .oa-select-shell .oa-select option {

  color: #0f172a;
  background: #fff;

}

.online-audio-page .oac-sidebar .oa-select-shell .oa-select {

  background-color: #f8fafc;

}

.online-audio-page .oac-sidebar .oa-select-shell .oa-select:hover:not(:disabled) {

  background-color: #fff;

}

.online-audio-page .oa-file-list {

  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 148, 255, 0.45) transparent;

}

.online-audio-page .oa-file-list::-webkit-scrollbar {

  width: 6px;

}

.online-audio-page .oa-file-list::-webkit-scrollbar-thumb {

  background: rgba(23, 148, 255, 0.45);
  border-radius: 3px;

}

.online-audio-page .oa-file-item {

  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;

}

.online-audio-page .oa-file-item:hover {

  border-color: rgba(23, 148, 255, 0.4);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);

}

.online-audio-page .oa-file-item > .oa-file-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(23, 148, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oa-teal);
  font-size: 1.15rem;
}

.online-audio-page .oa-file-body {

  flex: 1;
  min-width: 0;

}

.online-audio-page .oa-file-name {

  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;

}

.online-audio-page .oa-file-meta {

  font-size: 0.8rem;

}

.online-audio-page .oa-btn-remove {

  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border-color: rgba(148, 163, 184, 0.45);
  color: #64748b;

}

.online-audio-page .oa-btn-remove:hover:not(:disabled) {

  border-color: #fca5a5;
  color: #dc2626;
  background: #fef2f2;

}

.online-audio-page .oa-btn-remove:disabled {

  opacity: 0.45;
  cursor: not-allowed;

}

.online-audio-page .oa-file-actions {

  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;

}

.online-audio-page .oa-btn-download {

  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1.25;

}

.online-audio-page .oa-convert-bar {

  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);

}

.online-audio-page .oa-file-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.online-audio-page .oa-file-progress-pct {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #334155;
}

.online-audio-page .oa-file-progress {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.online-audio-page .oa-file-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #1794ff, #3ca5ef);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.online-audio-page .oa-file-progress-wrap {
  margin-top: 0.6rem;
}

.online-audio-page .oa-file-progress-note {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}

.online-audio-page .oa-file-progress-indeterminate {
  overflow: hidden;
}

.online-audio-page .oa-file-progress-indeterminate .oa-file-progress-bar {
  width: 40% !important;
  transition: none;
  animation: oa-progress-indeterminate 1.4s ease-in-out infinite;
}

@keyframes oa-progress-indeterminate {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.online-audio-page .oa-file-actions .oa-status-active {
  color: var(--oa-teal) !important;
}

.online-audio-page .oa-status-spin-wrap,
.online-audio-page .oa-status-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.online-audio-page .oa-status-spin-wrap .oa-spin {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  font-size: 1.15rem;
  line-height: 1;
  transform-origin: 50% 50%;
  will-change: transform;
}

.online-audio-page .oa-status-icon-wrap i {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
}

.online-audio-page .oac-export-progress-host {
  min-height: 2.85rem;
}

.online-audio-page .oac-export-file-item .oa-file-progress-wrap {
  margin-top: 0.6rem;
}

.online-audio-page .oac-export-file-item .oa-file-progress-bar {
  transition: width 0.35s ease;
}

.online-audio-page .oa-convert-actions {
  flex-shrink: 0;
  width: 100%;
}

.online-audio-page .oa-convert-btn {
  border-radius: 10px;
  min-width: 180px;
}

.online-audio-page .oa-convert-btn:disabled {
  opacity: 0.72;
  transform: none;
  box-shadow: 0 2px 8px rgba(23, 148, 255, 0.18);
}

.online-audio-page .oa-stop-btn {
  border: none;
  border-radius: 10px;
  min-width: 130px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f87171);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.online-audio-page .oa-stop-btn:hover,
.online-audio-page .oa-stop-btn:focus {
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

.online-audio-page .oa-stop-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.online-audio-page .oa-cancel-btn {
  border: 1px solid rgba(148, 163, 184, 0.65);
  border-radius: 10px;
  min-width: 120px;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: #475569;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.online-audio-page .oa-cancel-btn:hover,
.online-audio-page .oa-cancel-btn:focus {
  color: #334155;
  background: #f8fafc;
  border-color: rgba(100, 116, 139, 0.85);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transform: none;
}

.online-audio-page .oa-cancel-btn:active {
  color: #1e293b;
  background: #f1f5f9;
  border-color: rgba(71, 85, 105, 0.9);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.online-audio-page .oac-export-actions--busy {
  justify-content: flex-end !important;
}

.online-audio-page .oamr-export-actions--busy {
  justify-content: flex-end !important;
}

.online-audio-page .oacon-export-actions--busy {
  justify-content: flex-end !important;
}

.online-audio-page .oasp-export-actions--busy {
  justify-content: flex-end !important;
}

.online-audio-page .oapc-export-actions--busy {
  justify-content: flex-end !important;
}

.online-audio-page .oavol-export-actions--busy {
  justify-content: flex-end !important;
}

.online-audio-page .oabgm-export-actions--busy {
  justify-content: flex-end !important;
}

.online-audio-page .oa-spin {
  animation: oaSpin 0.9s linear infinite;
  display: inline-block;
}

@keyframes oaSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.online-audio-page .oa-files-panel-locked .oa-files-toolbar {
  opacity: 0.85;
}

.online-audio-page .oac-dropzone-locked {
  pointer-events: none;
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 575.98px) {
  .online-audio-page .oa-convert-actions {
    flex-direction: column;
  }

  .online-audio-page .oa-convert-btn,
  .online-audio-page .oa-stop-btn {
    width: 100%;
    min-width: 0;
  }

  .online-audio-page .oac-export-actions--busy {
    align-items: flex-end;
  }

  .online-audio-page .oamr-export-actions--busy {
    align-items: flex-end;
  }

  .online-audio-page .oacon-export-actions--busy {
    align-items: flex-end;
  }

  .online-audio-page .oasp-export-actions--busy {
    align-items: flex-end;
  }

  .online-audio-page .oapc-export-actions--busy {
    align-items: flex-end;
  }

  .online-audio-page .oavol-export-actions--busy {
    align-items: flex-end;
  }

  .online-audio-page .oabgm-export-actions--busy {
    align-items: flex-end;
  }

  .online-audio-page .oa-cancel-btn {
    width: auto;
    min-width: 120px;
  }
}

.online-audio-page .oa-desktop-cta {
  margin-top: 1.1rem;
}

.online-audio-page .oa-desktop-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 1.15rem;
  border-radius: 10px;
  border: 1.5px solid #0b5cad;
  background: transparent;
  color: #0b5cad;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.online-audio-page .oa-desktop-download-btn:hover,
.online-audio-page .oa-desktop-download-btn:focus {
  background: rgba(23, 148, 255, 0.08);
  color: #0b5cad;
  border-color: #1794ff;
}

.online-audio-page .oa-disclaimer {

  font-size: 0.85rem;
  color: #64748b;
  margin-top: 1.25rem;
  line-height: 1.65;

}

.online-audio-page .oa-desktop-cta + .oa-disclaimer {
  margin-top: 0.7rem;
}

.online-audio-page .oa-disclaimer a {
  color: #0b5cad;
  font-weight: 600;
  text-decoration: none;
}

.online-audio-page .oa-disclaimer a:hover {
  color: var(--oa-teal);
  text-decoration: underline;
}

.online-audio-page .oa-cta {

  max-width: 760px;
  margin: 0 auto;

}

.oa-toast {

  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1080;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  max-width: min(90vw, 420px);
  text-align: center;
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;

}

.oa-toast.show {

  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  background: #0f172a;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);

}

.oa-toast.show.oa-toast-success {

  background: linear-gradient(135deg, #059669, #10b981);

}

.oa-toast.show.oa-toast-error {

  background: linear-gradient(135deg, #dc2626, #ef4444);

}

.oa-toast.show.oa-toast-info {

  background: linear-gradient(135deg, #0b5cad, #1794ff);

}

@media (max-width: 991.98px) {
  .online-audio-page .oa-tool-section {
    padding-top: 2.25rem;
  }

  .online-audio-page .section-title {
    font-size: 2.2rem;
  }

  .online-audio-page .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 575.98px) {
  .online-audio-page .oac-editor-card {
    padding: 0.85rem;
    border-radius: 14px;
  }

  .online-audio-page .oac-dropzone {
    padding: 1.5rem 1rem 1.25rem;
    min-height: 200px;
  }

  .online-audio-page .oa-intro {
    margin-bottom: 1rem;
  }
}

/**
 * Online audio tools — audio-specific UI (waveform, trim, dropzone, etc.)
 */

.online-audio-page .oac-editor-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 1.25rem;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.07);
}

.online-audio-page .oac-dropzone {
  border: 2px dashed rgba(148, 163, 184, 0.55);
  border-radius: 16px;
  padding: 2.25rem 1.25rem 1.85rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  background: #fafcfd;
  outline: none;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.online-audio-page .oac-dropzone:hover,
.online-audio-page .oac-dropzone:focus-visible {
  border-color: rgba(23, 148, 255, 0.65);
  background: #f0fdfa;
}

.online-audio-page .oac-dropzone.oac-dropzone-active {
  border-color: var(--oa-teal, #1794ff);
  border-style: solid;
  background: rgba(23, 148, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(23, 148, 255, 0.12);
}

.online-audio-page .oac-dropzone-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: var(--oa-teal, #1794ff);
  background: linear-gradient(145deg, rgba(23, 148, 255, 0.18), rgba(23, 148, 255, 0.06));
  box-shadow: 0 8px 24px rgba(23, 148, 255, 0.2);
}

.online-audio-page .oac-media-stage {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #0f172a;
  overflow: hidden;
}

.online-audio-page .oac-media-stage.oac-is-exporting .oac-player-bar,
.online-audio-page .oac-media-stage.oac-is-exporting .oac-timeline {
  pointer-events: none;
  opacity: 0.55;
}

.online-audio-page .oac-media-stage.oac-is-exporting::after {
  content: "Exporting…";
  position: absolute;
  inset: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  pointer-events: auto;
  cursor: not-allowed;
}

.online-audio-page .oac-audio-hidden {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.online-audio-page .oac-player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.7rem 0.85rem;
  background: #1e293b;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.online-audio-page .oac-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: none;
  background: var(--oa-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.online-audio-page .oac-play-btn:hover {
  background: var(--oa-teal-dark);
}

.online-audio-page .oac-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  min-width: 6.75rem;
  flex-shrink: 0;
}

.online-audio-page .oac-time-sep {
  color: #94a3b8;
  margin: 0 0.2rem;
}

.online-audio-page .oac-seek-wrap {
  flex: 1;
  min-width: 120px;
}

.online-audio-page .oac-volume-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.online-audio-page .oac-volume-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border-radius: 4px;
}

.online-audio-page .oac-volume-btn:hover {
  background: rgba(148, 163, 184, 0.15);
}

.online-audio-page .oac-range-track {
  position: relative;
  height: 6px;
  display: flex;
  align-items: center;
}

.online-audio-page .oac-range-track--volume {
  width: 72px;
}

.online-audio-page .oac-range {
  width: 100%;
  height: 6px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.online-audio-page .oac-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    var(--oa-teal) var(--oac-range-pct, 0%),
    rgba(148, 163, 184, 0.45) var(--oac-range-pct, 0%),
    rgba(148, 163, 184, 0.45) 100%
  );
}

.online-audio-page .oac-range::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -4px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--oa-teal);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.online-audio-page .oac-range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.45);
}

.online-audio-page .oac-range::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--oa-teal);
}

.online-audio-page .oac-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--oa-teal);
}

/* Settings quality/volume slider row (matches image compressor pattern) */
.online-audio-page .oa-quality-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
}

.online-audio-page .oa-quality-row .oac-range {
  flex: 1;
  min-width: 0;
  width: auto;
  max-width: none;
}

.online-audio-page .oa-quality-value {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--oa-teal);
  background: rgba(23, 148, 255, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  min-width: 3rem;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.online-audio-page .oa-settings-locked .oa-quality-row {
  opacity: 0.65;
}

.online-audio-page .oa-settings-locked .oa-quality-value {
  color: #64748b;
  background: rgba(148, 163, 184, 0.15);
}

/* BGM mixer — track summary + export progress */
.online-audio-page .oabgm-tracks-panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.online-audio-page .oabgm-track-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background: #fff;
}

.online-audio-page .oabgm-track-item > .oa-file-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(23, 148, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oa-teal);
  font-size: 1.15rem;
}

.online-audio-page .oabgm-track-label {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.online-audio-page .oabgm-track-name {
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

.online-audio-page .oa-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  min-height: 42px;
  padding: 0.35rem 0;
  cursor: pointer;
  user-select: none;
}

.online-audio-page .oa-switch-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.online-audio-page .oa-switch-track {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
  transition: background 0.2s ease;
}

.online-audio-page .oa-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease;
}

.online-audio-page .oa-switch-input:checked + .oa-switch-track {
  background: var(--oa-teal);
}

.online-audio-page .oa-switch-input:checked + .oa-switch-track .oa-switch-thumb {
  transform: translateX(18px);
}

.online-audio-page .oa-switch-input:focus-visible + .oa-switch-track {
  box-shadow: 0 0 0 3px rgba(23, 148, 255, 0.28);
}

.online-audio-page .oa-switch-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}

.online-audio-page .oa-settings-locked .oa-switch {
  opacity: 0.65;
  pointer-events: none;
  cursor: default;
}

.online-audio-page .oac-export-progress-bar--indeterminate {
  overflow: hidden;
}

.online-audio-page .oac-export-progress-bar--indeterminate .oac-export-progress-fill {
  width: 40% !important;
  transition: none;
  animation: oa-progress-indeterminate 1.4s ease-in-out infinite;
}

/* Waveform timeline — above transport bar (visual first, controls below) */
.online-audio-page .oac-timeline {
  background: #0f172a;
  padding: 0.85rem 0.75rem 0.65rem;
}

.online-audio-page .oac-timeline-inner {
  position: relative;
  padding: 0 5px 8px;
  overflow: visible;
}

.online-audio-page .oac-rail {
  position: relative;
  height: 72px;
  margin-top: 20px;
}

.online-audio-page .oac-wave-wrap {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #172033 0%, #1e293b 48%, #172033 100%);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.online-audio-page .oac-wave-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.online-audio-page .oac-wave-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.85);
  z-index: 1;
}

.online-audio-page .oac-trim-track {
  position: absolute;
  inset: 0;
  background: transparent;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  z-index: 2;
}

.online-audio-page .oac-trim-shade {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.38);
  pointer-events: none;
  z-index: 2;
  transition: width 0.05s linear;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.22);
}

.online-audio-page .oac-trim-track--dragging .oac-trim-shade {
  transition: none;
  background: rgba(15, 23, 42, 0.48);
}

.online-audio-page .oac-trim-shade--left {
  left: 0;
}

.online-audio-page .oac-trim-shade--right {
  right: 0;
}

.online-audio-page .oac-trim-range {
  position: absolute;
  top: 0;
  bottom: 0;
  background: transparent;
  cursor: grab;
  z-index: 3;
  box-sizing: border-box;
  transition: left 0.05s linear, width 0.05s linear;
  overflow: visible;
}

.online-audio-page .oac-trim-range::before,
.online-audio-page .oac-trim-range::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--oa-teal);
  pointer-events: none;
  z-index: 2;
}

.online-audio-page .oac-trim-range::before {
  top: 0;
}

.online-audio-page .oac-trim-range::after {
  bottom: 0;
}

.online-audio-page .oac-trim-track--dragging .oac-trim-range {
  transition: none;
}

.online-audio-page .oac-trim-range:active {
  cursor: grabbing;
}

.online-audio-page .oac-trim-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  padding: 0;
  border: none;
  background: var(--oa-teal);
  border-radius: 3px;
  cursor: ew-resize;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.online-audio-page .oac-trim-handle--in {
  left: -5px;
}

.online-audio-page .oac-trim-handle--out {
  right: -5px;
  left: auto;
}

.online-audio-page .oac-trim-handle-grip {
  display: block;
  width: 2px;
  height: 22px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.online-audio-page .oac-trim-handle:hover {
  background: var(--oa-teal-dark);
}

.online-audio-page .oac-trim-track--dragging .oac-trim-handle {
  background: var(--oa-teal-dark);
}

.online-audio-page .oac-trim-track--dragging .oac-trim-range::before,
.online-audio-page .oac-trim-track--dragging .oac-trim-range::after {
  background: var(--oa-teal-dark);
}

.online-audio-page .oac-playhead {
  position: absolute;
  top: -14px;
  bottom: -6px;
  left: 0;
  width: 10px;
  margin-left: -5px;
  pointer-events: none;
  z-index: 6;
}

.online-audio-page .oac-playhead-svg {
  display: block;
  width: 10px;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.online-audio-page .oac-playhead-knob,
.online-audio-page .oac-playhead-line {
  fill: #fff;
}

.online-audio-page .oac-trim-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: #94a3b8;
}

.online-audio-page .oac-trim-time {
  font-weight: 700;
  color: #e2e8f0;
  min-width: 3.25rem;
}

.online-audio-page .oac-trim-hint {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.online-audio-page .oac-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  min-width: 0;
}

.online-audio-page .oac-toolbar-top .oa-action-link {
  flex-shrink: 0;
}

.online-audio-page .oac-filename {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
}

.online-audio-page .oac-sidebar {
  margin-top: 1.15rem;
}

.online-audio-page .oac-sidebar.oa-settings-locked .oa-label {
  opacity: 0.55;
}

.online-audio-page .oac-sidebar.oa-settings-locked .oa-select-shell .oa-select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.online-audio-page .oac-sidebar.oa-settings-locked .oac-selection-input:disabled,
.online-audio-page .oac-sidebar.oa-settings-locked .oac-selection-step:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.online-audio-page .oac-selection {
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.online-audio-page .oac-sidebar-format {
  margin-bottom: 0;
}

.online-audio-page .oac-selection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.65rem 0.75rem;
  align-items: end;
}

.online-audio-page .oac-selection-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.online-audio-page .oac-selection-field--duration {
  align-items: center;
  text-align: center;
  padding: 0 0.15rem;
}

.online-audio-page .oac-selection-field--end {
  align-items: flex-end;
}

.online-audio-page .oac-selection-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #64748b;
}

.online-audio-page .oac-selection-duration {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--oa-teal);
  line-height: 1.2;
  white-space: nowrap;
}

.online-audio-page .oac-selection-stepper {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 11.5rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #fff;
  overflow: hidden;
}

.online-audio-page .oac-selection-field--end .oac-selection-stepper {
  margin-left: auto;
}

.online-audio-page .oac-selection-step {
  flex: 0 0 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.online-audio-page .oac-selection-step:hover:not(:disabled) {
  background: rgba(23, 148, 255, 0.14);
  color: #0b5cad;
}

.online-audio-page .oac-selection-step:focus-visible {
  outline: 2px solid rgba(23, 148, 255, 0.55);
  outline-offset: -2px;
  z-index: 1;
}

.online-audio-page .oac-selection-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 4.8rem;
  padding: 0.42rem 0.35rem;
  border: none;
  border-left: 1px solid rgba(148, 163, 184, 0.28);
  border-right: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: #0f172a;
}

.online-audio-page .oac-selection-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(23, 148, 255, 0.35);
}

.online-audio-page .oac-selection-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.online-audio-page .oa-convert-bar .oac-export-slot {
  margin-top: 0;
  margin-bottom: 1rem;
}

.online-audio-page .oac-export-bar {
  margin-top: 1rem;
}

.online-audio-page .oac-export-slot {
  margin-top: 1.15rem;
}

.online-audio-page .oac-export-slot-locked {
  pointer-events: none;
  opacity: 0.92;
}

.online-audio-page .oac-export-slot .oac-export-file-item .oa-file-body > .d-flex {
  min-width: 0;
}

.online-audio-page .oac-export-slot .oac-export-file-item .oa-file-info {
  min-width: 0;
  flex: 1 1 auto;
}

.online-audio-page .oac-export-slot .oac-export-file-item .oa-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.online-audio-page .oac-export-slot .oac-export-file-item .oa-file-actions {
  flex-shrink: 0;
}

.online-audio-page .oac-export-progress {
  margin-bottom: 0.75rem;
}

.online-audio-page .oac-export-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.online-audio-page .oac-export-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

.online-audio-page .oac-export-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--oa-teal);
  transition: width 0.2s ease;
}

@media (max-width: 767.98px) {
  .online-audio-page .oac-selection-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "start end"
      "duration duration";
    gap: 0.65rem 0.75rem;
    align-items: end;
  }

  .online-audio-page .oac-selection-grid > .oac-selection-field:first-child {
    grid-area: start;
  }

  .online-audio-page .oac-selection-field--duration {
    grid-area: duration;
    justify-self: center;
    align-items: center;
    text-align: center;
    padding: 0.15rem 0 0;
  }

  .online-audio-page .oac-selection-field--end {
    grid-area: end;
    align-items: stretch;
    text-align: left;
  }

  .online-audio-page .oac-selection-field .oac-selection-stepper {
    max-width: none;
    width: 100%;
  }

  .online-audio-page .oac-selection-field--end .oac-selection-stepper {
    margin-left: 0;
  }

  .online-audio-page .oac-export-slot .oac-export-file-item {
    align-items: flex-start;
  }

  .online-audio-page .oac-export-slot .oac-export-file-item > .oa-file-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .online-audio-page .oac-export-slot .oac-export-file-item .oa-file-body > .d-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .online-audio-page .oac-export-slot .oac-export-file-item .oa-file-info {
    width: 100%;
    min-width: 0;
  }

  .online-audio-page .oac-export-slot .oac-export-file-item .oa-file-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 0.45rem;
    min-height: 1.25rem;
  }

  .online-audio-page .oac-export-slot .oac-export-file-item .oa-btn-download {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
  }

  .online-audio-page .oac-export-slot .oac-export-file-item .oa-btn-remove {
    flex-shrink: 0;
  }

  .online-audio-page .oa-files-panel .oa-file-item {
    align-items: flex-start;
  }

  .online-audio-page .oa-files-panel .oa-file-item > .oa-file-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .online-audio-page .oa-files-panel .oa-file-item .oa-file-body > .d-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .online-audio-page .oa-files-panel .oa-file-item .oa-file-info {
    width: 100%;
    min-width: 0;
  }

  .online-audio-page .oa-files-panel .oa-file-item .oa-file-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 0.45rem;
    min-height: 1.25rem;
  }

  .online-audio-page .oa-files-panel .oa-file-item .oa-btn-download {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
  }

  .online-audio-page .oa-files-panel .oa-file-item .oa-btn-remove {
    flex-shrink: 0;
  }
}

@media (max-width: 575.98px) {
  .online-audio-page .oac-volume-wrap {
    display: none;
  }

  .online-audio-page .oac-trim-hint {
    display: none;
  }
}

.online-audio-page .oac-merge-order {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: 0.5rem;
}

.online-audio-page .oac-order-btn {
  width: 24px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 4px;
  background: #fff;
  color: #64748b;
  line-height: 1;
  cursor: pointer;
}

.online-audio-page .oac-order-btn:hover:not(:disabled) {
  border-color: var(--oa-teal);
  color: var(--oa-teal);
}

.online-audio-page .oac-order-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.online-audio-page .oac-cover-preview {
  max-height: 220px;
  object-fit: contain;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Dual file pick cards (cover, BGM, etc.) */
.online-audio-page .oac-dual-pick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 767.98px) {
  .online-audio-page .oac-dual-pick {
    grid-template-columns: 1fr;
  }
}

.online-audio-page .oac-pick-card {
  position: relative;
  border: 2px dashed rgba(148, 163, 184, 0.55);
  border-radius: 16px;
  padding: 1.75rem 1.25rem 1.35rem;
  text-align: center;
  cursor: pointer;
  background: #fafcfd;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  min-height: 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.online-audio-page .oac-pick-card:hover,
.online-audio-page .oac-pick-card:focus-visible {
  border-color: rgba(23, 148, 255, 0.65);
  background: #f0fdfa;
}

.online-audio-page .oac-pick-card--active {
  border-color: var(--oa-teal);
  border-style: solid;
  background: rgba(23, 148, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(23, 148, 255, 0.12);
}

.online-audio-page .oac-pick-card--done {
  border-color: rgba(23, 148, 255, 0.45);
  border-style: solid;
  background: #f0fdfa;
}

.online-audio-page .oac-pick-card--locked {
  pointer-events: none;
  opacity: 0.65;
}

.online-audio-page .oac-pick-card--done .oac-pick-icon {
  color: var(--oa-teal);
  background: linear-gradient(145deg, rgba(23, 148, 255, 0.22), rgba(23, 148, 255, 0.08));
}

.online-audio-page .oac-pick-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: var(--oa-teal);
  background: linear-gradient(145deg, rgba(23, 148, 255, 0.18), rgba(23, 148, 255, 0.06));
  box-shadow: 0 8px 24px rgba(23, 148, 255, 0.18);
}

.online-audio-page .oac-pick-icon--image {
  font-size: 1.5rem;
}

.online-audio-page .oac-pick-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.online-audio-page .oac-pick-hint {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0 0 0.65rem;
}

.online-audio-page .oac-pick-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.5rem;
}

.online-audio-page .oacvr-editor-panel {
  min-width: 0;
}

.online-audio-page .oacvr-file-line {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.online-audio-page .oacvr-file-label {
  flex-shrink: 0;
  font-weight: 700;
  color: #0f172a;
}

.online-audio-page .oacvr-file-name {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #334155;
}

.online-audio-page .oac-pick-card--done .oac-pick-name {
  color: var(--oa-teal-dark);
}

.online-audio-page .oac-pick-card label.oa-browse-btn {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.online-audio-page .oac-pick-formats {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0.75rem 0 0;
  line-height: 1.45;
}

/**
 * FFmpeg batch tools — dropzone card (audio extractor, video-to-mp3-style pages)
 */
.online-audio-page .oa-dropzone {
  border: 2px dashed rgba(148, 163, 184, 0.55);
  border-radius: 16px;
  padding: 2.25rem 1.25rem 1.85rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  background: #fafcfd;
  outline: none;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.online-audio-page .oa-dropzone:hover,
.online-audio-page .oa-dropzone:focus-visible {
  border-color: rgba(23, 148, 255, 0.65);
  background: #f0fdfa;
}

.online-audio-page .oa-dropzone.oa-dropzone-active {
  border-color: var(--oa-teal, #1794ff);
  border-style: solid;
  background: rgba(23, 148, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(23, 148, 255, 0.12);
}

.online-audio-page .oa-dropzone-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: var(--oa-teal, #1794ff);
  background: linear-gradient(145deg, rgba(23, 148, 255, 0.18), rgba(23, 148, 255, 0.06));
  box-shadow: 0 8px 24px rgba(23, 148, 255, 0.2);
}

.online-audio-page .oa-dropzone-locked {
  pointer-events: none;
  opacity: 0.65;
  cursor: not-allowed;
}

.online-audio-page .oa-add-files-btn {
  font-size: 0.9rem;
}

.online-audio-page .oa-files-count {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.online-audio-page .oa-files-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.online-audio-page .oa-engine-progress {
  height: 3px;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.online-audio-page .oa-engine-progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--oa-teal, #1794ff), #3ca5ef);
  transition: width 0.25s ease;
}

.online-audio-page .oa-engine-hint {
  margin-bottom: 0.35rem;
  line-height: 1.35;
  font-size: 0.8rem;
  color: #94a3b8;
}

.online-audio-page .oa-export-actions--busy {
  justify-content: flex-end !important;
}

.online-audio-page .oa-format-card .feature-title {
  margin-bottom: 0.65rem;
}

/**
 * Online Voice Recorder — page-specific UI
 * Scope: .online-audio-page.online-voice-recorder-page
 */
.online-audio-page.online-voice-recorder-page {
  --ovvr-teal: #1794ff;
  --ovvr-red: #ef4444;
}

.online-audio-page.online-voice-recorder-page .ovvr-support-banner {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #b91c1c;
  font-size: 0.88rem;
}

.online-audio-page.online-voice-recorder-page .ovvr-tool-card {
  padding: 1.25rem 1.25rem 1.5rem;
}

.online-audio-page.online-voice-recorder-page .ovvr-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.online-audio-page.online-voice-recorder-page .ovvr-settings-grid .ovvr-span-2 {
  grid-column: 1 / -1;
}

.online-audio-page.online-voice-recorder-page .ovvr-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: #fff;
  min-height: 100%;
}

.online-audio-page.online-voice-recorder-page .ovvr-toggle-row input {
  margin-top: 0.2rem;
  accent-color: var(--ovvr-teal);
}

.online-audio-page.online-voice-recorder-page .ovvr-toggle-row.ovvr-option-disabled {
  opacity: 0.55;
}

.online-audio-page.online-voice-recorder-page .ovvr-toggle-row.ovvr-option-disabled input {
  cursor: not-allowed;
}

.online-audio-page.online-voice-recorder-page .ovvr-toggle-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.online-audio-page.online-voice-recorder-page .ovvr-toggle-hint {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.online-audio-page.online-voice-recorder-page .ovvr-start-wrap {
  text-align: center;
  padding-top: 0.5rem;
}

.online-audio-page.online-voice-recorder-page .ovvr-start-btn {
  min-width: min(100%, 320px);
}

.online-audio-page.online-voice-recorder-page .ovvr-start-hint {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.75rem 0 0;
}

.online-audio-page.online-voice-recorder-page .ovvr-live-stage {
  text-align: center;
}

.online-audio-page.online-voice-recorder-page .ovvr-meter-wrap {
  position: relative;
  max-width: 420px;
  margin: 0 auto 1rem;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.online-audio-page.online-voice-recorder-page .ovvr-mic-icon {
  font-size: 2.5rem;
  color: var(--ovvr-teal);
  margin-bottom: 0.75rem;
}

.online-audio-page.online-voice-recorder-page .ovvr-meter-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
}

.online-audio-page.online-voice-recorder-page .ovvr-meter-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ovvr-teal), #22d3ee);
  transition: width 0.08s linear;
}

.online-audio-page.online-voice-recorder-page .ovvr-rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.online-audio-page.online-voice-recorder-page .ovvr-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ovvr-red);
  animation: ovvr-pulse 1.2s ease-in-out infinite;
}

body.ovvr-phase-paused .online-audio-page.online-voice-recorder-page .ovvr-rec-dot {
  animation: none;
  background: #94a3b8;
}

@keyframes ovvr-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.online-audio-page.online-voice-recorder-page .ovvr-countdown {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 800;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
}

.online-audio-page.online-voice-recorder-page .ovvr-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.online-audio-page.online-voice-recorder-page .ovvr-stop-btn {
  background: var(--ovvr-red);
  border-color: var(--ovvr-red);
  color: #fff;
}

.online-audio-page.online-voice-recorder-page .ovvr-stop-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.online-audio-page.online-voice-recorder-page .ovvr-kbd-hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #64748b;
  text-align: center;
}

.online-audio-page.online-voice-recorder-page .ovvr-kbd-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.online-audio-page.online-voice-recorder-page .ovvr-kbd-hint-sep {
  color: #cbd5e1;
  user-select: none;
}

.online-audio-page.online-voice-recorder-page .ovvr-kbd-hints kbd {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}

.online-audio-page.online-voice-recorder-page .ovvr-recordings-empty {
  font-size: 0.88rem;
  color: #64748b;
  text-align: center;
  padding: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  border-radius: 12px;
}

.online-audio-page.online-voice-recorder-page .ovvr-recordings-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.online-audio-page.online-voice-recorder-page .ovvr-recording-item .oa-file-body {
  min-width: 0;
}

.online-audio-page.online-voice-recorder-page .ovvr-recording-head {
  min-width: 0;
}

.online-audio-page.online-voice-recorder-page .ovvr-recording-item .oa-file-info {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.online-audio-page.online-voice-recorder-page .ovvr-recording-item .oa-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.online-audio-page.online-voice-recorder-page .ovvr-recording-item .oa-file-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-audio-page.online-voice-recorder-page .ovvr-recording-item .oa-file-actions {
  flex-shrink: 0;
}

.online-audio-page.online-voice-recorder-page .ovvr-recording-preview {
  min-width: 0;
}

.online-audio-page.online-voice-recorder-page .ovvr-recording-audio {
  width: 100%;
  max-width: 100%;
  height: 36px;
}

@media (max-width: 575.98px) {
  .online-audio-page.online-voice-recorder-page .ovvr-recording-head {
    flex-wrap: wrap;
  }

  .online-audio-page.online-voice-recorder-page .ovvr-recording-item .oa-file-info {
    flex: 1 1 100%;
  }

  .online-audio-page.online-voice-recorder-page .ovvr-settings-grid {
    grid-template-columns: 1fr;
  }
}
