/* ==========================================================================================================
   URBAN AERO: PERSONALITY (the personality lane). Every button on the home has a character of its own, snappy (150-400 ms), looping gently
   only while it is hovered (.is-hot from aero.js for the mouse, :hover otherwise), with a press beat on .ae-punch. A selection the keyboard or the pad landed on
   gets one pass of the hover beat (html:not(.ae-mouse) .ae-sel); a block the mouse has left keeps aero.js's neon slab, not the hover art.
   The art it moves is small SVG inside the blocks (web/index.html #lobby-home: the Quick play ball and its streak, the skipping ball, the robot, the two faces, the bars,
   the crown, the Settings knobs). The robot's first life is in ua-home.css; this file loads later and carries the stronger scan, tilt and press.
   Transform, opacity and the individual translate/scale only; prefers-reduced-motion: no motion, the hover art fades in and out instead.
   Linked after ua-home.css, ua-phone.css, ua-views.css; web/ua-fx.js ticks the figures, measures the figure plates for the crown and the skipping ball, lets a ball in flight land, tilts the player card, and ends the wordmark's entrance for good.
   The hooks: data-fx on each block (quick, courts, bot, friends, stats, board, settings), .home-wm, #pcard, #btn-phone, .menu-foot .foot-link, .uv-ball (ua-views.js).
   ========================================================================================================== */
#lobby-home{--fx-spring:cubic-bezier(.2,1.5,.4,1);--fx-snap:cubic-bezier(.2,.9,.25,1);--fx-ink:var(--cp-ink);--fx-neon:var(--cp-main)}      /* Cyan pop: the ink and the accent (cyan) */

/* ---------- the hover art: absolute inside .cnt (nearest the viewer), its own size, never ui.css's 6.5rem tile icon ---------- */
html:not([data-mobile]) #screen-lobby #lobby-home .tile .cnt .fx-art{position:absolute;z-index:2;display:block;width:auto;height:auto;overflow:visible;translate:none;scale:none;rotate:none;transform:translateZ(.94rem);filter:drop-shadow(.15rem .2rem 0 var(--fx-ink))}
html:not([data-mobile]) #screen-lobby #lobby-home .tile:active .cnt .fx-art{scale:none}
html[data-mobile] #lobby-home .fx-art{display:none}
/* the moving parts turn about their own box (ui.css gives every tile svg part the view-box) */
#screen-lobby #lobby-home .tile svg :is(.qp-spin,.qp-shadow,.qp-lines path,.sk-spin,.sk-shadow,.fx-bars .bar,.fx-k1,.fx-k2){transform-box:fill-box;transform-origin:50% 50%}
#screen-lobby #lobby-home .tile svg :is(.qp-ball,.sk-ball){transform-box:fill-box;transform-origin:50% 100%}      /* a squash sits on the contact point */
/* when the mouse leaves, the small loops settle through the spring (the transition starts from the animated value); the two balls in flight carry on to their landing instead (.fx-finish, ua-fx.js) */
#screen-lobby #lobby-home :is(.qp-trav,.qp-hop,.qp-ball,.qp-spin,.sk-ball,.fx-face,.fx-bars .bar,.fx-k1,.fx-k2,#friends-n,.rb-eyes,.rb-mouth,.rb-tip),#lobby-home .pc-streak .st-flame,#btn-phone .pp-ic{transition:transform 240ms var(--fx-spring,cubic-bezier(.2,1.5,.4,1))}
#screen-lobby #lobby-home :is(.qp-shadow,.qp-glint,.qp-lines path){transition:opacity 140ms linear}

/* ======================================================= Quick play: the ball is alive ======================================================= */
/* At rest it stands at the end of its streak as drawn. Hovered, on a 1300 ms loop: it rolls back down the streak, crouches, springs up and forward, lands squashed, hops again and
   lands where it started; the dimples spin with the way it travels, its shadow shrinks while it is in the air, the speed lines flick off each launch and a band of light runs up the
   streak after it. One job per group (web/index.html): .qp-trav along the streak, .qp-hop the arc, .qp-ball the squash, .qp-spin the dimples */
#screen-lobby #lobby-home #btn-quick :is(.qp-glint,.qp-shadow,.qp-lines path){opacity:0}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick .face .tile-art{z-index:2}      /* over the face's gloss band (z 1), which a ball in the air would pass behind; the press .flash still falls after it. At rest the ball is clear of the band: nothing changes */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-trav{animation:fx-qp-trav 1300ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-hop{animation:fx-qp-hop 1300ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-ball{animation:fx-qp-squash 1300ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-spin{animation:fx-qp-spin 1300ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-shadow{animation:fx-qp-shadow 1300ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-glint{animation:fx-qp-glint 1300ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-lines path{animation:fx-qp-line 1300ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-lines .l2{animation-delay:45ms}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-lines .l3{animation-delay:90ms}
/* the keyboard and the pad land on it: one hop on the spot, no loop */
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-quick.ae-sel .qp-hop{animation:fx-qp-beat-y 420ms linear 1}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-quick.ae-sel .qp-ball{animation:fx-qp-beat-s 420ms linear 1}
/* the press: the ball fires off along its path, the streak flares, and a new one rolls in from the streak's start (380 ms: aero.js keeps .ae-punch that long) */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick.ae-punch .qp-trav{animation:fx-qp-fire 380ms linear both}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick.ae-punch .qp-hop{animation:none;transition:none;transform:none}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick.ae-punch .qp-ball{animation:none;transition:none;transform:none}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick.ae-punch .qp-spin{animation:fx-qp-fire-spin 380ms linear both}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick.ae-punch .qp-glint{animation:fx-qp-flare 300ms linear both}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick.ae-punch :is(.qp-shadow,.qp-lines path){animation:none;opacity:0}
@keyframes fx-qp-trav{0%{transform:translate(0,0);animation-timing-function:cubic-bezier(.2,.75,.35,1)}20%,25%{transform:translate(-62px,27px)}58%,62%{transform:translate(-22px,10px)}92%,100%{transform:translate(0,0)}}
@keyframes fx-qp-hop{0%,25%{transform:translateY(0);animation-timing-function:cubic-bezier(.2,.65,.4,1)}41.5%{transform:translateY(-52px);animation-timing-function:cubic-bezier(.6,0,.8,.35)}
  58%,62%{transform:translateY(0);animation-timing-function:cubic-bezier(.2,.65,.4,1)}77%{transform:translateY(-32px);animation-timing-function:cubic-bezier(.6,0,.8,.35)}92%,100%{transform:translateY(0)}}
