/* ===== Night (experiment): the darkest of the slate blue, taken from the banner's own shadows =====
   paper #161E2C = the darkest 5% of the banner; raised surfaces #1D2635 = its darkest 25%.
   Ink stays a warm cream, so the page keeps the reference's warm-against-blue pairing. Loaded last. */
html.night{
  --paper:#161E2C; --card:#1D2635; --card2:#1D2635;
  --ink:#ECE7DD; --ink2:#D9D4CB; --ink3:#8F98A7;
  --line:rgba(236,231,221,.11); --hair:rgba(236,231,221,.08); --hair2:rgba(236,231,221,.15);
  color-scheme:dark;
}
/* the warm dark browns hard-coded for the old night */
html.night .dock{background:color-mix(in srgb,#1D2635 82%,transparent)!important}
html.night .tabbar{background:color-mix(in srgb,#1D2635 86%,transparent)!important}
html.night .lfilters button.on,html.night .colp .kseg a.on,html.night .profp .bchips a.on{color:#161E2C!important}
html.night .lfilters button.on span,html.night .colp .kseg a.on b,html.night .profp .bchips a.on b{color:rgba(22,30,44,.6)!important}
/* shadows on navy want a blue-black, not neutral black */
html.night .ccol:not(.newc),html.night .row2,html.night .ci2,html.night .setl,html.night .path,html.night .signin,html.night .readp .nextc,html.night .hsearch,html.night .finder.show
  {box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 14px 34px -16px rgba(4,8,16,.8)!important}
/* All books: cards sit one step up from the page; hover takes the slate blue itself */
html.night .booksp{--card:#1D2635}
html.night .booksp .abc{box-shadow:0 1px 0 rgba(255,255,255,.035) inset,0 14px 30px -16px rgba(4,8,16,.85)}
html.night .booksp .abc:hover{background:#4C5F76}
html.night .booksp .abpill{background:#1D2635}
/* the banner melts into the page: its darkest tone is the page */
html.night .abhero::after{background:rgba(236,231,221,.06)}
