/* STEP3270 — Independent motion contract for fixed-page landing heroes.
   Homepage: hero-motion-step3259.css (untouched).
   Fixed pages: this file only. The saved mode values remain compatible with STEP3269.
   Each animation reaches a fully legible, stable final state and never alters inner cards.
*/
.fpsj-settings-hub .fpsj-data-grid--settings .fpsj-data-grid__head h2,
.fpsj-settings-landing .fpsj-data-grid--settings .fpsj-data-grid__head h2,
.fpsj-device-hub .fpsj-data-grid--devices .fpsj-data-grid__head h2,
.fpsj-device-landing .fpsj-data-grid--devices .fpsj-data-grid__head h2 {
  font-size:22px !important;
  line-height:1.2 !important;
  letter-spacing:normal !important;
}
@keyframes fpsjLandingFadeUp {
  0% { opacity:0; transform:translate3d(0,16px,0); }
  72% { opacity:1; }
  100% { opacity:1; transform:translate3d(0,0,0); }
}
@keyframes fpsjLandingSlideIn {
  0% { opacity:0; transform:translate3d(-26px,0,0); }
  70% { opacity:1; }
  100% { opacity:1; transform:translate3d(0,0,0); }
}
@keyframes fpsjLandingSoftZoom {
  0% { opacity:0; transform:scale(.945); }
  72% { opacity:1; }
  100% { opacity:1; transform:scale(1); }
}
/* Scope public motion to landing header only, not homepage or user content. */
.fpsj-landing-hero.fpsj-landing-hero--motion-reveal .fpsj-landing-hero__title {
  animation:fpsjLandingFadeUp .82s cubic-bezier(.22,1,.36,1) both;
  animation-duration:.82s !important;
  animation-iteration-count:1 !important;
}
.fpsj-landing-hero.fpsj-landing-hero--motion-glitch .fpsj-landing-hero__title {
  animation:fpsjLandingSlideIn .86s cubic-bezier(.2,.75,.25,1) both;
  animation-duration:.86s !important;
  animation-iteration-count:1 !important;
}
.fpsj-landing-hero.fpsj-landing-hero--motion-hud .fpsj-landing-hero__title {
  animation:fpsjLandingSoftZoom .96s cubic-bezier(.18,1,.32,1) both;
  animation-duration:.96s !important;
  animation-iteration-count:1 !important;
}
/* OFF is static; no opacity/transform animation rules are assigned. */
/* Separate preview from .fpsj-hero-preview so homepage preview animations
   cannot match fixed-page preview selectors. */
.fpsj-landing-preview {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:42px 18px;
  min-height:130px;
  margin:14px 0 9px;
  color:#f6f9ff;
  background:radial-gradient(ellipse at 50% 5%,rgba(24,62,112,.36),transparent 78%),#050b14;
  border:1px solid #28506c;
  border-radius:12px;
}
.fpsj-landing-preview::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(70,121,188,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(70,121,188,.13) 1px,transparent 1px);
  background-size:32px 32px;
  opacity:.6;
  pointer-events:none;
}
.fpsj-landing-preview__title {
  position:relative;
  z-index:1;
  display:inline-block;
  max-width:100%;
  color:#f6f9ff;
  font-size:clamp(20px,3.6vw,36px);
  font-weight:900;
  line-height:1.15;
  letter-spacing:-.035em;
  overflow-wrap:anywhere;
}
.fpsj-landing-preview.is-playing[data-motion="reveal"] .fpsj-landing-preview__title {
  animation:fpsjLandingFadeUp .82s cubic-bezier(.22,1,.36,1) both;
  animation-duration:.82s !important;
}
.fpsj-landing-preview.is-playing[data-motion="glitch"] .fpsj-landing-preview__title {
  animation:fpsjLandingSlideIn .86s cubic-bezier(.2,.75,.25,1) both;
  animation-duration:.86s !important;
}
.fpsj-landing-preview.is-playing[data-motion="hud"] .fpsj-landing-preview__title {
  animation:fpsjLandingSoftZoom .96s cubic-bezier(.18,1,.32,1) both;
  animation-duration:.96s !important;
}
/* Admin previews run on explicit user selection/replay only.
   A saved public mode remains an explicit opt-in as in STEP3269. */
@media (prefers-reduced-motion:reduce) {
  .fpsj-landing-preview.is-playing:not(.fpsj-preview-motion-authorized) .fpsj-landing-preview__title {
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}

/* STEP3271/3272 — Game Hub pages choose their own values, independent of
   Homepage and the four primary landing pages. STEP3272 fixes a Production-
   observed CSS conflict: theme-ui.css/content-compat.css apply a universal
   0.01ms !important animation-duration when prefers-reduced-motion:reduce.
   The game's saved, explicitly selected motion must have the same duration
   override already used by the primary fixed-page landing hero selectors.
   Keep the OFF mode static and avoid any change to homepage motion. */
.fpsj-game-landing-hero.fpsj-game-landing-hero--motion-reveal .fpsj-game-landing-hero__title {
  animation:fpsjLandingFadeUp .82s cubic-bezier(.22,1,.36,1) both;
  animation-duration:.82s !important;
  animation-iteration-count:1 !important;
}
.fpsj-game-landing-hero.fpsj-game-landing-hero--motion-glitch .fpsj-game-landing-hero__title {
  animation:fpsjLandingSlideIn .86s cubic-bezier(.2,.75,.25,1) both;
  animation-duration:.86s !important;
  animation-iteration-count:1 !important;
}
.fpsj-game-landing-hero.fpsj-game-landing-hero--motion-hud .fpsj-game-landing-hero__title {
  animation:fpsjLandingSoftZoom .96s cubic-bezier(.18,1,.32,1) both;
  animation-duration:.96s !important;
  animation-iteration-count:1 !important;
}
/* OFF requires no animation rule; titles stay fully legible by default. */
