/* ========== 增值小工具 ========== */
.value-tools {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.value-tools::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(62, 146, 204, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 90% 100%, rgba(10, 36, 99, 0.06) 0%, transparent 50%);
}

.value-tools .container {
  position: relative;
  z-index: 1;
}

.vt-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.vt-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(10, 36, 99, 0.1);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(10, 36, 99, 0.04);
}

.vt-tab-icon {
  font-size: 1rem;
  line-height: 1;
}

.vt-tab-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 36, 99, 0.08);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.vt-tab:hover,
.vt-tab.active {
  background: rgba(10, 36, 99, 0.06);
  border-color: rgba(62, 146, 204, 0.45);
  color: var(--accent-navy, #0a2463);
  box-shadow: 0 4px 16px rgba(62, 146, 204, 0.12);
}

.vt-tab.active .vt-tab-count {
  background: rgba(62, 146, 204, 0.15);
  color: #0a2463;
}

.vt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-height: 280px;
}

.vt-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.vt-card:hover {
  border-color: rgba(62, 146, 204, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 36, 99, 0.1);
}

.vt-card--coming {
  opacity: 0.85;
}

.vt-card--coming:hover {
  transform: none;
}

.vt-card-icon {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.05) 0%, rgba(62, 146, 204, 0.1) 100%);
}

.vt-card-body {
  flex: 1;
  padding: 18px 20px 12px;
}

.vt-card-cat {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  background: rgba(62, 146, 204, 0.1);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #0a2463;
}

.vt-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.vt-card-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.vt-card-foot {
  padding: 0 20px 18px;
}

.vt-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.vt-card-actions--coming {
  align-items: stretch;
}

.vt-card-actions--coming .vt-card-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vt-card-btn {
  width: 100%;
  padding: 10px 12px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.8125rem;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.vt-card-btn--outline {
  background: transparent;
  border: 1px solid rgba(10, 36, 99, 0.14);
  color: var(--primary, #3b82f6);
}

.vt-card-btn--outline:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: var(--primary, #3b82f6);
  opacity: 1;
}

.vt-card-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.vt-card-badge {
  display: block;
  text-align: center;
  padding: 10px;
  background: rgba(10, 36, 99, 0.05);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* 空状态 */
.vt-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 56px;
  background: var(--bg-card);
  border: 1px dashed rgba(10, 36, 99, 0.15);
  border-radius: var(--radius-lg);
}

.vt-empty-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.06) 0%, rgba(62, 146, 204, 0.12) 100%);
  border-radius: 20px;
  margin-bottom: 20px;
}

.vt-empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.vt-empty-desc {
  max-width: 520px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.vt-empty-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.vt-empty-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(10, 36, 99, 0.04);
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .vt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .vt-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .vt-tabs::-webkit-scrollbar {
    display: none;
  }

  .vt-tab {
    flex-shrink: 0;
  }

  .vt-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vt-empty {
    padding: 36px 20px 44px;
  }
}

/* ========== 小工具弹窗 ========== */
.vt-modal .vt-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(10, 36, 99, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(10, 36, 99, 0.18);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.vt-modal.open .vt-modal-dialog {
  transform: translateY(0) scale(1);
}

.vt-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px 18px;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.04) 0%, rgba(62, 146, 204, 0.08) 100%);
  border-bottom: 1px solid rgba(10, 36, 99, 0.08);
  flex-shrink: 0;
}

.vt-modal-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--bg-card);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(10, 36, 99, 0.08);
  flex-shrink: 0;
}

.vt-modal-head-text {
  flex: 1;
  min-width: 0;
}

.vt-modal-head-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.vt-modal-head-text p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.vt-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  -webkit-overflow-scrolling: touch;
}

.vt-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 24px 20px;
  border-top: 1px solid rgba(10, 36, 99, 0.08);
  flex-shrink: 0;
}

.vt-inquiry-btn {
  min-width: 120px;
}

/* 表单 */
.vt-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.vt-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vt-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.vt-input,
.vt-select,
.vt-textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid rgba(10, 36, 99, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vt-input:focus,
.vt-select:focus,
.vt-textarea:focus {
  outline: none;
  border-color: rgba(62, 146, 204, 0.6);
  box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.12);
}

