.back-to-top {
  position: fixed; right: 22px; bottom: 82px; z-index: 1200;
  display: flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 9px 14px 9px 10px; border: 1px solid #939b9f;
  background: linear-gradient(135deg, #353b3d, #151719 55%, #292e30);
  color: #eeeae0; box-shadow: 4px 4px 0 #0009;
  font: 700 10px/1.25 var(--font); letter-spacing: .12em; text-align: left;
  cursor: pointer; transition: border-color .2s, color .2s, transform .2s;
}
.back-to-top[hidden] { display: none; }
.back-to-top::after { content: ''; position: absolute; top: 4px; right: 4px; width: 3px; height: 3px; background: #959b9f; }
.back-to-top svg { width: 23px; height: 25px; stroke: currentColor; stroke-width: 2; }
.back-to-top:focus-visible { outline: 2px solid #d5ff3f; outline-offset: 4px; }
@media (hover: hover) {
  .back-to-top:hover { color: #d5ff3f; border-color: #d5ff3f; transform: translateY(-3px); }
}
.back-to-top:active { transform: translateY(1px); }
@media (max-width: 720px) {
  .back-to-top { right: 12px; bottom: 74px; min-height: 44px; padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }
