/* APP 推荐广告栏 */
.header-ads {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(14, 21, 16, 0.98);
  padding: 8px 0 10px;
}

#applist {
  text-align: center;
}

#applist .applist-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent, #d4af37);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: transparent;
  margin: 0;
}

#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}

#ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: 2px solid rgba(212, 175, 55, 0.25);
  background: linear-gradient(135deg, #1a2a1e, #0e1510);
}

#ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

#ads img:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.5);
}

#ads figcaption,
#ads .caption {
  height: 15px;
  line-height: 15px;
  font-size: 11px;
  color: var(--text-muted, #9aab9e);
  text-align: center;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

#ads figure {
  margin: 0;
}
