/* ==========================================================================================================
   URBAN AERO: THE HOME'S UI LAYER (the home-ui lane). The approved page is poddle-art/ui/urbanaero/index.html; this file is its wipe (lines 350-357), its CSS lines 86-155
   (plates, blocks, the selection slab, the drop, the press, the figure plates, the live dot, the pointer) and 164-187 (the stack's labels and figures)
   lifted as they are, every px / 17 in rem (the root font-size clamp: 17px at 1440x900), so the composition keeps its share of the window at any
   desktop size. Linked after ui.css: it overrides the home's tiles only (html:not([data-mobile]) #lobby-home :is(.tile,.ua-blk)); the phone home keeps ui.css's.
   Depth: the blocks are real 3D (perspective(560px), preserve-3d, the content at translateZ(30px)); aero.js feeds --rx/--ry, .is-hot, .ae-down,
   .ae-punch, --px/--py (parallax) and places .ua-pointer. Motion is transform and opacity only; no backdrop-filter over the renderer.
   ========================================================================================================== */
#lobby-home,#screen-lobby{--uh-kid-x:27.57vw;--uh-wide:max(0px, calc(100vw - 178vh))}      /* the kid's centre across the window (scene.js KID_HOME); --uh-wide: how far past 16:9 the window runs */
/* Cyan pop (docs/cyanpop/SPEC.md): the home's own tokens point at ui.css's --cp-* set. Ink is every block's outline and hard drop; deep is the outline, drop and text stroke on cyan
   blocks (Play, the selection slab, chosen chips); --uh-neon stays the name of the selection colour, which is cyan now */
#lobby-home{--uh-ink:var(--cp-ink);--uh-ink-2:var(--cp-ink);--uh-cobalt:var(--cp-main);--uh-cobalt-2:var(--cp-main);--uh-sky:var(--cp-main);--uh-sky-hi:var(--cp-haze);--uh-sky-2:var(--cp-haze);--uh-ice:var(--cp-sky-2);
  --uh-glow:var(--cp-main);--uh-live:var(--cp-live);--uh-neon:var(--cp-main);--uh-cyan-hi:var(--cp-shine);--uh-diamond:var(--cp-main);
  --uh-deep:var(--cp-deep);--uh-label:var(--cp-label);--uh-shine:var(--cp-shine);
  --uh-rk-1:#7e4512;--uh-rk-2:#6d7f8c;--uh-rk-3:#b8720a;--uh-rk-4:#1f7a86;--uh-rk-5:#0f7fae;--uh-rk-6:#9b1c3a;--uh-rk-7:#4f23a8;--uh-rk-8:#4a2f8a;      /* each rank's own colour (web/emblems.js RANKS colour.deep): the card's rank pill; keep in step */
  --uh-r:.41rem;--uh-skew:var(--cp-skew);--uh-spring:cubic-bezier(.2,1.5,.4,1);--uh-snap:cubic-bezier(.2,.9,.25,1);--px:0;--py:0}

/* ---------- the depth planes: the UI moves and turns with the cursor (--px/--py: -1..1, smoothed by aero.js); the card and the wordmark on their own depths ---------- */
/* (no scene perspective on the stack: the artifact's .screen perspective never reaches its .stack, which sits inside the flat .ui; each block has its own perspective(), below) */
html:not([data-mobile]) #lobby-home .tiles.dz-ui{transform:translate3d(calc(var(--px) * .59rem), calc(var(--py) * .35rem), 0) rotateY(calc(var(--px) * -4deg)) rotateX(calc(var(--py) * 3deg));transform-style:preserve-3d;will-change:transform}
/* the stack's own box takes no press: its plane turns with the cursor, the blocks lie in that plane, and Chrome's hit test can pick the plane over a block lying on it (a press under the mouse went to .tiles and nothing opened) */
html:not([data-mobile]) #lobby-home .tiles.dz-ui{pointer-events:none}
html:not([data-mobile]) #screen-lobby:not(.is-down) #lobby-home .tiles.dz-ui > .tile{pointer-events:auto}
html:not([data-mobile]) #lobby-home .dz-card{translate:calc(var(--px) * .82rem) calc(var(--py) * .47rem)}
html:not([data-mobile]) #lobby-home .dz-wm{translate:calc(var(--px) * -.35rem) calc(var(--py) * -.24rem)}

/* ---------- the block (.blk): one real 3D stack ---------- */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk){position:relative;display:block;isolation:auto;overflow:visible;border:0;background:none;box-shadow:none;text-align:left;cursor:pointer;
  transform-style:preserve-3d;transform:perspective(32.94rem) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) rotateZ(var(--rz,0deg)) translateZ(var(--z,0rem));rotate:none;translate:none;scale:none;
  transition:transform 200ms var(--uh-spring), opacity var(--d-med) var(--ease-soft);animation:none}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk)::before,html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk)::after,html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk):is(:hover,:focus-visible,:active)::after{content:none;display:none}      /* ui.css's flat face and drop: gone, the stack below is the block */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) > .ae-fx{display:none}      /* the generic punch layer: the block has its own .flash and .slash */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .ua-body{position:absolute;inset:0;display:block;isolation:auto;translate:none;transform-style:preserve-3d;transform-origin:30% 50%;transition:transform 220ms var(--uh-spring)}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) :is(.hl,.drop,.face){position:absolute;inset:0;display:block;border-radius:var(--uh-r)}
/* the one selection highlight: an angled neon slab that slides in, offset down-left, always inside the gap */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .hl{transform:translateZ(-.118rem) skewX(var(--uh-skew))}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .hl::before{content:"";box-sizing:content-box;position:absolute;left:calc(var(--hlx,.82rem) * -1);width:calc(100% - .35rem);bottom:calc(var(--hly,1.06rem) * -1);height:var(--hlh,1.76rem);
  border-radius:.35rem;background:var(--uh-neon);border:.176rem solid var(--uh-deep);box-shadow:inset 0 .176rem 0 var(--uh-shine);
  clip-path:inset(0 100% 0 0);transform:translateX(-1.53rem);transition:clip-path 170ms var(--uh-snap),transform 170ms var(--uh-snap)}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).ae-sel .hl::before,html:not(.ae-on) #screen-lobby #lobby-home :is(.tile,.ua-blk):focus-visible .hl::before{clip-path:inset(-.235rem -.235rem -.235rem -.235rem);transform:none}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).ae-sel,html:not(.ae-on) #screen-lobby #lobby-home :is(.tile,.ua-blk):focus-visible{--dz:-.35rem;--dx:var(--cp-drop-x);--dy:var(--cp-drop-y);--ds:1;--lift-x:0rem;--lift-y:0rem;z-index:2}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick:is(.ae-sel,:focus-visible){--dx:var(--cp-drop-x);--dy:var(--cp-drop-y)}      /* (ui.css's #btn-quick.ae-sel deepened Play's drop to .75 / .875: the one drop here too) */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .drop{background:var(--dr,var(--uh-ink));transform:scale(var(--ds,1)) translateZ(var(--dz,-.235rem)) translate(var(--dx,var(--cp-drop-x)),var(--dy,var(--cp-drop-y))) skewX(var(--uh-skew));transition:transform 200ms var(--uh-spring)}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .face{background:var(--bg,#fff);border:var(--cp-ol) solid var(--ol,var(--uh-ink));transform:skewX(var(--uh-skew));overflow:hidden}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .face::before{content:"";position:absolute;left:.3rem;right:.3rem;top:.26rem;height:.3rem;border-radius:1rem;z-index:1;pointer-events:none;background:var(--shn,var(--uh-shine))}      /* the one thin flat shine band (Cyan pop; --shn: a plate's own tint) */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .face::after{content:"";position:absolute;inset:0;border-radius:.235rem;z-index:1;pointer-events:none;
  box-shadow:none}      /* (the old white top line: a cyan face would show two shines) */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .flash{position:absolute;inset:0;display:block;background:#fff;opacity:0;z-index:2;pointer-events:none}
/* the press slash: one hard white bar with a cyan edge crossing the block diagonally, above the face, under the label */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .slash{position:absolute;left:-4%;width:108%;top:72%;height:1.53rem;margin-top:-.76rem;border-radius:.176rem;pointer-events:none;display:block;
  background:#fff;box-shadow:0 .29rem 0 var(--uh-glow),0 0 .94rem rgba(255,255,255,.9);transform-origin:0 50%;
  transform:translateZ(.82rem) rotate(var(--sa,-16deg)) scaleX(0);opacity:0}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .slash::before,html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .slash::after{content:"";position:absolute;left:12%;width:40%;height:.29rem;border-radius:.15rem;background:#fff;opacity:.85}      /* two streaks ride above and below the bar */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .slash::before{top:-.82rem;left:30%}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .slash::after{bottom:-.76rem;left:6%;width:28%;background:var(--uh-glow)}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt{position:absolute;inset:0;display:block;padding:0;translate:none;transform:translateZ(1.76rem) scale(var(--cs,1));transition:transform 200ms var(--uh-spring);color:var(--fg,var(--uh-ink))}
/* the hot block: it rises toward the viewer, its drop plate falls away, it turns a touch and grows, over its neighbours */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).is-hot{--z:3.41rem;--zs:1.1155;--cs:1.0634;--ds:1;--dx:var(--cp-drop-x);--dy:var(--cp-drop-y);--dz:-1.53rem;--rz:-1.4deg;z-index:3}      /* (Cyan pop: one cartoon drop, the same offset in every state; the lift is the block's own z) */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).is-hot .ua-body{transform:scale(1.02)}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).is-hot .face,html:not([data-mobile]):not(.ae-mouse) #screen-lobby #lobby-home :is(.tile,.ua-blk).ae-sel .face,html:not(.ae-on) #screen-lobby #lobby-home :is(.tile,.ua-blk):focus-visible .face{box-shadow:0 0 0 .22rem var(--cp-glow),0 0 1.5rem var(--cp-glow)}      /* the cyan glow ring (Cyan pop) */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick.is-hot{--z:.94rem;--zs:1.0294;--cs:1.058;--ds:1;--dx:var(--cp-drop-x);--dy:var(--cp-drop-y);--dz:-.82rem}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick.is-hot .ua-body{transform:none}
/* no perspective() on the hot block: Chrome draws a layer under a perspective with stair-stepped corners, edges and text. The same tilt without it stays sharp; --zs, --cs and --ds stand in for the size the lift, the content and the drop plate took from the perspective (560 / (560 - z), z in px). At rest the block keeps the perspective */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).is-hot,html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).is-hot:is(:active,.ae-down){transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) rotateZ(var(--rz,0deg)) translateZ(var(--z,0rem)) scale(var(--zs,1))}
/* press: squash about the centre-left so it never grows past the safe area */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk):is(:active,.ae-down){transform:perspective(32.94rem) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) rotateZ(var(--rz,0deg)) translateZ(var(--z,0rem))}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk):is(:active,.ae-down) .ua-body{transform:scale(1,.88) translateZ(-.7rem);transition:transform 45ms ease-out}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk):is(:active,.ae-down) .drop{transform:scale(var(--ds,1)) translateZ(var(--dz,-.06rem)) translate(.118rem,.176rem) skewX(var(--uh-skew));transition:transform 45ms ease-out}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .slash{display:none}      /* the old diagonal bar: replaced by the sweep below (NOTES 290) */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .flash{background:linear-gradient(90deg,transparent 0 35%,rgba(255,255,255,.9) 35% 65%,transparent 65%) 100% 0/300% 100% no-repeat;opacity:1}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).ae-punch .flash{animation:uh-sweep 230ms cubic-bezier(.3,.1,.25,1)}      /* the press: one solid white panel sweeps across the block, left to right (click lab 3) */
@keyframes uh-sweep{0%{background-position:100% 0}100%{background-position:0 0}}
/* (the page defines a flash and never runs it: the press is the squash and the one hard bar, and the block keeps its colour. .flash stays in the markup, at opacity 0.
   The same on every other button: ui.css's generic punch keeps its slash, its flash only a breath over the face, so a white face and a cobalt one both stay themselves under the bar) */