.vt-textarea {
  resize: vertical;
  min-height: 80px;
}

.vt-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.vt-hint--center {
  text-align: center;
  margin-top: 12px;
}

.vt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.vt-btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 36, 99, 0.2);
}

.vt-btn--primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.vt-btn--ghost {
  background: rgba(10, 36, 99, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(10, 36, 99, 0.1);
}

.vt-btn--ghost:hover {
  background: rgba(10, 36, 99, 0.08);
  color: var(--text-primary);
}

.vt-btn--outline {
  background: transparent;
  border: 1px solid rgba(10, 36, 99, 0.14);
  color: var(--primary, #3b82f6);
}

.vt-btn--outline:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: var(--primary, #3b82f6);
}

/* 加载 / 错误 */
.vt-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--text-secondary);
}

.vt-loading--inline {
  padding: 32px 16px;
}

.vt-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(10, 36, 99, 0.1);
  border-top-color: #3e92cc;
  border-radius: 50%;
  animation: vtSpin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes vtSpin {
  to { transform: rotate(360deg); }
}

.vt-error {
  text-align: center;
  padding: 40px 24px;
  color: var(--text-secondary);
}

.vt-error--inline {
  padding: 24px 16px;
}

.vt-error-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.vt-empty-inline {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* 结果区 */
.vt-result-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.vt-result-head h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.vt-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 热榜 */
.vt-hotlist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vt-hot-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(10, 36, 99, 0.02);
  border: 1px solid rgba(10, 36, 99, 0.06);
  border-radius: var(--radius-md);
  transition: background 0.2s, border-color 0.2s;
}

.vt-hot-item:hover {
  background: rgba(62, 146, 204, 0.05);
  border-color: rgba(62, 146, 204, 0.2);
}

.vt-hot-rank {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 36, 99, 0.08);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
}

.vt-hot-rank.top1 { background: #fef3c7; color: #d97706; }
.vt-hot-rank.top2 { background: #f1f5f9; color: #64748b; }
.vt-hot-rank.top3 { background: #ffedd5; color: #ea580c; }

.vt-hot-body { flex: 1; min-width: 0; }

.vt-hot-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 4px;
}

.vt-hot-title:hover { color: #0a2463; }

.vt-hot-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vt-hot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.vt-hot-cover {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* 诗词 */
.vt-poem-card {
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(180deg, rgba(10, 36, 99, 0.03) 0%, rgba(62, 146, 204, 0.06) 100%);
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-lg);
}

.vt-poem-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(10, 36, 99, 0.08);
  border-radius: 100px;
  font-size: 0.75rem;
  color: #0a2463;
  margin-bottom: 20px;
}

.vt-poem-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.vt-poem-ch {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.2em;
}

.vt-poem-py {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 题库 */
.vt-quiz-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vt-quiz-item {
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.vt-quiz-item summary {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
}

.vt-quiz-item summary::-webkit-details-marker { display: none; }

.vt-quiz-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(62, 146, 204, 0.12);
  border-radius: 4px;
  font-size: 0.6875rem;
  color: #0a2463;
  margin-right: 8px;
  vertical-align: middle;
}

.vt-quiz-body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(10, 36, 99, 0.06);
}

.vt-quiz-img {
  max-width: 100%;
  border-radius: 8px;
  margin: 12px 0;
}

.vt-quiz-options {
  list-style: none;
  margin: 12px 0;
}

.vt-quiz-options li {
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-radius: 6px;
  margin-bottom: 4px;
}

.vt-quiz-options li.is-answer {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  font-weight: 500;
}

.vt-quiz-answer {
  font-size: 0.8125rem;
  margin-bottom: 8px;
}

.vt-quiz-explain {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 10px 12px;
  background: rgba(10, 36, 99, 0.03);
  border-radius: 8px;
}

/* 谐音网名 */
.vt-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vt-name-tag {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(10, 36, 99, 0.1);
  border-radius: 100px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.vt-name-tag:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 36, 99, 0.15);
}

/* 影视 */
.vt-media-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vt-media-card {
  display: flex;
  gap: 16px;
  padding: 14px;
  background: rgba(10, 36, 99, 0.02);
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-md);
}