@keyframes fx-qp-squash{0%,17%{transform:scale(1,1)}21%,25%{transform:scale(1.24,.72)}29%{transform:scale(.86,1.18)}38%,46%{transform:scale(1,1)}55%{transform:scale(.92,1.1)}58%{transform:scale(1.3,.66)}62%{transform:scale(1.14,.82)}65%{transform:scale(.9,1.12)}74%,82%{transform:scale(1,1)}90%{transform:scale(.94,1.07)}92%{transform:scale(1.22,.74)}96%{transform:scale(.96,1.05)}100%{transform:scale(1,1)}}
@keyframes fx-qp-spin{0%{transform:rotate(0deg);animation-timing-function:cubic-bezier(.2,.75,.35,1)}20%,25%{transform:rotate(-230deg)}58%,62%{transform:rotate(110deg)}92%,100%{transform:rotate(360deg)}}
@keyframes fx-qp-shadow{0%{opacity:0;transform:translate(0,0) scale(.8)}10%{opacity:.3}20%,25%{opacity:.34;transform:translate(-62px,27px) scale(1.1)}41.5%{opacity:.12;transform:translate(-42px,18px) scale(.55)}58%,62%{opacity:.36;transform:translate(-22px,10px) scale(1.14)}77%{opacity:.16;transform:translate(-11px,5px) scale(.68)}92%{opacity:.32;transform:translate(0,0) scale(1.08)}100%{opacity:0;transform:translate(0,0) scale(.8)}}
@keyframes fx-qp-glint{0%,12%{opacity:0;transform:translateX(0)}20%{opacity:1}72%{opacity:1;transform:translateX(470px)}80%,100%{opacity:0;transform:translateX(470px)}}
@keyframes fx-qp-line{0%,24%{opacity:0;transform:translateX(20px)}29%{opacity:1}42%{opacity:.7;transform:translateX(-18px)}49%,60%{opacity:0;transform:translateX(-34px)}61%{opacity:0;transform:translateX(20px)}66%{opacity:1}78%{opacity:.6;transform:translateX(-16px)}85%,100%{opacity:0;transform:translateX(-30px)}}
@keyframes fx-qp-beat-y{0%{transform:translateY(0);animation-timing-function:cubic-bezier(.2,.65,.4,1)}45%{transform:translateY(-30px);animation-timing-function:cubic-bezier(.6,0,.8,.35)}85%,100%{transform:translateY(0)}}
@keyframes fx-qp-beat-s{0%{transform:scale(1,1)}10%{transform:scale(.9,1.12)}40%{transform:scale(1,1)}85%{transform:scale(1.2,.76)}100%{transform:scale(1,1)}}
@keyframes fx-qp-fire{0%{transform:translate(0,0);opacity:1;animation-timing-function:cubic-bezier(.3,0,.7,1)}7%{transform:translate(-12px,5px);opacity:1;animation-timing-function:cubic-bezier(.55,0,1,.5)}34%{transform:translate(236px,-103px);opacity:1}
  34.1%,40%{transform:translate(-372px,134px);opacity:0}40.1%{transform:translate(-372px,134px);opacity:1;animation-timing-function:cubic-bezier(.16,.8,.3,1)}100%{transform:translate(0,0);opacity:1}}
@keyframes fx-qp-fire-spin{0%{transform:rotate(0deg);animation-timing-function:cubic-bezier(.55,0,1,.5)}34%{transform:rotate(420deg)}34.1%,40%{transform:rotate(-720deg);animation-timing-function:cubic-bezier(.16,.8,.3,1)}100%{transform:rotate(0deg)}}
@keyframes fx-qp-flare{0%{opacity:0;transform:translateX(70px)}12%{opacity:1}70%{opacity:1;transform:translateX(470px)}100%{opacity:0;transform:translateX(470px)}}

/* ======================================================= Courts: the count pops, a tiny ball skips across ======================================================= */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts:is(.is-hot,:hover) #courts-n:not(.is-off),html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-courts.ae-sel #courts-n:not(.is-off){animation:fx-pop 380ms var(--fx-spring) 1;--tz:1.06rem}      /* (the mouse has :hover; a selection the keyboard or the pad landed on gets the one-shot beats. A block the mouse has left keeps the neon slab, not the hover art) */
html:not([data-mobile]) #screen-lobby #lobby-home .tile .cnt .fx-skip{left:.9rem;top:2.08rem;width:17.65rem;height:2.6rem;opacity:0;transition:opacity 150ms linear;filter:none}      /* (under the figure plate, z 3: the run ends behind it, so no frame covers a digit. --fx-run: the plate's left edge in the strip's own units, measured by ua-fx.js as the plate's width follows the figure) */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .fx-skip{opacity:1;transition-duration:80ms}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .sk-trav{animation:fx-sk-trav 1250ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .sk-hop{animation:fx-sk-hop 1250ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .sk-ball{animation:fx-sk-squash 1250ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .sk-spin{animation:fx-sk-spin 625ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .sk-shadow{animation:fx-sk-shadow 1250ms linear infinite}
#screen-lobby #lobby-home :is(.sk-trav,.sk-shadow){opacity:0}      /* (the run sets them; a run that ends leaves nothing at the strip's start while the strip fades) */
/* (ui.css's old icon loops, frozen there, match every circle and rect in these blocks: #btn-courts:hover circle, #btn-profile:hover rect and their :focus-visible twins. The art here has its own) */
#screen-lobby #lobby-home #btn-courts .fx-skip :is(circle,path){animation:none}
#screen-lobby #lobby-home #btn-profile .fx-bars rect{animation:none}
/* the keyboard and the pad land on it: the ball skips across once */
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-courts.ae-sel .fx-skip{opacity:1}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-courts.ae-sel .sk-trav{animation:fx-sk-trav 1250ms linear 1 both}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-courts.ae-sel .sk-hop{animation:fx-sk-hop 1250ms linear 1}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-courts.ae-sel .sk-ball{animation:fx-sk-squash 1250ms linear 1}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-courts.ae-sel .sk-shadow{animation:fx-sk-shadow 1250ms linear 1 both}
@keyframes fx-pop{0%{transform:translateZ(var(--tz,0rem)) scale(1)}40%{transform:translateZ(var(--tz,0rem)) scale(1.16) rotate(-5deg)}100%{transform:translateZ(var(--tz,0rem)) scale(1)}}
@keyframes fx-sk-trav{0%{transform:translateX(0);opacity:0}5%{opacity:1}96%{opacity:1}100%{transform:translateX(var(--fx-run,190px));opacity:0}}
@keyframes fx-sk-hop{0%{transform:translateY(0);animation-timing-function:cubic-bezier(.2,.65,.4,1)}17%{transform:translateY(-34px);animation-timing-function:cubic-bezier(.6,0,.8,.35)}34%{transform:translateY(0);animation-timing-function:cubic-bezier(.2,.65,.4,1)}
  50%{transform:translateY(-25px);animation-timing-function:cubic-bezier(.6,0,.8,.35)}66%{transform:translateY(0);animation-timing-function:cubic-bezier(.2,.65,.4,1)}83%{transform:translateY(-16px);animation-timing-function:cubic-bezier(.6,0,.8,.35)}100%{transform:translateY(0)}}
