.vt-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.vt-overlay.active { display: flex; }
.vt-modal {
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--r3);
  width: 560px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  animation: vtSlideIn .3s ease;
}
@keyframes vtSlideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.vt-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bd);
}
.vt-header h3 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.vt-close {
  background: none; border: none; color: var(--tx2); cursor: pointer;
  font-size: 1.3rem; padding: 4px; border-radius: 4px; transition: .2s;
}
.vt-close:hover { background: var(--s1); color: var(--tx); }
.vt-body { padding: 20px; }
.vt-file-info {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--s1);
  border-radius: var(--r);
  margin-bottom: 16px;
}
.vt-file-icon { font-size: 2rem; color: var(--grn); }
.vt-file-name { font-weight: 600; font-size: .9rem; word-break: break-all; }
.vt-file-meta { font-size: .75rem; color: var(--tx2); margin-top: 2px; }
.vt-progress-wrap {
  margin-bottom: 16px;
}
.vt-progress-bar {
  height: 6px;
  background: var(--s1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.vt-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--grn), #2dd4bf);
  border-radius: 3px;
  width: 0%;
  transition: width .3s ease;
}
.vt-progress-text {
  font-size: .8rem;
  color: var(--tx2);
  display: flex;
  justify-content: space-between;
}
.vt-engines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--bd);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 16px;
  max-height: 220px;
  overflow-y: auto;
}
.vt-engine-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--s2);
  font-size: .82rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .2s, transform .2s;
}
.vt-engine-row.visible { opacity: 1; transform: translateX(0); }
.vt-engine-name { font-weight: 500; }
.vt-engine-status {
  font-size: .72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}
.vt-clean { background: rgba(8,135,85,.15); color: var(--grn); }
.vt-result-box {
  display: none;
  text-align: center;
  padding: 20px;
  background: rgba(8,135,85,.08);
  border: 1px solid rgba(8,135,85,.2);
  border-radius: var(--r3);
  margin-top: 16px;
}
.vt-result-box.show { display: block; animation: vtSlideIn .3s ease; }
.vt-result-icon { font-size: 3rem; color: var(--grn); margin-bottom: 8px; }
.vt-result-title { font-size: 1.2rem; font-weight: 700; color: var(--grn); }
.vt-result-sub { font-size: .85rem; color: var(--tx2); margin-top: 4px; }
.vt-scan-status {
  text-align: center;
  font-size: .85rem;
  color: var(--tx2);
  padding: 8px;
}
.vt-scan-status .spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid var(--bd);
  border-top-color: var(--grn);
  border-radius: 50%;
  animation: vtSpin .6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes vtSpin { to { transform: rotate(360deg); } }
