/* LeadStreamAi.com mobile-first overlays (Nov 30 2026). Loaded sitewide after lsai-a11y-v1.css.
 * Phones/tablets only (<=860px): compact cookie bar, Aria chat launcher kept above it. Desktop (>860px) is untouched.
 * Consent logic and copy are unchanged: this only restyles the existing .lsc markup.
 * --ls-lsc-h is set by lsai-overlays-v1.js to the real bar height; the fallback is the measured 390px height. */
.nv__card[data-ls-hold]{display:none!important}
@media (max-width:860px){
  html body .lsc:not(.lsc--panel){
    left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));
    bottom:max(8px,env(safe-area-inset-bottom));max-width:none}
  html body .lsc:not(.lsc--panel) .lsc__bar{
    display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:7px 10px;border-radius:14px;box-shadow:0 10px 30px #00000080}
  html body .lsc:not(.lsc--panel) .lsc__bar p{flex:1 1 230px;margin:0;font-size:11.5px;line-height:1.3}
  html body .lsc:not(.lsc--panel) .lsc__bar p>b{display:none}
  html body .lsc:not(.lsc--panel) .lsc__long{display:none}
  html body .lsc:not(.lsc--panel) .lsc__short{display:inline}
  html body .lsc:not(.lsc--panel) .lsc__btns{flex:0 0 auto;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto;max-width:100%}
  html body .lsc:not(.lsc--panel) .lsc__btns button{white-space:nowrap;min-height:32px;padding:7px 12px;font-size:12.5px;line-height:1}
  /* Settings reads as a text link; Reject optional and Accept all keep equal weight */
  html body .lsc:not(.lsc--panel) .lsc__btns .lsc__ghost{border:0;background:none;padding:7px 4px;text-decoration:underline;text-underline-offset:3px}
  /* Aria chat launcher (and its teaser cards) sit above the bar, never on it */
  html body:has(.lsc:not(.lsc--panel)) .nv{bottom:calc(max(8px,env(safe-area-inset-bottom)) + var(--ls-lsc-h,76px) + 8px)}
  html body:has(.lsc:not(.lsc--panel)){padding-bottom:calc(var(--ls-lsc-h,76px) + 28px)}
}

/* Homepage hero (.sx-hero.mfh), phones/tablets only (<=860px): centered CTA group + eyebrow with matching short rules on both sides.
 * The bundle reserves padding-right:76px under 760px (room for the Aria launcher), which pushed the pill and both links ~38px left of
 * the centered headline. Desktop (>860px) keeps its left-aligned CTA row and trailing-only eyebrow rule. */
@media (max-width:860px){
  html body .sx-hero.mfh .sx-hero__cta{padding-left:0;padding-right:0;margin-left:auto;margin-right:auto;flex-direction:column;align-items:center;justify-content:center;text-align:center}
  html body .sx-hero.mfh .ls-marker{justify-content:center;gap:12px}
  html body .sx-hero.mfh .ls-marker::before,html body .sx-hero.mfh .ls-marker::after{content:"";display:block;flex:0 0 auto;width:28px;height:1px;background:var(--ls-violet);opacity:.6}
}
@media (max-width:384px){
  html body .sx-hero.mfh .ls-marker{gap:10px}
  html body .sx-hero.mfh .ls-marker::before,html body .sx-hero.mfh .ls-marker::after{width:24px}
}
@media (max-width:364px){
  html body .sx-hero.mfh .ls-marker{gap:8px}
  html body .sx-hero.mfh .ls-marker::before,html body .sx-hero.mfh .ls-marker::after{width:18px}
}
@media (max-width:340px){
  /* no room for rules next to the text on the narrowest phones: drop both sides so the line stays symmetric */
  html body .sx-hero.mfh .ls-marker::before,html body .sx-hero.mfh .ls-marker::after{display:none}
}
