/* --- Rating Card System (Final Optimized & Clean) --- */

.rating-section {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
  width: 100%;
  align-items: stretch;
}

.rating-column { flex: 1 1 400px; }
.rating-column.left { max-width: 500px; }
.rating-column.right { max-width: 500px; }

.rating-card {
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  background: #f6efff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 卡片顶部灰色小标题样式 */
.score-label {
  display: block;
  font-weight: bold;
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

/* 核心瘦身类：大分数样式 */
.overall-score-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

/* 评分列表容器 */
.score-list {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 10px;
}

/* 评分项布局：标题分数并排 */
.score-item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

/* 评分项内的小标题：自动继承 0.7rem 样式，无需内联 style */
.score-item .score-label {
  font-size: 0.7rem;
  margin-bottom: 3px;
  flex: 1;
}

.score-data {
  font-weight: 700;
  color: #1e293b;
  font-size: 1rem;
  text-align: right;
  min-width: 50px;
}

/* 进度条样式 */
.score-bar {
  flex-basis: 100%;
  margin-top: 5px;
  height: 7px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.score-fill { height: 100%; border-radius: inherit; transition: width 0.3s ease; }
.fill-blue { background: #3b82f6; width: 60%; }
.fill-green { background: #10b981; width: 100%; }
.fill-red { background: #ef4444; width: 40%; }

/* 右侧说明部分 */
.score-desc {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.score-desc-item {
  line-height: 1.5;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 15px;
}

.score-desc-item strong {
  color: #0f172a;
  display: inline-block;
  margin-bottom: 2px;
}
    
/* --- 比较表格样式（精简利落版） --- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px auto;
    max-width: 80%; /* 桌面端宽度 */
}

@media (max-width: 768px) {
    .table-responsive {
        max-width: 100%;
    }
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px; /* 稍微缩小字号，显得更精致 */
    line-height: 1.4; /* 缩窄行间距 */
    color: #3a2e5d;
    font-family: system-ui, -apple-system, sans-serif;
}

.table-responsive th, 
.table-responsive td {
    padding: 8px 12px; /* 缩减上下 Padding，让行间距更窄 */
    border: 1px solid #d1c9e6;
    text-align: center;
}

.table-responsive th {
    background-color: #6c54a3;
    color: #ffffff;
    font-weight: 600;
}

/* --- 第一列优化：去掉加粗 --- */
.table-responsive td:first-child {
    background-color: #f8f7ff; /* 极淡的紫灰色背景 */
    color: #5a2d9a;           /* 使用深紫色文字来区分，而不靠粗细 */
    font-weight: normal;      /* 彻底去掉加粗 */
    text-align: left;
    width: 20%;               /* 调整比例 */
}

.table-responsive tr:nth-child(even) {
    background-color: #fcfaff;
}

.table-responsive tr:hover {
    background-color: #f1edff;
}

/* 链接样式 */
.table-responsive table a {
    color: #8b5cf6;
    text-decoration: none;
}

.table-responsive table a:hover {
    text-decoration: underline;
}
}