@keyframes ae-flash{0%,30%{opacity:.14}100%{opacity:0}}
@keyframes uh-slash{0%{opacity:1;transform:translateZ(.82rem) rotate(var(--sa,-16deg)) scaleX(0)}22%{opacity:1;transform:translateZ(.82rem) rotate(var(--sa,-16deg)) scaleX(1)}70%{opacity:1;transform:translateZ(.82rem) rotate(var(--sa,-16deg)) scaleX(1)}100%{opacity:0;transform:translateZ(.82rem) rotate(var(--sa,-16deg)) scaleX(1) translateX(1.76rem)}}
/* a first visit (no name yet): the blocks are the blocks. ui.css's dimming is off them, they hover, tilt and punch like any other (aero.js lets the selection land), and the need shows on the card's name field alone, below.
   .is-down (the server down) keeps ui.css's grey: there it is true */
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home :is(.tile,.ua-blk){opacity:1}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home .pc-name::after{content:"";position:absolute;inset:-.12rem -.3rem -.12rem -.46rem;border-radius:.3rem;border:.176rem solid var(--uh-neon);transform:skewX(var(--uh-skew));pointer-events:none;animation:uh-need 1200ms ease-in-out infinite alternate}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home .pcard::after{content:none}      /* (ui.css's glow round the whole card: the need is the field's alone) */
@keyframes uh-need{from{opacity:.45}to{opacity:1}}
/* ua-fx.css stops every hover beat with !important while .needs-name is set (lines 220-222, which share a rule with .is-down, where they are right). The first screen a new player sees keeps its character: the beats, restated for that state only.
   Drop this block once ua-fx.css scopes those lines to .is-down */
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-trav{animation:fx-qp-trav 1300ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-hop{animation:fx-qp-hop 1300ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-ball{animation:fx-qp-squash 1300ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-spin{animation:fx-qp-spin 1300ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-shadow{animation:fx-qp-shadow 1300ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-glint{animation:fx-qp-glint 1300ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-quick:is(.is-hot,:hover,.fx-finish) .qp-lines path{animation:fx-qp-line 1300ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-courts:is(.is-hot,:hover) #courts-n:not(.is-off){animation:fx-pop 380ms var(--uh-spring) 1!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .fx-skip{opacity:1!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .sk-trav{animation:fx-sk-trav 1250ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .sk-hop{animation:fx-sk-hop 1250ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .sk-ball{animation:fx-sk-squash 1250ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .sk-spin{animation:fx-sk-spin 625ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-courts:is(.is-hot,:hover,.fx-finish) .sk-shadow{animation:fx-sk-shadow 1250ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-bot .fx-robot .rb-eye{animation:uh-rb-blink 4200ms linear infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-bot:is(.is-hot,:hover) .rb-eyes{animation:fx-rb-scan 1500ms cubic-bezier(.6,0,.2,1) infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-bot:is(.is-hot,:hover) .rb-mouth{animation:uh-rb-talk 620ms ease-in-out infinite alternate!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-bot:is(.is-hot,:hover) .rb-tip{animation:uh-rb-tip 460ms ease-in-out infinite alternate!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-bot:is(.is-hot,:hover) .rb-head{transform:rotate(-8deg) translateY(-2px)!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-friends:is(.is-hot,:hover) #friends-n:not(.is-off){animation:fx-wiggle 420ms ease-in-out infinite alternate!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-profile:is(.is-hot,:hover) #profile-n:not(.is-off){animation:fx-pop 380ms var(--uh-spring) 1!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-profile:is(.is-hot,:hover) .fx-bars{opacity:1!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-profile:is(.is-hot,:hover) .fx-bars .bar{animation:fx-jump 760ms var(--uh-spring) infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-profile:is(.is-hot,:hover) .fx-bars .bar:nth-child(2){animation-delay:95ms!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-profile:is(.is-hot,:hover) .fx-bars .bar:nth-child(3){animation-delay:190ms!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-leaderboard:is(.is-hot,:hover) #lb-n:not(.is-off){animation:fx-plate-bounce 420ms var(--uh-snap) 1!important}
html:not([data-mobile]) #screen-lobby.needs-name #lobby-home #btn-leaderboard:is(.is-hot,:hover) .cnt .fx-crown{opacity:1!important;animation:fx-crown 380ms var(--uh-spring) both!important}
html:not([data-mobile]) #screen-lobby.needs-name.is-active #lobby-home .logo-mark.home-wm > .logo-ball{animation:hm-ball-drop 900ms linear 120ms backwards, fx-wm-idle 6200ms linear 2.4s infinite!important}
html:not([data-mobile]) #screen-lobby.needs-name.is-active #lobby-home .logo-mark.home-wm:hover > .logo-ball{animation:fx-wm-hop 560ms var(--uh-snap) infinite!important}

/* ---------- the stack's labels: on a white slanted label plate (ink outline, the small drop), bottom left ---------- */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt > b,html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt .tile-text{position:absolute;left:var(--lx,1.53rem);bottom:var(--lb,1.18rem);top:auto;right:auto;z-index:2;translate:none;transform:none;margin:0}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt .tile-text{display:flex;flex-direction:row;align-items:center;gap:.6rem;text-align:left}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt .tile-text b{position:static;transform:none}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) b{position:relative;display:inline-block;isolation:isolate;z-index:1;white-space:nowrap;font-family:var(--font-display);font-weight:400;font-size:var(--fs,2.35rem);line-height:1;padding:.2em .5em .16em .38em;color:var(--tlc,var(--uh-label));letter-spacing:-.005em;text-shadow:none}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) b::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.35rem;background:var(--tl,var(--cp-panel));transform:skewX(var(--uh-skew));box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--uh-ink),var(--cp-drop-sm)}      /* (Cyan pop: a white label plate, never an ink one) */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) b::after{content:none}
html:not([data-mobile]) #screen-lobby #lobby-home :is(#btn-courts,#btn-bot) b{--tl:#fff;--tlc:var(--uh-ink)}
html:not([data-mobile]) #screen-lobby #lobby-home :is(#btn-friends,#btn-profile,#btn-leaderboard) b{--tl:var(--uh-sky-2);--tlc:var(--uh-ink)}
html:not([data-mobile]) #screen-lobby #lobby-home :is(#btn-courts,#btn-bot,#btn-friends,#btn-profile,#btn-leaderboard) b::before{box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--uh-ink),var(--cp-drop-sm)}
/* Quick play: cyan, the two-line label on a white plate at its left, the ball's streak over the right 58% */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick{--bg:var(--uh-cobalt);--fs:5.18rem;--tl:var(--cp-panel);--tlc:var(--uh-label);--fg:#fff}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick{--lx:2.59rem}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick .cnt > b{left:var(--lx);top:50%;bottom:auto;transform:translateY(-50%);line-height:.94;padding:.16em .5em .2em .34em}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick .cnt > b span{display:block} html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick .cnt > b span + span{padding-left:.3em}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick .face .tile-art{position:absolute;right:0;top:0;width:58%;height:100%;overflow:visible;filter:none;transform:none;z-index:0}
/* Courts and Play a bot: sky faces, their figure plates top right */
html:not([data-mobile]) #screen-lobby #lobby-home :is(#btn-courts,#btn-bot){--bg:var(--uh-sky);--fs:2.47rem;--lb:.94rem;--by:.7rem;--bx:1.06rem}
/* Friends, Your stats, Leaderboard: white faces, sky label plates */
html:not([data-mobile]) #screen-lobby #lobby-home :is(#btn-friends,#btn-profile,#btn-leaderboard){--bg:#fff;--fs:1.47rem;--lx:1.18rem;--lb:1.06rem}
/* the big figure or mark of the block's own, on its own slanted white plate, nearest the viewer */
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt .tile-sub,html:not([data-mobile]) #screen-lobby #lobby-home .tiles[data-n] .tile .cnt .tile-sub{position:absolute;left:auto;bottom:auto;right:var(--bx,1.29rem);top:var(--by,1.06rem);height:auto;z-index:3;display:inline-flex;align-items:center;isolation:isolate;
  transform:translateZ(1.06rem);translate:none;margin:0;border:0;border-radius:0;background:none;font-family:var(--font-display);font-weight:400;font-size:var(--bs,3.29rem);line-height:1;color:var(--uh-label);padding:.12em .36em .08em .3em;white-space:nowrap}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt .tile-sub::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uh-r);background:var(--cp-panel);transform:skewX(var(--uh-skew));box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--uh-ink),var(--cp-drop-sm)}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt .tile-sub b{position:static;display:inline;isolation:auto;margin:0;padding:0;font-size:1em;color:inherit;font-family:var(--font-display);font-weight:400} html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt .tile-sub b::before{content:none}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt .tile-sub.is-fig i{font-style:normal;margin:0;color:inherit}
