.stt-root{
  font-family:Inter,Arial,sans-serif;
  box-sizing:border-box;
  --stt-size:48px;
  --stt-gap:24px;
  --stt-bg:#1f2937;
  --stt-color:#ffffff;
  --stt-progress:#3f8ef7;
  --stt-shadow:rgba(0,0,0,.25);
}
.stt-root *,.stt-root *::before,.stt-root *::after{box-sizing:border-box}

/* Тема light */
.stt-light{--stt-bg:#ffffff;--stt-color:#1f2937;--stt-progress:#3f8ef7;--stt-shadow:rgba(0,0,0,.18)}
/* Тема dark */
.stt-dark{--stt-bg:#111827;--stt-color:#ffffff;--stt-progress:#4ade80;--stt-shadow:rgba(0,0,0,.4)}
/* Тема green */
.stt-green{--stt-bg:#1f6e4b;--stt-color:#ffffff;--stt-progress:#4ade80;--stt-shadow:rgba(31,110,75,.4)}

.stt-progress{
  position:fixed;
  top:0;left:0;
  height:4px;
  width:0;
  background:var(--stt-progress);
  z-index:9998;
  transition:width .1s linear;
  box-shadow:0 0 8px var(--stt-progress);
  opacity:0;
}
.stt-has-progress .stt-progress{opacity:1}

.stt-btn{
  position:fixed;
  display:flex;align-items:center;justify-content:center;
  width:var(--stt-size);height:var(--stt-size);
  border:none;border-radius:12px;
  background:var(--stt-bg);color:var(--stt-color);
  font-size:16px;line-height:1;
  cursor:pointer;
  box-shadow:0 6px 20px var(--stt-shadow);
  opacity:0;visibility:hidden;
  transform:translateY(16px);
  transition:opacity .25s,transform .25s,visibility .25s;
  z-index:9999;
}
.stt-visible .stt-btn{opacity:1;visibility:visible;transform:translateY(0)}
.stt-btn:hover{transform:translateY(0) scale(1.05)}

/* позиции */
.stt-right .stt-btn{right:var(--stt-gap);bottom:var(--stt-gap)}
.stt-left .stt-btn{left:var(--stt-gap);bottom:var(--stt-gap)}

@media (max-width:520px){
  .stt-right .stt-btn{right:14px;bottom:14px}
  .stt-left .stt-btn{left:14px;bottom:14px}
}