/* ============================================================
   淘窝莱下载站 - 全局样式 (仿2265安卓网绿色主题)
   ============================================================ */

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #f5f5f5;
  line-height: 1.6;
  min-width: 1200px;
}
a { color: #333; text-decoration: none; }
a:hover { color: #2e8b2e; }
ul, ol { list-style: none; }
img { border: 0; vertical-align: middle; max-width: 100%; }
.inner { width: 1200px; margin: 0 auto; }

/* === 顶部公告条 === */
#topbar {
  background: #2e7d2e;
  color: #fff;
  font-size: 12px;
  line-height: 32px;
  border-bottom: 1px solid #267326;
}
#topbar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#topbar .slogan { opacity: 0.9; }
#topbar a {
  color: #d4f0d4;
  margin-left: 15px;
  transition: color 0.2s;
}
#topbar a:hover { color: #fff; }

/* === 头部 === */
#header {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #e8e8e8;
}
#header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#logo { display: flex; align-items: baseline; gap: 10px; }
#logo .logo-text {
  font-size: 28px;
  font-weight: bold;
  color: #2e8b2e;
  letter-spacing: 1px;
}
#logo .logo-text:hover { color: #1e6b1e; }
#logo .logo-sub {
  font-size: 12px;
  color: #999;
}

/* === 搜索框 === */
#search-box {
  display: flex;
  border: 2px solid #2e8b2e;
  border-radius: 4px;
  overflow: hidden;
  width: 420px;
}
#search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 12px;
  font-size: 14px;
}
#search-box button {
  background: #2e8b2e;
  color: #fff;
  border: none;
  padding: 8px 24px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
#search-box button:hover { background: #247524; }
.hot-search {
  margin-top: 6px;
  font-size: 12px;
  color: #999;
}
.hot-search a {
  color: #666;
  margin: 0 6px;
  transition: color 0.2s;
}
.hot-search a:hover { color: #2e8b2e; }

/* === 主导航 === */
#main-nav {
  background: #3c9b3c;
  line-height: 40px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
#main-nav .inner {
  display: flex;
  align-items: center;
}
#main-nav a {
  color: #fff;
  padding: 0 20px;
  font-size: 15px;
  transition: background 0.2s;
  display: block;
}
#main-nav a:hover,
#main-nav a.active {
  background: rgba(0,0,0,0.15);
  color: #fff;
}

/* === 快捷链接 === */
#quick-links {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  line-height: 34px;
  font-size: 13px;
}
#quick-links .inner {
  display: flex;
  align-items: center;
  gap: 4px;
}
#quick-links span { color: #f60; font-weight: bold; margin-right: 6px; }
#quick-links a {
  color: #555;
  padding: 0 8px;
  transition: color 0.2s;
}
#quick-links a:hover { color: #2e8b2e; }

/* === 主体布局 === */
#main-wrap {
  width: 1200px;
  margin: 15px auto;
  display: flex;
  gap: 15px;
}
#content { flex: 1; min-width: 0; }
#sidebar { width: 280px; flex-shrink: 0; }