html:not([data-mobile]) #screen-lobby #lobby-home #courts-n{--bs:3.41rem;font-size:0;padding:.41rem 1.23rem .27rem 1.02rem} html:not([data-mobile]) #screen-lobby #lobby-home #courts-n b{font-size:3.41rem}      /* '14' bare: the word 'open' is the label's job */
html:not([data-mobile]) #screen-lobby #lobby-home #bot-n{--bs:2.35rem}
html:not([data-mobile]) #screen-lobby #lobby-home :is(#profile-n,#lb-n){--bs:2.94rem;--by:1.41rem}
html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt .tile-sub.is-off{opacity:0;scale:.5;visibility:hidden}
/* a dimmed block (no name yet, the server down): the block fades as ui.css has it, its figure stays on its plate */
/* Friends: the two faces top left, the request badge on the second one's shoulder (neon, ink text) */
html:not([data-mobile]) #lobby-home .ua-friends{position:absolute;left:2.35rem;top:1.06rem;display:flex;z-index:2;transform:translateZ(.94rem)}
#lobby-home .ua-friends .fc{display:block;width:3.65rem;height:3.65rem;border-radius:50%;overflow:hidden;border:var(--cp-ol) solid var(--uh-ink);background:var(--pt,var(--cp-sky-2));box-shadow:var(--cp-drop-sm)}      /* (the faces' own --bgc pastels were off the palette: the plate's tint) */
#lobby-home .ua-friends .fc + .fc{margin-left:-.94rem}
#lobby-home .ua-friends .fc img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 12%}      /* the chip is already head-to-waist (locker3d.js portrait, NOTES 372): no zoom on top */
html[data-mobile] #lobby-home .ua-friends{position:absolute;left:.9rem;top:.55rem;display:flex}
html[data-mobile] #lobby-home .ua-friends .fc{width:2.5rem;height:2.5rem;border-width:var(--cp-ol-sm);box-shadow:var(--cp-drop-sm)} html[data-mobile] #lobby-home .ua-friends .fc + .fc{margin-left:-.7rem}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-friends .cnt .tile-line{display:none}      /* the home block: the faces, the badge and the label (the approved picture); who is online is the Friends view's own line */
html:not([data-mobile]) #screen-lobby #lobby-home #friends-n,html:not([data-mobile]) #screen-lobby #lobby-home .tiles[data-n] #friends-n{top:.7rem;right:auto;left:8.35rem;--bs:1.06rem;min-width:1.88rem;height:1.88rem;padding:0 .47rem;display:inline-flex;align-items:center;justify-content:center;color:var(--uh-ink);transform:translateZ(1.2rem)}
html:not([data-mobile]) #screen-lobby #lobby-home #friends-n::before{border-radius:.35rem;background:var(--uh-neon);border:0;box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--uh-deep),var(--cp-drop-deep-sm)}
html:not([data-mobile]) #screen-lobby #lobby-home #friends-n b{color:var(--uh-label)}
html:not([data-mobile]) #screen-lobby #lobby-home #friends-n.is-off{display:none}
/* Play a bot: the robot, top left of the block, over the label (ua-fx.css's .fx-art is its base; the blink, scan and pulse are there too) */
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot .cnt .fx-robot{left:1.7rem;top:.5rem;width:4.3rem;height:4.47rem;z-index:1}      /* (under the label: a bust rising from behind its plate) */
/* the robot's life (the owner's item; the personality lane's ua-fx.css loads later and wins where it adds its own): it blinks at rest; hovered, the eyes scan, the mouth bar pulses, the head tilts, the antenna's light flickers; pressed, it blinks and pops */
html:not([data-mobile]) #screen-lobby #lobby-home .fx-robot :is(.rb-head,.rb-eyes,.rb-eye,.rb-mouth,.rb-tip){transform-box:fill-box;transform-origin:50% 50%}
html:not([data-mobile]) #screen-lobby #lobby-home .fx-robot .rb-head{transform-origin:50% 90%;transition:transform 220ms var(--uh-spring)}
html:not([data-mobile]) #screen-lobby #lobby-home .fx-robot .rb-eye{animation:uh-rb-blink 4200ms linear infinite}
html:not([data-mobile]) #screen-lobby #lobby-home .fx-robot .rb-eye + .rb-eye{animation-delay:30ms}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot:is(.is-hot,:hover,.ae-sel) .rb-head{transform:rotate(-7deg)}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot:is(.is-hot,:hover) .rb-eyes{animation:uh-rb-scan 1500ms ease-in-out infinite}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot:is(.is-hot,:hover) .rb-mouth{animation:uh-rb-talk 620ms ease-in-out infinite alternate}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot:is(.is-hot,:hover) .rb-tip{animation:uh-rb-tip 460ms ease-in-out infinite alternate}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot.ae-punch .rb-head{animation:uh-rb-pop 340ms var(--uh-spring)}
html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot.ae-punch .rb-eye{animation:uh-rb-shut 300ms linear}
@keyframes uh-rb-blink{0%,92%,100%{transform:scaleY(1)}95%,97%{transform:scaleY(.1)}}
@keyframes uh-rb-shut{0%,100%{transform:scaleY(1)}30%,60%{transform:scaleY(.1)}}
@keyframes uh-rb-scan{0%,100%{transform:translateX(0)}25%{transform:translateX(-7px)}42%,58%{transform:translateX(0)}75%{transform:translateX(7px)}}
@keyframes uh-rb-talk{from{transform:scaleX(.62);opacity:.75}to{transform:scaleX(1.12);opacity:1}}
@keyframes uh-rb-tip{from{transform:scale(1)}to{transform:scale(.72)}}
@keyframes uh-rb-pop{0%{transform:rotate(-7deg) scale(1)}35%{transform:rotate(4deg) scale(1.16)}100%{transform:rotate(-7deg) scale(1)}}
/* the live count plate at Quick play's top right: the pulsing dot and the real number online (aero.js mirrors #lobby-online) */
html:not([data-mobile]) #screen-lobby #lobby-home .ua-live{position:absolute;right:2.35rem;top:1.29rem;z-index:3;display:inline-flex;align-items:center;gap:.65rem;isolation:isolate;transform:translateZ(.94rem);
  font-family:var(--font-display);font-weight:400;font-size:1.41rem;line-height:1;padding:.53rem 1.06rem .47rem .94rem;color:var(--uh-label);transition:opacity var(--d-med) var(--ease-soft), scale var(--d-med) var(--ease-bounce)}
html:not([data-mobile]) #screen-lobby #lobby-home .ua-live::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uh-r);background:var(--cp-panel);transform:skewX(var(--uh-skew));box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--uh-ink),var(--cp-drop-sm)}      /* (Cyan pop: white, never an ink plate) */
html:not([data-mobile]) #screen-lobby #lobby-home .ua-live b{position:static;display:inline;isolation:auto;padding:0;margin:0;font-size:1em;font-weight:400;color:inherit} html:not([data-mobile]) #screen-lobby #lobby-home .ua-live b::before{content:none}
html:not([data-mobile]) #screen-lobby #lobby-home .ua-live.is-off{opacity:0;scale:.5;visibility:hidden}
#lobby-home .live{position:relative;display:block;width:.82rem;height:.82rem;border-radius:50%;background:var(--uh-live);box-shadow:none}
#lobby-home .live::after{content:"";position:absolute;inset:-.118rem;border-radius:50%;border:.118rem solid var(--uh-live);animation:uh-ping 1.2s cubic-bezier(.2,.7,.3,1) infinite}
@keyframes uh-ping{from{transform:scale(1);opacity:.9}to{transform:scale(2.6);opacity:0}}
html[data-mobile] .ua-live{display:none}

