:root {
    --bg: #0f1115;
    --panel: #171a21;
    --border: #262b36;
    --text: #e6e8eb;
    --muted: #9aa3b2;
    --accent: #5b8cff;
    --accent-press: #4778f0;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

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

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--panel);
}

.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); }
.mainnav { display: flex; align-items: center; gap: 1rem; }
.mainnav .who { color: var(--muted); font-size: 0.9rem; }

.content {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hero { padding: 1.5rem 0 2.5rem; }
.hero h1 { font-size: 2rem; margin: 0 0 0.5rem; }
.hero p { color: var(--muted); margin: 0; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.1rem;
}
.card h3 { margin: 0 0 0.25rem; }
.card .type, .detail .type { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.card .desc { color: var(--muted); font-size: 0.92rem; }

.btn {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
}
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-press); }

.detail h1 { margin-top: 0; }
.features { padding-left: 1.1rem; }
.muted { color: var(--muted); }
.crumbs { margin-bottom: 1rem; }
.empty { color: var(--muted); padding: 2rem 0; }

.table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.table th, .table td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--border); }
.table th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }

code { background: #222733; padding: 0.05rem 0.35rem; border-radius: 4px; font-size: 0.85rem; }

.footer {
    max-width: 960px;
    margin: 2rem auto 3rem;
    padding: 1rem 1.5rem 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
}
