/* MBTI 人格测试 - 全局样式 */

:root {
  --primary: #5EB7A8;
  --primary-light: #7FC9BC;
  --primary-dark: #4A9A8C;
  --secondary: #F5A623;
  --accent-purple: #9B8FD4;
  --accent-blue: #6BA3D6;
  --accent-orange: #F5A623;
  --accent-pink: #E89AB5;
  
  --bg-primary: #FAFBFC;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F0F4F3;
  
  --text-primary: #2D3748;
  --text-secondary: #4A5568;
  --text-tertiary: #718096;
  --text-light: #A0AEC0;
  
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.navbar-link:hover {
  color: var(--primary);
}

.navbar-cta {
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.navbar-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 主内容区 */
.main-content {
  flex: 1;
  padding-top: 64px;
}

/* 首页 - Hero 区域 */
.hero-section {
  padding: 80px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, #F0F9F7 0%, var(--bg-primary) 100%);
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(94, 183, 168, 0.1);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(94, 183, 168, 0.4);
}

.hero-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94, 183, 168, 0.5);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* 四维度区域 */
.dimensions-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.dimension-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  cursor: default;
}

.dimension-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dimension-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.dimension-icon.ei { background: linear-gradient(135deg, #FFE4E1, #FFB6C1); }
.dimension-icon.sn { background: linear-gradient(135deg, #E0F7FA, #80DEEA); }
.dimension-icon.tf { background: linear-gradient(135deg, #E8EAF6, #9FA8DA); }
.dimension-icon.jp { background: linear-gradient(135deg, #FFF3E0, #FFCC80); }

.dimension-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dimension-desc {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.dimension-letters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 16px;
}

.dimension-letter.left { color: var(--primary); }
.dimension-letter.right { color: var(--secondary); }

/* 16型人格网格 */
.types-section {
  padding: 80px 24px;
  background: var(--bg-tertiary);
}

.types-container {
  max-width: 1200px;
  margin: 0 auto;
}

.types-groups {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.type-group {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
}

.type-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.type-group-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.type-group-icon.analysts { background: linear-gradient(135deg, #E8EAF6, #9FA8DA); }
.type-group-icon.diplomats { background: linear-gradient(135deg, #E0F2F1, #80CBC4); }
.type-group-icon.sentinels { background: linear-gradient(135deg, #E3F2FD, #90CAF9); }
.type-group-icon.explorers { background: linear-gradient(135deg, #FFF3E0, #FFCC80); }

.type-group-title {
  font-size: 20px;
  font-weight: 600;
}

.type-group-desc {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-left: auto;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.type-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  text-align: center;
}

.type-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.type-card-code {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.type-card-name {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.type-card-tagline {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* 测试页面 */
.test-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px;
}

.test-header {
  text-align: center;
  margin-bottom: 40px;
}

.test-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.test-subtitle {
  font-size: 16px;
  color: var(--text-tertiary);
}

.test-progress {
  margin-bottom: 40px;
}

.progress-bar {
  height: 8px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-tertiary);
}

.question-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.question-number {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.question-text {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-primary);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.option-btn:hover {
  border-color: var(--primary-light);
  background: rgba(94, 183, 168, 0.05);
}

.option-btn.selected {
  border-color: var(--primary);
  background: rgba(94, 183, 168, 0.1);
}

.option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
}

.option-btn.selected .option-radio {
  border-color: var(--primary);
}

.option-btn.selected .option-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.option-text {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

.option-btn.selected .option-text {
  color: var(--primary-dark);
}

.test-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-btn {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.nav-btn.prev {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.nav-btn.prev:hover {
  background: var(--border-light);
}

.nav-btn.next {
  background: var(--primary);
  color: white;
}

.nav-btn.next:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* 结果页面 */
.result-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.result-header {
  text-align: center;
  margin-bottom: 48px;
}

.result-type-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.result-type-code {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 4px;
}

.result-type-name {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.result-type-slogan {
  font-size: 18px;
  color: var(--text-tertiary);
  font-style: italic;
}

/* 维度图表 */
.dimensions-chart {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.chart-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
}

.dimension-bar {
  margin-bottom: 24px;
}

.dimension-bar:last-child {
  margin-bottom: 0;
}

.dimension-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.dimension-bar-header .left { color: var(--primary); }
.dimension-bar-header .right { color: var(--secondary); }

.dimension-bar-track {
  height: 12px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
}

.dimension-bar-fill-left {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  transition: width 1s ease;
}

.dimension-bar-fill-right {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), #F7C948);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: width 1s ease;
}

/* 详细描述 */
.result-description {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.result-description h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.result-description p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* 优势与弱点 */
.strengths-weaknesses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.sw-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.sw-card.strengths {
  border-top: 4px solid var(--primary);
}

.sw-card.weaknesses {
  border-top: 4px solid var(--secondary);
}

.sw-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sw-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sw-list li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.sw-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.strengths .sw-list li::before {
  background: var(--primary);
}

.weaknesses .sw-list li::before {
  background: var(--secondary);
}

/* 职业建议 */
.careers-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.careers-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.career-tag {
  padding: 8px 16px;
  background: rgba(94, 183, 168, 0.1);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
}

/* 人际关系 */
.relationships-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.relationships-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.relationships-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* 代表人物 */
.famous-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.famous-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.famous-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.famous-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.famous-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.famous-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* 结果页操作按钮 */
.result-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.action-btn {
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn.primary {
  background: var(--primary);
  color: white;
}

.action-btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.action-btn.secondary {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 2px solid var(--border);
}

.action-btn.secondary:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

/* 类型详情页 */
.type-detail-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 32px;
  transition: var(--transition);
  background: none;
  border: none;
}

.back-btn:hover {
  color: var(--primary);
}

/* 页脚 */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 40px 24px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-tertiary);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
}

/* 断点续测弹窗 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.modal-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.modal-btn.primary {
  background: var(--primary);
  color: white;
}

.modal-btn.primary:hover {
  background: var(--primary-dark);
}

.modal-btn.secondary {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.modal-btn.secondary:hover {
  background: var(--border-light);
}

/* 加载动画 */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 24px;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 16px;
  color: var(--text-tertiary);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .dimensions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .strengths-weaknesses {
    grid-template-columns: 1fr;
  }
  
  .navbar-links {
    display: none;
  }
  
  .question-card {
    padding: 24px;
  }
  
  .question-text {
    font-size: 18px;
  }
  
  .result-type-code {
    font-size: 48px;
  }
  
  .result-type-name {
    font-size: 22px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .test-page,
  .result-page,
  .type-detail-page {
    padding: 40px 16px;
  }
}

@media (max-width: 480px) {
  .dimensions-grid {
    grid-template-columns: 1fr;
  }
  
  .type-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-cta {
    padding: 14px 32px;
    font-size: 16px;
  }
  
  .result-actions {
    flex-direction: column;
  }
  
  .action-btn {
    width: 100%;
    justify-content: center;
  }
}

/* 页面过渡动画 */
.page-enter {
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}
