:root[data-theme="night-ops-dark"] {
  --ps-bg-primary: #0a0a0a;
  --ps-bg-secondary: #1a0a0a;
  --ps-bg-tertiary: #2a1010;
  --ps-border: #3a1515;
  --ps-text-primary: #cc4444;
  --ps-text-secondary: #882222;
  --ps-text-inverse: #0a0a0a;
  --ps-accent: #cc2222;
  --ps-accent-hover: #ee3333;
  --ps-accent-subtle: #1a0808;
  --ps-success: #884422;
  --ps-warning: #cc6600;
  --ps-danger: #ff2222;
  --ps-info: #993333;
  --ps-nav-bg: #050505;
  --ps-nav-text: #cc4444;
  --ps-input-bg: #1a0a0a;
  --ps-input-border: #3a1515;
  --ps-table-header-bg: #2a1010;
  /* The LCDs: an unlit red-backlit screen, dim like the rest */
  --lcd-bg: #120505;
  --lcd-ink: #a83030;
  /* Night Ops is dim on purpose, to keep night vision: its colours are
     used as they are, not lifted to 4.5:1 (High Contrast is the theme
     for low vision) */
  --ps-accent-text: #cc2222;
  --ps-info-text: #993333;
  --ps-success-text: #884422;
  --ps-warning-text: #cc6600;
  --ps-danger-text: #ff2222;
  --ps-on-accent: #0a0a0a;
  --ps-accent-btn: #cc2222;
  --ps-accent-btn-hover: #ee3333;
}

/* The LCD frames: dark, in the theme's red-black, not bright metal; the
   digits glow faintly, as a dim backlight would, instead of casting a
   shadow (a light LCD's) */
:root[data-theme="night-ops-dark"] .lcd-bezel {
  background: linear-gradient(145deg, #1e0b0b 0%, #0c0404 50%, #160808 100%);
  border: 1px solid var(--ps-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
:root[data-theme="night-ops-dark"] .lcd-screen {
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}
:root[data-theme="night-ops-dark"] .lcd-screen,
:root[data-theme="night-ops-dark"] .lcd-screen * {
  text-shadow: 0 0 4px rgba(168, 48, 48, 0.3) !important;
}
