/* 热门模型展示区域 - OpenRouter风格 */
.featured-models-section {
  margin: 0 auto;
  padding: clamp(30px, 4vw, 50px) 5vw;
  width: 100%;
  max-width: 80%;
  box-sizing: border-box;
}

.featured-models-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(16px, 2vw, 28px);
}

.featured-models-title-area {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.5vw, 8px);
}

.featured-models-title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  color: #18181b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.featured-models-title .title-arrow {
  color: #a1a1aa;
  font-weight: 400;
}

.featured-models-subtitle {
  font-size: clamp(12px, 1vw, 15px);
  color: #71717a;
  margin: 0;
}

.featured-models-viewall {
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-size: clamp(11px, 0.9vw, 13px);
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  margin-top: 0;
}

.featured-models-viewall:hover {
  color: #18181b;
}

.featured-viewall-arrow {
  margin-left: clamp(6px, 0.6vw, 10px);
  transition: transform 0.2s ease;
}

.featured-models-viewall:hover .featured-viewall-arrow {
  transform: translateX(2px);
}

.featured-models-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 24px);
}

/* 热门模型卡片 */
.featured-model-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: clamp(10px, 1vw, 16px);
  padding: clamp(16px, 1.5vw, 24px);
  transition: all 0.2s ease;
  min-width: 0;
}

.featured-model-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #d4d4d8;
}

.featured-model-info {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 16px);
  margin-bottom: clamp(14px, 1.2vw, 20px);
  padding-bottom: clamp(14px, 1.2vw, 20px);
  border-bottom: 1px solid #f4f4f5;
}

.featured-model-icon {
  width: clamp(36px, 3vw, 48px);
  height: clamp(36px, 3vw, 48px);
  border-radius: 50%;
  background: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 1.5vw, 24px);
  flex-shrink: 0;
}

.featured-model-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.featured-model-details {
  flex: 1;
  min-width: 0;
}

.featured-model-name {
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 600;
  color: #18181b;
  margin: 0 0 clamp(2px, 0.3vw, 4px) 0;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.featured-model-provider {
  font-size: clamp(11px, 0.9vw, 14px);
  color: #71717a;
  margin: 0;
}

.featured-model-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.featured-stat {
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.3vw, 4px);
}

.featured-stat-label {
  font-size: clamp(10px, 0.8vw, 13px);
  color: #a1a1aa;
}

.featured-stat-value {
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 600;
  color: #18181b;
}

.featured-stat-value.trend-down {
  color: #ef4444;
}

.featured-stat-value.trend-up {
  color: #22c55e;
}

/* 响应式 */
@media (max-width: 1200px) {
  .featured-models-section {
    max-width: 90%;
  }
}

@media (max-width: 900px) {
  .featured-models-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featured-models-section {
    max-width: 95%;
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .featured-models-grid {
    grid-template-columns: 1fr;
  }

  .featured-models-header {
    flex-direction: column;
    gap: 12px;
  }

  .featured-models-section {
    max-width: 100%;
    padding: 24px 16px;
  }
}

/* 模型列表展示区域 - 固定宽度响应式容器 */
.model-lists-display {
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  max-width: 1400px;
  box-sizing: border-box;
}

/* 模型列表容器 - 现代卡片风格 */
.model-lists-container {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.model-lists-container:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* 顶部导航栏 - 现代布局 */
.lists-navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 28px;
  background: linear-gradient(to bottom, #fafafa, #fff);
  border-bottom: 1px solid #e4e4e7;
  width: 100%;
  box-sizing: border-box;
}

.lists-tabs {
  display: flex;
  gap: 4px;
}

.lists-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s ease;
  position: relative;
}

.lists-tab:hover {
  background: rgba(59, 130, 246, 0.04);
}

.lists-tab.active {
  border-bottom-color: #3b82f6;
}

.lists-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 3px 3px 0 0;
}

.tab-icon {
  font-size: 22px;
}

.tab-text {
  font-size: 15px;
  font-weight: 600;
  color: #52525b;
  letter-spacing: -0.01em;
}

.lists-tab:not(.active) .tab-text {
  color: #71717a;
}

.lists-tab.active .tab-text {
  color: #18181b;
}

