/* Story v2 — everything new uses the story- prefix. The old #buddy stays as the fallback. */
.has-story #buddy{display:none}
.story{--su:1px;position:absolute;left:0;top:0;width:calc(160*var(--su));height:calc(160*var(--su));z-index:2;pointer-events:none;-webkit-user-select:none;user-select:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent;opacity:0;transition:opacity .35s;will-change:transform}
.story.is-on{opacity:1}
/* the svg box is larger than his 160-unit body box (176 left/right, 128 above, 320 below) so nothing he draws depends on
   svg overflow; the viewBox in story.js (30-rig.js, BOX) uses the same numbers, so he sits exactly where he did */
.story-svg{position:absolute;left:calc(-176*var(--su));top:calc(-128*var(--su));width:calc(512*var(--su));height:calc(608*var(--su));max-width:none;overflow:visible;display:block}
.story-body{pointer-events:auto;cursor:grab;touch-action:pan-y}
.story.is-drag .story-body{cursor:grabbing}
.story-glow{position:absolute;left:calc(60*var(--su));top:calc(62*var(--su));width:calc(34*var(--su));height:calc(42*var(--su));border-radius:calc(7*var(--su));box-shadow:0 calc(20*var(--su)) calc(30*var(--su)) calc(44*var(--su)) rgba(21,179,107,.35);will-change:transform,opacity}
.story-shadow{position:absolute;left:calc(14*var(--su));top:calc(162*var(--su));width:calc(126*var(--su));height:calc(28*var(--su));border-radius:50%;background:radial-gradient(closest-side,rgba(11,12,16,.22) 0,rgba(11,12,16,.17) 50%,rgba(11,12,16,0) 100%);will-change:transform,opacity}
.story-bubble{position:absolute;left:0;top:0;box-sizing:border-box;width:max-content;max-width:260px;background:#fff;color:#0b0c10;border-radius:18px;padding:12px 16px;font-size:.95rem;line-height:1.35;text-align:center;box-shadow:0 10px 30px -18px rgba(20,24,40,.35),0 0 0 1px rgba(11,12,16,.08);pointer-events:none;opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s .25s;will-change:transform,opacity}
.story-bubble.is-on{opacity:1;visibility:visible;transition:opacity .25s}
.story-bubble__t{display:block;position:relative;z-index:1}
.story-bubble__tail{position:absolute;left:0;top:0;width:14px;height:14px;margin:-7px 0 0 -7px;background:#fff;transform:rotate(45deg);box-shadow:1px 1px 0 rgba(11,12,16,.08)}
.story-bubble[data-side="left"] .story-bubble__tail{box-shadow:1px -1px 0 rgba(11,12,16,.08)}
.story-bubble[data-side="right"] .story-bubble__tail{box-shadow:-1px 1px 0 rgba(11,12,16,.08)}
/* second home: the free space under "Anything else? Ask us" */
.has-story #faq .faq__grid>div:first-child{position:relative;align-self:stretch}
.story-zone{position:absolute;left:0;right:0;bottom:0;top:240px;pointer-events:none}
@media(max-width:959.98px){
  .story{--su:.8125px}
  .story-zone{position:relative;top:auto!important;height:170px}
  .story-bubble{max-width:230px;font-size:.9rem;padding:10px 14px}
}
@media(prefers-reduced-motion:reduce){.story,.story-bubble{transition:opacity .4s}}
