* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
}

:root {
    --primary: #ea580c;           /* 柔和橙色（原来的深橙色） */
    --primary-dark: #c2410c;      /* 深橙色 */
    --primary-light: #fed7aa;     /* 保持浅橙色 */
    --bg-color: #fffbf7;          /* 更温和的奶白色背景 */
    --card-bg: #ffffff;
    --text-primary: #1c1917;      /* 温暖黑色 */
    --text-secondary: #78716c;    /* 温暖灰色 */
    --border-color: #f3f0ed;      /* 更柔和的边框色 */
    --success: #16a34a;
    --warning: #eab308;
    --error: #dc2626;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}



body {
    background: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.container {
    width: 100%;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Logo样式 - 在框外，透明背景，更大 */
.logo-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    width: 300px;
    height: auto;
    max-width: 100%;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
    opacity: 0.9;
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
    opacity: 1;
}

.app {
    background: var(--card-bg);
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    margin-top: 0;
    transition: border-radius 0.3s ease;
}

/* 当header隐藏时，app的圆角样式 */
.app.header-hidden {
    border-radius: var(--radius);
}

.header {
    text-align: center;
    padding: 30px 20px 20px 20px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-bottom: 0;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

/* 隐藏header的样式 */
.header.hidden {
    opacity: 0;
    transform: translateY(-100%);
    height: 0;
    padding: 0;
    overflow: hidden;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.quiz-container {
    padding: 30px;
}

.question-area {
    margin-bottom: 30px;
}

.question-area h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.answer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    border-color: var(--primary-light);
    background-color: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    transform: scale(1.02);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.progress-container {
    margin-top: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

#progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 100px;
    overflow: hidden;
}

#progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 100px;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-container {
    display: none;
    padding: 30px;
    animation: slideUp 0.5s ease-out;
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-badge {
    background: var(--primary-light);
    border-radius: 100px;
    display: inline-block;
    padding: 10px 30px;
    margin-top: 15px;
}

.result-badge h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
}

.dimension-scores {
    background-color: #f8f9ff;
    padding: 25px;
    border-radius: var(--radius);
    margin: 20px 0 30px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.dimension-bar {
    margin-bottom: 15px;
}

.dimension-bar:last-child {
    margin-bottom: 0;
}

.dimension-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.dimension-label span {
    font-size: 14px;
    font-weight: 500;
}

.bar-container {
    width: 100%;
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 100px;
    overflow: hidden;
    display: flex;
}

.left-score, .right-score {
    height: 100%;
    transition: width 1s ease-out;
}

.left-score {
    background-color: var(--primary);
    border-radius: 100px 0 0 100px;
}

.right-score {
    background-color: var(--warning);
    border-radius: 0 100px 100px 0;
}

.btn-restart {
    background: var(--primary);
    color: white;
    font-weight: 600;
    width: 100%;
    border: 0;
    padding: 15px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.btn-restart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 精简版结果页面样式 */
.result {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: var(--radius);
    margin: 15px auto;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.result h2 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.result .personality-type {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 12px 0;
    letter-spacing: 2px;
}

.result .type-name {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.result .type-description {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-align: left;
    padding: 0 15px;
}

/* 首页选项样式 */
.home-container {
    padding: 40px 30px;
    text-align: center;
}

.home-options {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.option-btn {
    background: white;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.option-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* 年龄选择样式 */
.age-container {
    padding: 30px;
    text-align: center;
    display: none;
}

.selection-title {
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 600;
}

.age-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.age-btn {
    background: white;
    border: 1px solid var(--primary-light);
    border-radius: var(--radius);
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.age-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.age-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* 昵称输入样式 */
.nickname-container {
    padding: 30px;
    text-align: center;
    display: none;
}

.nickname-input-container {
    margin-bottom: 25px;
}

#nickname-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: border-color 0.2s ease;
}

#nickname-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.start-test-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 15px;
    width: 100%;
}

.start-test-btn:hover {
    background: var(--primary-dark);
}

.start-test-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* 导航按钮 */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nav-btn {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 返回按钮 */
.back-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-btn:hover {
    border-color: var(--text-secondary);
}

/* 暂未开放提示 */
.not-available-container {
    padding: 40px 30px;
    text-align: center;
    display: none;
}

.not-available-content {
    background-color: #f8f9ff;
    border-radius: var(--radius);
    padding: 30px;
}

.not-available-content h2 {
    margin-bottom: 15px;
    color: var(--primary);
}

.not-available-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* 未完成题目提示 */
.incomplete-container {
    padding: 30px;
    display: none;
}

.incomplete-content {
    background-color: #f8f9ff;
    border-radius: var(--radius);
    padding: 25px;
}

.incomplete-content h2 {
    margin-bottom: 15px;
    color: var(--warning);
    text-align: center;
}

.incomplete-list {
    max-height: 300px;
    overflow-y: auto;
    margin: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.incomplete-item {
    padding: 12px;
    margin-bottom: 8px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.incomplete-item:hover {
    background-color: #eef2ff;
    border-color: var(--primary-light);
    transform: translateX(5px);
}

.question-number {
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
}

/* 按钮主要样式 */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    font-weight: 600;
    width: 100%;
    border: 1px solid var(--primary);
    padding: 15px;
    margin-top: 15px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.btn-secondary:hover {
    background: #f0f4ff;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* 维度得分显示样式 */
/* 维度得分显示样式 - 新版本 */
.dimension-score {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dimension-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.dimension-left {
    color: var(--text-primary);
    font-weight: 600;
}

.dimension-right {
    color: var(--text-primary);
    font-weight: 600;
}

.score-bar {
    width: 100%;
    height: 16px;
    background-color: var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    margin-bottom: 12px;
    position: relative;
}

.score-fill {
    height: 100%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* 单色系配色方案 */
/* 强制覆盖维度颜色 - 单色版本 */
.e-score {
    background: #60a5fa !important; /* 浅蓝 */
}

.i-score {
    background: #3b82f6 !important; /* 标准蓝 */
}

/* 感觉(S) vs 直觉(N) - 绿色系 */
.s-score {
    background: #34d399 !important; /* 浅绿 */
}

.n-score {
    background: #10b981 !important; /* 标准绿 */
}

/* 思考(T) vs 情感(F) - 紫色系 */
.t-score {
    background: #a78bfa !important; /* 浅紫 */
}

.f-score {
    background: #8b5cf6 !important; /* 标准紫 */
}

/* 判断(J) vs 感知(P) - 橙色系 */
.j-score {
    background: #fbbf24 !important; /* 浅橙 */
}

.p-score {
    background: #f59e0b !important; /* 标准橙 */
}

.score-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.score-percentage {
    font-weight: 600;
    color: var(--text-primary);
}


/* MBTI结果显示 */
#mbti-result h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 2px;
    margin: 0;
}

/* 结果页面样式 */
.result-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-indicator {
    font-weight: 600;
    color: var(--primary);
}

.result-indicator.uncertain {
    color: #f59e0b;
    background-color: #fef3c7;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-container {
        bottom: 20px;
        right: 20px;
    }
    
    .logo {
        width: 90px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    .quiz-container {
        padding: 20px;
    }
    
    .question-area h2 {
        font-size: 18px;
    }
    
    .btn {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .home-container,
    .age-container,
    .nickname-container,
    .not-available-container,
    .quiz-container {
        border-radius: 0;
    }
    
    .option-btn {
        padding: 15px;
        font-size: 16px;
    }
    
    .dimension-score {
        padding: 12px;
    }
    
    .score-bar {
        height: 10px;
    }
    
    #mbti-result h3 {
        font-size: 24px;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .btn-restart,
    .btn-secondary {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        bottom: 15px;
        right: 15px;
    }
    
    .logo {
        width: 70px;
    }
}

@media (min-width: 768px) {
    .home-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .age-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result-actions {
        flex-direction: row;
        gap: 20px;
    }
    
    .btn-restart, .btn-secondary {
        width: 50%;
        margin-top: 0;
    }
}



/* 类型标题卡片 */
.type-header-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(234, 88, 12, 0.25);
}

.type-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.type-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 25px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.type-code {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.type-title {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0 6px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.type-subtitle {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 400;
}

/* 卡片通用样式 */
.dimensions-card,
.role-card,
.traits-card,
.challenges-card,
.relationships-accordion,
.famous-people-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.dimensions-card {
    color: #333; /* 设置默认文字颜色 */
}

.dimensions-card h3 {
    color: #333; /* 标题颜色 */
}

.dimension-text {
    color: #333 !important; /* 维度文字颜色，使用!important确保优先级 */
}

.card-header h3 {
    color: #333;
}

.dimensions-card:hover,
.role-card:hover,
.traits-card:hover,
.challenges-card:hover,
.relationships-accordion:hover,
.famous-people-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* 统一的卡片头部样式 */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.header-icon {
  font-size: 24px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
}

.card-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

/* 维度网格 */
.dimensions-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.dimension-card {
  background: linear-gradient(135deg, var(--accent-color, var(--primary)), rgba(var(--accent-color, var(--primary)), 0.8));
  color: white;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.2s ease;
}

.dimension-card:hover {
  transform: scale(1.02);
}

.dimension-icon {
  font-size: 20px;
  background: rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dimension-text {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

/* 角色卡片容器 */
.role-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.role-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--primary-light);
  border-radius: 8px;
}

.role-icon {
  font-size: 20px;
  margin-right: 10px;
}

.role-header h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 600;
}

.role-content p {
  background: #f8fafc;
  padding: 16px;
  border-radius: 8px;
  margin: 12px 0;
  border-left: 4px solid var(--primary);
  font-size: 15px;
  line-height: 1.6;
}

/* 特质与挑战双栏 */
.traits-challenges-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.traits-grid,
.challenges-grid {
  display: grid;
  gap: 12px;
}

.trait-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: #f0fdf4;
  border-radius: 8px;
  border-left: 4px solid #22c55e;
  transition: transform 0.2s ease;
}

.trait-item:hover {
  transform: translateX(4px);
}

.trait-number {
  background: #22c55e;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: #fffbeb;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
  transition: transform 0.2s ease;
}

.challenge-item:hover {
  transform: translateX(4px);
}

.challenge-bullet {
  color: #f59e0b;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 手风琴样式 */
.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.accordion-item:hover {
  border-color: var(--primary-light);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  color: var(--text-primary);
}

.accordion-header:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.accordion-arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.accordion-item.active .accordion-content {
  padding: 20px;
}

/* 手风琴内容样式 */
.advantage-grid,
.challenge-grid {
  display: grid;
  gap: 12px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #f0fdf4;
  border-radius: 6px;
}

.check-icon {
  background: #22c55e;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.relationship-challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #fef3c7;
  border-radius: 6px;
}

.warning-icon {
  background: #f59e0b;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.partner-paragraph,
.friend-paragraph,
.parent-paragraph {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
}

.quote-mark {
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.friend-icon,
.parent-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 名人展示 */
.famous-people-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.famous-person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.famous-person-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.2);
}

.person-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.person-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-dark);
  text-align: center;
  line-height: 1.3;
}

/* 错误消息样式 */
.error-message {
  background: #fef2f2;
  color: #dc2626;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #dc2626;
  text-align: center;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .mbti-result-container-new {
      padding: 0;
  }
  
  .type-header-card {
      padding: 24px 20px;
      margin-bottom: 16px;
  }
  
  .type-title {
      font-size: 24px;
  }
  
  .dimensions-card,
  .role-card,
  .traits-card,
  .challenges-card,
  .relationships-accordion,
  .famous-people-card {
      padding: 20px 16px;
      margin-bottom: 16px;
  }
  
  .dimensions-grid-new {
      grid-template-columns: 1fr;
      gap: 12px;
  }
  
  .role-cards-container,
  .traits-challenges-container {
      grid-template-columns: 1fr;
      gap: 16px;
  }
  
  .famous-people-carousel {
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: 12px;
  }
  
  .card-header h3 {
      font-size: 18px;
  }
  
  .accordion-header {
      padding: 12px 16px;
      font-size: 14px;
  }
  
  .accordion-item.active .accordion-content {
      padding: 16px;
  }
}

@media (max-width: 480px) {
  .type-code {
      font-size: 20px;
      letter-spacing: 2px;
  }
  
  .type-title {
      font-size: 20px;
  }
  
  .dimension-card {
      padding: 16px;
  }
  
  .famous-people-carousel {
      grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }
  
  .person-avatar {
      width: 40px;
      height: 40px;
      font-size: 16px;
  }
  
  .person-name {
      font-size: 12px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* 滚动条美化 */
.accordion-content::-webkit-scrollbar {
  width: 4px;
}

.accordion-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}

.accordion-content::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 2px;
}

.accordion-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}


.mbti-result-container h4 {
    color: var(--primary);
    margin: 25px 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
}

.mbti-result-container h5 {
    color: var(--primary-dark);
    margin: 20px 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

/* 维度网格 */
.dimensions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.dimension-item {
    background: #f8f9ff;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    font-size: 14px;
    color: var(--text-primary);
}

/* 角色部分 */
.role-section p {
    background: #f0f9ff;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    color: var(--text-primary);
}

/* 特质列表 */
.traits-list, .challenges-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.traits-list li {
    background: #f0fdf4;
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 3px solid #22c55e;
    font-size: 14px;
}

.challenges-list li {
    background: #fef3c7;
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
    font-size: 14px;
}

/* 关系部分 */
.relationships-section {
    background: #f8fafc;
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
}

.relationship-subsection {
    margin: 20px 0;
}

.relationship-subsection ul {
    margin: 10px 0;
    padding-left: 0;
    list-style: none;
}

.relationship-subsection li {
    margin: 8px 0;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid var(--primary-light);
    font-size: 14px;
}

.relationship-subsection p {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 8px 0;
    border-left: 3px solid var(--primary);
    font-size: 14px;
    line-height: 1.5;
}

/* 名人网格 */
.famous-people-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.famous-person {
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* 不确定结果样式 */
.uncertain-result {
    background: #fef3c7;
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
}

.uncertain-result h3 {
    color: #f59e0b;
    margin-bottom: 15px;
}

.uncertain-result ul {
    margin: 15px 0;
    padding-left: 20px;
}

.uncertain-result li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* 响应式设计 */
@media (min-width: 768px) {
    .dimensions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .traits-list, .challenges-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .type-header {
        padding: 15px;
    }
    
    .type-header h3 {
        font-size: 20px;
    }
    
    .mbti-result-container h4 {
        font-size: 16px;
    }
    
    .famous-people-grid {
        justify-content: center;
    }
    
    .relationships-section {
        padding: 15px;
    }
}

/* 成人自测提示界面样式 */
.adult-tips-container {
    padding: 30px;
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title-line1 {
    display: block;
    margin-bottom: 8px;
    font-size: 1em;
    letter-spacing: 1px;
}

.title-line2 {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    opacity: 0.95;
}

.subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}



.tips-content {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.tips-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
}

.tips-list {
    margin-bottom: 30px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.tip-item:hover {
    transform: translateX(5px);
}

.tip-item:last-child {
    margin-bottom: 0;
}

.tip-icon {
    font-size: 20px;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.tip-item p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 15px;
}

.start-quiz-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 15px;
}

.start-quiz-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.start-quiz-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* 响应式设计 */
@media (max-width: 600px) {
    .tips-content {
        padding: 20px;
    }
    
    .tips-title {
        font-size: 20px;
    }
    
    .tip-item {
        padding: 12px;
        flex-direction: column;
        text-align: left;
    }
    
    .tip-icon {
        margin-right: 0;
        margin-bottom: 8px;
        align-self: flex-start;
    }
    
    .tip-item p {
        font-size: 14px;
    }
}


/* 响应式按钮布局 */
@media (min-width: 768px) {
    .result-actions {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
    }
    
    .btn-save-image, .btn-restart, .btn-secondary {
        width: 100%;
        margin-top: 0;
    }
}

/* 保存图片按钮样式 */
.btn-save-image {
    background: #16a34a;
    color: white;
    font-weight: 600;
    border: 0;
    padding: 15px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-save-image:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 截图容器样式 */
.screenshot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
}


@media (max-width: 767px) {
    .result-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}


/* 测试按钮样式 */
.test-btn {
    background: #6366f1 !important;
    color: white !important;
    border: 1px solid #6366f1 !important;
}

.test-btn:hover {
    background: #4f46e5 !important;
    color: white !important;
}

/* 截图中的维度得分样式 */
.screenshot-dimension-scores {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.screenshot-dimension-score {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.screenshot-dimension-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1e293b;
}

.screenshot-score-bar {
    width: 100%;
    height: 14px;
    background-color: #f1f5f9;
    border-radius: 7px;
    overflow: hidden;
    display: flex;
    margin-bottom: 8px;
}

.screenshot-score-text {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

/* 截图中的颜色也要覆盖 */
/* 截图中的颜色也要同步 */
.screenshot-score-fill.e-score {
    background: #60a5fa !important;
}

.screenshot-score-fill.i-score {
    background: #3b82f6 !important;
}

.screenshot-score-fill.s-score {
    background: #34d399 !important;
}

.screenshot-score-fill.n-score {
    background: #10b981 !important;
}

.screenshot-score-fill.t-score {
    background: #a78bfa !important;
}

.screenshot-score-fill.f-score {
    background: #8b5cf6 !important;
}

.screenshot-score-fill.j-score {
    background: #fbbf24 !important;
}

.screenshot-score-fill.p-score {
    background: #f59e0b !important;
}

/* 名人标签样式 */
.famous-people-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.person-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--primary);
    transition: all 0.2s ease;
}

.person-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

/* 截图页面基础样式 */
.screenshot-page {
    width: 800px;
    min-height: auto;
    background: white;
    padding: 25px;
    font-family: 'Noto Sans SC', sans-serif;
    color: #1e293b;
    box-sizing: border-box;
}

/* 页面头部 */
.screenshot-header {
    text-align: center;
    margin-bottom: 20px; /* 减少margin */
    padding-bottom: 15px; /* 减少padding */
    border-bottom: 3px solid var(--primary);
}

.screenshot-title .title-line1 {
    font-size: 28px; /* 稍微减小字体 */
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 6px; /* 减少margin */
}

.screenshot-title .title-line2 {
    font-size: 22px; /* 稍微减小字体 */
    font-weight: 600;
    color: #64748b;
    display: block;
}

.screenshot-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px; /* 减少margin */
}

.screenshot-type-badge {
    font-size: 24px; /* 稍微减小字体 */
    font-weight: 700;
    color: white;
    background: var(--primary);
    padding: 8px 16px; /* 减少padding */
    border-radius: 12px;
    letter-spacing: 2px;
}

.screenshot-date {
    font-size: 14px;
    color: #64748b;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
}

/* 章节头部 */
.screenshot-section-header {
    text-align: center;
    margin-bottom: 20px; /* 减少margin */
    padding-bottom: 12px; /* 减少padding */
    border-bottom: 2px solid var(--primary-light);
}

.screenshot-section-header h2 {
    font-size: 22px; /* 稍微减小字体 */
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

/* 主要内容区域 */
.screenshot-main-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px; /* 减少gap */
    margin-bottom: 20px; /* 减少margin */
}

/* 角色卡片 */
.screenshot-roles {
    display: flex;
    flex-direction: column;
    gap: 15px; /* 减少gap */
}

.role-card-compact {
    background: #f8fafc;
    padding: 15px; /* 减少padding */
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.role-card-compact h3 {
    color: var(--primary-dark);
    font-size: 16px;
    margin-bottom: 10px; /* 减少margin */
}

.role-card-compact p {
    font-size: 13px;
    line-height: 1.4; /* 减少行高 */
    margin-bottom: 6px; /* 减少margin */
    color: #475569;
}

/* 维度得分详细版 */
.screenshot-scores-section h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 15px; /* 减少margin */
    text-align: center;
}

.dimension-score-detailed {
    margin-bottom: 15px; /* 减少margin */
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px; /* 减少padding */
}

.dimension-labels-detailed {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px; /* 减少margin */
}

.dimension-item-left,
.dimension-item-right {
    display: flex;
    align-items: center;
    gap: 6px; /* 减少gap */
}

.dimension-key {
    font-weight: 700;
    font-size: 15px; /* 稍微减小字体 */
    color: var(--primary);
}

.dimension-name {
    font-size: 13px; /* 稍微减小字体 */
    color: #64748b;
}

.dimension-percentage {
    font-weight: 600;
    font-size: 13px; /* 稍微减小字体 */
    color: #1e293b;
}

.dimension-bar-detailed {
    height: 10px; /* 减少高度 */
    background: #f1f5f9;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
}

.bar-fill-left,
.bar-fill-right {
    height: 100%;
    transition: none;
}

/* 维度详解 */
.screenshot-dimensions-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px; /* 减少gap */
    margin-bottom: 20px; /* 减少margin */
}

.dimension-card-detailed {
    background: white;
    padding: 15px; /* 减少padding */
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dimension-header {
    margin-bottom: 10px; /* 减少margin */
}

.dimension-badge {
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.dimension-card-detailed p {
    font-size: 13px;
    line-height: 1.4; /* 减少行高 */
    color: #475569;
    margin: 0;
}

/* 特质网格 */
.screenshot-traits-section h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 12px; /* 减少margin */
}

.traits-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; /* 减少gap */
}

.trait-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 8px; /* 减少gap */
    padding: 10px; /* 减少padding */
    background: #f0fdf4;
    border-radius: 8px;
    border-left: 3px solid #22c55e;
}

.trait-number {
    background: #22c55e;
    color: white;
    width: 18px; /* 稍微减小 */
    height: 18px; /* 稍微减小 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px; /* 减小字体 */
    font-weight: 600;
    flex-shrink: 0;
}

.trait-text {
    font-size: 12px;
    line-height: 1.3; /* 减少行高 */
    color: #166534;
}

/* 挑战网格 */
.screenshot-challenges-section h3 {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 12px; /* 减少margin */
}

.challenges-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px; /* 减少gap */
    margin-bottom: 20px; /* 减少margin */
}

.challenge-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 8px; /* 减少gap */
    padding: 8px; /* 减少padding */
    background: #fffbeb;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
}

.challenge-bullet {
    color: #f59e0b;
    font-size: 12px; /* 减小字体 */
    font-weight: 700;
    flex-shrink: 0;
}

.challenge-text {
    font-size: 11px;
    line-height: 1.3; /* 减少行高 */
    color: #92400e;
}

/* 人际关系优势 */
.screenshot-relationship-section h3 {
    color: #22c55e;
    font-size: 18px;
    margin-bottom: 12px; /* 减少margin */
}

.advantages-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px; /* 减少gap */
}

.advantage-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 8px; /* 减少gap */
    padding: 8px; /* 减少padding */
    background: #f0fdf4;
    border-radius: 6px;
    border-left: 3px solid #22c55e;
}

.advantage-check {
    color: #22c55e;
    font-size: 12px; /* 减小字体 */
    font-weight: 700;
    flex-shrink: 0;
}

.advantage-text {
    font-size: 11px;
    line-height: 1.3; /* 减少行高 */
    color: #166534;
}

/* 关系详解 */
.screenshot-relationship-details {
    margin-bottom: 20px; /* 减少margin */
}

.relationship-section-compact {
    margin-bottom: 15px; /* 减少margin */
    padding: 15px; /* 减少padding */
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.relationship-section-compact h3 {
    color: var(--primary-dark);
    font-size: 16px;
    margin-bottom: 10px; /* 减少margin */
}

.relationship-section-compact p {
    font-size: 12px;
    line-height: 1.4; /* 减少行高 */
    margin-bottom: 8px; /* 减少margin */
    color: #475569;
}

/* 名人展示 */
.screenshot-famous-section {
    margin-bottom: 20px; /* 减少margin */
}

.screenshot-famous-section h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 12px; /* 减少margin */
    text-align: center;
}

.famous-people-grid-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* 减少gap */
    justify-content: center;
}

.person-tag-compact {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 5px 10px; /* 减少padding */
    border-radius: 16px;
    font-size: 11px; /* 减小字体 */
    font-weight: 500;
    border: 1px solid var(--primary);
}

/* 页脚 */
.screenshot-footer {
    text-align: center;
    padding-top: 15px; /* 减少padding */
    border-top: 1px solid #e2e8f0;
    margin-top: 15px; /* 减少margin */
}

.screenshot-footer p {
    font-size: 11px; /* 减小字体 */
    color: #64748b;
    margin: 3px 0; /* 减少margin */
}

.disclaimer {
    font-style: italic;
    color: #94a3b8 !important;
}

/* 恢复进度和结果的样式 */
.restore-progress, .restore-result {
    margin: 20px 0;
    animation: slideInUp 0.5s ease-out;
}

.restore-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.restore-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.restore-card:hover::before {
    left: 100%;
}

.restore-card h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
}

.restore-info {
    margin: 20px 0;
}

.progress-text {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.mini-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.restore-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.restore-buttons .btn {
    flex: 1;
    max-width: 150px;
}

/* 通知样式 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 恢复进度和结果的样式 */
.restore-progress, .restore-result {
    margin: 20px 0;
    animation: slideInUp 0.5s ease-out;
}

.restore-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.restore-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.restore-card:hover::before {
    left: 100%;
}

.restore-card h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
}

.restore-info {
    margin: 20px 0;
}

.progress-text {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.mini-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.restore-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.restore-buttons .btn {
    flex: 1;
    max-width: 150px;
}

/* 通知样式 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 优化3-6岁结果页面样式 */
.mbti-result-container-child {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.type-header-card-child {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.type-header-card-child::before {
    content: '🌟';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.dimensions-grid-child {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.dimension-card-child {
    background: white;
    border-radius: 15px;
    padding: 20px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.dimension-card-child:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.dimension-card-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dimension-card-child:hover::before {
    opacity: 1;
}

/* 发展卡片优化 */
.development-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.development-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.development-card:hover {
    transform: translateY(-3px);
}

.development-card.primary {
    border-top: 5px solid #3b82f6;
}

.development-card.secondary {
    border-top: 5px solid #10b981;
}

.development-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.development-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
}

.development-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
}

.development-content {
    padding: 25px;
}

.development-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #475569;
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #e2e8f0;
}

/* 特质和优势卡片 */
.traits-advantages-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.traits-card-child, .advantages-card-child {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card-header.positive {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-bottom-color: #22c55e;
}

.card-header.success {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-bottom-color: #3b82f6;
}

.traits-grid-child, .advantages-grid-child {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
}

.trait-item-child, .advantage-item-child {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
    position: relative;
}

.trait-item-child:hover, .advantage-item-child:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.trait-item-child::before, .advantage-item-child::before {
    content: '✨';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trait-item-child:hover::before, .advantage-item-child:hover::before {
    opacity: 1;
}

/* 挑战卡片 */
.challenges-card-child {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.card-header.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-bottom-color: #f59e0b;
}

.challenges-grid-child {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
}

.challenge-item-child {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ef4444;
    transition: all 0.3s ease;
    position: relative;
}

.challenge-item-child:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.challenge-item-child::before {
    content: '⚠️';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.challenge-item-child:hover::before {
    opacity: 1;
}

/* 手风琴优化 */
.performance-accordion {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #e2e8f0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #1e293b;
    position: relative;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.accordion-header::before {
    content: '📋';
    margin-right: 10px;
}

.accordion-arrow {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #3b82f6;
    font-weight: bold;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.performance-content {
    padding: 25px;
    background: #fafafa;
}

.performance-paragraph {
    margin-bottom: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 名人卡片 */
.famous-people-card-child {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.famous-people-content-child {
    padding: 25px;
}

.category-item {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    border-left: 4px solid #8b5cf6;
    transition: all 0.3s ease;
    position: relative;
}

.category-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.category-item::before {
    content: '🎭';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item:hover::before {
    opacity: 1;
}

/* 响应式优化 */
@media (min-width: 768px) {
    .development-cards-container,
    .traits-advantages-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .dimensions-grid-child {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .traits-grid-child, 
    .advantages-grid-child {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .challenges-grid-child {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 480px) {
    .mbti-result-container-child {
        padding: 15px;
        margin: 10px 0;
    }
    
    .type-header-card-child {
        padding: 20px;
    }
    
    .development-content {
        padding: 15px;
    }
    
    .restore-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .restore-buttons .btn {
        max-width: none;
    }
}


.result-title-container-compact {
    text-align: center;
    padding: 16px 12px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.result-subtitle-compact {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mbti-display-compact {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
}

.mbti-letters-compact {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.mbti-letter-compact {
    background: white;
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mbti-names-compact {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.mbti-name-compact {
    color: white;
    font-size: 10px;
    font-weight: 500;
    width: 32px;
    text-align: center;
    line-height: 1.2;
}

/* 移动端进一步优化 */
@media (max-width: 480px) {
    .result-title-container-compact {
        padding: 14px 10px;
        margin-bottom: 16px;
    }
    
    .result-subtitle-compact {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .mbti-display-compact {
        padding: 10px;
    }
    
    .mbti-letters-compact {
        gap: 6px;
        margin-bottom: 6px;
    }
    
    .mbti-letter-compact {
        font-size: 18px;
        width: 28px;
        height: 28px;
    }
    
    .mbti-names-compact {
        gap: 6px;
    }
    
    .mbti-name-compact {
        font-size: 9px;
        width: 28px;
    }
}

/* 测试按钮样式 */
.test-buttons-container {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px dashed #cbd5e1;
}

.test-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.test-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.test-button:active {
    transform: translateY(0);
}

/* 为重置按钮添加不同颜色 */
#resetTest {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

#resetTest:hover {
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .test-button {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

/* 儿童版本特殊样式 */
.child-description {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-left: 5px solid #f59e0b;
}

.child-trait {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-left: 3px solid #22c55e;
}

.child-advantage {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 3px solid #3b82f6;
}

.child-challenge {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 3px solid #ef4444;
}

.child-famous .person-tag-compact {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
    border: 1px solid #c4b5fd;
}

.child-footer {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-top: 3px solid #0ea5e9;
}

/* 发展和表现卡片样式 */
.development-cards-compact, .performance-areas-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.development-card-compact, .performance-area-compact {
    background: white;
    border-radius: 12px;
    padding: 15px;
    border-left: 4px solid #22c55e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.development-card-compact h4, .performance-area-compact h4 {
    color: #166534;
    margin-bottom: 10px;
    font-size: 14px;
}

.development-content-compact p, .performance-details-compact p {
    font-size: 12px;
    line-height: 1.4;
    color: #374151;
    margin-bottom: 8px;
}

/* 响应式调整 */
@media (max-width: 600px) {
    .development-cards-compact, .performance-areas-compact {
        grid-template-columns: 1fr;
    }
}

/* 社交表现样式 */
.social-performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin: 15px 0;
}

.social-item {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-left: 4px solid #f59e0b;
}


/* 基础表现分析容器 - 手机端优化 */
.performance-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 15px; /* 增加padding */
    border-radius: 12px;
    margin-bottom: 15px; /* 增加间距 */
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1); /* 增强阴影 */
    position: relative;
    overflow: hidden;
    min-height: 60px; /* 设置最小高度 */
}

.performance-item-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.performance-item-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px; /* 增加宽度 */
    height: 100%;
    transition: width 0.3s ease;
}

.performance-item-compact:hover::before {
    width: 10px;
}

.performance-icon {
    font-size: 24px; /* 增大图标 */
    min-width: 32px; /* 增加最小宽度 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.performance-text {
    font-size: 15px; /* 增大字体 */
    line-height: 1.6; /* 增加行高 */
    color: #374151;
    flex: 1;
    font-weight: 500; /* 增加字重 */
}

/* 学习表现 - 蓝色主题 - 手机端优化 */
.learning-performance-grid {
    display: grid;
    grid-template-columns: 1fr; /* 手机端单列 */
    gap: 18px; /* 增加间距 */
    margin: 25px 0; /* 增加外边距 */
}

.learning-item {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 5px solid #3b82f6; /* 增加边框宽度 */
}

.learning-item::before {
    background: #3b82f6;
}

.learning-item .performance-icon {
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.15); /* 增加背景透明度 */
    border-radius: 50%;
    width: 40px; /* 增大尺寸 */
    height: 40px;
    font-size: 18px;
}

.learning-item:hover {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

/* 家庭表现 - 绿色主题 - 手机端优化 */
.family-performance-grid {
    display: grid;
    grid-template-columns: 1fr; /* 手机端单列 */
    gap: 18px;
    margin: 25px 0;
}

.family-item {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-left: 5px solid #22c55e;
}

.family-item::before {
    background: #22c55e;
}

.family-item .performance-icon {
    color: #15803d;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.family-item:hover {
    background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.25);
}

/* 社交表现 - 橙色主题 - 手机端优化 */
.social-performance-grid {
    display: grid;
    grid-template-columns: 1fr; /* 手机端单列 */
    gap: 18px;
    margin: 25px 0;
}

.social-item {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    border-left: 5px solid #f97316;
}

.social-item::before {
    background: #f97316;
}

.social-item .performance-icon {
    color: #c2410c;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.social-item:hover {
    background: linear-gradient(135deg, #fdba74 0%, #fb923c 100%);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.25);
}

/* 截图页面标题样式 - 手机端优化 */
.screenshot-section-header {
    text-align: center;
    margin-bottom: 35px; /* 增加间距 */
    padding: 25px 20px; /* 增加padding */
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.screenshot-section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%);
}

.screenshot-section-header h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 26px; /* 增大字体 */
    font-weight: 700;
    color: #1e293b;
}

/* 学习表现页面标题 */
.screenshot-learning-section .screenshot-section-header {
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    border: 3px solid #0284c7; /* 增加边框宽度 */
}

.screenshot-learning-section .screenshot-section-header h2 {
    color: #0c4a6e;
}

/* 家庭表现页面标题 */
.screenshot-family-section .screenshot-section-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 3px solid #16a34a;
}

.screenshot-family-section .screenshot-section-header h2 {
    color: #14532d;
}

/* 社交表现页面标题 */
.screenshot-social-section .screenshot-section-header {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border: 3px solid #ea580c;
}

.screenshot-social-section .screenshot-section-header h2 {
    color: #9a3412;
}

/* 各部分的小标题样式 - 手机端优化 */
.screenshot-learning-section h3,
.screenshot-family-section h3,
.screenshot-social-section h3 {
    padding-bottom: 12px; /* 增加padding */
    margin-bottom: 25px; /* 增加margin */
    font-size: 20px; /* 增大字体 */
    font-weight: 600;
}

.screenshot-learning-section h3 {
    color: #0c4a6e;
    border-bottom: 3px solid #0284c7; /* 增加边框宽度 */
}

.screenshot-family-section h3 {
    color: #14532d;
    border-bottom: 3px solid #16a34a;
}

.screenshot-social-section h3 {
    color: #9a3412;
    border-bottom: 3px solid #ea580c;
}

/* 平板端适配 */
@media (min-width: 768px) and (max-width: 1024px) {
    .learning-performance-grid,
    .family-performance-grid,
    .social-performance-grid {
        grid-template-columns: repeat(2, 1fr); /* 平板端双列 */
        gap: 20px;
    }
    
    .performance-item-compact {
        padding: 20px;
        min-height: 70px;
    }
    
    .performance-text {
        font-size: 14px;
    }
}

/* 大屏幕适配 */
@media (min-width: 1025px) {
    .learning-performance-grid,
    .family-performance-grid,
    .social-performance-grid {
        grid-template-columns: repeat(2, 1fr); /* 大屏双列 */
        gap: 22px;
    }
    
    .performance-item-compact {
        padding: 22px 18px;
        min-height: 80px;
    }
    
    .performance-text {
        font-size: 16px;
    }
    
    .performance-icon {
        font-size: 26px;
        min-width: 36px;
    }
    
    .learning-item .performance-icon,
    .family-item .performance-icon,
    .social-item .performance-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .performance-item-compact {
        padding: 16px 12px;
        gap: 10px;
        margin-bottom: 12px;
        min-height: 55px;
    }
    
    .performance-icon {
        font-size: 20px;
        min-width: 28px;
    }
    
    .performance-text {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .learning-item .performance-icon,
    .family-item .performance-icon,
    .social-item .performance-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .screenshot-section-header {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .screenshot-section-header h2 {
        font-size: 22px;
    }
    
    .screenshot-learning-section h3,
    .screenshot-family-section h3,
    .screenshot-social-section h3 {
        font-size: 18px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .performance-item-compact:hover {
        transform: none; /* 移除悬停动画 */
    }
    
    .performance-item-compact:active {
        transform: scale(0.98); /* 添加点击反馈 */
        transition: transform 0.1s ease;
    }
}

/* 增加卡片间的视觉分隔 */
.performance-item-compact + .performance-item-compact {
    margin-top: 8px;
}

/* 为不同类型的表现添加更明显的视觉区分 */
.learning-performance-grid {
    padding: 20px;
    background: rgba(59, 130, 246, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.family-performance-grid {
    padding: 20px;
    background: rgba(34, 197, 94, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.social-performance-grid {
    padding: 20px;
    background: rgba(249, 115, 22, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(249, 115, 22, 0.1);
}

/* 基础容器 */
.mbti-result-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 结果标题容器 */
.result-header {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* 副标题 */
.result-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #334155;
    margin: 0 0 1.5rem 0;
}

/* MBTI徽章容器 */
.mbti-badge {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* MBTI单项 */
.mbti-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* MBTI字母 */
.mbti-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    transition: transform 0.2s ease;
}

.mbti-letter:hover {
    transform: scale(1.1);
}

/* MBTI名称 */
.mbti-name {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* 不同位置的颜色 */
/* 莫兰迪治愈系配色 - 最治愈的选择 */
.mbti-item:nth-child(1) .mbti-letter { 
    background: linear-gradient(135deg, #d1c4e9, #b39ddb); /* 雾紫 */
}
.mbti-item:nth-child(2) .mbti-letter { 
    background: linear-gradient(135deg, #c8e6c9, #a5d6a7); /* 雾绿 */
}
.mbti-item:nth-child(3) .mbti-letter { 
    background: linear-gradient(135deg, #bbdefb, #90caf9); /* 雾蓝 */
}
.mbti-item:nth-child(4) .mbti-letter { 
    background: linear-gradient(135deg, #f8bbd9, #f48fb1); /* 雾粉 */
}


/* 响应式 */
@media (max-width: 768px) {
    .result-header {
        padding: 1.5rem 0.75rem;
    }
    
    .result-subtitle {
        font-size: 1.1rem;
    }
    
    .mbti-badge {
        gap: 0.75rem;
    }
    
    .mbti-letter {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .mbti-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .mbti-badge {
        gap: 0.5rem;
    }
    
    .mbti-letter {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}


/* 类型标题卡片 */
.type-title-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.type-title-card.child {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.type-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 内容卡片 */
.content-card {
    background: white;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.content-card.child {
    border-left: 4px solid #ff6b6b;
}

.card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.card-decoration.child {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #f8b5c4, #b5e5d1, #c4d9f8);
    border-radius: 2px;
}

/* 维度网格 */
.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.dimensions-grid.child {
    grid-template-columns: 1fr;
}

.dimension-item {
    background: var(--color, #f7fafc);
    color: #2d3748;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    border-left: 4px solid var(--color, #cbd5e0);
}

.dimension-item.child {
    background: linear-gradient(135deg, var(--color), rgba(255, 255, 255, 0.9));
    font-weight: 500;
}

/* 角色部分 */
.roles-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.role-card {
    background: white;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.role-card.main-role {
    border-left: 4px solid #3b82f6;
}

.role-card.sub-role {
    border-left: 4px solid #10b981;
}

.role-title {
    color: #2d3748;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.role-content p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.role-content p:last-child {
    margin-bottom: 0;
}

/* 特质部分 */
.traits-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.traits-card, .challenges-card {
    background: white;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.traits-card {
    border-left: 4px solid #10b981;
}

.challenges-card {
    border-left: 4px solid #f59e0b;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.section-title.positive {
    color: #10b981;
}

.section-title.warning {
    color: #f59e0b;
}

.section-title.success {
    color: #059669;
}

.traits-list, .challenges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.trait-tag, .challenge-tag {
    background: #f0f9ff;
    color: #0369a1;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #bae6fd;
}

.challenge-tag {
    background: #fffbeb;
    color: #92400e;
    border-color: #fed7aa;
}

/* 关系部分 */
.relationships-section {
    background: white;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.relationship-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.relationship-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.relationship-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
    color: #2d3748;
    font-weight: 500;
    font-size: 14px;
}

.relationship-header:hover {
    color: #3b82f6;
}

.toggle-icon {
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.relationship-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.relationship-content.active {
    max-height: 500px;
}

.relationship-content p {
    color: #4a5568;
    font-size: 13px;
    line-height: 1.5;
    margin: 8px 0;
}

/* 名人部分 */
.famous-section {
    background: white;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    border-left: 4px solid #8b5cf6;
}

.famous-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.person-tag {
    background: #f3e8ff;
    color: #6b21a8;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #d8b4fe;
}

/* 儿童版特殊样式 */
.child-version {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #45b7d1;
}

.development-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.development-card {
    background: white;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.development-card.main {
    border-left: 4px solid var(--primary-color);
}

.development-card.guide {
    border-left: 4px solid var(--secondary-color);
}

.child-traits-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.child-traits-card, .child-advantages-card {
    background: white;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.child-traits-card {
    border-left: 4px solid var(--primary-color);
}

.child-advantages-card {
    border-left: 4px solid var(--secondary-color);
}

.child-traits-list, .child-advantages-list, .child-challenges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.child-trait-tag, .child-advantage-tag, .child-challenge-tag {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.child-trait-tag {
    background: #ffe8e8;
    color: #c53030;
    border: 1px solid #fed7d7;
}

.child-advantage-tag {
    background: #e8f8f5;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}

.child-challenge-tag {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fed7aa;
}

.child-challenges-section {
    background: white;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    border-left: 4px solid #f59e0b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mbti-letters {
        gap: 4px;
    }
    
    .mbti-letter {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }
    
    .mbti-name {
        width: 24px;
        font-size: 9px;
    }
    
    .roles-section,
    .traits-section,
    .development-section,
    .child-traits-section {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .dimensions-grid {
        grid-template-columns: 1fr;
    }
    
    .content-card,
    .role-card,
    .traits-card,
    .challenges-card {
        padding: 12px;
    }
    
    .type-title {
        font-size: 16px;
    }
    
    .card-title {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .result-header {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .result-subtitle {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .mbti-type-badge {
        padding: 10px;
    }
    
    .mbti-letters {
        gap: 3px;
        margin-bottom: 4px;
    }
    
    .mbti-letter {
        width: 22px;
        height: 22px;
        font-size: 14px;
    }
    
    .mbti-name {
        width: 22px;
        font-size: 8px;
    }
    
    .type-title-card {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .type-title {
        font-size: 15px;
    }
    
    .content-card,
    .role-card,
    .traits-card,
    .challenges-card,
    .development-card {
        padding: 10px;
        margin-bottom: 12px;
    }
    
    .card-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .section-title {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .dimension-item {
        padding: 10px;
        font-size: 13px;
    }
    
    .role-content p {
        font-size: 13px;
    }
    
    .trait-tag,
    .challenge-tag,
    .child-trait-tag,
    .child-advantage-tag,
    .child-challenge-tag {
        padding: 3px 6px;
        font-size: 11px;
    }
    
    .person-tag {
        padding: 3px 6px;
        font-size: 11px;
    }
    
    .relationship-header {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .relationship-content p {
        font-size: 12px;
        margin: 6px 0;
    }
}

/* 结果标题容器 */
.result-header.healing {
    margin-bottom: 2rem;
    padding: 0;
}

.result-title-section {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, var(--healing-light) 100%);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 216, 220, 0.2);
    box-shadow: 0 4px 20px rgba(168, 216, 220, 0.1);
}

.result-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

/* MBTI徽章 */
.mbti-type-badge {
    display: inline-block;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(168, 216, 220, 0.3);
}

.mbti-letters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.mbti-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--healing-primary) 0%, var(--healing-green) 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(168, 216, 220, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fade-in-scale 0.6s ease-out forwards;
}

.mbti-letter:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(168, 216, 220, 0.4);
}

.mbti-letter:nth-child(1) { background: linear-gradient(135deg, var(--healing-primary) 0%, var(--healing-green) 100%); }
.mbti-letter:nth-child(2) { background: linear-gradient(135deg, var(--healing-pink) 0%, var(--healing-purple) 100%); }
.mbti-letter:nth-child(3) { background: linear-gradient(135deg, var(--healing-green) 0%, var(--healing-yellow) 100%); }
.mbti-letter:nth-child(4) { background: linear-gradient(135deg, var(--healing-purple) 0%, var(--healing-primary) 100%); }

.mbti-names {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.mbti-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0;
    animation: fade-in-up 0.6s ease-out forwards;
    transition: color 0.3s ease;
}

.mbti-name:hover {
    color: var(--text-primary);
}

/* 动画效果 */
@keyframes fade-in-scale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .result-title-section {
        padding: 1.5rem 1rem;
    }
    
    .result-subtitle {
        font-size: 1.2rem;
    }
    
    .mbti-type-badge {
        padding: 0.75rem 1rem;
    }
    
    .mbti-letters {
        gap: 0.4rem;
    }
    
    .mbti-letter {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .mbti-names {
        gap: 0.75rem;
    }
    
    .mbti-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .mbti-letters {
        gap: 0.3rem;
    }
    
    .mbti-letter {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .mbti-names {
        gap: 0.5rem;
    }
    
    .mbti-name {
        font-size: 0.7rem;
    }
}

/* 温暖优雅版本 */
.type-title-card.elegant {
    position: relative;
    text-align: center;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 251, 247, 0.95) 0%, 
        rgba(254, 249, 242, 0.95) 50%, 
        rgba(253, 246, 237, 0.95) 100%);
    border-radius: 20px;
    border: 1px solid rgba(217, 119, 6, 0.1);
    box-shadow: 
        0 4px 25px rgba(217, 119, 6, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s ease;
}

.title-decoration {
    background: linear-gradient(90deg, 
        #f59e0b 0%, 
        #d97706 25%, 
        #dc2626 50%, 
        #be185d 75%, 
        #7c3aed 100%);
}

.type-title {
    background: linear-gradient(135deg, 
        #92400e 0%, 
        #b45309 50%, 
        #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-subtitle {
    color: #a16207;
}

/* 统一的内容卡片样式 */
.content-card.child.elegant {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-card.child.elegant:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* 统一的网格布局 */
.dimensions-grid.child.elegant,
.development-grid.child.elegant,
.guidance-grid.child.elegant {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* 统一的项目样式 */
.dimension-item.child.elegant,
.development-item.child.elegant,
.guidance-item.child.elegant {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background: var(--color, #f8fafc);
    border-radius: 12px;
    border-left: 4px solid var(--border-color, #e2e8f0);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.dimension-item.child.elegant:hover,
.development-item.child.elegant:hover,
.guidance-item.child.elegant:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



/* 不同项目的边框颜色 */
.dimension-item.child.elegant {
    --border-color: #d1c4e9;
}

.development-item.child.elegant {
    --border-color: #a5d6a7;
}

.guidance-item.child.elegant {
    --border-color: #90caf9;
}

/* 悬停效果增强 */
.dimension-item.child.elegant::before,
.development-item.child.elegant::before,
.guidance-item.child.elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dimension-item.child.elegant:hover::before,
.development-item.child.elegant:hover::before,
.guidance-item.child.elegant:hover::before {
    opacity: 1;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .dimensions-grid.child.elegant,
    .development-grid.child.elegant,
    .guidance-grid.child.elegant {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .content-card.child.elegant {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .dimension-item.child.elegant,
    .development-item.child.elegant,
    .guidance-item.child.elegant {
        padding: 12px;
        font-size: 13px;
    }
    
}


/* 场景网格布局 */
.scenarios-grid.child.elegant {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* 场景项目样式 */
.scenario-item.child.elegant {
    background: var(--item-bg, var(--morandi-gray));
    border-radius: 12px;
    border-left: 4px solid var(--item-border, var(--morandi-purple-deep));
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scenario-item.child.elegant:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(179, 157, 219, 0.15);
}


/* 场景头部 - 无图标版本 */
.scenario-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(107, 91, 115, 0.1);
}


.scenario-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #5d4e75;
}

/* 场景内容 */
.scenario-content {
    line-height: 1.6;
}

.scenario-text {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #6b5b73;
    line-height: 1.6;
}

.scenario-text:last-child {
    margin-bottom: 0;
}

/* 不同场景的边框颜色 */
.scenario-item.child.elegant:nth-child(1) {
    --item-border: var(--morandi-pink-deep);
}

.scenario-item.child.elegant:nth-child(2) {
    --item-border: var(--morandi-beige-deep);
}

.scenario-item.child.elegant:nth-child(3) {
    --item-border: var(--morandi-gray-deep);
}

/* 悬停效果 */
.scenario-item.child.elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scenario-item.child.elegant:hover::before {
    opacity: 1;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .scenarios-grid.child.elegant {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .scenarios-grid.child.elegant {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .scenario-item.child.elegant {
        padding: 16px;
    }
    
    .scenario-title {
        font-size: 15px;
    }
    
    .scenario-icon.child {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .scenario-text {
        font-size: 13px;
    }
}

/* 容器样式 - 橙色主题 */
.tips-card {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(234, 88, 12, 0.12);
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(234, 88, 12, 0.1);
}

.tips-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ea580c 0%, #c2410c 100%);
}

/* 头部样式 - 橙色主题 */
.tips-header {
  text-align: center;
  margin-bottom: 40px;
}

.tips-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  border-radius: 20px;
  color: white;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.3);
}

.tips-title {
  font-size: 28px;
  font-weight: 700;
  color: #1c1917;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.tips-subtitle {
  font-size: 16px;
  color: #78716c;
  margin: 0;
  font-weight: 400;
}

.highlight-nickname {
  background: linear-gradient(120deg, rgba(234, 88, 12, 0.1) 0%, rgba(194, 65, 12, 0.1) 100%);
  color: #ea580c;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

/* 提示列表样式 - 橙色主题 */
.tips-list {
  margin-bottom: 40px;
}

.tip-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-bottom: 16px;
  background: #fffbf7;
  border-radius: 16px;
  border: 1px solid #f3f0ed;
  transition: all 0.3s ease;
  position: relative;
}

.tip-card:hover {
  background: #fef7f0;
  border-color: #fed7aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.08);
}

.tip-card:last-child {
  margin-bottom: 0;
}

.tip-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.tip-content {
  flex: 1;
  padding-top: 2px;
}

.tip-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #1c1917;
}

.tip-content strong {
  color: #1c1917;
  font-weight: 600;
}

/* 按钮样式 - 橙色主题 */
.tips-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-back, .btn-start {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 140px;
  justify-content: center;
}

.btn-back {
  background: #fffbf7;
  color: #78716c;
  border: 2px solid #f3f0ed;
}

.btn-back:hover {
  background: #fef7f0;
  border-color: #e7e5e4;
  transform: translateY(-1px);
  color: #57534e;
}

.btn-start {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
}

.btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.4);
  background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%);
}

.btn-start:active {
  transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .tips-card {
      margin: 20px;
      padding: 30px 24px;
      border-radius: 16px;
  }
  
  .tips-title {
      font-size: 24px;
  }
  
  .tips-subtitle {
      font-size: 15px;
  }
  
  .tip-card {
      padding: 16px;
      gap: 12px;
  }
  
  .tip-content p {
      font-size: 15px;
  }
  
  .tips-actions {
      flex-direction: column;
      gap: 12px;
  }
  
  .btn-back, .btn-start {
      width: 100%;
      min-width: unset;
  }
}

@media (max-width: 480px) {
  .tips-card {
      margin: 16px;
      padding: 24px 20px;
  }
  
  .tips-icon {
      width: 56px;
      height: 56px;
  }
  
  .tips-title {
      font-size: 22px;
  }
  
  .tip-number {
      width: 28px;
      height: 28px;
      font-size: 13px;
  }
  
  .tip-content p {
      font-size: 14px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.tips-card {
  animation: fadeInUp 0.6s ease-out;
}

.tip-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.tip-card:nth-child(1) { animation-delay: 0.1s; }
.tip-card:nth-child(2) { animation-delay: 0.2s; }
.tip-card:nth-child(3) { animation-delay: 0.3s; }
.tip-card:nth-child(4) { animation-delay: 0.4s; }
.tip-card:nth-child(5) { animation-delay: 0.5s; }

/* 温暖橙色渐变背景装饰 */
.tips-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* 增强悬停效果的微光动画 */
.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(234, 88, 12, 0.05), transparent);
  transition: left 0.6s;
  pointer-events: none;
}

.tip-card:hover::before {
  left: 100%;
}

/* 按钮的微妙阴影增强 */
.btn-back:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.btn-start:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
}