/* Lakswap scrollbars for the website: the same slim pill as Lakswap UI in the apps (no arrow buttons), here in the
   Lakswap ribbon colours. Chrome, Edge and Safari draw it from ::-webkit-scrollbar; Firefox only has the standard
   properties (one colour). Phones keep their own overlay scrollbars. Linked from every page with ?v=: change the
   version whenever this file changes (browsers keep /assets/ files for 7 days). */
:root {
  --sb-thumb: linear-gradient(180deg, #08b4f0, #1d4ed8 45%, #7c3aed 80%, #c056f2);
  --sb-thumb-sideways: linear-gradient(90deg, #08b4f0, #1d4ed8 45%, #7c3aed 80%, #c056f2);
  --sb-plain: rgba(29, 78, 216, 0.55);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  background: transparent;
}

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar-thumb {
  background: var(--sb-thumb) padding-box;
  border: 3px solid transparent;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:horizontal {
  background: var(--sb-thumb-sideways) padding-box;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
  border-width: 2px;
}

@supports (-moz-appearance: none) {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--sb-plain) transparent;
  }
}
