/* Profile FX — layers, stickers, surfaces, area fonts (public/js/profile-fx.js). */

/* ------------------------------------------------------------- layers
   Backdrop is z 0, the ambient canvas z 2, the card stage z 10. Stickers and 3D
   objects marked "behind" sit between the backdrop and the card; "in front" sits
   over the card. The particle canvas is above both, below the entry cover. */
.fx-layer { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.fx-layer--back { z-index: 5; }
.fx-layer--front { z-index: 20; }
.fx-3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fx-particles { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 35; }

/* ------------------------------------------------------------ stickers */
.fx-sticker {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: var(--size);
  height: var(--size);
  translate: -50% -50%;
  rotate: var(--rot);
  opacity: var(--op);
}
@media (max-width: 700px) { .fx-sticker { scale: 0.65; } }
.fx-sticker__art { display: grid; place-items: center; width: 100%; height: 100%; animation-delay: var(--delay); }
.fx-sticker__art img { width: 100%; height: 100%; object-fit: contain; user-select: none; }
.fx-sticker__art--emoji { font-size: calc(var(--size) * 0.82); line-height: 1; }
.fx-sticker--glow .fx-sticker__art { filter: drop-shadow(0 0 calc(var(--size) * 0.08) var(--fx-accent)) drop-shadow(0 0 calc(var(--size) * 0.2) color-mix(in srgb, var(--fx-accent) 55%, transparent)); }
.fx-sticker--float .fx-sticker__art { animation: fx-float 5.5s ease-in-out infinite; animation-delay: var(--delay); }
.fx-sticker--sway .fx-sticker__art { animation: fx-sway 4.5s ease-in-out infinite; animation-delay: var(--delay); transform-origin: 50% 90%; }
.fx-sticker--spin .fx-sticker__art { animation: fx-spin 14s linear infinite; }
.fx-sticker--pulse .fx-sticker__art { animation: fx-pulse 3.2s ease-in-out infinite; animation-delay: var(--delay); }
@keyframes fx-float { 50% { transform: translateY(-9%); } }
@keyframes fx-sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes fx-spin { to { transform: rotate(360deg); } }
@keyframes fx-pulse { 50% { transform: scale(1.08); } }
html[data-motion="low"] .fx-sticker__art { animation: none !important; }

/* ------------------------------------------------------------- fonts */
body.has-fx-font-title #profileTitle,
body.has-fx-font-title .profile-title { font-family: var(--fx-font-title) !important; }
body.has-fx-font-links .pg-link,
body.has-fx-font-links .pg-link :not(svg, svg *) { font-family: var(--fx-font-links) !important; }
body.has-fx-font-widgets .pg-widget,
body.has-fx-font-widgets .pg-widget :not(svg, svg *, .wg-icon) { font-family: var(--fx-font-widgets) !important; }
body.has-fx-font-discord .pg-widget--discord,
body.has-fx-font-discord .pg-widget--discord :not(svg, svg *, .wg-icon) { font-family: var(--fx-font-discord) !important; }

/* ----------------------------------------------------------- surfaces
   One rule set per material, written for all three areas at once. `--fx-s` is the
   member's strength (0–1). Materials that read the backdrop use backdrop-filter;
   the url() filters exist only in Chromium, so each of those first declares a
   plain fallback that other engines keep. */
:root { --fx-s: 0.6; }

/* frosted glass */
:is(body.fx-surf-links-frost .pg-link, body.fx-surf-socials-frost .pg-social, body.fx-surf-widgets-frost .pg-widget) {
  background: linear-gradient(140deg, rgb(255 255 255 / calc(0.07 + 0.1 * var(--fx-s))), rgb(255 255 255 / 0.025)) !important;
  -webkit-backdrop-filter: blur(calc(8px + 22px * var(--fx-s))) saturate(1.6);
  backdrop-filter: blur(calc(8px + 22px * var(--fx-s))) saturate(1.6);
  border: 1px solid rgb(255 255 255 / 0.22) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), inset 0 -1px 0 rgb(0 0 0 / 0.18), 0 10px 30px -14px rgb(0 0 0 / 0.55) !important;
}

