/* Video Cropper — 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;
  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(2rem, 4.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.vc-hero p {
  max-width: 720px;
  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);
}
.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: 440px;
  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.5fr) minmax(290px, 0.85fr);
  gap: 20px;
  margin-top: 18px;
  align-items: start;
}
.vc-main,
.vc-side { min-width: 0; }

/* ---------- Player ---------- */
.vc-player {
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: var(--vc-white);
  outline: none;
}
.vc-player:focus-visible { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); }
.vc-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  background:
    radial-gradient(500px 240px at 50% 0%, #1e293b 0%, #0f172a 75%),
    var(--vc-ink);
}
.vc-frame {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background: #000;
  line-height: 0;
}
.vc-frame video {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  background: #000;
}
.vc-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  touch-action: none;
}
.vc-crop {
  position: absolute;
  box-sizing: border-box;
  border: 2px solid var(--vc-blue-light);
  background: transparent;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.58);
  cursor: move;
  touch-action: none;
  outline: none;
}
.vc-crop:focus-visible { border-color: #fff; box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.58), 0 0 0 3px var(--vc-blue); }
.vc-crop::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, transparent calc(33.333% - 0.5px), rgba(255, 255, 255, 0.38) 33.333%, transparent calc(33.333% + 0.5px)),
    linear-gradient(to right, transparent calc(66.666% - 0.5px), rgba(255, 255, 255, 0.38) 66.666%, transparent calc(66.666% + 0.5px)),
    linear-gradient(to bottom, transparent calc(33.333% - 0.5px), rgba(255, 255, 255, 0.38) 33.333%, transparent calc(33.333% + 0.5px)),
    linear-gradient(to bottom, transparent calc(66.666% - 0.5px), rgba(255, 255, 255, 0.38) 66.666%, transparent calc(66.666% + 0.5px));
}
.vc-crop-size {
  position: absolute;
  left: 22px;
  top: 8px;
  z-index: 3;
  max-width: calc(100% - 12px);
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}
.vc-handle {
  position: absolute;
  z-index: 4;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 2px solid var(--vc-blue);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.35);
  cursor: pointer;
  touch-action: none;
}
.vc-handle::after {
  content: "";
  position: absolute;
  inset: -11px;
}
.vc-handle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.vc-handle-nw { left: 0; top: 0; cursor: nwse-resize; }
.vc-handle-n { left: 50%; top: 0; width: 36px; height: 12px; transform: translateX(-50%); cursor: ns-resize; }
.vc-handle-ne { right: 0; top: 0; cursor: nesw-resize; }
.vc-handle-e { right: 0; top: 50%; width: 12px; height: 36px; transform: translateY(-50%); cursor: ew-resize; }
.vc-handle-se { right: 0; bottom: 0; cursor: nwse-resize; }
.vc-handle-s { left: 50%; bottom: 0; width: 36px; height: 12px; transform: translateX(-50%); cursor: ns-resize; }
.vc-handle-sw { left: 0; bottom: 0; cursor: nesw-resize; }
.vc-handle-w { left: 0; top: 50%; width: 12px; height: 36px; transform: translateY(-50%); cursor: ew-resize; }

.vc-preview-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 4;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.92);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  pointer-events: none;
}
.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-preview .vc-big-play { display: grid; }
.vc-player.is-playing .vc-big-play { display: none; }

.vc-controls {
  padding: 10px 12px 11px;
  border-top: 1px solid var(--vc-border);
  background: var(--vc-white);
}
.vc-seek-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.vc-time {
  flex: 0 0 auto;
  min-width: 40px;
  color: var(--vc-muted);
  font-size: 0.73rem;
  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: 8px;
  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: 74px; flex: 0 1 74px; }
.vc-controls-spacer { flex: 1 1 auto; }
.vc-keyhint {
  margin: 0;
  padding: 7px 12px 9px;
  border-top: 1px solid #f1f5f9;
  color: var(--vc-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.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; 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; }
.vc-player:fullscreen .vc-keyhint { display: none; }

/* ---------- Meta ---------- */
.vc-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 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;
}

/* ---------- Mode and ratios ---------- */
.vc-mode {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--vc-border);
  border-radius: 12px;
  background: var(--vc-white);
}
.vc-mode-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.vc-mode-head h3 {
  margin: 0 0 3px;
  color: var(--vc-ink);
  font-size: 0.98rem;
}
.vc-mode-head p {
  margin: 0;
  color: var(--vc-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}
.vc-mode-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--vc-border);
  border-radius: 9px;
  background: #f8fafc;
}
.vc-mode-toggle button {
  padding: 7px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--vc-muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.vc-mode-toggle button.is-active {
  background: var(--vc-white);
  color: var(--vc-blue-dark);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}
.vc-mode-toggle button:focus-visible { outline: 2px solid var(--vc-blue); outline-offset: 1px; }

.vc-ratios { margin: 14px 0 0; padding: 0; border: 0; }
.vc-ratios legend {
  margin-bottom: 7px;
  padding: 0;
  color: var(--vc-ink);
  font-size: 0.76rem;
  font-weight: 700;
}
.vc-ratio-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-ratio-buttons button {
  flex: 0 1 auto;
  min-width: 62px;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: var(--vc-white);
  color: #334155;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.vc-ratio-buttons button:hover:not(:disabled) { border-color: var(--vc-blue-light); background: #f8fbff; }
.vc-ratio-buttons button.is-active {
  border-color: var(--vc-blue);
  background: var(--vc-blue);
  color: #fff;
}
.vc-ratio-buttons button:disabled { opacity: 0.55; cursor: not-allowed; }
.vc-ratio-buttons button:focus-visible { outline: 2px solid var(--vc-blue); outline-offset: 1px; }
.vc-hint {
  margin: 8px 0 0;
  color: var(--vc-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

/* ---------- 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 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 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,
.vc-custom-size {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.vc-custom-size { margin-bottom: 4px; }
.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-fieldset > .vc-btn { margin-top: 9px; }

.vc-quality { margin-top: 10px; }
.vc-quality-label {
  display: block;
  margin-bottom: 5px;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
}
.vc-quality-options { display: grid; gap: 6px; }
.vc-quality-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--vc-border);
  border-radius: 8px;
  background: var(--vc-white);
  cursor: pointer;
}
.vc-quality-option:has(input:checked) { border-color: var(--vc-blue-light); background: #eff6ff; }
.vc-quality-option input { margin: 3px 0 0; accent-color: var(--vc-blue); }
.vc-quality-option span { display: block; min-width: 0; }
.vc-quality-option strong { display: block; color: var(--vc-ink); font-size: 0.78rem; }
.vc-quality-option small { display: block; margin-top: 1px; color: var(--vc-muted); font-size: 0.7rem; line-height: 1.35; }

.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-editor.is-busy .vc-file-actions,
.vc-editor.is-busy .vc-mode-toggle { 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: linear-gradient(90deg, var(--vc-blue) 0%, var(--vc-blue-light) 100%);
  transition: width 0.2s ease;
}
.vc-progress-label {
  margin: 7px 0 0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- 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-blue);
  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; }
.vc-result-video {
  display: block;
  width: 100%;
  max-height: 420px;
  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;
}

/* ---------- 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 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: 980px) {
  .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-mode-head { flex-direction: column; }
  .vc-mode-toggle { width: 100%; }
  .vc-mode-toggle button { flex: 1 1 50%; }
  .vc-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-result-actions .vc-btn { flex: 1 1 180px; }
  .vc-panel-head { flex-direction: column; }
  .vc-privacy { align-self: flex-start; }
  .vc-volume { width: 60px; flex-basis: 60px; }
  .vc-keyhint { display: none; }
  .vc-stage { min-height: 180px; }
}

@media (max-width: 430px) {
  .vc-panel { padding: 12px; }
  .vc-drop { min-height: 210px; padding: 22px 12px; }
  .vc-drop-title { font-size: 1rem; }
  .vc-ratio-buttons button { flex: 1 1 calc(33.333% - 6px); min-width: 0; padding: 8px 4px; }
  .vc-mode { padding: 12px; }
  .vc-fields,
  .vc-custom-size { gap: 7px; }
  .vc-field input[type="number"],
  .vc-field select { padding: 7px 8px; font-size: 0.8rem; }
  .vc-controls { padding: 8px 9px 9px; }
  .vc-result { padding: 12px; }
  .vc-result-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-article h2 { font-size: 1.1rem; }
}

@media (max-width: 360px) {
  .vc-ratio-buttons button { flex-basis: calc(33.333% - 5px); font-size: 0.72rem; }
  .vc-meta { gap: 6px; }
  .vc-meta-item { padding: 7px 8px; }
  .vc-time { min-width: 34px; font-size: 0.68rem; }
  .vc-volume { width: 50px; flex-basis: 50px; }
  .vc-file-actions .vc-btn { flex: 1 1 0; }
}

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