/* APP推荐下载广告位 */
.ads-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 999;
  padding: 10px 16px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.ads-bar--no-header {
  position: static;
  padding: 20px 16px 10px;
  background: transparent;
  border-bottom: none;
}

.ads-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.ads-bar--after-header {
  margin-top: var(--header-height);
}

.ads-bar + .breadcrumb {
  padding-top: 0;
}

main > .ads-bar.ads-bar--after-header:first-child {
  margin-top: var(--header-height);
}

main > .ads-bar + .hero {
  padding-top: 32px;
}

.ads-bar ~ main .page-hero {
  padding-top: 28px;
}

#applist {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px 10px;
}

#applist .applist-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

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

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

#ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
}

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

#ads img:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(233, 30, 140, 0.25);
}

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