/* Video Compressor — standalone tool styles.
   Shared site chrome comes from site.css. The workspace uses the requested
   white/blue palette and is scoped with .vc- so other tools stay untouched. */

.vc-page {
  --vc-blue: #2563eb;
  --vc-blue-dark: #1d4ed8;
  --vc-blue-light: #60a5fa;
  --vc-pale: #eff6ff;
  --vc-ink: #0f172a;
  --vc-muted: #64748b;
  --vc-border: #e2e8f0;
  --vc-white: #ffffff;
  --vc-danger: #b91c1c;
  --vc-danger-soft: #fef2f2;
  --vc-warn: #92400e;
  --vc-warn-soft: #fffbeb;
  --vc-success: #047857;
  --vc-success-soft: #ecfdf5;
  --vc-gradient: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  overflow-x: clip;
}

.vc-page [hidden] { display: none !important; }

/* ---------- Hero ---------- */
.vc-hero {
  padding: 34px 0 26px;
  background:
    radial-gradient(720px 280px at 92% -30%, #dbeafe 0%, rgba(219, 234, 254, 0) 70%),
    linear-gradient(180deg, #f8fbff 0%, var(--vc-pale) 100%);
  border-bottom: 1px solid var(--vc-border);
}
.vc-hero .eyebrow { color: var(--vc-blue); }
.vc-hero h1 {
  margin: 6px 0 10px;
  color: var(--vc-ink);
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.vc-hero p {
  max-width: 760px;
  margin: 0;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.65;
}
.vc-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.vc-hero-points li {
  padding: 6px 11px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #1e40af;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- Workspace shell ---------- */
.vc-section { padding: 26px 0 10px; }
.vc-workspace { min-width: 0; }
.vc-panel {
  padding: 22px;
  border: 1px solid var(--vc-border);
  border-radius: 18px;
  background: var(--vc-white);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
  scroll-margin-top: 18px;
}
.vc-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.vc-panel-head h2 {
  margin: 0 0 4px;
  color: var(--vc-ink);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.vc-panel-head p {
  margin: 0;
  color: var(--vc-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.vc-privacy {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: var(--vc-success-soft);
  color: var(--vc-success);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Drop zone ---------- */
.vc-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 28px 20px;
  border: 2px dashed #bfdbfe;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.vc-drop:hover { border-color: var(--vc-blue-light); background: #f0f7ff; }
.vc-drop.is-dragover {
  border-color: var(--vc-blue);
  background: #e8f1ff;
  transform: translateY(-1px);
}
.vc-drop-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--vc-white);
  color: var(--vc-blue);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.14);
}
.vc-drop-icon svg { width: 26px; height: 26px; }
.vc-drop-title {
  margin: 0 0 4px;
  color: var(--vc-ink);
  font-size: 1.08rem;
  font-weight: 700;
}
.vc-drop-sub {
  max-width: 460px;
  margin: 0 0 16px;
  color: var(--vc-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.vc-drop-note {
  margin: 12px 0 0;
  color: var(--vc-muted);
  font-size: 0.76rem;
}

/* ---------- Buttons ---------- */
.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.vc-btn:hover:not(:disabled):not([aria-disabled="true"]) { transform: translateY(-1px); }
.vc-btn:disabled,
.vc-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.vc-btn-primary {
  background: var(--vc-blue);
  border-color: var(--vc-blue);
  color: #fff;
}
.vc-btn-primary:hover:not(:disabled) { background: var(--vc-blue-dark); border-color: var(--vc-blue-dark); }
.vc-btn-secondary {
  background: var(--vc-white);
  border-color: #cbd5e1;
  color: var(--vc-ink);
}
.vc-btn-secondary:hover:not(:disabled) { border-color: var(--vc-blue-light); color: var(--vc-blue-dark); background: #f8fbff; }
.vc-btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--vc-muted);
}
.vc-btn-ghost:hover:not(:disabled) { background: #f1f5f9; color: var(--vc-ink); }
.vc-btn-small { min-height: 34px; padding: 7px 12px; font-size: 0.78rem; border-radius: 8px; }

/* ---------- Alerts and loading ---------- */
.vc-alert,
.vc-warning {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.5;
}
.vc-alert {
  border: 1px solid #fecaca;
  background: var(--vc-danger-soft);
  color: var(--vc-danger);
}
.vc-warning {
  border: 1px solid #fde68a;
  background: var(--vc-warn-soft);
  color: var(--vc-warn);
}
.vc-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #f8fbff;
}
.vc-loading p { margin: 0; color: #1e40af; font-size: 0.86rem; font-weight: 600; }
.vc-spinner {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid #bfdbfe;
  border-top-color: var(--vc-blue);
  border-radius: 50%;
  animation: vc-spin 0.8s linear infinite;
}
@keyframes vc-spin { to { transform: rotate(360deg); } }

/* ---------- Editor ---------- */
.vc-editor { margin-top: 16px; }
.vc-filebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--vc-border);
  border-radius: 12px;
  background: #f8fafc;
}
.vc-file-thumb {
  flex: 0 0 auto;
  width: 66px;
  height: 44px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--vc-ink);
}
.vc-file-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vc-file-info { flex: 1 1 auto; min-width: 0; }
.vc-file-info strong {
  display: block;
  overflow: hidden;
  color: var(--vc-ink);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-file-info p {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--vc-muted);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-file-actions { display: flex; flex: 0 0 auto; gap: 6px; }

.vc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.95fr);
  gap: 20px;
  margin-top: 18px;
  align-items: start;
}
.vc-main,
.vc-side { min-width: 0; }

/* ---------- Preview card ---------- */
.vc-preview-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: var(--vc-white);
}
.vc-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border-bottom: 1px solid var(--vc-border);
  background: #f8fafc;
}
.vc-preview-label {
  color: var(--vc-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.vc-preview-dims {
  color: var(--vc-muted);
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Source player */
.vc-player {
  overflow: hidden;
  background: var(--vc-white);
  outline: none;
}
.vc-player:focus-visible { box-shadow: inset 0 0 0 3px rgba(37, 99, 235, 0.3); }
.vc-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 320px;
  background:
    radial-gradient(500px 240px at 50% 0%, #1e293b 0%, #0f172a 75%),
    var(--vc-ink);
}
.vc-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.vc-video-error {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(127, 29, 29, 0.92);
  color: #fff;
  font-size: 0.76rem;
  line-height: 1.45;
}
.vc-big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: none;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.94);
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4);
}
.vc-big-play svg { width: 26px; height: 26px; margin-left: 3px; }
.vc-player.is-paused .vc-big-play { display: grid; }
.vc-player.is-playing .vc-big-play { display: none; }

.vc-controls {
  padding: 9px 11px 10px;
  border-top: 1px solid var(--vc-border);
  background: var(--vc-white);
}
.vc-seek-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vc-time {
  flex: 0 0 auto;
  min-width: 38px;
  color: var(--vc-muted);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.vc-range {
  width: 100%;
  height: 22px;
  margin: 0;
  accent-color: var(--vc-blue);
  cursor: pointer;
}
.vc-seek { flex: 1 1 auto; min-width: 0; }
.vc-button-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.vc-icon-btn {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--vc-ink);
  cursor: pointer;
}
.vc-icon-btn:hover { background: var(--vc-pale); color: var(--vc-blue-dark); }
.vc-icon-btn:focus-visible { outline: 2px solid var(--vc-blue); outline-offset: 1px; }
.vc-icon-btn svg { width: 20px; height: 20px; }
.vc-volume-group {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.vc-volume { width: 64px; flex: 0 1 64px; }
.vc-controls-spacer { flex: 1 1 auto; }

.vc-player:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: var(--vc-ink);
}
.vc-player:fullscreen .vc-stage { flex: 1 1 auto; height: auto; min-height: 0; }
.vc-player:fullscreen .vc-controls { background: #111827; border-top-color: #334155; }
.vc-player:fullscreen .vc-time { color: #cbd5e1; }
.vc-player:fullscreen .vc-icon-btn { color: #f8fafc; }
.vc-player:fullscreen .vc-icon-btn:hover { background: #1e293b; }

/* ---------- Meta ---------- */
.vc-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.vc-meta-item {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--vc-border);
  border-radius: 9px;
  background: #f8fafc;
}
.vc-meta-item span {
  display: block;
  margin-bottom: 3px;
  color: var(--vc-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vc-meta-item strong {
  display: block;
  overflow: hidden;
  color: var(--vc-ink);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-keyhint {
  margin: 10px 0 0;
  color: var(--vc-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

/* ---------- Plan ---------- */
.vc-plan {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}
.vc-plan h3 {
  margin: 0 0 8px;
  color: var(--vc-ink);
  font-size: 0.86rem;
}
.vc-plan dl {
  display: grid;
  gap: 6px;
  margin: 0;
}
.vc-plan dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  font-size: 0.78rem;
}
.vc-plan dt {
  flex: 0 0 auto;
  color: var(--vc-muted);
  font-weight: 600;
}
.vc-plan dd {
  min-width: 0;
  margin: 0;
  color: var(--vc-ink);
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}
.vc-plan .vc-hint { margin-top: 9px; }

/* ---------- Side settings ---------- */
.vc-side {
  padding: 16px;
  border: 1px solid var(--vc-border);
  border-radius: 14px;
  background: #f8fbff;
}
.vc-side > h3 {
  margin: 0 0 14px;
  color: var(--vc-ink);
  font-size: 1.02rem;
}
.vc-fieldset {
  margin: 0 0 16px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--vc-border);
}
.vc-fieldset:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.vc-fieldset legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--vc-ink);
  font-size: 0.82rem;
  font-weight: 800;
}
.vc-field { margin-bottom: 10px; min-width: 0; }
.vc-field:last-child { margin-bottom: 0; }
.vc-field label {
  display: block;
  margin-bottom: 4px;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
}
.vc-field input[type="number"],
.vc-field input[type="text"],
.vc-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  padding: 8px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: var(--vc-white);
  color: var(--vc-ink);
  font: inherit;
  font-size: 0.84rem;
}
.vc-field input[type="number"]:focus,
.vc-field input[type="text"]:focus,
.vc-field select:focus {
  border-color: var(--vc-blue);
  outline: 2px solid rgba(37, 99, 235, 0.18);
  outline-offset: 0;
}
.vc-field input:disabled,
.vc-field select:disabled { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; }
.vc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.vc-validation {
  margin: 8px 0 0;
  padding: 7px 9px;
  border: 1px solid #fecaca;
  border-radius: 7px;
  background: var(--vc-danger-soft);
  color: var(--vc-danger);
  font-size: 0.74rem;
  line-height: 1.45;
}
.vc-warning-inline {
  margin: 8px 0 0;
  padding: 8px 10px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: var(--vc-warn-soft);
  color: var(--vc-warn);
  font-size: 0.74rem;
  line-height: 1.45;
}

/* Mode cards */
.vc-modes { display: grid; gap: 6px; }
.vc-mode {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--vc-border);
  border-radius: 9px;
  background: var(--vc-white);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.vc-mode:hover { border-color: var(--vc-blue-light); }
.vc-mode:has(input:checked) {
  border-color: var(--vc-blue-light);
  background: var(--vc-pale);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}
.vc-mode input { flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--vc-blue); }
.vc-mode > span { display: block; min-width: 0; }
.vc-mode strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--vc-ink);
  font-size: 0.8rem;
}
.vc-mode em {
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--vc-blue);
  color: #fff;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.vc-mode small {
  display: block;
  margin-top: 2px;
  color: var(--vc-muted);
  font-size: 0.7rem;
  line-height: 1.4;
}
.vc-mode:focus-within { outline: 2px solid rgba(37, 99, 235, 0.35); outline-offset: 1px; }

