.gi-back-to-top{
  position:fixed;
  z-index:79;
  right:max(24px,env(safe-area-inset-right));
  bottom:94px;
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  padding:0;
  border:1px solid #7abaff66;
  border-radius:50%;
  background:#0a365a;
  box-shadow:0 12px 35px #00182f4d;
  color:#fff;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(12px);
  transition:opacity .24s ease,transform .24s ease,visibility .24s;
}
.gi-back-to-top.visible{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.gi-back-to-top:hover{background:#125287;transform:translateY(-2px)}
.gi-back-to-top:focus-visible{outline:3px solid #81bdff;outline-offset:3px}
.gi-back-to-top svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:has(.gi-guide-header) .gi-back-to-top{background:#132345;border-color:#6e95ba;color:#dbeeff}
@media(max-width:760px),(max-width:1100px) and (pointer:coarse){
  .gi-back-to-top{right:max(14px,env(safe-area-inset-right));bottom:calc(74px + env(safe-area-inset-bottom));width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){.gi-back-to-top{transition:none}}
