#toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgb(247, 242, 236);
  color: #000;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.night-theme #toTop {
  background: rgb(255, 253, 251);
}

#toTop.show {
  opacity: 1;
  pointer-events: auto;
}

#toTop:hover {
  transform: translateY(-2px);
}

#toTop:active {
  transform: translateY(1px);
}
