/* ==========================================================================
   VectorCraft — Custom CSS3 (no Tailwind, no framework)
   Light mode · rounded cards · soft shadows · purple/pink gradient accents
   ========================================================================== */

:root {
  /* Neutral palette */
  --c-bg: #f4f4f6;
  --c-surface: #ffffff;
  --c-surface-alt: #fafafa;
  --c-border: #e4e4e7;
  --c-border-strong: #d4d4d8;
  --c-text: #18181b;
  --c-text-2: #52525b;
  --c-text-3: #a1a1aa;
  --c-text-4: #71717a;

  /* Accent — purple */
  --c-accent-50: #fdf2ff;
  --c-accent-100: #fae5ff;
  --c-accent-200: #f3ccff;
  --c-accent-300: #e9a3ff;
  --c-accent-400: #db6dff;
  --c-accent-500: #c834ff;
  --c-accent-600: #af1ce8;

  /* Accent — pink */
  --c-pink-50: #fff0f7;
  --c-pink-100: #ffe0ee;
  --c-pink-300: #ff95c6;
  --c-pink-400: #ff5ba6;
  --c-pink-500: #ff2a87;
  --c-pink-600: #f30b6c;

  /* Semantic */
  --c-emerald: #10b981;
  --c-emerald-50: #ecfdf5;
  --c-emerald-200: #a7f3d0;
  --c-amber: #f59e0b;
  --c-amber-50: #fffbeb;
  --c-red: #ef4444;
  --c-red-50: #fef2f2;

  /* Shadows */
  --shadow-soft: 0 1px 2px rgba(16,16,24,0.04), 0 4px 16px rgba(16,16,24,0.06);
  --shadow-lg: 0 2px 4px rgba(16,16,24,0.05), 0 12px 40px rgba(16,16,24,0.08);
  --shadow-glow: 0 0 0 1px rgba(200,52,255,0.15), 0 8px 30px rgba(200,52,255,0.25);

  /* Gradient */
  --grad-accent: linear-gradient(90deg, #c834ff, #ff2a87);
  --grad-accent-br: linear-gradient(135deg, #c834ff, #ff2a87);

  /* Radius */
  --r-xl: 1rem;
  --r-2xl: 1.25rem;
  --r-3xl: 1.5rem;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
svg { display: inline-block; vertical-align: middle; }
.vc-hidden { display: none !important; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.14); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.26); background-clip: content-box; }

/* ===== Header ===== */
.vc-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(228,228,231,0.7);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.vc-header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px 16px;
}
.vc-brand { display: flex; align-items: center; gap: 12px; }
.vc-brand-mark {
  width: 40px; height: 40px; border-radius: 16px;
  background: var(--grad-accent-br);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
}
.vc-brand-text h1 {
  font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
}
.vc-brand-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vc-brand-text p { font-size: 11px; font-weight: 500; color: var(--c-text-4); }

.vc-tabs {
  display: inline-flex; gap: 4px; padding: 4px;
  border: 1px solid var(--c-border);
  background: #f4f4f5;
  border-radius: var(--r-2xl);
}
.vc-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  color: var(--c-text-4);
  transition: all 0.2s;
}
.vc-tab:hover { color: #27272a; }
.vc-tab.is-active {
  background: var(--c-surface); color: var(--c-text);
  box-shadow: var(--shadow-soft);
}
.vc-tab span { display: inline; }
@media (max-width: 520px) {
  .vc-tab span { display: none; }
}

/* ===== Hero ===== */
.vc-hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(228,228,231,0.7);
}
.vc-hero-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  filter: blur(80px); opacity: 0.4; pointer-events: none;
}
.vc-hero-glow-left { top: -100px; left: 20%; background: rgba(233,163,255,0.5); }
.vc-hero-glow-right { top: -60px; right: 20%; background: rgba(255,149,198,0.5); }
.vc-hero-inner { position: relative; max-width: 768px; margin: 0 auto; text-align: center; padding: 48px 16px 64px; }
.vc-hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,0.7); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--c-text-2);
  margin-bottom: 20px;
}
.vc-hero-pill svg { color: var(--c-accent-500); }
.vc-hero-title {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em; color: var(--c-text);
}
.vc-gradient-text {
  display: block;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vc-hero-sub { margin: 16px auto 0; max-width: 512px; font-size: 16px; color: var(--c-text-4); }
.vc-hero-badges { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.vc-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; color: var(--c-text-2);
}

/* ===== Main layout ===== */
.vc-main { max-width: 1200px; margin: 0 auto; padding: 32px 16px; }
@media (min-width: 640px) { .vc-main { padding: 40px 24px; } }

/* ===== Panel / Card ===== */
.vc-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-3xl);
  padding: 20px; margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  animation: vc-fade-in 0.4s ease-out both;
}
@media (min-width: 640px) { .vc-panel { padding: 24px; } }
.vc-output-panel { animation: vc-slide-up 0.5s cubic-bezier(0.16,1,0.3,1) both; }

