/* v137 Workout Buddy — Home card + #buddy view + in-session cheer dock */
.hs-buddy-wrap{
  display:block;width:100%;max-width:none;margin:0;padding:0;box-sizing:border-box;align-self:stretch;
}
.hs-buddy{
  display:block;margin:0;padding:0;border:0;cursor:pointer;text-align:left;
  width:100%;box-sizing:border-box;border-radius:var(--dc-r,18px);overflow:hidden;position:relative;
  background:#050505;
  background-image:
    radial-gradient(ellipse at 50% 0%,rgba(var(--accent-rgb),.20),transparent 58%),
    radial-gradient(ellipse at 80% 100%,rgba(var(--accent-rgb),.08),transparent 50%),
    linear-gradient(180deg,#0a0a0a 0%,#111 55%,#050505 100%);
  box-shadow:0 8px 28px rgba(0,0,0,.35),inset 0 0 0 1px rgba(var(--accent-rgb),.4);
  transition:box-shadow .15s ease;font:inherit;color:#fff;
}
.hs-buddy:hover{box-shadow:0 10px 32px rgba(0,0,0,.45),inset 0 0 0 1.5px rgba(var(--accent-rgb),.6)}
.hs-buddy:focus-visible{outline:3px solid var(--accent-text,var(--accent));outline-offset:2px}
.hs-buddy-inner{display:flex;flex-direction:column;gap:10px;padding:14px 14px 12px;box-sizing:border-box}
.hs-buddy-title{margin:0;line-height:1.05;letter-spacing:.04em}
.hs-buddy-title .hs-buddy-w{font-weight:900;font-size:clamp(18px,5.2vw,22px);color:#fff;text-transform:uppercase}
.hs-buddy-title .hs-buddy-b{font-weight:900;font-size:clamp(18px,5.2vw,22px);color:var(--accent);text-transform:uppercase;text-shadow:0 0 16px rgba(var(--accent-rgb),.45);margin-left:.28em}
.hs-buddy-tag{margin:0;font-size:12px;font-weight:600;color:rgba(255,255,255,.7);line-height:1.35}
.hs-buddy-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hs-buddy-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  font-size:13px;font-weight:800;color:#0a0a0a;background:var(--accent);border:0;
  border-radius:999px;padding:8px 14px;pointer-events:none;
}
.hs-buddy-pill{
  display:inline-flex;align-items:center;font-size:12px;font-weight:700;
  color:var(--accent);background:rgba(var(--accent-rgb),.12);border:1px solid rgba(var(--accent-rgb),.45);
  border-radius:999px;padding:6px 10px;
}
.hs-buddy-pill.warn{color:#fbbf24;border-color:rgba(251,191,36,.5);background:rgba(251,191,36,.1)}
.hs-buddy-safety{display:flex;flex-wrap:wrap;gap:5px;margin:0}
.hs-buddy-chip{
  font-size:9.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;
  color:#fb923c;border:1px solid rgba(251,146,60,.55);border-radius:999px;padding:3px 7px;line-height:1.2;
}
.hs-buddy-fine{margin:0;font-size:11px;font-weight:600;color:rgba(255,255,255,.55)}
@media (min-width:800px){
  .hs-buddy-inner{padding:18px 20px 16px;gap:12px}
  .hs-buddy-title .hs-buddy-w,.hs-buddy-title .hs-buddy-b{font-size:24px}
  .hs-buddy-tag{font-size:13px}
}

/* Full Buddy view */
#view-buddy{background:var(--bg,#fafafa);min-height:100%}
.bd-root{max-width:100%;width:100%;margin:0 auto;padding:4px 12px 40px;display:flex;flex-direction:column;gap:12px;box-sizing:border-box}
.bd-hero{
  border-radius:var(--dc-r,18px);padding:18px 16px 14px;color:#111;
  background:#fff;
  background-image:none;
  border:1px solid #e5e7eb;
  box-shadow:0 4px 16px rgba(0,0,0,.06);
}
.bd-hero h2{margin:0;font-size:clamp(22px,6vw,28px);letter-spacing:.04em;text-transform:uppercase;color:#111}
.bd-hero h2 .acc{color:var(--accent-dark,var(--accent));text-shadow:none}
.bd-hero p{margin:6px 0 0;color:#3a4149;font-size:13.5px;font-weight:600}
.bd-card{background:var(--card,rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:14px}
.bd-card h3{margin:0 0 8px;font-size:15px}
.bd-safety{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
.bd-chip{
  font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;
  color:#fb923c;border:1px solid rgba(251,146,60,.55);border-radius:999px;padding:4px 8px;
}
.bd-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.bd-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.bd-row:last-child{border-bottom:0}
.bd-who{flex:1;min-width:0}
.bd-who b{display:block;font-size:14px}
.bd-who span{font-size:12px;color:var(--muted,rgba(255,255,255,.55))}
.bd-acts{display:flex;flex-wrap:wrap;gap:6px}
.bd-empty{margin:0;padding:8px 0;font-size:13px;color:var(--muted,rgba(255,255,255,.55))}
.bd-cheers{display:flex;flex-wrap:wrap;gap:8px}
.bd-cheer{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border-radius:999px;padding:9px 12px;font-size:13px;font-weight:700;cursor:pointer;
  background:rgba(var(--accent-rgb),.12);border:1px solid rgba(var(--accent-rgb),.4);color:inherit;
}
.bd-cheer.face{width:44px;height:44px;padding:0;border-radius:12px;font-size:20px}
.bd-cheer:disabled{opacity:.45;cursor:not-allowed}
.bd-feed{display:flex;flex-direction:column;gap:6px;max-height:160px;overflow:auto}
.bd-feed-item{font-size:13px;padding:6px 8px;border-radius:10px;background:rgba(var(--accent-rgb),.08)}
.bd-err{color:#f87171;font-size:13px;margin:0}
.bd-ok{color:var(--accent);font-size:13px;margin:0}
.bd-fine{font-size:12px;color:var(--muted,rgba(255,255,255,.55));margin:8px 0 0}

/* In-session dock inside #session sheet */
.bd-dock{
  margin:12px 0 8px;padding:12px;border-radius:14px;
  background:#fff;color:#111;
  border:1px solid #e5e7eb;
  box-shadow:0 4px 16px rgba(0,0,0,.06);
}
.bd-dock h3{margin:0 0 6px;font-size:14px;letter-spacing:.03em;color:#111}
.bd-dock h3 .acc{color:var(--accent-dark,var(--accent));text-shadow:none}
.bd-dock .bd-cheers{margin-top:8px}
.bd-dock .bd-feed{margin-top:8px;max-height:120px}
.bd-dock-sub{margin:0;font-size:12px;color:#3a4149;font-weight:600}
.bd-fine{font-size:12px;color:#3a4149;margin:8px 0 0;font-weight:600}
/* v138: centred Home buddy card */
.hs-buddy-inner{align-items:center;text-align:center}
.hs-buddy-title,.hs-buddy-tag,.hs-buddy-fine{text-align:center;width:100%}
.hs-buddy-row{justify-content:center;width:100%}
.hs-buddy-cta{justify-content:center;text-align:center;min-width:min(220px,100%)}
.hs-buddy-safety{justify-content:center}

/* v145: Message CTA + tidy More sheet (Mute/Leave/Report/Block) */
.bd-who-btn{
  flex:1;min-width:0;text-align:left;background:transparent;border:0;color:inherit;
  padding:0;cursor:pointer;font:inherit;
}
.bd-who-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}
.bd-chat-btn{flex:none;white-space:nowrap}
.bd-more-btn{flex:none;min-width:4.5rem}
.bd-acts{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;flex:none}
.bd-row-ok{align-items:center}
.bd-more{position:fixed;inset:0;z-index:80;display:grid;place-items:end center}
.bd-more-scrim{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.bd-more-dlg{
  position:relative;z-index:1;width:min(100%,420px);max-height:min(80vh,560px);overflow:auto;
  background:#fff;color:#111;border:1px solid #e5e7eb;border-radius:16px 16px 0 0;
  padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px));
  box-shadow:0 -12px 40px rgba(0,0,0,.18);
}
.bd-more-dlg .bd-more-h b,
.bd-more-dlg .bd-more-item b{color:#111}
.bd-more-dlg .bd-more-item small{color:#3a4149!important}
.bd-more-dlg .bd-more-item{background:#f5f6f2;color:#111}
.bd-more-dlg .bd-more-item:hover,.bd-more-dlg .bd-more-item:focus-visible{background:rgba(var(--accent-rgb),.12)}
.bd-more-h{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 4px 10px}
.bd-more-h b{font-size:15px}
.bd-more-x{font-size:20px;line-height:1;min-width:2.25rem}
.bd-more-menu{display:flex;flex-direction:column;gap:4px}
.bd-more-item{
  display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;
  text-align:left;border:0;border-radius:12px;padding:12px 12px;cursor:pointer;
  background:rgba(255,255,255,.04);color:inherit;font:inherit;
}
.bd-more-item:hover,.bd-more-item:focus-visible{background:rgba(var(--accent-rgb),.12)}
.bd-more-item b{font-size:14px}
.bd-more-item small{font-size:12px;color:var(--muted,rgba(255,255,255,.55));font-weight:500}
.bd-more-item.danger b{color:#f87171}
html.bd-more-lock,html.bd-more-lock body{overflow:hidden}
@media (min-width:720px){
  .bd-more{place-items:center}
  .bd-more-dlg{border-radius:16px;padding-bottom:12px}
}

/* v149: accepted Open-only — title + CTA, no empty tag gap */
.hs-buddy-inner:not(:has(.hs-buddy-tag)){gap:12px;padding:16px 14px}
@media (min-width:800px){
  .hs-buddy-inner:not(:has(.hs-buddy-tag)){gap:14px;padding:20px 20px 18px}
}
@media (min-width:900px){
  .hs-buddy-inner:not(:has(.hs-buddy-tag)) .hs-buddy-cta{min-width:min(260px,100%);padding:10px 18px;font-size:14px}
}

/* ===== v152 slim Home buddy banner ===== */
.hs-buddy-slim{margin:0}
.hs-buddy-slim-btn.hs-buddy{
  border-radius:14px;
  box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.35),0 4px 14px rgba(0,0,0,.25);
}
.hs-buddy-slim-inner{
  display:flex;align-items:center;gap:8px 10px;
  padding:8px 10px;box-sizing:border-box;min-height:44px;
}
.hs-buddy-slim-title{line-height:1;letter-spacing:.03em;flex:none}
.hs-buddy-slim-title .hs-buddy-w{font-weight:900;font-size:12px;color:#fff;text-transform:uppercase}
.hs-buddy-slim-title .hs-buddy-b{font-weight:900;font-size:12px;color:var(--accent);text-transform:uppercase;text-shadow:0 0 10px rgba(var(--accent-rgb),.4);margin-left:.22em}
.hs-buddy-slim-cta{
  flex:1;min-width:0;font-size:12.5px;font-weight:800;color:#0a0a0a;
  background:var(--accent);border-radius:999px;padding:5px 11px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;
  max-width:min(220px,46vw);
}
.hs-buddy-slim .hs-buddy-pill{padding:4px 8px;font-size:11px;margin-left:auto}
.hs-buddy-slim-chev{font-size:18px;font-weight:700;color:rgba(255,255,255,.55);flex:none;line-height:1;margin-left:2px}
.hs-buddy-slim .hs-buddy-inner,.hs-buddy-slim .hs-buddy-tag,.hs-buddy-slim .hs-buddy-row{display:none}
@media(min-width:800px){
  .hs-buddy-slim-inner{padding:9px 14px;gap:12px}
  .hs-buddy-slim-title .hs-buddy-w,.hs-buddy-slim-title .hs-buddy-b{font-size:13px}
  .hs-buddy-slim-cta{font-size:13px;max-width:260px;padding:6px 14px}
}

/* ========== v191/v195 — session dock cheers (white card, black writing) ========== */
.bd-dock .bd-dock-sub,
.bd-dock .bd-fine,
.bd-dock .bd-who span,
.bd-dock .bd-empty{
  color:#3a4149!important;
}
.bd-dock .bd-dock-sub b{color:#111!important}
.bd-dock h3{color:#111!important}
.bd-dock-sub{color:#3a4149!important}

.bd-dock{margin:12px 0 10px}
.bd-dock-live{margin-top:10px;padding-top:10px;border-top:1px solid rgba(0,0,0,.08)}
.bd-dock-live-host .bd-cheers{margin-top:10px}
.bd-cheer.bd-cheer-sent{
  box-shadow:0 0 0 2px var(--accent,#39ff14);
  transform:scale(1.04);
}
html[data-theme=light] .bd-dock-live{border-top-color:rgba(0,0,0,.08)}
#session .bd-dock{
  position:relative;z-index:2;
  background:#fff!important;color:#111!important;background-image:none!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 4px 16px rgba(0,0,0,.06)!important;
}

/* Social slim sub: default light-on-black only when NOT on white Social */
.hs-buddy .hs-buddy-slim-sub,
.hs-buddy-slim-btn .hs-buddy-slim-sub{
  color:rgba(255,255,255,.88)!important;
  opacity:1!important;
}
.hs-buddy .hs-buddy-chip,
.hs-buddy-slim .hs-buddy-chip{
  color:#ffd7a8!important;
  border-color:rgba(255,215,168,.55)!important;
}

/* v195: Social white Buddy — dark text (beats earlier light-on-black rules) */
html.hs-open .hs-buddy,
html.hs-open .hs-buddy-slim-btn.hs-buddy{
  background:#fff!important;background-image:none!important;color:#111!important;
  box-shadow:0 4px 16px rgba(0,0,0,.06)!important;border:1px solid #e5e7eb!important;
}
html.hs-open .hs-buddy .hs-buddy-slim-sub,
html.hs-open .hs-buddy-slim-btn .hs-buddy-slim-sub{color:#111!important;opacity:1!important}
html.hs-open .hs-buddy-slim-title .hs-buddy-w{color:#111!important}
html.hs-open .hs-buddy-slim-title .hs-buddy-b{color:var(--accent-dark,var(--accent))!important;text-shadow:none!important;margin-left:.35em!important}
html.hs-open .hs-buddy-slim-chev{color:#6b7280!important}

/* Start workout Buddy dock + rest timer — white / black */
#session .bd-dock,
#session .bd-dock.bd-dock-live-host{
  background:#fff!important;color:#111!important;background-image:none!important;
  border:1px solid #e5e7eb!important;box-shadow:0 4px 16px rgba(0,0,0,.06)!important;
}
#session .bd-dock .bd-dock-sub,
#session .bd-dock .bd-fine,
#session .bd-dock .bd-empty,
#session .bd-dock .bd-who span,
#session .bd-dock h3{color:#111!important}
#session .bd-dock .bd-dock-sub b{color:#111!important}
#session .bd-dock h3 .acc{color:var(--accent-dark,var(--accent))!important;text-shadow:none!important}
#session #restBox.rest.card,
#session .rest.card{
  background:#fff!important;color:#111!important;border:1px solid #e5e7eb!important;
}
#session #restBox .muted,
#session .rest .muted{color:#3a4149!important}
#session #restTime{color:#111!important}

/* v197 compact session dock */
.bd-dock-compact{padding:10px 12px;margin:8px 0}
.bd-dock-compact .bd-fine{display:none}
.bd-dock-compact .bd-feed{max-height:72px}

/* v198: Social Buddy tidy — no sub, tight gaps */
html.hs-open .hs-buddy-wrap{
  margin:0 0 8px!important;padding:0!important;
}
html.hs-open .hs-buddy-slim-btn.hs-buddy,
html.hs-open .hs-buddy{
  padding:0!important;min-height:0!important;
}
html.hs-open .hs-buddy-slim-inner{
  display:flex;align-items:center;gap:10px;padding:12px 14px!important;
}
html.hs-open .hs-buddy-slim-sub{display:none!important;margin:0!important;padding:0!important;height:0!important}
html.hs-open .hs-buddy-wrap + .hs-pin,
html.hs-open .hs-buddy-wrap + [class*="hs-pin"],
html.hs-open .hs-stack > .hs-buddy-wrap{margin-bottom:8px!important}

/* ========== v230 — Social Buddy card = Messenger Open card chrome ==========
   Josh video: match APJJ Fitness Social Messenger exactly.
   - Theme-adaptive surface (not forced white)
   - Thick solid border: black in light, white in dark (--neo-border)
   - Left: branded squircle icon (not back arrow)
   - Title Case "Workout Buddy"; theme title colour
   - CTA "Open" accent pill (black text); › chevron outside pill
   Reuses .hs-pin-msg / .hs-pin-ic / .hs-pin-title / .hs-pin-cta / .hs-pin-chev
   ======================================================================== */
.hs-buddy-wrap.hs-buddy-v230{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 8px!important;
  padding:0 10px!important;
  box-sizing:border-box!important;
  align-self:stretch!important;
}
.hs-buddy-v230 .hs-buddy-msg.hs-pin-msg,
.hs-buddy-v230 button.hs-buddy.hs-pin-msg{
  appearance:none!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  gap:12px!important;
  align-items:center!important;
  width:100%!important;
  min-height:68px!important;
  padding:12px 14px!important;
  box-sizing:border-box!important;
  border-radius:18px!important;
  border:var(--neo-border,2px solid #0a0a0a)!important;
  background:var(--surface,#fff)!important;
  background-image:none!important;
  color:var(--text,#111)!important;
  font:inherit!important;
  text-align:left!important;
  cursor:pointer!important;
  box-shadow:0 6px 20px rgba(0,0,0,.07)!important;
  position:relative!important;
  overflow:hidden!important;
  transition:border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
/* Kill legacy slim/gradient Buddy chrome when v230 card is present */
.hs-buddy-v230 .hs-buddy-slim-inner,
.hs-buddy-v230 .hs-buddy-slim-title,
.hs-buddy-v230 .hs-buddy-slim-cta,
.hs-buddy-v230 .hs-buddy-slim-chev,
.hs-buddy-v230 .hs-buddy-slim-sub{display:none!important}
.hs-buddy-v230 .hs-buddy-msg::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:4px;
  background:linear-gradient(180deg,var(--accent),var(--accent-dark,var(--accent)));
  border-radius:18px 0 0 18px;
  pointer-events:none;
}
.hs-buddy-v230 .hs-buddy-msg:hover{
  border-color:rgba(var(--accent-rgb),.55)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.1)!important;
  transform:translateY(-1px);
}
.hs-buddy-v230 .hs-buddy-msg:active{transform:translateY(0)}
.hs-buddy-v230 .hs-buddy-msg:focus-visible{
  outline:3px solid var(--accent)!important;
  outline-offset:2px!important;
}
.hs-buddy-v230 .hs-pin-ic.hs-buddy-ic,
.hs-buddy-v230 .hs-buddy-ic{
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  background:var(--accent)!important;
  color:#0a0a0a!important;
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.22)!important;
  flex:none!important;
}
.hs-buddy-v230 .hs-buddy-ic svg{
  width:24px!important;
  height:24px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.1!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.hs-buddy-v230 .hs-pin-title{
  display:block!important;
  font-size:16px!important;
  font-weight:900!important;
  color:var(--text,#111)!important;
  line-height:1.25!important;
  letter-spacing:-.01em!important;
  text-transform:none!important;
}
.hs-buddy-v230 .hs-pin-cta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:7px 14px!important;
  border-radius:999px!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  color:#0a0a0a!important;
  background:var(--accent)!important;
  white-space:nowrap!important;
  box-shadow:0 1px 0 rgba(0,0,0,.06)!important;
}
.hs-buddy-v230 .hs-pin-chev{
  font-size:22px!important;
  font-weight:700!important;
  color:var(--muted,#6b7280)!important;
  line-height:1!important;
}
/* Dark: thick white border, light title/chevron; surface not forced white */
html:not([data-theme=light]) .hs-buddy-v230 .hs-buddy-msg.hs-pin-msg,
html[data-theme=dark] .hs-buddy-v230 .hs-buddy-msg.hs-pin-msg,
html.dark .hs-buddy-v230 .hs-buddy-msg.hs-pin-msg,
html.hs-open:not([data-theme=light]) .hs-buddy-v230 .hs-buddy-msg.hs-pin-msg{
  background:var(--surface,#151515)!important;
  background-image:none!important;
  color:var(--text,#f5f5f5)!important;
  border:2px solid #fff!important;
  box-shadow:0 6px 20px rgba(0,0,0,.35)!important;
}
html:not([data-theme=light]) .hs-buddy-v230 .hs-pin-title,
html[data-theme=dark] .hs-buddy-v230 .hs-pin-title,
html.dark .hs-buddy-v230 .hs-pin-title,
html.hs-open:not([data-theme=light]) .hs-buddy-v230 .hs-pin-title{
  color:#fff!important;
}
html:not([data-theme=light]) .hs-buddy-v230 .hs-pin-chev,
html[data-theme=dark] .hs-buddy-v230 .hs-pin-chev,
html.dark .hs-buddy-v230 .hs-pin-chev,
html.hs-open:not([data-theme=light]) .hs-buddy-v230 .hs-pin-chev{
  color:#fff!important;
}
/* Light: white surface, thick black border, black title/chevron */
html[data-theme=light] .hs-buddy-v230 .hs-buddy-msg.hs-pin-msg,
html.hs-open[data-theme=light] .hs-buddy-v230 .hs-buddy-msg.hs-pin-msg{
  background:#fff!important;
  background-image:none!important;
  color:#111!important;
  border:2px solid #0a0a0a!important;
  box-shadow:0 6px 20px rgba(0,0,0,.07)!important;
}
html[data-theme=light] .hs-buddy-v230 .hs-pin-title,
html.hs-open[data-theme=light] .hs-buddy-v230 .hs-pin-title{color:#111!important}
html[data-theme=light] .hs-buddy-v230 .hs-pin-chev,
html.hs-open[data-theme=light] .hs-buddy-v230 .hs-pin-chev{color:#0a0a0a!important}
/* Open pill stays accent + black writing both themes */
.hs-buddy-v230 .hs-pin-cta,
html.hs-open .hs-buddy-v230 .hs-pin-cta,
html[data-theme=light] .hs-buddy-v230 .hs-pin-cta,
html:not([data-theme=light]) .hs-buddy-v230 .hs-pin-cta{
  color:#0a0a0a!important;
  background:var(--accent)!important;
}
@media(max-width:380px){
  .hs-buddy-v230 .hs-pin-cta{padding:6px 11px!important;font-size:12px!important}
  .hs-buddy-v230 .hs-pin-title{font-size:15px!important}
}

/* ========== v231 — Buddy quick-card inside .hs-quick-actions (Josh mockup) ==========
   Full-width stacked v230 chrome is overridden when wrap is in .hs-quick-actions.
   Keep data-hs-buddy wiring; paintCard still replaces .hs-buddy-wrap. */
.hs-buddy-wrap.hs-buddy-v231{
  display:block;
  width:auto;
  max-width:none;
  margin:0;
  padding:0;
  box-sizing:border-box;
  align-self:stretch;
}
.hs-quick-actions > .hs-buddy-wrap.hs-buddy-v231{
  flex:1 1 0;
  min-width:0;
  width:auto!important;
  margin:0!important;
  padding:0!important;
}
.hs-buddy-v231 .hs-buddy-slim-inner,
.hs-buddy-v231 .hs-buddy-slim-title,
.hs-buddy-v231 .hs-buddy-slim-cta,
.hs-buddy-v231 .hs-buddy-slim-chev,
.hs-buddy-v231 .hs-buddy-slim-sub{display:none!important}
.hs-buddy-v231 .hs-pin-chev{display:none!important}

/* ========== v240 — Buddy option row: force white + black title (file loads after home-social) ========== */
html.hs-open .hs-buddy-wrap.hs-buddy-v240,
html.hs-open .hs-quick-actions > .hs-buddy-wrap.hs-buddy-v240{
  margin:0!important;margin-bottom:0!important;padding:0!important;background:transparent!important;
}
html.hs-open .hs-buddy-v240 .hs-buddy-msg,
html.hs-open .hs-buddy-v240 .hs-buddy.hs-pin-msg,
html.hs-open .hs-quick-actions .hs-buddy-v240 .hs-buddy-msg,
html[data-theme=dark] .hs-buddy-v240 .hs-buddy-msg,
html.dark .hs-buddy-v240 .hs-buddy-msg,
html:not([data-theme=light]) .hs-buddy-v240 .hs-buddy-msg,
html.hs-open:not([data-theme=light]) .hs-buddy-v240 .hs-buddy-msg,
html.hs-open[data-theme=dark] .hs-buddy-v240 .hs-buddy-msg{
  -webkit-appearance:none!important;appearance:none!important;
  background:#fff!important;background-color:#fff!important;background-image:none!important;
  color:#0a0a0a!important;-webkit-text-fill-color:#0a0a0a!important;
  border:1px solid #e5e7eb!important;box-shadow:none!important;
  position:relative!important;
}
html.hs-open .hs-buddy-v240 .hs-buddy-msg::before,
html.hs-open:not([data-theme=light]) .hs-buddy-v240 .hs-buddy-msg::before{
  content:""!important;display:block!important;visibility:visible!important;opacity:1!important;
  position:absolute!important;inset:0!important;border-radius:inherit!important;
  background:#fff!important;background-color:#fff!important;z-index:0!important;pointer-events:none!important;
}
html.hs-open .hs-buddy-v240 .hs-buddy-msg > *{position:relative!important;z-index:1!important}
html.hs-open .hs-buddy-v240 .hs-pin-title,
html[data-theme=dark] .hs-buddy-v240 .hs-pin-title,
html.dark .hs-buddy-v240 .hs-pin-title,
html:not([data-theme=light]) .hs-buddy-v240 .hs-pin-title,
html.hs-open:not([data-theme=light]) .hs-buddy-v240 .hs-pin-title{
  color:#0a0a0a!important;-webkit-text-fill-color:#0a0a0a!important;font-weight:800!important;
}
html.hs-open .hs-buddy-v240 .hs-pin-cta,
html:not([data-theme=light]) .hs-buddy-v240 .hs-pin-cta{
  padding:3px 8px!important;font-size:11px!important;font-weight:700!important;
  background:rgba(34,197,94,.12)!important;color:#15803d!important;-webkit-text-fill-color:#15803d!important;
  border:0!important;box-shadow:none!important;
}
html.hs-open .hs-buddy-v240 .hs-buddy-ic{
  background:#22c55e!important;background-color:#22c55e!important;color:#0a0a0a!important;
}

/* ========== v333 Buddy Meet-up swipe (local prototype) ==========
   Full-bleed card stack + action bar. No side, top or bottom gaps on
   phone or laptop. Does not change the home page. Existing .bd-* rules
   above stay for the session dock, home card and profile embed.
*/
html.bd-swipe-on,
html.bd-swipe-on body{
  overflow:hidden!important;
}
html.bd-swipe-on .sh-fab,
html.bd-swipe-on #shFab,
html.bd-swipe-on .tawk-min-container,
html.bd-swipe-on iframe[title="chat widget"]{
  display:none!important;
  pointer-events:none!important;
}
html.bd-swipe-on #app,
html.bd-swipe-on main#app,
html.bd-swipe-on main,
html.bd-swipe-on body #app,
html.bd-swipe-on body main#app{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
html.bd-swipe-on #view-buddy,
html.bd-swipe-on #view-buddy:not([hidden]),
html.bd-swipe-on main>#view-buddy,
html.bd-swipe-on main>#view-buddy:not([hidden]){
  position:fixed!important;
  left:0!important;
  right:0!important;
  top:0!important;
  bottom:var(--tb-h,72px)!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  z-index:40!important;
  background:#0b0b0b!important;
  color:#fff!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  box-sizing:border-box!important;
}
html.bd-swipe-on #view-buddy>.back,
html.bd-swipe-on #view-buddy>button.back{
  position:absolute!important;
  top:max(8px,env(safe-area-inset-top,0px))!important;
  left:8px!important;
  z-index:6!important;
  margin:0!important;
  min-height:40px!important;
  height:40px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  background:rgba(0,0,0,.58)!important;
  color:#fff!important;
  border:0!important;
  font-weight:800!important;
  font-size:13px!important;
  letter-spacing:.01em!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
html.bd-swipe-on #view-buddy>.back:focus-visible{
  outline:2px solid var(--accent,#39ff14)!important;
  outline-offset:2px!important;
}
html.bd-swipe-on #view-buddy>#h-buddy,
html.bd-swipe-on #view-buddy>h2{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  margin:0!important;
  padding:0!important;
}
html.bd-swipe-on #buddyContent,
html.bd-swipe-on #view-buddy #buddyContent,
html.bd-swipe-on #view-buddy .bd-root,
html.bd-swipe-on #view-buddy .bd-root.bd-swipe-root,
html.bd-swipe-on #view-buddy .bd-swipe-root{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  background:#0b0b0b!important;
  color:#fff!important;
  overflow:hidden!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}

/* Deck fills every pixel of the swipe view. No action bar — swipe, mouse-drag, or arrow keys only. */
.bd-sw-deck{
  position:relative!important;
  flex:1 1 auto!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#111!important;
  touch-action:none;
}
.bd-sw-card{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#151515!important;
  color:#fff!important;
  box-shadow:none!important;
  will-change:transform;
  user-select:none;
  -webkit-user-select:none;
}
.bd-sw-card.is-back{transform:scale(.985);opacity:.98}
.bd-sw-card.is-top{z-index:2;cursor:grab;touch-action:none}
.bd-sw-card.is-top:active{cursor:grabbing}
.bd-sw-card.is-anim{transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .28s ease}
@media (prefers-reduced-motion:reduce){
  .bd-sw-card.is-anim{transition:none}
}
.bd-sw-photo,
.bd-sw-photo-fallback,
.bd-sw-face{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center top!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#1a1a1a;
  pointer-events:none;
  overflow:hidden!important;
}
.bd-sw-face{position:relative!important;inset:auto!important;}
.bd-sw-face-ini{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-family:var(--display,inherit)!important;
  font-weight:800!important;
  font-size:clamp(56px,10vw,140px)!important;
  letter-spacing:-.05em!important;
  color:var(--accent,#39ff14)!important;
  -webkit-text-fill-color:var(--accent,#39ff14)!important;
  text-transform:uppercase!important;
  z-index:0!important;
  pointer-events:none!important;
}
.bd-sw-photo img,
.bd-sw-photo-fallback img,
.bd-sw-face img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 28%!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  z-index:1!important;
}
.bd-sw-meta{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  margin:0!important;
  padding:88px 16px 14px!important;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.55) 38%,rgba(0,0,0,.88) 100%)!important;
  color:#fff!important;
  box-sizing:border-box!important;
  pointer-events:none;
}
.bd-sw-name{
  margin:0 0 6px!important;
  font-family:var(--display,inherit)!important;
  font-weight:800!important;
  font-size:clamp(32px,6.5vw,56px)!important;
  line-height:.95!important;
  letter-spacing:-.03em!important;
  text-transform:uppercase!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 2px 14px rgba(0,0,0,.85)!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
.bd-sw-name .bd-sw-tick{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px;height:22px;border-radius:50%;
  background:var(--accent,#39ff14);color:#111;
  font-size:12px;font-weight:900;line-height:1;
  box-shadow:0 0 0 2px #fff;
}
.bd-sw-goal{
  margin:0 0 10px!important;
  font-size:clamp(16px,2.2vw,22px)!important;
  font-weight:800!important;
  color:#fff!important;
  line-height:1.2!important;
}
.bd-sw-chips{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin:0!important;
  padding:0!important;
}
.bd-sw-chips span{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.14)!important;
  border:1px solid rgba(255,255,255,.2)!important;
  color:#fff!important;
  font-size:12.5px!important;
  font-weight:700!important;
  line-height:1.2!important;
}

/* Stamps */
.bd-sw-stamp{
  position:absolute!important;
  top:18%!important;
  padding:8px 14px!important;
  border:4px solid currentColor!important;
  border-radius:8px!important;
  font-family:var(--display,inherit)!important;
  font-weight:900!important;
  font-size:clamp(28px,6vw,52px)!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  line-height:1!important;
  opacity:0;
  pointer-events:none;
  background:rgba(0,0,0,.28);
  z-index:3;
}
.bd-sw-stamp.talk{left:8%;color:#c8ff3d;transform:rotate(-14deg);text-shadow:0 0 18px rgba(200,255,61,.35)}
.bd-sw-stamp.noway{right:8%;color:#ff4d4d;transform:rotate(12deg);text-shadow:0 0 18px rgba(255,77,77,.3)}
.bd-sw-card.show-talk .bd-sw-stamp.talk,
.bd-sw-card[data-stamp=talk] .bd-sw-stamp.talk{opacity:1}
.bd-sw-card.show-noway .bd-sw-stamp.noway,
.bd-sw-card[data-stamp=noway] .bd-sw-stamp.noway{opacity:1}


/* How-to first card: full-bleed illustration + copy, no empty top */
.bd-sw-card.is-howto{background:#0b0b0b!important;}
.bd-sw-howto{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:stretch!important;
  gap:0!important;
  margin:0!important;
  padding:56px 16px 20px!important;
  box-sizing:border-box!important;
  background:
    radial-gradient(ellipse at 50% 32%,rgba(var(--accent-rgb,57,255,20),.26),transparent 58%),
    radial-gradient(ellipse at 12% 42%,rgba(255,77,77,.16),transparent 42%),
    radial-gradient(ellipse at 88% 42%,rgba(200,255,61,.16),transparent 42%),
    #0b0b0b!important;
  color:#fff!important;
  z-index:1!important;
  pointer-events:none!important;
}
.bd-sw-howto-stage{
  flex:1 1 auto!important;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(8px,2vw,28px)!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
}
.bd-sw-howto-side{
  position:absolute!important;
  top:36%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  z-index:4!important;
  width:max-content!important;
  max-width:42%!important;
}
.bd-sw-howto-side.is-left{right:calc(100% - 10%);transform:translateX(-8%);}
.bd-sw-howto-side.is-right{left:calc(100% - 10%);transform:translateX(8%);}
.bd-sw-howto-tag{
  display:inline-block!important;
  padding:8px 10px!important;
  border:3px solid currentColor!important;
  border-radius:8px!important;
  font-family:var(--display,inherit)!important;
  font-weight:900!important;
  font-size:clamp(14px,3.4vw,28px)!important;
  letter-spacing:.08em!important;
  line-height:1!important;
  text-transform:uppercase!important;
  background:rgba(0,0,0,.45)!important;
  color:#fff!important;
  -webkit-text-fill-color:currentColor!important;
}
.bd-sw-howto-tag.noway{
  color:#ff4d4d!important;
  -webkit-text-fill-color:#ff4d4d!important;
  transform:rotate(-12deg);
  animation:bdSwHowToLeftTag 4.8s ease-in-out infinite;
}
.bd-sw-howto-tag.talk{
  color:#c8ff3d!important;
  -webkit-text-fill-color:#c8ff3d!important;
  transform:rotate(12deg);
  animation:bdSwHowToRightTag 4.8s ease-in-out infinite;
}
.bd-sw-howto-dir{
  display:block!important;
  width:clamp(36px,8vw,64px)!important;
  height:auto!important;
  line-height:0!important;
}
.bd-sw-howto-dir svg{display:block;width:100%;height:auto;}
.bd-sw-howto-dir.left{color:#ff6b6b;animation:bdSwHowToLeftArr 4.8s ease-in-out infinite;}
.bd-sw-howto-dir.right{color:#c8ff3d;animation:bdSwHowToRightArr 4.8s ease-in-out infinite;}
.bd-sw-howto-stack{
  position:relative!important;
  flex:0 0 auto!important;
  width:min(64vw,48vh,340px)!important;
  height:min(86vw,64vh,460px)!important;
  margin:0 18%!important; /* room for the hanging stamps */
}
.bd-sw-howto-mini{
  position:absolute!important;
  inset:4% 16% 4% 16%!important;
  border-radius:18px!important;
  background:#171717!important;
  overflow:hidden!important;
  box-shadow:0 16px 36px rgba(0,0,0,.5)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.bd-sw-howto-mini.is-back2{transform:scale(.86) translateY(-16%);opacity:.4;z-index:0;}
.bd-sw-howto-mini.is-back{transform:scale(.93) translateY(-8%);opacity:.7;z-index:1;}
.bd-sw-howto-mini.is-front{
  z-index:2;
  transform-origin:center center;
  animation:bdSwHowToSwipe 4.8s ease-in-out infinite;
}

.bd-sw-howto-mini-photo{
  position:absolute!important;
  inset:0 0 24% 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:
    radial-gradient(ellipse at 50% 30%,rgba(var(--accent-rgb,57,255,20),.28),transparent 62%),
    #111!important;
}
.bd-sw-howto-face{
  width:72%!important;
  height:auto!important;
  fill:var(--accent,#39ff14)!important;
}
.bd-sw-howto-mini-meta{
  position:absolute!important;
  left:0;right:0;bottom:0;
  height:26%!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:8px!important;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.88) 40%,#000 100%)!important;
}
.bd-sw-howto-mini-meta b,
.bd-sw-howto-mini-meta i{
  display:block!important;
  border-radius:4px!important;
  background:rgba(255,255,255,.88)!important;
  height:8px!important;
}
.bd-sw-howto-mini-meta b{width:58%!important;height:10px!important;}
.bd-sw-howto-mini-meta i{width:38%!important;opacity:.55!important;background:rgba(255,255,255,.55)!important;}
.bd-sw-howto-hand{
  position:absolute!important;
  right:4%!important;
  bottom:2%!important;
  width:36%!important;
  z-index:3!important;
  transform-origin:20% 80%;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,.55));
  animation:bdSwHowToHand 4.8s ease-in-out infinite;
}
.bd-sw-howto-hand-svg{
  display:block!important;
  width:100%!important;
  height:auto!important;
  fill:#fff!important;
  stroke:#111!important;
  stroke-width:2!important;
  stroke-linejoin:round!important;
}
.bd-sw-howto-copy{
  flex:0 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  margin:0!important;
  padding:8px 4px 0!important;
  max-width:36em;
}
.bd-sw-howto h2{
  margin:0!important;
  font-family:var(--display,inherit)!important;
  font-weight:800!important;
  font-size:clamp(32px,8vw,72px)!important;
  line-height:.92!important;
  letter-spacing:-.04em!important;
  text-transform:uppercase!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.bd-sw-howto h2 span{color:var(--accent,#39ff14)!important;-webkit-text-fill-color:var(--accent,#39ff14)!important;}
.bd-sw-howto p{
  margin:0!important;
  font-size:clamp(15px,2.2vw,22px)!important;
  font-weight:700!important;
  line-height:1.35!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  max-width:28em;
}

@keyframes bdSwHowToSwipe{
  0%,10%{transform:translateX(0) rotate(0)}
  22%,32%{transform:translateX(-26%) rotate(-11deg)}
  44%,50%{transform:translateX(0) rotate(0)}
  62%,72%{transform:translateX(26%) rotate(11deg)}
  84%,100%{transform:translateX(0) rotate(0)}
}
@keyframes bdSwHowToHand{
  0%,10%{transform:translate(0,0) rotate(0)}
  22%,32%{transform:translate(-70%,-8%) rotate(-16deg)}
  44%,50%{transform:translate(0,0) rotate(0)}
  62%,72%{transform:translate(55%,-8%) rotate(14deg)}
  84%,100%{transform:translate(0,0) rotate(0)}
}
@keyframes bdSwHowToLeftTag{
  0%,10%,44%,100%{opacity:.42;transform:rotate(-12deg) scale(.96)}
  22%,32%{opacity:1;transform:rotate(-12deg) scale(1.08)}
}
@keyframes bdSwHowToRightTag{
  0%,10%,44%,50%,84%,100%{opacity:.42;transform:rotate(12deg) scale(.96)}
  62%,72%{opacity:1;transform:rotate(12deg) scale(1.08)}
}
@keyframes bdSwHowToLeftArr{
  0%,10%,44%,100%{opacity:.35;transform:translateX(0)}
  22%,32%{opacity:1;transform:translateX(-8px)}
}
@keyframes bdSwHowToRightArr{
  0%,10%,44%,50%,84%,100%{opacity:.35;transform:translateX(0)}
  62%,72%{opacity:1;transform:translateX(8px)}
}
@media (prefers-reduced-motion:reduce){
  .bd-sw-howto-mini.is-front,
  .bd-sw-howto-hand,
  .bd-sw-howto-tag.noway,
  .bd-sw-howto-tag.talk,
  .bd-sw-howto-dir.left,
  .bd-sw-howto-dir.right{animation:none!important;opacity:1!important;transform:none!important}
  .bd-sw-howto-tag.noway{transform:rotate(-12deg)!important}
  .bd-sw-howto-tag.talk{transform:rotate(12deg)!important}
}
@media (max-height:560px){
  .bd-sw-howto{padding:48px 20px 16px!important}
  .bd-sw-howto-stack{width:min(28vw,40vh,300px)!important;height:min(38vw,56vh,400px)!important;margin:0 10%!important}
  .bd-sw-howto h2{font-size:clamp(28px,5.5vw,56px)!important}
  .bd-sw-howto p{font-size:clamp(14px,1.8vw,18px)!important}
  .bd-sw-howto-tag{font-size:clamp(13px,2vw,22px)!important;padding:6px 8px!important}
}
@media (min-width:900px){
  .bd-sw-howto{
    flex-direction:row!important;
    align-items:stretch!important;
    gap:clamp(24px,4vw,64px)!important;
    padding:72px 48px 32px!important;
  }
  .bd-sw-howto-stage{
    flex:1.15 1 0%!important;
    order:2!important;
    min-width:0!important;
  }
  .bd-sw-howto-copy{
    flex:1 1 0%!important;
    order:1!important;
    justify-content:center!important;
    padding:0!important;
    max-width:none!important;
  }
  .bd-sw-howto-stack{
    width:min(34vw,52vh,420px)!important;
    height:min(46vw,70vh,560px)!important;
    margin:0 12%!important;
  }
  .bd-sw-howto-side.is-left{right:calc(100% - 8%);}
  .bd-sw-howto-side.is-right{left:calc(100% - 8%);}
  .bd-sw-howto h2{font-size:clamp(48px,6.2vw,96px)!important}
  .bd-sw-howto p{font-size:clamp(18px,1.6vw,26px)!important;max-width:22em;}
}
@media (min-width:1920px){
  .bd-sw-howto{padding:80px 72px 40px!important;gap:80px!important}
  .bd-sw-howto-stack{
    width:min(32vw,58vh,560px)!important;
    height:min(42vw,76vh,740px)!important;
  }
}

/* Top overlay actions on the card — not a header band */
.bd-sw-top{
  position:absolute!important;
  top:max(8px,env(safe-area-inset-top,0px))!important;
  right:8px!important;
  left:108px!important;
  z-index:5!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none;
}
.bd-sw-top .bd-sw-title{
  position:absolute!important;
  left:0;right:0;
  text-align:center!important;
  font-family:var(--display,inherit)!important;
  font-weight:800!important;
  font-size:13px!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  color:#fff!important;
  text-shadow:0 1px 8px rgba(0,0,0,.8);
  pointer-events:none;
  margin:0!important;
}
.bd-sw-top button{
  pointer-events:auto!important;
  margin:0!important;
  min-height:40px!important;
  height:40px!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(0,0,0,.58)!important;
  color:#fff!important;
  font:inherit!important;
  font-weight:800!important;
  font-size:12.5px!important;
  cursor:pointer!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
.bd-sw-top button:focus-visible{outline:2px solid var(--accent,#39ff14);outline-offset:2px}

/* v334: no Undo / No way / Let's talk buttons. Hide the old action bar if it ever appears. */
.bd-sw-bar{display:none!important;height:0!important;min-height:0!important;overflow:hidden!important;border:0!important;padding:0!important;margin:0!important;}
.bd-sw-bar-legacy{
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:1fr 1fr 1fr!important;
  align-items:stretch!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  background:#0b0b0b!important;
  border-top:1px solid rgba(255,255,255,.1)!important;
  box-sizing:border-box!important;
  min-height:76px!important;
}
.bd-sw-bar button{
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  min-height:76px!important;
  height:100%!important;
  padding:10px 8px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  font:inherit!important;
  font-weight:800!important;
  font-size:12px!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  cursor:pointer!important;
  color:#fff!important;
  background:transparent!important;
  box-shadow:none!important;
  line-height:1.15!important;
}
.bd-sw-bar button+button{border-left:1px solid rgba(255,255,255,.1)!important}
.bd-sw-bar button:disabled{opacity:.38;cursor:default}
.bd-sw-bar button:focus-visible{outline:2px solid var(--accent,#39ff14);outline-offset:-4px}
.bd-sw-bar .bd-sw-undo{color:#d7d7d7!important;background:#161616!important}
.bd-sw-bar .bd-sw-no{color:#fff!important;background:#3a0f0f!important}
.bd-sw-bar .bd-sw-yes{color:#111!important;background:var(--accent,#39ff14)!important}
.bd-sw-bar .bd-sw-yes:hover{filter:brightness(.96)}
.bd-sw-bar .bd-sw-no:hover{background:#4a1414!important}
.bd-sw-bar .bd-sw-undo:hover{background:#1d1d1d!important}
.bd-sw-bar button .bd-sw-k{
  display:none;
  font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75;
}
@media (pointer:fine) and (min-width:900px){
  .bd-sw-bar button .bd-sw-k{display:block}
  .bd-sw-bar, .bd-sw-bar button{min-height:84px!important}
}
@media (min-width:1366px){
  .bd-sw-bar, .bd-sw-bar button{min-height:88px!important}
  .bd-sw-bar button{font-size:14px!important}
  .bd-sw-meta{padding:120px 28px 18px!important}
}

/* Empty / gate / end states also fill the deck */
.bd-sw-fill{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:12px!important;
  margin:0!important;
  padding:24px 16px 20px!important;
  background:
    radial-gradient(ellipse at 50% 20%,rgba(var(--accent-rgb,57,255,20),.22),transparent 55%),
    #0b0b0b!important;
  color:#fff!important;
  box-sizing:border-box!important;
}
.bd-sw-fill h2{
  margin:0!important;
  font-family:var(--display,inherit)!important;
  font-weight:800!important;
  font-size:clamp(32px,8vw,64px)!important;
  line-height:.95!important;
  letter-spacing:-.03em!important;
  text-transform:uppercase!important;
  color:#fff!important;
}
.bd-sw-fill h2 span{color:var(--accent,#39ff14)!important}
.bd-sw-fill p{
  margin:0!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.4!important;
  color:#e8e8e8!important;
  max-width:36em;
}
.bd-sw-fill .fr-btn,
.bd-sw-fill button.fr-btn,
.bd-sw-fill [data-go]{
  width:100%!important;
  margin:0!important;
  min-height:56px!important;
  border-radius:0!important;
  font-weight:800!important;
}

/* It's a match — full screen over the deck + bar */
.bd-sw-match{
  position:absolute!important;
  inset:0!important;
  z-index:8!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:14px!important;
  margin:0!important;
  padding:24px 16px 20px!important;
  background:
    radial-gradient(ellipse at 50% 30%,rgba(var(--accent-rgb,57,255,20),.35),transparent 58%),
    rgba(8,8,8,.94)!important;
  color:#fff!important;
  box-sizing:border-box!important;
}
.bd-sw-match h2{
  margin:0!important;
  font-family:var(--display,inherit)!important;
  font-weight:800!important;
  font-size:clamp(40px,9vw,84px)!important;
  line-height:.9!important;
  letter-spacing:-.04em!important;
  text-transform:uppercase!important;
  color:#fff!important;
}
.bd-sw-match h2 span{color:var(--accent,#39ff14)!important}
.bd-sw-match p{margin:0!important;font-size:18px!important;font-weight:700!important;color:#f2f2f2!important}
.bd-sw-faces{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:0!important;
  margin:0 -16px!important;
  height:min(42vh,420px)!important;
  flex:1 1 auto!important;
  min-height:180px!important;
}
.bd-sw-faces .bd-sw-face{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
}
.bd-sw-match-acts{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:0!important;
  margin:0 -16px -20px!important;
  width:calc(100% + 32px)!important;
}
.bd-sw-match-acts button{
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  min-height:76px!important;
  font:inherit!important;
  font-weight:800!important;
  font-size:14px!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  cursor:pointer!important;
}
.bd-sw-match-acts .bd-sw-chat{background:var(--accent,#39ff14)!important;color:#111!important}
.bd-sw-match-acts .bd-sw-keep{background:#1a1a1a!important;color:#fff!important;border-left:1px solid rgba(255,255,255,.1)!important}

/* Buddies list pane also fills, no 12px side padding from older .bd-root rules */
html.bd-swipe-on #view-buddy .bd-swipe-list{
  overflow:auto!important;
  padding:56px 0 0!important;
  background:#fafafa!important;
  color:#111!important;
}
html.bd-swipe-on #view-buddy .bd-swipe-list .bd-hero,
html.bd-swipe-on #view-buddy .bd-swipe-list .bd-card{
  margin:0!important;
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  width:100%!important;
  max-width:none!important;
}

/* More menu still works over the swipe */
html.bd-swipe-on .bd-more{z-index:60}

@media (min-width:1920px){
  .bd-sw-bar, .bd-sw-bar button, .bd-sw-match-acts button{min-height:96px!important}
  .bd-sw-bar button{font-size:16px!important}
  .bd-sw-meta{padding:140px 36px 22px!important}
}

html.bd-swipe-on #view-buddy .bd-swipe-list .bd-sw-top,
html.bd-swipe-on #view-buddy .bd-sw-top-list{
  position:sticky!important;
  top:0!important;
  left:0!important;
  right:0!important;
  background:#0b0b0b!important;
  padding:8px!important;
  pointer-events:auto!important;
  z-index:3!important;
}

/* Hide site chrome that was bleeding through the full-bleed swipe cards */
html.bd-swipe-on .site-foot3,
html.bd-swipe-on footer.site-foot3,
html.bd-swipe-on #view-home,
html.bd-swipe-on .topbar{
  visibility:hidden!important;
  pointer-events:none!important;
}
html.bd-swipe-on #view-buddy,
html.bd-swipe-on #view-buddy:not([hidden]){
  z-index:45!important;
  isolation:isolate!important;
  background:#0b0b0b!important;
}
.bd-sw-title{
  background:rgba(0,0,0,.58)!important;
  border-radius:999px!important;
  padding:10px 14px!important;
  width:max-content!important;
  max-width:calc(100% - 24px)!important;
  margin:0 auto!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
}
.bd-sw-match{
  background:#0b0b0b!important;
}
.bd-sw-match h2{
  color:#fff!important;
  text-shadow:0 2px 12px rgba(0,0,0,.8)!important;
  background:transparent!important;
  position:relative!important;
  z-index:2!important;
}
.bd-sw-match p{
  position:relative!important;
  z-index:2!important;
  color:#fff!important;
}

/* Daily limit — full-screen, no gaps, no action bar */
html.bd-swipe-on #view-buddy .bd-swipe-root.bd-sw-limit,
.bd-swipe-root.bd-sw-limit{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  background:#0b0b0b!important;
}
.bd-sw-limit-deck,
.bd-sw-limit .bd-sw-deck{
  flex:1 1 auto!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  position:relative!important;
}
.bd-sw-limit-fill,
.bd-sw-fill.bd-sw-limit-fill{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:16px!important;
  margin:0!important;
  padding:24px 16px 28px!important;
  background:
    radial-gradient(ellipse at 50% 22%,rgba(var(--accent-rgb,57,255,20),.28),transparent 55%),
    #0b0b0b!important;
  color:#fff!important;
  box-sizing:border-box!important;
}
.bd-sw-limit-fill h2{
  margin:0!important;
  font-family:var(--display,inherit)!important;
  font-weight:800!important;
  font-size:clamp(36px,9vw,84px)!important;
  line-height:.92!important;
  letter-spacing:-.04em!important;
  text-transform:uppercase!important;
  color:#fff!important;
}
.bd-sw-limit-fill h2 span{color:var(--accent,#39ff14)!important}
.bd-sw-limit-fill p{
  margin:0!important;
  font-size:clamp(18px,3vw,28px)!important;
  font-weight:800!important;
  color:#fff!important;
  line-height:1.25!important;
}
@media (min-width:1366px){
  .bd-sw-limit-fill{padding:40px 36px 36px!important}
}

/* Readable swipe headings: site-wide -webkit-text-fill-color can leave
   "PLEASE TRY AGAIN" / "IT'S A" nearly black on a dark fill. */
html.bd-swipe-on #view-buddy .bd-sw-limit-fill h2,
html.bd-swipe-on #view-buddy .bd-sw-fill h2,
html.bd-swipe-on #view-buddy .bd-sw-howto h2,
html.bd-swipe-on #view-buddy .bd-sw-match h2{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 2px 16px rgba(0,0,0,.65)!important;
}
html.bd-swipe-on #view-buddy .bd-sw-limit-fill h2 span,
html.bd-swipe-on #view-buddy .bd-sw-fill h2 span,
html.bd-swipe-on #view-buddy .bd-sw-howto h2 span,
html.bd-swipe-on #view-buddy .bd-sw-match h2 span{
  color:var(--accent,#39ff14)!important;
  -webkit-text-fill-color:var(--accent,#39ff14)!important;
}
html.bd-swipe-on #view-buddy .bd-sw-limit-fill p,
html.bd-swipe-on #view-buddy .bd-sw-fill p,
html.bd-swipe-on #view-buddy .bd-sw-howto p,
html.bd-swipe-on #view-buddy .bd-sw-match p{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html.bd-swipe-on #view-buddy .bd-sw-howto-tag.noway,
html.bd-swipe-on #view-buddy .bd-sw-howto-dir.left{
  color:#ff4d4d!important;
  -webkit-text-fill-color:#ff4d4d!important;
}
html.bd-swipe-on #view-buddy .bd-sw-howto-tag.talk,
html.bd-swipe-on #view-buddy .bd-sw-howto-dir.right{
  color:#c8ff3d!important;
  -webkit-text-fill-color:#c8ff3d!important;
}
html.bd-swipe-on #view-buddy .bd-sw-photo,
html.bd-swipe-on #view-buddy .bd-sw-card img{
  object-position:center 28%!important;
}

/* Readable card names, goals, chips and the Buddy Meet-up title pill.
   Site-wide -webkit-text-fill-color was leaving them nearly black. */
html.bd-swipe-on #view-buddy .bd-sw-meta{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:8px!important;
  padding:96px 16px 16px!important;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.62) 36%,rgba(0,0,0,.92) 100%)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  z-index:2!important;
}
html.bd-swipe-on #view-buddy .bd-sw-name,
html.bd-swipe-on #view-buddy .bd-sw-name *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 2px 10px rgba(0,0,0,.85)!important;
  margin:0!important;
}
html.bd-swipe-on #view-buddy .bd-sw-goal,
html.bd-swipe-on #view-buddy .bd-sw-goal *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 8px rgba(0,0,0,.85)!important;
  margin:0!important;
}
html.bd-swipe-on #view-buddy .bd-sw-chips{
  position:relative!important;
  z-index:1!important;
  margin:2px 0 0!important;
  gap:8px!important;
}
html.bd-swipe-on #view-buddy .bd-sw-chips span{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:rgba(0,0,0,.5)!important;
  border:1px solid rgba(255,255,255,.35)!important;
  padding:7px 11px!important;
}
html.bd-swipe-on #view-buddy .bd-sw-name .bd-sw-tick{
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  text-shadow:none!important;
  flex:0 0 auto!important;
  background:var(--accent,#39ff14)!important;
}
html.bd-swipe-on #view-buddy .bd-sw-top{
  left:0!important;
  right:0!important;
  top:max(8px,env(safe-area-inset-top,0px))!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:8px 10px!important;
  padding:0 8px!important;
  pointer-events:none!important;
  z-index:6!important;
}
html.bd-swipe-on #view-buddy .bd-sw-top-actions{
  grid-column:2!important;
  grid-row:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  pointer-events:none!important;
  padding-left:8px!important;
}
html.bd-swipe-on #view-buddy .bd-sw-top-actions button{
  pointer-events:auto!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html.bd-swipe-on #view-buddy .bd-sw-title,
html.bd-swipe-on #view-buddy .bd-sw-top .bd-sw-title{
  grid-column:1 / -1!important;
  grid-row:2!important;
  position:static!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:auto!important;
  max-width:min(100%, 360px)!important;
  justify-self:center!important;
  margin:0!important;
  padding:8px 16px!important;
  border-radius:999px!important;
  background:rgba(0,0,0,.72)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:none!important;
  font-size:13px!important;
  letter-spacing:.08em!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-align:center!important;
  pointer-events:none!important;
}
@media (min-width:700px){
  html.bd-swipe-on #view-buddy .bd-sw-title,
  html.bd-swipe-on #view-buddy .bd-sw-top .bd-sw-title{
    font-size:14px!important;
    letter-spacing:.1em!important;
    padding:9px 18px!important;
  }
  html.bd-swipe-on #view-buddy .bd-sw-meta{
    padding:120px 28px 20px!important;
  }
}

/* v335: the buddies list is also .bd-root.bd-swipe-root, and that pair's
   overflow:hidden beat the later .bd-swipe-list{overflow:auto} rule, so the
   Your buddies page (and the body, locked by html.bd-swipe-on) could not
   scroll. Make the list the scrollport. Meet-up cards stay unscrollable. */
html.bd-swipe-on #view-buddy .bd-root.bd-swipe-root.bd-swipe-list,
html.bd-swipe-on #view-buddy #buddyContent > .bd-swipe-list,
html.bd-swipe-on #view-buddy .bd-swipe-list{
  overflow:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y!important;
  height:100%!important;
  min-height:0!important;
}

/* v335: signed-out sign-in prompt is a full-bleed card after the how-to */
html.bd-swipe-on #view-buddy .bd-sw-card.is-signin{
  background:#0b0b0b!important;
  cursor:default!important;
  touch-action:auto!important;
}
html.bd-swipe-on #view-buddy .bd-sw-card.is-signin .bd-sw-signin{
  justify-content:flex-end!important;
}


/* v336: Your buddies list is a block scrollport, not a shrinking flex column.
   Flex children were compressing so touch overscrolled a few pixels at the
   Fitness support chips and snapped back. Also keep paintView from fighting
   touch by leaving overflow-y on this pane only. */
html.bd-swipe-on #view-buddy .bd-root.bd-swipe-root.bd-swipe-list,
html.bd-swipe-on #view-buddy #buddyContent > .bd-swipe-list,
html.bd-swipe-on #view-buddy .bd-swipe-list{
  display:block!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overflow-y:scroll!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  touch-action:pan-y!important;
  height:100%!important;
  max-height:100%!important;
  min-height:0!important;
  padding:56px 0 28px!important;
}
html.bd-swipe-on #view-buddy .bd-swipe-list > *{
  flex:none!important;
  flex-shrink:0!important;
  min-height:0!important;
  min-height:auto;
}
html.bd-swipe-on #view-buddy .bd-swipe-list .bd-feed{
  max-height:160px;
  overscroll-behavior:contain;
}

/* v336: date-of-birth confirm card (neutral wording, no age/rules) */
html.bd-swipe-on #view-buddy .bd-sw-card.is-dob,
html.bd-swipe-on #view-buddy .bd-sw-card.is-dob.is-top{
  background:#0b0b0b!important;
  cursor:default!important;
  touch-action:auto!important;
  pointer-events:auto!important;
}
html.bd-swipe-on #view-buddy .bd-sw-card.is-dob .bd-sw-dob{
  justify-content:flex-end!important;
  padding:28px 22px 36px!important;
  gap:14px!important;
  pointer-events:auto!important;
}
html.bd-swipe-on #view-buddy .bd-sw-dob-form{
  display:flex;
  flex-direction:column;
  gap:12px;
  width:100%;
  max-width:360px;
  pointer-events:auto!important;
  touch-action:auto!important;
  z-index:6;
  position:relative;
}
html.bd-swipe-on #view-buddy .bd-sw-dob-form input,
html.bd-swipe-on #view-buddy .bd-sw-dob-form button,
html.bd-swipe-on #view-buddy .bd-sw-dob-form label{
  pointer-events:auto!important;
  touch-action:manipulation!important;
}
html.bd-swipe-on #view-buddy .bd-sw-dob-form input[type=date]{
  width:100%;
  min-height:48px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:#151515;
  color:#fff;
  font:inherit;
  font-weight:700;
  padding:10px 14px;
  color-scheme:dark;
}
html.bd-swipe-on #view-buddy .bd-sw-dob-form input[type=date]::-webkit-datetime-edit,
html.bd-swipe-on #view-buddy .bd-sw-dob-form input[type=date]::-webkit-datetime-edit-fields-wrapper,
html.bd-swipe-on #view-buddy .bd-sw-dob-form input[type=date]::-webkit-datetime-edit-text,
html.bd-swipe-on #view-buddy .bd-sw-dob-form input[type=date]::-webkit-datetime-edit-month-field,
html.bd-swipe-on #view-buddy .bd-sw-dob-form input[type=date]::-webkit-datetime-edit-day-field,
html.bd-swipe-on #view-buddy .bd-sw-dob-form input[type=date]::-webkit-datetime-edit-year-field{
  color:#fff;
}
html.bd-swipe-on #view-buddy .bd-sw-kind{
  margin:0 0 6px!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:rgba(255,255,255,.72)!important;
}
html.bd-swipe-on #view-buddy .bd-sw-user{
  margin:4px 0 0!important;
  font-size:14px!important;
  font-weight:700!important;
  color:rgba(255,255,255,.82)!important;
}
