/* 基础样式和重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #333;
    --bg-color: #f5f6fa;
    --border-color: #e1e1e1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

/* 响应式容器 */
.container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

/* 头部横幅样式 */
.header-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    margin: -15px -15px 25px -15px;
    height: 200px; /* 固定高度 */
    min-height: 200px; /* 最小高度 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-content {
    margin-bottom: 0;
}

.header-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
}

.header-subtitle {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.4;
}

.header-icon {
    position: absolute;
    top: 20px;
    width: 32px;  /* 固定宽度 */
    height: 32px; /* 固定高度 */
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2); /* 半透明白色背景 */
    border-radius: 8px; /* 圆角 */
    padding: 6px; /* 内边距 */
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    border: 1px solid rgba(255, 255, 255, 0.3); /* 边框 */
}

.header-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3); /* 悬停时背景加深 */
}

.header-icon img {
    width: 20px;  /* 图标实际显示尺寸 */
    height: 20px; /* 图标实际显示尺寸 */
    object-fit: contain;
    filter: brightness(0) invert(1); /* 使图标变为白色 */
}

/* 图标位置 */
.share-icon {
    right: 60px; /* 距离右侧60px */
}

.feedback-icon {
    right: 20px; /* 距离右侧20px */
}

/* 搜索区域 */
.search-section {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-box {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: row; /* 确保水平排列 */
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--secondary-color);
}


/* 分类标签 */
.tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tab {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
}

.tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 测试卡片 */
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 15px 0;
}

.featured-tests {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.test-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.test-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.test-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.test-content {
    padding: 10px;
}

.test-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.test-btn {
    width: 100%;
    padding: 6px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-btn:hover {
    background: var(--secondary-color);
}

/* 测试列表项新样式 */
.test-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 80px;
}

.test-list-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.test-list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.test-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.test-info {
    flex: 1;
}

.test-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
}

.test-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* 测试进度样式 */
.test-progress {
    font-size: 12px;
    color: #667eea;
    margin-top: 5px;
    font-weight: bold;
}

.test-completed {
    font-size: 12px;
    color: #52c41a;
    margin-top: 5px;
    font-weight: bold;
}

/* 已完成测试的按钮样式 */
.completed-btn {
    background: linear-gradient(135deg, #52c41a, #389e0d) !important;
}

/* 测试列表项悬停效果 */
.test-list-item:hover .test-progress {
    color: #fff;
}

.test-list-item:hover .test-completed {
    color: #fff;
}

.small-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.small-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
    max-width: 750px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 10px;
}

.nav-item.active {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
}

