:root {
    color-scheme: light dark;
}

html {
    text-rendering: optimizeLegibility;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.line-clamp-2,
.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

.prose-lite {
    line-height: 1.8;
}

.prose-lite p {
    margin: 1rem 0;
}

.prose-lite pre,
.prose-lite code {
    border-radius: 0.75rem;
    background: rgb(24 24 27);
    color: rgb(244 244 245);
}

.prose-lite code {
    padding: 0.15rem 0.35rem;
    font-size: 0.9em;
}

.prose-lite pre {
    overflow-x: auto;
    padding: 1rem;
}
