/* Advertise with us (advertise/index.php). Builds on studio.css (cards, forms, ad rows) and ads-account.css. */
.av-page { display: grid; grid-gap: 14px; gap: 14px; padding-bottom: 40px; }
.av-hero { display: grid; justify-items: start; grid-gap: 8px; gap: 8px; padding: 20px 16px; border-radius: 18px; background: linear-gradient(135deg, rgba(57,255,106,.14), rgba(255,190,60,.08)); border: 1px solid rgba(57,255,106,.25); }
.av-hero-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(57,255,106,.16); color: #39ff6a; color: var(--tc-primary, #39ff6a); }
.av-hero-ic .icon { width: 26px; height: 26px; }
.av-hero h1 { margin: 4px 0 0; font-size: 26px; line-height: 1.15; color: #fff; }
.av-hero p { margin: 0; max-width: 620px; font-size: 15px; line-height: 1.55; color: #d6d6d6; }
.av-hero .pf-btn { margin-top: 6px; min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; }
.av-hero .pf-btn .icon { width: 18px; height: 18px; }
.av-hero-sub { font-size: 13px; color: rgba(245, 247, 246, 0.62); color: var(--tc-text-muted, #9a9a9a); }
.av-hero-sub a, .av-agree a, .av-foot-link a { color: #39ff6a; color: var(--tc-primary, #39ff6a); }
.av-form .st-fieldset legend { font-size: 14px; }
.av-form .pf-field input[type="text"], .av-form .pf-field input[type="url"] { font-size: 16px; }
.av-file { margin-bottom: 10px; }
.av-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; cursor: pointer; border: 1.5px dashed rgba(255,255,255,.25); background: rgba(255,255,255,.03); }
.av-drop:hover, .av-drop:focus-within { border-color: #39ff6a; border-color: var(--tc-primary, #39ff6a); }
.av-drop[aria-invalid="true"] { border-color: #ff6b6b; }
.av-drop > .icon { flex: none; width: 26px; height: 26px; color: #39ff6a; color: var(--tc-primary, #39ff6a); }
.av-drop span { display: grid; grid-gap: 2px; gap: 2px; min-width: 0; }
.av-drop b { font-size: 14px; color: #fff; } .av-drop b i { font-style: normal; font-weight: 400; font-size: 12px; color: rgba(245, 247, 246, 0.62); color: var(--tc-text-muted, #9a9a9a); }
.av-drop b span { display: inline; }
.av-drop em { font-style: normal; font-size: 14px; color: #39ff6a; color: var(--tc-primary, #39ff6a); overflow-wrap: anywhere; }
.av-drop small { font-size: 12px; line-height: 1.4; color: rgba(245, 247, 246, 0.62); color: var(--tc-text-muted, #9a9a9a); }
.av-file-in { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.av-file .adc { margin: 10px 0 0; }
@media (min-width: 620px) { .av-row2 { grid-template-columns: 1fr 1fr; } @supports selector(:has(a)) { .av-row2:has(select) { grid-template-columns: 2fr 1fr; } } }
.av-pv-h { margin: 4px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(245, 247, 246, 0.62); color: var(--tc-text-muted, #9a9a9a); }
.av-pv { display: grid; grid-template-columns: 96px 1fr; grid-gap: 12px; gap: 12px; align-items: center; max-width: 460px; padding: 10px; border-radius: 14px; background: #101411; border: 1px solid rgba(255,255,255,.12); }
.av-pv.is-reel { grid-template-columns: 72px 1fr; }
.av-pv-art { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #1b211d; }
.av-pv.is-video .av-pv-art { aspect-ratio: 16 / 10; } .av-pv.is-reel .av-pv-art { aspect-ratio: 9 / 16; }
.av-pv-art img, .av-pv-art video { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-pv-ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255,255,255,.35); } .av-pv-ph .icon { width: 28px; height: 28px; }
.av-pv-tag { position: absolute; left: 6px; top: 6px; padding: 2px 6px; border-radius: 6px; font-size: 10px; font-weight: 700; color: #111; background: #ffcc00; }
.av-pv-txt { display: grid; grid-gap: 3px; gap: 3px; min-width: 0; }
.av-pv-txt small { font-size: 12px; color: rgba(245, 247, 246, 0.62); color: var(--tc-text-muted, #9a9a9a); } .av-pv-txt b { font-size: 15px; color: #fff; overflow-wrap: anywhere; }
.av-pv-txt p { margin: 0; font-size: 13px; line-height: 1.4; color: #cfcfcf; overflow-wrap: anywhere; }
.av-pv-cta { justify-self: start; margin-top: 4px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #06210f; background: #39ff6a; background: var(--tc-primary, #39ff6a); }
.av-agree { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #e2e2e2; cursor: pointer; }
.av-agree input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #39ff6a; accent-color: var(--tc-primary, #39ff6a); }
.av-agree input[aria-invalid="true"] { outline: 2px solid #ff6b6b; outline-offset: 2px; }
.av-progress { display: grid; grid-gap: 6px; gap: 6px; margin: 0 0 12px; padding: 12px; border-radius: 12px; background: rgba(90,200,250,.08); border: 1px solid rgba(90,200,250,.3); }
.av-progress[hidden] { display: none; }
.av-progress b { font-size: 14px; color: #fff; } .av-progress small { font-size: 12px; color: rgba(245, 247, 246, 0.62); color: var(--tc-text-muted, #9a9a9a); }
.av-progress span { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.av-progress span i { display: block; height: 100%; width: 0; border-radius: 3px; background: #39ff6a; background: var(--tc-primary, #39ff6a);  }
@media (prefers-reduced-motion: reduce) { .av-progress span i { transition: none; } }
.av-ads { display: grid; grid-gap: 10px; gap: 10px; min-height: 60px; }
.av-ad .st-ad-top { align-items: center; }
.av-th { flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: #1b211d; display: grid; place-items: center; }
.av-th img { width: 100%; height: 100%; object-fit: cover; } .av-th-ph { color: rgba(255,255,255,.4); } .av-th-ph .icon { width: 22px; height: 22px; }
.av-ad .st-ad-top > div { flex: 1; }
.av-link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-wait { margin: 0; padding: 8px 10px; border-radius: 10px; font-size: 13px; line-height: 1.45; color: #ffe6b0; background: rgba(255,190,60,.1); }
.av-pg { align-self: center; padding: 0 10px; font-size: 13px; color: rgba(245, 247, 246, 0.62); color: var(--tc-text-muted, #9a9a9a); }
.av-kind-grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; gap: 10px; margin-top: 10px; }
@media (min-width: 760px) { .av-kind-grid { grid-template-columns: repeat(4, 1fr); } }
.av-kind { display: grid; grid-gap: 4px; gap: 4px; align-content: start; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.av-kind .icon { width: 24px; height: 24px; color: #39ff6a; color: var(--tc-primary, #39ff6a); }
.av-kind b { font-size: 15px; color: #fff; } .av-kind small { font-size: 12.5px; line-height: 1.45; color: #c9c9c9; }
.av-kind em { margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 700; color: #ffcc00; }
.av-how ol { margin: 0; padding-left: 20px; display: grid; grid-gap: 8px; gap: 8px; font-size: 14px; line-height: 1.55; color: #d6d6d6; }
.av-how b { color: #fff; }
.av-foot-link { margin: 0; }
/* "Advertise with us" entry points elsewhere on the site */
.tc-adv-cta { display: flex; align-items: center; gap: 10px; margin: 10px 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: #fff; background: rgba(57,255,106,.1); border: 1px solid rgba(57,255,106,.3); font-size: 14px; font-weight: 700; }
.tc-adv-cta .icon { width: 20px; height: 20px; color: #39ff6a; color: var(--tc-primary, #39ff6a); }
/* compat:aspect — browsers without aspect-ratio (Chrome < 88, Safari < 15): fixed sizes that match
   the mobile layout, so boxes with a background picture or absolutely placed contents don't collapse. */
@supports not (aspect-ratio: 1 / 1) {
  .av-pv-art { height: 42vw; max-height: 260px; }
  .av-pv.is-video .av-pv-art { height: 26vw; max-height: 170px; }
  .av-pv.is-reel .av-pv-art { height: 75vw; max-height: 420px; }
}

/* compat:no-flexgap:start — rebuilt by tools/css_compat.py: spacing for engines without flex gap
   (html.no-flexgap, set in the head). Edit the gap in the rule above, then run the tool. */
.no-flexgap .av-hero .pf-btn > :not(:last-child) { margin-right: 8px; }
.no-flexgap .av-drop > :not(:last-child) { margin-right: 12px; }
.no-flexgap .av-agree > :not(:last-child) { margin-right: 10px; }
.no-flexgap .tc-adv-cta > :not(:last-child) { margin-right: 10px; }
/* compat:no-flexgap:end */
