/* Tool catalog & individual tool pages */
.tool-page-wrap {
  padding: calc(var(--header-h) + 28px) 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tool-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 28px;
}
.tool-breadcrumb a { transition: color 0.2s; }
.tool-breadcrumb a:hover { color: var(--text); }
.tool-breadcrumb-sep { opacity: 0.4; }

/* Catalog */
.tools-catalog-page .section-title,
.tool-page-wrap .section-title {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 10px;
}
.tools-catalog-page .section-lead,
.tool-page-wrap .section-lead {
  margin-bottom: 36px;
  max-width: 56ch;
}
.tools-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.tool-catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--card-color, var(--accent)) 10%, transparent), transparent 48%),
    var(--surface);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.tool-catalog-card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-color, var(--accent)), transparent);
  opacity: 0.6;
  transition: opacity 0.35s;
}
.tool-catalog-preview {
  margin: -6px -6px 4px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid color-mix(in srgb, var(--card-color, var(--accent)) 20%, var(--line));
  background: rgba(0,0,0,0.35);
}
.tool-catalog-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.tool-catalog-card:hover .tool-catalog-preview img { transform: scale(1.03); }
.tool-catalog-card:hover {
  border-color: color-mix(in srgb, var(--card-color, var(--accent)) 45%, var(--line-strong));
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--card-color, var(--accent)) 14%, transparent), transparent 48%),
    var(--surface-2);
  transform: translateY(-2px);
}
.tool-catalog-card:hover .tool-catalog-card-accent { opacity: 1; }
.tool-catalog-card:hover .tool-catalog-arrow {
  transform: translateX(4px);
  color: var(--card-color, var(--accent));
}
.tool-catalog-card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tool-catalog-card-titles { flex: 1; min-width: 0; }
.tool-catalog-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.45);
  border: 1px solid color-mix(in srgb, var(--card-color, var(--accent)) 28%, var(--line));
  transition: transform 0.35s;
}
.tool-catalog-card:hover .tool-catalog-card-icon { transform: scale(1.04); }
.tool-catalog-card-icon svg { width: 22px; height: 22px; }
.tool-catalog-card-icon img { width: 28px; height: 28px; object-fit: contain; }
.tool-catalog-card h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--card-color, var(--accent));
  margin: 6px 0 2px;
}
.tool-catalog-card-tagline { font-size: 11px; font-weight: 600; color: var(--muted); }
.tool-catalog-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tool-catalog-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tool-catalog-features span {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.tool-catalog-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.tool-catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}
.tool-catalog-meta span {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.tool-catalog-arrow {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  transition: transform 0.3s, color 0.3s;
}

/* Individual tool hero */
.tool-hero {
  position: relative;
  padding: 36px 36px 32px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--tool-color, var(--accent)) 22%, var(--line));
  background:
    radial-gradient(ellipse 90% 70% at 10% -10%, color-mix(in srgb, var(--tool-color, var(--accent)) 22%, transparent), transparent 58%),
    radial-gradient(ellipse 50% 60% at 95% 100%, color-mix(in srgb, var(--tool-color, var(--accent)) 12%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%),
    var(--surface);
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
}
.tool-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tool-color, var(--accent)), transparent);
}
.tool-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black, transparent);
  pointer-events: none;
}
.tool-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}
.tool-hero-main { display: flex; gap: 22px; align-items: flex-start; }
.tool-hero-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.5);
  border: 1px solid color-mix(in srgb, var(--tool-color, var(--accent)) 35%, var(--line));
  box-shadow:
    0 12px 40px color-mix(in srgb, var(--tool-color, var(--accent)) 25%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.tool-hero-icon svg { width: 32px; height: 32px; }
.tool-hero-icon img { width: 40px; height: 40px; object-fit: contain; }
.tool-hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tool-hero h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--tool-color, var(--accent));
  margin-bottom: 8px;
}
.tool-hero-tagline {
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in srgb, var(--tool-color, var(--accent)) 70%, var(--muted));
  margin-bottom: 14px;
}
.tool-hero-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 56ch;
}
.tool-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 172px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
}
.tool-hero-actions .btn { justify-content: center; text-align: center; width: 100%; }
.tool-share-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.tool-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tool-share-btn:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--tool-color, var(--accent)) 35%, var(--line));
}
.tool-share-btn.copied {
  color: #34d399;
  border-color: rgba(52,211,153,0.35);
}

