.ads-bar {
  position: sticky;
  top: 64px;
  z-index: 999;
  margin-top: 64px;
  padding: 10px 0 12px;
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ads-bar + .hero {
  padding-top: 48px;
}

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

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

.ads-bar + .error-page {
  padding-top: 48px;
  min-height: 70vh;
}

#applist {
  text-align: center;
  padding: 12px 16px 14px;
}

#applist .applist-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: #9a9ab0;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

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

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

#ads img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1a2e;
}

#ads a {
  display: inline-block;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

#ads a:hover img,
#ads a:active img {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 22px rgba(254, 44, 85, 0.25);
}

#ads figcaption,
#ads .caption {
  height: 16px;
  line-height: 16px;
  font-size: 11px;
  color: #9a9ab0;
  text-align: center;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 5px;
}

@media (max-width: 768px) {
  #ads > div { width: 72px; }
  #ads img { width: 62px; height: 62px; }
}
