/* ===== 主卡片 ===== */

  /* 选项卡 */
  .card .tabs { display: flex; align-items: center; }
  .card .tab {
    font-size: 0.2rem; color: #222; font-weight: 500;
    padding: 0.1rem 0.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    text-decoration: none;
    margin-right: 0.2rem;
  }
 .card  .tab.active { background: #a73124; color: #fff; font-weight: 600; }

  /* 检索提示条 */
  .card .strip {
    position: relative;
    margin-top: 0.1rem;
    height: 0.5rem;
    border: 1px solid #B19A7B;
    border-radius: 0.1rem;
    background: #fff;
    display: flex; align-items: center;
    padding: 0 0.05rem 0 0.2rem;
    box-shadow: 0px 0.04rem 0.2rem 0px rgba(162,122,118,0.2);
  }
  .card .strip::before {
    content: "";
    position: absolute;
    top: -6px; left: var(--caret-x, 83px);
    width: 10px; height: 10px;
    background: #f5f5f5;
    border-top: 1px solid #b19a7b;
    border-left: 1px solid #b19a7b;
    transform: rotate(45deg);
  }
  .card .strip p { color: #a73124; font-size: 0.16rem; }
  .card .strip .go-btn {
    margin-left: auto; flex: none;
    display: flex; align-items: center; gap: 0.05rem;
    background: #a73124; color: #fff;
    font-size:0.16rem; text-decoration: none;
    padding: 0.02rem 0.2rem 0.02rem 0.2rem;
    border-radius:0.4rem;
  }
  .card .strip a:hover,.card .strip a:hover span{ color: #ffffff; }
  .card .strip .go-btn svg { width: 20px; height: 18px; }

  /* 数据库栏目 */
  .card .cols { margin-top:0.3rem; display: grid; grid-template-columns: repeat(4, 1fr); }
  .card .col { padding-right: 24px; }
  .card .col + .col { border-left: 1px solid #e2dcdc; padding-left: 36px; }
  .card .col-head {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e7e2da;
  }
  ..card col-icon {
    width: 34px; height: 34px; flex: none;
    background: #d0b070;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }
  .card .col-icon svg { width: 19px; height: 19px; }
  .card .col-head h3 { font-size: 0.18rem; font-weight: 600; color: #222; }
  .card .col-head .more { margin-left: auto; font-size: 0.13rem; color: #999; text-decoration: none; }
  .card .col ul { list-style: none; margin-top: 6px; }
  .card .col li { font-size:0.15rem; color: #666; line-height: 0.38rem; white-space: nowrap; }
  .card .col li::before { content: "•"; color: #353B47; margin-right: 10px; }
  .card .col li a { color: #353B47;  }
  .card .col li a:hover{color: #a73124; text-decoration:1px solid #a73124!important; text-decoration: underline;}
.data-card.data1{ width: 30%;}
.data-card.data2{ width: 28%;}
.data-card.data3{ width: 38%;}
  /* ===== 底部图标导航 ===== */
  .icon-bar {
    margin-top: 130px;
    padding-bottom: 60px;
    display: flex;
    justify-content: space-between;
  }
  .icon-item {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none;
  }
  .icon-item svg { width: 36px; height: 36px; }
  .icon-item span {
    margin-top: 10px;
    color: #fff; font-size: 15px; letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  }

  /* ================= 双卡布局 ================= */
  .data-cards {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 0.18rem;
  }
  .data-card {
    background: #fff;
    border-radius: 0.2rem;
    box-shadow: 0 0.06rem 0.26rem rgba(120, 60, 50, 0.10);
    padding: 0.25rem;
  }
  .ydreport{ width: 100%; height: 100%; overflow: hidden;}
  .ydreport img{ min-height: 1.75rem; width: auto; min-width: 3.9rem;}
  .card-title {
    font-size: 0.28rem;
    font-weight: 700;
    color:#A73124;
    padding-bottom: 0.25rem;
  }

  /* ================= 左卡：访问利用统计 ================= */
  .stat-grid {
    display: block;
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
    margin-top: 18px;
  }
  .stat-item {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0.2rem;
  }
  /* 双层圆环图标：外虚线环 + 内实线环 */
  .stat-icon {
    width: 1rem; height: 1rem;
    flex: none;
    border-radius: 50%;
    border: 2px dashed var(--red-light);
    display: flex; align-items: center; justify-content: center;
  }
 
 
  .stat-text { min-width: 0; }
  .stat-row {
    display: flex; align-items: baseline;
    white-space: nowrap;
  }
  .stat-label { font-size:0.18rem; color: var(--ink); }
  .stat-num {
    font-size: 0.3rem;
    font-weight: 700;
    color:#A73124;
    margin-left: 10px;
    line-height: 1.1;
    font-family: "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  }
  .stat-unit { font-size: 17px; color: var(--gray); margin-left: 6px; }
  .stat-row.last .stat-label { font-size: 0.16rem; }
  .stat-row.last .stat-num { font-size:0.24rem; color: #BC8740; }
  .stat-row + .stat-row { margin-top: 10px; }

  /* ================= 右卡：图书使用统计（柱状图） ================= */
  .chart {
    margin-top: 10px;
    display: flex;
  }
  .chart-y {
    flex: none;
    height: 300px;
    width: 58px;
    position: relative;
  }
  .chart-y span {
    position: absolute;
    right: 8px;
    transform: translateY(-50%);
    font-size: 15px;
    color: #8a8f99;
  }
  .chart-plot {
    position: relative;
    flex: 1;
    height: 2.6rem;
  }
  /* 横向虚线网格（3500/3000/2500/2000/1000） */
  .chart-grid {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 40px;
    border-bottom: 1px solid #c9bcb2;
  }
  .chart-grid i {
    position: absolute;
    left: 0; right: 0;
    border-top: 2px dotted var(--grid);
  }
  /* 柱体区域 */
  .chart-bars {
    position: absolute;
    inset: 0 0 40px 0;
    display: flex;
    align-items: flex-end;
    padding: 0 2%;
    gap: 2%;
  }
  .bar-col {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }
  .bar {
    width: 26%;
    min-width: 14px;
    max-width: 22px;
    background: var(--red);
    border-radius: 2px 2px 0 0;
    height: var(--h);
    transform-origin: bottom;
    animation: barGrow 0.9s cubic-bezier(0.22,0.9,0.3,1) both;
  }
  @keyframes barGrow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
  }
  /* X 轴分类标签（倾斜） */
  .chart-labels {
    position: absolute;
    left: 0; right: 0; top: calc(100% - 34px);
    height: 70px;
    display: flex;
    padding: 0 2%;
    gap: 2%;
  }
  .chart-labels span {
    flex: 1;
    text-align: right;
    transform: rotate(-42deg);
    transform-origin: right top;
    font-size: 14px;
    color: #7f858e;
    white-space: nowrap;
    padding-top: 6px;
  }

  /* ================= 响应式：平板 ================= */
  @media (max-width: 1200px) {
    .data-title { font-size: 0.24rem; }
    .data-card { padding: 0.25rem; }
    .stat-num { font-size: 0.3rem; color: #A73124; }
  }
  @media (max-width: 992px) {
    .data-cards { grid-template-columns: 1fr; gap: 20px; }
    .data-head { margin-bottom: 34px; }
  }
  /* ================= 响应式：手机 ================= */
  @media (max-width: 640px) {
    .data-section { padding: 38px 0 46px; }
    .data-logo { width: 64px; height: 64px; }
    .data-logo svg { width: 30px; height: 30px; }
    .data-head { gap: 12px; margin-bottom: 26px; }
    .data-title { font-size: 28px; letter-spacing: 3px; }
    .data-sub span { font-size: 13px; letter-spacing: 3px; }
    .data-sub svg { width: 80px; }
    .data-card { padding: 0.15rem; border-radius: 0.15rem; }
    .card-title { font-size: 22px; padding-bottom: 18px; }
    /* 统计项单列 */
    .stat-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 10px; }
    .stat-icon { width: 0.7rem; height: 0.7rem; }

    .stat-label { font-size: 16px; }
    .stat-row.last .stat-label { font-size: 15px; }
    .stat-num { font-size:0.28rem; }
    .stat-row.last .stat-num { font-size: 25px; }
    .stat-unit { font-size: 14px; }
    /* 图表横向可滚动，保持可读 */
    .chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .chart { width: 560px; }
    .col-icon img{ width: 0.33rem;}
    .card .cols{ overflow-x: scroll;}
 .banner .item .slideImg,.banner,.banner .swiper-container{height:130vw}
 .baIco{ top: -2rem;}
.data-cards{ width: 100%;  overflow: hidden;  }
.data-card{ overflow: hidden; width: 100%; padding: 0.4rem; margin: 0; margin-bottom: 0.2rem;}
.data-card.data1,.data-card.data2,.data-card.data3{ width: 100%; margin-bottom: 0.2rem;}
.data-cards{ display: block;}
.ydreport img{ width: 100%;}
.card .col{width:47%; margin-right:2%; padding:0; display:inline-block;  border:0;}
.card .col.nth-child(2n){ margin-right:0}
.card .cols{display:block}
.card .col + .col{ border:0; padding:0}
  }