/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-surface: #242424;
    --fg-primary: #ffffff;
    --fg-secondary: rgba(255, 255, 255, 0.7);
    --fg-muted: rgba(255, 255, 255, 0.4);
    --accent: #ffffff;
    --danger: #ff4444;
    --danger-bg: rgba(255, 68, 68, 0.1);
    --border: rgba(255, 255, 255, 0.08);
    --sidebar-width: 240px;
    --item-gap: 1rem;
}

html {
    color-scheme: dark;
    height: 100dvh;
    background: var(--bg-primary);
    background-attachment: fixed;
    font-family: ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif;
    color: var(--fg-primary);
}

body {
    line-height: 1.5;
    background: var(--bg-primary);
    color: var(--fg-primary);
    min-height: 100dvh;
}

a:not(.bespoke) {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

a:not(.bespoke):hover {
    color: var(--accent);
}

button {
    font-family: inherit;
    color: inherit;
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}