.vt-media-poster {
  width: 80px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.vt-media-poster--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 36, 99, 0.06);
  font-size: 1.5rem;
}

.vt-media-info h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.vt-media-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.5;
}

.vt-media-quote {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(62, 146, 204, 0.08);
  border-left: 3px solid #3e92cc;
  border-radius: 0 8px 8px 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 恋爱话术 */
.vt-love-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vt-love-q,
.vt-love-a {
  padding: 18px;
  border-radius: var(--radius-md);
}

.vt-love-q {
  background: rgba(10, 36, 99, 0.04);
  border: 1px solid rgba(10, 36, 99, 0.08);
}

.vt-love-a {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.06) 0%, rgba(62, 146, 204, 0.08) 100%);
  border: 1px solid rgba(236, 72, 153, 0.15);
}

.vt-love-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.vt-love-q p,
.vt-love-a p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.vt-love-a .vt-btn {
  margin-top: 12px;
}

/* 表情包 */
.vt-bqb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.vt-bqb-item {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(10, 36, 99, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.vt-bqb-item:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(10, 36, 99, 0.12);
}

.vt-bqb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vt-bqb-more-wrap {
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 640px) {
  .vt-modal .vt-modal-dialog {
    max-height: 92vh;
    border-radius: var(--radius-lg);
  }

  .vt-modal-header {
    padding: 18px 16px 14px;
  }

  .vt-modal-body {
    padding: 16px;
  }

  .vt-field-row {
    grid-template-columns: 1fr;
  }

  .vt-bqb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vt-media-card {
    flex-direction: column;
  }

  .vt-media-poster {
    width: 100%;
    height: 160px;
  }
}

/* ========== 新增工具样式 ========== */
.vt-upload-zone {
  position: relative;
  padding: 28px 20px;
  border: 2px dashed rgba(10, 36, 99, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(10, 36, 99, 0.02);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.vt-upload-zone:hover,
.vt-upload-zone.dragover {
  border-color: rgba(62, 146, 204, 0.5);
  background: rgba(62, 146, 204, 0.06);
}

.vt-upload-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.vt-upload-placeholder p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.vt-upload-preview {
  margin-top: 12px;
  text-align: center;
}

.vt-upload-preview img {
  max-width: 100%;
  max-height: 180px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(10, 36, 99, 0.1);
}

.vt-compare {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.vt-compare-item {
  text-align: center;
}

.vt-compare-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.vt-compare-item img {
  max-width: 100%;
  max-height: 320px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(10, 36, 99, 0.12);
}

.vt-compare--cutout {
  gap: 16px;
  flex-wrap: wrap;
}

.vt-compare--cutout .vt-compare-item {
  flex: 1;
  min-width: 200px;
}

.vt-cutout-bg {
  display: inline-block;
  max-width: 100%;
  padding: 12px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
    linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-color: #f5f5f5;
}

.vt-cutout-bg img {
  max-width: 100%;
  max-height: 300px;
  display: block;
  border-radius: 8px;
  box-shadow: none;
}

.vt-result-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.vt-copy-btn-sm {
  padding: 6px 12px !important;
  font-size: 0.75rem !important;
}

.vt-copy-btn-block {
  width: 100%;
  margin-top: 12px;
}

.vt-link-card {
  padding: 18px;
  background: rgba(10, 36, 99, 0.03);
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-md);
}

.vt-link-row {
  margin-bottom: 14px;
}

.vt-link-row:last-child {
  margin-bottom: 0;
}

.vt-link-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.vt-link-row p,
.vt-link-row a {
  font-size: 0.875rem;
  word-break: break-all;
  line-height: 1.5;
}

.vt-link-row--highlight a {
  color: #0a2463;
  font-weight: 600;
}

.vt-email-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.vt-email-box {
  margin-bottom: 16px;
}

.vt-email-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}

.vt-email-active {
  padding: 18px;
  background: linear-gradient(135deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
  border: 1px solid rgba(62, 146, 204, 0.2);
  border-radius: var(--radius-md);
}

.vt-email-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.vt-email-addr {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vt-email-addr code {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: #0a2463;
  word-break: break-all;
}

.vt-mail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vt-mail-item {
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-md);
}

.vt-mail-item h5 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.vt-mail-body {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 200px;
  overflow-y: auto;
}

.vt-recipe-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}

.vt-recipe-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.vt-recipe-body h4 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.vt-recipe-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.vt-recipe-block {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.vt-recipe-block strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.vt-hint--warn {
  color: #d97706;
  background: rgba(217, 119, 6, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
}

.vt-xxt-card {
  padding: 18px;
  background: rgba(10, 36, 99, 0.03);
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-md);
}

.vt-xxt-q {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(10, 36, 99, 0.08);
}

.vt-xxt-a-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #15803d;
  margin-bottom: 6px;
}

.vt-xxt-a p {
  font-size: 1.125rem;
  font-weight: 600;
  color: #15803d;
}

.vt-ai-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.vt-ai-chip {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid rgba(10, 36, 99, 0.12);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}

.vt-ai-chip:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
}

.vt-ai-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.vt-ai-bubble {
  max-width: 92%;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.7;
}

.vt-ai-bubble--user {
  align-self: flex-end;
  background: var(--gradient-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.vt-ai-bubble--bot {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid rgba(10, 36, 99, 0.1);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
}

.vt-ai-bubble--error {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
}

.vt-ai-bot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0a2463;
}

.vt-ai-bubble--bot .vt-ai-copy {
  margin-top: 10px;
}

.vt-ai-chat--tall {
  max-height: 320px;
  min-height: 120px;
}

.vt-ai-role-hint {
  margin: 0 0 12px;
}

.vt-ai-compose {
  margin-top: 12px;
}

.vt-ai-compose .vt-field--inline {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.vt-ai-compose .vt-textarea {
  flex: 1;
  min-height: 52px;
}

.vt-ai-compose-actions {
  margin-top: 8px;
}

/* ========== AI 妙笔生画 ========== */
.vt-paint-styles,
.vt-paint-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vt-paint-style,
.vt-paint-size {
  padding: 8px 14px;
  border: 1px solid rgba(10, 36, 99, 0.12);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
  color: inherit;
}

.vt-paint-size {
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 88px;
}

.vt-paint-size span {
  font-size: 0.6875rem;
  color: var(--text-muted, #64748b);
}

.vt-paint-style:hover,
.vt-paint-size:hover {
  border-color: var(--primary, #3b82f6);
}

.vt-paint-style.active,
.vt-paint-size.active {
  background: var(--primary, #3b82f6);
  border-color: var(--primary, #3b82f6);
  color: #fff;
}

.vt-paint-size.active span {
  color: rgba(255, 255, 255, 0.85);
}

.vt-paint-result {
  margin-top: 8px;
}

.vt-paint-meta {
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 10px;
}

.vt-paint-frame {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(10, 36, 99, 0.04);
  line-height: 0;
}

.vt-paint-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.vt-paint-result .vt-result-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 640px) {
  .vt-ai-compose .vt-field--inline {
    flex-direction: column;
    align-items: stretch;
  }

  .vt-paint-sizes {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .vt-recipe-card {
    flex-direction: column;
  }

  .vt-recipe-img {
    width: 100%;
    height: 160px;
  }
}

/* ========== 短视频去水印解析 ========== */
.vt-modal-dialog--wide {
  max-width: min(860px, 96vw);
}

.vt-media-input {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.vt-media-detect {
  min-height: 28px;
  margin: -4px 0 12px;
}

.vt-media-detect-empty {
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
}

.vt-media-detect-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: #0a2463;
  background: rgba(62, 146, 204, 0.1);
  border: 1px solid rgba(62, 146, 204, 0.2);
  border-radius: 10px;
}

.vt-media-detect-icon {
  font-size: 1rem;
}

.vt-media-detect-api {
  color: var(--text-muted, #64748b);
}

.vt-media-detect-tip {
  width: 100%;
  font-size: 0.75rem;
  color: #c27803;
}

.vt-media-product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.vt-media-product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e11d48;
}

.vt-media-product-chip {
  font-size: 0.75rem;
  padding: 4px 10px;
  color: var(--text-secondary, #475569);
  background: rgba(10, 36, 99, 0.06);
  border-radius: 999px;
}

.vt-media-submit {
  width: 100%;
}

.vt-media-platforms {
  margin-top: 12px;
  text-align: center;
}

.vt-media-platforms-panel {
  margin-top: 20px;
  padding: 16px;
  background: rgba(10, 36, 99, 0.03);
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 14px;
}

.vt-media-platforms-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.vt-media-platforms-head strong {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.vt-media-platform-group {
  margin-bottom: 14px;
}

.vt-media-platform-group:last-of-type {
  margin-bottom: 10px;
}

.vt-media-platform-group-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  margin-bottom: 8px;
}

.vt-media-platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vt-media-platform-tag {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 6px 10px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  background: var(--bg-card, #fff);
  border: 1px solid rgba(10, 36, 99, 0.1);
  border-radius: 999px;
  cursor: default;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vt-media-platform-tags--muted .vt-media-platform-tag {
  background: rgba(10, 36, 99, 0.02);
  border-style: dashed;
}

.vt-media-platform-tag:hover {
  border-color: rgba(62, 146, 204, 0.45);
  box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
}

.vt-media-platform-tag-icon {
  line-height: 1;
}

.vt-media-platform-tag-name {
  font-weight: 500;
}

.vt-media-platform-tag-type {
  font-size: 0.6875rem;
  color: var(--text-muted, #64748b);
  padding-left: 2px;
}

.vt-media-platform-note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted, #64748b);
}

.vt-media-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(10, 36, 99, 0.08);
}

.vt-media-save-bar {
  margin-bottom: 16px;
}

.vt-media-save-bar .vt-btn {
  width: 100%;
}

.vt-btn--sm {
  padding: 6px 12px;
  font-size: 0.8125rem;
}

.vt-media-gallery .vt-result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.vt-media-gallery .vt-result-head h4 {
  margin: 0;
}

.vt-media-platform {
  font-weight: 600;
  color: var(--text-primary);
}

.vt-media-api-used {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  padding: 4px 10px;
  background: rgba(10, 36, 99, 0.05);
  border-radius: 999px;
}

.vt-media-info {
  margin-bottom: 16px;
}

.vt-media-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.vt-media-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary, #475569);
  margin-bottom: 10px;
}

.vt-media-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
}

.vt-media-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.vt-media-cover-wrap {
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 36, 99, 0.04);
}

.vt-media-cover-wrap .vt-btn {
  margin: 10px 12px 12px;
}

.vt-media-cover {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.vt-media-video video {
  width: 100%;
  max-height: 360px;
  border-radius: 12px;
  background: #000;
}

.vt-media-video .vt-result-actions {
  margin-top: 12px;
}

.vt-media-gallery {
  margin-top: 16px;
}

.vt-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.vt-media-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 36, 99, 0.05);
  border: 1px solid rgba(10, 36, 99, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vt-media-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.vt-media-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 36, 99, 0.12);
}

.vt-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vt-media-save-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1;
  color: #fff;
  background: rgba(10, 36, 99, 0.72);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.vt-media-thumb:hover .vt-media-save-btn,
.vt-media-save-btn:focus {
  opacity: 1;
}

.vt-media-save-btn:hover {
  background: rgba(10, 36, 99, 0.92);
}

.vt-media-save-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.vt-media-raw {
  margin-top: 18px;
  font-size: 0.8125rem;
}

.vt-media-raw summary {
  cursor: pointer;
  color: var(--text-muted, #64748b);
  user-select: none;
}

.vt-media-save-json {
  margin: 10px 0 0;
}

.vt-media-json {
  margin-top: 10px;
  padding: 12px;
  max-height: 240px;
  overflow: auto;
  font-size: 0.75rem;
  line-height: 1.5;
  background: rgba(10, 36, 99, 0.04);
  border-radius: 10px;
  white-space: pre-wrap;
  word-break: break-all;
}

.vt-required {
  color: #ef4444;
}

.vt-media-dash {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.vt-media-dash-note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted, #64748b);
  margin: 0 0 12px;
}

.vt-media-dash-note code {
  font-size: 0.75rem;
  word-break: break-all;
}

.vt-media-dash h4 {
  margin: 12px 0 8px;
  font-size: 0.875rem;
}

.vt-media-dash-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vt-media-dash-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8125rem;
}

.vt-media-dash-list li:last-child {
  border-bottom: none;
}

.vt-media-platform-note a {
  color: var(--primary, #3b82f6);
  text-decoration: none;
}

.vt-media-platform-note a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .vt-media-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .vt-media-save-btn {
    opacity: 1;
  }
}

.vt-media-platform-tag--muted {
  border-style: dashed;
  opacity: 0.92;
}

/* ========== 音乐解析 ========== */
.vt-music-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.vt-music-cover {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(10, 36, 99, 0.12);
}

.vt-music-cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: rgba(10, 36, 99, 0.06);
}

.vt-music-info {
  flex: 1;
  min-width: 0;
}

.vt-music-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.vt-music-artist {
  font-size: 0.9375rem;
  color: var(--text-secondary, #475569);
  margin: 0 0 4px;
}

.vt-music-album {
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
  margin: 0 0 8px;
}

.vt-music-player audio {
  width: 100%;
  margin-bottom: 12px;
}

.vt-music-player-status {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
}

.vt-music-player-status--error {
  color: #dc2626;
}

.vt-music-lyrics {
  margin-top: 16px;
  font-size: 0.8125rem;
}

.vt-music-lyrics-body {
  margin: 10px 0;
  padding: 12px;
  max-height: 200px;
  overflow: auto;
  font-size: 0.8125rem;
  line-height: 1.7;
  white-space: pre-wrap;
  background: rgba(10, 36, 99, 0.04);
  border-radius: 10px;
}

.vt-music-search-list {
  margin-bottom: 16px;
}

.vt-music-search-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vt-music-search-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  background: var(--bg-card, #fff);
  border: 1px solid rgba(10, 36, 99, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.vt-music-search-item:hover {
  border-color: rgba(62, 146, 204, 0.45);
  background: rgba(62, 146, 204, 0.05);
}

.vt-music-search-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.vt-music-search-meta {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
}

@media (max-width: 640px) {
  .vt-music-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* 万能链接解析 - 抖音主页列表 */
.vt-apicx-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.vt-apicx-profile-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(10, 36, 99, 0.1);
  border-radius: 10px;
  background: var(--bg-card, #fff);
}

.vt-apicx-profile-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(10, 36, 99, 0.05);
}

.vt-apicx-profile-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.vt-apicx-profile-meta {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
}

.vt-apicx-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.vt-apicx-platforms {
  margin-top: 8px;
}

/* ========== 运动步数同步 ========== */
.vt-step-hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(62, 146, 204, 0.14) 0%, rgba(10, 36, 99, 0.08) 100%);
  border: 1px solid rgba(62, 146, 204, 0.22);
}

.vt-step-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.vt-step-hero-icon {
  font-size: 2.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.vt-step-hero-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.vt-step-hero-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.vt-step-sync-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vt-step-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.vt-step-sync-badge--wechat {
  background: rgba(7, 193, 96, 0.12);
  color: #059669;
  border: 1px solid rgba(7, 193, 96, 0.25);
}

.vt-step-sync-badge--alipay {
  background: rgba(22, 119, 255, 0.1);
  color: #1677ff;
  border: 1px solid rgba(22, 119, 255, 0.22);
}

.vt-step-sync-badge--band {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.22);
}

.vt-step-sync-badge--nodevice {
  background: rgba(100, 116, 139, 0.1);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.22);
}

.vt-step-tutorial-bind-card--band {
  margin-top: 10px;
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.18);
}

.vt-step-flow {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bg-card, #fff);
  border: 1px solid rgba(10, 36, 99, 0.08);
}

.vt-step-flow-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.vt-step-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.vt-step-flow-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.vt-step-flow-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(62, 146, 204, 0.15);
  color: #0a2463;
  font-size: 0.75rem;
  font-weight: 700;
}

.vt-step-flow-list strong {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 2px;
}

.vt-step-flow-list p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  line-height: 1.45;
}

.vt-step-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vt-step-pass-wrap {
  position: relative;
}

.vt-step-pass-wrap .vt-input {
  padding-right: 42px;
}

.vt-step-pass-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.65;
  padding: 4px;
}

