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

body {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background: #f5f4f0;
    color: #1a1a1a;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    padding: 1.25rem 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 2.5rem;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: #1a1a1a;
}

h1 { font-size: 1.75rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.25rem; margin-bottom: 1rem; }

button, .btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: #1a1a1a;
    color: #f5f4f0;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

button:hover, .btn:hover { background: #333; }
button:active, .btn:active { background: #555; }
button:disabled { background: #aaa; cursor: not-allowed; }

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.card-title { font-weight: 600; margin-bottom: 0.5rem; }
.card-meta { font-size: 0.85rem; color: #666; margin-bottom: 0.5rem; }
.card-body { font-size: 0.95rem; }

.badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
    background: #e8e6e0;
    color: #555;
    margin-left: 0.4rem;
}

.badge-reversed { background: #fde8e8; color: #b33; }
.badge-fallback { background: #fff3cd; color: #856404; }

@media (max-width: 600px) {
    h1 { font-size: 1.4rem; }
}
