.wpme-ad-shell{box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:center;min-height:280px;margin:30px auto;padding:14px;border-radius:22px;background:linear-gradient(180deg,#f8fafc,#eef3f8);border:1px solid rgba(15,23,42,.08);box-shadow:0 16px 45px rgba(15,23,42,.07);contain:layout paint;content-visibility:auto;overflow:hidden;isolation:isolate}.wpme-ad-shell:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 0%,rgba(59,130,246,.10),transparent 32%),radial-gradient(circle at 85% 20%,rgba(14,165,233,.09),transparent 28%);pointer-events:none}.wpme-ad-shell:after{content:"";position:absolute;inset:12px;border:1px dashed rgba(100,116,139,.22);border-radius:16px;pointer-events:none}.wpme-ad-label{position:absolute;top:9px;left:16px;z-index:2;font:700 10px/1.2 system-ui,-apple-system,Segoe UI,sans-serif;color:#64748b;text-transform:uppercase;letter-spacing:.12em;background:rgba(255,255,255,.72);backdrop-filter:blur(8px);padding:4px 7px;border-radius:999px}.wpme-ad-unit{position:relative;z-index:1;min-width:300px;min-height:250px;display:flex;align-items:center;justify-content:center}.wpme-ad-shell[data-wpme-ready="1"]{background:#fff}.wpme-ad-shell[data-wpme-viewable="1"]{box-shadow:0 18px 50px rgba(37,99,235,.10)}.wpme-sticky{position:sticky;top:18px}.wpme-premium-table{width:100%;border-collapse:separate;border-spacing:0;border-radius:22px;overflow:hidden;box-shadow:0 16px 45px rgba(15,23,42,.09);border:1px solid #e2e8f0;background:#fff}.wpme-premium-table th{background:linear-gradient(135deg,#0f172a,#1e3a8a);color:white;text-align:left;font-weight:800}.wpme-premium-table th,.wpme-premium-table td{padding:17px;border-bottom:1px solid #e5e7eb}.wpme-premium-table tr:last-child td{border-bottom:0}.wpme-trust-box,.wpme-faq,.wpme-cta{border-radius:24px;padding:26px;margin:26px 0;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e2e8f0;box-shadow:0 16px 45px rgba(2,6,23,.08)}.wpme-cta{background:radial-gradient(circle at 10% 0%,rgba(59,130,246,.18),transparent 28%),linear-gradient(135deg,#0f172a,#1e293b);color:#fff}.wpme-cta a,.wpme-cta button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;padding:0 18px;background:#fff;color:#0f172a;font-weight:800;text-decoration:none}.wpme-faq details{border-top:1px solid #e2e8f0;padding:14px 0}.wpme-faq details:first-child{border-top:0}.wpme-faq summary{cursor:pointer;font-weight:800;color:#0f172a}.wpme-toc{position:sticky;top:16px;border-radius:20px;border:1px solid #e2e8f0;background:rgba(255,255,255,.86);backdrop-filter:blur(12px);padding:16px;box-shadow:0 12px 32px rgba(15,23,42,.07)}.wpme-toc a{display:block;padding:8px 10px;border-radius:10px;color:#334155;text-decoration:none}.wpme-toc a:hover{background:#eff6ff;color:#1d4ed8}.wpme-attention-zone{border-left:4px solid #3b82f6;padding-left:18px;background:linear-gradient(90deg,rgba(59,130,246,.08),transparent);border-radius:12px}@media(max-width:768px){.wpme-ad-shell{min-height:250px;margin:22px -2px;border-radius:18px;padding:10px}.wpme-ad-shell:after{inset:9px;border-radius:13px}.wpme-sticky{position:relative;top:auto}.wpme-mobile-anchor{position:fixed;bottom:0;left:0;right:0;z-index:99999;min-height:64px;margin:0;border-radius:18px 18px 0 0;box-shadow:0 -16px 50px rgba(15,23,42,.18)}.wpme-premium-table{display:block;overflow-x:auto}.wpme-trust-box,.wpme-faq,.wpme-cta{padding:20px;border-radius:20px}}

/* Contextual Signal Amplification: neutral presentation, no yellow background/shade. */
.premium-highlight,.wpme-premium-context{border:1px solid rgba(148,163,184,.24)!important;box-shadow:none!important;background:#ffffff!important;}
.premium-highlight:before,.wpme-premium-context:before{background:none!important;}
.premium-highlight .wpme-ad-label,.wpme-premium-context .wpme-ad-label{color:#64748b;background:rgba(255,255,255,.86);border:1px solid rgba(148,163,184,.22);}
.premium-highlight:after,.wpme-premium-context:after{border-color:rgba(148,163,184,.22)!important;}



/* Advertiser Perception Engineering: confidence badge only, no yellow slot shading. */
.ad-slot.premium,.wpme-ad-shell.premium,.wpme-advertiser-confidence-premium{position:relative;border:1px solid rgba(148,163,184,.24)!important;box-shadow:none!important;background:#ffffff!important;}
.confidence-badge,.wpme-confidence-badge{position:absolute;right:14px;top:12px;z-index:5;border-radius:999px;background:linear-gradient(135deg,#111827,#334155);color:#fff;font:800 11px/1 system-ui;padding:7px 10px;box-shadow:0 8px 20px rgba(15,23,42,.18);}

.wpme-confidence-badge strong{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:20px;padding:0 5px;border-radius:999px;background:rgba(251,191,36,.18);color:#fde68a;border:1px solid rgba(251,191,36,.25);font-size:10px;}
.wpme-confidence-dot{width:7px;height:7px;border-radius:50%;background:#facc15;box-shadow:0 0 0 4px rgba(250,204,21,.14),0 0 12px rgba(250,204,21,.55);}
@media(max-width:768px){.confidence-badge,.wpme-confidence-badge{right:10px;top:8px;font-size:9px;padding:5px 8px}.wpme-confidence-badge strong{display:none}}
@media(prefers-reduced-motion:no-preference){.wpme-confidence-dot{animation:wpmeConfidencePulse 1.8s ease-in-out infinite}@keyframes wpmeConfidencePulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.78);opacity:.72}}}


/* v1.0.27 rewarded/interstitial slot UI */
.wpme-ad-shell[data-type="rewarded"]{
  min-height:96px;
  display:grid;
  place-items:center;
  gap:8px;
  padding:16px;
  border:1px solid rgba(56,213,255,.18);
  background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(30,64,175,.12));
  border-radius:18px;
}
.wpme-rewarded-trigger{
  border:0;
  border-radius:999px;
  padding:11px 18px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(135deg,#16a34a,#2563eb,#22d3ee);
  box-shadow:0 12px 26px rgba(34,211,238,.18);
  cursor:pointer;
}
.wpme-rewarded-trigger:not(.is-ready){
  opacity:.72;
}
.wpme-rewarded-note{
  color:#94a3b8;
  font-size:12px;
}
.wpme-ad-shell[data-type="interstitial"]{
  min-height:0;
  height:0;
  overflow:hidden;
}

/* v1.0.28 missing GAM path safety */
.wpme-missing-gam-path{
  display:none!important;
}


/* v1.0.29 automatic rewarded modal */
.wpme-reward-modal.hidden{display:none!important;}
.wpme-reward-modal.block{display:block!important;}
.wpme-reward-modal{
  position:fixed;
  z-index:999999;
  inset:0;
  width:100%;
  height:100%;
  overflow:auto;
  background:rgba(0,0,0,.46);
  backdrop-filter:blur(8px);
}
.wpme-reward-modal-content{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:min(420px,92vw);
  padding:26px;
  border-radius:18px;
  background:linear-gradient(180deg,#f8fafc,#e2e8f0);
  color:#0f172a;
  text-align:center;
  box-shadow:0 24px 80px rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.7);
}
.wpme-reward-modal-content p{
  margin:0 0 16px;
  text-align:center;
  font-size:16px;
  font-weight:800;
}
.wpme-reward-close{
  padding:.55rem .85rem;
  background:#2990ea;
  color:#fff;
  border:none;
  border-radius:6px;
  margin:4px auto 0;
  display:none;
  cursor:pointer;
  font-weight:800;
}
.wpme-ad-shell[data-type="rewarded"]{
  min-height:0!important;
  height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  overflow:hidden!important;
}

/* v1.0.31 header placement safety */
.wpme-below-header-buffer{
  width:100%;
  clear:both;
  position:relative;
  z-index:1;
}
.wpme-below-header-buffer .wpme-ad-shell,
body > .wpme-ad-shell.wpme-slot-below_header{
  margin-left:auto;
  margin-right:auto;
}

/* v1.0.40 remove yellow ad shading */
.wpme-ad-shell.premium-highlight,
.wpme-ad-shell.wpme-premium-context,
.wpme-ad-shell.wpme-advertiser-confidence-premium,
.wpme-ad-shell.premium{
  background:#ffffff!important;
  border-color:rgba(148,163,184,.24)!important;
  box-shadow:none!important;
}
.wpme-ad-shell.premium-highlight:before,
.wpme-ad-shell.wpme-premium-context:before,
.wpme-ad-shell.wpme-advertiser-confidence-premium:before,
.wpme-ad-shell.premium:before{
  background:none!important;
}
.wpme-ad-shell.premium-highlight:after,
.wpme-ad-shell.wpme-premium-context:after,
.wpme-ad-shell.wpme-advertiser-confidence-premium:after,
.wpme-ad-shell.premium:after{
  border-color:rgba(148,163,184,.22)!important;
}


/* v1.0.43 HARD yellow shade removal */
.wpme-ad-shell,
.wpme-ad-shell.premium,
.wpme-ad-shell.premium-highlight,
.wpme-ad-shell.wpme-premium-context,
.wpme-ad-shell.wpme-advertiser-confidence-premium,
.wpme-ad-shell.ad-slot.premium{
  background:#ffffff!important;
}
.wpme-ad-shell:before,
.wpme-ad-shell.premium:before,
.wpme-ad-shell.premium-highlight:before,
.wpme-ad-shell.wpme-premium-context:before,
.wpme-ad-shell.wpme-advertiser-confidence-premium:before{
  background:none!important;
}
.wpme-ad-shell,
.wpme-ad-shell.premium,
.wpme-ad-shell.premium-highlight,
.wpme-ad-shell.wpme-premium-context,
.wpme-ad-shell.wpme-advertiser-confidence-premium{
  border-color:rgba(148,163,184,.24)!important;
  box-shadow:none!important;
}
.wpme-ad-shell:after,
.wpme-ad-shell.premium:after,
.wpme-ad-shell.premium-highlight:after,
.wpme-ad-shell.wpme-premium-context:after,
.wpme-ad-shell.wpme-advertiser-confidence-premium:after{
  border-color:rgba(148,163,184,.20)!important;
}