/* Checkbox row */
.vc-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  padding: 8px 9px;
  border: 1px solid var(--vc-border);
  border-radius: 8px;
  background: var(--vc-white);
  cursor: pointer;
}
.vc-check input { flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--vc-blue); }
.vc-check span { display: block; min-width: 0; }
.vc-check strong { display: block; color: var(--vc-ink); font-size: 0.76rem; }
.vc-check small { display: block; margin-top: 1px; color: var(--vc-muted); font-size: 0.68rem; line-height: 1.35; }
.vc-check:focus-within { outline: 2px solid rgba(37, 99, 235, 0.35); outline-offset: 1px; }

.vc-hint {
  margin: 8px 0 0;
  color: var(--vc-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.vc-hint.is-error { color: var(--vc-danger); font-weight: 600; }

/* Advanced panel */
.vc-advanced {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #f8fbff;
}
.vc-advanced .vc-fieldset:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.vc-advanced .vc-fieldset legend { color: #1e40af; }
.vc-advanced-note { margin: 0; }
.vc-crf-field { margin-top: 10px; }
.vc-audio-field { margin-top: 10px; }

/* Export action */
.vc-export-action {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--vc-border);
}
.vc-export-button { width: 100%; min-height: 46px; font-size: 0.92rem; }
.vc-export-action .vc-btn + .vc-btn { width: 100%; margin-top: 7px; }
.vc-export-note {
  margin: 9px 0 0;
  color: #334155;
  font-size: 0.76rem;
  line-height: 1.45;
}
.vc-export-action .vc-hint { margin-top: 6px; }
.vc-target-hint { color: #1e40af; }
.vc-editor.is-busy .vc-file-actions { pointer-events: none; }

/* ---------- Progress ---------- */
.vc-progress { margin-top: 18px; }
.vc-progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}
.vc-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--vc-gradient);
  transition: width 0.2s ease;
}
.vc-progress-label {
  margin: 7px 0 0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
}
.vc-progress-timing {
  margin: 3px 0 0;
  color: var(--vc-muted);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

/* ---------- Result ---------- */
.vc-result {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}
.vc-result-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.vc-result-check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vc-gradient);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}
.vc-result-head h3 { margin: 0 0 2px; color: var(--vc-ink); font-size: 1.02rem; }
.vc-result-head p { margin: 0; color: var(--vc-muted); font-size: 0.78rem; line-height: 1.45; }

