/* APP 推荐广告条 */
.ad-banner {
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.08) 0%, rgba(10, 22, 40, 0) 100%);
  border-bottom: 1px solid rgba(245, 197, 24, 0.15);
  padding: 12px 0 14px;
  position: relative;
  z-index: 10;
}

#applist {
  text-align: center;
}

#applist .applist-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

#applist .applist-title::before {
  content: "🔥 ";
}

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

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

#ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 18px;
  padding: 2px;
  transition: transform 180ms ease;
}

#ads a:active {
  transform: scale(0.96);
}

#ads img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: 2px solid rgba(245, 197, 24, 0.35);
  background: #fff;
}

#ads a:hover img {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 28px rgba(245, 197, 24, 0.25);
  border-color: var(--accent);
}

#ads .caption {
  margin-top: 6px;
  height: auto;
  min-height: 16px;
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

@media (max-width: 480px) {
  .ad-banner {
    padding: 10px 0 12px;
  }

  #ads > div {
    width: 72px;
  }

  #ads img {
    width: 64px;
    height: 64px;
  }

  #ads .caption {
    max-width: 72px;
    font-size: 10px;
  }
}
