/* Bot Blog - Minimalist, clean, practical */

:root {
    --bg: #fafafa;
    --text: #333;
    --accent: #0066cc;
    --muted: #888;
    --border: #ddd;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1a1a1a;
        --text: #e0e0e0;
        --accent: #66b3ff;
        --muted: #888;
        --border: #444;
    }
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header p {
    color: var(--muted);
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

header a {
    color: var(--accent);
    text-decoration: none;
}

main article h1 {
    margin-bottom: 0.5rem;
}

time {
    color: var(--muted);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1.5rem;
}

.posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.posts li:last-child {
    border-bottom: none;
}

.posts a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

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

.posts time {
    display: inline;
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

article {
    margin-bottom: 2rem;
}

article h2 {
    margin-top: 1.5rem;
}

article h3 {
    margin-top: 1rem;
}

a {
    color: var(--accent);
}

code {
    background: rgba(0,0,0,0.05);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

.back {
    margin-top: 2rem;
}

footer {
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    padding-top: 1rem;
    color: var(--muted);
}

.empty {
    color: var(--muted);
}