.vt-step-pass-toggle:hover {
  opacity: 1;
}

.vt-step-steps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vt-step-steps-value {
  font-size: 1rem;
  font-weight: 700;
  color: #0a2463;
}

.vt-step-slider {
  width: 100%;
  height: 6px;
  margin: 8px 0 4px;
  accent-color: #3e92cc;
  cursor: pointer;
}

.vt-step-slider-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 10px;
}

.vt-step-count-input {
  margin-bottom: 10px;
}

.vt-step-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.vt-step-preset {
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(10, 36, 99, 0.12);
  background: var(--bg-card, #fff);
  font-size: 0.75rem;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s ease;
}

.vt-step-preset:hover,
.vt-step-preset.active {
  border-color: rgba(62, 146, 204, 0.5);
  background: rgba(62, 146, 204, 0.1);
  color: #0a2463;
  font-weight: 600;
}

.vt-step-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 12px 0 16px;
  cursor: pointer;
}

.vt-step-submit {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
}

.vt-step-note {
  margin: 12px 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted, #64748b);
}

.vt-step-result {
  margin-top: 20px;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
}

.vt-step-result--success {
  background: rgba(7, 193, 96, 0.08);
  border: 1px solid rgba(7, 193, 96, 0.22);
}

.vt-step-result--error {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.18);
  text-align: left;
}

