/* Small visitor badge, with breathing room at the end of the page. */
#ptvc-counter{position:fixed;left:12px;bottom:12px;z-index:80;display:flex;align-items:center;gap:10px;padding:10px 14px;max-width:calc(100vw - 24px);box-sizing:border-box;border:1px solid var(--ptx-brand-dde8f2,#dde8f2);border-radius:12px;background:#fff;color:var(--ptx-brand-text,#15558c);box-shadow:0 4px 20px #00000012;font:12px/1.4 Arial,sans-serif}
#ptvc-counter>div{display:flex;gap:16px;flex-wrap:wrap}#ptvc-counter span{white-space:nowrap}#ptvc-counter b{margin-left:5px;font-weight:800;font-variant-numeric:tabular-nums}.ptvc-live-dot{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:var(--ptx-theme,#007bff)}.ptvc-footer-space{display:block!important;height:76px!important;clear:both;pointer-events:none}
/* The marketplace inserts this element after its normal page content.
   Keeping it in normal flow makes it a footer ad, never an overlay. */
#fxm-marketplace #pt-floating-ad{position:static!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:min(1060px,calc(100% - 28px))!important;max-width:calc(100% - 28px)!important;margin:24px auto 0!important;z-index:auto!important;float:none!important;clear:both;box-sizing:border-box}
#fxm-marketplace.pt-has-banner{padding-bottom:0!important}
@media(max-width:600px){#ptvc-counter{font-size:11px;padding:9px 12px}#ptvc-counter>div{gap:10px}#fxm-marketplace #pt-floating-ad{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;margin-top:18px!important}}
/* Stable banner dimensions at each screen size, regardless of advertiser. */
#fxm-marketplace #pt-floating-ad{height:180px!important;min-height:180px!important;max-height:180px!important;padding:12px!important;overflow:hidden!important}
#fxm-marketplace #pt-floating-ad .ptx-banner-row{height:100%!important;max-height:100%!important;box-sizing:border-box;align-items:center;gap:14px;padding:0!important}
#fxm-marketplace #pt-floating-ad .pt-banner-link{height:100%!important;min-height:0!important;min-width:0!important;box-sizing:border-box;align-items:center;padding:0!important;overflow:hidden}
#fxm-marketplace #pt-floating-ad .ptx-banner-artwork{height:100%!important;max-height:100%!important;flex:0 1 48%!important;width:48%!important;min-width:0!important}
#fxm-marketplace #pt-floating-ad .ptx-banner-artwork img,#fxm-marketplace #pt-floating-ad .pt-banner-link>img{height:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;box-sizing:border-box}
#fxm-marketplace #pt-floating-ad .ptx-banner-artwork img{width:100%!important;max-width:100%!important}
#fxm-marketplace #pt-floating-ad .pt-banner-link>img{width:48%!important;max-width:48%!important;flex:0 1 48%;min-width:0}
#fxm-marketplace #pt-floating-ad .pt-banner-link strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.3}
#fxm-marketplace #pt-floating-ad .pt-banner-link p{display:-webkit-box;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.4;max-width:100%}
#fxm-marketplace #pt-floating-ad .ptx-banner-actions{max-height:100%;overflow:auto;min-width:0}
#fxm-marketplace #pt-floating-ad .ptx-banner-teaser{height:100%!important;min-height:0!important;max-height:100%!important;box-sizing:border-box;overflow:hidden}
@media(max-width:600px){
 #fxm-marketplace #pt-floating-ad{height:260px!important;min-height:260px!important;max-height:260px!important}
 #fxm-marketplace #pt-floating-ad .ptx-banner-row{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:10px!important}
 #fxm-marketplace #pt-floating-ad .ptx-banner-actions{display:flex;flex-wrap:wrap;gap:5px 8px;max-height:80px}
 #fxm-marketplace #pt-floating-ad .ptx-banner-actions .ptx-ad-actions{flex:1;min-width:0}
 #fxm-marketplace #pt-floating-ad .pt-banner-link{gap:10px!important}
 #fxm-marketplace #pt-floating-ad .ptx-banner-teaser{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}
}

.ptvc-celebration{position:fixed;inset:0;z-index:2147483646;background:rgba(7,25,45,.6);display:grid;place-items:center;padding:20px}.ptvc-celebration-panel{position:relative;z-index:2;background:white;color:#123454;border-radius:20px;max-width:420px;padding:30px;text-align:center;box-shadow:0 20px 70px #0005}.ptvc-celebration-panel h2{font-size:25px;line-height:1.25}.ptvc-celebration-panel p{font-size:17px;line-height:1.6}.ptvc-celebration-panel a{display:block;margin:20px 0;color:#075fae}.ptvc-celebration-panel button{background:#007bff;color:#fff;font-weight:700;padding:13px 22px;border:0;border-radius:10px;cursor:pointer}.ptvc-confetti{pointer-events:none;position:absolute;top:-20px;width:10px;height:16px;animation:ptvc-fall 4s linear forwards}@keyframes ptvc-fall{to{translate:40px 110vh;rotate:720deg}}#ptvc-counter>a{font-size:18px;padding:6px;text-decoration:none}