@keyframes vc-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vc-slide-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.vc-panel-header {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.vc-panel-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }

/* ===== Badge ===== */
.vc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.vc-badge-gradient { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-glow); }
.vc-badge-dark { background: #18181b; color: #fff; }
.vc-badge-success { background: var(--c-emerald); color: #fff; }
.vc-badge-warning { background: var(--c-amber); color: #fff; }

/* ===== Buttons ===== */
.vc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  transition: all 0.15s; white-space: nowrap;
}
.vc-btn:active { transform: scale(0.96); }
.vc-btn-primary {
  background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-glow);
}
.vc-btn-primary:hover { opacity: 0.9; }
.vc-btn-outline {
  background: var(--c-surface); color: var(--c-text-2);
  border: 1px solid var(--c-border);
}
.vc-btn-outline:hover { border-color: var(--c-accent-300); color: var(--c-accent-600); }
.vc-btn-ghost {
  padding: 8px 14px; font-size: 13px;
  background: var(--c-surface); color: var(--c-text-2);
  border: 1px solid var(--c-border);
}
.vc-btn-ghost:hover { border-color: var(--c-accent-300); color: var(--c-accent-600); }
.vc-btn.is-copied { background: var(--c-emerald-50) !important; color: var(--c-emerald) !important; border-color: var(--c-emerald-200) !important; box-shadow: none !important; }
.vc-link-btn { font-size: 13px; font-weight: 600; color: var(--c-accent-600); }
.vc-link-btn:hover { color: var(--c-accent-700, #9012bf); }

/* ===== Dropzone ===== */
.vc-dropzone {
  border: 2px dashed var(--c-border);
  border-radius: var(--r-3xl);
  background: var(--c-surface);
  padding: 48px 24px; text-align: center; cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  transition: all 0.2s;
}
.vc-dropzone:hover { border-color: var(--c-accent-300); background: rgba(253,242,255,0.4); }
.vc-dropzone.is-dragging {
  border-color: var(--c-accent-500); background: var(--c-accent-50);
  transform: scale(1.01);
}
.vc-dropzone-icon {
  width: 64px; height: 64px; border-radius: var(--r-2xl);
  background: #f4f4f5; color: var(--c-text-3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: all 0.2s;
}
.vc-dropzone:hover .vc-dropzone-icon { background: var(--c-accent-100); color: var(--c-accent-600); }
.vc-dropzone.is-dragging .vc-dropzone-icon { background: var(--grad-accent-br); color: #fff; transform: scale(1.1); }
.vc-dropzone-title { font-size: 16px; font-weight: 700; color: var(--c-text); }
.vc-dropzone-hint { margin-top: 4px; font-size: 14px; color: var(--c-text-4); }
.vc-dropzone-note {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px; background: #f4f4f5;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-text-4);
}

/* ===== Grid layout (optimizer + vectorizer content) ===== */
.vc-opt-grid {
  display: grid; gap: 20px;
}
@media (min-width: 1024px) {
  .vc-opt-grid { grid-template-columns: 1fr 320px; }
}

/* ===== File list ===== */
.vc-opt-files-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.vc-opt-files-count { font-size: 14px; font-weight: 600; color: var(--c-text-2); }
.vc-opt-files-stats { display: flex; align-items: center; gap: 8px; }
.vc-opt-stats-text { font-size: 12px; color: var(--c-text-4); }

.vc-file-list { max-height: 260px; overflow-y: auto; padding-right: 4px; }
.vc-file-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-2xl);
  border: 1px solid var(--c-border); background: var(--c-surface);
  margin-bottom: 8px; cursor: pointer; transition: all 0.15s;
}
.vc-file-item:hover { border-color: var(--c-border-strong); }
.vc-file-item.is-active { border-color: var(--c-accent-300); background: rgba(253,242,255,0.5); box-shadow: var(--shadow-soft); }
.vc-file-thumb {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  border: 1px solid var(--c-border); overflow: hidden;
  background-image: linear-gradient(45deg, #e9e9ee 25%, transparent 25%), linear-gradient(-45deg, #e9e9ee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e9e9ee 75%), linear-gradient(-45deg, transparent 75%, #e9e9ee 75%);
  background-size: 12px 12px; background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  display: flex; align-items: center; justify-content: center;
}
.vc-file-thumb svg { max-width: 28px; max-height: 28px; width: auto; height: auto; }
.vc-file-info { flex: 1; min-width: 0; }
.vc-file-name { font-size: 14px; font-weight: 600; color: var(--c-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-file-sizes { font-size: 12px; color: var(--c-text-4); }
.vc-file-saved {
  padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.vc-file-saved.is-positive { background: var(--c-emerald-50); color: var(--c-emerald); }
.vc-file-saved.is-negative { background: var(--c-amber-50); color: var(--c-amber); }
.vc-file-remove {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-3); transition: all 0.15s;
}
.vc-file-remove:hover { background: #f4f4f5; color: var(--c-text); }

/* ===== Toggle cards ===== */
.vc-toggle-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-2xl);
  border: 1px solid var(--c-border); background: var(--c-surface);
  transition: all 0.15s; cursor: pointer;
}
.vc-toggle-card:hover { border-color: var(--c-border-strong); }
.vc-toggle-card.is-on { border-color: var(--c-accent-300); background: rgba(253,242,255,0.6); box-shadow: var(--shadow-soft); }
.vc-toggle-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 12px;
  background: #f4f4f5; color: var(--c-text-4);
  display: flex; align-items: center; justify-content: center; transition: all 0.15s;
}
.vc-toggle-card.is-on .vc-toggle-icon { background: var(--grad-accent-br); color: #fff; }
.vc-toggle-text { flex: 1; min-width: 0; }
.vc-toggle-label { display: block; font-size: 14px; font-weight: 600; color: var(--c-text); }
.vc-toggle-desc { display: block; font-size: 12px; color: var(--c-text-4); }

/* Switch */
.vc-switch {
  position: relative; width: 44px; height: 24px; flex-shrink: 0;
  border-radius: 999px; background: #e4e4e7; transition: background 0.2s;
}
.vc-switch.is-on { background: var(--grad-accent); }
.vc-switch-knob {
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: transform 0.2s;
}
.vc-switch.is-on .vc-switch-knob { transform: translateX(20px); }

/* ===== Slider ===== */
.vc-slider-card { padding: 14px 16px; border-radius: var(--r-2xl); border: 1px solid var(--c-border); background: var(--c-surface); }
.vc-slider-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.vc-slider-label { font-size: 14px; font-weight: 600; color: var(--c-text); }
.vc-slider-value {
  padding: 2px 10px; border-radius: 8px;
  background: var(--grad-accent); color: #fff;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
}
.vc-mode-card { padding: 16px; border-radius: var(--r-2xl); border: 1px solid var(--c-border); background: var(--c-surface); }

/* Range input */
.vc-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 999px; background: var(--grad-accent); outline: none; cursor: pointer;
}
.vc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; border: 2px solid var(--c-accent-500);
  box-shadow: 0 1px 4px rgba(0,0,0,0.18); transition: transform 0.15s;
}
.vc-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.vc-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  border: 2px solid var(--c-accent-500); box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

/* ===== Segmented control ===== */
.vc-segmented {
  display: inline-flex; gap: 4px; padding: 4px;
  border: 1px solid var(--c-border); background: #f4f4f5;
  border-radius: var(--r-2xl);
}
.vc-seg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 600; color: var(--c-text-4);
  transition: all 0.15s;
}
.vc-seg:hover { color: #27272a; }
.vc-seg.is-active { background: var(--c-surface); color: var(--c-text); box-shadow: var(--shadow-soft); }

/* ===== Size comparison grid ===== */
.vc-size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.vc-size-card { padding: 16px; border-radius: var(--r-2xl); border: 1px solid var(--c-border); }
.vc-size-original { background: #fafafa; }
.vc-size-optimized { background: rgba(253,242,255,0.5); border-color: var(--c-accent-200); }
.vc-size-saved { background: var(--c-emerald-50); border-color: var(--c-emerald-200); }
.vc-size-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-text-4); }
.vc-size-optimized .vc-size-label { color: var(--c-accent-600); }
.vc-size-saved .vc-size-label { color: var(--c-emerald); }
.vc-size-value { margin-top: 4px; font-size: 24px; font-weight: 800; color: var(--c-text); }
.vc-size-saved .vc-size-value { color: var(--c-emerald); }
@media (max-width: 520px) {
  .vc-size-grid { grid-template-columns: 1fr; }
}

/* ===== Output view (preview / code) ===== */
.vc-output-view { margin-bottom: 20px; }
.vc-checkerboard {
  background-image: linear-gradient(45deg, #e9e9ee 25%, transparent 25%), linear-gradient(-45deg, #e9e9ee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e9e9ee 75%), linear-gradient(-45deg, transparent 75%, #e9e9ee 75%);
  background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}
.vc-preview-area {
  display: flex; align-items: center; justify-content: center; overflow: auto;
  border-radius: var(--r-2xl); border: 1px solid var(--c-border); padding: 16px; min-height: 260px;
}
.vc-preview-area svg { max-width: 100%; max-height: 400px; width: auto; height: auto; }
.vc-vec-source { min-height: 180px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-2xl); border: 1px solid var(--c-border); padding: 16px; overflow: hidden; }
.vc-vec-source img { max-height: 200px; max-width: 100%; object-fit: contain; }
.vc-vec-source-info { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--c-text-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Code viewer */
.vc-code-viewer { border-radius: var(--r-2xl); border: 1px solid #27272a; background: #1e1e24; overflow: hidden; }
.vc-code-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: #17171c; border-bottom: 1px solid #27272a; }
.vc-code-dots { display: flex; gap: 6px; }
.vc-code-dots span { width: 12px; height: 12px; border-radius: 50%; }
.vc-code-dots span:nth-child(1) { background: #ff5f57; }
.vc-code-dots span:nth-child(2) { background: #febc2e; }
.vc-code-dots span:nth-child(3) { background: #28c840; }
.vc-code-lines { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #71717a; }
.vc-code-body { max-height: 380px; overflow: auto; padding: 16px; }
.vc-code-body pre { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: #e4e4e7; white-space: pre-wrap; word-break: break-word; }

/* Syntax highlight tokens */
.vc-tok-tag { color: #f06595; }
.vc-tok-attr { color: #7048e8; }
.vc-tok-str { color: #0ca678; }
.vc-tok-punct { color: #868e96; }
.vc-tok-comment { color: #adb5bd; font-style: italic; }

/* ===== Export row ===== */
.vc-export-row {
  display: grid; gap: 16px; padding-top: 20px; border-top: 1px solid #f4f4f5;
}
@media (min-width: 1024px) { .vc-export-row { grid-template-columns: 1fr auto; } }
.vc-rename-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-text-4); }
.vc-rename-input-wrap {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--c-border); background: var(--c-surface);
  transition: border-color 0.15s;
}
.vc-rename-input-wrap:focus-within { border-color: var(--c-accent-300); }
.vc-rename-input-wrap input {
  flex: 1; border: none; background: transparent; outline: none;
  font-size: 14px; font-weight: 500; color: var(--c-text); min-width: 0;
}
.vc-rename-input-wrap input::placeholder { color: var(--c-text-3); }
.vc-rename-ext { flex-shrink: 0; padding: 2px 8px; border-radius: 6px; background: #f4f4f5; font-family: var(--font-mono); font-size: 12px; color: var(--c-text-4); }
.vc-rename-slug { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--c-text-3); }
.vc-export-buttons { display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }

/* ===== Copy row ===== */
.vc-copy-row { margin-top: 16px; padding-top: 20px; border-top: 1px solid #f4f4f5; display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Output size label ===== */
.vc-output-size { font-size: 12px; font-weight: 500; color: var(--c-text-4); }

/* ===== Loading state ===== */
.vc-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 280px; border-radius: var(--r-2xl); border: 1px solid var(--c-border);
  background: #fafafa;
}
.vc-spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid #f4f4f5; border-top-color: var(--c-accent-500);
  animation: vc-spin 0.8s linear infinite;
}
@keyframes vc-spin { to { transform: rotate(360deg); } }
.vc-loading p { font-size: 14px; font-weight: 600; color: var(--c-text-2); }

/* Error */
.vc-error-box { padding: 24px; border-radius: var(--r-2xl); border: 1px solid var(--c-red); background: var(--c-red-50); text-align: center; font-size: 14px; font-weight: 500; color: var(--c-red); }

/* ===== Footer ===== */
.vc-footer { border-top: 1px solid rgba(228,228,231,0.7); background: rgba(255,255,255,0.6); }
.vc-footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 24px 16px;
  display: flex; flex-direction: column; gap: 8px; text-align: center;
  font-size: 12px; color: var(--c-text-4);
}
@media (min-width: 640px) {
  .vc-footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.vc-footer-tag { font-weight: 600; color: var(--c-text-3); }

/* ===== Toast ===== */
.vc-toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.vc-toast {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: #18181b; color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg); pointer-events: auto;
  animation: vc-toast-in 0.3s cubic-bezier(0.16,1,0.3,1) both;
}
.vc-toast.is-out { animation: vc-toast-out 0.3s ease-in both; }
.vc-toast svg { color: var(--c-emerald); }
@keyframes vc-toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vc-toast-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(10px); } }

/* ===== Responsive tweaks ===== */
@media (max-width: 520px) {
  .vc-panel { padding: 16px; border-radius: var(--r-2xl); }
  .vc-copy-row { flex-direction: column; }
  .vc-copy-row .vc-btn { width: 100%; }
}
