:root {
    color-scheme: dark only;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: #080b13;
}

body {
    min-width: 320px;
    margin: 0;
    background: #080b13;
    color: #f4f6fb;
    font-family: "Aptos", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

.mud-main-content {
    padding: 0 !important;
}

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

body::-webkit-scrollbar-track {
    background: #070a11;
}

body::-webkit-scrollbar-thumb {
    border: 2px solid #070a11;
    border-radius: 999px;
    background: linear-gradient(#7899e5, #7d66bd);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a,
summary {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: rgba(142, 175, 255, 0.32);
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
