/* ============================================================================
   MY CRUSADER — PERFORMANCE TIERS  (mc-tiers.css)
   Wayne, Nov 9, 2026 (~6:24 PM): TWO tiers, ONE build.
   Lane F integration, Nov 9, 2026. Scratch build only — not deployed.

   FULL GLASS  html[data-look="full"]  — Lane A's treatment as-is. This
   file deliberately contains NO overrides for the full tier, and no
   overrides at all when the attribute is absent (no-JS / pre-snippet):
   the default rendering of this stack IS full glass.

   LITE        html[data-look="lite"]  — same layout, same look family:
   live backdrop blur OFF, glass fills swapped to Lane A's static solid
   tokens, shadow stacks reduced to the single soft shadow, glow off
   except on active/primary states, motion near zero. The tier is set
   before first paint by the inline snippet in each page's <head> (see
   INTEGRATION.md) and can be overridden by the member at any time from
   the Look control on menu.html, wired by assets/mc-look.js.

   Load order: app.css, mc-tokens.css, mc-glass.css, mc-alias.css,
   THIS FILE, mc-legacy-map.css. Every lite rule below is scoped under
   html[data-look="lite"], which outranks the unscoped recipes in the
   sheets loaded before AND after this one.
   ========================================================================== */

/* ============================ LITE · TOKENS ============================== */
html[data-look="lite"] {
  --blur-pill: 0px;              /* live blur off — fills go solid below   */
  --blur-card: 0px;
  --blur-sheet: 0px;
  --saturate: 1;                 /* no saturation boost without the blur   */
  --shadow-m: var(--shadow-s);   /* one shadow family collapses to the     */
  --shadow-l: var(--shadow-s);   /* single soft shadow                     */
  --dur: 0ms;                    /* motion minimal                         */
}

/* ====================== LITE · GLASS FILLS GO SOLID ====================== */
/* Lane A recipes + the alias bridges: blur removed, Lane A solid tokens
   in place of the translucent gradients. Geometry, rims, type, spacing
   and heights are NOT touched — lite is the same institution, flatter. */
html[data-look="lite"] .mcg-glass-pill,
html[data-look="lite"] .mcg-pill,
html[data-look="lite"] .mcg-btn,
html[data-look="lite"] .mcg-chip,
html[data-look="lite"] .mcg-input,
html[data-look="lite"] .mcg-seg {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: var(--glass-solid);
}
html[data-look="lite"] .mcg-glass-card,
html[data-look="lite"] .mcg-card,
html[data-look="lite"] .mcg-tile,
html[data-look="lite"] .mcg-shelf__row,
html[data-look="lite"] .mcg-nav__bar,
html[data-look="lite"] .tabbar.mcg-nav {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: var(--glass-solid);
}
html[data-look="lite"] .mcg-glass-sheet,
html[data-look="lite"] .mcg-sheet {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: var(--glass-solid);
}
html[data-look="lite"] .mcg-tile--bright,
html[data-look="lite"] .mcg-tile.mcg-tile-bright {
  background: var(--glass-solid-bright); color: var(--ink-on-bright);
}
/* The deep UPDATES-style tile keeps its deep family, solid. */
html[data-look="lite"] .mcg-tile--deep { background: var(--glass-solid); }

/* Legacy-map surfaces that carry a backdrop blur: same solid swap.
   (Their translucent gradients are replaced, not just un-blurred, so
   text contrast over the canvas holds without the blur behind it.) */
html[data-look="lite"] .card,
html[data-look="lite"] header.bar,
html[data-look="lite"] .cam-sheet,
html[data-look="lite"] .authcard,
html[data-look="lite"] .welcome,
html[data-look="lite"] .notice,
html[data-look="lite"] .badge,
html[data-look="lite"] a.mrow,
html[data-look="lite"] .mrow,
html[data-look="lite"] .viewas-fab,
html[data-look="lite"] .viewas-sheet,
html[data-look="lite"] .chat-composer .box,
html[data-look="lite"] .msg.ai .card {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: var(--glass-solid);
}

/* Primary / active states are SOLID gradients already — no blur, no
   swap. Re-asserted after the solid swap above so a primary button,
   the segment puck and the active segment keep the one filled-aqua
   treatment in both tiers. This is also where lite's remaining glow
   lives: --glow-rim is spent here and nowhere else in lite. */
html[data-look="lite"] .mcg-btn--primary,
html[data-look="lite"] .mcg-btn-primary,
html[data-look="lite"] .mcg-seg__puck,
html[data-look="lite"] .mcg-seg > .on,
html[data-look="lite"] .mcg-seg > [aria-current="true"] {
  /* ITEM 7 (Nov 16, 2026): lite keeps the dark-glass primary too — the
     bright filled-aqua treatment is retired in both tiers. */
  background: linear-gradient(160deg, rgba(38,140,163,.55), rgba(9,49,61,.78));
  color: var(--ink);
}

/* ====================== LITE · SHADOW / GLOW REDUCTION =================== */
/* Multi-layer stacks in the legacy map collapse to the single soft
   shadow (inset rim light is kept — it is flat, not a cast stack). */
html[data-look="lite"] button,
html[data-look="lite"] .btn,
html[data-look="lite"] header.bar .topbtn,
html[data-look="lite"] .card,
html[data-look="lite"] .welcome,
html[data-look="lite"] .authcard,
html[data-look="lite"] .avatar-slot,
html[data-look="lite"] .viewas-fab,
html[data-look="lite"] .chat-composer .box,
html[data-look="lite"] .msg.ai .card,
html[data-look="lite"] a.mrow,
html[data-look="lite"] .mrow {
  box-shadow: var(--shadow-s);
}
/* Decorative glow off. (Active-state glow is kept by the primary rule
   above; the nav's active-station glow in Lane A's sheet is an active
   state and is likewise kept.) */
html[data-look="lite"] .mcg-header__dot { box-shadow: none; }
html[data-look="lite"] .mcg-nav-cam,
html[data-look="lite"] .mcg-nav__cam {
  box-shadow: inset 0 2px 6px rgba(255,255,255,.85), inset 0 -8px 14px rgba(9,49,61,.28),
              var(--shadow-s);
}
/* The tile cluster's shell drop-shadow is the cluster's one cast
   shadow; in lite it drops to the same soft scale. */
html[data-look="lite"] .mcg-tile-shell { filter: drop-shadow(0 4px 14px rgba(0,24,26,.35)); }
html[data-look="lite"] .mcg-nav { filter: drop-shadow(0 4px 14px rgba(0,24,26,.35)); }

/* ============================ LITE · MOTION ============================== */
html[data-look="lite"] .mcg-btn,
html[data-look="lite"] .mcg-seg__puck,
html[data-look="lite"] .tabbar {
  transition: none;
}
html[data-look="lite"] .mcg-btn:active { transform: none; }

/* Full tier: intentionally no rules. Lane A's sheets, unmodified,
   are the full-glass treatment. */