/* ---------- the teardrop pointer: a neon leaf on the selected block's own top-left corner, bobbing, gliding with the spring (aero.js: --ptx/--pty from layout) ---------- */
#lobby-home .ua-pointer{position:absolute;z-index:30;width:3.18rem;height:3.18rem;left:0;top:0;pointer-events:none;opacity:0;
  transform:translate(calc(var(--ptx,0px) + var(--px) * .59rem),calc(var(--pty,0px) + var(--py) * .35rem));transition:transform 200ms var(--uh-spring), opacity 120ms}
#lobby-home .ua-pointer,#lobby-home .ua-pointer.is-on{display:none}      /* off (owner 2026-11-08: "get rid of this teardrop pointer on hover"); aero.js still places it, harmlessly */
#lobby-home .ua-pointer svg{display:block;width:100%;height:100%;overflow:visible;transform:rotate(135deg);animation:uh-bob 700ms ease-in-out infinite alternate;filter:drop-shadow(.235rem .29rem 0 var(--uh-ink))}
@keyframes uh-bob{to{transform:rotate(135deg) translateY(-.29rem)}}

/* ---------- Settings: the artifact's set-btn, a white block of its own (66 x 72 px at 42 / 56), the same stack ---------- */
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set{position:absolute;right:2.47rem;top:3.3rem;width:3.9rem;height:4.25rem;z-index:3;padding:0;margin:0;color:var(--uh-label);--bg:#fff;--spec:.3;
  transition:transform 200ms var(--uh-spring)}
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set .cnt{display:flex;align-items:center;justify-content:center;padding:0}
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set .cnt svg{position:static;width:2rem;height:2rem;filter:none;transform:none;translate:none;fill:none;stroke:var(--uh-deep);stroke-width:2.6;stroke-linecap:round}
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set .cnt svg circle{fill:#fff}
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set .cnt{transform:translateZ(.02rem)}      /* (owner 2026-11-17) the glyph sits on the face, not 1.76rem in front of it: no parallax inside the block, as the Connect and Inbox plates beside it (ua-phone.css: flat) */
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set:focus-visible{outline:0}
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set .hl::before{--hlx:.5rem;--hly:.7rem;--hlh:1.1rem}
html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set.is-hot{--z:1.2rem;--zs:1.0378;--cs:1.0587;--ds:1;--dx:var(--cp-drop-x);--dy:var(--cp-drop-y);--dz:-.6rem}

/* ---------- the player card: the artifact's .pcard (lines 189-212) at /17: an ink plate 510 x 128 with the inset white ring and the top-half highlight; the disc (100 px, a 4 px white
   ring and a 3 px ink-2 ring) with the kid's own face; row 1 the name (Days One 34 px), the cup with the trophies, the flame with the streak; row 2 the rank plate over the
   division bar with its notches (thirds). A guest keeps both rows: 0 trophies, the streak, and 'Sign in' on the rank plate's own cobalt plate beside the empty track ('Unranked' with no sign-in to offer) ---------- */
#lobby-home .pcard,#lobby-home .pcard:has(#btn-home-acct[hidden]),#lobby-home .pcard:not(.is-acct){width:30rem;height:7.53rem;min-width:0;gap:.7rem;padding:.7rem 1.76rem .7rem 7.76rem;transition:translate 60ms linear}
#screen-lobby #lobby-home .pc-name .field{height:2rem;padding:0 .2rem;margin-left:-.2rem;width:calc((100% + .2rem) / var(--name-k,1));scale:var(--name-k,1);transform-origin:0 50%}      /* --name-k: a long name drawn smaller as a whole so it fits (ui.js fitName, NOTES 299) */ #screen-lobby #lobby-home .pc-name .field::placeholder{font-family:var(--font-display);font-weight:400;font-size:1.65rem}      /* the name is 34 px tall as drawn, flush with the rank plate under it */
#lobby-home .pcard::before{background:#fff;box-shadow:inset 0 0 0 var(--cp-ol) var(--uh-ink),inset 0 .47rem 0 var(--uh-shine),var(--cp-drop)}      /* Cyan pop: the card is a white block like the others (the target's card): its outline, its shine line and its hard drop */
#lobby-home .pcard{color:var(--uh-label)}
#screen-lobby #lobby-home .pc-name .field{color:var(--uh-label)} #screen-lobby #lobby-home .pc-name .field::placeholder{color:rgba(var(--cp-ink-rgb),.5)}
@media (hover:hover){ #screen-lobby #lobby-home .pc-name .field:hover{background:rgba(var(--cp-main-rgb),.1)} }
#screen-lobby #lobby-home .pc-name .field:focus,#screen-lobby.needs-name #lobby-home .pcard .field{background:rgba(var(--cp-main-rgb),.12)}
#screen-lobby #lobby-home .pc-name .field:read-only,#screen-lobby #lobby-home .pc-name .field:read-only:is(:hover,:focus){background:none;box-shadow:none;caret-color:transparent;user-select:none;-webkit-user-select:none}      /* (owner 2026-11-15) the name is never typed here: no field tint, no caret; a press opens Your stats */
#lobby-home .pcard:not(.is-acct) .pc-r1{padding-right:0}      /* ui.css kept room for the old corner pill: Sign in is on row 2 now */
#lobby-home .pc-disc{position:absolute;left:1.18rem;top:.82rem;width:5.88rem;height:5.88rem;border-radius:50%;border:.235rem solid #fff;box-shadow:0 0 0 var(--cp-ol) var(--uh-ink-2),var(--cp-drop-sm-x) var(--cp-drop-sm-y) 0 var(--cp-ol) var(--cp-ink);background:linear-gradient(180deg,var(--uh-sky-2),var(--uh-sky));overflow:hidden;transition:scale 160ms var(--uh-spring),box-shadow 120ms}
#lobby-home .pc-face{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
#lobby-home .pc-disc .pc-me{position:absolute;inset:0;left:0;top:0;width:100%;height:100%;display:block;padding:0;border:0;border-radius:50%;background:none;box-shadow:none;scale:none;cursor:pointer}
#lobby-home .pc-disc .pc-me > *{display:none}      /* the person glyph and the emblem: the face is the disc, the rank has its plate */
/* (owner 2026-11-16, NOTES 615) no hover of its own: the disc does what a press on the card does */
#lobby-home .pc-disc .pc-me:focus-visible{outline:0} #lobby-home .pc-disc:has(.pc-me:focus-visible){box-shadow:0 0 0 var(--cp-ol) var(--uh-ink-2),0 0 0 .41rem var(--cp-glow),var(--cp-drop-sm-x) var(--cp-drop-sm-y) 0 var(--cp-ol) var(--cp-ink)}
#lobby-home .pc-tro .cup-ic{width:1.53rem;height:1.53rem;stroke:var(--cp-cup);stroke-width:2.2} #lobby-home .pc-tro .cup-ic .cup-c{fill:var(--cp-cup);stroke:none} #lobby-home .pc-tro .cup-ic :is(.cup-s,.cup-b){fill:var(--cp-cup-num);stroke:none} #lobby-home .pc-tro .cup-ic .cup-h{fill:none;stroke:var(--cp-cup)}      /* the trophy in gold (owner 2026-11-08), its stem and base a hue-shifted amber */
#lobby-home .pc-streak .st-flame{width:1.53rem;height:1.76rem;overflow:visible;fill:none;stroke:none;filter:none}
#lobby-home .pcard b{font-weight:400}      /* the figures are <b> in Days One: its one weight, never the browser's faux bold */
#lobby-home .pc-tro,#lobby-home .pc-streak{flex:none;display:inline-flex;align-items:center;gap:.47rem;font-size:1.65rem} #lobby-home .pc-tro{color:var(--cp-cup-num)} #lobby-home .pc-streak{color:var(--cp-flame-num)} #lobby-home .pc-tro{margin-left:auto} #lobby-home .pc-streak{gap:.35rem}
#lobby-home .pcard:is(.is-guest,:has(#btn-home-acct[hidden]),.is-acct) :is(#home-tro,#home-streak)[hidden]{display:inline-flex!important}      /* a known guest's real figures (and a player's 0 streak): profile.js writes the zeros and only hides the chips; the approved card always shows both. Never before /api/me answers: a 0 must not flash on a player who has trophies */
#lobby-home .pc-rank{position:relative;right:auto;bottom:auto;flex:none;isolation:isolate;padding:.35rem .76rem .29rem .65rem;border:0;background:none;font-family:var(--font-display);font-weight:400;font-size:1.06rem;line-height:1;color:#fff;white-space:nowrap;cursor:pointer}
#lobby-home .pc-rank::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uh-r);background:var(--uh-cobalt-2);transform:skewX(var(--uh-skew));box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--uh-deep),var(--cp-drop-deep-sm)}
#lobby-home #home-r2:not([hidden]) ~ .pc-r2-in{display:none}      /* a ladder row: the guest row folds away */
#lobby-home .pc-unr{display:none;cursor:default} #lobby-home .pcard:is(.is-guest,:has(#btn-home-acct[hidden]),.is-acct) .pc-unr{display:block}      /* no ladder row (a guest, accounts off, or an account with no trophies yet): Unranked on the same plate. Never before /api/me answers: only the empty track until then */
#lobby-home .pcard:has(#btn-home-acct[hidden]):not(.is-acct) :is(.pc-unr,#home-tro,#home-streak){animation:uh-known 1ms 1500ms both}      /* the account button is also hidden until /api/me answers (profile.js: en is false until then), so wait before believing it means accounts off: no false 0 or Unranked on a player who has a rank */
@keyframes uh-known{from{visibility:hidden}to{visibility:visible}}
/* a guest's Sign in (NOTES 697, index.html #btn-top-in): the corner blocks' plate (inbox.css #btn-inbox: white face, ink outline, hard ink drop, the slant), wide, Google's G and the words; left of Connect.
   html[data-signin] (profile.js drawAcct) steps the wordmark left by its width. A guest has no Inbox, so the two never meet */
#btn-top-in{position:absolute;right:calc(2.47rem + 9.6rem);top:3.3rem;width:9.4rem;height:4.25rem;z-index:3;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;margin:0;padding:0;min-width:0;min-height:0;border:0;background:none;box-shadow:none;
  isolation:isolate;cursor:pointer;color:var(--cp-ink);text-shadow:none;font-family:var(--font-display);font-weight:400;font-size:1.4rem;line-height:1;letter-spacing:0;text-transform:none;white-space:nowrap;
  --bf:#fff;--bdx:var(--cp-drop-x);--bdy:var(--cp-drop-y)}      /* its hover tilt and press squash are the corner blocks' own (ua-phone.css, aero.js HOT) */
#btn-top-in[hidden]{display:none}
#btn-top-in::before{content:"";position:absolute;inset:0;z-index:-1;border:0;border-radius:var(--uh-r);background:var(--bf);transform:skewX(var(--cp-skew));box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink);transition:box-shadow 170ms var(--uh-snap)}
#btn-top-in::after{content:"";position:absolute;inset:0;z-index:-2;border-radius:var(--uh-r);background:var(--cp-ink);transform:translate(var(--bdx),var(--bdy)) skewX(var(--cp-skew));transition:transform 200ms var(--uh-snap)}
#btn-top-in .shn{position:absolute;left:calc(var(--cp-ol) + .3rem);right:calc(var(--cp-ol) + .3rem);top:calc(var(--cp-ol) + .26rem);height:.3rem;border-radius:1rem;background:var(--cp-shine);transform:skewX(var(--cp-skew));pointer-events:none}
#btn-top-in .g-logo{width:1.75rem;height:1.75rem;flex:none}
#btn-top-in:hover::before,#btn-top-in:focus-visible::before{box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink),0 0 0 .3rem var(--cp-glow),0 0 1.5rem rgba(var(--cp-main-rgb),.65)}
#btn-top-in:is(:active,.ae-down){--bf:var(--cp-sky-2);--bdx:0rem;--bdy:0rem;transition-duration:45ms}
#btn-top-in:focus-visible{outline:0}
@media (min-width:981px) and (min-aspect-ratio: 601/500){
  html:not([data-mobile]) #screen-lobby #lobby-home #btn-top-in{right:calc(var(--hb-gut) + 9.6rem);top:var(--hb-top)}
  html[data-signin]:not([data-mobile]) #screen-lobby #lobby-home .home-wm{right:calc(var(--hb-gut) + 8.7rem + 1.6rem + 10.3rem)}
}
@media (max-width:980px), (max-aspect-ratio: 6/5){
  html[data-signin]:not([data-mobile]) #lobby-home .home-top{grid-template-columns:1fr auto auto auto;grid-template-areas:"wm in phone set" "card card card card"}
  html:not([data-mobile]) #lobby-home #btn-top-in{position:relative;right:auto;top:auto;grid-area:in;width:7.6rem;height:3.5rem;font-size:1.15rem;gap:.45rem}
  html:not([data-mobile]) #lobby-home #btn-top-in .g-logo{width:1.45rem;height:1.45rem}
}
html[data-mobile] #btn-top-in{display:none}
#lobby-home .pc-bar{height:.94rem;border-radius:.176rem;background:rgba(var(--cp-ink-rgb),.14);box-shadow:none} #lobby-home .pc-bar-off i{width:0}
#lobby-home .pc-bar i{background:var(--cp-main);box-shadow:none}      /* the progress: flat cyan; the notches below cut it into three segments in the card's white (Cyan pop) */
.pc-bar .notch{position:absolute;top:-.06rem;bottom:-.06rem;width:.3rem;margin-left:-.15rem;background:#fff;z-index:2;display:block}      /* a straight cut: it leans with the bar, parallel to its ends (one slant, no pinched bowtie) */

/* ---------- the footer on the home: every link stays (legal), quiet: one thin slanted ink strip (the set-up screens' footer chips) with white type, no outline, at the window's bottom right, the Product Hunt link a small
   white plate at its end (plain text: their badge is a stock pink pill, and the link is what the launch needs). .menu-foot's own box is transparent and takes no press: the phone plate stands over its left end ---------- */
html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot{height:auto;min-height:2.75rem;padding:.2rem calc(.7rem + var(--uh-wide,0px) * .72) .3rem 1.2rem;gap:.35rem;flex-wrap:nowrap;align-items:center;justify-content:flex-end;background:none;border:0;box-shadow:none;pointer-events:none}
html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot::before,html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot::after{content:none}
html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .foot-home{position:relative;isolation:isolate;flex:0 1 auto;margin-left:auto;max-width:100%;padding:.34rem .7rem .32rem .7rem;column-gap:.46rem;row-gap:.1rem;justify-content:flex-end;pointer-events:auto}
html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .foot-home::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uh-r,.41rem);background:var(--cp-panel);transform:skewX(var(--cp-skew));box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink),var(--cp-drop-sm)}
html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .foot-link,html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .foot-link.foot-legal{color:var(--cp-label);font-family:var(--font-display);font-size:max(.6rem,10px);font-weight:400;line-height:1.2;opacity:1;text-shadow:none;white-space:nowrap}
html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .ph-badge{position:relative;inset:auto;isolation:isolate;flex:none;display:inline-flex;align-items:center;padding:.34rem .74rem .32rem .68rem;color:var(--cp-label);font:400 max(.6rem,10px)/1.2 var(--font-display);text-decoration:none;white-space:nowrap;opacity:1;pointer-events:auto;transition:transform 180ms var(--uh-spring,cubic-bezier(.2,1.5,.4,1))}
html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .ph-badge::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uh-r,.41rem);background:#fff;box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink),var(--cp-drop-sm);transform:skewX(var(--cp-skew))}
html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .ph-badge::after{content:"Product Hunt" / ""}
html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .ph-badge img{position:absolute;width:1px;height:1px;opacity:0}      /* (kept: its alt names the link) */
@media (hover:hover){ html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .ph-badge:hover{transform:translateY(-.1rem) rotate(-1.2deg)} }
@media (max-width:980px), (max-aspect-ratio: 6/5){ html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .foot-home{justify-content:center} }
html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot .ph-badge:focus-visible{outline:.176rem solid var(--cp-main);outline-offset:.176rem}
/* at the page's own proportions the phone plate shares this band: the strip stays to its right, wrapping if it must. Under about 3:2 the plate stands higher (the kid follows the rem, scene.js homeFit) and the strip has the whole width */
@media (min-aspect-ratio: 3/2) and (min-width:981px){ html:not([data-mobile]) #screen-lobby[data-view="home"] .menu-foot{padding-left:calc(var(--uh-kid-x,27.57vw) + 9.7rem)} }

/* ---------- the plate under the kid: the slot stands where his disc ends, on his centre (the artifact's Locker plate: 812 / 900 px down; the phone lane's plate lives in it). He stands by the same numbers (scene.js KID_HOME and homeFit):
   across, a share of the width; down, a share of the height until rem is the narrower side, then a share of 52.94rem. So the plate follows him at any window and rides his depth plane (the page's .dz-kid: -54 / -18 px) ---------- */
html:not([data-mobile]) #screen-lobby #lobby-home #home-kid-slot{position:absolute;left:var(--uh-kid-x);top:calc(min(100vh,52.94rem) * .9022);width:0;height:0;overflow:visible;z-index:4;pointer-events:none;translate:calc(var(--px) * -.6rem) calc(var(--py) * -.2rem)}      /* a light parallax: the plate stays under the kid (it slid 3.18rem before, NOTES 290) */
/* a narrow or upright desktop window (ui.css stacks the home, the blocks take the width): the stack slides with the cursor but no longer turns (a turn pushed its near edge past the window's edge), the pointer and the kid's slot stay off */
@media (max-width:980px), (max-aspect-ratio: 6/5){
  html:not([data-mobile]) #lobby-home .ua-kid-slot,#lobby-home .ua-pointer{display:none}
  html:not([data-mobile]) #lobby-home .tiles.dz-ui{transform:translate3d(calc(var(--px) * .35rem), calc(var(--py) * .2rem), 0)}
  html:not([data-mobile]) #lobby-home .dz-card,html:not([data-mobile]) #lobby-home .dz-wm{translate:none}
  html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set{position:relative;right:auto;top:auto;grid-area:set}
  /* ui.css's stacked card (under the wordmark, the column's width), restated at this file's specificity */
  #lobby-home .pcard,#lobby-home .pcard:has(#btn-home-acct[hidden]),#lobby-home .pcard:not(.is-acct){width:100%;height:6.2rem;padding:.5rem 1.25rem .5rem 6.4rem;gap:.4rem}
  #lobby-home .pc-disc{width:4.8rem;height:4.8rem;left:.9rem;top:.7rem}
  /* the blocks are wide here: the depth that reads as a lift on a 744 px block would throw a 980 px block's edges off its own face and out of the window */
  html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .cnt{transform:translateZ(.4rem) scale(var(--cs,1))}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).is-hot{--z:.6rem;--zs:1.0186;--cs:1.0125;--ds:1;--dx:var(--cp-drop-x);--dy:var(--cp-drop-y);--dz:-.7rem;--rz:-.5deg}
  html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick.is-hot{--cs:1.0124}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).is-hot .ua-body{transform:none}
  /* ui.css's smaller labels and figures for the stacked layout, restated at this file's specificity (the content at translateZ grows ~5% under the block's perspective: the label keeps a 2rem inset) */
  html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick{--fs:3.6rem;--lx:2rem}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(#btn-courts,#btn-bot){--fs:1.9rem}
  html:not([data-mobile]) #screen-lobby #lobby-home #courts-n b{font-size:2.6rem} html:not([data-mobile]) #screen-lobby #lobby-home #courts-n{padding:.31rem .94rem .21rem .78rem}
  html:not([data-mobile]) #screen-lobby #lobby-home #bot-n{--bs:1.9rem} html:not([data-mobile]) #screen-lobby #lobby-home :is(#profile-n,#lb-n){--bs:2.2rem;--by:1rem}
}
/* ---------- a window the home's half split fits (the kid on the left, the stack on the right). The stack keeps its width in rem and takes the height at the page's shares (top 180, bottom 820 of 900), so it ends at the same
   margin from the window's foot at any proportion: the rows share what is there by the page's 270 : 150 : 150. Past 16:9 the stack, the card, Settings and the wordmark step in toward the centre, so the pair stays a pair ---------- */
@media (min-width:981px) and (min-aspect-ratio: 601/500){
  html:not([data-mobile]) #lobby-home .tiles,html:not([data-mobile]) #lobby-home .tiles[data-n]{right:calc(2.35rem + var(--uh-wide) * .72)}
  html:not([data-mobile]) #lobby-home .tiles:is([data-n="5"],[data-n="6"]){height:calc(91.1vh - 10.6rem);grid-template-rows:15.9fr 8.8fr 8.8fr}
  html:not([data-mobile]) #lobby-home .tiles:is([data-n="5"],[data-n="6"]) .tile,html:not([data-mobile]) #lobby-home .tiles:is([data-n="5"],[data-n="6"]) #btn-quick{height:auto;min-height:0}
  /* a row taller than the page's (a window narrower than 16:10): the block's figure and label keep their distance from each other, as drawn, centred in the height the row gained */
  html:not([data-mobile]) #lobby-home .tiles:is([data-n="5"],[data-n="6"]){--uh-dh:max(0px, calc(((91.1vh - 14.8rem) * .2627 - 8.8rem) / 2))}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(#btn-courts,#btn-bot){--lb:calc(.94rem + var(--uh-dh,0px));--by:calc(.7rem + var(--uh-dh,0px))}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(#btn-friends,#btn-profile,#btn-leaderboard){--lb:calc(1.06rem + var(--uh-dh,0px))}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(#profile-n,#lb-n){--by:calc(1.41rem + var(--uh-dh,0px))}
  html:not([data-mobile]) #lobby-home .ua-friends{top:calc(1.06rem + var(--uh-dh,0px))}
  html:not([data-mobile]) #screen-lobby #lobby-home #friends-n,html:not([data-mobile]) #screen-lobby #lobby-home .tiles[data-n] #friends-n{top:calc(.7rem + var(--uh-dh,0px))}
  html:not([data-mobile]) #screen-lobby #lobby-home #btn-bot .cnt .fx-robot{top:calc(.5rem + var(--uh-dh,0px))}
  html:not([data-mobile]) #lobby-home .pcard{right:calc(12.3rem + var(--uh-wide) * .72)}
  html:not([data-mobile]) #screen-lobby #lobby-home .ua-blk.home-set{right:calc(2.47rem + var(--uh-wide) * .72)}
  html:not([data-mobile]) #screen-lobby .home-wm{left:calc(3.4rem + var(--uh-wide) * .5)}
  html:not([data-mobile]) #screen-lobby #lobby-home #btn-phone{right:calc(2.47rem + 4.8rem + var(--uh-wide) * .72)}      /* the phone block left of Settings (ua-phone.css), stepping in with it */
}
@media (max-width:600px){
  html:not([data-mobile]) #screen-lobby #lobby-home #btn-quick{--fs:2.8rem;--lx:1.5rem} html:not([data-mobile]) #screen-lobby #lobby-home :is(#btn-courts,#btn-bot){--fs:1.5rem;--lb:.8rem}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(#btn-friends,#btn-profile,#btn-leaderboard){--fs:1.2rem;--lx:.9rem;--lb:.8rem}
  html:not([data-mobile]) #screen-lobby #lobby-home #courts-n b{font-size:2.1rem} html:not([data-mobile]) #screen-lobby #lobby-home #courts-n{padding:.25rem .76rem .17rem .63rem}
  html:not([data-mobile]) #screen-lobby #lobby-home #bot-n{--bs:1.5rem} html:not([data-mobile]) #screen-lobby #lobby-home :is(#profile-n,#lb-n){--bs:1.7rem;--by:.8rem}
  html:not([data-mobile]) #lobby-home .ua-friends{left:1.2rem;top:.7rem} html:not([data-mobile]) #lobby-home .ua-friends .fc{width:2.7rem;height:2.7rem} html:not([data-mobile]) #screen-lobby #lobby-home #friends-n{left:5.6rem;top:.4rem}
  #lobby-home .pcard,#lobby-home .pcard:has(#btn-home-acct[hidden]),#lobby-home .pcard:not(.is-acct){height:5.4rem;padding-left:5.6rem} #lobby-home .pc-disc{width:4.2rem;height:4.2rem;left:.7rem;top:.6rem}
  html:not([data-mobile]) #screen-lobby #lobby-home .ua-live{right:1rem;top:.6rem;font-size:1.1rem;padding:.4rem .8rem .35rem .7rem}
}

/* ---------- the entrance: everything with data-in deals itself in, staggered (aero.js adds .enter for 900 ms when the home comes in front) ---------- */
html:not([data-mobile]) #screen-lobby #lobby-home.enter [data-in],html:not([data-mobile]) #screen-lobby #lobby-home.enter :is(.tile,.ua-blk)[data-in]{animation:uh-inR 300ms var(--uh-snap) backwards;animation-delay:calc(var(--i,0) * 40ms)}
html:not([data-mobile]) #screen-lobby #lobby-home.enter [data-in="l"]{animation-name:uh-inL}
html:not([data-mobile]) #screen-lobby #lobby-home.ent-sel :is(.tile,.ua-blk).ae-sel .hl::before{clip-path:inset(0 100% 0 0);transform:translateX(-1.53rem)}      /* the slab waits for the blocks, then slides in */
#lobby-home.ent-sel .ua-pointer.is-on{opacity:0}
@keyframes uh-inR{from{transform:translateX(9.41rem) skewX(var(--cp-skew));opacity:0}}
@keyframes uh-inL{from{transform:translateX(-9.41rem) skewX(var(--cp-skew));opacity:0}}

/* ---------- the phone home (html[data-mobile]): the Be the paddle card as a plate in the blocks' language (a white face with the ink outline and the hard ink drop, slanted like the tiles
   under it), its heading on an ink label plate; no 'On this phone' caption (no filler captions: the tiles say what they are) ---------- */
html[data-mobile] #lobby-home .m-pad{position:relative;isolation:isolate;margin:.6rem .6rem 1rem;width:auto;max-width:none;border:0;border-radius:0;background:none;box-shadow:none}
html[data-mobile] #lobby-home .m-pad::before{content:"";position:absolute;inset:0;height:auto;z-index:-1;border-radius:var(--uh-r);background:#fff;border:var(--cp-ol) solid var(--uh-ink);transform:skewX(var(--cp-skew));
  box-shadow:inset 0 .3rem 0 var(--uh-shine)}
html[data-mobile] #lobby-home .m-pad::after{content:"";position:absolute;inset:0;z-index:-2;border-radius:var(--uh-r);background:var(--cp-dc-ink);transform:translate(var(--cp-drop-x),var(--cp-drop-y)) skewX(var(--cp-skew))}
html[data-mobile] #lobby-home .m-pad h2{position:relative;isolation:isolate;justify-self:start;padding:.2em .5em .16em .38em;font-family:var(--font-display);font-weight:400;font-size:1.45rem;line-height:1;color:var(--uh-label);white-space:nowrap}
html[data-mobile] #lobby-home .m-pad h2::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.35rem;background:var(--cp-sky-2);transform:skewX(var(--uh-skew));box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--uh-ink),var(--cp-drop-sm)}
html[data-mobile] #lobby-home .m-pad-art{filter:drop-shadow(.12rem .15rem 0 var(--uh-ink))}
html[data-mobile] #lobby-home .m-pad-field{border-radius:.41rem;border:var(--cp-ol) solid var(--uh-ink);box-shadow:var(--cp-drop-sm)}
html[data-mobile] #lobby-home .m-more{display:none}
/* the phone home keeps ui.css's flat blocks: the stack's layers fold away, the label and the figure plate act as the block's own children */
html[data-mobile] #lobby-home :is(.tile,.ua-blk) .ua-body,html[data-mobile] #lobby-home :is(.tile,.ua-blk) .cnt{display:contents}
html[data-mobile] #lobby-home :is(.tile,.ua-blk) :is(.hl,.drop,.face,.slash,.flash){display:none}
html[data-mobile] #lobby-home :is(.tile,.ua-blk) .cnt > b,html[data-mobile] #lobby-home #btn-friends .tile-text{position:absolute;left:.8rem;bottom:.9rem}
html[data-mobile] #screen-lobby #lobby-home .tiles .tile:not(#btn-quick) :is(.cnt > b,.tile-text b){font-size:1.5rem} html[data-mobile] #lobby-home #btn-friends .tile-text b{position:relative} html[data-mobile] #lobby-home #btn-friends .tile-text{flex-direction:column;align-items:flex-start;gap:.15rem;bottom:.45rem}      /* the label over who is online, inside the tile (in a row the line ran off its right edge) */