@keyframes fx-sk-squash{0%,34%,66%,100%{transform:scale(1.26,.7)}4%,38%,70%{transform:scale(.9,1.12)}14%,48%,80%{transform:scale(1,1)}30%,62%,96%{transform:scale(.92,1.1)}}
@keyframes fx-sk-spin{to{transform:rotate(360deg)}}
@keyframes fx-sk-shadow{0%{transform:translateX(0) scale(1.1);opacity:0}5%{opacity:.3}17%{transform:translateX(calc(var(--fx-run,190px) * .17)) scale(.5);opacity:.12}34%{transform:translateX(calc(var(--fx-run,190px) * .34)) scale(1.1);opacity:.32}50%{transform:translateX(calc(var(--fx-run,190px) * .5)) scale(.62);opacity:.16}66%{transform:translateX(calc(var(--fx-run,190px) * .66)) scale(1.1);opacity:.32}83%{transform:translateX(calc(var(--fx-run,190px) * .83)) scale(.8);opacity:.22}96%{opacity:.3}100%{transform:translateX(var(--fx-run,190px)) scale(1.1);opacity:0}}

/* ======================================================= Play a bot: the robot (the art and its first life are ua-home.css's lines 107-125; here, what is stronger than that) ======================================================= */
/* it reads as a machine: the eyes hold, snap across the visor and hold (at the visor's full width), the antenna's light keeps time, the head tips into the block; pressed, it blinks and pops */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot:is(.is-hot,:hover) .rb-eyes{animation:fx-rb-scan 1500ms cubic-bezier(.6,0,.2,1) infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot:is(.is-hot,:hover) .rb-head,html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-bot.ae-sel .rb-head{transform:rotate(-8deg) translateY(-2px)}
html:not([data-mobile]).ae-mouse #screen-lobby #lobby-home #btn-bot.ae-sel:not(.is-hot):not(:hover) .rb-head{transform:none}      /* (ua-home.css tips it on .ae-sel alone) */
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-bot.ae-sel .rb-eyes{animation:fx-rb-scan 1500ms cubic-bezier(.6,0,.2,1) 1}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot.ae-punch .rb-head{animation:fx-rb-pop 360ms var(--fx-spring)}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot.ae-punch .rb-tip{animation:fx-rb-flash 360ms linear}
@keyframes fx-rb-scan{0%,10%{transform:translateX(0)}22%,44%{transform:translateX(-10px)}56%,80%{transform:translateX(10px)}92%,100%{transform:translateX(0)}}
@keyframes fx-rb-pop{0%{transform:rotate(-8deg) translateY(-2px) scale(1)}25%{transform:rotate(-8deg) translateY(4px) scale(1.1,.86)}60%{transform:rotate(5deg) translateY(-8px) scale(1.2)}100%{transform:rotate(-8deg) translateY(-2px) scale(1)}}
@keyframes fx-rb-flash{0%{transform:scale(1)}30%{transform:scale(1.6)}100%{transform:scale(1)}}

/* ======================================================= Friends: the faces bob, the badge wiggles ======================================================= */
#screen-lobby #lobby-home #btn-friends .fx-face{transform-origin:50% 100%}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-friends:is(.is-hot,:hover) .fx-face-a{--lean:7deg;animation:fx-bob 460ms ease-in-out infinite alternate}      /* they bob in turn, leaning into each other, as if talking */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-friends:is(.is-hot,:hover) .fx-face-b{--lean:-7deg;animation:fx-bob 460ms ease-in-out 230ms infinite alternate}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-friends:is(.is-hot,:hover) #friends-n:not(.is-off){animation:fx-wiggle 420ms ease-in-out infinite alternate}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-friends.ae-sel .fx-face-a{--lean:7deg;animation:fx-bob 230ms ease-in-out 2 alternate}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-friends.ae-sel .fx-face-b{--lean:-7deg;animation:fx-bob 230ms ease-in-out 115ms 2 alternate}
@keyframes fx-bob{from{transform:translateY(0) rotate(0deg)}to{transform:translateY(-.5rem) rotate(var(--lean,5deg))}}
@keyframes fx-wiggle{from{transform:translateZ(1.2rem) rotate(-9deg) scale(1)}to{transform:translateZ(1.2rem) rotate(9deg) scale(1.1)}}

/* ======================================================= Your stats: the W-L ticks up (ua-fx.js), the little bars jump ======================================================= */
html:not([data-mobile]) #screen-lobby #lobby-home .tile .cnt .fx-bars{left:auto;right:.62rem;bottom:1.12rem;top:auto;width:2.45rem;height:1.78rem;opacity:0;transition:opacity 130ms linear}      /* hover only: three bars in the corner the label leaves, at rest the block is the approved figure and label */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-profile:is(.is-hot,:hover) .fx-bars,html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-profile.ae-sel .fx-bars{opacity:1;transition-duration:60ms}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-profile.ae-sel #profile-n:not(.is-off){animation:fx-pop 380ms var(--fx-spring) 1;--tz:1.06rem}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-profile.ae-sel .fx-bars .bar{animation:fx-jump 760ms var(--fx-spring) 1}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-profile.ae-sel .fx-bars .bar:nth-child(2){animation-delay:95ms}
html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-profile.ae-sel .fx-bars .bar:nth-child(3){animation-delay:190ms}
#screen-lobby #lobby-home .tile svg.fx-bars .bar{transform-origin:50% 100%}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-profile:is(.is-hot,:hover) #profile-n:not(.is-off){animation:fx-pop 380ms var(--fx-spring) 1;--tz:1.06rem}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-profile:is(.is-hot,:hover) .fx-bars .bar{animation:fx-jump 760ms var(--fx-spring) infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-profile:is(.is-hot,:hover) .fx-bars .bar:nth-child(2){animation-delay:95ms}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-profile:is(.is-hot,:hover) .fx-bars .bar:nth-child(3){animation-delay:190ms}
@keyframes fx-jump{0%,55%,100%{transform:scaleY(1)}22%{transform:scaleY(1.42)}}

/* ======================================================= Leaderboard: the place bounces, a crown pops ======================================================= */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-leaderboard:is(.is-hot,:hover) #lb-n:not(.is-off),html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-leaderboard.ae-sel #lb-n:not(.is-off){animation:fx-plate-bounce 420ms var(--fx-snap) 1;--tz:1.06rem}
html:not([data-mobile]) #screen-lobby #lobby-home .tile .cnt .fx-crown{left:calc(var(--fx-cx,5rem) - 1.28rem);top:calc(var(--fx-cy,1.41rem) - 1.72rem);width:3rem;height:2.44rem;z-index:4;opacity:0;transform:translateZ(.94rem) scale(0) rotate(-20deg);transition:opacity 120ms linear}      /* perched on the place plate's top-left corner (ua-fx.js measures the plate: its width follows the figure) */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-leaderboard:is(.is-hot,:hover) .fx-crown,html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home #btn-leaderboard.ae-sel .fx-crown{opacity:1;transition-duration:60ms;animation:fx-crown 380ms var(--fx-spring) both}
@keyframes fx-plate-bounce{0%{transform:translateZ(var(--tz,0rem)) translateY(0) scale(1)}30%{transform:translateZ(var(--tz,0rem)) translateY(-.55rem) scale(.95,1.07)}60%{transform:translateZ(var(--tz,0rem)) translateY(0) scale(1.1,.9)}80%{transform:translateZ(var(--tz,0rem)) translateY(-.15rem) scale(.99,1.02)}100%{transform:translateZ(var(--tz,0rem)) translateY(0) scale(1)}}
@keyframes fx-crown{0%{transform:translateZ(.94rem) scale(0) rotate(-28deg)}60%{transform:translateZ(.94rem) scale(1.12) rotate(-8deg)}100%{transform:translateZ(.94rem) scale(1) rotate(-14deg)}}

/* ======================================================= Settings: the icon rattles like the racket and the Inbox's present beside it ======================================================= */
/* owner 2026-11-16: "the settings icon moves differently when u hover over it vs the other two ... match the other two": the whole glyph shakes (the racket's fx-buzz, its 1100 ms beat), no sliding knobs */
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set .cnt svg{transform-origin:50% 55%}
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set:is(.is-hot,:hover) .cnt svg{animation:fx-buzz 1100ms linear infinite}
@keyframes fx-slide-a{from{transform:translateX(0)}to{transform:translateX(-7px)}}
@keyframes fx-slide-b{from{transform:translateX(0)}to{transform:translateX(7px)}}

/* ======================================================= the wordmark: at rest it is the approved mark, the ball in the word's slot ======================================================= */
/* the home's own entrance (ui.css's hm-ball-drop turned on rotate, which about this squash's origin swung the ball under the baseline): a straight drop into the slot, once. ua-fx.js sets .fx-wm-done when it has
   landed, and the class is never taken off, so nothing that re-creates the animation can replay it (a hover ending, Back to home, .is-down going, aero.js holding an entrance under the wipe until the peel).
   Back to home the word simply deals in with its plate (data-in), the page's way: its o is never missing */
#lobby-home .home-wm .logo-ball{transform-origin:50% 100%}
/* the approved mark, lifted: the page's .wordmark filter, its ball on the baseline at the x-height (.585em), and its own SVG (r 41, the 18 ink ring, the lit arc) */
html:not([data-mobile]) #lobby-home .logo-mark.home-wm{align-items:baseline;text-shadow:none;filter:drop-shadow(0 .05em 0 var(--cp-ink))}      /* one hard ink drop for the letters and the ball (NOTES 296; Cyan pop: no soft blur under it) */
html:not([data-mobile]) #lobby-home .logo-mark.home-wm > .logo-ball{width:.6em;height:.6em;margin:0 .03em 0 .02em;box-shadow:none;border-radius:50%;filter:none;
  background:var(--ball-holes) center/100% 100% no-repeat,var(--ball-body) center/100% 100% no-repeat}      /* the logo's seven-hole ball, no shine (ui.css --ball-body / --ball-holes) */
