/* L15 · 词汇测验 UI */
.vq-header { margin-bottom: 0.75rem; }
.vq-lead {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 0.65rem;
  line-height: 1.5;
}
.vq-lead strong { color: #4338ca; }

.vq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}
.vq-tab {
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: #fff;
  border-radius: 12px;
  padding: 0.4rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: #475569;
  transition: all 0.15s;
}
.vq-tab-icon { margin-right: 0.2rem; opacity: 0.7; }
.vq-tab.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.28);
}

.vq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.vq-select {
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
}
.vq-btn {
  border: 1px solid rgba(99, 102, 241, 0.25);
  background: #fff;
  border-radius: 10px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: #4338ca;
}
.vq-btn.primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
}
.vq-btn.ghost { color: #64748b; }
.vq-btn.tts { background: #eef2ff; }

.vq-mode-desc {
  font-size: 0.82rem;
  color: #475569;
  padding: 0.45rem 0.65rem;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  border-left: 3px solid #6366f1;
}

.vq-progress-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.45rem;
}
.vq-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 999px;
  transition: width 0.25s;
}

.vq-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.55rem;
}

.vq-card {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  margin-bottom: 0.65rem;
}
.vq-stem {
  font-weight: 800;
  font-size: 0.92rem;
  color: #1e1b4b;
  margin: 0 0 0.55rem;
  line-height: 1.45;
}
.vq-stem-html { margin-bottom: 0.65rem; }
.vq-ctx {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  margin-bottom: 0.45rem;
}
.vq-ex {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
  color: #334155;
  margin: 0.35rem 0;
  padding: 0.55rem 0.65rem;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.vq-ex-mini {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.35rem 0 0;
}
.vq-prompt {
  font-size: 0.9rem;
  margin: 0.35rem 0;
  color: #334155;
}
.vq-hint-zh {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0.35rem 0 0;
  line-height: 1.5;
}
.vq-mark {
  background: #fef3c7;
  color: #b45309;
  padding: 0 0.15rem;
  border-radius: 4px;
  font-weight: 900;
}
.vq-blank {
  display: inline-block;
  min-width: 4.5rem;
  border-bottom: 2px solid #6366f1;
  color: #6366f1;
  font-weight: 900;
  text-align: center;
}

.vq-opts {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.vq-opt {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.12s;
  line-height: 1.4;
}
.vq-opt:hover:not(:disabled) {
  border-color: #a5b4fc;
  background: #f8fafc;
}
.vq-opt.ok {
  border-color: #10b981;
  background: #ecfdf5;
  color: #047857;
}
.vq-opt.bad {
  border-color: #ef4444;
  background: #fef2f2;
  color: #b91c1c;
}

.vq-fb {
  margin-top: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
}
.vq-fb.ok { background: #ecfdf5; color: #047857; }
.vq-fb.bad { background: #fef2f2; color: #b91c1c; }

.vq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.vq-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  max-height: 72px;
  overflow-y: auto;
}
.vq-dot {
  min-width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  color: #64748b;
}
.vq-dot.active {
  border-color: #6366f1;
  background: #eef2ff;
  color: #4338ca;
}
.vq-dot.done {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

.vq-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.55rem;
  margin: 0.75rem 0;
}
.vq-hub-card {
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  background: linear-gradient(180deg, #fff, #f8fafc);
  text-align: center;
}
.vq-hub-card strong {
  display: block;
  font-size: 1.1rem;
  color: #4338ca;
}
.vq-hub-card span {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}