/* Hero meta (version, size, updated) */
.tool-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}
.tool-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--tool-color, var(--accent)) 18%, var(--line));
  background: rgba(0,0,0,0.28);
}
.tool-hero-meta-item dt {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tool-hero-meta-item dd {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

/* Two-column body */
.tool-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.tool-main { display: flex; flex-direction: column; gap: 20px; }
.tool-panel {
  position: relative;
  padding: 26px 26px 26px 30px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.03), transparent 55%),
    rgba(255,255,255,0.02);
  overflow: hidden;
}
.tool-panel::before {
  content: "";
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--tool-color, var(--accent)), transparent);
  opacity: 0.85;
}
.tool-panel h2 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.tool-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.tool-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.22);
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.tool-feature-item:hover {
  border-color: color-mix(in srgb, var(--tool-color, var(--accent)) 35%, var(--line));
  color: var(--text);
  transform: translateY(-1px);
}
.tool-feature-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tool-color, var(--accent));
  flex-shrink: 0;
}
.tool-whatsnew-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-whatsnew-list li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.tool-whatsnew-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tool-color, var(--accent));
}

/* Sidebar */
.tool-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tool-sidebar-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--tool-color, var(--accent)) 6%, transparent), transparent 50%),
    rgba(255,255,255,0.025);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.tool-sidebar-card h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.tool-sidebar-actions { display: flex; flex-direction: column; gap: 8px; }
.tool-sidebar-actions .btn { width: 100%; justify-content: center; text-align: center; }
.tool-sidebar-links { display: flex; flex-direction: column; gap: 6px; }
.tool-sidebar-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--tool-color, var(--accent));
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: background 0.2s;
}
.tool-sidebar-link:hover {
  background: color-mix(in srgb, var(--tool-color, var(--accent)) 8%, transparent);
}

/* Related tools */
.tool-related { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.tool-related h2 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}
.tool-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.tool-related-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, transform 0.2s;
}
.tool-related-card:hover {
  border-color: color-mix(in srgb, var(--card-color, var(--accent)) 35%, var(--line));
  transform: translateY(-1px);
}
.tool-related-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.tool-related-icon svg { width: 16px; height: 16px; }
.tool-related-icon img { width: 20px; height: 20px; object-fit: contain; }
.tool-related-card span { font-size: 12px; font-weight: 700; color: var(--card-color, var(--accent)); }

/* Not found */
.tool-not-found {
  text-align: center;
  padding: 80px 24px;
}
.tool-not-found h1 { font-size: 24px; margin-bottom: 12px; }
.tool-not-found p { color: var(--muted); margin-bottom: 24px; }

@media (max-width: 860px) {
  .tool-hero-layout { grid-template-columns: 1fr; }
  .tool-hero-actions { flex-direction: row; flex-wrap: wrap; }
  .tool-body { grid-template-columns: 1fr; }
  .tool-sidebar { position: static; }
  .tools-catalog-toolbar { flex-direction: column; align-items: stretch; }
}

