/* 词汇量测试 */
.vc-wrap { max-width: 720px; margin: 0 auto; padding: 0 12px; }

/* 开始页 */
.vc-start { background: #fff; border: 1px solid #dbeafe; border-radius: 12px; padding: 32px 24px; text-align: center; }
.vc-start-icon { font-size: 56px; margin-bottom: 12px; }
.vc-start h2 { margin: 0; font-size: 22px; color: #1e40af; }
.vc-start-desc { color: #4b5563; font-size: 14px; margin: 8px 0; line-height: 1.6; }

.vc-levels { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 24px 0; text-align: left; }
.vc-level { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #eff6ff; border-radius: 8px; border: 1px solid #dbeafe; }
.vc-level-badge { font-size: 22px; }
.vc-level-info { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #6b7280; }
.vc-level-info strong { color: #1e40af; font-size: 13px; }

.vc-btn { padding: 12px 28px; border: 0; border-radius: 6px; cursor: pointer; font-size: 15px; font-weight: 500; transition: all .15s; }
.vc-btn-primary { background: linear-gradient(135deg, #2563eb, #1e40af); color: #fff; }
.vc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(30, 64, 175, .35); }
.vc-btn-secondary { background: #fff; color: #2563eb; border: 1px solid #dbeafe; }
.vc-btn-secondary:hover { background: #eff6ff; }

/* 题目页 */
.vc-quest { background: #fff; border: 1px solid #dbeafe; border-radius: 12px; padding: 28px 24px; }
.vc-progress { height: 8px; background: #f3f4f6; border-radius: 4px; overflow: hidden; }
.vc-progress-bar { height: 100%; background: linear-gradient(90deg, #3b82f6, #2563eb); transition: width .3s; }
.vc-progress-text { text-align: right; font-size: 12px; color: #6b7280; margin-top: 6px; }
.vc-word { font-size: 42px; font-weight: 800; color: #1e40af; text-align: center; margin: 28px 0 8px; letter-spacing: -1px; }
.vc-prompt { text-align: center; color: #6b7280; font-size: 14px; margin: 0 0 18px; }
.vc-options { display: flex; flex-direction: column; gap: 10px; }
.vc-opt { padding: 14px 18px; background: #fff; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 15px; color: #1f2937; cursor: pointer; transition: all .15s; text-align: left; }
.vc-opt:hover { background: #eff6ff; border-color: #3b82f6; transform: translateX(2px); }
.vc-meta { text-align: center; font-size: 12px; color: #9ca3af; margin-top: 16px; }

/* 结果页 */
.vc-result { background: #fff; border: 1px solid #dbeafe; border-radius: 12px; overflow: hidden; }
.vc-result-head { background: linear-gradient(135deg, #1e40af, #2563eb); color: #fff; padding: 32px 22px; text-align: center; }
.vc-vocab-num { font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.vc-vocab-lab { font-size: 14px; opacity: .9; margin-top: 6px; }
.vc-master-badge { display: inline-block; margin-top: 12px; padding: 6px 16px; background: rgba(255,255,255,.2); border-radius: 18px; font-size: 14px; }

.vc-tip { padding: 14px 20px; background: #fef3c7; color: #92400e; font-size: 13px; line-height: 1.7; }

.vc-result-detail { padding: 18px 22px; border-top: 1px solid #f3f4f6; }
.vc-result-detail h4 { margin: 0 0 12px; font-size: 14px; color: #1e40af; font-weight: 600; }

.vc-level-grid { display: flex; flex-direction: column; gap: 10px; }
.vc-level-stat { background: #f9fafb; padding: 10px 14px; border-radius: 8px; }
.vc-level-stat-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #4b5563; }
.vc-level-stat-bar { height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden; margin-top: 6px; }
.vc-level-stat-bar-fill { height: 100%; transition: width .5s; }

.vc-wrongs { display: flex; flex-direction: column; gap: 6px; }
.vc-wrong { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 10px; padding: 8px 12px; background: #fef2f2; border-radius: 6px; font-size: 12px; }
.vc-wrong-word { font-weight: 700; color: #1f2937; font-family: ui-monospace, monospace; }
.vc-wrong-your { color: #dc2626; }
.vc-wrong-correct { color: #059669; font-weight: 600; }

.vc-actions { display: flex; gap: 10px; padding: 18px 22px; background: #f9fafb; }
.vc-actions .vc-btn { flex: 1; }

.vc-history { margin-top: 14px; text-align: center; font-size: 12px; color: #6b7280; padding: 10px; background: #f3f4f6; border-radius: 6px; }

@media (max-width: 600px) {
  .vc-word { font-size: 32px; }
  .vc-vocab-num { font-size: 40px; }
  .vc-wrong { grid-template-columns: 80px 1fr; }
  .vc-wrong-correct { grid-column: 1 / -1; padding-left: 90px; }
}