.vt-step-result-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.vt-step-result-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.vt-step-result-desc {
  margin: 0 0 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.vt-step-result-card {
  text-align: left;
  background: var(--bg-card, #fff);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(10, 36, 99, 0.08);
}

.vt-step-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.8125rem;
  border-bottom: 1px dashed rgba(10, 36, 99, 0.08);
}

.vt-step-result-row:last-child {
  border-bottom: none;
}

.vt-step-result-row span {
  color: var(--text-muted, #64748b);
}

.vt-step-result-steps {
  font-size: 1.05rem;
  color: #059669;
}

.vt-step-result-next {
  text-align: left;
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.vt-step-result-next ul {
  margin: 8px 0;
  padding-left: 1.2em;
}

.vt-step-error-tips {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .vt-step-form-grid {
    grid-template-columns: 1fr;
  }
}

/* 完整教程折叠面板 */
.vt-step-tutorial {
  margin-bottom: 20px;
  border-radius: 14px;
  border: 1px solid rgba(62, 146, 204, 0.2);
  overflow: hidden;
  background: var(--bg-card, #fff);
}

.vt-step-tutorial-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: linear-gradient(135deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  transition: background 0.2s ease;
}

.vt-step-tutorial-toggle:hover {
  background: linear-gradient(135deg, rgba(62, 146, 204, 0.14) 0%, rgba(10, 36, 99, 0.06) 100%);
}

.vt-step-tutorial-toggle-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.vt-step-tutorial-toggle-text {
  flex: 1;
  min-width: 0;
}

.vt-step-tutorial-toggle-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.vt-step-tutorial-toggle-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  line-height: 1.4;
}

.vt-step-tutorial-chevron {
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--text-muted, #64748b);
  transition: transform 0.25s ease;
}

.vt-step-tutorial-toggle.is-open .vt-step-tutorial-chevron {
  transform: rotate(180deg);
}

.vt-step-tutorial-panel {
  padding: 4px 16px 18px;
  border-top: 1px solid rgba(10, 36, 99, 0.06);
  max-height: 420px;
  overflow-y: auto;
}

.vt-step-tutorial-section {
  padding: 14px 0;
  border-bottom: 1px dashed rgba(10, 36, 99, 0.08);
}

.vt-step-tutorial-section:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.vt-step-tutorial-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.vt-step-tutorial-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(62, 146, 204, 0.15);
  color: #0a2463;
  font-size: 0.6875rem;
  flex-shrink: 0;
}

.vt-step-tutorial-p {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.vt-step-tutorial-p:last-child {
  margin-bottom: 0;
}

.vt-step-tutorial-p code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(10, 36, 99, 0.06);
  font-size: 0.75rem;
}

.vt-step-tutorial-ol,
.vt-step-tutorial-ul {
  margin: 0 0 10px;
  padding-left: 1.25em;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.vt-step-tutorial-ol--compact {
  margin-bottom: 0;
  padding-left: 1.1em;
}

.vt-step-tutorial-ol li,
.vt-step-tutorial-ul li {
  margin-bottom: 4px;
}

.vt-step-tutorial-callout {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-top: 8px;
}

.vt-step-tutorial-callout--tip {
  background: rgba(62, 146, 204, 0.08);
  border: 1px solid rgba(62, 146, 204, 0.18);
  color: var(--text-secondary);
}

.vt-step-tutorial-callout--warn {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #92400e;
}

.vt-step-tutorial-download {
  margin: 12px 0 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(10, 36, 99, 0.03);
  border: 1px solid rgba(10, 36, 99, 0.08);
}

.vt-step-tutorial-download-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(10, 36, 99, 0.1);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vt-step-tutorial-download-card:hover {
  box-shadow: 0 4px 16px rgba(10, 36, 99, 0.12);
  transform: translateY(-1px);
}

.vt-step-tutorial-download-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: cover;
  object-position: left center;
  background: #fff;
}

.vt-step-tutorial-download-note {
  margin: 10px 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-secondary);
  word-break: break-all;
}

.vt-step-tutorial-download-url {
  color: #3e92cc;
  text-decoration: none;
  font-weight: 500;
}

.vt-step-tutorial-download-url:hover {
  text-decoration: underline;
}

.vt-step-tutorial-bind-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0;
}