/* ---------- the wipe, as the page draws it (index.html lines 350-357, px / 17; final_click_f1-f4; ui.css's are an older round's). Vivid azure, the white slab with its ink and pale edges, the seam's bar, the cyan slab with its deep
   edge and one shine band, the ball with its soft halo. The bar is the page's coral slab in the neon of every selection here ---------- */
.ae-wipe .w-sky{background:linear-gradient(180deg,var(--cp-main),var(--cp-sky-3))}      /* (Cyan pop: light, no deep or ink fills) */
.ae-wipe .w-white{background:linear-gradient(180deg,#fff,var(--cp-sky-2));box-shadow:0 -.59rem 0 var(--cp-ink),0 -1.41rem 0 rgba(255,255,255,.55)}
.ae-wipe .w-cob{background:var(--cp-main);box-shadow:0 -.47rem 0 var(--cp-deep),inset 0 .53rem 0 var(--cp-shine)}      /* a cyan slab: its edge in the deep shade, one shine band */
.ae-wipe .w-bar{top:45.4%;height:1.29rem;--a:-14deg;background:var(--cp-main);box-shadow:0 0 0 .235rem var(--cp-ink)}
.ae-wipe .w-ball{width:9.1rem;top:-.35rem}
@media (max-width:600px){ .ae-wipe .w-ball{width:max(4.5rem,12vw)} .ae-wipe .w-ball .w-fly{transform:scale(.62);transform-origin:85.7% 50%} }
.ae-wipe .w-hop{position:absolute;inset:0}
.ae-wipe .w-ball .w-fly{position:absolute;left:50%;top:50%;width:37.65rem;height:10.75rem;max-width:none;margin:-5.38rem 0 0 -32.27rem;overflow:visible;filter:drop-shadow(0 0 1.41rem rgba(255,255,255,.45))}      /* the page's 640 x 183 px at its 560 x 160 box: the ball's centre (480, 80) on this box's centre */

/* ---------- reduced motion: no tilt, lift, parallax or punch; the slab and the entrances fade ---------- */
@media (prefers-reduced-motion: reduce){
  html:not([data-mobile]) #lobby-home .tiles.dz-ui,html:not([data-mobile]) #lobby-home .dz-card,html:not([data-mobile]) #lobby-home .dz-wm{transform:none!important;translate:none!important}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk),html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).is-hot,html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk):is(:active,.ae-down){transform:none!important;transition:none}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .ua-body,html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk):is(:active,.ae-down) .ua-body{transform:none!important;transition:none}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).is-hot{--z:0rem;--zs:1;--cs:1;--ds:1;--dx:var(--cp-drop-x);--dy:var(--cp-drop-y);--dz:-.235rem;--rz:0deg}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk) .hl::before{clip-path:none;transform:none;opacity:0;transition:opacity 150ms}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).ae-sel .hl::before,html:not(.ae-on) #screen-lobby #lobby-home :is(.tile,.ua-blk):focus-visible .hl::before{opacity:1}
  html:not([data-mobile]) #screen-lobby #lobby-home :is(.tile,.ua-blk).ae-punch :is(.slash,.flash){animation:none}
  #lobby-home .ua-pointer{transition:opacity 120ms} #lobby-home .ua-pointer svg{animation:none}
  html:not([data-mobile]) #screen-lobby #lobby-home .fx-robot :is(.rb-head,.rb-eyes,.rb-eye,.rb-mouth,.rb-tip){animation:none!important;transform:none!important;transition:none}
  #lobby-home .live::after,html:not([data-mobile]) #screen-lobby.needs-name #lobby-home .pc-name::after{animation:none}
  html:not([data-mobile]) #screen-lobby #lobby-home.enter [data-in]{animation:uh-fade 200ms both!important}
  @keyframes uh-fade{from{opacity:0}}
}

/* the player card opens Your stats (owner 2026-11-08: the Stats plate folded into it): a press affordance, the home blocks' lift */
html:not([data-mobile]) #screen-lobby #lobby-home #pcard{cursor:pointer;transition:translate 160ms cubic-bezier(.2,1.5,.4,1)}
@media (hover:hover){ html:not([data-mobile]) #screen-lobby #lobby-home #pcard:hover{translate:0 -.2rem} }

/* the wordmark (owner 2026-11-08, from the logo lab: Outfit 800 (owner: "replace the font with outfit"; it was Fredoka 700), white, an ink outline and extrude, each letter tipping, the seven-hole neon ball without shine): six layers
   rendered from the lab, each the whole word's size with one piece on it (web/art/wm/l0..l5.webp: p, the ball, d, d, l, e), stacked. On load each letter drops in on its own beat,
   squashes and settles; the ball drops last and bounces (owner: "the text dropping ... and then the ball dropping last"). The heading still reads "Poddle" (.vh) */
#lobby-home .logo-mark.home-wm.is-art{display:block;line-height:0;filter:none;text-shadow:none}
#lobby-home .logo-mark.home-wm.is-art > .wm-art{position:relative;top:-.13em;display:block;height:1.2em;aspect-ratio:1659 / 589;pointer-events:none;user-select:none}
html[data-mobile] #lobby-home .logo-mark.home-wm.is-art > .wm-art{height:1em}
#lobby-home .wm-art > .wm-l{position:absolute;inset:0;width:100%;height:100%;transform-origin:50% 90%}
@keyframes wm-drop{0%{opacity:0;transform:translateY(-1.3em);animation-timing-function:cubic-bezier(.5,0,.9,.6)}55%{opacity:1;transform:none;animation-timing-function:cubic-bezier(.2,.6,.4,1)}72%{transform:translateY(-.08em);animation-timing-function:cubic-bezier(.6,0,.9,.5)}86%{transform:none}100%{transform:none}}      /* lands on the line and hops once; never below it (owner: no rubber banding) */
@keyframes wm-ball{0%{opacity:0;transform:translateY(-2.2em) rotate(-200deg);animation-timing-function:cubic-bezier(.55,0,1,.45)}42%{opacity:1;transform:translateY(0) rotate(-30deg);animation-timing-function:cubic-bezier(0,.55,.45,1)}60%{transform:translateY(-.34em) rotate(-10deg);animation-timing-function:cubic-bezier(.55,0,1,.45)}76%{transform:translateY(0) rotate(-3deg);animation-timing-function:cubic-bezier(0,.55,.45,1)}86%{transform:translateY(-.1em) rotate(-1deg);animation-timing-function:cubic-bezier(.55,0,1,.45)}94%,100%{transform:none}}      /* a real bounce: it speeds up into the line and slows on the way up, never below the line or squashed (owner 2026-11-08: no sinking, no rubber banding) */
#screen-lobby.is-active #lobby-home .wm-art > .wm-l{animation:wm-drop 560ms linear calc(200ms + var(--k) * 90ms) both}
#screen-lobby.is-active #lobby-home .wm-art > .wm-l[data-ball]{transform-origin:31.2% 55.7%;animation:wm-ball 1000ms linear calc(200ms + 5 * 90ms + 180ms) both}
@media (prefers-reduced-motion: reduce){ #screen-lobby.is-active #lobby-home .wm-art > .wm-l{animation:none} }
/* (NOTES 415, owner 2026-11-09: "display medal here instead of text") the card's rank is the rank's medal with a small label under it (I / II / III, or Pro's ★N), not the words on a plate */
#lobby-home .pc-rank.is-medal{display:grid;justify-items:center;align-content:center;padding:0;margin:-1.1rem 0 -1rem -.2rem}
#lobby-home .pc-rank.is-medal::before{display:none}
#lobby-home .pc-rank.is-medal .pc-medal{display:grid;place-items:center;width:3.3rem;height:3.3rem}
#lobby-home .pc-rank.is-medal .pc-medal .st-em .rank-em{width:3.3rem;height:3.3rem;filter:drop-shadow(0 .1rem .2rem rgba(0,0,0,.35))}
#lobby-home .pc-rank.is-medal .pc-div{position:relative;isolation:isolate;margin-top:-.55rem;padding:.12rem .45rem .08rem;font-size:.82rem;line-height:1;color:#fff}
#lobby-home .pc-rank.is-medal .pc-div::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uh-r);background:var(--pc-rk,var(--uh-cobalt-2));transform:skewX(var(--uh-skew));box-shadow:inset 0 0 0 .1rem rgba(255,255,255,.25)}
#lobby-home .pc-rank.is-medal .pc-medal .st-em::after{content:none}      /* (NOTES 709) the medal's division is the plate under it (.pc-div): ui.css's own numeral (.st-em[data-div]::after, placed at its 5rem --em-h) fell below the card as a second III
/* (NOTES 710, owner 2026-11-18: "make the rank medal on the profile bigger to put more emphasis on it ... you should be making the profile pictures bigger too") the medal 3.3 -> 4.2rem,
   the face disc 5.88 -> 6.9rem; the card grows to hold the disc with the same inset (the narrow-window sizes below keep their own) */
@media (min-width:981px) and (min-aspect-ratio: 601/500){ #lobby-home .pcard,#lobby-home .pcard:has(#btn-home-acct[hidden]),#lobby-home .pcard:not(.is-acct){width:31rem;height:8.55rem;padding-left:8.8rem}
  #lobby-home .pc-disc{width:6.9rem;height:6.9rem} }      /* the wide home only: the narrow and phone cards keep their sizes (the media queries above) */
#lobby-home .pc-rank.is-medal{margin:-.85rem 0 -1.75rem -.3rem}
#lobby-home .pc-rank.is-medal .pc-medal,#lobby-home .pc-rank.is-medal .pc-medal .st-em .rank-em{width:4.2rem;height:4.2rem}
#lobby-home .pc-rank.is-medal .pc-div{margin-top:-.7rem;font-size:.95rem}
/* the label pill in the rank's own colour: web/emblems.js RANKS[tier - 1].colour.deep, keyed off profile.js homeMedal's data-r ("tier.div.stars"); keep in step with emblems.js */
#home-rank[data-r^="1."]{--pc-rk:var(--uh-rk-1)} #home-rank[data-r^="2."]{--pc-rk:var(--uh-rk-2)} #home-rank[data-r^="3."]{--pc-rk:var(--uh-rk-3)} #home-rank[data-r^="4."]{--pc-rk:var(--uh-rk-4)}
#home-rank[data-r^="5."]{--pc-rk:var(--uh-rk-5)} #home-rank[data-r^="6."]{--pc-rk:var(--uh-rk-6)} #home-rank[data-r^="7."]{--pc-rk:var(--uh-rk-7)} #home-rank[data-r^="8."]{--pc-rk:var(--uh-rk-8)}
.pc-tro.is-bump{animation:trophy-tick 180ms var(--ease-out)} .pc-tro.is-landed{animation:chip-land 600ms var(--ease-bounce)}      /* NOTES 704: each cup landing on the home card's count (profile.js landed) */
/* (NOTES 726, owner 2026-11-18: "this medal still fits a bit weird; we might benefit from scaling it slightly lower then making the thickness of the trophy bar a bit more")
   the home card's medal 4.2 -> 3.7rem and it hangs less below the card; the trophy bar .94 -> 1.3rem thick (its white notches follow its height) */
#lobby-home .pc-rank.is-medal{margin:-.7rem 0 -1.3rem -.25rem}
#lobby-home .pc-rank.is-medal .pc-medal,#lobby-home .pc-rank.is-medal .pc-medal .st-em .rank-em{width:3.7rem;height:3.7rem}
#lobby-home .pc-rank.is-medal .pc-div{margin-top:-.6rem;font-size:.88rem}
#lobby-home .pc-bar{height:1.3rem;border-radius:.24rem}
/* (NOTES 737, owner 2026-11-18) "i hate how this bar isnt inline": the Unranked badge took the ranked medal's uneven margins (room for a division plate it doesn't
   have), so it sat ~5px under the bar; it is centred on the bar now. "the player card is too thick now, can we try to shrink it back down while making padding nice":
   on the wide home the card is 31 x 7.3rem again (NOTES 710 made it 8.55), the face 5.9rem with the same inset all round, the medal 3.4rem */
#lobby-home .pc-rank.pc-unr.is-medal{margin:-1rem 0 -1rem -.25rem}
#lobby-home .pc-rank.pc-unr.is-medal .pc-medal,#lobby-home .pc-rank.pc-unr.is-medal .pc-medal .st-em .rank-em{width:3rem;height:3rem}
@media (min-width:981px) and (min-aspect-ratio: 601/500){
  #lobby-home .pcard,#lobby-home .pcard:has(#btn-home-acct[hidden]),#lobby-home .pcard:not(.is-acct){height:7.3rem;padding:.75rem 1.7rem .75rem 7.75rem;gap:.55rem}
  #lobby-home .pc-disc{width:5.9rem;height:5.9rem;left:.95rem;top:calc((7.3rem - 5.9rem) / 2 - .05rem)}
  #lobby-home .pc-rank.is-medal:not(.pc-unr){margin:-.55rem 0 -1.15rem -.25rem}
  #lobby-home .pc-rank.is-medal:not(.pc-unr) .pc-medal,#lobby-home .pc-rank.is-medal:not(.pc-unr) .pc-medal .st-em .rank-em{width:3.4rem;height:3.4rem}
  #lobby-home .pc-rank.is-medal .pc-div{margin-top:-.55rem;font-size:.82rem}
}
/* (NOTES 765) the home card's medal has no division plate under it (the medal itself says the division): the plate goes and the medal centres on the bar */
#lobby-home .pc-rank.is-medal .pc-div{display:none}
#lobby-home .pc-rank.is-medal:not(.pc-unr){margin:-.75rem 0 -.75rem -.25rem}
@media (min-width:981px) and (min-aspect-ratio: 601/500){ #lobby-home .pc-rank.is-medal:not(.pc-unr){margin:-.75rem 0 -.75rem -.25rem} }

/* (NOTES 812, owner 2026-11-18: "scrap the top left player card entirely for guest mode ... above the player's head with the auto-generated name add the pencil button")
   A guest (html[data-guest]: on from the first paint, profile.js drops it once /api/me names an account) has no player card: no trophies or stats are kept for a guest.
   Their name rides over the kid's head instead (the scene sets --kid-hx/--kid-hy to his head top), a white slanted plate with the pencil button beside the name */
html[data-guest] #lobby-home .pcard{display:none!important}
/* (NOTES 886, owner: "in the guest mode can we put the poddle logo in the top left corner of the screen") a guest has no card: the wordmark (the one logo, the art layers) stands in its
   place, top left, as tall as the top row's plates. Signed in, it stays off the bar (NOTES 772). The phone's own top bar already carries it */
html[data-guest]:not([data-mobile]) #screen-lobby #lobby-home .home-wm{position:absolute!important;left:var(--hb-gut)!important;right:auto!important;top:var(--hb-top)!important;translate:none!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;clip:auto!important;white-space:normal!important;font-size:4.3rem!important;z-index:3}
#lobby-home .home-tag{display:none}
html[data-guest]:not([data-mobile]) #screen-lobby #lobby-home .home-tag{position:fixed;left:var(--kid-hx,50vw);top:var(--kid-hy,18vh);z-index:4;display:flex;align-items:center;gap:.55rem;
  translate:-50% calc(-100% - .9rem);padding:.3rem .4rem .3rem .95rem;isolation:isolate;animation:ht-in 360ms var(--ease-bounce,cubic-bezier(.3,1.5,.5,1)) 200ms backwards}
html[data-guest]:not([data-mobile]) #screen-lobby #lobby-home .home-tag::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--ua-r,.375rem);transform:skewX(var(--cp-skew));background:#fff;box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink)}
#screen-lobby #lobby-home .ht-name{display:block;margin:0}
#screen-lobby #lobby-home .ht-name .field{display:block;width:8rem;height:2.3rem;margin:0;padding:0 .25rem;border:0;border-radius:.3rem;background:transparent;box-shadow:none;
  font-family:var(--font-display);font-weight:400;font-size:1.55rem;line-height:1;text-align:center;color:var(--cp-label);cursor:pointer;outline:none}
#screen-lobby #lobby-home .ht-name .field:not([readonly]){cursor:text;background:rgba(var(--cp-main-rgb),.12)}
#screen-lobby #lobby-home .ht-name .field::placeholder{color:rgba(var(--cp-ink-rgb),.5)}
#screen-lobby #lobby-home .ht-edit{position:relative;isolation:isolate;flex:none;display:grid;place-items:center;width:2.3rem;height:2.3rem;margin:0;padding:0;border:0;background:none;color:#fff;cursor:pointer}
#screen-lobby #lobby-home .ht-edit::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--ua-r,.375rem);transform:skewX(var(--cp-skew));background:var(--cp-main);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink),inset 0 .25rem 0 rgba(255,255,255,.35),var(--cp-drop-sm)}
#screen-lobby #lobby-home .ht-edit svg{width:1.45rem;height:1.45rem;fill:none;stroke:#fff;stroke-width:2.9;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){ #screen-lobby #lobby-home .ht-edit:hover::before{background:var(--cp-press,#00a3dc)} #screen-lobby #lobby-home .ht-name .field[readonly]:hover{background:rgba(var(--cp-main-rgb),.1)} }
#screen-lobby #lobby-home .ht-edit:active{translate:var(--cp-drop-sm-x) var(--cp-drop-sm-y)} #screen-lobby #lobby-home .ht-edit:active::before{box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink)}
#screen-lobby #lobby-home .ht-edit:focus-visible{outline:.19rem solid var(--cp-ink);outline-offset:.2rem}
#screen-lobby #lobby-home .home-tag.is-naming .ht-edit{display:none}
#screen-lobby.needs-name #lobby-home .home-tag .field{background:rgba(var(--cp-main-rgb),.12)}
#screen-lobby #lobby-home .home-tag.is-bad::before{box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-red,#ff4d5e)}
@keyframes ht-in{from{opacity:0;scale:.6}}
@media (prefers-reduced-motion:reduce){ html[data-guest] #screen-lobby #lobby-home .home-tag{animation:none} }
html[data-guest]:not([data-mobile]) #screen-lobby #lobby-home .home-tag.is-docked{left:var(--hb-gut,2.35rem);top:calc(var(--hb-top,1.65rem) + 5.6rem);translate:none}      /* (NOTES 812) the head is under a block of the home: the top left, where the card was */
