/* A single accessible return-to-top control across Astro and Cloudflare HTML. */
#aerodue-to-top{
  position:fixed;z-index:80;
  inset-inline-end:clamp(16px,2.5vw,36px);
  bottom:max(24px,calc(16px + env(safe-area-inset-bottom,0px)));
  display:grid;place-items:center;
  width:54px;height:54px;padding:0;
  border:1px solid #9dd6e4;border-radius:50%;
  background:linear-gradient(145deg,#086589,#083b5a);
  color:#fff;box-shadow:0 9px 26px rgba(7,42,67,.3);
  font:800 28px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;touch-action:manipulation;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}
#aerodue-to-top[hidden]{display:none!important}
#aerodue-to-top:hover{transform:translateY(-3px);background:#075b80;box-shadow:0 13px 30px rgba(7,42,67,.36)}
#aerodue-to-top:focus-visible{outline:3px solid #50cfe5;outline-offset:4px}
#aerodue-to-top span{display:block;pointer-events:none}
@media(max-width:767px){
  #aerodue-to-top{width:50px;height:50px;font-size:26px;inset-inline-end:16px;
    bottom:max(88px,calc(76px + env(safe-area-inset-bottom,0px)))}
}
@media(prefers-reduced-motion:reduce){
  #aerodue-to-top{transition:none}
  #aerodue-to-top:hover{transform:none}
}
