:root {
    --st-bg: #111318;
    --st-panel: #191c23;
    --st-line: #2a2f39;
    --st-text: #e8e6e1;
    --st-muted: #a3a7b0;
    --st-amber: #f2b544;
    --st-teal: #3cc6b0;
    --st-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    background: var(--st-bg);
    color: var(--st-text);
    font-family: var(--st-sans);
    font-size: 17px;
    line-height: 1.6;
}

a { color: var(--st-teal); }
a:hover { color: var(--st-amber); }

.st-header,
.st-footer,
.st-main {
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.st-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--st-line);
}

.st-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--st-text);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.st-nav { display: flex; gap: 1.25rem; }

.st-nav a {
    color: var(--st-muted);
    font-weight: 600;
    text-decoration: none;
}

.st-nav a:hover,
.st-nav a[aria-current="page"] { color: var(--st-amber); }

.st-main {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

.st-main h1,
.st-main h2,
.st-main h3 { line-height: 1.25; }

.st-hero {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.st-hero img { flex: none; border-radius: 22px; }

.st-hero h1 {
    margin: 0 0 0.4rem;
    font-size: 2.4rem;
}

.st-hero p {
    margin: 0;
    color: var(--st-muted);
    font-size: 1.15rem;
}

.st-section-title {
    font-size: 1.4rem;
    margin: 0 0 1.25rem;
}

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

.st-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem;
    background: var(--st-panel);
    border: 1px solid var(--st-line);
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
}

a.st-card:hover {
    color: inherit;
    border-color: var(--st-amber);
}

.st-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.st-card-head img,
.st-card-placeholder {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 12px;
}

.st-card-placeholder {
    display: grid;
    place-items: center;
    background: var(--st-bg);
    border: 1px dashed var(--st-line);
    color: var(--st-muted);
    font-size: 1.4rem;
    font-weight: 700;
}

.st-card h3 { margin: 0; font-size: 1.15rem; }

.st-card-kind {
    margin: 0;
    color: var(--st-muted);
    font-size: 0.9rem;
}

.st-card p { margin: 0; }

.st-card-meta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: var(--st-muted);
    font-size: 0.85rem;
}

.st-badge {
    padding: 0.1rem 0.6rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: var(--st-amber);
    font-weight: 600;
}

.st-badge[data-status="Available"] { color: var(--st-teal); }

.st-footer {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid var(--st-line);
    color: var(--st-muted);
    font-size: 0.9rem;
}

.st-footer p { margin: 0.3rem 0; }

@media (max-width: 560px) {
    .st-hero { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .st-hero img { width: 80px; height: 80px; }
    .st-hero h1 { font-size: 2rem; }
}
