/* ===== 体质测试页独有样式 ===== */
.container { max-width: 780px; margin: 0 auto; padding: 20px; }
.header { text-align: center; padding: 30px 0; }
.header h1 { font-size: 26px; color: #2e7d32; }
.header p { color: #666; margin-top: 8px; font-size: 14px; }
.question-card { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.q-number { display: inline-block; background: #2e7d32; color: #fff; width: 28px; height: 28px; border-radius: 50%; text-align: center; line-height: 28px; font-size: 13px; margin-right: 8px; }
.q-text { font-size: 16px; font-weight: 500; }
.options { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.options label { flex: 1; min-width: 60px; text-align: center; padding: 8px 6px; border: 2px solid #e0e0e0; border-radius: 8px; cursor: pointer; font-size: 13px; transition: all .2s; }
.options input { display: none; }
.options input:checked + span { background: #2e7d32; color: #fff; display: block; padding: 8px 6px; border-radius: 6px; margin: -8px -6px; }
.options label:has(input:checked) { border-color: #2e7d32; background: #e8f5e9; }
.progress-bar { background: #e0e0e0; border-radius: 10px; height: 6px; margin: 20px 0; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #2e7d32, #388e3c); border-radius: 10px; transition: width .3s; }
.progress-text { text-align: center; color: #888; font-size: 13px; margin-bottom: 10px; }
.btn { display: inline-block; padding: 14px 48px; border: none; border-radius: 30px; font-size: 18px; cursor: pointer; transition: all .3s; font-weight: 500; }
.btn-primary { background: #2e7d32; color: #fff; }
.btn-primary:hover { background: #1557b0; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,115,232,0.3); }
.btn-primary:disabled { background: #a8c7fa; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary { background: #fff; color: #2e7d32; border: 2px solid #2e7d32; }
.btn-area { text-align: center; padding: 30px 0; }
.result-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.result-header { padding: 30px; text-align: center; color: #fff; }
.result-header .emoji { font-size: 64px; display: block; margin-bottom: 10px; }
.result-header h2 { font-size: 24px; margin-bottom: 8px; }
.result-header p { font-size: 14px; opacity: 0.9; }
.result-body { padding: 24px; }
.result-section { margin-bottom: 24px; }
.result-section h3 { font-size: 16px; color: #333; margin-bottom: 12px; padding-left: 12px; border-left: 3px solid #2e7d32; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tag { background: #f0f4f8; padding: 6px 14px; border-radius: 20px; font-size: 13px; color: #555; }
.advice-list { list-style: none; }
.advice-list li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; display: flex; align-items: flex-start; }
.advice-list li:before { content: "•"; color: #2e7d32; font-weight: bold; margin-right: 8px; }
.advice-list li:last-child { border: none; }
.sub-score { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; margin-left: 8px; }
.sub-score.high { background: #fff3e0; color: #e65100; }
.sub-score.mid { background: #f3e5f5; color: #7b1fa2; }
.disclaimer { background: #fff8e1; border: 1px solid #ffe082; border-radius: 8px; padding: 12px 16px; margin: 20px 0; font-size: 12px; color: #795548; line-height: 1.6; }
.share-bar { text-align: center; padding: 20px 0; }
.share-btn { display: inline-block; padding: 10px 24px; margin: 0 6px; border-radius: 24px; border: none; font-size: 14px; cursor: pointer; }
.footer { text-align: center; padding: 20px; color: #999; font-size: 12px; }
.footer a { color: #666; text-decoration: none; }
.hidden { display: none; }
@media (max-width: 600px) {
    .container { padding: 12px; }
    .question-card { padding: 14px; }
    .options label { font-size: 12px; min-width: 45px; }
}
.loading { text-align: center; padding: 60px 0; }
.spinner { width: 40px; height: 40px; border: 4px solid #e0e0e0; border-top-color: #2e7d32; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