/* Catalog toolbar */
.tools-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tools-catalog-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.catalog-filter {
  font: 600 11px/1 var(--font);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.catalog-filter:hover { color: var(--text); }
.catalog-filter.on {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.tools-catalog-search {
  flex: 1;
  min-width: 180px;
  max-width: 320px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  font: 500 13px/1 var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.tools-catalog-search:focus {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}
.tools-catalog-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
  font-family: var(--mono);
}
.tools-catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 14px;
}

/* Loading skeleton */
.tool-page-loading { display: flex; flex-direction: column; gap: 20px; }
.tool-loading-hero {
  height: 220px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: toolShimmer 1.4s ease infinite;
}
.tool-loading-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
}
.tool-loading-grid span {
  height: 160px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.02) 75%);
  background-size: 200% 100%;
  animation: toolShimmer 1.4s ease infinite;
}
.tool-loading-grid span:first-child { grid-row: span 2; height: auto; min-height: 280px; }
@keyframes toolShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Tool updates on detail page */
.tool-updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tool-update-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tool-update-row:last-child { border-bottom: 0; padding-bottom: 0; }
.tool-update-row time {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--muted);
  text-transform: uppercase;
}
.tool-update-row strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--tool-color, var(--accent));
}
.tool-update-row p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.tool-update-bullets {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.tool-update-bullets li + li { margin-top: 4px; }

/* Media gallery */
.tool-media-panel { overflow: hidden; }
.tool-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.tool-media-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.tool-media-item:hover {
  border-color: color-mix(in srgb, var(--tool-color, var(--accent)) 40%, var(--line));
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}
.tool-media-item img,
.tool-media-item video,
.tool-media-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
.tool-media-item--video { aspect-ratio: 16 / 9; }

@media (max-width: 860px) {
  .tool-loading-grid { grid-template-columns: 1fr; }
  .tool-update-row { grid-template-columns: 1fr; gap: 4px; }
}

/* VaultSweep inline interactive demo */
.tool-showcase--vault {
  --vs-accent: #5b8def;
  --vs-good: #34d399;
  --vs-sand: #e2b84a;
  --vs-mc: #7bc74d;
  --vs-mint: #3de8b8;
  --vs-lilac: #a78bfa;
}
.vs-demo { --tool-color: var(--vs-accent); }
.vs-chrome {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #06070a;
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}
.vs-titlebar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, #141820, #0e1118);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b8c4d8;
}
.vs-titlebar img {
  width: 18px; height: 18px; border-radius: 5px;
  box-shadow: 0 0 10px rgba(91,141,239,0.35);
}
.vs-lic {
  margin-left: 6px;
  font-size: 9px;
  font-weight: 800;
  color: var(--vs-good);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(52,211,153,0.28);
  background: rgba(52,211,153,0.08);
}
.vs-title-meta {
  margin-left: auto;
  display: flex;
  gap: 6px;
  font-size: 9px;
  color: #7d8696;
}
.vs-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 420px;
}
.vs-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 6px;
  border-right: 1px solid rgba(255,255,255,0.07);
  background: #080a0e;
}
.vs-rail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #7d8696;
  cursor: pointer;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vs-rail-btn svg { width: 18px; height: 18px; }
