
  /* 红色主色调变量 */
  :root {
    --primary-red: #555;
    --primary-dark: #8e1b1b;
    --primary-light: #ef5350;
    --soft-red: #ffebee;
    --accent-red: #d32f2f;
    --border-red: #e57373;
    --text-dark: #2d1e1e;
    --text-muted: #6b4f4f;
    --shadow-sm: 0 4px 12px rgba(180, 40, 40, 0.15);
  }

  /* 容器 */
  .pricesList_a1 {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  /* ---------- 头部标签页 .tab_head ---------- */
  .tab_head {
    display: flex;
    justify-content: center;
    gap: 1.3rem;
    position: relative;
  }

  .tab_head h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 13px 22px;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 40px;
    background: transparent;
    position: relative;
    border-bottom: none;
  }

  /* 激活态：红色背景，白色文字，呼应底部边框 */
  .tab_head h4.active {
    color: #ffffff;
    background: #E22F28;
    border-color: #fff;
  }

  /* 悬停效果 */
  .tab_head h4:not(.active):hover {
    background: var(--soft-red);
    color: var(--primary-dark);
    border-color: #ffcdd2;
  }

  /* ---------- 表格区域 .tab_ccc ---------- */
  .tab_ccc {
    padding: 20px 20px 24px;
    background: #ffffff;
  }

  /* 两个ul切换，默认隐藏，激活显示 */
  .tab_ccc ul {
    list-style: none;
    display: none;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
  }

  .tab_ccc ul.active {
    display: block;
  }

  .tab_ccc ul li {
    display: block;
  }

  /* ---------- 报价表格行 (dl) 样式 ---------- */
  .tab_ccc dl {
    display: grid;
    /* 六列分别对应: 最低~最高 / 均价 / 涨跌 / 单位 / 发布日期 */
    grid-template-columns: 1.6fr 1fr 0.9fr 0.8fr 1.1fr;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    margin: 0;
    transition: background 0.15s;
    font-size: 0.95rem;
  }

  /* 最后一行去掉底边框 */
  .tab_ccc dl:last-child {
    border-bottom: none;
  }

  /* 表头 dl (包含dd和第一个dt) 加粗、红色背景 */
  .tab_ccc dl:first-of-type {
    background: var(--primary-red);
    border-bottom: 2px solid var(--primary-dark);
    color: #fafafa;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 14px 18px;
  }

  /* 表头里的所有dd, dt 都白色 */
  .tab_ccc dl:first-of-type dd,
  .tab_ccc dl:first-of-type dt {
    color: #ffffff;
    font-weight: 600;
  }

  /* 偶发行浅红条纹 */
  .tab_ccc dl:not(:first-of-type):nth-child(even) {
    background: #fbfbfb;
  }

  /* 悬停行 */
  .tab_ccc dl:not(:first-of-type):hover {
    background: #f6f6f6;
    outline: 1px solid #d32f2f55;
    transition: 0.1s;
  }

  /* dd (最低价/最高价 合并显示) */
  .tab_ccc dd {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
  }

  /* dt 通用 */
  .tab_ccc dt {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
    white-space: nowrap;
  }

  /* 价格数字加粗一点 */
  .tab_ccc dl:not(:first-of-type) dt:nth-child(2) {
    font-weight: 700;
    color: #000;
  }

  /* 涨跌颜色：红涨绿跌 (沿用原有class) 但红色主色调，跌用绿色以示区别 */
  .tab_ccc .red {
    color: #c62828;
    font-weight: 700;
    /* background: #ffebee; */
    padding: 4px 8px;
    border-radius: 30px;
    display: inline-block;
    /* text-align: center; */
    min-width: 58px;
    font-size: 1rem;
  }

  .tab_ccc .green {
    color: #2e7d32;
    font-weight: 700;
    /* background: #e8f5e9; */
    padding: 4px 8px;
    border-radius: 30px;
    display: inline-block;
    /* text-align: center; */
    min-width: 58px;
    font-size: 1rem;
  }

  /* 单位、日期弱化 */
  .tab_ccc dt:last-child {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.9rem;
  }

  .tab_ccc dt:nth-last-child(2) {
    color: var(--text-muted);
    font-weight: 400;
  }

  /* 移除原来内联样式(如text-align等)的影响，但保留结构 */
  .tab_head h4[style] {
    /* 覆盖内联的 padding: 50px 0; 和 text-align */
    padding: 13px 32px !important;
    text-align: center !important;
  }

  /* 调整间距，避免内联样式干扰 */
  .tab_head {
    padding: 0 20px !important;
  }

  /* 让表格可横向滚动，在小屏幕适配 */
  .tab_ccc {
    overflow-x: auto;
  }

  .tab_ccc ul {
    min-width: 680px;
  }

  /* 美化滚动条 */
  .tab_ccc::-webkit-scrollbar {
    height: 6px;
  }

  .tab_ccc::-webkit-scrollbar-thumb {
    background: var(--border-red);
    border-radius: 10px;
  }



  /* ============================================================
   媒体查询 · 手机端自适应
   ============================================================ */

