/* Use the account's actual theme, including Telegram's explicit light/dark theme. */
body .at-offer-price strong{color:var(--ink,#151b30)}
body .at-offer-price s{color:var(--muted,#697184)}
body .at-offer-saving,body .at-offer-ended{color:var(--ink,#151b30)}
body .at-offer-timer{background:var(--surface,#fff);border-color:var(--line,#8c91ad);color:var(--ink,#151b30)}
body .at-offer-details{color:var(--muted,#697184)}
body .connect-offer-compact .at-offer-price{margin:12px 0 8px;gap:8px 12px}
body .connect-offer-compact .at-offer-price strong{font-size:28px;margin:0}
body .connect-offer-compact .at-offer-price s{font-size:18px}
body .connect-offer-compact .at-offer-saving{font-size:16px!important;margin:8px 0}
body .connect-offer-compact .at-offer-timer{margin:10px 0 0;padding:10px;gap:4px 10px;font-size:16px}
body .connect-offer-compact .at-offer-timer output{font-size:21px}

/* Only a verified active commercial offer moves; ordinary/trial/Stars do not mount it. */
body [data-connect-offer="active"] .at-offer-price strong{animation:none}
html[data-connect-offer-motion="on"] body [data-connect-offer="active"] .at-offer-price strong{animation:connect-offer-glow 3.8s ease-in-out infinite}
@keyframes connect-offer-glow{0%,100%{text-shadow:0 0 0 transparent}50%{text-shadow:0 0 22px #bba46a88}}
body [data-connect-offer="active"] .at-offer-price s{position:relative;display:inline-block;text-decoration:line-through}
html[data-connect-offer-motion="on"] body [data-connect-offer="active"] .at-offer-price s{text-decoration:none}
html[data-connect-offer-motion="on"] body [data-connect-offer="active"] .at-offer-price s::after{content:"";position:absolute;left:0;right:0;top:52%;height:2px;border-radius:2px;background:currentColor;transform-origin:left;pointer-events:none;animation:connect-offer-strike .8s ease-out both}
@keyframes connect-offer-strike{from{transform:scaleX(0)}to{transform:scaleX(1)}}
body .connect-price-motion{min-height:44px;max-width:100%;padding:10px 12px;border:1px solid var(--line,#8c91ad);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#151b30);font:inherit;font-size:16px;line-height:1.3;cursor:pointer;margin-left:auto}
body .connect-price-motion:focus-visible{outline:3px solid var(--accent,#a7ce74);outline-offset:3px}
body header.has-connect-price-motion{flex-wrap:wrap}
body .connect-offer-compact .at-offer-price strong{font-size:32px}
body .at-offer-timer output{font-size:26px;white-space:nowrap}
body .connect-offer-compact .at-offer-timer output{font-size:24px}
@media(prefers-reduced-motion:reduce){html body [data-connect-offer="active"] .at-offer-price strong{animation:none!important;text-shadow:none!important}html body [data-connect-offer="active"] .at-offer-price s{text-decoration:line-through!important}html body [data-connect-offer="active"] .at-offer-price s::after{display:none!important;animation:none!important}}
/* A live countdown must fit its plan button rather than spill into the next plan. */
@media(max-width:560px){.mini-plan-grid:has([data-connect-offer="active"]){grid-template-columns:minmax(0,1fr)}}