.vs-rail-btn:hover { color: #c9d2e0; background: rgba(255,255,255,0.04); }
.vs-rail-btn.on {
  color: #eef3ff;
  background: rgba(91,141,239,0.16);
  box-shadow: inset 0 0 0 1px rgba(91,141,239,0.28);
}
.vs-main { padding: 14px; min-width: 0; }
.vs-view { display: none; }
.vs-view.on { display: block; animation: vsRise 0.28s ease; }
@keyframes vsRise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.vs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.vs-toolbar strong { display: block; font-size: 14px; font-weight: 800; color: #eef1f6; }
.vs-muted { font-size: 11px; color: #8b93a0; }
.vs-actions { display: flex; gap: 8px; }
.vs-btn {
  border: 0;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  background: var(--vs-accent);
}
.vs-btn--ghost {
  color: #c9d2e0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.vs-prog {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.28);
  margin-bottom: 10px;
}
.vs-prog-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: "IBM Plex Mono", monospace;
  color: #8b93a0;
  margin-bottom: 6px;
}
.vs-prog-track {
  height: 5px;
  border-radius: 99px;
  background: #12151c;
  overflow: hidden;
}
.vs-prog-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3d6fd9, var(--vs-accent));
  transition: width 0.6s ease;
}
.vs-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.vs-stats > div {
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  text-align: center;
}
.vs-stats b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  font-family: "IBM Plex Mono", monospace;
  color: #eef1f6;
  margin-bottom: 2px;
}
.vs-stats b.good { color: var(--vs-good); }
.vs-stats span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8696;
}
.vs-table-wrap {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}
.vs-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.vs-table th, .vs-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.vs-table th {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8696;
  background: rgba(255,255,255,0.02);
}
.vs-table td { color: #c9d2e0; }
.vs-table tr.vs-flash { opacity: 0; transform: translateY(4px); transition: 0.3s ease; }
.vs-table tr.vs-flash.show { opacity: 1; transform: none; background: rgba(52,211,153,0.06); }
.vs-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.1);
}
.vs-pill--sand { color: var(--vs-sand); border-color: rgba(226,184,74,0.35); background: rgba(226,184,74,0.08); }
.vs-pill--good { color: var(--vs-good); border-color: rgba(52,211,153,0.35); background: rgba(52,211,153,0.08); }
.vs-pill--mc { color: var(--vs-mc); border-color: rgba(123,199,77,0.35); background: rgba(123,199,77,0.08); }
.vs-pill--mint { color: var(--vs-mint); border-color: rgba(61,232,184,0.35); background: rgba(61,232,184,0.08); }
.vs-pill--lilac { color: var(--vs-lilac); border-color: rgba(167,139,250,0.35); background: rgba(167,139,250,0.08); }
.vs-panel-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #eef1f6;
  margin-bottom: 4px;
}
.vs-panel-lead {
  font-size: 12px;
  color: #8b93a0;
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 60ch;
}
.vs-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.vs-feature-grid--tight { grid-template-columns: repeat(2, 1fr); }
.vs-feat {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.vs-feat b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #eef1f6;
  margin-bottom: 4px;
}
.vs-feat span { font-size: 11px; color: #8b93a0; line-height: 1.4; }
.vs-mc {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: start;
}
.vs-mc-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-radius: 12px;
  border: 1px solid rgba(123,199,77,0.28);
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(123,199,77,0.14), transparent 60%),
    #0a0d12;
}
.vs-mc-avatar img {
  width: 72px;
  height: 120px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5));
}
.vs-locker {
  display: grid;
  grid-template-columns: repeat(4, 72px);
  gap: 8px;
}
.vs-locker figure {
  margin: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(61,232,184,0.22);
  background: #080a0e;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vs-locker img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.vs-locker figure:first-child img {
  width: 130%;
  height: 130%;
  object-fit: cover;
  object-position: center 20%;
}
.vs-locker figcaption {
  position: absolute;
  left: 4px;
  bottom: 3px;
  font-size: 7px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 4px #000;
}
.vs-settings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vs-set-card {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.vs-set-card h4 {
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #eef1f6;
}
.vs-set-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #8b93a0;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vs-set-row:last-child { border-bottom: 0; }
.vs-set-row strong { color: #eef1f6; font-weight: 700; }

@media (max-width: 900px) {
  .vs-stats { grid-template-columns: repeat(3, 1fr); }
  .vs-feature-grid { grid-template-columns: 1fr 1fr; }
  .vs-settings { grid-template-columns: 1fr; }
  .vs-mc { grid-template-columns: 1fr; }
  .vs-locker { grid-template-columns: repeat(4, minmax(56px, 1fr)); }
  .vs-locker figure { width: 100%; height: 64px; }
}
@media (max-width: 640px) {
  .vs-body { grid-template-columns: 52px 1fr; }
  .vs-rail-btn span { display: none; }
  .vs-stats { grid-template-columns: repeat(2, 1fr); }
  .vs-feature-grid, .vs-feature-grid--tight { grid-template-columns: 1fr; }
}