.vt-step-tutorial-bind-card {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(10, 36, 99, 0.1);
}

.vt-step-tutorial-bind-card--wechat {
  background: rgba(7, 193, 96, 0.05);
  border-color: rgba(7, 193, 96, 0.18);
}

.vt-step-tutorial-bind-card--alipay {
  background: rgba(22, 119, 255, 0.05);
  border-color: rgba(22, 119, 255, 0.15);
}

.vt-step-tutorial-bind-title {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.vt-step-tutorial-faq {
  margin: 0;
}

.vt-step-tutorial-faq dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 10px;
}

.vt-step-tutorial-faq dt:first-child {
  margin-top: 0;
}

.vt-step-tutorial-faq dd {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.vt-step-open-tutorial {
  margin-top: 12px;
}

@media (max-width: 640px) {
  .vt-step-tutorial-bind-grid {
    grid-template-columns: 1fr;
  }

  .vt-step-tutorial-panel {
    max-height: 360px;
  }
}

/* ========== 小米步数修改（独立工具） ========== */
.vt-xms-hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 103, 0, 0.12) 0%, rgba(255, 68, 0, 0.06) 100%);
  border: 1px solid rgba(255, 103, 0, 0.22);
}

.vt-xms-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgba(255, 103, 0, 0.1);
  color: #c2410c;
  border: 1px solid rgba(255, 103, 0, 0.2);
}

