/* Shared enterprise ad UI — sticky anchor, interstitial, heal cards, cross-promo.
   Compliant: no fake reward UI, no loading-trap modals. */

#AdAAnchor {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99990;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  padding: 8px 12px 10px;
  transition: transform 0.25s ease;
}
#AdAAnchor.collapsed {
  transform: translateY(calc(100% - 28px));
}
#AdAAnchorBtn {
  position: absolute;
  top: -28px;
  right: 12px;
  background: #0f172a;
  color: #e2e8f0;
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
}
.anchor-native-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.anchor-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}
.anchor-badge {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
}
.anchor-title {
  font-size: 13px;
  flex: 1;
  min-width: 140px;
}
.anchor-cta,
.daily-ad-btn,
.interstitial-cta-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}

#newswiress-web-interstitial {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#newswiress-web-interstitial.active {
  display: flex;
}
.interstitial-card {
  background: #0f172a;
  color: #f8fafc;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.interstitial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #94a3b8;
}
.interstitial-close-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
}
.interstitial-media-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.interstitial-body {
  padding: 14px 16px 18px;
}
.interstitial-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.interstitial-desc {
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.45;
}

.in-article-ad-box,
.ad-out-container,
.in-feed-ad-card {
  margin: 18px auto;
  padding: 10px;
  max-width: 720px;
}
.ad-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-align: center;
}
.enterprise-heal-card,
.daily-native-ad-card {
  background: #111827;
  color: #f9fafb;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.daily-ad-title {
  margin: 8px 0 6px;
  font-size: 1rem;
}
.daily-ad-desc {
  margin: 0 0 12px;
  color: #cbd5e1;
  font-size: 0.9rem;
}
.ad-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.daily-ad-badge {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
}
.daily-ad-sponsor {
  font-size: 11px;
  color: #94a3b8;
}

.cross-promo-block {
  margin: 28px 0;
  padding: 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.cross-promo-block h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.cross-promo-sub {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 0.9rem;
}
.cross-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.cross-promo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.cross-promo-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.cross-promo-card span {
  padding: 0 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

body {
  padding-bottom: 64px; /* room for sticky anchor */
}