/* liquid glass: nearly clear, the backdrop warps through it, bright rolled rims */
:is(body.fx-surf-links-liquid .pg-link, body.fx-surf-socials-liquid .pg-social, body.fx-surf-widgets-liquid .pg-widget) {
  background: radial-gradient(120% 140% at 20% 0%, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.03) 55%, rgb(255 255 255 / 0.06)) !important;
  -webkit-backdrop-filter: blur(calc(1px + 3px * var(--fx-s))) saturate(1.8) brightness(1.05);
  backdrop-filter: blur(calc(1px + 3px * var(--fx-s))) saturate(1.8) brightness(1.05);
  backdrop-filter: url(#fx-liquid) blur(calc(0.5px + 2px * var(--fx-s))) saturate(1.8) brightness(1.06);
  border: 1px solid rgb(255 255 255 / 0.4) !important;
  box-shadow:
    inset 2px 2px 1px -1px rgb(255 255 255 / 0.75),
    inset -2px -2px 2px -1px rgb(255 255 255 / 0.28),
    inset 0 0 22px rgb(255 255 255 / 0.1),
    0 12px 32px -16px rgb(0 0 0 / 0.6) !important;
}

/* crystal: faceted refraction and a hard diagonal highlight */
:is(body.fx-surf-links-crystal .pg-link, body.fx-surf-socials-crystal .pg-social, body.fx-surf-widgets-crystal .pg-widget) {
  background:
    linear-gradient(125deg, rgb(255 255 255 / 0.28) 0 18%, transparent 18.5% 60%, rgb(255 255 255 / 0.1) 60.5% 64%, transparent 64.5%),
    linear-gradient(160deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.02)) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.5) contrast(1.08);
  backdrop-filter: blur(3px) saturate(1.5) contrast(1.08);
  backdrop-filter: url(#fx-crystal) blur(calc(0.5px + 1.5px * var(--fx-s))) saturate(1.5) contrast(1.1);
  border: 1px solid rgb(255 255 255 / 0.5) !important;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), inset 0 18px 24px -18px rgb(255 255 255 / 0.5), 0 14px 30px -16px rgb(0 0 0 / 0.6) !important;
}

/* prism: recolours the backdrop; the rim cycles through the spectrum */
@property --fx-hue { syntax: "<number>"; inherits: false; initial-value: 0; }
:is(body.fx-surf-links-prism .pg-link, body.fx-surf-socials-prism .pg-social, body.fx-surf-widgets-prism .pg-widget) {
  background: linear-gradient(120deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.02) 45%, rgb(255 255 255 / 0.08)) !important;
  -webkit-backdrop-filter: blur(calc(3px + 9px * var(--fx-s))) hue-rotate(calc(60deg + 180deg * var(--fx-s))) saturate(2.2);
  backdrop-filter: blur(calc(3px + 9px * var(--fx-s))) hue-rotate(calc(60deg + 180deg * var(--fx-s))) saturate(2.2);
  border: 1.5px solid hsl(calc(var(--fx-hue) * 1deg) 95% 68%) !important;
  box-shadow: 0 0 22px -6px hsl(calc(var(--fx-hue) * 1deg) 95% 60% / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.25) !important;
  animation: fx-hue 8s linear infinite;
}
@keyframes fx-hue { to { --fx-hue: 360; } }

/* negative: inverts what sits behind it; ink flips to stay readable */
:is(body.fx-surf-links-invert .pg-link, body.fx-surf-socials-invert .pg-social, body.fx-surf-widgets-invert .pg-widget) {
  background: rgb(255 255 255 / 0.04) !important;
  -webkit-backdrop-filter: invert(1) hue-rotate(180deg) blur(calc(1px + 5px * var(--fx-s))) contrast(1.05);
  backdrop-filter: invert(1) hue-rotate(180deg) blur(calc(1px + 5px * var(--fx-s))) contrast(1.05);
  border: 1px solid rgb(0 0 0 / 0.25) !important;
  color: #101016 !important;
  --text-0: #101016; --text-1: #22222b; --text-2: #3a3a46; --text-3: #4c4c5a;
  --icon-color: #101016;
  box-shadow: 0 12px 30px -16px rgb(0 0 0 / 0.6) !important;
}
:is(body.fx-surf-links-invert .pg-link, body.fx-surf-widgets-invert .pg-widget) :is(span, strong, small, p, h3, a, time, li) { color: inherit; }