.vt-xms-steps-value {
  color: #ea580c;
}

.vt-xms-slider {
  accent-color: #ff6700;
}

.vt-xms-submit {
  background: linear-gradient(135deg, #ff6700 0%, #ff4400 100%);
  border: none;
}

.vt-xms-submit:hover:not(:disabled) {
  filter: brightness(1.05);
}

.vt-xms-device-id {
  font-size: 0.6875rem;
  word-break: break-all;
  color: var(--text-muted, #64748b);
}

/* ========== 刷步工具试用密码锁 ========== */
.vt-step-lock {
  max-width: 420px;
  margin: 8px auto 24px;
  padding: 28px 24px 24px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(10, 36, 99, 0.04) 0%, rgba(62, 146, 204, 0.06) 100%);
  border: 1px solid rgba(10, 36, 99, 0.1);
}

.vt-step-lock-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 12px;
}

.vt-step-lock-title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.vt-step-lock-desc {
  margin: 0 0 20px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.vt-step-lock-form {
  text-align: left;
}

.vt-step-lock-form .vt-field {
  margin-bottom: 16px;
}

.vt-step-lock-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vt-step-lock-actions .vt-btn {
  width: 100%;
  justify-content: center;
}

.vt-step-lock-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.vt-step-lock-hint {
  margin: 16px 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
}
