/* 可插拔广告位样式（2026-09-28） */
.fs-ad-banner { margin: 0 auto 18px; max-width: 1500px; }
.fs-ad-banner:empty { display: none; }

.fs-ad-link { display: block; }
.fs-ad-img { display: block; width: 100%; height: auto; border-radius: 8px; }
.fs-ad-text { display: block; text-align: center; padding: 14px 18px; background: linear-gradient(135deg, #1677ff, #0e4aa8); color: #fff; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; }
.fs-ad-text:hover { opacity: .95; }
.fs-ad-html { line-height: 0; }
.fs-ad-html > * { max-width: 100%; }

/* 全站悬浮广告 */
.fs-ad-float-box {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 1500; display: flex; flex-direction: column; gap: 10px;
  align-items: center; pointer-events: none;
}
.fs-ad-float {
  position: relative; pointer-events: auto; max-width: min(92vw, 720px);
  background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.18); overflow: hidden;
}
.fs-ad-float .fs-ad-img { border-radius: 0; }
.fs-ad-float .fs-ad-text { border-radius: 0; }
.fs-ad-close {
  position: absolute; top: 6px; right: 8px; width: 24px; height: 24px;
  border: none; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff;
  font-size: 16px; line-height: 24px; cursor: pointer; z-index: 2;
}
.fs-ad-close:hover { background: rgba(0,0,0,.65); }
