.cg-global-sticky,
.cg-global-toast{
  font-family:inherit;
}

.cg-global-sticky{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:900;
  display:none;
  padding:12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  background:#081424;
  border-top:1px solid rgba(255,255,255,.1);
  box-shadow:0 -8px 30px rgba(2,6,23,.32);
  transform:translateY(100%);
  transition:transform .35s cubic-bezier(.4,0,.2,1);
}

.cg-global-sticky.is-visible{
  transform:translateY(0);
}

.cg-global-sticky__inner{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.cg-global-sticky__copy{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  color:#fff;
  font-size:.94rem;
  line-height:1.35;
}

.cg-global-sticky__copy strong{
  font-weight:800;
}

.cg-global-sticky__sub{
  color:rgba(255,255,255,.58);
  font-size:.9rem;
  white-space:nowrap;
}

.cg-global-sticky__dot{
  width:8px;
  height:8px;
  min-width:8px;
  border-radius:999px;
  background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,.16);
}

.cg-global-sticky__actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.cg-global-sticky__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:.98rem;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.cg-global-sticky__btn:hover{
  transform:translateY(-1px);
}

.cg-global-sticky__btn--primary{
  background:linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color:#fff;
  box-shadow:0 10px 24px rgba(34,197,94,.2);
}

.cg-global-sticky__btn--ghost{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
  color:#fff;
}

.cg-global-toast{
  position:fixed;
  left:24px;
  bottom:92px;
  z-index:940;
  display:flex;
  align-items:center;
  gap:12px;
  max-width:min(320px, calc(100vw - 48px));
  padding:14px 18px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.96);
  box-shadow:0 16px 40px rgba(15,23,42,.16);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  pointer-events:none;
  opacity:0;
  transform:translateY(16px) scale(.96);
  transition:opacity .4s ease, transform .4s ease;
}

.cg-global-toast.is-visible{
  opacity:1;
  transform:none;
}

.cg-global-toast__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  min-width:40px;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(99,102,241,.14), rgba(34,197,94,.08));
  font-size:1.2rem;
}

.cg-global-toast__text{
  min-width:0;
  color:#1e293b;
  line-height:1.35;
}

.cg-global-toast__text strong{
  display:block;
  font-size:1.05rem;
  font-weight:800;
}

.cg-global-toast__text span{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:.9rem;
}

@media (min-width:768px){
  .cg-global-sticky{
    display:block;
  }
}

@media (max-width:900px){
  .cg-global-sticky__sub{
    display:none;
  }
}

@media (max-width:767px){
  .cg-global-toast{
    display:none;
  }
}
