/* --- 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 table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
    color: #3a2e5d;
    font-family: system-ui, -apple-system, sans-serif; /* 瘦身：使用系统字体 */
}

.table-responsive th, 
.table-responsive td {
    padding: 12px 14px;
    border: 1px solid #d1c9e6;
    text-align: center;
}

.table-responsive th {
    background-color: #6c54a3;
    color: #f3f0ff;
    font-weight: 700;
}

/* 第一列特殊样式 */
.table-responsive td:first-child {
    background-color: #e6e0f8;
    font-weight: 600;
    text-align: left;
}

.table-responsive tr:nth-child(even) {
    background-color: #f7f5fc;
}

.table-responsive tr:hover {
    background-color: #eceaf3; /* 稍微调亮了悬停色，更显高级 */
}

/* 表格内链接 */
.table-responsive table a {
    color: #8b5cf6;
    text-decoration: underline;
    font-weight: 600;
}

.table-responsive table a:hover {
    color: #5a2d9a;
    text-decoration: none;
}

/* 响应式：小屏幕允许横向滚动 */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}
}