/* ============================================================
   wyo.town / night
   sheet 002 / rev A / the fruit of the pricklypear in the
   desert at night

   Layered last: brand.css (sheet 001) paints the day catalog;
   this file re-hangs the same catalog after dark. The house
   laws are unchanged:
     - one field per sheet, one accent per sheet
     - rules, not shadows; dither is the only texture
     - type is ink or snow, never a third color per sheet

   What night does:
     - the snow sheets become night sheets: the field is INK
       (--ink-00, the palette's own name for it), the type is
       SNOW, the rules are snow. Registration marks follow
       currentColor, so they re-hang themselves.
     - the desert sand sheets (f-stock: the masthead and the
       closing grounds) become MOONLIT SAND - a warm dark, not
       a second night, so the desert is still the desert.
     - the deep-field sheets (azure, territorial, teal, plum)
       already carry snow type; they are the night lakes and
       are left as painted.
     - the bright plates (lime, aqua, sky, pink) keep their
       ink type: at night they are the lanterns, and the fruit
       of the pear is the brightest of them.
     - links ride SKY (--ink-11, the rain sky) - the stream
       blue was mixed for snow, not for night.
     - the rust accent, wherever a sheet declared it inline,
       is re-lit as AMBER: rust on the night field whispers,
       and the section numerals must not whisper.
     - the star field never changes. It was always night out
       there; only the pages were day.
   ============================================================ */

/* ---- the sheets go dark ------------------------------------ */

.sheet {
  background: var(--ink-00);
  color: var(--snow);
  border-color: var(--snow);
}

/* moonlit sand: the desert keeps its warmth after dark */
.sheet.f-stock,
.sheet.f-stock.masthead {
  background: #26221B;
  color: var(--snow);
}

/* the masthead type was ink on sand; it is snow on moonlit sand */
.masthead .mast .brand,
.masthead .mast-copy .sign,
.masthead .mast-bottom .placard,
.masthead .mast-bottom .mast-meta { color: var(--snow); }

/* ---- the body copy that sits on the star field -------------- */

body { color: var(--snow); }

/* ---- links: the rain sky, not the stream -------------------- */

a { color: var(--sky); }
a:visited { color: var(--plum); }
a:hover { color: var(--aqua); }

/* ---- the rust accent re-lit as amber ------------------------ */

.sheet[style*="--rust"] { --accent: var(--amber); }

/* ---- the banner: same tiles, moonlit border ------------------ */

.banner, .banner-strip { border-color: var(--snow); }

/* ---- selection: snow picks up its fruit ---------------------- */

::selection { background: var(--pink); color: var(--ink-00); }
