/* Town 360 — BUSINESS PROFILE POP-UP PROMPT (js/biz-prompt.js,
 * owner order Nov 7 2026). House treatment: Town green on the app's
 * own panels, cosmic glow edge, both themes via face.css variables
 * (theme-light.css redefines the same vars) + explicit light tweaks.
 * Transform/opacity motion only; reduced-motion = static. */

.bp-scrim{
  position:fixed; inset:0; z-index:960;
  display:flex; align-items:flex-end; justify-content:center;
  background:rgba(2,6,3,.62);
  animation:bpFade .18s ease;
}
@keyframes bpFade{from{opacity:0} to{opacity:1}}

.bp-card{
  position:relative;
  width:var(--col); max-width:100vw;
  margin:0 auto;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(61,220,78,.20), rgba(61,220,78,0) 55%),
    radial-gradient(90% 70% at 0% 110%, rgba(168,85,247,.14), rgba(168,85,247,0) 55%),
    var(--panel);
  border:1px solid var(--line);
  border-bottom:0;
  border-radius:22px 22px 0 0;
  box-shadow:0 -12px 44px rgba(0,0,0,.5), 0 0 0 1px rgba(61,220,78,.10), 0 -2px 26px rgba(61,220,78,.12);
  padding:20px 20px calc(18px + env(safe-area-inset-bottom));
  animation:bpIn .24s cubic-bezier(.2,.9,.25,1);
}
@keyframes bpIn{from{transform:translateY(30px); opacity:.4} to{transform:translateY(0); opacity:1}}

.bp-x{
  position:absolute; top:12px; right:12px;
  width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--panel3); color:var(--ink2);
  font-size:14px; line-height:1; border:1px solid var(--line);
}
.bp-x:active{transform:scale(.94)}

.bp-eyebrow{
  font-size:11px; font-weight:800; letter-spacing:.14em;
  color:var(--green-deep); text-transform:uppercase; margin:2px 44px 6px 0;
}
.bp-title{
  margin:0 44px 6px 0; font-size:21px; font-weight:800; line-height:1.2; color:var(--ink);
}
.bp-body{
  margin:0 0 12px; font-size:14px; line-height:1.55; color:var(--ink2);
}
.bp-perks{
  list-style:none; margin:0 0 16px; padding:12px 14px;
  background:var(--panel2); border:1px solid var(--line-soft); border-radius:14px;
  display:flex; flex-direction:column; gap:8px;
}
.bp-perks li{
  display:flex; align-items:center; gap:10px;
  font-size:13.5px; font-weight:600; color:var(--ink);
}
.bp-ic{font-size:15px; flex:none; width:20px; text-align:center}

.bp-cta{
  display:block; width:100%;
  background:linear-gradient(180deg, var(--green-hi), var(--green));
  color:var(--green-ink);
  font-size:15.5px; font-weight:800;
  border-radius:14px; padding:14px 16px;
  box-shadow:0 6px 20px rgba(61,220,78,.28);
}
.bp-cta:active{transform:scale(.985)}
.bp-later{
  display:block; width:100%;
  margin-top:8px; padding:11px 16px;
  font-size:14px; font-weight:700; color:var(--ink2);
  border-radius:14px;
}
.bp-later:active{background:var(--panel2)}

/* ---- light theme: vars flip most of it; fix the scrim + glow ---- */
html[data-theme="light"] .bp-scrim{background:rgba(20,34,22,.45)}
html[data-theme="light"] .bp-card{
  box-shadow:0 -12px 40px rgba(9,32,16,.22), 0 0 0 1px rgba(29,158,51,.14), 0 -2px 22px rgba(29,158,51,.14);
}
html[data-theme="light"] .bp-cta{color:#04150A; box-shadow:0 6px 18px rgba(29,158,51,.25)}

@media (prefers-reduced-motion: reduce){
  .bp-scrim, .bp-card{animation:none}
}