/* === 最新四列区块 === */
.latest-section {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}
.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.latest-col {
  border-right: 1px solid #f0f0f0;
  padding: 0;
}
.latest-col:last-child { border-right: none; }
.latest-col-title {
  background: #f8f8f8;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  border-bottom: 2px solid #3c9b3c;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.latest-col-title strong { color: #2e8b2e; }
.latest-col-title a {
  font-size: 12px;
  color: #999;
  font-weight: normal;
}
.latest-col-title a:hover { color: #2e8b2e; }

/* 第一条大图 */
.latest-first {
  display: flex;
  padding: 12px;
  gap: 10px;
  border-bottom: 1px dashed #eee;
}
.latest-first img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.latest-first .info { flex: 1; min-width: 0; }
.latest-first .name {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.latest-first .name:hover { color: #2e8b2e; }
.latest-first .cat { font-size: 11px; color: #999; margin-bottom: 5px; }
.latest-first .btn-detail {
  display: inline-block;
  font-size: 11px;
  color: #fff;
  background: #3c9b3c;
  padding: 2px 10px;
  border-radius: 3px;
  transition: background 0.2s;
}
.latest-first .btn-detail:hover { background: #2e8b2e; color: #fff; }

/* 后续列表 */
.latest-list { padding: 5px 0; }
.latest-list li {
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.latest-list li:hover { background: #f9f9f9; }
.latest-list .num {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: #ddd;
  color: #666;
  border-radius: 3px;
  font-size: 11px;
  flex-shrink: 0;
}
.latest-list li:nth-child(1) .num { background: #ff6600; color: #fff; }
.latest-list li:nth-child(2) .num { background: #ff9933; color: #fff; }
.latest-list li:nth-child(3) .num { background: #ffcc00; color: #fff; }
.latest-list li a {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #555;
}
.latest-list li a:hover { color: #2e8b2e; }

/* === 分类区块 (app-grid) === */
.app-grid {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}
.block-title {
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  border-left: 4px solid #3c9b3c;
  background: #f8f8f8;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.block-title a {
  font-size: 12px;
  color: #999;
  font-weight: normal;
}
.block-title a:hover { color: #2e8b2e; }

/* 应用卡片网格 */
.app-grid-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 15px;
  gap: 15px;
}
.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  border-radius: 6px;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.app-card:hover {
  border-color: #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.app-card img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.app-card .app-name {
  font-size: 13px;
  color: #333;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.app-card .app-size {
  font-size: 11px;
  color: #999;
  margin-bottom: 3px;
}
.app-card .app-cat {
  font-size: 11px;
  color: #aaa;
  margin-bottom: 8px;
}
.app-card .btn-dl {
  display: inline-block;
  font-size: 11px;
  color: #fff;
  background: #3c9b3c;
  padding: 3px 14px;
  border-radius: 12px;
  transition: background 0.2s;
}
.app-card:hover .btn-dl { background: #2e8b2e; }

/* === 下载排行榜 === */
.rank-section {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}
.rank-tabs {
  display: flex;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
}
.rank-tab {
  padding: 8px 20px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.rank-tab:hover { color: #2e8b2e; }
.rank-tab.active {
  color: #2e8b2e;
  border-bottom-color: #2e8b2e;
  font-weight: bold;
}
.rank-list { padding: 10px 0; }
.rank-list li {
  padding: 6px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.rank-list li:hover { background: #f9f9f9; }
.rank-num {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background: #e0e0e0;
  color: #666;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}
.rank-list li:nth-child(1) .rank-num { background: #ff4d4d; color: #fff; }
.rank-list li:nth-child(2) .rank-num { background: #ff8c1a; color: #fff; }
.rank-list li:nth-child(3) .rank-num { background: #ffc107; color: #fff; }
.rank-list li a { flex: 1; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list li a:hover { color: #2e8b2e; }
.rank-list .r-size { font-size: 11px; color: #aaa; flex-shrink: 0; }

/* === 侧边栏 === */
.sidebar-block {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}
.sidebar-title {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  border-left: 4px solid #3c9b3c;
  background: #f8f8f8;
  border-bottom: 1px solid #e8e8e8;
}
.sidebar-list { padding: 8px 0; }
.sidebar-list li {
  border-bottom: 1px dashed #f0f0f0;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 10px;
  transition: background 0.2s;
}
.sidebar-list li a:hover { background: #f9f9f9; }
.sidebar-list li img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-list .s-info { flex: 1; min-width: 0; }
.sidebar-list .s-name {
  display: block;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-list .s-size {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

/* === 页脚 === */
#footer {
  background: #2d2d2d;
  color: #aaa;
  padding: 25px 0;
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
}
#footer .footer-links {
  margin-bottom: 10px;
}
#footer .footer-links a {
  color: #ccc;
  margin: 0 10px;
  transition: color 0.2s;
}
#footer .footer-links a:hover { color: #fff; }
#footer .friend-links {
  margin-bottom: 10px;
  font-size: 12px;
  color: #888;
}
#footer .friend-links a {
  color: #aaa;
  margin: 0 6px;
}
#footer .friend-links a:hover { color: #fff; }
#footer .copyright {
  font-size: 12px;
  color: #777;
}
#footer .copyright a { color: #999; }
#footer .copyright a:hover { color: #fff; }

/* === 列表页 (list.html) === */
.list-header {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 15px;
}
.list-header h1 {
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}
.list-header .list-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}
.list-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.list-subcats a {
  padding: 4px 12px;
  background: #f0f0f0;
  border-radius: 3px;
  font-size: 12px;
  color: #555;
  transition: all 0.2s;
}
.list-subcats a:hover,
.list-subcats a.active {
  background: #3c9b3c;
  color: #fff;
}

/* === 面包屑 === */
#breadcrumb {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  line-height: 36px;
  font-size: 12px;
  color: #999;
}
#breadcrumb a { color: #666; }
#breadcrumb a:hover { color: #2e8b2e; }

/* === 分页 === */
.pagination {
  text-align: center;
  padding: 20px 0;
}
.pagination a, .pagination span {
  display: inline-block;
  padding: 5px 12px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
  color: #555;
  transition: all 0.2s;
}
.pagination a:hover { border-color: #3c9b3c; color: #2e8b2e; }
.pagination .current {
  background: #3c9b3c;
  color: #fff;
  border-color: #3c9b3c;
}

/* === 搜索页 === */
.search-wrap {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 30px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
}
.search-wrap h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
}
.search-wrap .search-form {
  display: flex;
  border: 2px solid #3c9b3c;
  border-radius: 4px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}
.search-wrap .search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 15px;
  font-size: 14px;
}
.search-wrap .search-form button {
  background: #3c9b3c;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 14px;
  cursor: pointer;
}
.search-wrap .search-form button:hover { background: #2e8b2e; }

/* === 通用辅助 === */
.clearfix::after { content: ""; display: table; clear: both; }
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }
.hidden { display: none; }

/* === 响应式（平板） === */
@media (max-width: 1240px) {
  body { min-width: auto; }
  .inner, #main-wrap { width: auto; margin: 0 15px; }
  .latest-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  #main-wrap { flex-direction: column; }
  #sidebar { width: 100%; }
  .latest-grid { grid-template-columns: 1fr; }
  .app-grid-inner { grid-template-columns: repeat(2, 1fr); }
  #main-nav .inner { flex-wrap: wrap; }
  #main-nav a { padding: 0 12px; font-size: 13px; }
  #header .inner { flex-direction: column; gap: 10px; }
  #search-box { width: 100%; }
}

/* === 面包屑导航 === */
.breadcrumb {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 10px 15px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #999;
}
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #2e8b2e; }
.breadcrumb span { margin: 0 5px; }

/* === 子分类筛选 === */
.sub-cats {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 10px 15px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sub-cat-link {
  display: inline-block;
  padding: 4px 14px;
  background: #f0f0f0;
  border-radius: 3px;
  font-size: 13px;
  color: #555;
  transition: all 0.2s;
}
.sub-cat-link:hover,
.sub-cat-link.active {
  background: #3c9b3c;
  color: #fff;
}

/* === APP列表区块 (分类内页) === */
.app-list-section {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}
.app-row {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
  gap: 15px;
}
.app-row:last-child { border-bottom: none; }
.app-row:hover { background: #f9fff9; }
.app-row img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.app-row-info {
  flex: 1;
  min-width: 0;
}
.app-row-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-row-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.app-row-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-row-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #3c9b3c;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  transition: background 0.2s;
}
.app-row:hover .app-row-btn { background: #2e8b2e; }

/* === 专题卡片 === */
.topic-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
}
.topic-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  transition: all 0.2s;
}
.topic-card:hover {
  border-color: #3c9b3c;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.topic-card img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.topic-card-info { flex: 1; min-width: 0; }
.topic-card-name {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}
.topic-card-desc {
  font-size: 12px;
  color: #999;
}

/* === 详情页布局 === */
.detail-layout {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.detail-main {
  flex: 1;
  min-width: 0;
}
.detail-left {
  width: 200px;
  flex-shrink: 0;
}
.detail-right {
  width: 280px;
  flex-shrink: 0;
}

/* === 应用头部信息 === */
.app-header {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.app-icon-wrap {
  flex-shrink: 0;
}
.app-icon {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.app-info-row {
  flex: 1;
  min-width: 0;
}
.app-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}
.app-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
  line-height: 2;
}
.app-meta span {
  margin-right: 15px;
}
.app-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.app-stars {
  color: #ff9800;
  font-size: 16px;
}
.app-desc-short {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-top: 10px;
}
.app-qrcode {
  flex-shrink: 0;
  text-align: center;
}
.app-qrcode img {
  width: 100px;
  height: 100px;
  border: 1px solid #eee;
  border-radius: 4px;
}
.qr-tip {
  font-size: 11px;
  color: #999;
  margin-top: 5px;
}

/* === 下载按钮 === */
.download-btns {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.btn-download {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary {
  background: #3c9b3c;
  color: #fff;
  box-shadow: 0 2px 6px rgba(60,155,60,0.3);
}
.btn-primary:hover {
  background: #2e8b2e;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(60,155,60,0.4);
}
.btn-secondary {
  background: #f0f0f0;
  color: #555;
  border: 1px solid #ddd;
}
.btn-secondary:hover {
  background: #e8e8e8;
  color: #333;
}

/* === Tab导航 === */
.tab-nav {
  display: flex;
  border-bottom: 2px solid #e8e8e8;
  margin-bottom: 15px;
  background: #fff;
  padding: 0 15px;
}
.tab-btn {
  padding: 10px 20px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  text-decoration: none;
}
.tab-btn:hover { color: #2e8b2e; }
.tab-btn.active {
  color: #2e8b2e;
  border-bottom-color: #3c9b3c;
  font-weight: bold;
}
.tab-panel {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 15px;
  line-height: 1.8;
}

/* === 文章正文 === */
.section-block {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 15px;
}
.section-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #3c9b3c;
}
.article-body {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}
.article-body p {
  margin-bottom: 12px;
}
.article-body h3 {
  font-size: 16px;
  color: #333;
  margin: 15px 0 10px;
}
.article-body ul, .article-body ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.article-body li {
  margin-bottom: 6px;
  list-style: disc;
}

/* === 特色功能列表 === */
.feature-list {
  padding: 0;
  margin: 10px 0;
}
.feature-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: #555;
  list-style: none;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3c9b3c;
  font-weight: bold;
}

/* === 评论区 === */
.comment-list {
  margin-top: 15px;
}
.comment-item {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px dashed #eee;
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #999;
  flex-shrink: 0;
}
.comment-body { flex: 1; min-width: 0; }
.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.comment-author {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}
.comment-stars {
  color: #ff9800;
  font-size: 12px;
}
.comment-date {
  font-size: 12px;
  color: #999;
}
.comment-text {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
.comment-actions {
  margin-top: 6px;
}
.comment-like {
  font-size: 12px;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}
.comment-like:hover { color: #2e8b2e; }
.comment-form {
  margin-top: 15px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 4px;
}
.comment-form textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  font-size: 13px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}
.comment-form textarea:focus { border-color: #3c9b3c; }
.btn-submit-comment {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background: #3c9b3c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit-comment:hover { background: #2e8b2e; }

/* === FAQ区域 === */
.faq-item {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: #f8f8f8;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  gap: 8px;
  transition: background 0.2s;
}
.faq-q:hover { background: #f0f0f0; }
.faq-icon {
  color: #3c9b3c;
  font-weight: bold;
  flex-shrink: 0;
}
.faq-a-icon {
  color: #ff6600;
}
.faq-arrow {
  margin-left: auto;
  color: #999;
  transition: transform 0.2s;
}
.faq-a {
  padding: 12px 15px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  border-top: 1px solid #e8e8e8;
  background: #fff;
}

/* === 标签云 === */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
}
.tag-item {
  display: inline-block;
  padding: 4px 12px;
  background: #f0f0f0;
  border-radius: 3px;
  font-size: 12px;
  color: #555;
  transition: all 0.2s;
}
.tag-item:hover {
  background: #3c9b3c;
  color: #fff;
}

/* === 左侧栏（详情页） === */
.left-block {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}
.left-app-list { padding: 8px 0; }
.left-app-list li {
  border-bottom: 1px dashed #f0f0f0;
}
.left-app-list li:last-child { border-bottom: none; }
.left-app-list li a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
  transition: background 0.2s;
}
.left-app-list li a:hover { background: #f9f9f9; }
.left-app-list li img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.la-info { flex: 1; min-width: 0; }
.la-name {
  display: block;
  font-size: 12px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.la-size {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

/* === 右侧栏（详情页） === */
.right-block {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}
.right-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
}
.right-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.right-app-item:hover { background: #f9f9f9; }
.right-app-item img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 5px;
}
.right-app-item span {
  font-size: 11px;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* === 排行榜 Top3 === */
.top3 {
  background: #fffbe6;
  border: 1px solid #ffe58f;
}
.top3 .rank-num {
  background: #ff4d4d;
  color: #fff;
}

/* === 图片灯箱 === */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* === 排序按钮 === */
.sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #666;
}
.sort-bar a {
  padding: 3px 10px;
  border-radius: 3px;
  color: #555;
  transition: all 0.2s;
}
.sort-bar a:hover,
.sort-bar a.active {
  background: #3c9b3c;
  color: #fff;
}
.sort-bar .count {
  margin-left: auto;
  font-size: 12px;
  color: #999;
}

/* === 响应式补充 === */
@media (max-width: 1240px) {
  .detail-layout { flex-direction: column; }
  .detail-left, .detail-right { width: 100%; }
  .app-header { flex-wrap: wrap; }
  .right-app-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .app-header { padding: 15px; }
  .app-icon { width: 72px; height: 72px; }
  .app-title { font-size: 18px; }
  .download-btns { flex-direction: column; }
  .btn-download { text-align: center; }
  .comment-item { flex-direction: column; }
  .right-app-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Screenshots scroll */
.screenshots-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}
.screenshots-scroll img {
  height: 200px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Changelog entry */
.changelog-entry {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.changelog-entry:last-child {
  border-bottom: none;
}
.changelog-entry .version {
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}
.changelog-entry .date {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}
.changelog-entry .changes {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Search result header */
.search-result-header {
  padding: 10px 0;
  border-bottom: 2px solid #3c9b3c;
  margin-bottom: 5px;
}
.search-result-header h2 {
  margin: 0;
  font-size: 18px;
  color: #333;
}
.search-result-header .result-count {
  font-size: 13px;
  color: #999;
  margin-top: 5px;
}
