/* Sign-in to dashboard, one motion (2026-11-23).
   The elevator ride: on Sign in the doors close over the hologram, the car
   rides up (light from the passing floors runs down the seam, the floor
   numbers count up), it arrives, and on the dashboard the doors open onto
   Home. The last frame on the sign-in page (#fxCover, doors shut) is the
   first frame of the dashboard, drawn before any script runs.
   Transform and opacity only; the compositor runs it, so a busy page never
   stutters it. Public file: looks only. */
#fxCover { display: none; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; overflow: hidden;
  contain: strict; --or: 253, 107, 13; }
html.fx-hand #fxCover, #fxCover.fx-rest-on, #fxCover.fx-live { display: block; }
#fxCover.fx-armed { visibility: hidden; }
html.fx-hand body { overflow: hidden; }
#fxCover .fx-door { position: absolute; top: 0; bottom: 0; width: 50.2%; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 18%, transparent 82%, rgba(0,0,0,.35)),
    linear-gradient(90deg, #0c0f13, #171b21 55%, #101318); }
#fxCover .fx-door.l { left: 0; box-shadow: inset -1px 0 0 rgba(255,255,255,.08); }
#fxCover .fx-door.r { right: 0; box-shadow: inset 1px 0 0 rgba(255,255,255,.08);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 18%, transparent 82%, rgba(0,0,0,.35)),
    linear-gradient(270deg, #0c0f13, #171b21 55%, #101318); }
/* the edge of each door: a thin line of Action orange */
#fxCover .fx-door::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(var(--or), .75) 30%, rgba(var(--or), .75) 70%, transparent); }
#fxCover .fx-door.l::after { right: 0; }
#fxCover .fx-door.r::after { left: 0; }
/* the company's logo, split down the middle, one half on each door */
#fxCover .fx-logo { position: absolute; top: 46%; width: min(300px, 62vw); aspect-ratio: 420 / 200; margin-top: calc(min(300px, 62vw) * -.238);
  background: var(--fxLogo, none) center / contain no-repeat; opacity: .92; }
#fxCover .fx-door.l .fx-logo { right: calc(min(300px, 62vw) / -2); }
#fxCover .fx-door.r .fx-logo { left: calc(min(300px, 62vw) / -2); }
/* the seam where the doors meet: it glows, and light from the floors
   going past runs down it while the car rises */
#fxCover .fx-seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 200, 150, .9) 20%, rgba(var(--or), 1) 50%, rgba(255, 200, 150, .9) 80%, transparent);
  box-shadow: 0 0 14px 2px rgba(var(--or), .55); }
#fxCover .fx-leak { position: absolute; left: 50%; top: 0; bottom: 0; width: 44px; margin-left: -22px; overflow: hidden; opacity: 0; }
#fxCover .fx-leak i { position: absolute; left: 0; right: 0; top: -100%; height: 200%;
  background: repeating-linear-gradient(180deg, transparent 0 15vh, rgba(255, 214, 170, .0) 15vh, rgba(255, 214, 170, .55) 16vh, rgba(var(--or), .35) 17.5vh, transparent 19vh, transparent 50vh);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%, #000 55%, transparent); mask-image: linear-gradient(90deg, transparent, #000 45%, #000 55%, transparent); }
/* a slow band of floor light across both doors while the car rides */
#fxCover .fx-band { position: absolute; left: 0; right: 0; top: -40vh; height: 40vh; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(var(--or), .07) 45%, rgba(255, 220, 190, .09) 50%, rgba(var(--or), .07) 55%, transparent); }
/* the floor indicator over the doors */
#fxCover .fx-ind { position: absolute; left: 50%; top: max(7vh, 34px); width: 132px; height: 50px; margin-left: -66px; opacity: 0;
  display: flex; align-items: center; justify-content: center; gap: 14px; border-radius: 12px;
  background: linear-gradient(180deg, #07080a, #0d0f12); border: 1px solid #262b33;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 40px -18px rgba(0,0,0,.9);
  font: 600 26px/1 "Space Grotesk", "Geist", system-ui, sans-serif; color: rgb(var(--or)); }
#fxCover .fx-arrow { display: block; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-bottom: 13px solid rgb(var(--or)); filter: drop-shadow(0 0 6px rgba(var(--or), .8)); }
#fxCover .fx-win { display: block; position: relative; width: 36px; height: 26px; overflow: hidden; }
#fxCover .fx-digits { display: block; position: absolute; left: 0; right: 0; top: 0; text-align: center;
  transform: translateY(var(--fxFloor, 0px));
  text-shadow: 0 0 10px rgba(var(--or), .7); font-variant-numeric: tabular-nums; }
#fxCover .fx-digits b { display: block; height: 26px; line-height: 26px; font-weight: 600; }
#fxCover .fx-ding { position: absolute; left: 50%; top: max(7vh, 34px); width: 220px; height: 120px; margin: -35px 0 0 -110px; opacity: 0;
  background: radial-gradient(closest-side, rgba(var(--or), .35), transparent); }
#fxCover .fx-spill { position: absolute; left: 50%; top: 0; bottom: 0; width: 60vw; margin-left: -30vw; opacity: 0;
  background: radial-gradient(50% 60% at 50% 50%, rgba(255, 214, 170, .22), transparent 70%); }
/* the dashboard's first frame: doors shut, the car arrived, the seam glowing softly */
html.fx-hand #fxCover .fx-seam, #fxCover.fx-rest-on .fx-seam { opacity: .85; animation: fxSeam 2.4s ease-in-out var(--fxPh, 0ms) infinite; }
html.fx-hand #fxCover .fx-ind, #fxCover.fx-rest-on .fx-ind { opacity: 1; }
html.fx-hand #fxCover .fx-ding, #fxCover.fx-rest-on .fx-ding { opacity: .55; }
@keyframes fxSeam { 50% { opacity: .55; } }
html.fx-still #fxCover .fx-seam { animation: none; }