/* mono tint: the backdrop becomes one colour of your accent */
:is(body.fx-surf-links-mono .pg-link, body.fx-surf-socials-mono .pg-social, body.fx-surf-widgets-mono .pg-widget) {
  background: color-mix(in srgb, var(--fx-accent) calc(14% + 22% * var(--fx-s)), transparent) !important;
  -webkit-backdrop-filter: grayscale(1) blur(calc(4px + 10px * var(--fx-s))) brightness(0.75) contrast(1.1);
  backdrop-filter: grayscale(1) blur(calc(4px + 10px * var(--fx-s))) brightness(0.75) contrast(1.1);
  border: 1px solid color-mix(in srgb, var(--fx-accent) 45%, transparent) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 10px 26px -14px color-mix(in srgb, var(--fx-accent) 60%, transparent) !important;
}

/* smoked: dark tinted glass with grain */
:is(body.fx-surf-links-smoke .pg-link, body.fx-surf-socials-smoke .pg-social, body.fx-surf-widgets-smoke .pg-widget) {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"),
    rgb(8 8 12 / calc(0.4 + 0.4 * var(--fx-s))) !important;
  -webkit-backdrop-filter: blur(calc(6px + 12px * var(--fx-s))) brightness(0.7);
  backdrop-filter: blur(calc(6px + 12px * var(--fx-s))) brightness(0.7);
  border: 1px solid rgb(255 255 255 / 0.08) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 14px 32px -16px rgb(0 0 0 / 0.8) !important;
}

/* pixel glass: the backdrop turns into a mosaic */
:is(body.fx-surf-links-pixel .pg-link, body.fx-surf-socials-pixel .pg-social, body.fx-surf-widgets-pixel .pg-widget) {
  background: rgb(255 255 255 / 0.05) !important;
  -webkit-backdrop-filter: blur(6px) contrast(1.2) saturate(1.4);
  backdrop-filter: blur(6px) contrast(1.2) saturate(1.4);
  backdrop-filter: url(#fx-pixel) saturate(1.4) contrast(1.1);
  border: 2px solid rgb(255 255 255 / 0.3) !important;
  border-radius: 4px !important;
  box-shadow: 4px 4px 0 rgb(0 0 0 / 0.45) !important;
}

/* holographic foil */
:is(body.fx-surf-links-holo .pg-link, body.fx-surf-socials-holo .pg-social, body.fx-surf-widgets-holo .pg-widget) {
  background:
    linear-gradient(115deg, rgb(255 0 170 / 0.2), rgb(0 210 255 / 0.2), rgb(255 240 0 / 0.16), rgb(150 0 255 / 0.22), rgb(255 0 170 / 0.2)) 0 0 / 300% 300% !important;
  -webkit-backdrop-filter: blur(calc(6px + 10px * var(--fx-s))) saturate(1.5);
  backdrop-filter: blur(calc(6px + 10px * var(--fx-s))) saturate(1.5);
  border: 1px solid rgb(255 255 255 / 0.35) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), 0 10px 30px -14px rgb(120 80 255 / 0.5) !important;
  animation: fx-holo 7s linear infinite;
}
@keyframes fx-holo { to { background-position: 300% 0; } }

/* chrome */
:is(body.fx-surf-links-chrome .pg-link, body.fx-surf-socials-chrome .pg-social, body.fx-surf-widgets-chrome .pg-widget) {
  background: linear-gradient(180deg, #f6f7f9 0%, #c9ccd2 34%, #7d838c 50%, #4d525a 52%, #9ba1aa 70%, #e3e6ea 100%) !important;
  border: 1px solid rgb(255 255 255 / 0.7) !important;
  color: #121318 !important;
  --text-0: #121318; --text-1: #1f2128; --text-2: #343842; --text-3: #474c57;
  --icon-color: #121318;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgb(0 0 0 / 0.25), 0 10px 24px -12px rgb(0 0 0 / 0.7) !important;
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.55);
}
:is(body.fx-surf-links-chrome .pg-link, body.fx-surf-widgets-chrome .pg-widget) :is(span, strong, small, p, h3, a, time, li) { color: inherit; }

