/* html.fx-lite: a slow phone or Quality Low (the renderer sets the class whenever the effective quality is low: Settings Low,
   or the automatic low-end tier). The menus drop decoration that costs main-thread paint on every frame or every tap, and keep
   the same layout, colours and words (2026-12-01 perf pass: low-end Android phones and some iPhones lagged on quick taps).
   Without the class nothing here applies: Quality High and fast devices look exactly as before.
   Loaded last, so these win over the rules they replace. In-match HUD alerts (tactics, the sword, rally) are not touched. */

/* ---- tap feedback: an opacity flash instead of filter flashes (a filter re-rasterises the whole button, a mode card's SVG
   art three times); fewer, plain press particles (js/kit.js press) and no drifting embers behind Home ---- */
html.fx-lite button:active, html.fx-lite .btn:active, html.fx-lite .item:active { filter: none; opacity: .86; }
html.fx-lite .tap { animation: fx-tapfade .2s steps(2); }
@keyframes fx-tapfade { 0% { opacity: .72; } 100% { opacity: 1; } }
html.fx-lite .kit-embers { display: none; }
html.fx-lite .kp-spark { box-shadow: none; }
html.fx-lite .kp-dust { filter: none; }

/* ---- the page-in step on every tab show ---- */
html.fx-lite .page:not([hidden]) { animation: none; }

/* ---- always-running decoration in the menus: still, in its resting state ---- */
/* (plain selector lists, not :is(): a pseudo-element is not allowed inside :is(), and one bad selector drops a whole list) */
  html.fx-lite .mc-art .contour, html.fx-lite .mc-art .flag-wave .flag, html.fx-lite .mc-art .team .flag,
  html.fx-lite .mc-art .bolt, html.fx-lite .mc-art .speed, html.fx-lite .mc-art .arrow-a, html.fx-lite .mc-art .arrow-b,
  html.fx-lite .mc-art .hand, html.fx-lite .mc-art .border, html.fx-lite .mc-art .front, html.fx-lite .mc-art .push,
  html.fx-lite .mc-art .pin, html.fx-lite .event-card.open, html.fx-lite .play-stack .play, html.fx-lite .play,
  html.fx-lite .ea-mark.big, html.fx-lite .tl2-node.size-major .tl2-dot, html.fx-lite .hold-btn.ready, html.fx-lite .we-beam,
  html.fx-lite .war-major.live, html.fx-lite .wr-majorline.live, html.fx-lite .wr-alert.inc, html.fx-lite .cbtn.ready > .wi,
  html.fx-lite .md-rays, html.fx-lite .tl-pulse, html.fx-lite .referral-commander, html.fx-lite .item.r-mythic .rtag,
  html.fx-lite .crate.has .art, html.fx-lite .crate.has .side, html.fx-lite .daily .daily-hero .art,
  html.fx-lite .collection-card .side, html.fx-lite .deal-tag small, html.fx-lite .sq-podium, html.fx-lite .sq-soldier,
  html.fx-lite .pass-mark.wb-crest, html.fx-lite .wb-chip.wb-rally, html.fx-lite .wb-claim, html.fx-lite .wb-col.open .wb-node b,
  html.fx-lite .wb-card.ready, html.fx-lite .mode-card[data-mode=alliances] .mc-art, html.fx-lite .event-card.ea .mc-art,
  html.fx-lite .creator-entry .creator-art, html.fx-lite .sandbox-entry .sbx-pin, html.fx-lite .squad-entry .sq-flag,
  html.fx-lite .tile .dot, html.fx-lite .tab-badge
{ animation: none !important; }
/* light sweeps that only exist to move: hidden while still */
  html.fx-lite .so-legacy::after, html.fx-lite .so-shelf-gems .so-item::after, html.fx-lite .so-dealcard::after,
  html.fx-lite .cmd-card::after, html.fx-lite .pass-card::after, html.fx-lite .collection-card::after,
  html.fx-lite .tl-ribbon::after, html.fx-lite .tstamp.gold::after, html.fx-lite .tac.gold::after, html.fx-lite .perk.gold::after,
  html.fx-lite .wb-claim::after
{ animation: none !important; opacity: 0 !important; }

/* ---- blur and glow: solid fills and plain edges ---- */
html.fx-lite .film-render { backdrop-filter: none; background: #09111cf2 !important; }
html.fx-lite .terr-reveal { backdrop-filter: none; }
html.fx-lite .vc { -webkit-backdrop-filter: none; backdrop-filter: none; background: radial-gradient(120% 80% at 50% 10%, #2a1f17f7, #070605fb 70%); }
html.fx-lite #arma-launch.keys::after { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* drop-shadow filters on the mode cards' and medals' art: the hard offset shadow stays, the soft gold glow goes */
html.fx-lite .mc-pin.g4 .mc-art { filter: drop-shadow(2px 4px 0 #000a); }
html.fx-lite .mc-card.on.g4 .mc-art { filter: drop-shadow(2px 3px 0 #000a); }
html.fx-lite .we-rifles .wi { filter: drop-shadow(0 2px 0 #000); }
html.fx-lite .fm.g4 .medal-art { filter: drop-shadow(1px 2px 0 #000a); }
