/* ═══════════════════════════════════════════════════════════════
   PERFORMANȚĂ — se aplică când html[data-perf="1"] (Admin → Teme → Optimizare)
   Elimină sursele de lag din tema de bază: animații infinite pe pseudo-elemente
   (zeci de panouri × 2), fundal "nebula" fix, blur-uri, video supradimensionat.
═══════════════════════════════════════════════════════════════ */
html[data-perf="1"] body::before,
html[data-perf="1"] .sh-panel::before, html[data-perf="1"] .sh-panel::after,
html[data-perf="1"] .sh-feat::after, html[data-perf="1"] .sh-news-item::before,
html[data-perf="1"] .sh-char-card::before, html[data-perf="1"] .sh-auth-card::before,
html[data-perf="1"] .sh-admin-panel::before, html[data-perf="1"] .sh-server-block::before,
html[data-perf="1"] .sh-download-block::before, html[data-perf="1"] .sh-download-block::after,
html[data-perf="1"] .sh-scene-stars, html[data-perf="1"] .sh-scene-aurora, html[data-perf="1"] .sh-scene-moon,
html[data-perf="1"] .sh-mtn-back, html[data-perf="1"] .sh-mtn-mid, html[data-perf="1"] .sh-fog-1, html[data-perf="1"] .sh-fog-2,
html[data-perf="1"] .sh-dl-icon, html[data-perf="1"] .sh-download-hero-icon, html[data-perf="1"] .sh-download-hero-ring,
html[data-perf="1"] .sh-download-hero-pulse, html[data-perf="1"] .sh-header-top-line, html[data-perf="1"] .sh-online-dot
  { animation:none !important; }
html[data-perf="1"] body { background-attachment:scroll !important; }
html[data-perf="1"] * { -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }

/* video: doar cât headerul (nu 178%), fără filtre/animații */
html[data-perf="1"] .sh-header-video { height:100% !important; top:0 !important; transform:none !important; filter:none !important; animation:none !important; }

/* conținut instant: fără așteptarea animației de „reveal” */
html[data-perf="1"].sn-anim .sh-panel:not(.sn-in), html[data-perf="1"].sn-anim .sh-feat:not(.sn-in),
html[data-perf="1"].sn-anim .sh-news-item:not(.sn-in), html[data-perf="1"].sn-anim .sh-char-card:not(.sn-in),
html[data-perf="1"].sn-anim .sh-acc-row:not(.sn-in), html[data-perf="1"].sn-anim .sh-inv-item:not(.sn-in) { opacity:1 !important; }
html[data-perf="1"] .sn-in { animation:none !important; }

/* randare mai ieftină sub ecran */
html[data-perf="1"] .sh-footer { content-visibility:auto; contain-intrinsic-size:auto 420px; }
html[data-perf="1"] .sh-inv-item, html[data-perf="1"] .sh-news-item { content-visibility:auto; contain-intrinsic-size:auto 120px; }

/* tranziții fluide între pagini (Chrome/Edge 126+; ignorat în rest) */
@view-transition { navigation:auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration:.2s; }

/* fundalurile fixe/animate ale temelor mele — statice în modul performanță */
html[data-perf="1"][data-theme="ascension"]::before { animation:none !important; filter:none !important; }
