/* NODZ dark theme. Loaded after app.css: with media="(prefers-color-scheme: dark)" when the visitor chose "Auto"
   (follows the device), with media="all" for "Dark", and not at all for "Light" (see templates/layout.php). */
:root {
    color-scheme: dark;
    --paper: #171A13;
    --paper-deep: #22271D;
    --paper-card: #1D2118;
    --ink: #E8E3D3;
    --ink-soft: #B6B8AE;
    --nav: #0F120C;
    --line: #474C3C;
    --line-strong: #C9C3AE;
    --focus: #9DB8D3;
    --ok: #9DB57A;
    /* The Willys fills (olive, rust, blue) stay; only text in those colors gets lighter. */
    --rust-text: #E39383;
    --rust-text-strong: #F2B2A5;
    --olive-text: #A9C084;
    --olive-text-strong: #C0D3A0;
    --blue-text: #9DB8D3;
}
.badge--wanted, .badge--status-restoration { background: transparent; }
.badge--supporter, .flash--error, .notice--alert, .legal .placeholder { background: #3A211E; }
.topic-table tr.is-hidden, .post.is-hidden { background: #34221E; }
.message--mine { background: #262D1E; }
.solution-box { background: #1F2B1E; }
.solution-box__title, .link-button--strong { color: #8FCB98; }
.search-hit mark { background: #6B5A1E; color: var(--ink); }
.mod-inline input, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"],
input:not([type]), select, textarea { background: #12150F; color: var(--ink); border-color: var(--line); }
.region-map__tile--1 a { background: #2A3022; }
.region-map__tile--2 a { background: #3E4A2E; }
.region-map__tile--3 a { background: #5D7240; }
.legend--views { background: #3E4A2E; }
.staff-tabs a[aria-current="page"], .chip[aria-current="page"] { background: var(--olive); border-color: var(--olive); }
.button:not(.button--rust):not(.button--olive):not(.button--danger):not(.button--danger-outline) { color: var(--ink); border-color: var(--line-strong); }
.notification.is-unread { background: rgba(157, 181, 122, .08); }
/* QR code and the MFA key stay dark-on-white so phones can read them. */
.secret { background: #fff; color: #20241C; }
/* Homepage photo: "multiply" would turn it almost black on a dark page; show it as is, slightly toned. */
.hero__photo img { mix-blend-mode: normal; filter: sepia(.25) brightness(.92) contrast(1.05); }
.featured__photo img { filter: brightness(.95); }
.lost__art img { mix-blend-mode: normal; filter: brightness(.9); }
/* The theme switch in the footer marks the active choice. */
.theme-switch button[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: #fff; }
/* Staff portal */
.all-clear, .status-pill--ok { background: rgba(157, 181, 122, .12); }
.status-pill--bad { background: rgba(227, 147, 131, .14); }
.stat-card:hover { box-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.staff-nav { box-shadow: none; border: 1px solid var(--line); }