/* ==========================================================
   effects.css — what the effects levels switch off (NEW FILE).
   Only applies when <html> has "rc-balanced" or "rc-lite" (see effects.js).
   "Full" (no class) is the normal, fully animated website.
   Nothing is hidden or removed: the same page, with less work for the device.
   ========================================================== */

/* Balanced and Reduced: no blur behind panels and popups (the most expensive effect on weak GPUs). */
html.rc-balanced *,
html.rc-balanced *::before,
html.rc-balanced *::after,
html.rc-lite *,
html.rc-lite *::before,
html.rc-lite *::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Reduced only: endless animations stop (they keep their normal look, they just do not move). */
html.rc-lite .ov-i--bounce,
html.rc-lite .i--bounce,
html.rc-lite .sidebar-brand__mark,
html.rc-lite .rc-cal__day.is-today { animation: none !important; }

/* The sidebar name sweep repaints text every frame: show it plain. */
html.rc-lite .sidebar-brand__name {
  animation: none !important;
  background-position: 0 0 !important;
}

/* ---------- "Animations running slowly?" pop-up ---------- */
.rc-fx-ask {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 99998; width: min(92vw, 22rem);
  padding: 1.1rem 1.2rem 1rem; border-radius: .75rem; background: #1b1627; color: #f3eefc;
  border: 1px solid rgba(255, 194, 51, .4); box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .55);
  font: 500 .88rem/1.5 Inter, system-ui, sans-serif;
}
.rc-fx-ask h3 { margin: 0 0 .35rem; color: #ffc233; font: 700 1.05rem Cinzel, Georgia, serif; letter-spacing: .02em; }
.rc-fx-ask p { margin: 0 0 .8rem; color: #cbd2e0; }
.rc-fx-ask small { display: block; margin-top: .7rem; color: #a39bbd; font-size: .74rem; }
.rc-fx-ask__x { position: absolute; top: .4rem; right: .6rem; border: 0; background: none; color: #a39bbd; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.rc-fx-ask__x:hover { color: #fff; }
.rc-fx-ask__row { display: flex; flex-wrap: wrap; gap: .45rem; }
.rc-fx-ask__row button {
  flex: 1 1 auto; padding: .55rem .8rem; border: 1px solid rgba(255, 194, 51, .35); border-radius: .5rem;
  background: rgba(255, 194, 51, .08); color: #ffc933; font: 700 .8rem Inter, system-ui, sans-serif; cursor: pointer;
}
.rc-fx-ask__row button:hover { background: rgba(255, 194, 51, .2); }
.rc-fx-ask__row button.is-main { border-color: transparent; background: linear-gradient(135deg, #ffd24a, #ff9a0a); color: #1a1205; }
