/**
 * 九型人格结果页样式
 * 所有样式遵循横向编写、选择器换行的规则
 */

/* ===== 基础页面样式 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { width: 100%; scroll-behavior: smooth; }
body { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%); min-height: 100vh; line-height: 1.7; width: 100%; }
.wrap { max-width: 75rem; margin: 0 auto; padding: 4.375rem 1.75rem 8.75rem; width: 100%; }

/* ===== 加载遮罩 ===== */
.loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s ease, visibility 0.5s ease; }
.loading-overlay.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-spinner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.spinner-ring { position: absolute; width: 5rem; height: 5rem; border-radius: 50%; border: 0.25rem solid transparent; animation: spin 1.2s linear infinite; }
.spinner-ring:nth-child(1) { border-top-color: #667eea; animation-delay: 0s; }
.spinner-ring:nth-child(2) { width: 4.062rem; height: 4.062rem; border-right-color: #764ba2; animation-delay: 0.15s; animation-direction: reverse; }
.spinner-ring:nth-child(3) { width: 3.125rem; height: 3.125rem; border-bottom-color: #a5b4fc; animation-delay: 0.3s; }
.loading-text { margin-top: 3.75rem; font-size: 1.125rem; color: rgba(255,255,255,0.8); letter-spacing: 0.125rem; animation: pulse 1.5s ease-in-out infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* ===== 头部英雄区域 ===== */
.header-hero { padding: 2.812rem 2.25rem; background: rgba(255,255,255,0.03); border-radius: 2rem; margin-bottom: 2.25rem; border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 2.812rem; }
.hero-content { flex: 1; min-width: 0; }
.hero-image { flex-shrink: 0; width: 20rem; display: flex; align-items: center; justify-content: center; }
.type-badge { display: inline-block; padding: 0.875rem 2rem; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 1.75rem; font-size: 1.125rem; color: rgba(255,255,255,0.95); margin-bottom: 1.375rem; font-weight: 600; }
.user-greeting { font-size: 1.375rem; color: #abdb87; margin-bottom: 0.938rem; font-weight: 600; }
.type-code-big { font-size: 6.25rem; font-weight: 900; background: linear-gradient(135deg, #a5b4fc, #818cf8, #c4b5fd); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 0.625rem; line-height: 1; margin-bottom: 0.875rem; }
.type-name-big { font-size: 2.5rem; font-weight: 700; color: #fff; margin: 0.875rem 0; }
.type-title-big { font-size: 1.375rem; color: rgba(255,255,255,0.7); margin-bottom: 1.125rem; }

/* ===== 区块卡片包裹层 ===== */
.section-card { background: rgba(255,255,255,0.03); border-radius: 1.75rem; padding: 2.25rem; margin-bottom: 2rem; border: 1px solid rgba(255,255,255,0.06); position: relative; overflow: hidden; }
.section-card::before { content: ''; position: absolute; top: -30%; right: -15%; width: 18.75rem; height: 18.75rem; background: radial-gradient(circle, rgba(102,126,234,0.08) 0%, transparent 70%); pointer-events: none; }
.section-title { font-size: 1.562rem; font-weight: 700; color: #fff; margin-bottom: 1.375rem; display: flex; align-items: center; gap: 0.75rem; }
.section-help-link { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; background: rgba(102,126,234,0.15); border-radius: 50%; color: #a5b4fc; text-decoration: none; transition: all 0.3s; margin-left: auto; }
.section-help-link:hover { background: rgba(102,126,234,0.3); color: #fff; transform: scale(1.1); }
.section-help-link svg { width: 1.8rem; height: 1.8rem; }
.section-intro { font-size: 1.062rem; color: rgba(255,255,255,0.65); line-height: 1.9; margin-bottom: 1.562rem; padding: 1.125rem 1.375rem; background: rgba(255,255,255,0.02); border-radius: 0.875rem; border-left: 0.25rem solid #667eea; }

/* ===== 组别导航 ===== */
.group-nav { background: rgba(255,255,255,0.03); border-radius: 1.25rem; padding: 1.25rem 1.562rem; margin-bottom: 1.875rem; border: 1px solid rgba(255,255,255,0.06); }
.group-nav-label { font-size: 1rem; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.group-nav-items { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.group-type-link { text-decoration: none; }
.group-type-item { display: inline-flex; align-items: center; justify-content: center; padding: 0.625rem 1.25rem; border-radius: 0.75rem; font-size: 1rem; font-weight: 600; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: all 0.3s; }
.group-type-item:hover { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.95); transform: translateY(-2px); }
.group-type-item.current { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-color: transparent; font-weight: 700; box-shadow: 0 0.25rem 0.938rem rgba(102,126,234,0.4); }

/* ===== 九型人格图表 ===== */
.enneagram-diagram { width: 100%; max-width: 17.5rem; margin: 0 auto; }
.enneagram-diagram svg { width: 100%; height: auto; }
.enneagram-node { cursor: pointer; transition: all 0.3s; }
.enneagram-node:hover { transform: scale(1.1); }
.enneagram-node.active { filter: drop-shadow(0 0 10px rgba(102,126,234,0.8)); }
.enneagram-node-circle { fill: rgba(255,255,255,0.1); stroke: rgba(255,255,255,0.3); stroke-width: 2; transition: all 0.3s; }
.enneagram-node.active .enneagram-node-circle { fill: rgba(102,126,234,0.3); stroke: #667eea; stroke-width: 3; }
.enneagram-node-text { fill: #fff; font-size: 0.875rem; font-weight: 700; text-anchor: middle; dominant-baseline: middle; }
.enneagram-connection { stroke: rgba(255,255,255,0.15); stroke-width: 1; fill: none; }
.enneagram-connection.growth { stroke: rgba(16,185,129,0.5); stroke-dasharray: 5,5; }
.enneagram-connection.stress { stroke: rgba(239,68,68,0.5); stroke-dasharray: 5,5; }

/* ===== 签名引言 ===== */
.signature-quote { font-size: 1.375rem; font-weight: 600; color: #a5b4fc; text-align: center; padding: 1.562rem 1.875rem; margin-bottom: 1.562rem; background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.1)); border-radius: 1.25rem; border-left: 0.375rem solid #667eea; font-style: italic; line-height: 1.8; position: relative; }
.signature-quote::before { content: '"'; font-size: 2.5rem; color: rgba(102,126,234,0.3); position: absolute; top: 0.312rem; left: 0.938rem; line-height: 1; }
.signature-quote::after { content: '"'; font-size: 2.5rem; color: rgba(102,126,234,0.3); position: absolute; bottom: 0.312rem; right: 0.938rem; line-height: 1; }

/* ===== 性格描述 ===== */
.desc-content { font-size: 1.125rem; color: rgba(255,255,255,0.8); line-height: 2; margin-bottom: 1.562rem; }
.desc-content p { margin-bottom: 0.938rem; }
.trait-tag { display: inline-block; padding: 0.625rem 1.25rem; background: linear-gradient(135deg, rgba(102,126,234,0.3), rgba(118,75,162,0.3)); border: 1px solid rgba(102,126,234,0.5); border-radius: 1.562rem; font-size: 1rem; color: #fff; font-weight: 500; margin: 0.312rem; }

/* ===== 核心动力卡片 ===== */
.core-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.core-card { background: rgba(255,255,255,0.04); border-radius: 1.25rem; padding: 1.562rem; text-align: center; border: 1px solid rgba(255,255,255,0.08); transition: all 0.3s; }
.core-card:hover { transform: translateY(-3px); box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.2); background: rgba(255,255,255,0.06); }
.core-card-icon { font-size: 2.188rem; margin-bottom: 0.75rem; }
.core-card-label { font-size: 0.938rem; color: rgba(255,255,255,0.6); margin-bottom: 0.625rem; text-transform: uppercase; letter-spacing: 0.062rem; }
.core-card-value { font-size: 1.125rem; color: #fff; font-weight: 600; line-height: 1.6; }

/* ===== 优势与挑战双栏 ===== */
.cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.875rem; margin-bottom: 2rem; }
.card-box { background: rgba(255,255,255,0.03); border-radius: 1.75rem; padding: 1.875rem; border: 1px solid rgba(255,255,255,0.06); }
.card-box.strength { border-top: 0.312rem solid #10b981; background: linear-gradient(180deg, rgba(16,185,129,0.05), transparent); }
.card-box.weakness { border-top: 0.312rem solid #f59e0b; background: linear-gradient(180deg, rgba(245,158,11,0.05), transparent); }
.card-title { font-size: 1.375rem; font-weight: 700; color: #fff; margin-bottom: 1.25rem; }
.card-box.strength .card-title { color: #10b981; }
.card-box.weakness .card-title { color: #f59e0b; }
.strength-item, .weakness-item { font-size: 1.062rem; color: rgba(255,255,255,0.8); padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); line-height: 1.7; }
.strength-item:last-child, .weakness-item:last-child { border-bottom: none; }

/* ===== 翼型分析 ===== */
.wing-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: 1.25rem; }
.wing-card { background: rgba(255,255,255,0.04); border-radius: 1.125rem; padding: 1.375rem; border: 1px solid rgba(255,255,255,0.08); }
.wing-card h4 { font-size: 1.188rem; color: #a5b4fc; margin-bottom: 0.75rem; font-weight: 700; }
.wing-card p { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.8; }
.user-wing-result { background: linear-gradient(135deg, rgba(102,126,234,0.2), rgba(118,75,162,0.15)); border-radius: 1.125rem; padding: 1.25rem; text-align: center; border: 1px solid rgba(102,126,234,0.3); }
.user-wing-result .label { font-size: 0.938rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.user-wing-result .value { font-size: 1.375rem; color: #a5b4fc; font-weight: 700; }

/* ===== 成长路径 ===== */
.growth-section { margin-top: 1.25rem; }
.growth-diagram { display: flex; align-items: center; justify-content: center; gap: 0.938rem; margin-bottom: 1.562rem; flex-wrap: wrap; }
.growth-box { background: rgba(255,255,255,0.05); border-radius: 1rem; padding: 1.125rem 1.562rem; text-align: center; min-width: 8.75rem; }
.growth-box .label { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-bottom: 0.312rem; }
.growth-box .type { font-size: 1.562rem; font-weight: 800; color: #fff; }
.growth-box.growth { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.1)); border: 1px solid rgba(16,185,129,0.3); }
.growth-box.growth .type { color: #34d399; }
.growth-box.current { background: linear-gradient(135deg, rgba(102,126,234,0.3), rgba(118,75,162,0.2)); border: 2px solid #667eea; }
.growth-box.current .type { color: #a5b4fc; }
.growth-box.stress { background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(239,68,68,0.1)); border: 1px solid rgba(239,68,68,0.3); }
.growth-box.stress .type { color: #f87171; }
.growth-arrow { font-size: 1.562rem; color: rgba(255,255,255,0.3); }
.growth-desc { display: flex; flex-direction: column; gap: 0.938rem; }
.growth-desc-item { font-size: 1.062rem; color: rgba(255,255,255,0.8); line-height: 1.8; padding: 0.938rem 1.25rem; background: rgba(255,255,255,0.02); border-radius: 0.75rem; }
.text-green { color: #34d399; }
.text-red { color: #f87171; }
.text-secondary { color: rgba(255,255,255,0.7); }

/* ===== 职业建议 ===== */
.career-analysis { background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.05)); border-radius: 1.25rem; padding: 1.562rem; margin-bottom: 1.562rem; border: 1px solid rgba(102,126,234,0.2); }
.career-analysis-title { font-size: 1.25rem; font-weight: 700; color: #a5b4fc; margin-bottom: 0.938rem; }
.career-analysis-text { font-size: 1.062rem; color: rgba(255,255,255,0.8); line-height: 1.9; margin-bottom: 0.938rem; }
.career-tips-box { background: rgba(16,185,129,0.1); border-radius: 0.875rem; padding: 1.25rem; border: 1px solid rgba(16,185,129,0.2); }
.career-tips-title { font-size: 1.125rem; font-weight: 700; color: #34d399; margin-bottom: 0.625rem; }
.career-tips-text { font-size: 1rem; color: rgba(255,255,255,0.8); line-height: 1.8; }
.career-section { margin-bottom: 1.562rem; }
.career-section-title { font-size: 1.188rem; font-weight: 700; margin-bottom: 0.938rem; }
.career-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.career-tag { display: inline-block; padding: 0.625rem 1.25rem; border-radius: 1.25rem; font-size: 1rem; font-weight: 500; }
.career-tag.suitable { background: rgba(16,185,129,0.2); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.career-tag.avoid { background: rgba(239,68,68,0.2); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.leadership-box { background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(168,85,247,0.05)); border-radius: 1.125rem; padding: 1.375rem; border: 1px solid rgba(168,85,247,0.25); margin-top: 1.25rem; }
.leadership-title { font-size: 1.188rem; font-weight: 700; color: #c084fc; margin-bottom: 0.75rem; }
.leadership-text { font-size: 1.062rem; color: rgba(255,255,255,0.8); line-height: 1.8; }

/* ===== 人际关系 ===== */
.relationship-intro { font-size: 1.125rem; color: rgba(255,255,255,0.75); line-height: 1.9; margin-bottom: 1.562rem; padding: 1.25rem; background: rgba(255,255,255,0.02); border-radius: 0.875rem; border-left: 0.25rem solid #ec4899; }
.relationship-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.relationship-card { background: rgba(255,255,255,0.04); border-radius: 1.125rem; padding: 1.375rem; border: 1px solid rgba(255,255,255,0.08); transition: all 0.3s; }
.relationship-card:hover { transform: translateY(-3px); box-shadow: 0 0.625rem 1.562rem rgba(0,0,0,0.2); }
.relationship-card-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; }
.relationship-card-text { font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.8; }
.relationship-love { border-left: 0.25rem solid #ec4899; }
.relationship-love .relationship-card-title { color: #f472b6; }
.relationship-friend { border-left: 0.25rem solid #38b2ac; }
.relationship-friend .relationship-card-title { color: #4fd1c5; }
.relationship-colleague { border-left: 0.25rem solid #667eea; }
.relationship-colleague .relationship-card-title { color: #818cf8; }
.relationship-conflict { border-left: 0.25rem solid #f59e0b; }
.relationship-conflict .relationship-card-title { color: #fbbf24; }

/* ===== 成长建议 ===== */
.dev-tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.125rem; }
.dev-tip-item { display: flex; align-items: flex-start; gap: 0.938rem; padding: 1.25rem; background: rgba(255,255,255,0.04); border-radius: 1rem; border: 1px solid rgba(255,255,255,0.08); transition: all 0.3s; }
.dev-tip-item:hover { background: rgba(255,255,255,0.06); transform: translateX(5px); }
.dev-tip-num { display: flex; align-items: center; justify-content: center; width: 2.188rem; height: 2.188rem; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 50%; font-size: 1rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.dev-tip-text { font-size: 1.062rem; color: rgba(255,255,255,0.8); line-height: 1.7; }

/* ===== 健康层级 ===== */
.health-levels-table { display: flex; flex-direction: column; gap: 0.938rem; }
.health-level { background: rgba(255,255,255,0.04); border-radius: 1.125rem; padding: 1.375rem; border: 1px solid rgba(255,255,255,0.08); }
.health-level.healthy { border-left: 0.312rem solid #10b981; background: linear-gradient(90deg, rgba(16,185,129,0.08), transparent); }
.health-level.average { border-left: 0.312rem solid #667eea; background: linear-gradient(90deg, rgba(102,126,234,0.08), transparent); }
.health-level.unhealthy { border-left: 0.312rem solid #ef4444; background: linear-gradient(90deg, rgba(239,68,68,0.08), transparent); }
.level-header { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.625rem; }
.level-icon { font-size: 1.25rem; }
.level-title { font-size: 1.125rem; font-weight: 700; }
.health-level.healthy .level-title { color: #34d399; }
.health-level.average .level-title { color: #818cf8; }
.health-level.unhealthy .level-title { color: #f87171; }
.level-desc { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.8; }

/* ===== 分数条形图 ===== */
.scores-bars { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.562rem; }
.score-bar-item { display: flex; align-items: center; gap: 0.938rem; }
.score-bar-label { width: 3.125rem; font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.8); text-align: right; }
.score-bar-track { flex: 1; height: 1.25rem; background: rgba(255,255,255,0.1); border-radius: 0.625rem; overflow: hidden; position: relative; }
.score-bar-fill { height: 100%; border-radius: 0.625rem; transition: width 0.8s ease; }
.score-bar-value { width: 3.125rem; font-size: 0.938rem; font-weight: 600; color: rgba(255,255,255,0.7); text-align: left; }

/* ===== 分数图例说明 ===== */
.scores-legend { margin-top: 1.562rem; padding: 1.25rem; background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.05)); border-radius: 1.125rem; border: 1px solid rgba(102,126,234,0.2); }
.legend-title { font-size: 1.125rem; font-weight: 700; color: #a5b4fc; margin-bottom: 0.938rem; }
.legend-content p { font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.9; margin-bottom: 0.625rem; }
.legend-content p:last-child { margin-bottom: 0; }
.legend-types { color: #818cf8; font-weight: 500; }

/* ===== 雷达图区域 ===== */
.radar-section { margin-bottom: 1.25rem; }
.radar-container { position: relative; height: 20rem; max-width: 25rem; width: 100%; margin: 0 auto; }
.radar-container canvas { display: block; margin: 0 auto; }

/* ===== 置信度显示 ===== */
.confidence-display { display: block; padding: 0.938rem 1.25rem; background: rgba(255,255,255,0.05); border-radius: 1.25rem; margin-top: 0.938rem; border: 1px solid rgba(255,255,255,0.08); }
.confidence-header { display: flex; align-items: center; gap: 0.625rem; cursor: pointer; user-select: none; }
.confidence-header:hover { opacity: 0.9; }
.confidence-label { font-size: 0.938rem; color: rgba(255,255,255,0.6); }
.confidence-value { font-size: 1.125rem; font-weight: 700; }
.confidence-high { color: #34d399; }
.confidence-medium { color: #fbbf24; }
.confidence-low { color: #f87171; }
.confidence-toggle { font-size: 0.812rem; color: #a5b4fc; margin-left: auto; }
.confidence-detail { margin-top: 0.938rem; padding-top: 0.938rem; border-top: 1px solid rgba(255,255,255,0.1); }
.confidence-summary { margin-bottom: 0.938rem; }
.confidence-desc { font-size: 0.938rem; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 0.625rem; }
.confidence-stats { display: flex; gap: 0.938rem; flex-wrap: wrap; }
.confidence-stats .stat-item { display: flex; flex-direction: column; gap: 0.188rem; padding: 0.625rem 0.938rem; background: rgba(255,255,255,0.05); border-radius: 0.625rem; }
.confidence-stats .stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.confidence-stats .stat-value { font-size: 1rem; font-weight: 700; color: #a5b4fc; }
.confidence-scores { margin-bottom: 0.938rem; }
.confidence-scores .scores-title { font-size: 0.938rem; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 0.625rem; }
.confidence-score-item { display: flex; align-items: center; gap: 0.625rem; padding: 0.5rem 0.625rem; background: rgba(255,255,255,0.03); border-radius: 0.625rem; margin-bottom: 0.312rem; }
.confidence-score-item.main-type { background: rgba(102,126,234,0.15); border: 1px solid rgba(102,126,234,0.3); }
.confidence-score-item .score-rank { width: 1.25rem; height: 1.25rem; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.confidence-score-item .score-type { font-size: 0.875rem; color: rgba(255,255,255,0.9); min-width: 7.5rem; }
.confidence-score-item .score-bar-wrap { flex: 1; height: 0.5rem; background: rgba(255,255,255,0.1); border-radius: 0.25rem; overflow: hidden; }
.confidence-score-item .score-bar { height: 100%; background: linear-gradient(90deg, #667eea, #a5b4fc); border-radius: 0.25rem; transition: width 0.5s ease; }
.confidence-score-item .score-value { font-size: 0.875rem; font-weight: 600; color: #a5b4fc; min-width: 2.5rem; text-align: right; }
.confidence-score-item .main-badge { font-size: 0.688rem; padding: 0.125rem 0.375rem; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 0.312rem; color: #fff; }
.confidence-suggestions { padding: 0.75rem; background: rgba(251,191,36,0.1); border-radius: 0.625rem; border-left: 3px solid #fbbf24; }
.confidence-suggestions .suggestions-title { font-size: 0.938rem; font-weight: 600; color: #fbbf24; margin-bottom: 0.5rem; }
.confidence-suggestions .suggestions-list { list-style: none; padding: 0; margin: 0; }
.confidence-suggestions .suggestions-list li { font-size: 0.875rem; color: rgba(255,255,255,0.8); padding: 0.312rem 0; padding-left: 0.938rem; position: relative; line-height: 1.6; }
.confidence-suggestions .suggestions-list li::before { content: '•'; position: absolute; left: 0; color: #fbbf24; }

/* ===== 动态内容区域 ===== */
#love-content-area, #life-stages-area, #stress-area, #mental-health-area { font-size: 1.062rem; color: rgba(255,255,255,0.8); line-height: 1.9; }
.content-block { margin-bottom: 1.25rem; padding: 1.25rem; background: rgba(255,255,255,0.02); border-radius: 0.875rem; }
.content-block-title { font-size: 1.188rem; font-weight: 700; color: #a5b4fc; margin-bottom: 0.75rem; }
.content-block-text { font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.8; }

/* 指标网格 */
.indices-grid { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 0.938rem; }
.index-item { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.938rem; background: rgba(255,255,255,0.03); border-radius: 0.625rem; }
.index-label { font-size: 0.875rem; color: rgba(255,255,255,0.6); min-width: 5rem; }
.index-value { font-size: 1rem; font-weight: 700; color: #a5b4fc; min-width: 3.125rem; }
.index-desc { font-size: 0.812rem; color: rgba(255,255,255,0.6); flex: 1; }

/* 恋爱指标柱状图 */
.love-chart-section { margin-top: 1.25rem; padding: 0.938rem; background: rgba(255,255,255,0.02); border-radius: 0.938rem; }
.chart-title { font-size: 1rem; font-weight: 700; color: #a5b4fc; margin-bottom: 0.938rem; }
.love-bars { display: flex; flex-direction: column; gap: 0.938rem; }
.love-bar-item { display: flex; flex-direction: column; gap: 0.5rem; }
.bar-header { display: flex; justify-content: space-between; align-items: center; }
.bar-label { font-size: 0.938rem; color: rgba(255,255,255,0.8); font-weight: 500; }
.bar-value { font-size: 0.938rem; font-weight: 700; color: #a5b4fc; }
.bar-track { height: 0.75rem; background: rgba(255,255,255,0.1); border-radius: 0.375rem; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 0.375rem; transition: width 0.8s ease; position: relative; }
.bar-fill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); animation: shimmer 2s infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.bar-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; padding-left: 0.312rem; border-left: 0.188rem solid rgba(102,126,234,0.3); }

/* 需求网格 */
.needs-grid, .strengths-grid, .challenges-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 0.938rem; }
.need-item, .strength-item, .challenge-item { padding: 0.938rem; background: rgba(255,255,255,0.03); border-radius: 0.75rem; }
.need-name, .strength-name, .challenge-name { display: block; font-size: 0.938rem; font-weight: 600; color: #a5b4fc; margin-bottom: 0.5rem; }
.need-desc, .strength-desc, .challenge-desc { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.challenge-advice { display: block; font-size: 0.812rem; color: #34d399; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* 匹配网格 */
.match-grid { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 0.938rem; }
.match-item { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.75rem 0.938rem; background: rgba(255,255,255,0.03); border-radius: 0.625rem; }
.match-item.best { background: rgba(102,126,234,0.1); }
.match-item.good { background: rgba(16,185,129,0.08); }
.match-item.challenge { background: rgba(239,68,68,0.08); }
.match-code { font-size: 1rem; font-weight: 800; color: #667eea; min-width: 2.5rem; }
.match-name { font-size: 0.875rem; color: rgba(255,255,255,0.7); min-width: 5rem; }
.match-reason { font-size: 0.875rem; color: rgba(255,255,255,0.75); flex: 1; line-height: 1.6; }

/* 标签列表 */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 0.625rem; }
.stress-tag, .health-tag, .therapy-tag { display: inline-block; padding: 0.5rem 0.938rem; border-radius: 1.25rem; font-size: 0.875rem; font-weight: 500; }
.stress-tag.trigger { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.stress-tag.symptom { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.health-tag.strength { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.health-tag.challenge { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.therapy-tag { background: rgba(102,126,234,0.15); color: #a5b4fc; border: 1px solid rgba(102,126,234,0.3); }

/* 应对策略列表 */
.coping-list, .recommendation-list { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 0.625rem; }
.coping-item, .recommendation-item { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.625rem 0.938rem; background: rgba(255,255,255,0.03); border-radius: 0.625rem; }
.coping-num, .recommendation-num { display: flex; align-items: center; justify-content: center; width: 1.562rem; height: 1.562rem; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 50%; font-size: 0.812rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.coping-text, .recommendation-text { font-size: 0.938rem; color: rgba(255,255,255,0.8); line-height: 1.6; }

/* ===== 人生阶段区块 ===== */
.life-stage-block { margin-bottom: 1.562rem; padding: 1.25rem; background: rgba(255,255,255,0.02); border-radius: 1.125rem; border: 1px solid rgba(255,255,255,0.06); }
.life-stage-title { font-size: 1.25rem; font-weight: 700; color: #a5b4fc; margin-bottom: 0.75rem; padding-bottom: 0.625rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.life-stage-desc { font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 0.938rem; }
.life-stage-story { padding: 0.938rem; background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(102,126,234,0.03)); border-radius: 0.75rem; margin-bottom: 0.75rem; border-left: 0.188rem solid #667eea; }
.story-label { font-size: 0.875rem; font-weight: 600; color: #818cf8; margin-bottom: 0.5rem; }
.life-stage-story p { font-size: 0.938rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.life-stage-pain { padding: 0.938rem; background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.03)); border-radius: 0.75rem; margin-bottom: 0.75rem; border-left: 0.188rem solid #f59e0b; }
.pain-label { font-size: 0.875rem; font-weight: 600; color: #fbbf24; margin-bottom: 0.5rem; }
.life-stage-pain p { font-size: 0.938rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.life-stage-advice { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.75rem 0.938rem; background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.04)); border-radius: 0.75rem; border-left: 0.188rem solid #10b981; }
.advice-icon { font-size: 1.125rem; flex-shrink: 0; }
.life-stage-advice span:last-child { font-size: 0.938rem; color: #34d399; line-height: 1.6; font-weight: 500; }

/* ===== 心理健康详细区块 ===== */
.therapy-detail-section { margin-top: 1.25rem; padding: 1.25rem; background: linear-gradient(135deg, rgba(102,126,234,0.08), rgba(118,75,162,0.04)); border-radius: 1.25rem; border: 1px solid rgba(102,126,234,0.15); }
.therapy-section-title { font-size: 1.375rem; font-weight: 700; color: #a5b4fc; margin-bottom: 0.938rem; text-align: center; }
.therapy-intro { font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 1.25rem; text-align: center; }
.therapy-card { background: rgba(255,255,255,0.03); border-radius: 0.938rem; padding: 1.25rem; margin-bottom: 0.938rem; border: 1px solid rgba(255,255,255,0.06); }
.therapy-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.therapy-num { display: flex; align-items: center; justify-content: center; width: 1.875rem; height: 1.875rem; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 50%; font-size: 0.938rem; font-weight: 700; color: #fff; }
.therapy-name { font-size: 1.125rem; font-weight: 700; color: #818cf8; }
.therapy-desc { font-size: 1rem; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 0.75rem; }
.therapy-how { padding: 0.75rem 0.938rem; background: rgba(102,126,234,0.1); border-radius: 0.625rem; margin-bottom: 0.625rem; }
.how-label { font-size: 0.875rem; font-weight: 600; color: #a5b4fc; }
.therapy-how span:last-child { font-size: 0.938rem; color: rgba(255,255,255,0.75); line-height: 1.7; }
.therapy-first-step { padding: 0.75rem 0.938rem; background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05)); border-radius: 0.625rem; border-left: 0.188rem solid #10b981; }
.step-label { font-size: 0.875rem; font-weight: 600; color: #34d399; }
.therapy-first-step span:last-child { font-size: 0.938rem; color: rgba(255,255,255,0.8); line-height: 1.7; }
.daily-practice { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.938rem; background: linear-gradient(135deg, rgba(251,191,36,0.12), rgba(245,158,11,0.05)); border-radius: 0.75rem; margin-top: 0.938rem; }
.practice-icon { font-size: 1.25rem; flex-shrink: 0; }
.practice-text { font-size: 0.938rem; color: #fbbf24; line-height: 1.7; font-weight: 500; }

/* ===== 最终智慧 ===== */
.final-wisdom { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.875rem 1.562rem; margin-top: 1.562rem; background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(168,85,247,0.1)); border-radius: 1.562rem; border: 2px solid rgba(102,126,234,0.3); position: relative; overflow: hidden; }
.final-wisdom::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%); animation: rotate 20s linear infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.wisdom-icon { font-size: 2.5rem; margin-bottom: 0.938rem; position: relative; z-index: 1; }
.wisdom-text { font-size: 1.25rem; color: #a5b4fc; line-height: 1.9; font-weight: 600; font-style: italic; position: relative; z-index: 1; max-width: 37.5rem; }

/* ===== 页面导航 ===== */
.page-nav { position: fixed; top: 50%; right: 1.25rem; transform: translateY(-50%); background: rgba(26,26,46,0.95); border-radius: 0.938rem; padding: 0.938rem; border: 1px solid rgba(255,255,255,0.1); z-index: 1000; display: none; max-width: 10rem; backdrop-filter: blur(10px); }
.page-nav.show { display: block; animation: slideIn 0.3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-50%) translateX(20px); } to { opacity: 1; transform: translateY(-50%) translateX(0); } }
.page-nav-title { font-size: 0.938rem; font-weight: 700; color: #a5b4fc; margin-bottom: 0.625rem; text-align: center; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.page-nav-links { display: flex; flex-direction: column; gap: 0.312rem; }
.page-nav-link { display: block; padding: 0.5rem 0.625rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); text-decoration: none; border-radius: 0.5rem; transition: all 0.2s; }
.page-nav-link:hover { background: rgba(102,126,234,0.2); color: #a5b4fc; }

/* ===== 浮动导航按钮 ===== */
.float-nav { position: fixed; bottom: 1.562rem; right: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; z-index: 1001; }
.float-nav-btn { width: 2.812rem; height: 2.812rem; border-radius: 50%; background: linear-gradient(135deg, rgba(102,126,234,0.9), rgba(118,75,162,0.9)); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; box-shadow: 0 0.25rem 0.938rem rgba(102,126,234,0.4); }
.float-nav-btn:hover { transform: scale(1.1); box-shadow: 0 0.375rem 1.25rem rgba(102,126,234,0.6); }
.float-nav-btn svg { width: 1.25rem; height: 1.25rem; }

/* ===== 分享图片容器 ===== */
.share-image-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.share-image-container.show { display: flex; }
.share-image-wrapper { background: var(--bg-card); border-radius: 1.25rem; padding: 1.25rem; max-width: 90%; max-height: 90%; overflow: auto; }
.share-canvas { max-width: 100%; height: auto; border-radius: 0.625rem; }
.share-image-actions { display: flex; justify-content: center; gap: 0.938rem; margin-top: 1.25rem; }
.share-btn-secondary { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.2); }

/* ===== 移动端响应式 ===== */
@media (max-width: 900px) {
    .core-cards { grid-template-columns: 1fr; gap: 0.938rem; }
    .wing-cards { grid-template-columns: 1fr; }
    .relationship-grid { grid-template-columns: 1fr; }
    .dev-tips-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .section-card { padding: 1.375rem; border-radius: 1.25rem; margin-bottom: 1.562rem; }
    .section-title { font-size: 1.375rem; margin-bottom: 1.125rem; }
    .section-intro { font-size: 1rem; padding: 0.938rem; margin-bottom: 1.25rem; }
    .group-nav { padding: 0.938rem; margin-bottom: 1.25rem; }
    .group-nav-label { font-size: 0.938rem; }
    .group-type-item { padding: 0.5rem 0.938rem; font-size: 0.875rem; }
    .signature-quote { font-size: 1.188rem; padding: 1.25rem 1.562rem; margin-bottom: 1.25rem; }
    .signature-quote::before, .signature-quote::after { font-size: 1.875rem; }
    .desc-content { font-size: 1.062rem; }
    .trait-tag { padding: 0.5rem 0.938rem; font-size: 0.938rem; }
    .core-card { padding: 1.25rem; }
    .core-card-icon { font-size: 1.875rem; }
    .core-card-value { font-size: 1.062rem; }
    .cards-row { grid-template-columns: 1fr; gap: 1.25rem; }
    .card-box { padding: 1.375rem; }
    .card-title { font-size: 1.25rem; }
    .strength-item, .weakness-item { font-size: 1rem; }
    .wing-card { padding: 1.125rem; }
    .wing-card h4 { font-size: 1.062rem; }
    .wing-card p { font-size: 0.938rem; }
    .growth-diagram { gap: 0.625rem; }
    .growth-box { padding: 0.938rem 1.25rem; min-width: 6.875rem; }
    .growth-box .type { font-size: 1.375rem; }
    .growth-arrow { font-size: 1.25rem; }
    .growth-desc-item { font-size: 1rem; padding: 0.75rem 0.938rem; }
    .career-analysis { padding: 1.25rem; margin-bottom: 1.25rem; }
    .career-analysis-title { font-size: 1.125rem; }
    .career-analysis-text { font-size: 1rem; }
    .career-tips-box { padding: 0.938rem; }
    .career-tips-title { font-size: 1rem; }
    .career-tips-text { font-size: 0.938rem; }
    .career-section-title { font-size: 1.062rem; }
    .career-tag { padding: 0.5rem 0.938rem; font-size: 0.938rem; }
    .leadership-box { padding: 1.125rem; margin-top: 0.938rem; }
    .leadership-title { font-size: 1.062rem; }
    .leadership-text { font-size: 1rem; }
    .relationship-intro { font-size: 1rem; padding: 0.938rem; margin-bottom: 1.25rem; }
    .relationship-card { padding: 1.125rem; }
    .relationship-card-title { font-size: 1rem; }
    .relationship-card-text { font-size: 0.938rem; }
    .dev-tip-item { padding: 0.938rem; gap: 0.75rem; }
    .dev-tip-num { width: 1.875rem; height: 1.875rem; font-size: 0.875rem; }
    .dev-tip-text { font-size: 1rem; }
    .health-level { padding: 1.125rem; }
    .level-header { margin-bottom: 0.5rem; }
    .level-icon { font-size: 1.125rem; }
    .level-title { font-size: 1rem; }
    .level-desc { font-size: 0.938rem; }
    .scores-bars { margin-top: 1.25rem; gap: 0.625rem; }
    .score-bar-label { width: 2.5rem; font-size: 0.938rem; }
    .score-bar-track { height: 1.125rem; }
    .score-bar-value { width: 2.5rem; font-size: 0.875rem; }
    .radar-container { height: 17.5rem; }
    .confidence-display { padding: 0.5rem 0.938rem; }
    .confidence-label { font-size: 0.875rem; }
    .confidence-value { font-size: 1rem; }
}

@media (max-width: 480px) {
    .section-card { padding: 1.125rem; border-radius: 1.125rem; margin-bottom: 1.25rem; }
    .section-title { font-size: 1.25rem; margin-bottom: 0.938rem; }
    .section-intro { font-size: 0.938rem; padding: 0.75rem; margin-bottom: 0.938rem; }
    .group-nav { padding: 0.75rem; border-radius: 0.938rem; }
    .group-nav-label { font-size: 0.875rem; margin-bottom: 0.625rem; }
    .group-nav-items { gap: 0.5rem; }
    .group-type-item { padding: 0.375rem 0.75rem; font-size: 0.812rem; border-radius: 0.625rem; }
    .signature-quote { font-size: 1.062rem; padding: 1.125rem 1.25rem; margin-bottom: 0.938rem; border-radius: 0.938rem; }
    .signature-quote::before, .signature-quote::after { font-size: 1.562rem; }
    .desc-content { font-size: 1rem; margin-bottom: 1.25rem; }
    .trait-tag { padding: 0.375rem 0.75rem; font-size: 0.875rem; margin: 0.188rem; }
    .core-card { padding: 1.125rem; border-radius: 0.938rem; }
    .core-card-icon { font-size: 1.562rem; margin-bottom: 0.625rem; }
    .core-card-label { font-size: 0.875rem; margin-bottom: 0.5rem; }
    .core-card-value { font-size: 1rem; }
    .cards-row { gap: 0.938rem; margin-bottom: 1.25rem; }
    .card-box { padding: 1.125rem; border-radius: 1.25rem; }
    .card-title { font-size: 1.125rem; margin-bottom: 0.938rem; }
    .strength-item, .weakness-item { font-size: 0.938rem; padding: 0.625rem 0; }
    .wing-card { padding: 0.938rem; border-radius: 0.938rem; }
    .wing-card h4 { font-size: 1rem; margin-bottom: 0.625rem; }
    .wing-card p { font-size: 0.875rem; line-height: 1.7; }
    .user-wing-result { padding: 0.938rem; border-radius: 0.938rem; }
    .user-wing-result .label { font-size: 0.875rem; }
    .user-wing-result .value { font-size: 1.25rem; }
    .growth-section { margin-top: 0.938rem; }
    .growth-diagram { flex-direction: column; gap: 0.5rem; }
    .growth-box { padding: 0.75rem 1.125rem; min-width: auto; width: 100%; }
    .growth-box .label { font-size: 0.812rem; }
    .growth-box .type { font-size: 1.25rem; }
    .growth-arrow { font-size: 1.125rem; transform: rotate(90deg); }
    .growth-desc-item { font-size: 0.938rem; padding: 0.625rem 0.75rem; }
    .career-analysis { padding: 0.938rem; border-radius: 0.938rem; margin-bottom: 0.938rem; }
    .career-analysis-title { font-size: 1rem; margin-bottom: 0.75rem; }
    .career-analysis-text { font-size: 0.938rem; line-height: 1.8; margin-bottom: 0.75rem; }
    .career-tips-box { padding: 0.75rem; border-radius: 0.75rem; }
    .career-tips-title { font-size: 0.938rem; margin-bottom: 0.5rem; }
    .career-tips-text { font-size: 0.875rem; }
    .career-section { margin-bottom: 1.25rem; }
    .career-section-title { font-size: 1rem; margin-bottom: 0.75rem; }
    .career-tags { gap: 0.625rem; }
    .career-tag { padding: 0.375rem 0.75rem; font-size: 0.875rem; border-radius: 0.938rem; }
    .leadership-box { padding: 0.938rem; border-radius: 0.938rem; margin-top: 0.75rem; }
    .leadership-title { font-size: 1rem; margin-bottom: 0.625rem; }
    .leadership-text { font-size: 0.938rem; }
    .relationship-intro { font-size: 0.938rem; padding: 0.75rem; margin-bottom: 0.938rem; }
    .relationship-card { padding: 0.938rem; border-radius: 0.938rem; }
    .relationship-card-title { font-size: 0.938rem; margin-bottom: 0.625rem; }
    .relationship-card-text { font-size: 0.875rem; line-height: 1.7; }
    .dev-tip-item { padding: 0.75rem; border-radius: 0.75rem; }
    .dev-tip-num { width: 1.75rem; height: 1.75rem; font-size: 0.812rem; }
    .dev-tip-text { font-size: 0.938rem; }
    .health-level { padding: 0.938rem; border-radius: 0.938rem; }
    .level-header { gap: 0.5rem; margin-bottom: 0.375rem; }
    .level-icon { font-size: 1rem; }
    .level-title { font-size: 0.938rem; }
    .level-desc { font-size: 0.875rem; line-height: 1.7; }
    .scores-bars { margin-top: 0.938rem; gap: 0.5rem; }
    .score-bar-item { gap: 0.625rem; }
    .score-bar-label { width: 2.188rem; font-size: 0.875rem; }
    .score-bar-track { height: 0.938rem; }
    .score-bar-value { width: 2.188rem; font-size: 0.812rem; }
    .scores-legend { margin-top: 1.25rem; padding: 0.938rem; border-radius: 0.938rem; }
    .legend-title { font-size: 1rem; margin-bottom: 0.75rem; }
    .legend-content p { font-size: 0.938rem; line-height: 1.8; }
    .radar-container { height: 15rem; }
    .confidence-display { padding: 0.375rem 0.75rem; border-radius: 0.938rem; }
    .confidence-label { font-size: 0.812rem; }
    .confidence-value { font-size: 0.938rem; }
    #love-content-area, #life-stages-area, #stress-area, #mental-health-area { font-size: 0.938rem; }
    .content-block { padding: 0.938rem; margin-bottom: 0.938rem; border-radius: 0.75rem; }
    .content-block-title { font-size: 1rem; margin-bottom: 0.625rem; }
    .content-block-text { font-size: 0.875rem; }
    .share-image-wrapper { padding: 0.938rem; border-radius: 0.938rem; }
    .share-image-actions { flex-direction: column; gap: 0.625rem; }
}

/* ===== 分享区域 ===== */
.share-section { background: rgba(255,255,255,0.03); border-radius: 1.75rem; padding: 2.25rem; margin-bottom: 2rem; border: 1px solid rgba(255,255,255,0.06); text-align: center; }
.share-title { font-size: 1.375rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.625rem; }
.share-buttons { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 1.25rem; font-size: 1rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; border: none; text-decoration: none; }
.share-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.share-copy { background: rgba(102,126,234,0.15); color: #a5b4fc; border: 1px solid rgba(102,126,234,0.3); }
.share-copy:hover:not(:disabled) { color: #fef08a; background: rgba(102,126,234,0.25); transform: translateY(-2px); }
.share-image { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15); }
.share-image:hover:not(:disabled) { color: #fbbf24; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.share-retest { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.share-retest:hover { color: #fef08a; background: rgba(16,185,129,0.25); transform: translateY(-2px); }

/* ===== 精彩总结区域 ===== */
.quote-section { background: linear-gradient(135deg, rgba(102,126,234,0.12), rgba(118,75,162,0.08)); border-radius: 1.75rem; padding: 2.5rem; margin-bottom: 2rem; border: 1px solid rgba(102,126,234,0.2); }
.quote-card { display: flex; align-items: flex-start; gap: 1.25rem; }
.quote-icon { font-size: 2.5rem; flex-shrink: 0; opacity: 0.8; }
.quote-text { font-size: 1.25rem; color: rgba(255,255,255,0.9); line-height: 1.9; font-style: italic; position: relative; }
.quote-text::before { content: '"'; font-size: 2.5rem; color: rgba(102,126,234,0.3); position: absolute; left: -1.25rem; top: -0.625rem; font-family: Georgia, serif; }

/* ===== 评论区域 ===== */
.comments-section { background: rgba(255,255,255,0.03); border-radius: 1.75rem; padding: 2.25rem; margin-bottom: 2rem; border: 1px solid rgba(255,255,255,0.06); }
.comments-list { display: flex; flex-direction: column; gap: 0.938rem; }
.comment-item { background: rgba(255,255,255,0.04); border-radius: 0.875rem; padding: 1.125rem; border: 1px solid rgba(255,255,255,0.06); }
.comment-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.625rem; }
.comment-author { display: flex; align-items: center; gap: 0.625rem; }
.comment-avatar { width: 2.5rem; height: 2.5rem; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: #fff; }
.comment-name { font-size: 0.938rem; font-weight: 600; color: #fff; }
.comment-time { font-size: 0.812rem; color: rgba(255,255,255,0.4); }
.comment-rating { font-size: 0.875rem; }
.comment-text { font-size: 0.938rem; color: rgba(255,255,255,0.8); line-height: 1.7; }
.comment-item.negative { background: rgba(239,68,68,0.05); border-color: rgba(239,68,68,0.15); }
.comment-item.negative .comment-text { color: rgba(255,255,255,0.7); }

.feedback-section { background: linear-gradient(135deg, rgba(102,126,234,0.08), rgba(118,75,162,0.08)); border-radius: 1.75rem; padding: 2.25rem; border: 1px solid rgba(102,126,234,0.2); margin-bottom: 2rem; }
.feedback-divider { text-align: center; margin: 1.25rem 0; position: relative; }
.feedback-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,0.1); }
.feedback-divider span { background: rgba(26,26,46,1); padding: 0.312rem 1.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); position: relative; }
.feedback-intro { font-size: 0.938rem; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; text-align: center; }
.no-comments { text-align: center; padding: 1.25rem; color: rgba(255,255,255,0.4); font-size: 0.875rem; }
.feedback-form { background: rgba(255,255,255,0.03); border-radius: 0.875rem; padding: 1.25rem; }
.feedback-author-input { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; flex-wrap: wrap; }
.author-label { font-size: 0.875rem; color: #94a3b8; white-space: nowrap; }
.feedback-author-field { flex: 1; min-width: 200px; padding: 0.625rem 0.875rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.625rem; color: #e2e8f0; font-size: 0.875rem; transition: all 0.3s; }
.feedback-author-field:focus { outline: none; border-color: #667eea; background: rgba(255,255,255,0.08); }
.feedback-author-field::placeholder { color: #64748b; }
.author-hint { font-size: 0.75rem; color: #64748b; }
.feedback-rating { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.938rem; flex-wrap: wrap; }
.rating-label { font-size: 0.938rem; color: rgba(255,255,255,0.8); }
.rating-stars { display: flex; gap: 0.312rem; }
.star-btn { background: none; border: none; font-size: 1.25rem; cursor: pointer; opacity: 0.3; transition: all 0.2s; padding: 0.125rem; }
.star-btn:hover, .star-btn.active { opacity: 1; transform: scale(1.1); }
.rating-text { font-size: 0.875rem; color: #fbbf24; margin-left: 0.625rem; }
.feedback-textarea { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.625rem; padding: 0.938rem; color: #fff; font-size: 0.938rem; resize: vertical; min-height: 100px; margin-bottom: 0.625rem; }
.feedback-textarea::placeholder { color: rgba(255,255,255,0.3); }
.feedback-textarea:focus { outline: none; border-color: rgba(102,126,234,0.5); }
.feedback-footer { display: flex; justify-content: space-between; align-items: center; }
.feedback-count { font-size: 0.812rem; color: rgba(255,255,255,0.4); }
.feedback-submit { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; padding: 0.625rem 1.562rem; border-radius: 1.25rem; font-size: 0.938rem; cursor: pointer; transition: all 0.3s; }
.feedback-submit:hover { transform: translateY(-2px); box-shadow: 0 0.312rem 0.938rem rgba(102,126,234,0.4); }
.feedback-toast { position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); padding: 0.625rem 1.25rem; border-radius: 0.625rem; font-size: 0.875rem; z-index: 10000; opacity: 0; transition: opacity 0.3s; }
.feedback-toast.show { opacity: 1; }
.feedback-toast.success { background: rgba(16,185,129,0.2); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.feedback-toast.error { background: rgba(239,68,68,0.2); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }

/* ===== 头部导航响应式 ===== */
@media (max-width: 700px) {
    .header-hero { flex-direction: column; text-align: center; padding: 2rem 1.375rem; gap: 1.375rem; }
    .hero-image { order: -1; width: 100%; max-width: 15rem; }
    .hero-content { text-align: center; width: 100%; }
    .type-code-big { font-size: 4.375rem; letter-spacing: 0.312rem; }
    .type-name-big { font-size: 1.875rem; }
    .type-title-big { font-size: 1.125rem; }
    .wrap { padding: 4.375rem 1.125rem 6.25rem; }
    .share-section { padding: 1.5rem; }
    .share-buttons { flex-direction: column; align-items: center; }
    .share-btn { width: 100%; max-width: 17.5rem; justify-content: center; }
}

@media (max-width: 480px) {
    .header-hero { padding: 1.562rem 1.125rem; border-radius: 1.25rem; margin-bottom: 1.562rem; }
    .type-badge { padding: 0.625rem 1.25rem; font-size: 0.938rem; margin-bottom: 0.938rem; }
    .user-greeting { font-size: 1.125rem; margin-bottom: 0.625rem; }
    .type-code-big { font-size: 3.438rem; letter-spacing: 0.188rem; margin-bottom: 0.625rem; }
    .type-name-big { font-size: 1.5rem; margin: 0.625rem 0; }
    .type-title-big { font-size: 1rem; margin-bottom: 0.75rem; }
    .hero-image { max-width: 12.5rem; }
    .wrap { padding: 3.75rem 0.938rem 5rem; }
    .share-section { padding: 1.25rem; border-radius: 1.25rem; margin-bottom: 1.25rem; }
    .share-title { font-size: 1.188rem; margin-bottom: 1.25rem; }
    .share-btn { padding: 0.625rem 1.25rem; font-size: 0.938rem; }
}