/* Toast提示 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    z-index: 2000;
    display: none;
}

.toast.show {
    display: block;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}

/* 进度条 */
.progress-bar {
    background: #e0e0e0;
    height: 4px;
    border-radius: 2px;
    margin: 15px 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* 答题选项 */
.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    padding: 15px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option.selected {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

/* 壁纸网格 */
.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 60px;
}

.wallpaper-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallpaper-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wallpaper-item:hover .wallpaper-img {
    transform: scale(1.05);
}

/* 全屏预览 */
.preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preview-overlay.show {
    display: flex;
}

.preview-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.download-btn {
    position: fixed;
    bottom: 30px;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
}

/* 分类标签位置调整 */
.tabs-section {
    margin: 15px 0 20px 0;
}

/* 发现页标签样式调整 */
.zodiac-tabs-section {
    background: none; /* 移除背景 */
    padding: 10px 0; /* 减少内边距 */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* 更轻的阴影 */
}

.zodiac-tabs {
    display: flex;
    gap: 6px;
    padding: 0 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: none; /* 确保没有背景 */
}

.zodiac-tabs .tab {
    flex-shrink: 0;
    padding: 6px 12px; /* 更小的内边距 */
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px; /* 更小的字体 */
}

/* 反馈页面样式 */
.feedback-section {
    background: white;
    margin: 15px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.feedback-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.feedback-header h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.feedback-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.feedback-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.required {
    color: #ff4757;
}

.form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.form-textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-actions {
    margin-top: 30px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-btn:hover:not(:disabled) {
    opacity: 0.9;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 防止页面闪烁 */
.test-cover,
.basic-info-section,
.test-description,
.theory-section,
.requirements-section,
.report-example-section,
.action-section {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-loaded .test-cover,
.content-loaded .basic-info-section, 
.content-loaded .test-description,
.content-loaded .theory-section,
.content-loaded .requirements-section,
.content-loaded .report-example-section,
.content-loaded .action-section {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .featured-tests {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-box {
        flex-direction: row;
    }
    
    .test-title {
        font-size: 12px;
    }
    
    .tab {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .header-banner {
        height: 180px; /* 🔧 移动端稍矮 */
        min-height: 180px;
        padding: 25px 15px;
    }
    
    .header-title {
        font-size: 28px;
        margin-bottom: 6px;
    }

    .header-subtitle {
        font-size: 14px; 
    }

    .header-icon {
        top: 15px;
        width: 28px;  /* 移动端稍小 */
        height: 28px;
        padding: 5px;
    }
    
    .header-icon img {
        width: 18px;
        height: 18px;
    }
    
    .share-icon {
        right: 50px; /* 移动端间距调整 */
    }
    
    .feedback-icon {
        right: 15px;
    }    
}

@media (max-width: 375px) {
    .header-icon {
        width: 26px;
        height: 26px;
        padding: 4px;
    }
    
    .header-icon img {
        width: 16px;
        height: 16px;
    }
    
    .share-icon {
        right: 48px;
    }
    
    .feedback-icon {
        right: 12px;
    }
}

@media (min-width: 768px) {
    .featured-tests {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 滚动条样式 */
.tabs::-webkit-scrollbar {
    height: 4px;
}

.tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.tabs::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

/* 全局页脚 */
.global-footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 12px;
    line-height: 1.6;
}

/* SCL-90 专用样式 - 专业心理健康测试 */
.scl90-factor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.scl90-factor-card {
    background: white;
    border: 2px solid #e8f4fd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.scl90-factor-card.high-risk {
    border-color: #ff4757;
    background: #fff5f5;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.1);
}

.scl90-factor-card.medium-risk {
    border-color: #ffa502;
    background: #fff9e6;
    box-shadow: 0 4px 12px rgba(255, 165, 2, 0.1);
}

.scl90-factor-card.low-risk {
    border-color: #2ed573;
    background: #f1fff7;
    box-shadow: 0 4px 12px rgba(46, 213, 115, 0.1);
}

.scl90-factor-name {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.scl90-factor-score {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.scl90-factor-score.high {
    color: #ff4757;
}

.scl90-factor-score.medium {
    color: #ffa502;
}

.scl90-factor-score.low {
    color: #2ed573;
}

.scl90-factor-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* 临床评估指示器 */
.clinical-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 10px 0;
    border-left: 4px solid #667eea;
}

.clinical-level {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}

.clinical-level.critical {
    background: #ff4757;
    color: white;
}

.clinical-level.warning {
    background: #ffa502;
    color: white;
}

.clinical-level.attention {
    background: #ffd32a;
    color: #333;
}

.clinical-level.normal {
    background: #2ed573;
    color: white;
}

/* 症状严重程度指示条 */
.symptom-severity {
    margin: 15px 0;
}

.severity-scale {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px;
    color: #666;
}

.severity-bar {
    height: 8px;
    background: linear-gradient(90deg, #2ed573, #ffd32a, #ffa502, #ff4757);
    border-radius: 4px;
    position: relative;
    margin-bottom: 5px;
}

.severity-marker {
    position: absolute;
    top: -2px;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    transform: translateX(-50%);
}

/* 因子对比图表 */
.factor-comparison {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-bar {
    display: flex;
    align-items: center;
    margin: 12px 0;
}

.comparison-label {
    width: 120px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.comparison-track {
    flex: 1;
    height: 20px;
    background: #f1f2f6;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.comparison-value {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease;
}

.comparison-score {
    width: 40px;
    text-align: right;
    font-size: 13px;
    font-weight: bold;
    margin-left: 10px;
}

/* 专业建议卡片 */
.professional-advice {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.advice-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.advice-title:before {
    content: "💡";
    margin-right: 8px;
}

.advice-list {
    list-style: none;
    padding: 0;
}

.advice-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    position: relative;
    padding-left: 20px;
}

.advice-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffd32a;
}

.advice-list li:last-child {
    border-bottom: none;
}

/* 人格维度分析样式 */
.dimensions-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dimension-card {
    background: white;
    padding: 18px;
    border-radius: 12px;
    border-left: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.dimension-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.dimension-card.high {
    background: white !important;
    border-left: none !important;
}

.dimension-card.medium-high {
    background: white !important;
    border-left: none !important;
}

.dimension-card.medium {
    background: white !important;
    border-left: none !important;
}

.dimension-card.low {
    background: white !important;
    border-left: none !important;
}

.dimension-card.very-low {
    background: white !important;
    border-left: none !important;
}

.dimension-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.dimension-title h4 {
    margin: 0 0 4px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.dimension-desc {
    color: #666;
    font-size: 13px;
}

.dimension-score-display {
    text-align: right;
    flex-shrink: 0;
}

.score {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    display: block;
}

.score small {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

.level-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-top: 4px;
    text-align: center;
    min-width: 35px;
    background: transparent !important;
    color: #666;
    border: 1px solid #e0e0e0;
}

.level-badge.high {
    color: #ff4757 !important;
    border-color: #ff4757;
}

.level-badge.medium-high {
    color: #ffa502 !important;
    border-color: #ffa502;
}

.level-badge.medium {
    color: #ffd32a !important;
    border-color: #ffd32a;
}

.level-badge.low {
    color: #2ed573 !important;
    border-color: #2ed573;
}

.level-badge.very-low {
    color: #a4b0be !important;
    border-color: #a4b0be;
}

.dimension-analysis {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    border-left: 0;
    margin-top: 10px;
}

/* 精神需求测试专用样式 */
.dimensions-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-name {
    flex: 1;
    color: #333;
}

.legend-score {
    font-weight: bold;
    color: #667eea;
}

.top-dimensions-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dimension-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.dimension-rank {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.dimension-info {
    flex: 1;
}

.dimension-info h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.dimension-score {
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 8px;
}

.dimension-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.dimension-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.dimension-detail h4 {
    margin-bottom: 8px;
    font-size: 16px;
}

.dimension-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.strength-bar {
    flex: 1;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.improvement-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.improvement-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.improvement-item h4 {
    margin-bottom: 10px;
}

.suggestions {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.suggestions li {
    padding: 5px 0;
    position: relative;
    padding-left: 15px;
    font-size: 14px;
    color: #666;
}

.suggestions li:before {
    content: "•";
    color: #667eea;
    position: absolute;
    left: 0;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .scl90-factor-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .scl90-factor-card {
        padding: 12px;
    }
    
    .clinical-indicator {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .comparison-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .comparison-label {
        width: 100%;
    }
    
    .comparison-track {
        width: 100%;
    }

    .dimension-header {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .dimension-score-display {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .dimension-card {
        padding: 15px;
    }

    .score {
        font-size: 18px;
    }
    
    .progress-labels {
        font-size: 10px;
    }

    .dimensions-legend {
        grid-template-columns: 1fr;
    }
    
    .improvement-areas {
        grid-template-columns: 1fr;
    }
    
    .dimension-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 375px) {
    .dimension-header {
        flex-direction: column;
    }
    
    .dimension-score-display {
        width: 100%;
        justify-content: space-between;
    }
    
    .dimension-title, .dimension-score-display {
        width: 100%;
    }
}

/* 打印优化 */
@media print {
    .scl90-factor-card {
        break-inside: avoid;
        border: 1px solid #ccc !important;
        background: white !important;
        box-shadow: none !important;
    }
    
    .professional-advice {
        background: #f8f9fa !important;
        color: #333 !important;
        border: 1px solid #667eea;
    }
}