/* -------- 平板 / 小笔记本（≤ 1024px）-------- */
@media screen and (max-width: 1024px) {
    .pricesList_a1 {
      margin: 0 6px;
    }
  
    .tab_head {
      gap: 0.8rem;
      padding: 0 12px !important;
    }
  
    .tab_head h4,
    .tab_head h4[style] {
      font-size: 0.95rem !important;
      padding: 12px 20px !important;
    }
  
    .tab_ccc {
      padding: 16px 14px 20px;
    }
  
    .tab_ccc dl {
      font-size: 0.9rem;
      padding: 11px 14px;
      gap: 6px;
    }
  
    .tab_ccc ul {
      min-width: 640px;
    }
  }
  
  /* -------- 手机端（≤ 768px）-------- */
  @media screen and (max-width: 768px) {
    .pricesList_a1 {
      margin: 0;
    }
  
    /* --- 头部标签：等宽平分，去掉大间距 --- */
    .tab_head {
      gap: 0;
      padding: 0 4px !important;
    }
  
    .tab_head h4,
    .tab_head h4[style] {
      flex: 1;
      font-size: 0.88rem !important;
      padding: 11px 4px !important;
      letter-spacing: 0;
      border-radius: 24px;
      white-space: nowrap;
    }
  
    /* --- 表格区域：横向滑动 --- */
    .tab_ccc {
      padding: 12px 8px 16px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
  
    .tab_ccc ul {
      min-width: 600px;   /* 保持列宽，靠横向滚动查看 */
    }
  
    /* --- 表格行 --- */
    .tab_ccc dl {
      grid-template-columns: 1.5fr 1fr 0.9fr 0.8fr 1.1fr;
      font-size: 0.8rem;
      padding: 10px 10px;
      gap: 4px;
    }
  
    .tab_ccc dl:first-of-type {
      font-size: 0.75rem;
      padding: 11px 10px;
      border-bottom-width: 1px;
    }
  
    /* --- 涨跌标签缩小 --- */
    .tab_ccc .red,
    .tab_ccc .green {
      font-size: 0.82rem;
      min-width: 48px;
      padding: 3px 6px;
    }
  
    /* --- 日期字号弱化 --- */
    .tab_ccc dt:last-child {
      font-size: 0.78rem;
    }
  
    .tab_ccc dt:nth-last-child(2) {
      font-size: 0.82rem;
    }
  
    /* --- 滚动条变细 --- */
    .tab_ccc::-webkit-scrollbar {
      height: 4px;
    }
  }
  
  /* -------- 小屏手机（≤ 480px）-------- */
  @media screen and (max-width: 480px) {
    .pricesList_a1 {
      box-shadow: none;
    }
  
    /* 标签再压缩 */
    .tab_head h4,
    .tab_head h4[style] {
      font-size: 0.8rem !important;
      padding: 10px 2px !important;
      border-radius: 20px;
    }
  
    /* 表格更紧凑 */
    .tab_ccc {
      padding: 10px 6px 14px;
    }
  
    .tab_ccc ul {
      min-width: 100%;
    }
  
    .tab_ccc dl {
      font-size: 0.75rem;
      padding: 9px 8px;
      gap: 3px;
    }
  
    .tab_ccc dl:first-of-type {
      font-size: 0.7rem;
      padding: 10px 8px;
    }
  
    /* 涨跌标签最小化 */
    .tab_ccc .red,
    .tab_ccc .green {
      font-size: 0.75rem;
      min-width: 42px;
      padding: 2px 5px;
    }
  
    /* 日期弱化 */
    .tab_ccc dt:last-child {
      font-size: 0.72rem;
    }
  
    .tab_ccc dt:nth-last-child(2) {
      font-size: 0.78rem;
    }
  }
  