.vt-app {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 32px;
}
.vt-topbar {
  margin-bottom: 24px;
}
.vt-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}
.vt-step {
  font-weight: 600;
  color: var(--ink);
}
.vt-step,
.vt-answered,
.vt-stat-num,
.vt-bar-pct {
  font-variant-numeric: tabular-nums;
}
.vt-bar {
  height: 8px;
  background: var(--tint);
  border-radius: 999px;
  overflow: hidden;
}
.vt-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 999px;
  transition: width 220ms ease;
}
.vt-question-box {
  padding: 12px 0 24px;
}
.vt-q-kicker {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 12px;
}
.vt-q-kicker.is-final {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f8eed9;
  border: 1px solid rgba(212, 166, 74, 0.55);
  color: #7c5210;
  font-weight: 600;
}
.vt-question {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 26px;
  min-height: 68px;
}
.vt-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.vt-opt {
  appearance: none;
  background: #fbf6ee;
  border: 1px solid #dccdb9;
  box-shadow: 0 1px 2px rgba(43, 33, 24, 0.04);
  border-radius: 10px;
  padding: 14px 10px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-sans);
  transition: border-color 140ms ease, background 140ms ease, transform 120ms ease, box-shadow 140ms ease;
}
.vt-opt:hover {
  border-color: rgba(168, 68, 34, 0.55);
  background: #f8ece1;
  transform: translateY(-1px);
}
.vt-opt:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.vt-opt[aria-checked="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fffaf2;
  box-shadow: 0 4px 12px rgba(168, 68, 34, 0.26);
}
.vt-key {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #fffaf2;
  border: 1px solid rgba(43, 33, 24, 0.14);
  box-shadow: 0 1px 0 rgba(43, 33, 24, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.vt-opt[aria-checked="true"] .vt-key {
  background: rgba(255, 250, 242, 0.22);
  border-color: rgba(255, 250, 242, 0.35);
  box-shadow: none;
  color: #fffaf2;
}
.vt-opt-label {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}
.vt-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.vt-controls-left,
.vt-controls-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.vt-kbd-hint {
  font-size: 12px;
  color: var(--muted);
}
.vt-btn-primary,
.vt-btn-secondary,
.vt-btn-ghost {
  appearance: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.vt-btn-primary {
  background: var(--accent);
  color: #fffaf2;
  border: 1.5px solid var(--accent);
}
.vt-btn-primary:hover {
  background: #8f381b;
  border-color: #8f381b;
}
.vt-btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.vt-btn-secondary:hover {
  background: var(--tint);
}
.vt-btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.vt-btn-ghost:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--muted);
}
.vt-btn-ghost:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.vt-btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}
.vt-link-btn {
  background: none;
  border: none;
  padding: 4px 2px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vt-link-btn:hover {
  color: #8f381b;
}
.vt-banner-slot > div {
  margin-bottom: 18px;
}
.vt-notice-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #fdf2dc;
  border: 1px solid #ebd09b;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
}
.vt-hidden-banner {
  padding: 16px 20px;
  background: #221a13;
  color: #fffaf2;
  border: 1.5px solid #e0a03a;
  border-radius: 12px;
}
.vt-hidden-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: #e0a03a;
  color: #221a13;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.vt-hidden-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #f7f1e8;
}
.vt-res-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 20px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.vt-res-kicker {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.vt-res-title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 700;
}
.vt-res-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}
.vt-res-stat-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.vt-stat-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.vt-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.15;
  color: var(--accent);
  margin: 4px 0;
}
.vt-stat-sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.vt-res-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  margin-bottom: 24px;
}
.vt-radar-card,
.vt-bars-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.vt-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 14px;
}
.vt-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.vt-chip {
  font-size: 12px;
  font-weight: 600;
  background: var(--tint);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}
.vt-muted-sm {
  font-size: 12px;
  color: var(--muted);
}
.vt-radar-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.vt-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.vt-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vt-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.vt-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vt-bar-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}
.vt-bar-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}
.vt-bar-name:hover {
  color: var(--accent);
  text-decoration: underline;
}
.vt-bar-sub {
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
  font-weight: 400;
}
.vt-bar-pct {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.vt-bar-track {
  height: 9px;
  background: var(--tint);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 4px;
}
.vt-bar-meter {
  height: 100%;
  border-radius: 999px;
}
.vt-bar-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.vt-share-card-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.vt-share-card-copy .vt-card-title {
  font-size: 22px;
  margin-bottom: 8px;
}
.vt-share-card-copy p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
  max-width: 52ch;
}
.vt-share-preview-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.vt-share-preview-img {
  width: 100%;
  height: auto;
  display: block;
}
.vt-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.vt-insight-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px 20px;
}
.vt-insight-growth {
  border-left-color: var(--gold);
}
.vt-insight-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.vt-insight-box .vt-card-title {
  margin-bottom: 8px;
}
.vt-insight-box p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.vt-guide-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.vt-guide-link:hover {
  text-decoration: underline;
}
.vt-res-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.vt-action-msg {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.vt-cross-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--tint);
  font-size: 14px;
  color: var(--ink);
}
.vt-cross-cta a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.vt-cross-cta a:hover {
  text-decoration: underline;
}
.vt-ssr-list {
  margin-top: 14px;
}
.vt-ssr-list summary {
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.vt-ssr-list ol {
  margin: 10px 0 0;
  padding-left: 20px;
  font-size: 13px;
  color: var(--muted);
  columns: 2;
  column-gap: 24px;
}
.vt-ssr-list li {
  margin-bottom: 6px;
  break-inside: avoid;
}
@media (max-width: 820px) {
  .vt-res-header,
  .vt-res-grid,
  .vt-insight-grid,
  .vt-share-card-panel {
    grid-template-columns: 1fr;
  }
  .vt-share-preview-frame {
    max-width: 340px;
  }
  .vt-ssr-list ol {
    columns: 1;
  }
}
@media (max-width: 640px) {
  .vt-app {
    padding: 20px 16px;
  }
  .vt-question {
    font-size: 21px;
    min-height: 76px;
  }
  .vt-scale {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .vt-opt {
    flex-direction: row;
    justify-content: flex-start;
    min-height: 48px;
    padding: 10px 14px;
    gap: 12px;
  }
  .vt-kbd-hint {
    display: none;
  }
  .vt-controls-left,
  .vt-res-actions {
    width: 100%;
  }
  .vt-controls-left button,
  .vt-res-actions button {
    flex: 1 1 auto;
  }
}
.vt-bar-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: 1px;
}
.vt-bar-dot.is-chastity {
  background: #efeff1 !important;
  box-shadow: inset 0 0 0 1.5px #626b75;
}

