/* NetBSD Corner: an orange theme for pages marked <html class="nbsd">, plus the home page card. Layout and type come from style.css. */
html.nbsd {
    --bg: #130c06;
    --bg-glow-1: rgba(230, 100, 30, 0.22);
    --bg-glow-2: rgba(160, 160, 170, 0.08);
    --surface: #1e130b;
    --surface-2: #2a1a0f;
    --border: #503019;
    --text: #f3ebe3;
    --text-muted: #bba592;
    --heading: #ffffff;
    --accent: #ff7a2e;
    --accent-2: #c9ced6;
    --accent-soft: rgba(255, 122, 46, 0.15);
    --code-bg: #0c0704;
    --code-text: #efe3d6;
    --code-border: #3f2412;
}
@media (prefers-color-scheme: light) {
    html.nbsd {
        --bg: #fff8f2;
        --bg-glow-1: rgba(230, 100, 30, 0.12);
        --bg-glow-2: rgba(110, 120, 135, 0.07);
        --surface: #ffffff;
        --surface-2: #fdeee0;
        --border: #f0d3ba;
        --text: #2b1a0e;
        --text-muted: #7d6450;
        --heading: #1a0e05;
        --accent: #c4500c;
        --accent-2: #566070;
        --accent-soft: rgba(196, 80, 12, 0.09);
        --code-bg: #1c0f06;
        --code-text: #f3e6d8;
        --code-border: #1c0f06;
    }
}
.nbsd-hero { display: flex; align-items: center; gap: 22px; margin: 6px 0 18px; }
.nbsd-hero img { width: 120px; height: 120px; flex: none; }
.nbsd-hero p { margin: 0; }
@media (max-width: 560px) { .nbsd-hero { flex-direction: column; text-align: center; } }
.corner-card.nbsd-card { background: linear-gradient(135deg, #b8460a, #e0620f 55%, #f27a24); border: 1px solid #8f3607; box-shadow: 0 8px 24px rgba(224, 98, 15, 0.3); }
.corner-card.nbsd-card img { background: #fff1e4; }
.corner-card.nbsd-card span { color: #fff0e2; }
