:root[data-theme="midnight-dark"] {
  --ps-bg-primary: #0d1b2a;
  --ps-bg-secondary: #1b2838;
  --ps-bg-tertiary: #253545;
  --ps-border: #354555;
  --ps-text-primary: #c8d6e5;
  --ps-text-secondary: #8899aa;
  --ps-text-inverse: #ffffff;
  --ps-accent: #48bfe3;
  --ps-accent-hover: #64d2f4;
  --ps-accent-subtle: #0d2530;
  --ps-success: #56c596;
  --ps-warning: #f0b67f;
  --ps-danger: #e76f7e;
  --ps-info: #48bfe3;
  --ps-nav-bg: #070f18;
  --ps-nav-text: #c8d6e5;
  --ps-input-bg: #1b2838;
  --ps-input-border: #354555;
  --ps-table-header-bg: #253545;
  /* The LCDs: a deep navy screen with soft ice-blue digits */
  --lcd-bg: #08131f;
  --lcd-ink: #8cc4dc;
  /* The accent and state colours as text: the same hue, readable
     (4.5:1) on this theme's backgrounds */
  --ps-accent-text: #48bfe3;
  --ps-info-text: #48bfe3;
  --ps-success-text: #56c596;
  --ps-warning-text: #f0b67f;
  --ps-danger-text: #e76f7e;
  /* Buttons: the accent, and text that reads on it (4.5:1); the
     button colour is moved only as far as that needs */
  --ps-on-accent: #111418;
  --ps-accent-btn: #48bfe3;
  --ps-accent-btn-hover: #64d2f4;
}

/* The LCD frames: dark navy, not bright metal; the digits glow softly,
   as a backlit screen's do, instead of casting a shadow (a light LCD's) */
:root[data-theme="midnight-dark"] .lcd-bezel {
  background: linear-gradient(145deg, #1f2e3e 0%, #0b1622 50%, #172433 100%);
  border: 1px solid var(--ps-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
:root[data-theme="midnight-dark"] .lcd-screen {
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.55);
}
:root[data-theme="midnight-dark"] .lcd-screen,
:root[data-theme="midnight-dark"] .lcd-screen * {
  text-shadow: 0 0 5px rgba(140, 196, 220, 0.3) !important;
}
