/* ═════════════════════════════════════════════════════════════════════════════
   SKYBLOCK FLIPS — AD UNITS & MONETIZATION STYLESHEET (ads.css)
   Pure CSS for Adcash Banner Slots and Bottom Sticky Ad.
   ═════════════════════════════════════════════════════════════════════════════ */

/* ── COMMON AD LABELS & CONTAINERS (ZERO CLS) ──────────────────────────────── */
.ad-container-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 14px auto;
  position: relative;
}

.ad-label-pill {
  font-family: 'MinecraftIngame', 'Minecraft', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.ad-slot-box {
  background: #1c1c1c;
  border: 2px solid #333;
  box-shadow: inset 2px 2px 0 #141414, inset -2px -2px 0 #282828;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease;
}

.ad-slot-box:hover {
  border-color: #444;
}

/* Reserved dimensions to prevent Cumulative Layout Shift (CLS) */
.ad-slot-leaderboard {
  min-height: 90px;
  width: 100%;
  max-width: 728px;
}

.ad-slot-rectangle {
  min-height: 250px;
  width: 100%;
  max-width: 300px;
}

.ad-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #666;
  font-family: 'MinecraftIngame', 'Minecraft', sans-serif;
  font-size: 11px;
  user-select: none;
  gap: 6px;
}

.ad-placeholder-content svg {
  opacity: 0.5;
}

/* ── STICKY BOTTOM AD BANNER (EXACT BANNER SIZE & BORDERLESS) ──────── */
#skymargin-sticky-bottom-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9995;
  background: #0d0d0d;
  border: none !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  overflow: visible;
  transition: transform 0.25s ease;
}

#skymargin-sticky-bottom-ad.collapsed {
  transform: translateY(100%);
}

/* Discreet floating close/minimize tab (adds 0px to banner height) */
.sticky-ad-toggle-btn {
  position: absolute;
  top: -18px;
  right: 14px;
  background: rgba(20, 20, 20, 0.9);
  border: none;
  color: #888;
  font-size: 10px;
  padding: 1px 7px;
  cursor: pointer;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  font-family: 'MinecraftIngame', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  user-select: none;
  line-height: 1.4;
}

.sticky-ad-toggle-btn:hover {
  color: #ffffff;
  background: #333333;
}

.sticky-ad-body {
  width: 728px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  #skymargin-sticky-bottom-ad {
    height: 50px;
  }
  .sticky-ad-body {
    width: 320px;
    height: 50px;
  }
}