/* aurora edge: a slow glowing border in the member's accents */
@property --fx-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:is(body.fx-surf-links-aurora .pg-link, body.fx-surf-socials-aurora .pg-social, body.fx-surf-widgets-aurora .pg-widget) {
  background:
    linear-gradient(rgb(12 12 18 / calc(0.8 + 0.15 * var(--fx-s))), rgb(12 12 18 / calc(0.8 + 0.15 * var(--fx-s)))) padding-box,
    conic-gradient(from var(--fx-angle), var(--fx-accent), var(--fx-accent-2), transparent 55%, var(--fx-accent)) border-box !important;
  border: 1.5px solid transparent !important;
  box-shadow: 0 0 22px -6px color-mix(in srgb, var(--fx-accent) 65%, transparent) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fx-aurora 6s linear infinite;
}
@keyframes fx-aurora { to { --fx-angle: 360deg; } }

html[data-motion="low"] :is(.pg-link, .pg-social, .pg-widget) { animation-play-state: paused !important; }

/* ------------------------------------------------------- Spotify widget */
.pg-widget--spotify { overflow: visible !important; }
.pg-widget--spotify:has(.wg-spotify__picker.is-open) { z-index: 30; }
.wg-spotify { display: grid; gap: 10px; min-width: 0; }
.wg-spotify__head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wg-spotify__badge { width: 22px; height: 22px; flex: none; color: #1ed760; display: grid; place-items: center; }
.wg-spotify__badge svg { width: 22px; height: 22px; }
.wg-spotify__label { font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--text-2, rgb(255 255 255 / .65)); }
.wg-spotify__title { margin-left: auto; min-width: 0; font-size: .78rem; font-weight: 600; color: var(--text-0, #fff); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wg-spotify__empty { margin: 0; font-size: .8rem; color: var(--text-2, rgb(255 255 255 / .65)); }

.wg-spotify__picker { position: relative; }
.wg-spotify__current {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px 7px 7px;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / .14);
  background: linear-gradient(140deg, rgb(255 255 255 / .1), rgb(255 255 255 / .03));
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  color: var(--text-0, #fff);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18);
  transition: border-color .2s, background .2s;
}
.wg-spotify__current:hover { border-color: rgb(30 215 96 / .55); }
.wg-spotify__current:focus-visible, .wg-spotify__option:focus-visible { outline: 2px solid #1ed760; outline-offset: 2px; }
.wg-spotify__row { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.wg-spotify__cover { width: 40px; height: 40px; flex: none; border-radius: 9px; overflow: hidden; display: grid; place-items: center; background: rgb(30 215 96 / .14); color: #1ed760; box-shadow: 0 6px 16px -8px rgb(0 0 0 / .7); }
.wg-spotify__cover svg { width: 20px; height: 20px; }
.wg-spotify__cover img { width: 100%; height: 100%; object-fit: cover; }
.wg-spotify__text { display: grid; min-width: 0; line-height: 1.25; }
.wg-spotify__name { font-size: .84rem; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wg-spotify__kind { font-size: .68rem; color: var(--text-2, rgb(255 255 255 / .6)); }
.wg-spotify__count { flex: none; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: .66rem; font-weight: 700; color: #0b1a10; background: #1ed760; }
.wg-spotify__chevron { width: 18px; height: 18px; flex: none; color: var(--text-2, rgb(255 255 255 / .7)); transition: transform .25s; }
.wg-spotify__chevron svg { width: 100%; height: 100%; }
.wg-spotify__picker.is-open .wg-spotify__chevron { transform: rotate(180deg); }

.wg-spotify__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5;
  margin: 0; padding: 6px; list-style: none;
  max-height: 264px; overflow: auto;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / .14);
  background: rgb(16 16 22 / .82);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 24px 48px -18px rgb(0 0 0 / .8), inset 0 1px 0 rgb(255 255 255 / .1);
  animation: wg-spotify-drop .22s ease-out;
}
@keyframes wg-spotify-drop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.wg-spotify__option { position: relative; padding: 6px 30px 6px 6px; border-radius: 11px; cursor: pointer; color: var(--text-0, #fff); }
.wg-spotify__option:hover, .wg-spotify__option:focus { background: rgb(255 255 255 / .08); outline: none; }
.wg-spotify__option[aria-selected="true"]::after { content: ""; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #1ed760; box-shadow: 0 0 10px #1ed760; }

.wg-spotify__stage { position: relative; height: var(--wg-spotify-h, 152px); border-radius: 12px; overflow: hidden; background: rgb(0 0 0 / .25); }
.wg-spotify__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transition: opacity .4s ease; }
.wg-spotify__frame.is-entering { opacity: 0; }

/* --------------------------------------------------------- card banner */
.fx-banner {
  position: absolute; inset: 0 0 auto 0; height: var(--fx-banner-h, 140px);
  z-index: 0; overflow: hidden; pointer-events: none;
  border-top-left-radius: inherit; border-top-right-radius: inherit;
}
.fx-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-banner::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / var(--fx-banner-dim, .15)); }
.fx-banner--fade { -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
.profile-card.has-fx-banner > :not(.fx-banner, .profile-card__sheen, .profile-card__frame) { position: relative; z-index: 1; }

/* ------------------------------------------------------------- arrivals
   Each item animates on its own (transform / opacity / filter only), so the row
   keeps its size and the card never moves. `backwards` holds the first frame
   through the delay and hands the item back to its own styles at the end. */
.fx-reveal > * {
  animation-duration: 0.72s;
  animation-timing-function: cubic-bezier(0.2, 0.9, 0.25, 1.15);
  animation-fill-mode: backwards;
  animation-delay: calc(var(--fx-rev-delay, 0ms) + var(--fx-i, 0) * 70ms);
}
.fx-reveal--cascade > * { animation-name: fx-in-cascade; }
.fx-reveal--pop > * { animation-name: fx-in-pop; }
.fx-reveal--flip > * { animation-name: fx-in-flip; animation-duration: 0.8s; }
.fx-reveal--rise > * { animation-name: fx-in-rise; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); animation-duration: 0.9s; }
.fx-reveal--spin > * { animation-name: fx-in-spin; animation-duration: 0.85s; }
.fx-reveal--gather > * { animation-name: fx-in-gather; animation-timing-function: cubic-bezier(0.22, 1.2, 0.36, 1); animation-duration: 0.9s; animation-delay: calc(var(--fx-rev-delay, 0ms) + var(--fx-i, 0) * 35ms); }
.fx-reveal--glitch > * { animation-name: fx-in-glitch; animation-timing-function: steps(1, end); animation-duration: 0.6s; }
.fx-reveal--wave > * { animation-name: fx-in-wave; animation-timing-function: ease-out; animation-duration: 0.75s; animation-delay: calc(var(--fx-rev-delay, 0ms) + var(--fx-i, 0) * 55ms); }
@keyframes fx-in-cascade { from { opacity: 0; transform: translateY(-28px) scale(0.92); } 62% { opacity: 1; transform: translateY(5px) scale(1); } to { opacity: 1; transform: none; } }
@keyframes fx-in-pop { from { opacity: 0; transform: scale(0) rotate(-24deg); } 68% { opacity: 1; transform: scale(1.18) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes fx-in-flip { from { opacity: 0; transform: perspective(420px) rotateY(95deg) scale(0.9); } 60% { opacity: 1; transform: perspective(420px) rotateY(-14deg); } to { opacity: 1; transform: perspective(420px) rotateY(0); } }
@keyframes fx-in-rise { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fx-in-spin { from { opacity: 0; transform: rotate(-300deg) scale(0.25); } 70% { opacity: 1; transform: rotate(12deg) scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes fx-in-gather { from { opacity: 0; transform: translate(var(--fx-gx, 0), var(--fx-gy, 0)) scale(0.35); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes fx-in-glitch {
  0% { opacity: 0; transform: translateX(-8px) skewX(18deg); filter: hue-rotate(90deg) saturate(3); }
  18% { opacity: 1; transform: translateX(6px) skewX(-10deg); filter: hue-rotate(-60deg) saturate(2.5); }
  34% { opacity: 0.3; transform: translateX(-3px); filter: none; }
  52% { opacity: 1; transform: translateX(3px) skewX(6deg); filter: hue-rotate(40deg); }
  70% { opacity: 0.8; transform: translateX(-1px); filter: none; }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes fx-in-wave { from { opacity: 0; transform: translateY(14px) scale(0.6); } 50% { opacity: 1; transform: translateY(-9px) scale(1.12); } to { opacity: 1; transform: none; } }
html[data-motion="low"] .fx-reveal > * { animation: none !important; }