.vc-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}
.vc-compare-item {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
}
.vc-compare-item span {
  display: block;
  color: var(--vc-muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.vc-compare-item strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--vc-ink);
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-compare-item small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--vc-muted);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-compare-after { border-color: #bfdbfe; background: #eff6ff; }
.vc-compare-arrow {
  display: grid;
  place-items: center;
  color: var(--vc-blue);
  font-size: 1.1rem;
  font-weight: 800;
}
.vc-compare-saved {
  display: flex;
  grid-column: 1 / -1;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: var(--vc-success-soft);
  color: var(--vc-success);
  font-size: 0.82rem;
  font-weight: 700;
}
.vc-compare-saved strong { font-size: 1rem; font-variant-numeric: tabular-nums; }
.vc-compare.is-increase .vc-compare-after { border-color: #fde68a; background: var(--vc-warn-soft); }
.vc-compare.is-increase .vc-compare-saved {
  border-color: #fde68a;
  background: var(--vc-warn-soft);
  color: var(--vc-warn);
}
.vc-result-warning {
  margin: 10px 0 0;
  padding: 9px 11px;
  border: 1px solid #fde68a;
  border-radius: 9px;
  background: var(--vc-warn-soft);
  color: var(--vc-warn);
  font-size: 0.78rem;
  line-height: 1.5;
}
.vc-result-video {
  display: block;
  width: 100%;
  max-height: 420px;
  margin-top: 12px;
  border-radius: 10px;
  background: #000;
}
.vc-result-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}
.vc-result-meta div {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}
.vc-result-meta dt {
  margin-bottom: 2px;
  color: var(--vc-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vc-result-meta dd {
  margin: 0;
  overflow: hidden;
  color: var(--vc-ink);
  font-size: 0.78rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.vc-result-actions .vc-btn-primary { flex: 1 1 220px; min-height: 46px; }

/* ---------- Guide ---------- */
.vc-content { padding: 34px 0 54px; }
.vc-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.vc-article { min-width: 0; }
.vc-article h2 {
  margin: 26px 0 8px;
  color: var(--vc-ink);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.vc-article h2:first-of-type { margin-top: 10px; }
.vc-article p,
.vc-article li { color: #334155; font-size: 0.9rem; line-height: 1.7; }
.vc-article p { margin: 0 0 10px; }
.vc-article ul,
.vc-article ol { margin: 0 0 12px; padding-left: 22px; }
.vc-article li { margin-bottom: 6px; }
.vc-faq { display: grid; gap: 8px; margin-top: 12px; }
.vc-faq .faq-item {
  border: 1px solid var(--vc-border);
  border-radius: 9px;
  background: #f8fafc;
}
.vc-faq .faq-item summary {
  padding: 10px 12px;
  color: var(--vc-ink);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.vc-faq .faq-item p { margin: 0; padding: 0 12px 11px; font-size: 0.84rem; }
.vc-side-content { display: grid; gap: 14px; min-width: 0; }
.vc-facts { margin: 10px 0; padding: 0; list-style: none; }
.vc-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--vc-muted);
  font-size: 0.78rem;
}
.vc-facts li:last-child { border-bottom: 0; }
.vc-facts li span { color: var(--vc-ink); font-weight: 600; text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .vc-layout { grid-template-columns: minmax(0, 1fr); }
  .vc-side { padding: 16px; }
  .vc-content-layout { grid-template-columns: minmax(0, 1fr); }
  .vc-side-content { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 720px) {
  .vc-panel { padding: 15px; border-radius: 14px; }
  .vc-hero { padding: 26px 0 22px; }
  .vc-hero p { font-size: 0.94rem; }
  .vc-filebar { flex-wrap: wrap; }
  .vc-file-info { flex: 1 1 160px; }
  .vc-file-actions { width: 100%; justify-content: flex-end; }
  .vc-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-result-actions .vc-btn { flex: 1 1 180px; }
  .vc-result-actions .vc-btn-primary { flex-basis: 100%; }
  .vc-panel-head { flex-direction: column; }
  .vc-privacy { align-self: flex-start; }
  .vc-volume { width: 56px; flex-basis: 56px; }
  .vc-keyhint { display: none; }
  .vc-stage { height: 240px; }
  .vc-result-video { max-height: 320px; }
}

@media (max-width: 430px) {
  .vc-panel { padding: 12px; }
  .vc-drop { min-height: 210px; padding: 22px 12px; }
  .vc-drop-title { font-size: 1rem; }
  .vc-fields { gap: 7px; }
  .vc-field input[type="number"],
  .vc-field input[type="text"],
  .vc-field select { padding: 7px 8px; font-size: 0.8rem; }
  .vc-controls { padding: 8px 9px 9px; }
  .vc-icon-btn { width: 40px; height: 40px; }
  .vc-result { padding: 12px; }
  .vc-result-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-compare-item { padding: 9px 10px; }
  .vc-compare-item strong { font-size: 1rem; }
  .vc-article h2 { font-size: 1.1rem; }
  .vc-stage { height: 210px; }
  .vc-advanced { padding: 12px; }
  .vc-mode { padding: 9px; }
  .vc-mode strong { font-size: 0.78rem; }
}

@media (max-width: 360px) {
  .vc-meta { gap: 6px; }
  .vc-meta-item { padding: 7px 8px; }
  .vc-time { min-width: 32px; font-size: 0.66rem; }
  .vc-volume { width: 46px; flex-basis: 46px; }
  .vc-file-actions .vc-btn { flex: 1 1 0; }
  .vc-compare { gap: 6px; }
  .vc-compare-item { padding: 8px; }
  .vc-compare-item strong { font-size: 0.94rem; }
  .vc-compare-item small { font-size: 0.62rem; }
  .vc-compare-saved { font-size: 0.74rem; }
  .vc-result-meta { gap: 6px; }
  .vc-result-meta div { padding: 7px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .vc-btn,
  .vc-drop,
  .vc-mode,
  .vc-progress-bar,
  .vc-spinner { transition: none; animation: none; }
}
