/* LINECAST desktop scrollbars — тёмные, тонкие, без стрелок Windows */
html, body, #root {
  height: 100%;
}

@media (min-width: 1024px) {
  body {
    user-select: text !important;
  }

  * {
    scrollbar-width: thin;
    scrollbar-color: #2A3140 transparent;
  }

  *::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
    background: transparent !important;
  }

  *::-webkit-scrollbar-track {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  *::-webkit-scrollbar-track-piece {
    background: transparent !important;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #2A3140 !important;
    border-radius: 999px !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
    min-height: 40px;
  }

  *::-webkit-scrollbar-thumb:hover {
    background-color: #00E5A0 !important;
    background-clip: padding-box !important;
    opacity: 0.7;
  }

  *::-webkit-scrollbar-thumb:active {
    background-color: #00E5A0 !important;
    background-clip: padding-box !important;
  }

  /* Убрать стрелки Windows/Chrome */
  *::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
  }

  *::-webkit-scrollbar-button:start:decrement,
  *::-webkit-scrollbar-button:end:increment,
  *::-webkit-scrollbar-button:vertical:start:increment,
  *::-webkit-scrollbar-button:vertical:end:decrement {
    display: none !important;
  }

  *::-webkit-scrollbar-corner {
    background: transparent !important;
  }

  a, button, [role="button"] {
    transition: background-color 160ms ease, border-color 160ms ease,
      opacity 160ms ease, transform 160ms ease;
  }
}
