/* SHEAT Sticky Register v1.0.8 – gold + rounding on the open side in screen space */
#sheat-sticky-register{
  --sheat-deep:#4A0E6B;
  --sheat-mid:#7B2D8B;
  --sheat-gold:#C9A84C;
  --sheat-gold-soft:#e8d48a;
  --sheat-cream:#faf5ff;
  --sheat-text:#f7f4ee;
  --sheat-sans:"Source Sans 3",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  box-sizing:border-box;
  position:fixed;
  z-index:9990;
  font-family:var(--sheat-sans);
  line-height:1.3;
  color:var(--sheat-text);
  pointer-events:none;
  background:linear-gradient(180deg,var(--sheat-deep) 0%,#5c1a78 52%,var(--sheat-mid) 100%);
}
#sheat-sticky-register *,
#sheat-sticky-register *::before,
#sheat-sticky-register *::after{box-sizing:border-box}
#sheat-sticky-register.is-hidden{display:none!important}

#sheat-sticky-register .sheat-sticky-register__link{
  pointer-events:auto;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  text-decoration:none;
  color:var(--sheat-text);
  background:transparent;
  border:0;
  box-shadow:none;
  font-family:var(--sheat-sans);
  font-weight:600;
  letter-spacing:.06em;
  transition:color .2s ease;
}
#sheat-sticky-register .sheat-sticky-register__link:hover,
#sheat-sticky-register .sheat-sticky-register__link:focus{
  color:var(--sheat-cream);
  text-decoration:none;
}
#sheat-sticky-register .sheat-sticky-register__link:focus-visible{
  outline:2px solid var(--sheat-gold);
  outline-offset:3px;
}

#sheat-sticky-register .sheat-sticky-register__text{display:block;position:relative;z-index:1}

/* Mobile: tab on the RIGHT of the screen.
   User asked for gold + rounding on the opposite/open side from the last preview,
   which showed them on the left. So they go on the RIGHT (against the screen) here? 
   NO — latest+prior: flat on screen edge. Prior 1.0.5 already had gold on left (open).
   User said they want the opposite of that preview = gold on the right.
   Following the most recent "I want opposite border". */
#sheat-sticky-register{
  right:0;
  left:auto;
  top:40%;
  bottom:auto;
  transform:translateY(-50%);
  /* Flat against the right screen edge; gold + rounding on the open left side */
  border-radius:10px 0 0 10px;
  box-shadow:
    inset 3px 0 0 var(--sheat-gold),
    0 6px 22px rgba(74,14,107,.42),
    0 2px 6px rgba(0,0,0,.18);
}
#sheat-sticky-register:hover{
  box-shadow:
    inset 3px 0 0 var(--sheat-gold-soft),
    0 8px 26px rgba(74,14,107,.5),
    0 2px 8px rgba(0,0,0,.2);
  filter:brightness(1.04);
}
#sheat-sticky-register .sheat-sticky-register__link{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  padding:18px 11px;
  border-radius:0;
  max-width:none;
  font-size:13px;
}
#sheat-sticky-register .sheat-sticky-register__text--desktop{display:none}
#sheat-sticky-register .sheat-sticky-register__text--mobile{display:block}

/* Desktop: tab on the LEFT of the screen.
   Last preview had gold on the right; opposite = gold on the LEFT. */
@media (min-width:768px){
  #sheat-sticky-register{
    left:0;
    right:auto;
    top:50%;
    bottom:auto;
    transform:translateY(-50%);
    /* Flat against the left screen edge; gold + rounding on the open right side */
    border-radius:0 10px 10px 0;
    box-shadow:
      inset -3px 0 0 var(--sheat-gold),
      0 6px 22px rgba(74,14,107,.42),
      0 2px 6px rgba(0,0,0,.18);
  }
  #sheat-sticky-register:hover{
    box-shadow:
      inset -3px 0 0 var(--sheat-gold-soft),
      0 8px 26px rgba(74,14,107,.5),
      0 2px 8px rgba(0,0,0,.2);
  }
  #sheat-sticky-register .sheat-sticky-register__link{
    writing-mode:vertical-rl;
    transform:rotate(180deg);
    padding:20px 13px;
    border-radius:0;
    max-width:none;
    font-size:14px;
  }
  #sheat-sticky-register .sheat-sticky-register__text--desktop{display:block}
  #sheat-sticky-register .sheat-sticky-register__text--mobile{display:none}
}

@keyframes sheat-sticky-glow{
  0%{box-shadow:inset -3px 0 0 var(--sheat-gold),0 6px 22px rgba(74,14,107,.42),0 2px 6px rgba(0,0,0,.18)}
  45%{box-shadow:inset -3px 0 0 var(--sheat-gold-soft),0 6px 24px rgba(74,14,107,.5),0 0 0 5px rgba(201,168,76,.14)}
  100%{box-shadow:inset -3px 0 0 var(--sheat-gold),0 6px 22px rgba(74,14,107,.42),0 2px 6px rgba(0,0,0,.18)}
}
@keyframes sheat-sticky-glow-mobile{
  0%{box-shadow:inset 3px 0 0 var(--sheat-gold),0 6px 22px rgba(74,14,107,.42),0 2px 6px rgba(0,0,0,.18)}
  45%{box-shadow:inset 3px 0 0 var(--sheat-gold-soft),0 6px 24px rgba(74,14,107,.5),0 0 0 5px rgba(201,168,76,.14)}
  100%{box-shadow:inset 3px 0 0 var(--sheat-gold),0 6px 22px rgba(74,14,107,.42),0 2px 6px rgba(0,0,0,.18)}
}
#sheat-sticky-register{animation:sheat-sticky-glow-mobile 1.6s ease-out 1}
@media (min-width:768px){
  #sheat-sticky-register{animation:sheat-sticky-glow 1.6s ease-out 1}
}
@media (prefers-reduced-motion:reduce){
  #sheat-sticky-register{animation:none}
}
