/* ============================================================
   🔒 HARD LOCKED — tab bar wash (LOCKED.md invariant 20)
   Locked Nov 27 2026 (Facelift Piece 1e-9's wash, locked by
   the owner's order the same night: "We are all set, lock
   the code now."). This file's faded dark-plum gradient —
   the stops, the fade profile, the behind-the-row layer on
   #tabbar::before, pointer-events none — does not change
   again on anyone's initiative: if it ever needs a change,
   Ms. Pink ASKS Asce first and only his yes unlocks it.
   The unlock ships as its own piece and updates this
   banner, LOCKED.md and the guard pins in
   tests/locked-code.test.js in the same piece.
   ============================================================
   TAB BAR WASH DOOR — public/css/tabbar-wash.css
   (Facelift Piece 1e-9, Nov 27 2026 — the faded purple behind
   the tab icons. Owner orders, Nov 27 2026 19:11–19:56 CT:
   "Put a faded dark purple behind these icons no line" /
   "I need it faded so you can see through it. It's just
   bright enough for you to see the words and the higher
   you go up the screen, it faded away" / end state confirmed
   19:56 CT with the #211 seating in place: "the words flush
   and low with the little gap, and the faded purple right
   behind them.")
   ------------------------------------------------------------
   This file OWNS the wash and nothing else. The tab bar's
   geometry — the clearance construction, the owner's
   measured ~10pt label seating, the no-paint float — is
   HARD LOCKED in the door pair (public/css/tabbar.css +
   public/js/tabbar.js, LOCKED.md invariant 19) and is NOT
   touched here, not even an append: the wash rides its own
   sheet, linked AFTER tabbar.css in the shell and precached
   beside it in the service worker, so it ships and refreshes
   through the same forced-refresh path and can be lifted
   out again without the bar ever knowing.
   THE WASH: one gradient layer behind the whole row, on
   the bar's ::before (free at phone widths — the base sheet
   uses #tabbar::before only inside the desktop sidebar
   block). It is anchored to the bar's bottom edge and
   reaches 76px above the bar's top: full strength through
   the icon + word unit, then dissolving upward through
   descending fades of the same plum to fully transparent —
   no top edge, no divider, flat paint only. The photo and
   the page content read through it at every height; it is
   the ONLY purple behind the icons (Pieces 1e-5/1e-7 left
   the row with no background of its own, deliberately).
   The plum is the facelift family hue (cf. --fl-glass
   rgba(38, 16, 52, .72)) deepened to rgb(28, 12, 44) and
   held at a .45 fade at the row — the legibility point the
   owner approved: just bright enough for the words.
   PAINT ORDER: the layer is the bar's first child in paint
   order (a ::before, positioned, z-index auto); the buttons
   are positioned (z-index auto) and later in tree order, so
   the icon, the word, the active underline and the count
   badge all sit ON TOP of the wash, and the layer stays
   inside the bar's own stacking context (z-index 30) —
   above the page content, below nothing of the bar's. The
   bar's states carry it for free: sheet-open / in-chat /
   in-community slide or hide the whole bar, wash included;
   the sentinel's pin moves the bar, wash included.
   TAPS: the layer never takes one — pointer-events: none,
   on top of the container's own pass-through (Piece 1e-5).
   Phone widths only, like the float itself; the desktop
   sidebar keeps its own paint.

   AMENDMENT (Phase D, Nov 29 2026 — the owner's direct
   unlock, his words: "You see that soft purple line, we
   added it in the background to make sure we can see the
   words. I need full control over that also."): the layer's
   OPACITY alone rides the Layout Door — the ::before reads
   --sc-wash-opacity (default 1 = the locked paint at full
   strength), written by app.js's applyLayoutDoor from the
   per-side registry entries fan_wash / model_wash (on/off +
   strength 0–100, per device class, under their own lock —
   lib/layout-door.js). Published OFF (or strength 0) the
   layer paints nothing. The gradient — its stops, its fade
   profile, its reach, its hue — does NOT change and does
   NOT ride the door; only the one opacity number does. The
   lock otherwise stands exactly as written above.
   ============================================================ */
@media (max-width: 1023px) {
  #tabbar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: -76px;
    background: linear-gradient(to top,
      rgba(28, 12, 44, .45) 0%,
      rgba(28, 12, 44, .45) 46%,
      rgba(28, 12, 44, .24) 68%,
      rgba(28, 12, 44, .09) 86%,
      rgba(28, 12, 44, 0) 100%);
    /* Phase D: the door's one number (see the amendment
       above). The fallback is the locked full strength. */
    opacity: var(--sc-wash-opacity, 1);
    pointer-events: none;
  }
}
