/* NeoNexus - light theme + theme toggle button.
   Dark is the default (styles.v5.css). theme.js sets <html data-theme="light|dark">. */
:root{color-scheme:dark}
:root[data-theme="light"]{
  color-scheme:light;
  --ink:#f7f4ee; --paper:#1b1814; --accent:#7d5a2b; --on-accent:#ffffff;
  --surface:#ffffff; --surface-2:#efebe3;
  --text:rgba(27,24,20,.92); --text-2:rgba(27,24,20,.72); --text-3:rgba(27,24,20,.62);
  --border:rgba(27,24,20,.14);
  --danger:#b3412f;
  --sky-1:#e8e2d4; --sky-2:#d6cdb9; --l1:#cfc7b4; --l2:#c2baa6; --l3:#b3ab96; --l4:#a59d88; --snow:rgba(255,255,255,.8);
}
/* hard-coded dark translucent layers in styles.v5.css */
[data-theme="light"] nav.scrolled{background:rgba(247,244,238,.92)}
[data-theme="light"] .mobile-nav-backdrop{background:rgba(27,24,20,.45)}
[data-theme="light"] .confirm-overlay,[data-theme="light"] #admin-login,[data-theme="light"] #admin-overlay,
[data-theme="light"] .privacy-overlay,[data-theme="light"] .terms-overlay{background:rgba(27,24,20,.6)}
[data-theme="light"] .btn-secondary:hover,[data-theme="light"] .nav-cta:hover,[data-theme="light"] .mobile-nav-cta:hover,
[data-theme="light"] .nav-admin-btn:hover,[data-theme="light"] .admin-btn:hover,[data-theme="light"] .admin-btn-ghost:hover,
[data-theme="light"] .confirm-close-btn:hover,[data-theme="light"] .privacy-close-btn:hover{border-color:var(--border)}
/* hero landscape: light version */
[data-theme="light"] .hero-art svg .p1{fill:#bdb5a1}[data-theme="light"] .hero-art svg .p2{fill:#aea68f}
[data-theme="light"] .hero-art svg .p3{fill:#9f977f}[data-theme="light"] .hero-art svg .p4{fill:#908870}
[data-theme="light"] .hero-art svg .lk{fill:#b9b19b}[data-theme="light"] .hero-art svg .st{fill:#ffffff}
/* photo-style cards sit on a dark gradient, so they keep the dark palette in both themes */
[data-theme="light"] .place{
  --ink:#0f0e0d; --paper:#f2efe8; --accent:#c8a97e; --on-accent:#0f0e0d;
  --text:rgba(242,239,232,.92); --text-2:rgba(242,239,232,.78); --text-3:rgba(242,239,232,.6); --border:rgba(242,239,232,.14);
  --sky-1:#121615; --sky-2:#222a27; --l1:#2a322f; --l2:#222927; --l3:#1a201e; --l4:#131715; --snow:rgba(242,239,232,.5);
}
/* logo uploaded for the dark theme keeps working; see theme.js (optional light logo) */

/* toggle button */
.nn-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;padding:0;
  background:none;border:1px solid var(--border);border-radius:var(--r);color:var(--paper);cursor:pointer;transition:border-color .2s,color .2s}
.nn-theme-toggle:hover{color:var(--accent);border-color:var(--accent)}
.nn-theme-toggle svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nn-theme-toggle .i-moon{display:none}
[data-theme="light"] .nn-theme-toggle .i-sun{display:none}
[data-theme="light"] .nn-theme-toggle .i-moon{display:block}
.nn-admin-actions{display:flex;gap:8px;align-items:center}