.tab-badge {
  font-size: 11px;
  padding: 3px 10px;
  background: #f4f4f5;
  color: #71717a;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lists-tab.active .tab-badge {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #fff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 中间占位区域 */
.lists-navbar-spacer {
  flex: 1;
}

/* 筛选器 - 固定位置 */
.lists-filters {
  display: flex;
  gap: 6px;
  justify-self: end;
}

.lists-filter {
  padding: 8px 18px;
  font-size: 13px;
  color: #52525b;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.lists-filter:hover {
  border-color: #a1a1aa;
  background: #fafafa;
  transform: translateY(-1px);
}

.lists-filter.active {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 内容区域 - 固定宽度 */
.lists-content {
  width: 100%;
  min-height: 500px;
  background: #fff;
}

.lists-panel {
  display: none;
  width: 100%;
}

.lists-panel.active {
  display: block;
}

.lists-panel .recommended-models-container,
.lists-panel .popular-models-container {
  padding: 24px 28px;
  max-height: 720px;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .lists-navbar {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .lists-tabs {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .lists-tab {
    flex: 1;
    justify-content: center;
    padding: 16px 12px;
  }

  .tab-badge {
    display: none;
  }

  .lists-filters {
    width: 100%;
    padding: 12px 16px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .lists-filter {
    flex-shrink: 0;
  }
}

/* 列表区块 */
.model-list-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.model-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.model-list-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.model-list-title .icon {
  font-size: 22px;
}

.model-list-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}

/* 推荐模型筛选按钮 */
.recommended-filter-buttons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.recommended-filter-btn {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-weight: 500;
}

.recommended-filter-btn:hover {
  background: #e8f4fd;
  border-color: #b3d9f2;
  color: #2196F3;
}

.recommended-filter-btn.active {
  background: #2196F3;
  border-color: #2196F3;
  color: white;
  box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

.recommended-filter-btn.active:hover {
  background: #1976D2;
  border-color: #1976D2;
}

/* 推荐模型列表样式 - 重构版本 */
.recommended-models-container {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

/* 推荐模型网格布局 */
.recommended-models-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 简单卡片容器 */
.simple-cards-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.simple-cards-row .model-recommendation-card {
  flex: 1;
  margin-bottom: 0;
}

/* 推荐模型卡片 - 现代风格 */
.model-recommendation-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.25s ease;
  box-sizing: border-box;
  position: relative;
}

/* 复杂卡片布局 - 独占一行 */
.model-recommendation-card.complex-layout {
  width: 100%;
  margin-bottom: 16px;
}

/* 简单卡片布局 - 为并排做准备 */
.model-recommendation-card.simple-layout {
  width: 100%;
  margin-bottom: 16px;
}

.model-recommendation-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

/* 模型标题部分 */
.model-title-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 20px;
}

.model-title-content {
  flex: 1;
  min-width: 0;
}

.model-main-name {
  font-size: 17px;
  font-weight: 700;
  color: #18181b;
  margin: 0 0 8px 0;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.model-description {
  font-size: 14px;
  color: #71717a;
  margin: 0;
  line-height: 1.6;
}

/* 简单布局的标题调整 */
.model-recommendation-card.simple-layout .model-main-name {
  font-size: 15px;
}

.model-recommendation-card.simple-layout .model-description {
  font-size: 13px;
}

/* 文档链接 */
.model-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #fafafa;
  color: #52525b;
  text-decoration: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #e4e4e7;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
  height: fit-content;
}

.model-doc-link:hover {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
  transform: translateY(-1px);
}

.doc-icon {
  font-size: 14px;
}

/* 价格分组区域 */
.model-pricing-section {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  border: 1px solid #e4e4e7;
}

.pricing-section-title {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.pricing-icon {
  font-size: 15px;
}

/* 复杂布局的价格网格 */
.pricing-groups-grid {
  display: grid;
  gap: 10px;
}

.model-recommendation-card.complex-layout .pricing-groups-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* 简单布局的价格网格 */
.model-recommendation-card.simple-layout .pricing-groups-grid {
  grid-template-columns: 1fr;
}

.pricing-group-item {
  background: #fafafa;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  min-height: 44px;
  box-sizing: border-box;
}

.pricing-group-item:hover {
  background: #f5f5f5;
  border-color: #e4e4e7;
}

.group-name-label {
  color: #475569;
  font-weight: 500;
  font-size: 13px;
  flex: 0 0 45%;
  margin-right: 8px;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.group-price-value {
  color: #3b82f6;
  font-weight: 700;
  font-size: 14px;
  text-align: right;
  flex: 1;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* 简单布局的价格调整 */
.model-recommendation-card.simple-layout .group-name-label {
  font-size: 11px;
}

.model-recommendation-card.simple-layout .group-price-value {
  font-size: 12px;
}

/* Token价格容器 */
.token-pricing-container {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  align-items: stretch;
}

.token-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 18px;
}

.token-type {
  color: #64748b;
  font-weight: 500;
  font-size: 11px;
  min-width: 28px;
  flex: 0 0 auto;
  text-align: right;
  margin-right: 6px;
}

.token-price {
  color: #3b82f6;
  font-weight: 700;
  font-size: 12px;
  text-align: right;
  flex: 1;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.3;
}

/* 当有token价格时，调整容器的对齐方式 */
.pricing-group-item.has-token-pricing {
  flex-direction: row;
  align-items: flex-start;
  padding: 10px;
}

.pricing-group-item.has-token-pricing .group-name-label {
  flex: 0 0 40%;
  align-items: flex-start;
  padding-top: 3px;
}

/* 简单布局的token价格调整 */
.model-recommendation-card.simple-layout .token-type {
  font-size: 11px;
}

.model-recommendation-card.simple-layout .token-price {
  font-size: 12px;
}

/* 特殊标记 */
.price-highlight {
  position: relative;
}

.price-highlight::after {
  content: '推荐';
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff5722;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 500;
}

/* 热门模型列表样式 */
.popular-models-container {
  max-height: 380px;
  overflow-y: auto;
}

/* 右侧信息列中的热门模型列表特殊调整 */
.right-info-column .popular-models-container {
  max-height: 320px;
}

.popular-model-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  margin: 4px 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  position: relative;
  transition: all 0.2s ease;
}

.popular-model-item:hover {
  background: #fafaff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
  border-color: #dbeafe;
  transform: translateX(4px);
}

.popular-model-item:first-child {
  margin-top: 0;
}

.popular-model-item:last-child {
  margin-bottom: 0;
}

.model-rank {
  width: 30px;
  height: 30px;
  background: #f4f4f5;
  color: #71717a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* 前三名特殊样式 */
.popular-model-item:nth-child(1) .model-rank {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.popular-model-item:nth-child(2) .model-rank {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #fff;
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.4);
}

.popular-model-item:nth-child(3) .model-rank {
  background: linear-gradient(135deg, #fdba74, #f97316);
  color: #fff;
  box-shadow: 0 2px 8px rgba(253, 186, 116, 0.4);
}

.model-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
}

.popular-model-item .model-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.model-usage {
  font-size: 13px;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 16px;
  font-weight: 600;
  flex-shrink: 0;
  margin-left: 16px;
}

/* 为前三名添加特殊的占比样式 */
.popular-model-item:nth-child(1) .model-usage {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
}

.popular-model-item:nth-child(2) .model-usage {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #475569;
}

.popular-model-item:nth-child(3) .model-usage {
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
  color: #c2410c;
}

/* 移除进度条效果，使用更简洁的卡片设计 */
.model-usage-bar {
  display: none;
}

/* 分页控件 */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.pagination-btn {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
}

.pagination-btn:hover:not(:disabled) {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-info {
  font-size: 14px;
  color: #64748b;
  min-width: 80px;
  text-align: center;
  font-weight: 500;
}

/* 错误信息样式 */
.error-message {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.error-message p {
  margin: 8px 0;
}

.error-hint {
  font-size: 14px;
  color: #999;
}

/* 加载状态 */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid #dbeafe;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
  .model-lists-display {
    padding: 0 16px; /* 统一为0顶部padding */
  }
  
  .model-lists-container {
    grid-template-columns: 1fr;
    gap: 16px; /* 保持与桌面版一致 */
    /* 移除原有的padding设置 */
  }
  
  /* 在平板设备上，右侧信息列改为水平布局 */
  .right-info-column {
    flex-direction: row;
    gap: 16px; /* 从20px减少到16px */
  }
  
  .right-info-column .pricing-hero {
    flex: 1;
  }
  
  .right-info-column .model-list-section {
    flex: 1;
  }
  
  /* 平板设备上pricing-hero恢复垂直布局 */
  .right-info-column .pricing-hero-stats {
    flex-direction: column;
    gap: 8px;
  }
  
  .right-info-column .hero-stat {
    width: 100%;
  }
  
  .pricing-groups-grid {
    grid-template-columns: 1fr;
  }
  
  .model-recommendation-card.complex-layout .pricing-groups-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .model-lists-display {
    padding: 0 12px; /* 统一为0顶部padding */
  }
  
  .model-lists-container {
    /* 移除原有的padding设置 */
  }
  
  .model-list-section {
    padding: 16px;
  }
  
  .model-list-title {
    font-size: 18px;
  }

  .model-list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .recommended-filter-buttons {
    gap: 4px;
    width: 100%;
  }

  .recommended-filter-btn {
    flex: 1;
    font-size: 12px;
    padding: 5px 8px;
    text-align: center;
  }
  
  /* 移动端右侧信息列恢复垂直布局 */
  .right-info-column {
    flex-direction: column;
    gap: 16px;
  }
  
  /* 移动端pricing-hero样式调整 */
  .right-info-column .pricing-hero-stats {
    flex-direction: column;
    gap: 10px; /* 从12px减少到10px */
  }
  
  .right-info-column .hero-stat {
    min-width: auto;
    width: 100%;
    text-align: center;
  }
  
  .right-info-column .stat-value {
    font-size: 16px; /* 移动端减小字体 */
  }
  
  /* 移动端简单卡片堆叠显示 */
  .simple-cards-row {
    flex-direction: column;
    gap: 12px;
  }
  
  /* 推荐模型卡片移动端适配 */
  .model-recommendation-card {
    padding: 16px;
    margin-bottom: 12px;
  }
  
  .model-title-section {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .model-main-name {
    font-size: 16px;
  }
  
  .model-description {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .model-doc-link {
    align-self: flex-start;
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .model-pricing-section {
    padding: 12px;
    margin-top: 12px;
  }
  
  .pricing-section-title {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .pricing-groups-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .pricing-group-item {
    padding: 10px 12px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-height: auto;
  }
  
  .group-name-label {
    font-size: 12px;
    margin-right: 8px;
    flex: 0 0 45%;
  }
  
  .group-price-value {
    font-size: 13px;
    text-align: right;
    flex: 1;
  }
  
  /* Token价格移动端适配 */
  .token-pricing-container {
    gap: 2px;
  }
  
  .token-price-row {
    min-height: 18px;
  }
  
  .token-type {
    font-size: 11px;
    min-width: 25px;
    text-align: right;
    margin-right: 6px;
  }
  
  .token-price {
    font-size: 12px;
  }

  .model-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* 模型状态标签样式 */
  .model-status-badge {
    font-size: 11px;
    padding: 2px 6px;
    margin-left: 6px;
  }
}

/* 模型状态标签样式 */
.model-status-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  vertical-align: middle;
}

/* 历史数据状态标签（非实时数据） */
.model-status-badge.historical {
  background: #f5f5f5;
  color: #757575;
}

/* 加载中状态 */
.model-status-badge.loading {
  background: #e3f2fd;
  color: #1976d2;
}

/* 无数据状态 */
.model-status-badge.no-data {
  background: #fafafa;
  color: #9e9e9e;
}

/* ============================================
   分组说明区域
   ============================================ */
.model-groups-section {
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.model-groups-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.model-groups-title-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.model-groups-title {
  font-size: 24px;
  font-weight: 700;
  color: #18181b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.model-groups-title .title-arrow {
  color: #a1a1aa;
  font-weight: 400;
}

.model-groups-subtitle {
  font-size: 14px;
  color: #71717a;
  margin: 0;
}

.model-groups-viewall {
  font-size: 14px;
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s;
}

.model-groups-viewall:hover {
  color: #3b82f6;
}

.model-groups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 分组卡片 */
.model-group-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}

.model-group-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d4d4d8;
  transform: translateY(-2px);
}

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

.model-group-icon {
  font-size: 24px;
}

.model-group-name {
  font-size: 16px;
  font-weight: 600;
  color: #18181b;
  flex: 1;
}

.model-group-badge {
  font-size: 11px;
  padding: 3px 8px;
  background: #f4f4f5;
  color: #71717a;
  border-radius: 12px;
  font-weight: 500;
}

.model-group-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.group-example {
  font-size: 12px;
  padding: 4px 8px;
  background: #f4f4f5;
  color: #52525b;
  border-radius: 6px;
  font-family: monospace;
}

.model-group-desc {
  font-size: 14px;
  color: #52525b;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.model-group-desc strong {
  color: #3b82f6;
  font-weight: 600;
}

.model-group-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.model-group-features li {
  font-size: 13px;
  color: #71717a;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.model-group-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 600;
}

.model-group-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid #f4f4f5;
}

.group-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: #f4f4f5;
  color: #71717a;
  border-radius: 20px;
  font-weight: 500;
}

.group-tag.price {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

/* 分组说明响应式 */
@media (max-width: 900px) {
  .model-groups-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .model-groups-grid {
    grid-template-columns: 1fr;
  }

  .model-groups-header {
    flex-direction: column;
    gap: 12px;
  }

  .model-group-card {
    padding: 16px;
  }
} 
