@charset "utf-8";
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #f1f4f7;
  min-width: 1400px;
}
a { text-decoration: none; color: #333; }
a:hover { color: #00ad93; }
img { border: 0; vertical-align: middle; max-width: 100%; }
ul, ol, li { list-style: none; }
.clearfix::after { content: ""; display: block; clear: both; }

.wrapper { width: 1400px; margin: 0 auto; }

/* ---------------- 头部 ---------------- */
.header {
  background: #00ad93;
  height: 100px;
}
.header .wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}
.header .logo { display: inline-block; }
.header .logo img { height: 82px; }

/* ---------------- 导航 ---------------- */
.nav {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.nav ul { display: flex; }
.nav li a {
  display: block;
  padding: 0 24px;
  line-height: 56px;
  font-size: 16px;
  color: #333;
}
.nav li a:hover,
.nav li.active a {
  color: #00ad93;
  font-weight: bold;
}

/* ---------------- 通用面板 ---------------- */
.main { padding: 24px 0 40px; }
.panel {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  overflow: hidden;
}
.panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #f0f0f0;
}
.panel-hd .tit {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}
.panel-hd .tit::before {
  content: "";
  width: 5px;
  height: 18px;
  background: #00ad93;
  border-radius: 3px;
  margin-right: 10px;
}
.panel-hd .more { font-size: 14px; color: #00ad93; }
.panel-bd { padding: 22px; }

/* ---------------- 首页：三列排行 ---------------- */
.rank-wrap { display: flex; }
.rank-col { flex: 1; min-width: 0; }
.rank-col + .rank-col { border-left: 1px solid #f0f0f0; }
.rank-col .panel-hd { border-bottom: 1px solid #f0f0f0; }
.rank-list { padding: 10px 22px 18px; }
.rank-list li {
  display: flex;
  padding: 12px 0;
}
.rank-list .icon {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
  margin-right: 14px;
}
.rank-list .icon img { width: 100%; height: 100%; }
.rank-list .info { flex: 1; min-width: 0; }
.rank-list .info .name {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin: 2px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-list .info .type { color: #999; margin-bottom: 6px; }
.rank-list .info .type span { color: #999; }
.rank-list .info .desc {
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------- 应用卡片 ---------------- */
.app-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.app-grids {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  height: 770px;
  overflow: hidden;
}
.app-grids .app-card,.app-grid .app-card {
  width: calc((100% - 60px) / 4);
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.2s;
}
.app-grids .app-card:hover,.app-grid .app-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }
.app-grid.cols3 .app-card { width: calc((100% - 40px) / 3); }
.app-card .hd { display: flex; }
.app-card .hd .icon {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 16px;
  overflow: hidden;
  margin-right: 14px;
}
.app-card .hd .icon img { width: 100%; height: 100%; }
.app-card .hd .meta { flex: 1; min-width: 0; }
.app-card .hd .meta .name {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin: 4px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-card .hd .meta .size,.app-card .hd .meta .up { color: #999; margin-bottom: 8px; }
.app-card .hd .meta .size em,.app-card .hd .meta .up em { font-style: normal; color: #999; }
.app-card .desc {
  margin-top: 12px;
  color: #666;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-card .desc b { color: #f60; font-weight: normal; }

/* 平台图标 */
.os { display: inline-flex; gap: 8px; }
.os i {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.os .android { background-image: url("../images/icon_and.png"); }
.os .ios { background-image: url("../images/icon_ios.png"); }

/* ---------------- 友情链接 ---------------- */
.links a { margin-right: 28px; color: #333; line-height: 2; }
.links a:hover { color: #00ad93; }

/* ---------------- 底部 ---------------- */
.footer {
  background: #00ad93;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  line-height: 2;
  font-size: 14px;
}
.footer a { color: #fff; }

/* ---------------- 图片放大预览 ---------------- */
.img-viewer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.92);
}
.img-viewer .viewer-swiper { width: 100%; height: 100%; }
.img-viewer .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-viewer .swiper-zoom-container img {
  max-width: 90%;
  max-height: 88%;
  border-radius: 4px;
}
.img-viewer .viewer-close {
  position: absolute;
  top: 14px;
  right: 28px;
  z-index: 2;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
}
.img-viewer .viewer-close:hover { color: #00ad93; }
.img-viewer .viewer-count {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 15px;
  z-index: 2;
}
.img-viewer .swiper-button-prev,
.img-viewer .swiper-button-next { color: #fff; }
.img-viewer .swiper-button-prev:hover,
.img-viewer .swiper-button-next:hover { color: #00ad93; }
.img-viewer .swiper-button-disabled { opacity: 0.35; }

/* ---------------- 返回顶部 ---------------- */
.back-top {
  position: fixed;
  right: 40px;
  bottom: 100px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: none;
  z-index: 99;
}
.back-top img { width: 100%; height: 100%; }

/* ================================================
   列表页 / 详细页  两栏布局
   ================================================ */
.layout { display: flex; align-items: flex-start; }
.layout .col-main { flex: 1; min-width: 0; }
.layout .col-side { flex: 0 0 300px; width: 300px; margin-left: 24px; }

/* 面包屑 */
.crumb { color: #999; font-size: 13px; }
.crumb a { color: #999; }
.crumb a:hover { color: #00ad93; }

/* ---------------- 列表页 ---------------- */
.list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px;
}
.list-grid .app-card { width: calc((100% - 20px) / 2); border: 1px solid #eee; border-radius: 8px; padding: 18px; }
.list-grid .app-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }

/* 分页 */
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 30px;
}
.pager a,
.pager span {
  min-width: 36px;
  height: 36px;
  line-height: 34px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  padding: 0 6px;
}
.pager a:hover { border-color: #00ad93; color: #00ad93; }
.pager .cur {
  background: #00ad93;
  border-color: #00ad93;
  color: #fff;
}

/* ---------------- 侧栏 ---------------- */
.side-list { padding: 8px 18px 16px; }
.side-list li {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px dashed #f0f0f0;
}
.side-list li:last-child { border-bottom: 0; }
.side-list .icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  margin-right: 12px;
}
.side-list .icon img { width: 100%; height: 100%; }
.side-list .info { flex: 1; min-width: 0; }
.side-list .info .name {
  display: block;
  font-size: 15px;
  font-weight: bold;
  margin: 2px 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side-list .info .desc {
  color: #999;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================================
   详细页
   ================================================ */
/* 应用信息块 */
.app-head { display: flex; padding: 26px 22px; }
.app-head .icon {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  border-radius: 22px;
  overflow: hidden;
  margin-right: 24px;
}
.app-head .icon img { width: 100%; height: 100%; }
.app-head .base { flex: 1; min-width: 0; }
.app-head .base h1 { font-size: 24px; margin: 2px 0 16px; }
.app-head .props {
  display: grid;
  grid-template-columns: 26% 22% 52%;
}
.app-head .props p {
  min-width: 0;
  color: #666;
  line-height: 2.2;
  padding-right: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-head .props p b { color: #333; font-weight: bold; margin-right: 4px; }
.app-head .props p:last-child { grid-column: 1 / -1; }
/* 负外边距 = 图标宽110 + 间距24，使按钮与图标左对齐 */
.app-head .btns { margin-top: 14px; margin-left: -134px; }
.app-head .btns a {
  display: inline-block;
  width: 150px;
  height: 46px;
  line-height: 46px;
  text-align: center;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  margin-right: 14px;
}
.app-head .btns .dl-android { background: #8fc31f; }
.app-head .btns .dl-android:hover { background: #7fb010; color: #fff; }
.app-head .btns .dl-ios { background: #29aaff; }
.app-head .btns .dl-ios:hover { background: #1697ec; color: #fff; }
.app-head .btns .dl-gray { background: #999; }
.app-head .qr {
  flex: 0 0 150px;
  width: 150px;
  text-align: center;
  margin-left: 20px;
}
.app-head .qr #qrcode {
  width: 130px;
  height: 130px;
  margin: 0 auto;
  padding: 6px;
  border: 1px solid #eee;
  background: #fff;
}
.app-head .qr #qrcode img,
.app-head .qr #qrcode canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.app-head .qr p { color: #999; margin-top: 8px; }

/* APP截图 Swiper：竖截图默认，高380；横截图 img 加 .landscape，高280 */
.shots-swiper { position: relative; }
.shots-swiper .swiper-wrapper { align-items: center; }
.shots-swiper .swiper-slide {
  width: auto;
  display: flex;
  align-items: center;
}
.shots-swiper .swiper-slide img {
  display: block;
  height: 380px;
  width: auto;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}
.shots-swiper .swiper-slide img.landscape { height: 280px; }
.shots-swiper .swiper-button-prev,
.shots-swiper .swiper-button-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #00ad93;
}
.shots-swiper .swiper-button-prev::after,
.shots-swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: bold;
}
.shots-swiper .swiper-button-disabled { opacity: 0; pointer-events: none; }

/* 图文正文 */
.article { line-height: 1.9; color: #444; }
.article h3 {
  font-size: 18px;
  margin: 22px 0 10px;
  color: #00ad93;
}
.article p { margin-bottom: 10px; font-size: 16px;}
.article img {
  display: block;
  margin: 12px auto;
  max-width: 420px;
  border-radius: 6px;
}
