.howie3d-wrap{position:relative;width:min(100%,var(--howie-width,260px));aspect-ratio:4/5;margin:0 auto;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.howie3d-wrap canvas{width:100%;height:100%;display:block}
.howie3d-fallback{display:none;width:100%;height:100%;object-fit:contain}
.howie3d-wrap.no3d canvas{display:none}
.howie3d-wrap.no3d .howie3d-fallback{display:block}
.howie-floating{position:fixed!important;bottom:calc(var(--howie-y,24px) + env(safe-area-inset-bottom,0px));z-index:9997;margin:0}
.howie-floating.howie-bottom-right{right:var(--howie-x,24px)}
.howie-floating.howie-bottom-left{left:var(--howie-x,24px)}
@media(max-width:767px){.howie3d-wrap{width:min(100%,var(--howie-mobile-width,190px))}}

/* ---------- speech bubble ---------- */
.howie-bubble{
  --howie-bubble-shift:0px;
  position:absolute;bottom:86%;z-index:2;box-sizing:border-box;
  width:max-content;max-width:min(250px,calc(100vw - 32px));
  padding:12px 16px;border-radius:18px;
  background:#ffffff;color:#0a1f44;
  font:600 15px/1.35 Outfit,"Open Sans",system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:0;text-align:left;
  box-shadow:0 10px 28px rgba(10,31,68,.22),0 0 0 1px rgba(10,31,68,.06);
  cursor:default;opacity:0;pointer-events:none;
  transition:opacity .2s ease,transform .25s cubic-bezier(.2,1.4,.4,1);
}
.howie-bubble[hidden]{display:none!important}
.howie-bubble.is-on{opacity:1;pointer-events:auto}
.howie-bubble__text{display:block;overflow-wrap:anywhere}
.howie-bubble::after{content:"";position:absolute;bottom:-7px;width:16px;height:16px;background:inherit;border-radius:3px;transform:rotate(45deg);box-shadow:3px 3px 6px rgba(10,31,68,.08)}
/* Above his head, centered (shortcode placement) */
.howie-bubble--center{left:50%;transform:translateX(calc(-50% + var(--howie-bubble-shift))) scale(.85);transform-origin:50% 100%}
.howie-bubble--center.is-on{transform:translateX(calc(-50% + var(--howie-bubble-shift))) scale(1)}
.howie-bubble--center::after{left:calc(50% - 8px - var(--howie-bubble-shift))}
/* Floating bottom-right: bubble opens toward the page, tail on the right */
.howie-bubble--left{right:38%;transform:translateX(var(--howie-bubble-shift)) scale(.85);transform-origin:100% 100%;border-bottom-right-radius:6px}
.howie-bubble--left.is-on{transform:translateX(var(--howie-bubble-shift)) scale(1)}
.howie-bubble--left::after{right:18px}
/* Floating bottom-left: tail on the left */
.howie-bubble--right{left:38%;transform:translateX(var(--howie-bubble-shift)) scale(.85);transform-origin:0 100%;border-bottom-left-radius:6px}
.howie-bubble--right.is-on{transform:translateX(var(--howie-bubble-shift)) scale(1)}
.howie-bubble--right::after{left:18px}
.howie-bubble__actions{margin-top:9px}
.howie-bubble__actions[hidden]{display:none}
.howie-bubble .howie-bubble__cta{
  display:inline-flex;align-items:center;padding:8px 15px;border:0;border-radius:999px;
  background:#29a2de;color:#ffffff!important;text-decoration:none!important;box-shadow:none;
  font-family:inherit;font-size:13px;font-weight:700;line-height:1.2;cursor:pointer;
}
.howie-bubble .howie-bubble__cta:hover{background:#0a1f44;color:#ffffff!important}
.howie-bubble .howie-bubble__cta:focus-visible{outline:2px solid #0a1f44;outline-offset:2px}
.howie-bubble.has-close{padding-right:32px}
.howie-bubble__close{
  position:absolute;top:5px;right:6px;width:24px;height:24px;padding:0;border:0;border-radius:50%;
  background:transparent;color:#5b6b82;font:400 18px/24px system-ui,sans-serif;text-align:center;cursor:pointer;
}
.howie-bubble__close[hidden]{display:none}
.howie-bubble__close:hover{background:#eef3f8;color:#0a1f44}
.howie-bubble__close:focus-visible{outline:2px solid #29a2de;outline-offset:1px}
@media(max-width:767px){
  .howie-bubble{font-size:13.5px;padding:10px 13px;max-width:min(200px,calc(100vw - 32px));border-radius:15px}
}
@media(prefers-reduced-motion:reduce){
  .howie-bubble,.howie-bubble.is-on{transition:opacity .2s ease}
  .howie-bubble--center,.howie-bubble--center.is-on{transform:translateX(calc(-50% + var(--howie-bubble-shift)))}
  .howie-bubble--left,.howie-bubble--left.is-on,.howie-bubble--right,.howie-bubble--right.is-on{transform:translateX(var(--howie-bubble-shift))}
}
.howie3d-wrap.howie-hidden{display:none!important}
/* ---------- hide / show Howie ---------- */
.howie-hide{
  position:absolute;top:2%;right:4%;z-index:3;width:28px;height:28px;padding:0;border:0;border-radius:50%;
  background:rgba(10,31,68,.78);color:#ffffff;font:400 18px/28px system-ui,-apple-system,"Segoe UI",sans-serif;text-align:center;
  cursor:pointer;opacity:0;transition:opacity .2s ease;
}
.howie3d-wrap:hover .howie-hide,.howie3d-wrap:focus-within .howie-hide,.howie-hide:focus-visible{opacity:1}
.howie-hide:hover{background:#0a1f44}
.howie-hide:focus-visible{outline:2px solid #29a2de;outline-offset:2px}
@media(hover:none){.howie-hide{opacity:.8}}
.howie-restore{
  display:flex;align-items:center;width:max-content;margin:0 auto;padding:9px 16px;border:0;border-radius:999px;
  background:#0a1f44;color:#ffffff;font-family:Outfit,"Open Sans",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:13px;font-weight:700;line-height:1.2;
  box-shadow:0 8px 22px rgba(10,31,68,.25);cursor:pointer;
}
.howie-restore[hidden]{display:none!important}
.howie-restore:hover{background:#29a2de}
.howie-restore:focus-visible{outline:2px solid #29a2de;outline-offset:2px}
.howie-restore.howie-floating{position:fixed;bottom:calc(var(--howie-y,24px) + env(safe-area-inset-bottom,0px));z-index:9997;margin:0}
.howie-restore.howie-bottom-right{right:var(--howie-x,24px)}
.howie-restore.howie-bottom-left{left:var(--howie-x,24px)}
@media(prefers-reduced-motion:reduce){.howie-hide{transition:none}}