#screen-lobby.is-active #lobby-home .logo-mark.home-wm > .logo-ball{animation:fx-wm-idle 19s linear infinite;transition:translate 200ms var(--fx-snap),scale 200ms var(--fx-spring)}
#screen-lobby.is-active #lobby-home .logo-mark.home-wm:not(.fx-wm-done) > .logo-ball{animation:fx-wm-drop 620ms linear 60ms backwards}
#screen-lobby.is-active #lobby-home .logo-mark.home-wm.fx-wm-done > span:not(.logo-ball){animation:none}      /* (ui.css pops the letters in on every return; the first load keeps the pop) */
html:not([data-mobile]) #screen-lobby.is-active #lobby-home .logo-mark.home-wm.fx-wm-done:hover > .logo-ball{animation:fx-wm-hop 640ms linear infinite}
/* a first visit: ua-home.css restates the old list with !important for .needs-name (its lines 102-103); the same rules, later and one class stronger. Never for reduced motion or a server that is down: at this strength they would beat those kills */
@media (prefers-reduced-motion: no-preference){
  html:not([data-mobile]) #screen-lobby.needs-name.is-active:not(.is-down) #lobby-home .logo-mark.home-wm.home-wm > .logo-ball{animation:fx-wm-idle 19s linear infinite!important}
  html:not([data-mobile]) #screen-lobby.needs-name.is-active:not(.is-down) #lobby-home .logo-mark.home-wm.home-wm:not(.fx-wm-done) > .logo-ball{animation:fx-wm-drop 620ms linear 60ms backwards!important}
  html:not([data-mobile]) #screen-lobby.needs-name.is-active:not(.is-down) #lobby-home .logo-mark.home-wm.home-wm.fx-wm-done:hover > .logo-ball{animation:fx-wm-hop 640ms linear infinite!important}
}
/* and ua-home.css's own two lines must not get through for those two (a server that drops would replay its old drop): the kills, stronger than they are */
html:not([data-mobile]) #screen-lobby.needs-name.is-active.is-down #lobby-home .logo-mark.home-wm.home-wm.home-wm > .logo-ball{animation:none!important}
@media (prefers-reduced-motion: reduce){ html:not([data-mobile]) #screen-lobby.needs-name.is-active #lobby-home .logo-mark.home-wm.home-wm.home-wm > .logo-ball{animation:none!important} }
@keyframes fx-wm-drop{0%{opacity:0;translate:0 -1.4em;animation-timing-function:cubic-bezier(.5,0,1,.6)}18%{opacity:1}55%{opacity:1;translate:0 0;scale:1.12 .86;animation-timing-function:cubic-bezier(.2,.8,.3,1)}75%{translate:0 -.18em;scale:.96 1.04;animation-timing-function:cubic-bezier(.5,0,1,.6)}90%{translate:0 0;scale:1.04 .96}100%{translate:0 0;scale:1}}
/* by itself, every 19 s: one small squash on its contact point inside the x-height, about 450 ms, no travel: the ball never leaves the word */
@keyframes fx-wm-idle{0%,97.6%,100%{scale:1}98.2%{scale:1.09 .9;animation-timing-function:cubic-bezier(.3,.7,.4,1)}99%{scale:.98 1.02}99.6%{scale:1.01 .99}}
/* hovered: it crouches, hops out of the word and lands squashed: a fast rise, a hang, a fall that accelerates */
@keyframes fx-wm-hop{0%{translate:0 0;scale:1 1}8%{translate:0 0;scale:1.14 .84;animation-timing-function:cubic-bezier(.15,.7,.35,1)}16%{translate:0 -.1em;scale:.92 1.1;animation-timing-function:cubic-bezier(.2,.7,.4,1)}46%{translate:0 -.34em;scale:1 1;animation-timing-function:cubic-bezier(.6,0,.85,.4)}76%{translate:0 0;scale:.94 1.08}82%{translate:0 0;scale:1.18 .8;animation-timing-function:cubic-bezier(.2,.8,.4,1)}92%{translate:0 0;scale:.98 1.03}100%{translate:0 0;scale:1 1}}

/* ======================================================= the player card: it tilts like a block (ua-fx.js: --rx/--ry, .is-hot), the flame flickers, the bar shimmers ======================================================= */
html:not([data-mobile]) #lobby-home .pcard.dz-card{transition:translate 60ms linear, transform 220ms var(--fx-spring)}
html:not([data-mobile]) #lobby-home .pcard.is-hot{transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateZ(.5rem) scale(1.0127)}
#lobby-home .pc-streak .st-flame{transform-box:fill-box;transform-origin:50% 100%}
/* the rest of the card answers too: the face leans toward the mouse, the cup gives one hop */
#lobby-home .pc-face{transition:transform 220ms var(--fx-spring)} #lobby-home .pc-tro .cup-ic{transform-origin:50% 100%}
html:not([data-mobile]) #lobby-home .pcard:hover .pc-face{transform:rotate(-5deg) scale(1.05)}
html:not([data-mobile]) #lobby-home .pcard:hover .pc-tro .cup-ic{animation:fx-cup 420ms var(--fx-spring) 1}
@keyframes fx-cup{0%{transform:translateY(0) scale(1,1)}25%{transform:translateY(0) scale(1.14,.84)}55%{transform:translateY(-.35rem) scale(.92,1.1) rotate(-7deg)}100%{transform:translateY(0) scale(1,1)}}
html:not([data-mobile]) #lobby-home .pcard:hover .pc-streak .st-flame{animation:fx-flame 420ms ease-in-out infinite alternate}
#lobby-home .pc-bar::after{content:"";position:absolute;top:0;bottom:0;left:0;width:36%;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.95) 50%,rgba(255,255,255,0));opacity:0;transform:translateX(-120%) skewX(var(--cp-skew))}
html:not([data-mobile]) #lobby-home .pcard:hover .pc-bar::after{animation:fx-shimmer 900ms linear infinite}
@keyframes fx-flame{from{transform:scale(1,1) rotate(-4deg)}to{transform:scale(1.1,.92) rotate(4deg)}}
@keyframes fx-shimmer{0%{opacity:0;transform:translateX(-120%) skewX(var(--cp-skew))}15%{opacity:1}85%{opacity:1}100%{opacity:0;transform:translateX(300%) skewX(var(--cp-skew))}}

/* Sign in, on the card's rank plate: it steps up, a pressed cyan, and squashes under the press */

/* ======================================================= the racket's Connect button (#btn-phone): the racket waggles in the hand; connected, the live dot pulses harder ======================================================= */
#btn-phone .pp-ic{transform-origin:50% 60%;overflow:visible}
#btn-phone .fx-vibe{opacity:0;stroke:var(--cp-main);transform-box:fill-box;transform-origin:50% 50%}      /* (the arcs either side of the phone, in its own svg: they go with the buzz) */
html:not([data-mobile]) #btn-phone:hover .pp-ic{animation:fx-buzz 1100ms linear infinite}
html:not([data-mobile]) #btn-phone:hover .fx-vibe{animation:fx-vibe 1100ms linear infinite}
html:not([data-mobile]):not(.ae-mouse) #btn-phone.ae-sel:not(:hover) .pp-ic{animation:fx-buzz 1100ms linear 1}
html:not([data-mobile]):not(.ae-mouse) #btn-phone.ae-sel:not(:hover) .fx-vibe{animation:fx-vibe 1100ms linear 1}
html:not([data-mobile]) #btn-phone.is-on:hover .pp-live{animation:fx-pulse 480ms ease-in-out infinite alternate}
@keyframes fx-buzz{0%,36%,100%{transform:rotate(0deg) translateX(0) scale(1)}3%{transform:rotate(-11deg) translateX(-1px) scale(1.1)}7%{transform:rotate(11deg) translateX(1px) scale(1.1)}11%{transform:rotate(-10deg) translateX(-1px) scale(1.1)}15%{transform:rotate(10deg) translateX(1px) scale(1.1)}19%{transform:rotate(-9deg) scale(1.08)}23%{transform:rotate(8deg) scale(1.08)}27%{transform:rotate(-6deg) scale(1.05)}31%{transform:rotate(4deg) scale(1.02)}}
@keyframes fx-vibe{0%,38%,100%{opacity:0;transform:scale(.7)}4%{opacity:1;transform:scale(1)}15%{opacity:.5;transform:scale(1.14)}19%{opacity:1;transform:scale(1)}30%{opacity:.6;transform:scale(1.12)}}
@keyframes fx-pulse{from{transform:scale(1)}to{transform:scale(1.4)}}

/* ======================================================= the footer links: a slanted cyan bar (the one -6deg slant) draws in under the word ======================================================= */
:is(.menu-glass,.menu-bg) .menu-foot .foot-link{position:relative;background:none;isolation:isolate;transition:transform 180ms var(--fx-spring,cubic-bezier(.2,1.5,.4,1))}
:is(.menu-glass,.menu-bg) .menu-foot .foot-link::after{content:"";position:absolute;left:-.15em;right:-.15em;bottom:-.3em;height:.3em;z-index:-1;border-radius:.05em;background:var(--cp-main);transform:skewX(var(--cp-skew)) scaleX(0);transform-origin:0 50%;transition:transform 170ms cubic-bezier(.2,.9,.25,1)}
:is(.menu-glass,.menu-bg) .menu-foot .foot-link:focus-visible::after{transform:skewX(var(--cp-skew)) scaleX(1)}
@media (hover:hover){ :is(.menu-glass,.menu-bg) .menu-foot .foot-link:hover{transform:translateY(-.1rem) rotate(-1.2deg)} :is(.menu-glass,.menu-bg) .menu-foot .foot-link:hover::after{transform:skewX(var(--cp-skew)) scaleX(1)} }
:is(.menu-glass,.menu-bg) .menu-foot .foot-link:active{transform:scale(1.04,.9);transition-duration:45ms}

/* ======================================================= the views: chips and the last plain buttons (ua-views.css gives .btn, tabs and rows the lift and the squash) ======================================================= */
:is(.menu-glass,.acct-card,.settings,#screen-match,#views) :is(button,a):is(.chip,.st-chip,.view-chip,.room-chip),.settings #btn-find-sinks{transition:transform 180ms var(--fx-spring,cubic-bezier(.2,1.5,.4,1))}
@media (hover:hover){ :is(.menu-glass,.acct-card,.settings,#screen-match,#views) :is(button,a):is(.chip,.st-chip,.view-chip,.room-chip):not(:disabled):not([aria-disabled="true"]):hover,.settings #btn-find-sinks:not(:disabled):hover{transform:translateY(-.15rem) rotate(-1.5deg) scale(1.04)} }
:is(.menu-glass,.acct-card,.settings,#screen-match,#views) :is(button,a):is(.chip,.st-chip,.view-chip,.room-chip):not(:disabled):active,.settings #btn-find-sinks:not(:disabled):active{transform:scale(1.06,.9);transition-duration:45ms}

/* ---------- the press on the small blocks: its own beat inside the punch (aero.js keeps .ae-punch 380 ms) ----------
   Every beat here has keyframes of its own, never a hover loop's name: an animation that keeps its name keeps its clock, so a loop 2 s old handed a 380 ms timing is over before it starts */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts.ae-punch #courts-n:not(.is-off){animation:fx-p-pop 300ms var(--fx-spring) 1;--tz:1.06rem}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts.ae-punch .fx-skip{opacity:1;transition-duration:0ms}      /* Courts: the ball shoots across in one go */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts.ae-punch .sk-trav{animation:fx-p-zip 380ms cubic-bezier(.4,0,.7,1) 1 both}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts.ae-punch .sk-hop{animation:fx-p-zip-y 380ms linear 1}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts.ae-punch .sk-ball{animation:none}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts.ae-punch .sk-spin{animation:fx-p-zip-spin 380ms linear 1}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-courts.ae-punch .sk-shadow{animation:fx-p-zip-s 380ms cubic-bezier(.4,0,.7,1) 1 both}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-leaderboard.ae-punch #lb-n:not(.is-off){animation:fx-p-bounce 380ms var(--fx-snap) 1;--tz:1.06rem}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-leaderboard.ae-punch .fx-crown{opacity:1;animation:fx-p-crown 360ms var(--fx-snap) both}      /* the crown jumps on its plate */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-friends.ae-punch .fx-face{animation:fx-p-bob 160ms ease-in-out 2 alternate}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-friends.ae-punch #friends-n:not(.is-off){animation:fx-p-wiggle 150ms ease-in-out 2 alternate}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-profile.ae-punch .fx-bars{opacity:1}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-profile.ae-punch .fx-bars .bar{animation:fx-p-jump 360ms var(--fx-spring) 1}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-profile.ae-punch .fx-bars .bar:nth-child(2){animation-delay:60ms} html:not([data-mobile]) #screen-lobby #lobby-home #btn-profile.ae-punch .fx-bars .bar:nth-child(3){animation-delay:120ms}
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set.ae-punch .cnt svg{animation:fx-p-buzz 380ms linear 1}      /* the press: the racket's short shake (owner 2026-11-16) */
html:not([data-mobile]) #btn-phone.ae-punch .pp-ic{animation:fx-p-buzz 380ms linear 1}
html:not([data-mobile]) #btn-phone.ae-punch .fx-vibe{animation:fx-p-vibe 380ms linear 1}
@keyframes fx-p-pop{0%{transform:translateZ(var(--tz,0rem)) scale(1)}40%{transform:translateZ(var(--tz,0rem)) scale(1.18) rotate(5deg)}100%{transform:translateZ(var(--tz,0rem)) scale(1)}}
@keyframes fx-p-zip{0%{transform:translateX(0);opacity:1}92%{opacity:1}100%{transform:translateX(var(--fx-run,190px));opacity:0}}
@keyframes fx-p-zip-y{0%,50%,100%{transform:translateY(0);animation-timing-function:cubic-bezier(.2,.65,.4,1)}25%{transform:translateY(-24px);animation-timing-function:cubic-bezier(.6,0,.8,.35)}75%{transform:translateY(-16px);animation-timing-function:cubic-bezier(.6,0,.8,.35)}}
@keyframes fx-p-zip-spin{to{transform:rotate(720deg)}}
@keyframes fx-p-zip-s{0%{transform:translateX(0) scale(1);opacity:.3}100%{transform:translateX(var(--fx-run,190px)) scale(1);opacity:0}}
@keyframes fx-p-bounce{0%{transform:translateZ(var(--tz,0rem)) translateY(0) scale(1)}30%{transform:translateZ(var(--tz,0rem)) translateY(-.55rem) scale(.95,1.07)}60%{transform:translateZ(var(--tz,0rem)) translateY(0) scale(1.1,.9)}100%{transform:translateZ(var(--tz,0rem)) translateY(0) scale(1)}}
@keyframes fx-p-crown{0%{transform:translateZ(.94rem) scale(1) rotate(-14deg)}30%{transform:translateZ(.94rem) translateY(-.9rem) scale(1.18) rotate(-24deg)}70%{transform:translateZ(.94rem) translateY(.1rem) scale(1.08,.9) rotate(-10deg)}100%{transform:translateZ(.94rem) scale(1) rotate(-14deg)}}
@keyframes fx-p-bob{from{transform:translateY(0)}to{transform:translateY(-.6rem) scale(1.06)}}
@keyframes fx-p-wiggle{from{transform:translateZ(1.2rem) rotate(-12deg) scale(1)}to{transform:translateZ(1.2rem) rotate(12deg) scale(1.2)}}
@keyframes fx-p-jump{0%,100%{transform:scaleY(1)}35%{transform:scaleY(1.5)}}
@keyframes fx-p-slide-a{from{transform:translateX(0)}to{transform:translateX(-7px)}}
@keyframes fx-p-slide-b{from{transform:translateX(0)}to{transform:translateX(7px)}}
@keyframes fx-p-vibe{0%,100%{opacity:0;transform:scale(.7)}10%,70%{opacity:1;transform:scale(1.15)}}
@keyframes fx-p-buzz{0%,100%{transform:rotate(0deg)}12%{transform:rotate(-12deg)}26%{transform:rotate(12deg)}40%{transform:rotate(-10deg)}54%{transform:rotate(10deg)}68%{transform:rotate(-6deg)}82%{transform:rotate(5deg)}}

/* ---------- the ball on a primary button (ua-views.js makes it, ua-views.css runs it): on a neon plate a neon ball was a ghost. Here it is the page's ball, read against anything: the heavy ink ring, ink dimples, a hard ink drop, a hue-shifted side.
   It runs across the plate over the label (owner 2026-11-08; it used to run along the foot, under the words), on Play too. One job per layer, as Quick play's: .uv-ball the run, its <i> the hop and squash (the light and the drop stay where they are), the <i>'s ::before the dimples' spin ---------- */
html:not([data-mobile]) :is(.btn,#btn-quick) > .uv-ball{left:.7rem;bottom:calc(50% - 1.35rem);z-index:5;width:2.1rem;height:2.1rem;pointer-events:none}      /* over the label, through it (owner 2026-11-08: it ran along the foot, under the words) */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick > .uv-ball{left:1.4rem;bottom:calc(50% - 1.9rem);width:3rem;height:3rem;--fx-hop:-1.1rem;translate:0 0 2.4rem}      /* Play lays its pieces out in 3D (the label at translateZ): the ball stands in front of it by depth, not z-index */      /* Play: the same ball, its size */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick > .uv-ball > i{border-width:.26rem;box-shadow:.2rem .26rem 0 var(--ua-outline,var(--cp-ink))}
html:not([data-mobile]) :is(.btn,#btn-quick) > .uv-ball > i{position:relative;overflow:hidden;border:.21rem solid var(--ua-outline,var(--cp-ink));box-shadow:.16rem .2rem 0 var(--ua-outline,var(--cp-ink));
  background:var(--ball-body) 50%/106.4% no-repeat}      /* exactly the logo's ball (owner 2026-11-08: "why does this hover effect use a completely different ball??"): its neon body, no shine; the holes on the ::before */
html:not([data-mobile]) .btn.btn-sm > .uv-ball{left:.3rem;bottom:calc(50% - .9rem);width:1.3rem;height:1.3rem;--fx-hop:-.42rem}
html:not([data-mobile]) .btn.btn-sm > .uv-ball > i{border-width:.15rem;box-shadow:.1rem .12rem 0 var(--ua-outline,var(--cp-ink))}
html:not([data-mobile]) :is(.btn,#btn-quick):disabled > .uv-ball{display:none}
html:not([data-mobile]) :is(.btn,#btn-quick) > .uv-ball > i::before{content:"";position:absolute;inset:0;border-radius:50%;
  background:var(--ball-holes) 50%/106.4% no-repeat}      /* the logo's seven holes (one in the middle, six round it, #768a08 / #96ac0c), the same size on the ball as on the logo's; they turn as it rolls */
@media (hover:hover){ html:not([data-mobile]) :is(.btn,#btn-quick):hover > .uv-ball{animation:fx-uvb-x 1500ms linear infinite} html:not([data-mobile]) :is(.btn,#btn-quick):hover > .uv-ball > i{animation:fx-uvb-y 500ms infinite} html:not([data-mobile]) :is(.btn,#btn-quick):hover > .uv-ball > i::before{animation:fx-uvb-spin 1000ms linear infinite} }
/* pressed: it fires along the foot of the plate in one go, as Quick play's does along its streak (aero.js keeps .ae-punch 380 ms) */
html:not([data-mobile]) :is(.btn,#btn-quick).ae-punch > .uv-ball{animation:fx-uvb-fire 380ms cubic-bezier(.45,0,.75,.4) 1 both} html:not([data-mobile]) :is(.btn,#btn-quick).ae-punch > .uv-ball > i{animation:none;transform:scale(1.24,.76)} html:not([data-mobile]) :is(.btn,#btn-quick).ae-punch > .uv-ball > i::before{animation:fx-uvb-spin 240ms linear infinite}
@keyframes fx-uvb-x{0%{transform:translateX(0) scale(.2);opacity:0}5%{transform:translateX(calc(var(--uvw,10rem) * .05)) scale(1);opacity:1}94%{transform:translateX(calc(var(--uvw,10rem) * .94)) scale(1);opacity:1}100%{transform:translateX(var(--uvw,10rem)) scale(.2);opacity:0}}
@keyframes fx-uvb-y{0%,100%{transform:translateY(0) scale(1.18,.78);animation-timing-function:cubic-bezier(.2,.7,.4,1)}14%{transform:translateY(-.2rem) scale(.96,1.06)}50%{transform:translateY(var(--fx-hop,-.72rem)) scale(1,1);animation-timing-function:cubic-bezier(.6,0,.8,.4)}86%{transform:translateY(-.14rem) scale(.96,1.06)}}
@keyframes fx-uvb-spin{to{transform:rotate(360deg)}}
@keyframes fx-uvb-fire{0%{transform:translateX(0) scale(1);opacity:1}88%{transform:translateX(var(--uvw,10rem)) scale(1);opacity:1}100%{transform:translateX(var(--uvw,10rem)) scale(.2);opacity:0}}

/* ---------- a dimmed home (no name yet, the server down: ui.css greys the blocks): nothing of this plays, the hover art stays hidden ---------- */
#screen-lobby:is(.needs-name,.is-down) #lobby-home :is(.fx-art,.fx-art *,.tile-art *,.tile-sub,#friends-n){animation:none!important}
#screen-lobby.is-down #lobby-home .logo-ball{animation:none!important}      /* (apart: an :is() holding an id counts as that id, which beat even the first visit's !important wordmark rules, so a new player's logo never moved) */
#screen-lobby:is(.needs-name,.is-down) #lobby-home :is(.fx-skip,.fx-crown,.fx-bars){opacity:0!important}
#screen-lobby:is(.needs-name,.is-down) #lobby-home .rb-head{transform:none!important}

/* ======================================================= reduced motion: nothing moves; the hover art shows and hides by opacity alone ======================================================= */
@media (prefers-reduced-motion: reduce){
  #lobby-home :is(.qp-trav,.qp-hop,.qp-ball,.qp-spin,.qp-shadow,.qp-glint,.qp-lines path,.sk-trav,.sk-hop,.sk-ball,.sk-spin,.sk-shadow),#lobby-home .fx-face,#lobby-home .fx-bars .bar,#lobby-home .fx-k1,#lobby-home .fx-k2,#lobby-home .home-set .cnt svg,
  #lobby-home .tile-sub,#lobby-home #friends-n,#lobby-home .logo-ball,#lobby-home .st-flame,#lobby-home .pc-bar::after,#lobby-home .cup-ic,#btn-phone .pp-ic,#btn-phone .pp-live,#btn-phone .fx-vibe{animation:none!important}
  #lobby-home .pc-face{transition:none;transform:none!important}
  #lobby-home :is(.qp-trav,.qp-hop,.qp-ball,.qp-spin,.sk-ball){transition:none;transform:none!important}
  #screen-lobby #lobby-home .sk-trav{opacity:1} #screen-lobby #lobby-home .sk-shadow{opacity:.3}
  html:not([data-mobile]) #screen-lobby #lobby-home .tile .cnt .fx-crown{animation:none!important;transform:translateZ(.94rem) scale(1) rotate(-9deg)}
  html:not([data-mobile]) #lobby-home .pcard.is-hot{transform:none}
  :is(.menu-glass,.menu-bg) .menu-foot .foot-link,:is(.menu-glass,.menu-bg) .menu-foot .foot-link::after{transition:none} :is(.menu-glass,.menu-bg) .menu-foot .foot-link:hover{transform:none}
  :is(.menu-glass,.acct-card,.settings,#screen-match,#views) :is(button,a):is(.chip,.st-chip,.view-chip,.room-chip),.settings #btn-find-sinks{transition:none;transform:none!important}
}
/* (owner 2026-11-12: "can u animate the fire for streak") the streak flame burns: the outer flame sways and stretches from its base, the yellow core flickers faster on its own beat.
   Every two-path flame (the home card, Your stats, a profile card); the small one-path flames in the match list stay still. Reduced motion: still. */
@keyframes st-burn{0%,100%{transform:scale(1,1) skewX(0deg)}20%{transform:scale(1.05,.94) skewX(-4deg)}45%{transform:scale(.96,1.07) skewX(3deg)}70%{transform:scale(1.03,.97) skewX(-2deg)}}
@keyframes st-core{0%,100%{transform:scale(1,1)}25%{transform:scale(.84,1.14)}50%{transform:scale(1.1,.88)}75%{transform:scale(.94,1.06)}}
.st-flame[viewBox="0 0 24 28"] > path{transform-box:fill-box;transform-origin:50% 100%}
.st-flame[viewBox="0 0 24 28"] > path:first-child{animation:st-burn 1.15s ease-in-out infinite}
.st-flame[viewBox="0 0 24 28"] > path:nth-child(2){animation:st-core .62s ease-in-out infinite}
@media (prefers-reduced-motion: reduce){ .st-flame[viewBox="0 0 24 28"] > path{animation:none} }
