/* ==========================================================================
   ads.css — Ad slot styles (placeholder only, real ad code stays in HTML)
   ========================================================================== */

.ad-slot {
  width: 100%;
  margin: 0 auto var(--gap-5);
  padding: 0 var(--gap-4);
  /* 广告位使用注释代码站位,不在 JS 中处理 */
}

.ad-slot__inner {
  width: 100%;
  min-height: 90px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 12px,
      transparent 12px,
      transparent 24px
    ),
    linear-gradient(135deg, rgba(255, 206, 0, 0.08), rgba(124, 92, 255, 0.08));
  border: 1px dashed rgba(255, 206, 0, 0.35);
  border-radius: var(--radius-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  color: var(--c-text-2);
  position: relative;
  overflow: hidden;
}
.ad-slot__inner::before {
  content: "Ad";
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
  text-transform: uppercase;
  font-weight: 700;
}
.ad-slot__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-2);
  letter-spacing: 0.04em;
}
.ad-slot__hint {
  font-size: 10px;
  color: var(--c-text-3);
}

/* Specific banner sizes */
.ad-slot--leaderboard .ad-slot__inner { min-height: 90px; }
.ad-slot--rectangle .ad-slot__inner { min-height: 250px; }
.ad-slot--mobile-banner .ad-slot__inner { min-height: 100px; }
.ad-slot--sticky-bottom {
  position: sticky;
  bottom: 0;
  background: rgba(15, 16, 35, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-top: 6px;
  padding-bottom: calc(6px + var(--safe-bottom));
  z-index: 70;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ad-slot--sticky-bottom .ad-slot__inner { min-height: 60px; }
