/* ---- Page background: one fixed, full-viewport layer ------------------------------------------
   The gradient used to live on <body>, so it only covered the body box and scrolled away (or vanished
   during overscroll / mobile toolbar changes / lean mode). It now sits on a fixed layer behind everything. */
html{background:var(--bg)}
html::before{
  content:"";
  position:fixed;
  top:0;left:0;right:0;
  height:100vh;height:100lvh;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 8% -6%,rgba(67,67,67,.26),transparent 62%),
    radial-gradient(760px 480px at 96% 4%,rgba(52,52,52,.2),transparent 60%),
    var(--bg);
  transform:translateZ(0);
}
body{background:transparent!important;background-attachment:scroll!important}

/* ---- Shop: always reachable (signed out, signed in, desktop and phone) ---------------------- */
.shop-fab{
  position:fixed;
  right:max(16px,env(safe-area-inset-right));
  bottom:max(16px,env(safe-area-inset-bottom));
  z-index:90;
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 18px;
  border:1px solid rgba(175,175,175,.45);
  border-radius:999px;
  background:linear-gradient(135deg,#717171 0%,#6a6a6a 70%,#616161 125%);
  color:#fff;
  font:700 .9rem/1 var(--font);
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow:0 14px 34px rgba(85,85,85,.45),inset 0 1px 0 rgba(255,255,255,.22);
  transition:transform .2s ease,box-shadow .2s ease;
}
.shop-fab:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(85,85,85,.55),inset 0 1px 0 rgba(255,255,255,.26)}
.shop-fab:focus-visible{outline:2px solid #fff;outline-offset:3px}
.shop-fab .ga-icon-svg{width:18px;height:18px}
body.shop-open .shop-fab,body.mobile-tabs-open .shop-fab{display:none}

/* On phones the header Shop button stays hidden (the top bar is full); the floating Shop button is the entry point. */
@media (max-width:560px){
  .shop-fab{padding:12px 16px}
}
