:root {
    color-scheme: dark;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: #050912;
    color: #f2f6fb;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: #050912;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: #050912;
}

button,
a {
    font: inherit;
}

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

button:focus-visible,
a:focus-visible {
    outline: 2px solid #65bfff;
    outline-offset: 3px;
}

::selection {
    background: rgba(84, 183, 255, .28);
    color: #fff;
}

#blazor-error-ui {
    display: none;
}

#blazor-error-ui.show,
#blazor-error-ui[style*="display: block"] {
    display: block;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    max-width: min(460px, calc(100% - 2rem));
    padding: .9rem 2.5rem .9rem 1rem;
    border: 1px solid #723d28;
    border-radius: .65rem;
    background: #2d1812;
    color: #ffe9de;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .4);
}

#blazor-error-ui .reload {
    color: #ffc071;
    text-decoration: underline;
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: .65rem;
    right: .8rem;
    cursor: pointer;
}
