/* 覆盖层：在原版 css.css 基础上做少量现代兼容修正 */
body {
  font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
a img { border: 0; }
.menu { overflow: hidden; }
.foot_di { height: 37px; }

/* 响应式保护：小屏不破版 */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
  .head, .head_bg { width: 100% !important; min-width: 320px; }
  .head_logo { float: none; width: auto; margin-left: 0; text-align: center; }
  .head_logo img { max-width: 90%; height: auto; }
  .head_wenzi { float: none; width: auto; margin: 5px 10px 0; text-align: center; }
  .wenzi1 { float: none; width: auto; text-align: center; }
  .menu { width: 100% !important; height: auto; background-size: 100% 100%; }
  .menu ul { display: flex; flex-wrap: wrap; }
  .menu li { float: none; width: 25%; height: auto; line-height: 28px; }
  .menu li a { display: block; padding: 5px 0; }
  .banner, .container, .container_bg, .foot_bg, .foot_wenzi1 { width: 100% !important; }
  .banner-layer, .banner-layer img, .banner img { max-width: 100%; height: auto; }
  .container table, .container td { display: block; width: 100% !important; }
  .container td[valign], .container td table { width: 100% !important; }
  table[width="1040"], table[width="991"], table[width="742"], table[width="239"], table[width="999"], table[width="700"] {
    width: 100% !important;
  }
  .container .cp_right { width: 100% !important; float: none; }
  td[width="249"], td[width="742"], td[width="137"], td[width="854"] { display: block; width: 100% !important; }
}

/* 保留归档结构的必要宽度约束 */
#main-slide, .rollBox, .Cont { max-width: 100%; }

/* ----------------- 浮动下载组件 (app_download_data) ----------------- */
.dl-widget {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  background: #bb082d;
  color: #fff;
  border: 0;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.dl-btn:hover { background: #dd4012; }
.dl-btn-icon { width: 22px; height: 22px; }
.dl-btn-text { font-family: "Microsoft YaHei", "微软雅黑", sans-serif; }
.dl-panel {
  margin-bottom: 10px;
  max-height: 70vh;
  overflow-y: auto;
  width: 300px;
  border-radius: 8px;
  border: 1px solid #e0b8c0;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.dl-heading {
  margin: 0 0 10px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #bb082d;
}
.dl-list { list-style: none; margin: 0; padding: 0; }
.dl-list li { margin-bottom: 6px; }
.dl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #f0d0d5;
  border-radius: 6px;
  padding: 8px;
  text-decoration: none;
}
.dl-item:hover { background: #fdf0f2; }
.dl-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  border: 0;
}
.dl-meta { display: flex; flex-direction: column; min-width: 0; }
.dl-title { font-size: 13px; font-weight: bold; color: #bb082d; }
.dl-desc {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 210px;
}
@media (max-width: 480px) {
  .dl-widget { bottom: 10px; right: 10px; }
  .dl-panel { width: 260px; }
}
