/* Self-serve ads with the fun kit (page-advertise-self-serve.php; kit: fun.css and fun.js). Linked first in #main,
   before the core's ad-shop.css, so the rules that restyle the core's form are a little more specific
   (html .fun-ads ...). The form, its fields, ids and data hooks are the core's and are only restyled: Pay and Stripe
   Checkout work exactly as before. Motion is transform and opacity only; Reduce Motion keeps the core's fades, quiet
   motion stops everything (end of this file). Nothing here is drawn over a video. */

/* ---------- The masthead: a kicker and one confident headline ---------- */
html .fun-ads .fun-ads-head { padding-bottom: 6px; }
.fun-ads-kicker svg { width: 20px; height: 20px; }
html .fun-ads .ads-masthead .fun-ads-title { margin: 18px 0 0; font-family: var(--fun-display); font-weight: 600; font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; }
html .fun-ads .ads-masthead .fun-ads-lead { max-width: 44ch; margin-top: 18px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: var(--fun-ink-2); }
html .fun-ads .fun-ads-body { margin-top: 34px; }

/* ---------- The core's form, in the kit's colors ---------- */
html .fun-ads .ads-step, html .fun-ads .ads-pay { border-radius: 30px; }
html .fun-ads .ads-step-title { gap: 12px; font-family: var(--fun-display); font-weight: 600; font-size: 20px; letter-spacing: -.035em; color: var(--fun-ink); }
html .fun-ads .ads-step-number { width: 34px; height: 34px; border-radius: 12px; font: 600 15px/1 var(--fun-display); color: var(--fun-dark); background: var(--fun-green); }
html .fun-ads .ads-product { border-radius: 24px; }
html .fun-ads .ads-product.is-on { background: rgb(100 237 170 / .14); box-shadow: inset 0 0 0 2px var(--fun-green); }
html .fun-ads .ads-product-title { font-family: var(--fun-display); font-weight: 600; letter-spacing: -.03em; }
html .fun-ads .ads-seg.is-on, html .fun-ads .ads-chip.is-on { background: var(--fun-green); color: var(--fun-dark); }
html .fun-ads .ads-week.is-on { background: rgb(100 237 170 / .14); box-shadow: inset 0 0 0 2px var(--fun-green); }
html .fun-ads .ads-toggle input:checked + .ads-switch { background: var(--fun-green); }
html .fun-ads .ads-total { font-family: var(--fun-display); font-weight: 600; font-size: 34px; letter-spacing: -.04em; color: var(--fun-green); }
html body .fun-ads .ads-pay-button { min-height: 56px; border-radius: 999px; font-family: var(--fun-display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--fun-dark); background: var(--fun-green); transition: transform .35s var(--fun-spring), box-shadow .3s ease, opacity .2s; }
html body .fun-ads .ads-pay-button:active:not(:disabled) { transform: scale(.96); transition-duration: .1s; }
html body .fun-ads .ads-pay-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
html .fun-ads .ads-logo-button { min-height: 44px; }

/* ---------- After paying: the core's calm glass panel, with the kit's headline (the core throws the hearts) ---------- */
html .fun-ads .ads-done h2 { font-family: var(--fun-display); font-weight: 600; letter-spacing: -.04em; }

/* ---------- Coming soon: a friendly empty state ---------- */
html .fun-ads .fun-ads-soon { display: grid; justify-items: center; gap: 6px; padding: 44px 22px; border-radius: 30px; }
html .fun-ads .fun-ads-soon .ads-soon-heart { display: grid; place-items: center; width: 64px; height: 64px; padding: 14px; border-radius: 20px; color: var(--fun-dark); background: var(--fun-green); }
html .fun-ads .fun-ads-soon h2 { font-family: var(--fun-display); font-weight: 600; letter-spacing: -.04em; }
html .fun-ads .fun-ads-soon .re-form-wrap { justify-self: stretch; }

@media (prefers-reduced-motion: reduce) {
	html .fun-ads .ads-product.is-on, html body .fun-ads .ads-pay-button:active:not(:disabled) { transform: none; }
}
body.quiet-motion .fun-ads *, body.quiet-motion .fun-ads *::before, body.quiet-motion .fun-ads *::after { animation: none !important; transition: none !important; }
body.quiet-motion .fun-ads .ads-product.is-on, body.quiet-motion .fun-ads .ads-look.is-on, body.quiet-motion .fun-ads .ads-pay-button { transform: none !important; }
body.quiet-motion .fun-ads .ads-burst { display: none !important; }
